]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
S390: Move NPTL public headers to sysdeps/s390/nptl/.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
45193bb8
RM
12014-06-13 Roland McGrath <roland@hack.frob.com>
2
9a25fd1e
RM
3 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
4 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
5 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
6 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
7
4004f7e4
RM
8 * nptl/sysdeps/s390/Makefile: Moved ...
9 * sysdeps/s390/nptl/Makefile: ... here.
10 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
12 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
13 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
14 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
15 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
16 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
17 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
18 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
19 * sysdeps/s390/nptl/pthreaddef.h: ... here.
20 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
21 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
22 * nptl/sysdeps/s390/tls.h: Moved ...
23 * sysdeps/s390/nptl/tls.h: ... here.
24
45193bb8
RM
25 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
26 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
27
f6fdf533
DM
282014-06-13 David S. Miller <davem@davemloft.net>
29
30 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
31 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
32 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
33 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
34 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
35 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
36 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
37 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
38 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
39 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
40 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
41 Remove RESET_PID cpp guards.
42 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
43 Remove RESET_PID cpp guards.
44 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
45
f5d71e14
AS
462014-06-13 Andreas Schwab <schwab@linux-m68k.org>
47
48 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
49 __sp to uintptr_t.
50
b7aa8caa
AK
512014-06-13 Andi Kleen <ak@linux.intel.com>
52
53 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
54 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
55 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
56 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
57 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
58 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
59 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
60 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
61 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
62 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
63 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
64 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
65 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
66 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
67 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
68 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
69 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
70 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
71 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
72 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
73
8491ed6d
AK
742014-06-13 Andi Kleen <ak@linux.intel.com>
75
76 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
77 (pthread_rwlock_rdlock): Add elision.
78 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
79 (pthread_rwlock_wrlock): Add elision.
80 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
81 (pthread_rwlock_trywrlock): Add elision.
82 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
83 (pthread_rwlock_tryrdlock): Add elision.
84 * nptl/pthread_rwlock_unlock.c: Include elide.h.
85 (pthread_rwlock_tryrdlock): Add elision unlock.
86 * nptl/sysdeps/pthread/pthread.h:
87 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
88 (PTHREAD_RWLOCK_INITIALIZER,
89 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
90 Handle new elision field.
91 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
92 * sysdeps/arm/nptl/bits/pthreadtypes.h
93 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
94 * sysdeps/sh/nptl/bits/pthreadtypes.h
95 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
96 * sysdeps/tile/nptl/bits/pthreadtypes.h
97 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
98 * sysdeps/a/nptl/bits/pthreadtypes.h
99 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
100 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
101 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
102 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
103 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
104 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
105 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
106 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
107 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
108 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
109 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
110 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
111 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
112 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
113 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
114 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
115 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
116 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
117 (elision_init): Set try_xbegin to zero when no RTM.
118 * sysdeps/x86/nptl/bits/pthreadtypes.h
119 (pthread_rwlock_t): Change __pad1 to __rwelision.
120 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
121
a832bdd3
AK
1222014-06-13 Andi Kleen <ak@linux.intel.com>
123
124 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
125 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
126 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
127 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
128
995a46bb
MI
1292014-06-13 Meador Inge <meadori@codesourcery.com>
130
131 [BZ #16996]
03ed7738 132 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
133 that the cached result has been set before returning it.
134
45262aee
RM
1352014-06-12 Roland McGrath <roland@hack.frob.com>
136
febf6cc5
RM
137 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
138 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
139 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
140 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
141 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
142 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
143
e2682246
RM
144 * nptl/sysdeps/sparc/Makefile: Moved ...
145 * sysdeps/sparc/nptl/Makefile: ... here.
146 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
147 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
148 * nptl/sysdeps/sparc/tls.h: Moved ...
149 * sysdeps/sparc/nptl/tls.h: ... here.
150 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
151 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
152 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
153 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
154 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
155 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
156 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
157 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
158 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
159 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
160 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
161 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
162 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
163 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
164 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
165 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
166 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
167 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
168 Update #include.
169 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
170 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
171 Update #include.
172 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
173 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
174 Update #include.
175 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
176 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
177 Update #include.
178
b0725f43
RM
179 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
180
b14368b8
RM
181 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
182 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
183
c5620eb3
RM
184 * sysdeps/pthread/posix-timer.h: Include <list.h>.
185 (struct list_links): Type removed.
186 (struct thread_node, struct timer_node): Replace struct list_links
187 with struct list_head.
188 (list_unlink_ip): Likewise.
189 * sysdeps/pthread/timer_routines.c
190 (timer_free_list, thread_free_list, thread_active_list): Likewise.
191 (list_append, list_insbefore): Likewise.
192 (list_init): Function removed.
193 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
194 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
195 * sysdeps/pthread/Makefile: ... here, new file.
196
197 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
198 * sysdeps/nptl/Implies: ... here.
199 * sysdeps/unix/sysv/linux/Implies: Add nptl.
200 * nptl/sysdeps/pthread/list.h: Moved ...
201 * include/list.h: ... here.
202 * nptl/sysdeps/pthread/createthread.c: Moved ...
203 * nptl/createthread.c: ... here.
204 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
205 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
206 * nptl/pt-longjmp.c: ... here.
207 * nptl/sysdeps/pthread/Makefile: Moved ...
208 * sysdeps/nptl/Makefile: ... here.
209 * nptl/sysdeps/pthread/Subdirs: Moved ...
210 * sysdeps/nptl/Subdirs: ... here.
211 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
212 * sysdeps/nptl/aio_misc.h: ... here.
213 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
214 * sysdeps/nptl/bits/libc-lock.h: ... here.
215 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
216 * sysdeps/nptl/bits/libc-lockP.h: ... here.
217 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
218 * sysdeps/nptl/bits/stdio-lock.h: ... here.
219 * nptl/sysdeps/pthread/configure: Moved ...
220 * sysdeps/nptl/configure: ... here.
221 * nptl/sysdeps/pthread/configure.ac: Moved ...
222 * sysdeps/nptl/configure.ac: ... here.
223 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
224 * sysdeps/nptl/gai_misc.h: ... here.
225 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
226 * sysdeps/nptl/librt-cancellation.c: ... here.
227 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
228 * sysdeps/nptl/malloc-machine.h: ... here.
229 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
230 * sysdeps/nptl/pthread-functions.h: ... here.
231 * nptl/sysdeps/pthread/pthread.h: Moved ...
232 * sysdeps/nptl/pthread.h: ... here.
233 * nptl/sysdeps/pthread/setxid.h: Moved ...
234 * sysdeps/nptl/setxid.h: ... here.
235 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
236 * sysdeps/nptl/sigfillset.c: ... here.
237 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
238 * sysdeps/nptl/tcb-offsets.h: ... here.
239 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
240 * sysdeps/nptl/tst-mqueue8x.c: ... here.
241 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
242 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
243 * nptl/sysdeps/pthread/allocalim.h: Moved ...
244 * sysdeps/pthread/allocalim.h: ... here.
245 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
246 * sysdeps/pthread/bits/sigthread.h: ... here.
247 * nptl/sysdeps/pthread/flockfile.c: Moved ...
248 * sysdeps/pthread/flockfile.c: ... here.
249 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
250 * sysdeps/pthread/ftrylockfile.c: ... here.
251 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
252 * sysdeps/pthread/funlockfile.c: ... here.
253 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
254 * sysdeps/pthread/posix-timer.h: ... here.
255 * nptl/sysdeps/pthread/timer_create.c: Moved ...
256 * sysdeps/pthread/timer_create.c: ... here.
257 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
258 * sysdeps/pthread/timer_delete.c: ... here.
259 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
260 * sysdeps/pthread/timer_getoverr.c: ... here.
261 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
262 * sysdeps/pthread/timer_gettime.c: ... here.
263 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
264 * sysdeps/pthread/timer_routines.c: ... here.
265 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
266 * sysdeps/pthread/timer_settime.c: ... here.
267 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
268 * sysdeps/pthread/tst-timer.c: ... here.
269 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
270 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
271
e876b090
RM
272 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
273 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
274
f6b07b3d
RM
275 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
276 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
277 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
278 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
279 Update #include target.
280 * nptl/sysdeps/i386/i686/Makefile: Moved ...
281 * sysdeps/i386/i686/nptl/Makefile: ... here.
282 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
283 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
284 Update #include target.
285 * nptl/sysdeps/i386/i686/tls.h: Moved ...
286 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
287 * nptl/sysdeps/i386/Makefile: Moved ...
288 * sysdeps/i386/nptl/Makefile: ... here.
289 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
290 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
291 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
292 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
293 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
294 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
295 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
296 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
297 * sysdeps/i386/nptl/pthreaddef.h: ... here.
298 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
299 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
300 * nptl/sysdeps/i386/tls.h: Moved ...
301 * sysdeps/i386/nptl/tls.h: ... here.
302
45262aee
RM
303 * sysdeps/sh/Makefile [$(subdir) = csu]
304 (gen-as-const-headers): Add tcb-offsets.sym.
305 * nptl/sysdeps/sh/Makefile: File removed.
306 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
307 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
308 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
309 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
310 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
311 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
312 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
313 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
314 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
315 * sysdeps/sh/nptl/pthreaddef.h: ... here.
316 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
317 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
318 * nptl/sysdeps/sh/tls.h: Moved ...
319 * sysdeps/sh/nptl/tls.h: ... here.
320 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
321 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
322 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
323 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
324 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
325 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
326 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
327 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
328 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
329 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
330 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
331 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
332 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
333 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
334 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
335 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
336 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
337 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
338 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
339 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
340 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
341 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
342 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
343 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
344 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
345 Moved ...
346 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
347 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
348 Moved ...
349 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
350 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
351 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
352 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
353 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
354 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
355 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
356 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
357 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
358 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
359 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
360 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
361 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
362 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
363 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
364 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
365 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
366 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
367 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
368
35a5e3e3
SL
3692014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
370
371 * posix/spawn_faction_addopen.c: Include string.h.
372
14642b85
RM
3732014-06-11 Roland McGrath <roland@hack.frob.com>
374
375 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
376 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
377 * nptl/sysdeps/x86_64/Makefile: Moved ...
378 * sysdeps/x86_64/nptl/Makefile: ... here.
379 * nptl/sysdeps/x86_64/configure: Moved ...
380 * sysdeps/x86_64/nptl/configure: ... here.
381 * nptl/sysdeps/x86_64/configure.ac: Moved ...
382 * sysdeps/x86_64/nptl/configure.ac: ... here.
383 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
384 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
385 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
386 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
387 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
388 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
389 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
390 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
391 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
392 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
393 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
394 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
395 * nptl/sysdeps/x86_64/tls.h: Moved ...
396 * sysdeps/x86_64/nptl/tls.h: ... here.
397 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
398 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
399 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
400 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
401
402 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
403
31c44fea
AZ
4042014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
405
406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
407
e81a4f9a
JM
4082014-06-11 Joseph Myers <joseph@codesourcery.com>
409
410 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
411 type.
412 [POSIX] (off_t): Likewise.
413 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
414 [POSIX] (S_ISBLK): Require macro.
415 [POSIX] (S_ISCHR): Likewise.
416 [POSIX] (S_ISDIR): Likewise.
417 [POSIX] (S_ISFIFO): Likewise.
418 [POSIX] (S_ISREG): Likewise.
419 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
420 optional-macro.
421 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
422 type.
423 [POSIX] (time_t): Likewise.
424 [POSIX] (timer_t): Likewise.
425
89e435f3
FW
4262014-06-11 Florian Weimer <fweimer@redhat.com>
427
428 [BZ #17048]
429 * posix/spawn_int.h (struct __spawn_action): Make the path string
430 non-const to support deallocation.
431 * posix/spawn_faction_addopen.c
432 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
433 * posix/spawn_faction_destroy.c
434 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
435 path in all spawn_do_open actions.
436 * posix/tst-spawn.c (do_test): Exercise the copy operation in
437 posix_spawn_file_actions_addopen.
438
c3a2ebe1
CM
4392014-06-11 Chris Metcalf <cmetcalf@tilera.com>
440
441 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
442 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
443 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
444 conditional code always true.
445 (__libc_vfork): New alias.
446
9503784a
RM
4472014-06-11 Roland McGrath <roland@hack.frob.com>
448
c9cab3d2
RM
449 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
450 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
451
d3996c79
RM
452 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
453
ba5ec611
RM
454 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
455 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
456
f12b4814
RM
457 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
458 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
459
9503784a
RM
460 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
461 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
462
e23d3d26
VR
4632014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
464
465 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
466 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
467 multiarch strcmp for PPC64.
468 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
469 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
470 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
471 multiarch optimizations.
472 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
473 (__libc_ifunc_impl_list): Likewise.
474
42b1161e
SP
4752014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
476
477 * benchtests/scripts/validate_benchout.py: New script.
478 * benchtests/Makefile (bench-func): Call it.
479 * benchtests/scripts/benchout.schema.json: New file.
480
2d0fc4dc
CM
4812014-06-10 Chris Metcalf <cmetcalf@tilera.com>
482
4a594c34
AZ
483 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
484 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
485 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
486 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
487 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
488 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
489 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
490 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
491 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
492 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
493 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
494 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
495 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
496 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
497 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
498 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
499 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 500 Moved ...
4a594c34 501 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 502 ... here.
4a594c34 503 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 504 Moved ...
4a594c34
AZ
505 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
506 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 507 Moved ...
4a594c34 508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 509 ... here.
4a594c34 510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 511 Moved ...
4a594c34 512 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 513 ... here.
4a594c34 514 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 515 Moved ...
4a594c34
AZ
516 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
517 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 518 Moved ...
4a594c34 519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 520 ... here.
4a594c34 521 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 522 Moved ...
4a594c34 523 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 524 ... here.
4a594c34 525 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 526 Moved ...
4a594c34
AZ
527 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 529 Moved ...
4a594c34 530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 531 ... here.
4a594c34 532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 533 Moved ...
4a594c34 534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 535 ... here.
4a594c34 536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 537 Moved ...
4a594c34 538 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 539 ... here.
4a594c34 540 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 541 Moved ...
4a594c34
AZ
542 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
543 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 544 Moved ...
4a594c34 545 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 546 ... here.
4a594c34 547 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 548 Moved ...
4a594c34 549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 550 ... here.
4a594c34 551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 552 Moved ...
4a594c34 553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 554 ... here.
4a594c34 555 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 556 Moved ...
4a594c34
AZ
557 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
558 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 559 Moved ...
4a594c34 560 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 561 ... here.
4a594c34 562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 563 Moved ...
4a594c34 564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 565 ... here.
4a594c34 566 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 567 Moved ...
4a594c34
AZ
568 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 570 Moved ...
4a594c34 571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 572 ... here.
4a594c34 573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 574 Moved ...
4a594c34
AZ
575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
576 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 577 Moved ...
4a594c34
AZ
578 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 580 Moved ...
4a594c34 581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 582 ... here.
4a594c34 583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 584 Moved ...
4a594c34 585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 586 ... here.
4a594c34 587 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 588 Moved ...
4a594c34 589 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 590 ... here.
4a594c34 591 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 592 Moved ...
4a594c34
AZ
593 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 595 Moved ...
4a594c34 596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 597 ... here.
4a594c34 598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 599 Moved ...
4a594c34 600 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 601 ... here.
4a594c34
AZ
602 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
603 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
604 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
605 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
606 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 607 Moved ...
4a594c34 608 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 609 ... here.
4a594c34
AZ
610 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
611 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
612 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
613 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
614 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
615 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
616 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
617 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
618 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
619 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
620 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
621 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
622 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 623 Moved ...
4a594c34
AZ
624 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
625 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 626 Moved ...
4a594c34
AZ
627 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
628 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
629 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
630 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 631 Moved ...
4a594c34
AZ
632 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
633 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
634 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
635 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
636 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
637 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
638 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 639
0570cfed
W
6402014-06-10 Wilco <wdijkstr@arm.com>
641
642 * math/test-fenv-return.c: New file.
643 * math/Makefile: Add new test test-fenv-return.
644
f8ba1b56
JM
6452014-06-10 Joseph Myers <joseph@codesourcery.com>
646
647 [BZ #17042]
648 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
649 when x - 1 is zero.
650 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
651 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
652 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
653 0.0L for an argument of 1.0L.
654 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
655 Likewise.
656 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
657 value when x - 1 is zero.
658 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
659 * sysdeps/i386/fpu/libm-test-ulps: Update.
660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
661
2c3520d9
BO
6622014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
663
664 [BZ #15119]
665 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
666
acaa4d24
RM
6672014-06-09 Roland McGrath <roland@hack.frob.com>
668
669 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
670 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
671
962b744d
RM
6722014-06-09 Roland McGrath <roland@hack.frob.com>
673
d752f0cc
RM
674 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
675 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
676
34eda6d1
RM
677 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
678 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
679
50f0a637
RM
680 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
681 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
682
08f41f04
RM
683 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
684 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
685
962b744d
RM
686 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
687 if not already defined.
688 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
689 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
690 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
691 (TLS_INIT_TP): Use it.
692 (TLS_DEFINE_INIT_TP): New macro.
693 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
694
09f19b05
JM
6952014-06-09 Joseph Myers <joseph@codesourcery.com>
696
697 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
698 constant.
699 [POSIX] (IXANY): Likewise.
700 [POSIX] (OLCUC): Likewise.
701 [POSIX || POSIX2008] (CBAUD): Do not allow.
702 [POSIX || POSIX2008] (DEFECHO): Likewise.
703 [POSIX || POSIX2008] (ECHOCTL): Likewise.
704 [POSIX || POSIX2008] (ECHOKE): Likewise.
705 [POSIX || POSIX2008] (ECHOPRT): Likewise.
706 [POSIX || POSIX2008] (EXTA): Likewise.
707 [POSIX || POSIX2008] (EXTB): Likewise.
708 [POSIX || POSIX2008] (FLUSHO): Likewise.
709 [POSIX || POSIX2008] (LOBLK): Likewise.
710 [POSIX || POSIX2008] (PENDIN): Likewise.
711 [POSIX || POSIX2008] (SWTCH): Likewise.
712 [POSIX || POSIX2008] (VDISCARD): Likewise.
713 [POSIX || POSIX2008] (VDSUSP): Likewise.
714 [POSIX || POSIX2008] (VLNEXT): Likewise.
715 [POSIX || POSIX2008] (VREPRINT): Likewise.
716 [POSIX || POSIX2008] (VSTATUS): Likewise.
717 [POSIX || POSIX2008] (VWERASE): Likewise.
718 (B*): Change to B[0123456789]*.
719 * conform/data/time.h-data [POSIX || UNIX98]
720 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
721 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
722 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
723 [POSIX] (tm_*): Do not allow.
724
686554bf
JM
7252014-06-07 Joseph Myers <joseph@codesourcery.com>
726
727 * Makefile (install): Don't set LANGUAGE.
728 * Makefile.in (install): Likewise.
729 * assert/Makefile (test-assert-ENV): Remove variable.
730 (test-assert-perr-ENV): Likewise.
731 * elf/Makefile (neededtest4-ENV): Likewise.
732 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
733 [$(cross-compiling) = no]: Don't set LANGUAGE.
734 * io/ftwtest-sh (LANG): Remove variable.
735 * libio/Makefile (tst-widetext-ENV): Likewise.
736 * manual/install.texi (Running make install): Don't refer to
737 environment settings for make install.
738 * INSTALL: Regenerated.
739 * nptl/tst-tls6.sh: Don't set LANG.
740 * posix/globtest.sh (LANG): Remove variable.
741 * string/Makefile (tester-ENV): Likewise.
742 (inl-tester-ENV): Likewise.
743 (noinl-tester-ENV): Likewise.
744 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
745 [$(cross-compiling) = no]: Don't set LANGUAGE.
746 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
747 without explicit environment settings.
748
68e6b6b1
RM
7492014-06-06 Roland McGrath <roland@hack.frob.com>
750
751 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
752 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
753 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
754 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
755
4d3ae034
CM
7562014-06-06 Chris Metcalf <cmetcalf@tilera.com>
757
758 * crypt/crypt-private.h [DOS]: Add some includes taken from the
759 other files in the crypt directory.
760 * crypt/crypt.c: Remove duplicate includes.
761 * crypt/crypt-entry.c: Likewise.
762 * crypt/crypt_util.c: Likewise.
763
8540f6d2
JM
7642014-06-06 Joseph Myers <joseph@codesourcery.com>
765
766 * Makeconfig (run-program-env): New variable.
767 (run-program-prefix-before-env): Likewise.
768 (run-program-prefix-after-env): Likewise.
769 (run-program-prefix): Define in terms of new variables.
770 (built-program-cmd-before-env): New variable.
771 (built-program-cmd-after-env): Likewise.
772 (built-program-cmd): Define in terms of new variables.
773 (test-program-prefix-before-env): New variable.
774 (test-program-prefix-after-env): Likewise.
775 (test-program-prefix): Define in terms of new variables.
776 (test-program-cmd-before-env): New variable.
777 (test-program-cmd-after-env): Likewise.
778 (test-program-cmd): Define in terms of new variables.
779 * Rules (make-test-out): Use $(run-program-env).
780 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
781 (help): Do not mention environment variables. Mention
782 --timeoutfactor option.
783 (timeoutfactor): New variable.
784 (blacklist_exports): Remove function.
785 (exports): Remove variable.
786 (command): Do not include ${exports}.
787 * manual/install.texi (Configuring and compiling): Do not mention
788 test wrappers preserving environment variables. Mention that last
789 assignment to a variable must take precedence.
790 * INSTALL: Regenerated.
791 * benchtests/Makefile (run-bench): Use $(run-program-env).
792 * catgets/Makefile ($(objpfx)test1.cat): Use
793 $(built-program-cmd-before-env), $(run-program-env) and
794 $(built-program-cmd-after-env).
795 ($(objpfx)test2.cat): Do not specify environment variables
796 explicitly.
797 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
798 $(run-program-env) and $(built-program-cmd-after-env).
799 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
800 $(run-program-env) and $(test-program-cmd-after-env).
801 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
802 explicitly.
803 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
804 run_program_env and test_program_cmd_after_env arguments.
805 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
806 * elf/tst-pathopt.sh: Use run_program_env argument.
807 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
808 $(test-wrapper-env) and $(run-program-env).
809 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
810 run_program_env arguments.
811 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
812 * intl/Makefile ($(objpfx)tst-gettext.out): Use
813 $(test-program-prefix-before-env), $(run-program-env) and
814 $(test-program-prefix-after-env).
815 ($(objpfx)tst-gettext2.out): Likewise.
816 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
817 run_program_env and test_program_prefix_after_env arguments.
818 * intl/tst-gettext2.sh: Likewise.
819 * intl/tst-gettext4.sh: Do not set environment variables
820 explicitly.
821 * intl/tst-gettext6.sh: Likewise.
822 * intl/tst-translit.sh: Likewise.
823 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
824 $(test-program-prefix-before-env), $(run-program-env) and
825 $(test-program-prefix-after-env).
826 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
827 run_program_env and test_program_prefix_after_env arguments.
828 * math/Makefile (run-regen-ulps): Use $(run-program-env).
829 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
830 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
831 explicitly with each use of ${test_wrapper_env}.
832 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
833 $(test-program-prefix-before-env), $(run-program-env) and
834 $(test-program-prefix-after-env).
835 * posix/tst-getconf.sh: Do not set environment variables
836 explicitly.
837 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
838 run_program_env and test_program_prefix_after_env arguments.
839 * stdio-common/tst-printf.sh: Do not set environment variables
840 explicitly.
841 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
842 $(test-program-prefix-before-env), $(run-program-env) and
843 $(test-program-prefix-after-env).
844 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
845 run_program_env and test_program_prefix_after_env arguments.
846 Split $test calls into $test_pre and $test.
847 * timezone/Makefile (build-testdata): Use
848 $(built-program-cmd-before-env), $(run-program-env) and
849 $(built-program-cmd-after-env).
850
ed36bfa1
AZ
8512014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
852
853 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
854 strlen for non SHARED builds.
855
fc75bf46
SP
8562014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
857
858 * nptl/allocatestack.c (check_list): Inlined function...
859 (__reclaim_stacks): ... here.
860
d89b3d80
OB
8612014-06-05 Ondřej Bílka <neleai@seznam.cz>
862
863 [BZ #15698]
864 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
865 memory overrun.
866
2bf18041
JM
8672014-06-05 Joseph Myers <joseph@codesourcery.com>
868
869 * Rules (make-test-out): Include
870 LOCPATH=$(common-objpfx)localedata in default environment.
871 * debug/Makefile (tst-chk1-ENV): Remove variable.
872 (tst-chk2-ENV): Likewise.
873 (tst-chk3-ENV): Likewise.
874 (tst-chk4-ENV): Likewise.
875 (tst-chk5-ENV): Likewise.
876 (tst-chk6-ENV): Likewise.
877 (tst-lfschk1-ENV): Likewise.
878 (tst-lfschk2-ENV): Likewise.
879 (tst-lfschk3-ENV): Likewise.
880 (tst-lfschk4-ENV): Likewise.
881 (tst-lfschk5-ENV): Likewise.
882 (tst-lfschk6-ENV): Likewise.
883 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
884 (tst-iconv7-ENV): Likewise.
885 * intl/Makefile (LOCPATH-ENV): Likewise.
886 (tst-codeset-ENV): Likewise.
887 (tst-gettext3-ENV): Likewise.
888 (tst-gettext5-ENV): Likewise.
889 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
890 (tst-fopenloc-ENV): Likewise.
891 (tst-fgetws-ENV): Remove variable.
892 (tst-ungetwc1-ENV): Likewise.
893 (tst-ungetwc2-ENV): Likewise.
894 (bug-ungetwc2-ENV): Likewise.
895 (tst-swscanf-ENV): Likewise.
896 (bug-ftell-ENV): Likewise.
897 (tst-fgetwc-ENV): Likewise.
898 (tst-fseek-ENV): Likewise.
899 (tst-ftell-partial-wide-ENV): Likewise.
900 (tst-ftell-active-handler-ENV): Likewise.
901 (tst-ftell-append-ENV): Likewise.
902 * posix/Makefile (tst-fnmatch-ENV): Likewise.
903 (tst-regexloc-ENV): Likewise.
904 (bug-regex1-ENV): Likewise.
905 (tst-regex-ENV): Likewise.
906 (tst-regex2-ENV): Likewise.
907 (bug-regex5-ENV): Likewise.
908 (bug-regex6-ENV): Likewise.
909 (bug-regex17-ENV): Likewise.
910 (bug-regex18-ENV): Likewise.
911 (bug-regex19-ENV): Likewise.
912 (bug-regex20-ENV): Likewise.
913 (bug-regex22-ENV): Likewise.
914 (bug-regex23-ENV): Likewise.
915 (bug-regex25-ENV): Likewise.
916 (bug-regex26-ENV): Likewise.
917 (bug-regex30-ENV): Likewise.
918 (bug-regex32-ENV): Likewise.
919 (bug-regex33-ENV): Likewise.
920 (bug-regex34-ENV): Likewise.
921 (bug-regex35-ENV): Likewise.
922 (tst-rxspencer-ENV): Likewise.
923 (tst-rxspencer-no-utf8-ENV): Likewise.
924 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
925 (tst-sscanf-ENV): Likewise.
926 (tst-swprintf-ENV): Likewise.
927 (tst-swscanf-ENV): Likewise.
928 (test-vfprintf-ENV): Likewise.
929 (scanf13-ENV): Likewise.
930 (bug14-ENV): Likewise.
931 (tst-grouping-ENV): Likewise.
932 * stdlib/Makefile (tst-strtod-ENV): Likewise.
933 (tst-strtod3-ENV): Likewise.
934 (tst-strtod4-ENV): Likewise.
935 (tst-strtod5-ENV): Likewise.
936 (testmb2-ENV): Likewise./
937 * string/Makefile (tst-strxfrm-ENV): Likewise.
938 (tst-strxfrm2-ENV): Likewise.
939 (bug-strcoll1-ENV): Likewise.
940 (test-strcasecmp-ENV): Likewise.
941 (test-strncasecmp-ENV): Likewise.
942 * time/Makefile (tst-strptime-ENV): Likewise.
943 (tst-ftime_l-ENV): Likewise.
944 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
945 (tst-mbrtowc-ENV): Likewise.
946 (tst-wcrtomb-ENV): Likewise.
947 (tst-mbrtowc2-ENV): Likewise.
948 (tst-c16c32-1-ENV): Likewise.
949 (tst-mbsnrtowcs-ENV): Likewise.
950
cd1fb604
OB
9512014-06-05 Ondřej Bílka <neleai@seznam.cz>
952
953 * manual/resource.texi (How to get information about the memory
954 subsystem?): Fix typo.
955 Reported by Peon de la Parra Ivan <peon@keba.com>
956
b42eca7d
GY
9572014-06-03 Guo Yixuan <culu.gyx@gmail.com>
958
959 [BZ #16882]
960 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
961 (pthread_spin_lock): Branch out of spin loop to proper location.
962 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
963 (pthread_spin_lock): Likewise.
964
902b71f9
DM
965 * nptl/tst-spin4.c: New test.
966 * nptl/Makefile (tests): Add tst-spin4.
967
f9d2d032
AS
9682014-06-03 Andreas Schwab <schwab@suse.de>
969
970 [BZ #15946]
971 * resolv/res_send.c (send_dg): Reload file descriptor after
972 calling reopen.
973
cf7bfd28
SL
9742014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
975
976 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
977
111cc714
RH
9782014-06-03 Richard Henderson <rth@redhat.com>
979
89b4bd6b
RH
980 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
981 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
982 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
983 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
984 in the SAVE_PID block.
985 (__libc_vfork): New alias.
71840409 986 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 987
111cc714
RH
988 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
989 child in registers, not on the stack. Remove RESET_PID conditionals.
990 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
991
ccc39911
MS
9922014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
993
994 * sysdeps/aarch64/libm-test-ulps: Regenerate.
995
693096cc
W
9962014-06-03 Wilco <wdijkstr@arm.com>
997
998 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
999 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1000 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1001 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1002 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1003 Likewise.
1004
0b4366bc
W
10052014-06-03 Wilco <wdijkstr@arm.com>
1006
1007 * sysdeps/aarch64/fpu/math_private.h
1008 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1009 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1010 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1011 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1012 Fix declarations.
1013
8747cd03
KS
10142014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1015
1016 * crypt/crypt-private.h: Include ufc-crypt.h.
1017 (__b64_from_24bit): Declare extern.
1018 * crypt/crypt_util.c(__b64_from_24bit): New function.
1019 (b64t): New static const variable.
1020 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1021 (b64t): Remove variable.
1022 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1023 * crypt/sha256-crypt.c: Include crypt-private.h.
1024 (b64t): Remove variable.
1025 (__sha256_crypt_r): Remove b64_from_24bit and replace
1026 with __b64_from_24bit.
1027 * crypt/sha512-crypt.c: Likewise.
1028
d936d379
RM
10292014-06-02 Roland McGrath <roland@hack.frob.com>
1030
1031 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1032 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1033 Label the code __libc_vfork rather than __vfork.
1034 [!NOT_IN_libc] (vfork): Define as weak alias.
1035 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1036 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1037 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1038
9fa76613
SP
10392014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1040
1041 * malloc/malloc.c (malloc_info): Fix format specifier for
1042 n_mmaps.
1043
a88dadbe
W
10442014-06-02 Wilco <wdijkstr@arm.com>
1045
1046 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1047 FPCR write.
1048
c95b3011
W
10492014-06-02 Wilco <wdijkstr@arm.com>
1050
1051 [BZ #17009]
1052 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1053 Rewrite to reduce FPCR/FPSR accesses.
1054
6b4d7a90
DM
10552014-06-01 David S. Miller <davem@davemloft.net>
1056
1057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1058
30f3d07c
DM
10592014-05-31 David S. Miller <davem@davemloft.net>
1060
1061 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1062 to occur in round to nearest mode when |x| >= 2.0
1063
74f31c18
RH
10642014-05-30 Richard Henderson <rth@twiddle.net>
1065
f0712b54
RH
1066 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1067 (PSEUDO_RET_NOERRNO): Remove.
1068 (ret): Don't redefine.
1069 (ret_NOERRNO): Define in terms of ret.
1070 (ret_ERRVAL): Likewise.
1071
74f31c18
RH
1072 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1073 use of PSEUDO_RET; perform the error check directly.
1074
30477995
MM
10752014-05-30 Marko Myllynen <myllynen@redhat.com>
1076
1077 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1078 with __int128_t.
1079
62a58816
SP
10802014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1081
1082 * malloc/malloc (malloc_info): Fix formatting.
1083
4d653a59
SP
10842014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1085 Roland McGrath <roland@hack.frob.com>
1086
1087 * malloc/malloc (malloc_info): Also print mmapped statistics.
1088
5190c17f
RM
10892014-05-30 Roland McGrath <roland@hack.frob.com>
1090
1091 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1092 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1093
987c0269
OB
10942014-05-30 Ondřej Bílka <neleai@seznam.cz>
1095
1096 * malloc/malloc.c (malloc_info): Inline mi_arena.
1097
af4e8ef9
RH
10982014-05-29 Richard Henderson <rth@twiddle.net>
1099
1670e207
RH
1100 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1101 Remove comma before expanding ASM_ARGS_##nr.
1102 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1103 Make _x0 a strict output; make _x8 a strict input; adjust expansion
1104 of ASM_ARGS_##nr.
1105 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1106 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1107 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1108 (ASM_ARGS_1): Add leading comma.
1109
11a28aee
RH
1110 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1111 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1112 to __errno_location.
1113 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1114 Remove the expected plt for __errno_location.
1115
a17e5ffb 1116 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 1117 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
1118 call to __read_tp.
1119
b5be4597
RH
1120 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1121 Always allocate 64 bytes of stack frame. Use ldp/stp to create
1122 it and break it down.
1123 (DOCARGS_0, DOCARGS_1): Do nothing.
1124 (DOCARGS_2): Update to store into the new stack frame.
1125 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1126 (UNDOCARGS_1): Update to restore from the new stack frame.
1127 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1128 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1129
645d44ab
RH
1130 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1131 (SINGLE_THREAD_P): New parameter for result regno.
1132 (PSEUDO): Update to match; use cbz instead of beq.
1133
a8b4f04a
RH
1134 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1135 Use ENTRY to define the _nocancel entry point. Share the syscall
1136 and syscall error check paths with the cancel path.
1137 (PSEUDO_END): New.
1138
af4e8ef9
RH
1139 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1140 whitespace; tabs before and after asm mnemonics.
1141
26b0d2e1
EW
11422014-05-29 Eric Wong <normalperson@yhbt.net>
1143
1144 [BZ #15132]
1145 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1146 Call fstat64 or stat64 internally, depending on arguments passed.
1147 Replace stat buffer argument with file descriptor argument.
1148 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1149 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1150 Pass fd to __internal_statvfs instead of calling fstat64.
1151 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1152 Pass fd to __internal_statvfs64 instead of calling fstat64.
1153 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1154 Pass -1 to __internal_statvfs instead of calling stat64.
1155 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1156 Pass -1 to __internal_statvfs64 instead of calling stat64.
1157
1efe2bd9
RM
11582014-05-28 Roland McGrath <roland@hack.frob.com>
1159
0d3b7a19
RM
1160 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1161 that was previously under [RESET_PID].
1162 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1163
1efe2bd9
RM
1164 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1165 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1166
a6bea3ca
RM
11672014-05-27 Roland McGrath <roland@hack.frob.com>
1168
30b6629e
RM
1169 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1170
a6bea3ca
RM
1171 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1172 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1173
3dfb9a5c
OB
11742014-05-27 Ondřej Bílka <neleai@seznam.cz>
1175
1176 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1177
774f9285
AS
11782014-05-27 Andreas Schwab <schwab@suse.de>
1179
1180 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1181 TLS_INIT_TP macro.
1182 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1183 * elf/rtld.c (init_tls, dl_main): Likewise.
1184 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1185 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1186 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1187 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1188 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1189 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1190 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1191 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1192 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1193 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1194 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1195 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1196 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1197 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1198 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1199 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1200 * sysdeps/generic/tls.h: Update description.
1201
36ffe739
WN
12022014-05-27 Will Newton <will.newton@linaro.org>
1203
1204 [BZ #16990]
1205 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1206 and restore r2 rather than just restoring.
1207
2482ae43
SP
12082014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1209
1210 [BZ #16724]
1211 * libio/tst-ftell-append.c: New test case.
1212 * libio/Makefile (tests): Add test case.
1213 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1214 append mode.
1215 * libio/wfileops.c (do_ftell_wide): Likewise.
1216
3d1024e8
AZ
12172014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1218
bab90016
AZ
1219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1220
c7a8d667
AZ
1221 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1222 ...
1223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1225 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1226 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1227 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1228 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1229 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1230 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1231 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1232 Moved ...
1233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1234 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1235 Moved ...
1236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1237 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1238 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1239 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1240 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1241 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1242 ...
1243 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1244 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1245 Moved ...
1246 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1247 here.
1248 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1249 ...
1250 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1251 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1252 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1253
daee7851
AZ
1254 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1255 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1256 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1257 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1258
50a40819
AZ
1259 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1260 merge into ...
1261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1262 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1263 ...
1264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1265 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1266 ...
1267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1268 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1269 Moved ...
1270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1271 here.
1272 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1273 Moved ...
1274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1275 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1276 Moved ...
1277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1278
8464c2a1
AZ
1279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1280 conditional [RESET_PID].
1281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1282 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1283 removed.
1284 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1285 removed.
1286
3d1024e8
AZ
1287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1288 <tcb-offsets.h>.
1289 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1290 (__libc_vfork): New strong alias.
1291 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1292 removed.
1293 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1294 Removed.
1295
1296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1297 <tcb-offsets.h>.
1298 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1299 (__libc_vfork): New strong alias.
1300 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1301 removed.
1302 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1303 removed.
1304
fdfd175d
CD
13052014-05-26 Carlos O'Donell <carlos@redhat.com>
1306
1307 * malloc/malloc.c (mi_arena): New function.
1308 (malloc_info): Remove nested function mi_arena. Call non-nosted
1309 function mi_arena.
1310
d298c416
AZ
13112014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1312
1313 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1314 by insrwi.
1315 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1316 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1317 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1318 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1319 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1320 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1321 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1322
b60ea6ff
AS
13232014-05-26 Andreas Schwab <schwab@suse.de>
1324
1325 [BZ #16984]
1326 * locale/programs/repertoire.c (repertoire_read): Add slash
1327 between I18NPATH element and file name.
1328 * locale/programs/locfile.c (locfile_read): Likewise.
1329
67365926
SL
13302014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1331
1332 * nptl/pthread_mutexattr_settype.c
1333 (__pthread_mutexattr_settype):
1334 Disable lock elision for PTHREAD_MUTEX_NORMAL.
1335
f8bdf1f0
SL
13362014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1337
1338 * nptl/tst-mutex5 (do_test):
1339 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1340
15eaf6ff
SP
13412014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1342
1343 * benchtests/README: Document 'init' directive.
1344 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1345 BENCH_INIT.
1346 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1347 (parse_file): Recognize 'init' directive.
1348
75f11331
KM
13492014-05-26 Kyle McMartin <kyle@redhat.com>
1350
1351 [BZ #16796]
1352 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1353 alignment of struct pthread.
1354
c3ec475c
SP
13552014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1356
1357 [BZ #16878]
1358 * nscd/netgroupcache.c (addgetnetgrentX): Look for
1359 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1360 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1361 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1362
82aab97c
RH
13632014-05-25 Richard Henderson <rth@twiddle.net>
1364
aa2f176d
RH
1365 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1366 (SINGLE_THREAD_P_PIC): Remove.
1367 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1368 (SINGLE_THREAD_P_PIC): Remove.
1369
ca3cfa40
RH
1370 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1371 branch to syscall error ...
1372 (PSEUDO): ... here.
1373 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1374 from __local_syscall_error to .Lsyscall_error.
1375 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1376 (SYSCALL_ERROR): Update label name.
1377
6e6c2d01
RH
1378 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1379 Do not use DOARGS/UNDOARGS.
1380 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1381 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1382 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1383 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1384 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1385
c69abcee
RH
1386 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1387 block comment.
1388
82aab97c
RH
1389 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1390 define if !NOT_IN_libc.
1391 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1392 define with non-default symbol versions.
1393
8820e3ac
RH
13942014-05-23 Richard Henderson <rth@twiddle.net>
1395
900e445f
RH
1396 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1397 (vfork, __vfork): Define via compat_symbol.
1398
8820e3ac
RH
1399 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1400 [!HAVE_IFUNC] (vfork_compat): Remove.
1401 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1402
e59252a5
JM
14032014-05-23 Joseph Myers <joseph@codesourcery.com>
1404
1405 [BZ #16978]
1406 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1407 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1408 variable.
1409
132c7f5f
RH
14102014-05-23 Richard Henderson <rth@twiddle.net>
1411
bc89e962
RH
1412 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1413 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1414 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1415 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1416
1417 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1418 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1419 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1420 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1421 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1422 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1423 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1424 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1425 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1426 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1427 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1428 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1429 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1430 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1431 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1432 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1433 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1434 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1435 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1436 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1437 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1438 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1439 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1440 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1441 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1442 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1443 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1444 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1445 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1446 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1447 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1448 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1449 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1450 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1451 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1452 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1453 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1454 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1455 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1456 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1457 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1458 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1459 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1460 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1461 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1462 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1463 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1464 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1465 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1466 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1467 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1468 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1469 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1470 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1471 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1472 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1473
e2fa4bc2
RH
1474 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1475 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1476 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
1477 before exiting on error.
1478 (__libc_vfork): New strong alias.
1479 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1480 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1481
279b24e2
RH
1482 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1483 that was previously under [RESET_PID].
1484 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1485
132c7f5f
RH
1486 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1487
b72592e7
JM
14882014-05-23 Joseph Myers <joseph@codesourcery.com>
1489
1490 [BZ #16977]
1491 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
1492 value when x - 1 is zero.
1493 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
1494 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1495 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
1496 0.0L for an argument of 1.0L.
1497 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
1498 Likewise.
1499 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
1500 value when x - 1 is zero.
1501 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
1502 * sysdeps/i386/fpu/libm-test-ulps: Update.
1503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1504
2302d679
RV
15052014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1506
1507 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
1508 alphasort and versionsort.
1509
32999d63
AZ
15102014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1511
1512 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
1513 macro.
1514 [copysignf]: Likewise.
1515
019324d0
SP
15162014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1517
1518 * crypt/md5-crypt.c: Fix formatting.
1519
34fff5c2
KS
15202014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1521
1522 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
1523 (b64_from_24bit): New function.
1524
3d2badac
AZ
15252014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1526
1527 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
1528 libc_hidden_builtin_def to ifunc.
1529 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1530 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
1531
f7bb179f 15322014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
1533
1534 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
1535 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
1536
4134b50d
JM
15372014-05-21 Joseph Myers <joseph@codesourcery.com>
1538
bb7d0337
JM
1539 * nscd/Depend (linuxthreads): Remove.
1540 (nptl): Add.
1541 * resolv/Depend (linuxthreads): Remove.
1542 * rt/Depend (linuxthreads): Remove.
1543
4134b50d
JM
1544 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
1545 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
1546 $(common-objpfx)elf/.
1547 (link-libc-before-gnulib): Likewise.
1548 (elfobjdir): Remove variable.
1549 * Makefile (install): Use $(elf-objpfx) instead of
1550 $(common-objpfx)elf/.
1551 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
1552 $(elfobjdir)/.
1553 (link-libc-deps): Likewise.
1554 ($(common-objpfx)libc.so): Likewise.
1555 ($(common-objpfx)linkobj/libc.so): Likewise.
1556 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
1557 instead of $(common-objpfx)elf/.
1558 (symbolic-link-list): Likewise.
1559 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1560 [$(cross-compiling) = no]: Likewise.
1561 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
1562 $(elfobjdir)/.
1563 (static-gnulib-arch): Likewise.
1564 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1565 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
1566 $(common-objpfx)elf/.
1567
3612eb8f
RH
15682014-05-21 Richard Henderson <rth@redhat.com>
1569
a6b3657b
RH
1570 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1571 (SINGLE_THREAD_P): Use the correct width load. Fold
1572 into the ldr offset.
1573
3612eb8f
RH
1574 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
1575 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
1576
175cef41
JM
15772014-05-20 Joseph Myers <joseph@codesourcery.com>
1578
1579 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
1580 (libgcc_s_resume): Use __attribute_used__.
1581 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
1582 Likewise.
1583
e13bccd3
AZ
15842014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1585
1586 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
1587 optimization when used with float constants.
1588
7c112a38
AZ
1589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1590
ae75a883
AJ
15912014-05-20 Aurelien Jarno <aurelien@aurel32.net>
1592
1593 [BZ #16915]
1594 * locale/nl_langinfo_l.c: Make direct reference to every
1595 _nl_current_CATEGORY symbol.
1596 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
1597 (tests-static): Add tst-langinfo-static.
1598 (tests-special): Add tst-langinfo-static.out.
1599 ($(objpfx)tst-langinfo.out): Redirect output.
1600 ($(objpfx)tst-langinfo-static.out): New.
1601 * localedata/tst-langinfo.sh: Send output to stdout.
1602 * localedata/tst-langinfo-static.c: New file.
1603
4406c41c
AJ
1604 [BZ #16965]
1605 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
1606 when the shift amount is modulo the limb size.
1607
4c0a1e63
RH
16082014-05-20 Richard Henderson <rth@redhat.com>
1609
de9d8f20
RH
1610 [BZ #16967]
1611 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
1612 Change type of sa_flags from unsigned int to int.
1613
4c0a1e63
RH
1614 [BZ #16966]
1615 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
1616
1617 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
1618
a60339aa
WN
16192014-05-20 Will Newton <will.newton@linaro.org>
1620
1621 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1622 Test the return value of the system call in the nocancel case.
1623
7d05a816
YR
16242014-05-20 Will Newton <will.newton@linaro.org>
1625 Yvan Roux <yvan.roux@linaro.org>
1626
1627 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
1628 #include of asm/ptrace.h.
1629 (PTRACE_GET_THREAD_AREA): Remove #undef.
1630 (PTRACE_GETHBPREGS): Likewise.
1631 (PTRACE_SETHBPREGS): Likewise.
1632 (struct user_regs_struct): New structure.
1633 (struct user_fpsimd_struct): New structure.
1634 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
1635 #include of asm/ptrace.h and second #include of sys/user.h.
1636 (PTRACE_GET_THREAD_AREA): Remove #undef.
1637 (PTRACE_GETHBPREGS): Likewise.
1638 (PTRACE_SETHBPREGS): Likewise.
1639 (ELF_NGREG): Use new struct user_regs_struct.
1640 (elf_fpregset_t): Use new struct user_fpsimd_struct.
1641
af121e37
AZ
16422014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1643
1644 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
1645 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
1646
834caf06
JM
16472014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1648
1649 [BZ #16958]
1650 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
1651 membar to avoid block loads/stores to overlap previous stores.
1652
e184a918
RH
16532014-05-17 Richard Henderson <rth@redhat.com>
1654
1655 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
1656 Create the __##syscall_name##_nocancel entry point.
1657 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
1658 Remove; let the sysdep-cancel.h code create it.
1659
f56c7a6a
DM
16602014-05-17 David S. Miller <davem@davemloft.net>
1661
1662 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
1663 Protect with __USE_GNU.
1664 (TIOCSET_TEMPT): Likewise.
1665 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1666 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
1667 these are already provided in bits/ioctl-types.h
1668
f75616b2
RM
16692014-05-16 Roland McGrath <roland@hack.frob.com>
1670
3edeca86
RM
1671 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
1672 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
1673
f75616b2
RM
1674 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
1675 Use wait4 regardless of [__NR_waitpid].
1676
deb0f7f6
MR
16772014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1678
1679 PR libgcc/60166
1680 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1681 (_FP_NANSIGN_Q): Set the quiet bit.
1682
79520f4b
JM
16832014-05-16 Joseph Myers <joseph@codesourcery.com>
1684
1685 * benchtests/Makefile
1686 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
1687 not $(common-objpfx)math/libm.so.
1688 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
1689 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
1690 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
1691 $(common-objpfx)dlfcn/libdl.so.
1692 ($(objpfx)tst-audit8): Depend on $(libm), not
1693 $(common-objpfx)math/libm.so.
1694 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
1695 not $(common-objpfx)dlfcn/libdl.so.
1696 * math/Makefile
1697 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1698 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
1699 [$(build-shared) = yes].
1700 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
1701 $(common-objpfx)nptl/libpthread.so.
1702 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
1703 $(common-objpfx)math/libm.so$(libm.so-version) or
1704 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
1705 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
1706 $(common-objpfx)dlfcn/libdl.so.
1707 * setjmp/Makefile (link-libm): Remove variable.
1708 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
1709 * stdio-common/Makefile (link-libm): Remove variable.
1710 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
1711 * stdlib/Makefile (link-libm): Remove variable.
1712 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
1713 ($(objpfx)tst-strtod-round): Likewise.
1714 ($(objpfx)tst-tininess): Likewise.
1715 ($(objpfx)tst-strtod-underflow): Likewise.
1716 ($(objpfx)tst-strtod6): Likewise.
1717 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
1718 $(libdl), not $(common-objpfx)nptl/libpthread.so and
1719 $(common-objpfx)dlfcn/libdl.so.
1720
026b0fe4
AZ
17212014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1722
1723 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
1724 BSD terminal modes definitions.
1725
def4bcb2
RM
17262014-05-16 Roland McGrath <roland@hack.frob.com>
1727
fe39b021
RM
1728 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
1729 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
1730
1d1fc46e 1731 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
1732 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
1733 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
1734 Don't do #include_next.
1735 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
1736 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
1737 Don't do #include_next.
1738 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
1739 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
1740 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
1741 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
1742
c72399fb
AM
17432014-05-16 Allan McRae <allan@archlinux.org>
1744
d51d659d
AM
1745 * po/sv.po: Update Swedish translation from translation project.
1746
c72399fb
AM
1747 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
1748 in sed expression.
1749
d0583c40
AJ
17502014-05-16 Aurelien Jarno <aurelien@aurel32.net>
1751
1752 [BZ #16917]
1753 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
1754 errno if the TIOCGPTN ioctl fails with an error different than
1755 EINVAL.
1756 * login/tst-ptsname.c: New file.
1757 * login/Makefile (tests): Add tst-ptsname.
1758
d16e6ec7
AJ
1759 [BZ #16943]
1760 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
1761 and prlimit64.
1762
cf26a0cb
SP
17632014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1764
1765 [BZ #16849]
1766 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
1767 herrno to return EAI_AGAIN.
1768
5675da1e
RM
17692014-05-14 Roland McGrath <roland@hack.frob.com>
1770
a5d87b3d
RM
1771 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
1772 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
1773 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
1774 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
1775 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
1776 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
1777 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
1778 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
1779 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
1780 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
1781 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
1782 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
1783 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
1784 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
1785 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
1786 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
1787 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
1788 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
1789 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
1790 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
1791 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
1792 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
1793 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
1794 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
1795 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
1796 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
1797 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
1798 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
1799 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
1800 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
1801 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
1802 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
1803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
1804 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
1805 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1806 Moved ...
1807 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
1808 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
1809 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
1810 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
1811 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
1812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
1813 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
1814 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
1815 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
1816 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
1817 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
1818 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
1819 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
1820 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
1821 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
1822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
1823 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
1824 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
1825 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
1826 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
1827 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
1828 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
1829 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
1830 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
1831 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
1832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
1833 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
1834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1835 Moved ...
1836 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
1837 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
1838 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
1839 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
1840 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
1841 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
1842 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
1843 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
1844 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
1845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
1846 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
1847 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
1848 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
1849 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
1850 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
1851 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
1852 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
1853 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
1854 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
1855 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1856 Moved ...
1857 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
1858 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
1859 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
1860
039890a6
RM
1861 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
1862 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
1863 (libpthread-sysdep_routines): Add elision-related stuff here instead.
1864 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
1865 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
1866 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
1867 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
1868 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
1869 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
1870 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
1871 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
1872 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
1873 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
1874 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
1875 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
1876 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
1877 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
1878 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
1879 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
1880 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
1881 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
1882 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
1883 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
1884 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
1885 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
1886 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
1887 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
1888 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
1889 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
1890 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
1891 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
1892
65c89320
RM
1893 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
1894 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
1895
348f8e8c
RM
1896 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
1897 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
1898 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
1899 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
1900 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
1901 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
1902 Moved ...
1903 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
1904 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
1905 Moved ...
1906 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
1907 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
1908 Moved ...
1909 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
1910 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
1911 Moved ...
1912 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
1913 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
1914 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
1915 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
1916 Moved ...
1917 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
1918 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
1919 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
1920 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
1921 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
1922 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
1923 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
1924 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
1925 Moved ...
1926 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
1927 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1928 Moved ...
1929 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1930 ... here.
1931 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
1932 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
1933 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
1934 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
1935 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1936 Moved ...
1937 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1938 ... here.
1939 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
1940 Moved ...
1941 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
1942 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
1943 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
1944 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
1945 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
1946 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
1947 Moved ...
1948 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
1949 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
1950 Moved ...
1951 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
1952 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
1953 Moved ...
1954 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
1955 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
1956 Moved ...
1957 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
1958 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
1959 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
1960 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
1961 Moved ...
1962 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
1963 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
1964 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
1965 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
1966 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
1967 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
1968 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
1969 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
1970 Moved ...
1971 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
1972 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1973 Moved ...
1974 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1975 ... here.
1976 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
1977 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
1978 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
1979 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
1980 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1981 Moved ...
1982 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1983 ... here.
1984 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
1985 Moved ...
1986 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
1987 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
1988 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
1989 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
1990 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
1991 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
1992 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
1993 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
1994 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
1995 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
1996 Moved ...
1997 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
1998 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
1999 Moved ...
2000 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2001 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2002 Moved ...
2003 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2004 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2005 Moved ...
2006 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2007 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2008 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2009 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2010 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2011 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2012 Moved ...
2013 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2014 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2015 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2016 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2017 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2018 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2019 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2020 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2021 Moved ...
2022 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2023 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2024 Moved ...
2025 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2026 ... here.
2027 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2028 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2029 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2030 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2031 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2032 Moved ...
2033 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2034 ... here.
2035 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2036 Moved ...
2037 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2038 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2039 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2040 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2041 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2042 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2043 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2044 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2045 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2046 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2047 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2048
5085af05
RM
2049 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2050 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2051
708f0813
RM
2052 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2053 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2054
c96067bc
RM
2055 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2056 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2057 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2058 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2059 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2060 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2061 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2062 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2063 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2064 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2065 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2066 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2067 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2068 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2069 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2070 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2071 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2072 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2073 Moved ...
2074 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2075 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2076 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2077 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2078 Moved ...
2079 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2080 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2081 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2082 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2083 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2084 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2085 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2086 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2087 Moved ...
2088 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2089 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2090 Moved ...
2091 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2092 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2093 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2094 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2095 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2096 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2097 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2098 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2099 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2100 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2101 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2102 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2103 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2104 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2105 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2106 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2107 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2108
ec136444
RM
2109 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2110 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2111 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2112 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2113 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2114
2fbdf533
RM
2115 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2116 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2117 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2118 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2119 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2120 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2121 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2122 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2123 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2124 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2125
4c68138b
RM
2126 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2127 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2128
4eaae765
RM
2129 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2130 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
2131 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2132 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2133 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2134 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2135 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2136 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2137 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2138 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2139 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2140 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2141 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2142 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2143 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2144 Update #include.
2145 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2146 Likewise.
2147 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2148 Likewise.
2149 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2150 Likewise.
2151 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2152 Likewise.
2153 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2154 Likewise.
2155 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2156 Likewise.
2157 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2158 Likewise.
2159 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2160 Likewise.
2161 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2162 Likewise.
4ef6befa
RM
2163 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2164 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2165 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2166 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2167 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
2168 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2169 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2170 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2171 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2172 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2173 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2174 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2175 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2176 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
2177 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 2178
941d7dfd
RM
2179 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2180 that was previously under [RESET_PID].
2181 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2182 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2183 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2184
1b731c35
RM
2185 * sysdeps/i386/nptl/Implies: New file.
2186 * sysdeps/x86_64/nptl/Implies: New file.
2187 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2188 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2189 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2190 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2191
e2787137
RM
2192 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2193 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2194 (__libc_vfork): New strong alias.
2195 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2196 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2197
2198 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2199 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2200 (__libc_vfork): New strong alias.
2201 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2202 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2203
5675da1e
RM
2204 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2205 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2206 (__libc_vfork): New strong alias.
2207 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2208 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2209 * nptl/pt-vfork.c: New file.
2210 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2211 (libpthread: GLIBC_2.20): New version set (empty).
2212
4f02e2b8
WN
22132014-05-14 Will Newton <will.newton@linaro.org>
2214
2215 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2216 rather than #if.
2217
0bf061d3
JM
22182014-05-14 Joseph Myers <joseph@codesourcery.com>
2219
1a84c3d6
JM
2220 [BZ #16564]
2221 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2222 arguments with exponent 65 or above.
2223 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2224 arguments 0x1p113L or above.
2225 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2226 to arguments 0x1p107L or above.
2227 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2228 positive arguments with exponent 65 or above.
2229 * math/auto-libm-test-in: Add more tests of log1p.
2230 * math/auto-libm-test-out: Regenerated.
2231
01dbacd2
JM
2232 [BZ #16928]
2233 * math/s_cacos.c (__cacos): Ensure zero real part of result from
2234 non-finite arguments is +0.
2235 * math/s_cacosf.c (__cacosf): Likewise.
2236 * math/s_cacosl.c (__cacosl): Likewise.
2237 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2238 * sysdeps/i386/fpu/libm-test-ulps: Update.
2239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2240
913d03c8
JM
2241 [BZ #16927]
2242 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2243 value.
2244 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2245 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2246 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2247 for explicit high bit of mantissa when testing for argument equal
2248 to 1.
2249 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2250 * sysdeps/i386/fpu/libm-test-ulps: Update.
2251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2252
0bf061d3
JM
2253 [BZ #16516]
2254 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2255 (__erf): Scale by 16 instead of 8 in potentially underflowing
2256 case. Ensure exception if result actually underflows.
2257 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2258 (__erff): Scale by 16 instead of 8 in potentially underflowing
2259 case. Ensure exception if result actually underflows.
2260 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2261 (efx8): Remove variable.
2262 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2263 case. Ensure exception if result actually underflows.
2264 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2265 (efx8): Remove variable.
2266 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2267 case. Ensure exception if result actually underflows.
2268 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2269 (efx8): Remove variable.
2270 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2271 case. Ensure exception if result actually underflows.
2272 * math/auto-libm-test-in: Add more tests of erf.
2273 * math/auto-libm-test-out: Regenerated.
2274
73ba67cb
AS
22752014-05-14 Andreas Schwab <schwab@suse.de>
2276
3d8c8bff
AS
2277 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2278 Remove code conditionalized on USE___THREAD.
2279
73ba67cb
AS
2280 * config.h.in (HAVE_PT_CHOWN): Define as 0.
2281 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2282 not definedness.
2283
5c521ecd
JM
22842014-05-14 Joseph Myers <joseph@codesourcery.com>
2285
5e7698c6
JM
2286 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2287 Define unconditionally.
2288 (__ASSUME_O_CLOEXEC): Likewise.
2289 (__ASSUME_SOCK_CLOEXEC): Likewise.
2290 (__ASSUME_IN_NONBLOCK): Likewise.
2291 (__ASSUME_PIPE2): Likewise.
2292 (__ASSUME_EVENTFD2): Likewise.
2293 (__ASSUME_SIGNALFD4): Likewise.
2294 (__ASSUME_DUP3): Likewise.
2295 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2296 (__ASSUME_DUP3): Do not define.
2297 (__ASSUME_EVENTFD2): Likewise.
2298 (__ASSUME_IN_NONBLOCK): Likewise.
2299 (__ASSUME_O_CLOEXEC): Likewise.
2300 (__ASSUME_PIPE2): Likewise.
2301 (__ASSUME_SIGNALFD4): Likewise.
2302 (__ASSUME_SOCK_CLOEXEC): Likewise.
2303 (__ASSUME_UTIMES): Undefine.
2304 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2305 (__ASSUME_UTIMES): Do not define.
2306 (__ASSUME_O_CLOEXEC): Likewise.
2307 (__ASSUME_SOCK_CLOEXEC): Likewise.
2308 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2309 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2310 0x020621].
2311 (__ASSUME_PIPE2): Likewise.
2312 (__ASSUME_EVENTFD2): Likewise.
2313 (__ASSUME_SIGNALFD4): Likewise.
2314 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2315 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2316 Do not define.
2317 (__ASSUME_EVENTFD2): Likewise.
2318 (__ASSUME_SIGNALFD4): Likewise.
2319 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2320 (__ASSUME_32BITUIDS): Likewise.
2321 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2322 (__ASSUME_IPC64): Likewise.
2323 (__ASSUME_ST_INO_64_BIT): Likewise.
2324 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2325 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2326 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2327 (__ASSUME_UTIMES): Do not define.
2328 (__ASSUME_PSELECT): Likewise.
2329 (__ASSUME_PPOLL): Likewise.
2330 (__ASSUME_O_CLOEXEC): Likewise.
2331 (__ASSUME_SOCK_CLOEXEC): Likewise.
2332 (__ASSUME_IN_NONBLOCK): Likewise.
2333 (__ASSUME_PIPE2): Likewise.
2334 (__ASSUME_EVENTFD2): Likewise.
2335 (__ASSUME_SIGNALFD4): Likewise.
2336 (__ASSUME_DUP3): Likewise.
2337 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2338 (__ASSUME_UTIMES): Likewise.
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 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2347 (__ASSUME_UTIMES): Likewise.
2348 (__ASSUME_O_CLOEXEC): Likewise.
2349 (__ASSUME_SOCK_CLOEXEC): Likewise.
2350 (__ASSUME_IN_NONBLOCK): Likewise.
2351 (__ASSUME_PIPE2): Likewise.
2352 (__ASSUME_EVENTFD2): Likewise.
2353 (__ASSUME_SIGNALFD4): Likewise.
2354 (__ASSUME_DUP3): Likewise.
2355 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2356 Likewise.
2357 (__ASSUME_UTIMES): Likewise.
2358 (__ASSUME_EVENTFD2): Likewise.
2359 (__ASSUME_SIGNALFD4): Likewise.
2360 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2361 (__ASSUME_O_CLOEXEC): Likewise.
2362 (__ASSUME_SOCK_CLOEXEC): Likewise.
2363 (__ASSUME_IN_NONBLOCK): Likewise.
2364 (__ASSUME_PIPE2): Likewise.
2365 (__ASSUME_EVENTFD2): Likewise.
2366 (__ASSUME_SIGNALFD4): Likewise.
2367 (__ASSUME_DUP3): Likewise.
2368 (__ASSUME_UTIMES): Undefine.
2369
5c521ecd
JM
2370 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2371 feclearexcept. Remove symbol versioning code.
2372 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
2373 symbol versioning code.
2374 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
2375 symbol versioning code.
2376 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2377 feupdateenv. Remove symbol versioning code.
2378 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2379 fegetexceptflag. Remove symbol versioning code.
2380 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2381 fesetexceptflag. Remove symbol versioning code.
2382 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2383 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
2384 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2385 (__posix_fadvise64_l32): Remove prototype.
2386 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2387 code.
2388
5da9dfad
RM
23892014-05-13 Roland McGrath <roland@hack.frob.com>
2390
2391 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2392 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2393 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2394 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2395
893b4f37
SK
23962014-05-13 Sami Kerola <kerolasa@iki.fi>
2397
2398 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2399 current working directory
2400
e0db6517
RM
24012014-05-13 Roland McGrath <roland@hack.frob.com>
2402
58aa195d
RM
2403 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2404 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2405 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2406 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2407 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2408 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2409 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2410 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2411 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2412 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2413 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2414 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2415 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2416 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2417 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2418 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2419 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2420 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2421 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2422 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2423 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2424 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2425 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2426 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2427 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2428 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2429 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2430 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2431 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2432 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2433 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2434 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2435 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2436 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2437 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2438 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2439 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2440 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2441 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2442 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2443 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2444 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2445
8c6d01f0
RM
2446 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2447 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2448
2449 * sysdeps/unix/sysv/linux/arm/Makefile
2450 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2451 Add rt-aeabi_unwind_cpp_pr1.
2452 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2453 Add nptl-aeabi_unwind_cpp_pr1.
2454 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2455 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2456 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2457 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2458 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2459 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2460
2461 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2462 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2463 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2464 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2465
bba6da4e
RM
2466 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2467 Deconditionalize the code that was previously under [RESET_PID].
2468 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2469
e0db6517
RM
2470 * sysdeps/generic/exit-thread.h: New file.
2471 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2472 * include/unistd.h (__exit_thread): Remove declaration.
2473 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2474 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2475 * csu/libc-start.c: Include <exit-thread.h>.
2476 (LIBC_START_MAIN): Pass no argument to __exit_thread.
2477 * nptl/pthread_create.c: Include <exit-thread.h>.
2478 (start_thread): Call __exit_thread in place of __exit_thread_inline.
2479 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2480 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2481 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2482 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2483 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2484 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2485 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2486 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2487 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2488 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2489 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2490 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
2491 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
2492 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
2493 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
2494 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
2495
01eb16fd
AS
24962014-05-13 Andreas Schwab <schwab@suse.de>
2497
2498 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
2499
637461d9
JM
25002014-05-12 Joseph Myers <joseph@codesourcery.com>
2501
2502 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2503 (__ASSUME_UTIMES): Do not condition on kernel version.
2504 (__ASSUME_PSELECT): Define unconditionally.
2505 (__ASSUME_PPOLL): Likewise.
2506 (__ASSUME_ATFCTS): Likewise.
2507 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
2508 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
2509 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
2510 (__ASSUME_UTIMENSAT): Define unconditionally.
2511 (__ASSUME_PRIVATE_FUTEX): Likewise.
2512 (__ASSUME_FALLOCATE): Likewise.
2513 (__ASSUME_O_CLOEXEC): Likewise.
2514 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
2515 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
2516 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
2517 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
2518 (__ASSUME_IN_NONBLOCK): Likewise.
2519 (__ASSUME_PIPE2): Likewise.
2520 (__ASSUME_EVENTFD2): Likewise.
2521 (__ASSUME_SIGNALFD4): Likewise.
2522 (__ASSUME_DUP3): Likewise.
2523 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2524 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
2525 (__ASSUME_AT_RANDOM): Likewise.
2526 (__ASSUME_PREADV): Likewise.
2527 (__ASSUME_PWRITEV): Likewise.
2528 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
2529 (__ASSUME_F_GETOWN_EX): Define unconditionally.
2530 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
2531 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2532 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
2533 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2534 (__ASSUME_O_CLOEXEC): Define unconditionally.
2535 (__ASSUME_PSELECT): Do not undefine conditionally.
2536 (__ASSUME_PPOLL): Likewise.
2537 (__ASSUME_ATFCTS): Likewise.
2538 (__ASSUME_SET_ROBUST_LIST): Likewise.
2539 (__ASSUME_UTIMENSAT): Likewise.
2540 (__ASSUME_FDATASYNC): Define unconditionally.
2541 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2542 (__ASSUME_SIGFRAME_V2): Likewise.
2543 )__ASSUME_EVENTFD2): Likewise.
2544 (__ASSUME_SIGNALFD4): Likewise.
2545 (__ASSUME_PSELECT): Do not undefine conditionally.
2546 (__ASSUME_PPOLL): Likewise.
2547 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2548 (__ASSUME_PSELECT): Define unconditionally.
2549 (__ASSUME_PPOLL): Likewise.
2550 (__ASSUME_O_CLOEXEC): Likewise.
2551 (__ASSUME_SOCK_CLOEXEC): Likewise.
2552 (__ASSUME_IN_NONBLOCK): Likewise.
2553 (__ASSUME_PIPE2): Likewise.
2554 (__ASSUME_EVENTFD2): Likewise.
2555 (__ASSUME_SIGNALFD4): Likewise.
2556 (__ASSUME_DUP3): Likewise.
2557 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2558 (__ASSUME_O_CLOEXEC): Likewise.
2559 (__ASSUME_SOCK_CLOEXEC): Likewise.
2560 (__ASSUME_IN_NONBLOCK): Likewise.
2561 (__ASSUME_PIPE2): Likewise.
2562 (__ASSUME_EVENTFD2): Likewise.
2563 (__ASSUME_SIGNALFD4): Likewise.
2564 (__ASSUME_DUP3): Likewise.
2565 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2566 (__ASSUME_EVENTFD2): Likewise.
2567 (__ASSUME_SIGNALFD4): Likewise.
2568 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2569
315eb1d8
AS
25702014-05-12 Andreas Schwab <schwab@suse.de>
2571
2572 [BZ #16932]
2573 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
2574 (_nss_nis_gethostbyname4_r): Return error if item length is larger
2575 than maximum RPC packet size.
2576 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
2577 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
2578 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
2579 (_nss_nis_getservbyport_r): Likewise.
2580
91df99f7
WN
25812014-05-12 Will Newton <will.newton@linaro.org>
2582
2583 * malloc/Makefile (tests): Add tst-mallopt.
2584 * malloc/tst-mallopt.c: New file.
2585
0a982a29
RM
25862014-05-09 Roland McGrath <roland@hack.frob.com>
2587
2588 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
2589 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
2590
0ded08a5
AZ
25912014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2592
2593 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
2594 (tst-tlsmod6.so): Likewise.
2595
55d4d550
RM
25962014-05-09 Roland McGrath <roland@hack.frob.com>
2597
2598 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
2599
77d08aca
JM
26002014-05-09 Joseph Myers <joseph@codesourcery.com>
2601
2602 [BZ #16064]
2603 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
2604 and <dl-procinfo.h>.
2605 (__fegetenv): Save SSE state in envp->__eip if supported.
2606 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
2607 envp->__eip if supported.
2608 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
2609 and <dl-procinfo.h>.
2610 (__fesetenv): Always set __eip, __cs_selector, __opcode,
2611 __data_offset and __data_selector in environment to 0. Set SSE
2612 state if supported.
2613 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2614 test-fenv-sse.
2615 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
2616 -mfpmath=sse.
2617 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
2618
28162f4d
WN
26192014-05-09 Will Newton <will.newton@linaro.org>
2620
2621 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
2622 and libc_relro_required for ARM.
2623 * sysdeps/arm/preconfigure: Regenerate.
2624
5a414ff7
DV
26252014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
2626 Stefan Liebler <stli@linux.vnet.ibm.com>
2627
2628 * config.make.in (enable-lock-elision): New Makefile variable.
2629 * configure.ac: Likewise.
2630 * configure: Regenerate.
2631 * sysdeps/s390/configure.ac:
2632 Add check for gcc transactions support.
2633 * sysdeps/s390/configure: Regenerate.
2634 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
2635 Build elision files if enabled.
2636 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
2637 Add lock elision support for s390.
2638 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
2639 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
2640 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2641 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2642 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2643 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
2644 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2645 Likewise.
2646 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
2647 Likewise.
2648 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
2649 Likewise.
2650 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
2651 Likewise.
2652 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
2653 (__lll_timedlock_elision, __lll_lock_elision)
2654 (__lll_unlock_elision, __lll_trylock_elision)
2655 (lll_timedlock_elision, lll_lock_elision)
2656 (lll_unlock_elision, lll_trylock_elision): Add.
2657 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2658 (pthread_mutex_t): Add lock elision support for s390.
2659
1a2f40e5
W
26602014-05-14 Wilco <wdijkstr@arm.com>
2661
2662 * sysdeps/arm/fclrexcpt.c: Cleanup.
2663 * sysdeps/arm/fedisblxcpt.c: Cleanup.
2664 * sysdeps/arm/feenablxcpt.c: Cleanup.
2665 * sysdeps/arm/fegetenv.c: Cleanup.
2666 * sysdeps/arm/fegetexcept.c: Cleanup.
2667 * sysdeps/arm/fegetround.c: Cleanup.
2668 * sysdeps/arm/feholdexcpt.c: Cleanup.
2669 * sysdeps/arm/fesetenv.c: Cleanup.
2670 * sysdeps/arm/fesetround.c: Cleanup.
2671 * sysdeps/arm/feupdateenv.c: Cleanup.
2672 * sysdeps/arm/fgetexcptflg.c: Cleanup.
2673 * sysdeps/arm/fraiseexcpt.c: Cleanup.
2674 * sysdeps/arm/fsetexcptflg.c: Cleanup.
2675 * sysdeps/arm/ftestexcept.c: Cleanup.
2676 * sysdeps/arm/get-rounding-mode.h: Cleanup.
2677 * sysdeps/arm/setfpucw.c: Cleanup.
2678
f63c86fe
WN
26792014-05-09 Will Newton <will.newton@linaro.org>
2680
2681 * sysdeps/arm/armv7/strcmp.S: New file.
2682 * NEWS: Mention addition of ARMv7 optimized strcmp.
2683
7a1a51b5
RM
26842014-05-08 Roland McGrath <roland@hack.frob.com>
2685
95afbbe5
RM
2686 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
2687 look for %.ac rather than %.in.
2688
2689 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
2690 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
2691 * sysdeps/mach/hurd/configure: Regenerated.
2692 * sysdeps/unix/sysv/linux/configure: Regenerated.
2693
7a1a51b5
RM
2694 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
2695
5057ad3b
SE
26962014-05-07 Steve Ellcey <sellcey@mips.com>
2697
2698 [BZ# 16922]
2699 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
2700 (LONG_SUB): Ditto.
2701 (PTR_SUB): Ditto.
2702
8dc97517
AS
27032014-05-07 Andreas Schwab <schwab@suse.de>
2704
2705 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
2706 when skipping over non-matching result from nscd.
2707
ce0c5b8f
OB
27082014-05-07 Ondřej Bílka <neleai@seznam.cz>
2709
2710 [BZ #16876]
2711 * nptl/sockperf.c (client): Check socket return value.
8dc97517 2712
a1189263
OB
2713 [BZ #16877]
2714 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
2715 nscd security class.
ce0c5b8f 2716
0f58d252
RM
27172014-05-06 Roland McGrath <roland@hack.frob.com>
2718
2719 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
2720 * sysdeps/arm/unwind.h: ... here.
2721
83df9ad0
AJ
27222014-05-06 Aurelien Jarno <aurelien@aurel32.net>
2723
ce0c5b8f
OB
2724 [BZ# 16916]
2725 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
2726 Define.
83df9ad0 2727
f360f94a
VR
27282014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2729
2730 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
2731 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
2732 multiarch strncpy for PPC64.
2733 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
2734 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
2735 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
2736 multiarch optimizations.
2737 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2738 (__libc_ifunc_impl_list): Likewise.
2739 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
2740 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
2741 multiarch stpncpy for PPC64.
2742 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
2743 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
2744
978a41c3
AS
27452014-05-06 Andreas Schwab <schwab@suse.de>
2746
2747 [BZ #16912]
2748 * gmon/mcount.c (_MCOUNT_DECL): Use
2749 atomic_compare_and_exchange_bool_acq instead of
2750 catomic_compare_and_exchange_bool_acq.
2751
eb1ed03d
RM
27522014-05-05 Roland McGrath <roland@hack.frob.com>
2753
fe658845
RM
2754 * elf/Makefile (others, install-bin): Remove pldd.
2755 (pldd-modules): Variable removed.
2756 ($(objpfx)pldd): Target removed.
2757 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
2758 (others, install-bin): Append pldd here.
2759 ($(objpfx)pldd): New target.
2760
eb1ed03d
RM
2761 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
2762 to 0, so the first #if test emitted later doesn't see it undefined.
2763 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
2764 * sysdeps/gnu/errlist.c: Regenerated.
2765
19c4bec0
AZ
27662014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2767
2768 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2769 [libc_hidden_builtin_def]: Define to empty value.
2770 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
2771 [libc_hidden_builtin_def]: Likewise.
2772 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
2773 [libc_hidden_builtin_def]: Likewise.
2774 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
2775 [libc_hidden_builtin_def]: Likewise.
2776 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
2777 __redirect_memcpy and define ifunc as default hidden symbol.
2778 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
2779 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
2780
7776e669
AC
27812014-05-04 Adam Conrad <adconrad@0c3.net>
2782
2783 * locale/iso-4217.def: Reintroduce XDR currency.
2784
d69aeb12
AM
27852014-05-04 Allan McRae <allan@archlinux.org>
2786
2787 * po/eo.po: Update Esperanto translation from translation project.
2788
8f1df5cf
CD
27892014-05-02 Carlos O'Donell <carlos@redhat.com>
2790
2791 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
2792 and FEATURE_INDEX_MAX to 1.
2793 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
2794
13e402e7
SE
27952014-05-01 Steve Ellcey <sellcey@mips.com>
2796
2797 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
2798 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
2799 * iconvdata/big5.c (ONE_DIRECTION): Define.
2800 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
2801 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
2802 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
2803 * iconvdata/cp932.c (ONE_DIRECTION): Define.
2804 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
2805 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
2806 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
2807 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
2808 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
2809 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
2810 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
2811 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
2812 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
2813 * iconvdata/gbk.c (ONE_DIRECTION): Define.
2814 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
2815 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
2816 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
2817 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
2818 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
2819 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
2820 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
2821 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
2822 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
2823 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
2824 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
2825 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
2826 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
2827 * iconvdata/iso646.c (ONE_DIRECTION): Define.
2828 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
2829 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
2830 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
2831 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
2832 * iconvdata/johab.c (ONE_DIRECTION): Define.
2833 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
2834 * iconvdata/sjis.c (ONE_DIRECTION): Define.
2835 * iconvdata/t.61.c (ONE_DIRECTION): Define.
2836 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
2837 * iconvdata/tscii.c (ONE_DIRECTION): Define.
2838 * iconvdata/uhc.c (ONE_DIRECTION): Define.
2839 * iconvdata/unicode.c (ONE_DIRECTION): Define.
2840 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
2841 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
2842 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
2843
c727f032
RM
28442014-05-01 Roland McGrath <roland@hack.frob.com>
2845
8f2f08d0
RM
2846 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
2847 (_IO_JUMPS_OFFSET): Define to 0.
2848
c727f032
RM
2849 * nptl/sysdeps/pthread/bits/libc-lock.h
2850 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2851 (__libc_lock_define_initialized_recursive): Always define using
2852 initializer. Modern compilers treat uninitialized (implicit zero) and
2853 explicit zero initializers the same (i.e. put the datum in bss).
2854
a849e800
AS
28552014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2856
2857 * nscd/nscd-client.h: Include <string.h>.
2858
5331255b
DM
28592014-05-01 David S. Miller <davem@davemloft.net>
2860
2861 [BZ #16885]
2862 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
2863 multiple zero bytes exist at the end of a string.
2864 Reported by Aurelien Jarno <aurelien@aurel32.net>
2865
2866 * string/test-strcmp.c (check): Add explicit test for situations where
2867 there are multiple zero bytes after the first.
2868
4fdfe821
AS
28692014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2870
2871 [BZ #16890]
2872 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
2873 when compiling wprintf.
2874 * stdio-common/tstdiomisc.c (t3): New function.
2875 (main): Call it.
2876
0cdddc25
SE
28772014-05-01 Steve Ellcey <sellcey@mips.com>
2878
2879 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
2880 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
2881 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
2882 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
2883
6426d77e
SE
28842014-05-01 Steve Ellcey <sellcey@mips.com>
2885
2886 * stdlib/longlong.h: Updated from GCC.
2887
6d96f5e4
WN
28882014-05-01 Will Newton <will.newton@linaro.org>
2889 Bernard Ogden <bernie.ogden@linaro.org>
2890
7470db0c
WN
2891 * NEWS: Update fixed bug list.
2892
6d96f5e4
WN
2893 [BZ #15119]
2894 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
2895
211d653c
DM
28962014-04-30 David S. Miller <davem@davemloft.net>
2897
4fa262fa
DM
2898 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
2899 (libc_feholdexcept_setround_sparc_ctx): New function.
2900 (libc_fesetenv_sparc_ctx): Likewise.
2901 (libc_feupdateenv_sparc_ctx): Likewise.
2902 (libc_feholdsetround_sparc_ctx): Likewise.
2903 (libc_feholdexcept_setround_ctx): Define.
2904 (libc_feholdexcept_setroundf_ctx): Likewise.
2905 (libc_feholdexcept_setroundl_ctx): Likewise.
2906 (libc_fesetenv_ctx): Likewise.
2907 (libc_fesetenvf_ctx): Likewise.
2908 (libc_fesetenvl_ctx): Likewise.
2909 (libc_feupdateenv_ctx): Likewise.
2910 (libc_feupdateenvf_ctx): Likewise.
2911 (libc_feupdateenvl_ctx): Likewise.
2912 (libc_feresetround_ctx): Likewise.
2913 (libc_feresetroundf_ctx): Likewise.
2914 (libc_feresetroundl_ctx): Likewise.
2915 (libc_feholdsetround_ctx): Likewise.
2916 (libc_feholdsetroundf_ctx): Likewise.
2917 (libc_feholdsetroundl_ctx): Likewise.
2918
1d3d93ef
DM
2919 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2920 with __USE_GNU instead of XOPEN cpp guards.
2921
8aa583c3
DM
2922 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
2923 0.
2924
211d653c
DM
2925 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2926 with XOPEN cpp guards.
2927
60c8f1f6
JB
29282014-04-30 Julian Brown <julian@codesourcery.com>
2929
2930 [BZ #16888]
2931 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
2932 handling.
2933
9a461d46
JM
29342014-04-30 Joseph Myers <joseph@codesourcery.com>
2935
d0f5b3f8
JM
2936 [BZ #9894]
2937 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2938 Change to 2.6.32.
2939 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
2940 * sysdeps/unix/sysv/linux/configure: Regenerated.
2941 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
2942 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
2943 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
2944 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
2945 * README: Update reference to required Linux kernel version.
2946 * manual/install.texi (Linux): Update reference to required Linux
2947 kernel headers version.
2948 * INSTALL: Regenerated.
2949
9a461d46
JM
2950 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
2951 header inclusion.
2952 [POSIX] (limits.h): Likewise.
2953 [POSIX] (math.h): Likewise.
2954 [POSIX] (sys/wait.h): Likewise.
2955 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
2956 function.
2957 [POSIX] (stddef.h): Do not allow header inclusion.
2958
1775babf
AZ
29592014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2960
57f41c40 2961 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 2962
8f630cca
YY
29632014-04-30 Yang Yingliang <yangyingliang@huawei.com>
2964
2965 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2966 Return immediately after lll_futex_wake.
2967
1cdeb237
SP
29682014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2969
bc8f194c
SP
2970 [BZ #16791]
2971 * nscd/nscd-client.h (datahead_init_common): Initialize entire
2972 structure.
2973 (datahead_init_pos): Call datahead_init_common early.
2974 (datahead_init_neg): Likewise.
2975
1cdeb237
SP
2976 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
2977 datahead_init_neg): New functions.
2978 * nscd/aicache.c (addhstaiX): Use them.
2979 * nscd/grpcache.c (cache_addgr): Likewise.
2980 * nscd/hstcache.c (cache_addhst): Likewise.
2981 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2982 * nscd/netgroupcache.c (do_notfound): Likewise.
2983 (addgetnetgrentX): Likewise.
2984 (addinnetgrX): Likewise.
2985 * nscd/pwdcache.c (cache_addpw): Likewise.
2986 * nscd/servicescache.c (cache_addserv): Likewise.
2987
16b293a7
SP
29882014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2989 Atsushi Onoe <atsushi@onoe.org>
2990
2991 [BZ #14308]
2992 [BZ #12994]
2993 [BZ #13651]
2994 * resolv/res_query.c (__libc_res_nsearch): Return if at least
2995 one response is valid.
2996 * resolv/res_send.c (send_dg): Check for validity of other
2997 response if the current response is a referral.
2998
a28a9b94
SE
29992014-04-29 Steve Ellcey <sellcey@mips.com>
3000
3001 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3002
2ca180e9
SL
30032014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
3004
3005 [BZ #16823]
3006 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3007 Always divide by positive zero when computing -Inf result.
3008 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3009 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3010
18f2945a
AZ
30112014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3012
3013 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3014 FPSCR if value do not change.
3015 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3016 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3017 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3018 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3019 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3020 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3021 function.
3022
5abebba4
CD
30232014-05-29 Carlos O'Donell <carlos@systemhalted.org>
3024
3025 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3026 * sysdeps/unix/sysv/linux/hppa: Move directory from
3027 ports/systeps/unix/sysv/linux/hppa.
3028 * README: Update listing for hppa-*-linux-gnu.
3029
f7ed60c2
OB
30302014-04-28 Ondřej Bílka <neleai@seznam.cz>
3031
fff763a5
OB
3032 [BZ #16754]
3033 * manual/stdio.texi (Hook functions): Fix types of stream hook
3034 functions.
f7ed60c2
OB
3035 [BZ #16854]
3036 * socket/sys/socket.h: Fix typo in comment.
3037
df639d73
WD
30382014-04-28 Wilco <wdijkstr@arm.com>
3039
f7ed60c2 3040 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
3041 * sysdeps/arm/math_private.h: New file.
3042 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3043
48332d82
L
30442014-04-25 H.J. Lu <hongjiu.lu@intel.com>
3045
3046 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3047 with __int128_t.
3048 (La_x86_64_retval): Likewise.
3049
e5e0d9a4
IB
30502014-04-24 Ian Bolton <ian.bolton@arm.com>
3051
3052 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3053 fpsr if value didn't change.
3054 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3055 to fpcr if value didn't change.
3056 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3057 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3058 fpsr or fpcr if value didn't change.
3059 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3060 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3061 fpcr if value didn't change.
3062 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3063 to fpsr if value didn't change.
3064
bacc75f7
SP
30652014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3066
3067 * nptl/tst-sem3.c: Use test-skeleton.c
3068 (main): Rename to do_test. Use return instead of
3069 exit.
3070 * nptl/tst-sem4.c: Use test-skeleton.c
3071 (main): Rename to do_test.
3072
a059d359
DM
30732014-04-22 David S. Miller <davem@davemloft.net>
3074
3075 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3076 (struct sigaction): New struct member __glibc_reserved0, change
3077 type of sa_flags to int.
3078
ea6c92f3
YZ
30792014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
3080
3081 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3082 (COUNT_LEADING_ZEROS_0): Define for AArch64.
3083
766c4a36
SP
30842014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3085
3086 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3087 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3088
140cc7ab
VK
30892014-04-22 Will Newton <will.newton@linaro.org>
3090 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
3091
3092 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3093 (__longjmp): Add longjmp and longjmp_target SystemTap
3094 probes.
3095 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3096 (__sigsetjmp): Add setjmp SystemTap probe.
3097
c54e5cf7
CD
30982014-04-17 Carlos O'Donell <carlos@redhat.com>
3099
3100 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3101 match manual order.
3102
75ffb047
AZ
31032014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3104
3105 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3106
2cd925f7
AZ
3107 * sysdeps/powerpc/fpu/fenv_private.h
3108 (libc_feholdexcept_setroundl_ctx): Define to
3109 libc_feholdexcept_setround_ppc_ctx.
3110 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3111 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3112 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3113 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3114
39e6cd8d
IB
31152014-04-17 Ian Bolton <ian.bolton@arm.com>
3116
3117 * sysdeps/aarch64/math-tests.h: New file.
3118
f9281df9
SY
31192014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
3120
3121 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3122 New.
3123 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3124 Check and set bit_AVX2_Usable.
3125 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3126 macro.
3127 (bit_AVX2): Likewise.
3128 (index_AVX2_Usable): Likewise.
3129 (CPUID_AVX2): Likewise.
3130 (HAS_AVX2): Likewise.
3131
37d35007
WN
31322014-04-17 Will Newton <will.newton@linaro.org>
3133
7c677662
WN
3134 * manual/setjmp.texi (System V contexts): Add note that
3135 calling setcontext on a context created by a call to a
3136 signal handler is undefined. Update text to note that
3137 setcontext from a signal handler is possible but not
3138 recommended.
3139
37d35007 3140 [BZ #16629]
e04a4e9d
WN
3141 * stdlib/tst-setcontext.c: Include signal.h.
3142 (main): Check that the signal stack before and
3143 after swapcontext is the same.
3144
37d35007
WN
3145 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3146 Re-implement to restore registers in user code and avoid
3147 rt_sigreturn system call.
3148
423a7160
W
31492014-04-17 Wilco <wdijkstr@arm.com>
3150
3151 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3152 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3153 * math/test-fenv.c: Skip exception trap tests on targets which only
3154 support non-stop mode.
3155
bc93ab29
IB
31562014-04-17 Ian Bolton <ian.bolton@arm.com>
3157 Wilco Dijkstra <wilco.dijkstra@arm.com>
3158
3159 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3160 (libc_feholdsetround_aarch64_ctx)
3161 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3162 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3163 (libc_feresetround_ctx, libc_feresetroundf_ctx)
3164 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3165 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3166 (libc_feresetround_noexl_ctx): Define.
3167
95fc5fa3
RH
31682014-04-16 Richard Henderson <rth@redhat.com>
3169
ddb04724
RH
3170 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3171
d77c0899
RH
3172 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3173 unwind tables.
3174
a3df56fc
RH
3175 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3176 const from the non-libc, non-ldso copy.
3177
95fc5fa3
RH
3178 * sysdeps/alpha/libm-test-ulps: Regenerate.
3179
7e0b6763
IB
31802014-04-16 Ian Bolton <ian.bolton@arm.com>
3181 Wilco Dijkstra <wilco.dijkstra@arm.com>
3182
3183 * sysdeps/aarch64/fpu/math_private.h: New file.
3184
a9ea2e0c
MS
31852014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
3186
3187 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3188
ea8ba7cd
IZ
31892014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
3190
3191 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3192 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3193 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3194 Intel MPX bound registers before _dl_profile_fixup.
3195 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3196 registers after _dl_profile_fixup. Save and restore bound
3197 registers bnd0/bnd1 when calling _dl_call_pltexit.
3198 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3199 (LR_BND_OFFSET): Likewise.
3200 (LRV_BND0_OFFSET): Likewise.
3201 (LRV_BND1_OFFSET): Likewise.
3202
9f2a4fbc
ST
32032014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3204
3205 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3206 to...
3207 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
3208 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3209 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3210 fields.
9f2a4fbc 3211
fd15a59b
ST
32122014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3213
3214 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3215
f19dfa0a
SL
32162014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3217
3218 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3219
4fa8bc3b
SL
32202014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3221
3222 [BZ #14770]
3223 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3224 * sysdeps/s390/configure: Regenerate.
3225
8ea587db
SL
3226 [BZ #16824]
3227 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3228 Set round-to-nearest internally to reduce error accumulation.
3229
aa5f0ff1
AM
32302014-04-16 Alan Modra <amodra@gmail.com>
3231
3232 [BZ #16740]
3233 [BZ #16619]
3234 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3235 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 3236 * NEWS: Update fixed bug list.
aa5f0ff1 3237
bb9c256f
SP
32382014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3239
3240 * benchtests/Makefile: Depend on libraries in build directory.
3241 (bench-math): Separate out math tests.
3242 (bench-pthread): Separate out pthread tests.
3243 (bench): Include math and pthread tests.
3244
f737dfd0
CD
32452014-04-14 Carlos O'Donell <carlos@redhat.com>
3246
3247 [BZ #16831]
3248 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3249 _dl_debug_initialize.
3250
0699f766
CD
3251 * configure.ac: Remove SELinux header check.
3252 * configure: Regenerate.
3253 * nscd/selinux.c (perms): Array of const char* to permission names.
3254 (nscd_request_avc_has_perm): Call security_deny_unknown to find
3255 default policy. Call string_to_security_class and string_to_av_perm to
3256 translate strings. Enforce default policy and call avs_has_perm with
3257 results of translated strings.
3258
809bd45f
DM
32592014-04-13 David S. Miller <davem@davemloft.net>
3260
3261 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3262
89e691f2
AM
32632014-04-12 Allan McRae <allan@archlinux.org>
3264
3265 [BZ #16838]
3266 * manual/string.texi (Collation Functions): Fix qsort argument
3267 order in example.
3268 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3269
9c9daaeb
CM
32702014-04-11 Chris Metcalf <cmetcalf@tilera.com>
3271
3272 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3273 Make the test a no-op if there are no exceptions defined.
3274
95561fb9
PP
32752014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3276
fe8d072c 3277 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
3278 enable-hardcoded-path-in-tests
3279
970c602a
WN
32802014-04-11 Will Newton <will.newton@linaro.org>
3281
3282 * benchtests/Makefile (extra-objs): Add json-lib.o.
3283 (bench-func): Tidy up JSON output.
3284 * benchtests/bench-skeleton.c: Include json-lib.h.
3285 (main): Use JSON library functions to do output of
3286 benchmark results.
3287 * benchtests/bench-timing-type.c (main): Output the
3288 timing type simply, leaving formatting to the user.
3289 * benchtests/json-lib.c: New file.
3290 * benchtests/json-lib.h: Likewise.
3291
36875b06
TR
32922014-04-11 Torvald Riegel <triegel@redhat.com>
3293
3294 [BZ #15215]
3295 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3296 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
3297 memory barriers. Add comments.
3298 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3299 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3300 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3301 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3302 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3303 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3304
579db35a
SL
33052014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3306
3307 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3308 * sysdeps/s390/s390-64/configure.ac: ... this ...
3309 * sysdeps/s390/configure.ac: ... to here.
3310 * sysdeps/s390/s390-32/configure: Delete file.
3311 * sysdeps/s390/s390-64/configure: Delete file.
3312 * sysdeps/s390/configure: Regenerate.
3313
c12e9f37
JAPH
33142014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
3315
3316 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3317
439bda32
WN
33182014-04-11 Will Newton <will.newton@linaro.org>
3319
3320 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3321 to zero if it is not defined elsewhere. (mtrim): Test
3322 the value of MALLOC_DEBUG with #if rather than #ifdef.
3323
6a5d6ea1
TR
33242014-04-10 Torvald Riegel <triegel@redhat.com>
3325
3326 * benchtests/pthread_once-inputs: New file.
3327 * benchtests/pthread_once-source.c: New file.
3328 * benchtests/README: Update documentation.
3329
a4c75cfd
IZ
33302014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
3331 H.J. Lu <hongjiu.lu@intel.com>
3332
3333 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3334 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3335 * sysdeps/x86_64/configure: Regenerated.
3336 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3337 macro.
3338 (REGISTER_SAVE_RAX): Likewise.
3339 (REGISTER_SAVE_RCX): Likewise.
3340 (REGISTER_SAVE_RDX): Likewise.
3341 (REGISTER_SAVE_RSI): Likewise.
3342 (REGISTER_SAVE_RDI): Likewise.
3343 (REGISTER_SAVE_R8): Likewise.
3344 (REGISTER_SAVE_R9): Likewise.
3345 (REGISTER_SAVE_BND0): Likewise.
3346 (REGISTER_SAVE_BND1): Likewise.
3347 (REGISTER_SAVE_BND2): Likewise.
3348 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
3349 bound registers when calling _dl_fixup.
3350
27822ce6
AZ
33512014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3352
3353 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
3354 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3355 of its definition.
27822ce6
AZ
3356 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3357 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3358 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3359 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3360 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3361 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3362 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3363
a88ddc90
PTB
33642014-04-09 Peter Brett <peter@peter-b.co.uk>
3365
3366 [BZ #15514]
3367 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3368 pathconf(_PC_NAME_MAX).
3369
01f8eac2
AZ
33702014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3371
3372 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3373 Remove macro usage.
3374 (__PTHREAD_SPINS): Move definition to ...
3375 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3376 (__PTHREAD_SPINS): ... here.
3377 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3378 (__PTHREAD_SPIN): Likewise.
3379 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3380 (__PTHREAD_SPIN): Likewise.
3381 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3382 (__PTHREAD_SPIN): Likewise.
3383 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3384 (__PTHREAD_SPIN): Likewise.
3385 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3386 (__PTHREAD_SPIN): Likewise.
3387 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3388 (__PTHREAD_SPIN): Likewise.
3389 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3390 (__PTHREAD_SPIN): Likewise.
3391 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3392 (__PTHREAD_SPIN): Likewise.
3393 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3394 (__PTHREAD_SPIN): Likewise.
3395 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3396 (__PTHREAD_SPIN): Likewise.
3397 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3398 (__PTHREAD_SPIN): Likewise.
3399 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3400 (__PTHREAD_SPIN): Likewise.
3401
de21c33c
AZ
3402 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3403 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3404 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3405 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3406 imply folder.
3407 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3408 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3409 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3410 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3411 correct imply path.
3412 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3413 strlen symbol for non multi-arch builds.
3414 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3415 missing hidden_def and weak_alias.
3416
862c472e
CD
34172014-04-08 Carlos O'Donell <carlos@redhat.com>
3418
3419 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3420
8667f90e
WN
34212014-04-07 Will Newton <will.newton@linaro.org>
3422
3423 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3424 and contents. [!_LIBC] Remove #ifndef and contents.
3425 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
3426 * string/memccpy.c (__memccpy): Use ANSI prototype.
3427 * string/memfrob.c (memfrob): Likewise.
3428 * string/strcoll.c (STRCOLL): Likewise.
3429 * string/strlen.c (strlen): Likewise.
3430 * string/strtok.c (STRTOK): Likewise.
3431 * string/strcat.c: Remove unused #include of memcopy.h.
3432 (strcat): Use ANSI prototype.
3433 * string/strchr.c: Remove unused #include of memcopy.h.
3434 (strchr): Use ANSI prototype.
3435 * string/strcmp.c: Remove unused #include of memcopy.h.
3436 (strcmp): Use ANSI prototype.
3437 * string/strcpy.c: Remove unused #include of memcopy.h.
3438 (strcpy): Use ANSI prototype.
3439
7ffa9423
AZ
34402014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3441
3442 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3443 * config.make.in (config-extra-cppflags): Set it from
3444 libc_extra_cppflags.
3445 * configure.ac (libc_extra_cflags): Make it accumulate over
3446 configure fragments.
3447 (libc_extra_cppflags): New flag.
3448 * configure. Regenerate.
3449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
3450 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3451 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
3452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3453
8bd70862
AZ
3454 [BZ #16815]
3455 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3456 result for FE_DOWNWARD rounding mode.
3457 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3458 Likewise.
3459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3460
d42f3448
CM
34612014-04-04 Chris Metcalf <cmetcalf@tilera.com>
3462
3463 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3464 in function argument name.
3465
1c21d115
DS
34662014-04-03 David Svoboda <svoboda@cert.org>
3467
3468 [BZ #5666]
3469 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3470 explicitly.
3471
fcccd512
RM
34722014-04-03 Roland McGrath <roland@hack.frob.com>
3473
3474 * elf/dl-unmap-segments.h: New file.
3475 * sysdeps/generic/ldsodefs.h
3476 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3477 * elf/dl-close.c: Include <dl-unmap-segments.h>.
3478 * elf/dl-fptr.c: Likewise.
3479 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3480 * sysdeps/aarch64/tlsdesc.c: Likewise.
3481 * sysdeps/arm/tlsdesc.c: Likewise.
3482 * sysdeps/i386/tlsdesc.c: Likewise.
3483 * sysdeps/tile/dl-runtime.c: Likewise.
3484 * sysdeps/x86_64/tlsdesc.c: Likewise.
3485 * elf/dl-load.h: New file.
3486 * elf/dl-load.c: Include it.
3487 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3488 Macros moved to dl-load.h.
3489 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3490 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
3491 Use _dl_unmap_segments in place of __munmap.
3492 Break out segment-mapping loop into ...
3493 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
3494
f6488e2b
WN
34952014-04-03 Will Newton <will.newton@linaro.org>
3496
3497 * elf/dl-lookup.c (do_lookup_x): Remove comment
3498 referring to nested function and move variable
3499 declarations down to before first use.
3500
6f05bafe
JM
35012014-04-02 Joseph Myers <joseph@codesourcery.com>
3502
a84e78c8
JM
3503 [BZ #16799]
3504 [BZ #16800]
3505 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
3506 with 0 numerator.
3507 * math/s_catanf.c (__catanf): Likewise.
3508 * math/s_catanh.c (__catanh): Likewise.
3509 * math/s_catanhf.c (__catanhf): Likewise.
3510 * math/s_catanhl.c (__catanhl): Likewise.
3511 * math/s_catanl.c (__catanl): Likewise.
3512 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
3513 by positive zero when computing -Inf result.
3514 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
3515 (catanh_test): Likewise.
3516 * sysdeps/i386/fpu/libm-test-ulps: Update.
3517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3518
6f05bafe
JM
3519 [BZ #16789]
3520 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
3521 instead of using underflowing value in computing result.
3522 * math/s_clog10.c (__clog10): Likewise.
3523 * math/s_clog10f.c (__clog10f): Likewise.
3524 * math/s_clog10l.c (__clog10l): Likewise.
3525 * math/s_clogf.c (__clogf): Likewise.
3526 * math/s_clogl.c (__clogl): Likewise.
3527 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
3528 (clog10_test): Likewise.
3529 * sysdeps/i386/fpu/libm-test-ulps: Update.
3530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3531
b0abbc21
AM
35322014-04-02 Alan Modra <amodra@gmail.com>
3533
3534 [BZ #16739]
3535 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
3536 output when value is near a power of two. Use int64_t for lx and
3537 remove casts. Use decimal rather than hex exponent constants.
3538 Don't use long double multiplication when double will suffice.
3539 * math/libm-test.inc (nextafter_test_data): Add tests.
3540 * NEWS: Add 16739 and 16786 to bug list.
3541
af6b1797
AM
3542 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
3543
483818d7
AM
3544 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
3545
f6c55796
WN
35462014-04-01 Will Newton <will.newton@linaro.org>
3547
3548 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
3549 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
3550
13f7fe35
FW
35512014-04-01 Florian Weimer <fweimer@redhat.com>
3552
3553 [BZ #13347]
3554 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
3555 * nptl/tst-setuid2.c: New file.
3556 * nptl/Makefile (xtests): Add tst-setuid2.
3557
c859b32e
AM
35582014-04-01 Alan Modra <amodra@gmail.com>
3559
3560 [BZ #16786]
3561 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
3562
54fa2475
JM
35632014-03-31 Joseph Myers <joseph@codesourcery.com>
3564
8795b4a4
JM
3565 [BZ #6803]
3566 [BZ #6804]
3567 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
3568 set errno as appropriate.
3569 * math/w_scalbf.c (__scalbf): Likewise.
3570 * math/w_scalbl.c (__scalbl): Likewise.
3571 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
3572 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
3573 * math/libm-test.inc (scalb_test_data): Add errno expectations.
3574 Add more NaN tests.
3575
54fa2475
JM
3576 [BZ #16349]
3577 * math/w_atan2.c: Include <errno.h>.
3578 (__atan2): Set errno for result underflowing to zero.
3579 * math/w_atan2f.c: Include <errno.h>.
3580 (__atan2f): Set errno for result underflowing to zero.
3581 * math/w_atan2l.c: Include <errno.h>.
3582 (__atan2l): Set errno for result underflowing to zero.
3583 * math/auto-libm-test-in: Don't allow missing errno for some atan2
3584 tests.
3585 * math/auto-libm-test-out: Regenerated.
3586
757d9dd5
AZ
35872014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3588
3589 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3590 Encode instruction correctly in little endian.
3591 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3592 Likewise.
3593 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3594 Likewise.
3595 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3596 Likewise.
3597 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3598 Likewise.
3599
d7a68734
JM
36002014-03-31 Joseph Myers <joseph@codesourcery.com>
3601
47c5adeb
JM
3602 [BZ #9894]
3603 * sysdeps/unix/sysv/linux/kernel-features.h
3604 [__sparc__ && !__arch64__ && !__sparc_v9__]
3605 (__ASSUME_SET_ROBUST_LIST): Do not define.
3606 [__sparc__ && !__arch64__ && !__sparc_v9__]
3607 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3608 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
3609 Likewise.
3610 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3611 (__ASSUME_FUTEX_LOCK_PI): Undefine.
3612 (__ASSUME_REQUEUE_PI): Likewise.
3613 (__ASSUME_SET_ROBUST_LIST): Likewise.
3614 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3615 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
3616 Undefine.
3617 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3618 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
3619 Likewise.
3620 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
3621 Likewise.
3622 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
3623 Likewise.
3624 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3625 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
3626 Undefine.
3627 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
3628 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
3629 Likewise.
3630
d7a68734
JM
3631 [BZ #16648]
3632 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3633 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
3634 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
3635
c760f5c2
WN
36362014-03-31 Will Newton <will.newton@linaro.org>
3637
3638 * benchtests/Makefile (bench): Add ffs and ffsll to list
3639 of tests.
3640 * benchtests/ffs-inputs: New file.
3641 * benchtests/ffsll-inputs: Likewise.
3642
ea6029b1
JM
36432014-03-29 Joseph Myers <joseph@codesourcery.com>
3644
3645 [BZ #16770]
3646 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
3647 too large before casting to int.
3648 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
3649 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
3650 * math/libm-test.inc (scalb_test_data): Add more tests.
3651
cf806aff
SP
36522014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3653
56737508
SP
3654 * benchtests/Makefile (DETAILED_OPT): New make option.
3655 (bench-func): Run benchmark program with -d if DETAILED_OPT is
3656 set.
3657 * benchtests/bench-skeleton.c: Include stdbool.h.
3658 (main): Store and print timings per input.
3659 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
3660 member to each argument value.
3661 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
3662 (_print_arg_data): Initialize per-input timing to 0.
3663
cb5e4aad
SP
3664 * benchtests/Makefile (timing-type): New binary.
3665 (bench-clean): Also remove bench-timing-type.
3666 (bench): New target for timing-type.
3667 (bench-func): Print output in JSON format.
3668 * benchtests/bench-skeleton.c (main): Print output in JSON
3669 format.
3670 * benchtests/bench-timing-type.c: New file.
3671 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
3672 (TIMING_PRINT_STATS): Remove.
3673 * benchtests/scripts/bench.py (_print_arg_data): Store variant
3674 name separately.
3675
cf806aff
SP
3676 * benchtests/bench-modf.c: Remove.
3677 * benchtests/modf-inputs: New inputs file.
3678
289e0779
JM
36792014-03-28 Joseph Myers <joseph@codesourcery.com>
3680
3681 [BZ #16362]
3682 * math/s_clog10.c (M_PI_LOG10E): New macro.
3683 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
3684 imaginary parts are 0.
3685 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
3686 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
3687 imaginary parts are 0.
3688 * math/s_clog10l.c (M_PI_LOG10El): New macro.
3689 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
3690 imaginary parts are 0.
3691 * math/libm-test.inc (clog10_test_data): Update expected results
3692 for when real and imaginary parts are 0.
3693
277ae3f1
PP
36942014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
3695
3696 * elf/dl-load.c: Finish conversion of __builtin_expect into
3697 __glibc_{un}likely.
3698
03a7091f
JM
36992014-03-27 Joseph Myers <joseph@codesourcery.com>
3700
3701 [BZ #16348]
3702 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
3703 1+x for argument with exponent below -67.
3704 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
3705 Likewise.
3706 * math/auto-libm-test-in: Add more tests of exp.
3707 * math/auto-libm-test-out: Regenerated.
3708
ea7d8b95
SP
37092014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3710
dd3022d7
SP
3711 [BZ #16759]
3712 * inet/getnetgrent_r.c (get_nonempty_val): New function.
3713 (nscd_getnetgrent): Use it.
3714
ea7d8b95
SP
3715 [BZ #16760]
3716 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
3717 of stpcpy.
3718
df5b85da
AK
37192014-03-27 Andi Kleen <ak@linux.intel.com>
3720
57f41c40
AS
3721 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
3722 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3723 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3724 (lll_robust_unlock): Remove out of line section. Use cfi
3725 intrinsics.
df5b85da 3726 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
3727 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
3728 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3729 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3730 (lll_robust_unlock): Remove out of line section. Use cfi
3731 intrinsics.
df5b85da
AK
3732 (LLL_STUB_UNWIND_INFO*): Remove.
3733
fbd6b5a4
SP
37342014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3735
3736 [BZ #16758]
3737 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
3738 blank values.
3739
1b26b855
PP
37402014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
3741
3742 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
3743
9be36fb8
JM
37442014-03-26 Joseph Myers <joseph@codesourcery.com>
3745
3746 [BZ #16198]
3747 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
3748 fnstenv.
3749 * math/test-fenv-preserve.c: New file.
3750 * math/Makefile (tests): Add test-fenv-preserve.
3751
60a2f3c1
WN
37522014-03-26 Will Newton <will.newton@linaro.org>
3753
3754 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
3755
a5e5f1e2
RM
37562014-03-25 Roland McGrath <roland@hack.frob.com>
3757
3758 * scripts/versionlist.awk: Partition the version sets and emit all
3759 GLIBC_* (sorted) before all others (sorted).
3760
00f4012a
JM
37612014-03-25 Joseph Myers <joseph@codesourcery.com>
3762
3763 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
3764 GLIBC_2.2.5 version.
3765
7bc5a741
AZ
37662014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3767
3768 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
3769 calls.
3770
7578473b
AZ
3771 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
3772 previous change.
3773
f3f1dab3
AZ
3774 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3775
6da36183
AS
37762014-03-25 Andreas Schwab <schwab@suse.de>
3777
3778 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
3779 label to be used after in6ailist is initialized.
3780
f3f1dab3 37812014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 3782
7578473b 3783 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
3784 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3785
046651c1
JM
37862014-03-25 Joseph Myers <joseph@codesourcery.com>
3787
3788 [BZ #16357]
3789 [BZ #16599]
3790 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
3791 min_plus_half.
3792 (fp_formats): Update initializers.
3793 (init_fp_formats): Initialize new field.
3794 (output_for_one_input_case): Allow underflow for results up to
3795 min_plus_half.
3796 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
3797 * math/auto-libm-test-in: Don't mark some underflows from asin and
3798 atanh as spurious.
3799 * math/auto-libm-test-out: Regenerated.
3800 * sysdeps/i386/fpu/libm-test-ulps: Update.
3801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3802
003e49ed
AS
38032014-03-25 Andreas Schwab <schwab@suse.de>
3804
3805 * libio/Makefile (tst-ftell-partial-wide-ENV)
3806 (tst-ftell-active-handler-ENV): Define.
3807
de031874
SL
38082014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3809
3810 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
3811
55a81e3b
PP
38122014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3813
3814 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
3815
f3426898
JM
38162014-03-24 Joseph Myers <joseph@codesourcery.com>
3817
3818 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
3819 * sysdeps/x86_64/fpu/multiarch/e_exp.c
3820 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3821
a42faf59
PP
38222014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3823
3824 [BZ #16634]
a42faf59 3825 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
3826 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
3827 (open_path): Change from boolean 'secure' to complete flag 'mode'
3828 (_dl_map_object): Adjust.
a42faf59
PP
3829 * elf/Makefile (tests): Add tst-dlopen-aout.
3830 * elf/tst-dlopen-aout.c: New test.
3831
50936127
SL
38322014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3833
3834 [BZ #16714]
3835 * sysdeps/unix/sysv/linux/s390/bits/stat.h
3836 (struct stat): Rename member pad0 to __glibc_reserved0.
3837
26011b5c
SL
3838 [BZ #16712]
3839 * sysdeps/s390/s390-32/bits/wordsize.h
3840 (__WORDSIZE32_SIZE_ULONG): New define.
3841 * sysdeps/s390/s390-64/bits/wordsize.h
3842 (__WORDSIZE32_SIZE_ULONG): Likewise.
3843 * sysdeps/generic/stdint.h (SIZE_MAX):
3844 Define as UL if __WORDSIZE32_SIZE_ULONG.
3845
a2d86bf1
SL
3846 [BZ #16713]
3847 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3848 (__glibc_reserved0): New variable.
3849 (sa_flags): Change type to int.
3850
78b6eebc
SL
3851 * posix/Makefile (before-compile): Use += before-compile instead
3852 of a :=.
3853
f1399b5a
SL
3854 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3855 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3856
a071766e
AS
38572014-03-20 Andreas Schwab <schwab@suse.de>
3858
3859 [BZ #16743]
3860 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
3861 non-matching result from nscd.
3862
27c673b8
SP
38632014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3864
3865 * scripts/bench.py: Moved to ...
3866 * benchtests/scripts/bench.py: ... here.
3867 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
3868
44152e4b
AS
38692014-03-24 Andreas Schwab <schwab@suse.de>
3870
3871 [BZ #16002]
3872 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
3873 alloca_account and account alloca use for struct in6ailist.
3874
b376a11a
JM
38752014-03-24 Joseph Myers <joseph@codesourcery.com>
3876
3877 [BZ #16284]
3878 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
3879 rounding mode to recompute results that overflow to infinity or
3880 underflow to zero.
3881 * math/auto-libm-test-in: Don't mark tests as expected to fail for
3882 bug 16284.
3883 * math/auto-libm-test-out: Regenerated.
3884 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
3885 (ccosh_test): Likewise.
3886 (csin_test_data): Use plus_oflow.
3887 (csin_test): Use ALL_RM_TEST.
3888 (csinh_test_data): Use plus_oflow.
3889 (csinh_test): Use ALL_RM_TEST.
3890 * sysdeps/i386/fpu/libm-test-ulps: Update.
3891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3892
f7be7376
JM
38932014-03-21 Joseph Myers <joseph@codesourcery.com>
3894
1ca2d03e
JM
3895 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
3896 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
3897 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
3898
f7be7376
JM
3899 [BZ #16731]
3900 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
3901 when x - 1 is zero.
3902 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
3903 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
3904 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3905 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
3906 argument is 1.
3907 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
3908 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
3909 zero.
3910 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
3911 * sysdeps/i386/fpu/libm-test-ulps: Update.
3912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3913
fdf4534d
SP
39142014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3915
df26ea53
SP
3916 * scripts/bench.pl: Remove file.
3917 * scripts/bench.py: New benchmark script.
3918 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
3919 * benchtests/README: Mention python dependency.
3920 * scripts/pylintrc: New file.
3921 * scripts/pylint: New file.
3922
fdf4534d
SP
3923 * bits/mathdef.h: Use #ifdef instead of #if.
3924 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
3925 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3926 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
3927 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3928 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
3929 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3930
6f23d093
AZ
39312014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3932 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3933
3934 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
3935 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
3936 and strpbrk-ppc64 objects.
3937 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3938 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
3939 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
3940 multiarch strpbrk for POWER7.
3941 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
3942 multiarch strpbrk for PPC64.
3943 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
3944 ifunc selector.
3945 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
3946 strpbrk for POWER7.
3947
8c92dfff
JM
39482014-03-20 Joseph Myers <joseph@codesourcery.com>
3949
3950 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
3951 (atan_test): Likewise.
3952 (atanh_test_data): Use NO_TEST_INLINE for two tests.
3953 (atanh_test): Use ALL_RM_TEST.
3954 (atan2_test_data): Likewise.
3955 (cabs_test): Likewise.
3956 (cacosh_test): Likewise.
3957 (carg_test): Likewise.
3958 (casin_test): Likewise.
3959 (casinh_test): Likewise.
3960 (cbrt_test): Likewise.
3961 (csqrt_test): Likewise.
3962 (erf_test): Likewise.
3963 (erfc_test): Likewise.
3964 (pow10_test): Likewise.
3965 (exp2_test): Likewise.
3966 (hypot_test): Likewise.
3967 (j0_test): Likewise.
3968 (j1_test): Likewise.
3969 (lgamma_test): Likewise.
3970 (gamma_test): Likewise.
3971 (sincos_test): Likewise.
3972 (tanh_test): Likewise.
3973 (y0_test): Likewise.
3974 (y1_test): Likewise.
3975 * sysdeps/i386/fpu/libm-test-ulps: Update.
3976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3977
6eaf95cb
AZ
39782014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3979
a387428c
SP
3980 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
3981 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
3982 and strcspn-ppc64 objects.
3983 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3984 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
3985 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
3986 multiarch strcspn for POWER7.
3987 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
3988 multiarch strcspn for PPC64.
3989 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
3990 ifunc selector.
3991 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
3992 strcspn for POWER7.
3993
ae3a5dff
JM
39942014-03-20 Joseph Myers <joseph@codesourcery.com>
3995
3996 * math/gen-libm-test.pl (generate_testfile): Expect only function
3997 name as argument to AUTO_TESTS_* and pass results for all rounding
3998 modes to parse_args.
3999 (parse_auto_input): Separate inputs of automatic tests from
4000 outputs before storing in %auto_tests.
4001 * math/libm-test.inc (acos_test_data): Update call to
4002 AUTO_TESTS_f_f.
4003 (acos_test): Use ALL_RM_TEST.
4004 (acos_tonearest_test_data): Remove.
4005 (acos_test_tonearest): Likewise.
4006 (acos_towardzero_test_data): Likewise.
4007 (acos_test_towardzero): Likewise.
4008 (acos_downward_test_data): Likewise.
4009 (acos_test_downward): Likewise.
4010 (acos_upward_test_data): Likewise.
4011 (acos_test_upward): Likewise.
4012 (acosh_test_data): Update call to AUTO_TESTS_f_f.
4013 (asin_test_data): Likewise.
4014 (asin_test): Use ALL_RM_TEST.
4015 (asin_tonearest_test_data): Remove.
4016 (asin_test_tonearest): Likewise.
4017 (asin_towardzero_test_data): Likewise.
4018 (asin_test_towardzero): Likewise.
4019 (asin_downward_test_data): Likewise.
4020 (asin_test_downward): Likewise.
4021 (asin_upward_test_data): Likewise.
4022 (asin_test_upward): Likewise.
4023 (asinh_test_data): Update call to AUTO_TESTS_f_f.
4024 (atan_test_data): Likewise.
4025 (atanh_test_data): Likewise.
4026 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4027 (cabs_test_data): Update call to AUTO_TESTS_c_f.
4028 (carg_test_data): Likewise.
4029 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4030 (ccos_test_data): Update call to AUTO_TESTS_c_c.
4031 (ccosh_test_data): Likewise.
4032 (cexp_test_data): Likewise.
4033 (clog_test_data): Likewise.
4034 (clog10_test_data): Likewise.
4035 (cos_test_data): Update call to AUTO_TESTS_f_f.
4036 (cos_test): Use ALL_RM_TEST.
4037 (cos_tonearest_test_data): Remove.
4038 (cos_test_tonearest): Likewise.
4039 (cos_towardzero_test_data): Likewise.
4040 (cos_test_towardzero): Likewise.
4041 (cos_downward_test_data): Likewise.
4042 (cos_test_downward): Likewise.
4043 (cos_upward_test_data): Likewise.
4044 (cos_test_upward): Likewise.
4045 (cosh_test_data): Update call to AUTO_TESTS_f_f.
4046 (cosh_test): Use ALL_RM_TEST.
4047 (cosh_tonearest_test_data): Remove.
4048 (cosh_test_tonearest): Likewise.
4049 (cosh_towardzero_test_data): Likewise.
4050 (cosh_test_towardzero): Likewise.
4051 (cosh_downward_test_data): Likewise.
4052 (cosh_test_downward): Likewise.
4053 (cosh_upward_test_data): Likewise.
4054 (cosh_test_upward): Likewise.
4055 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4056 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4057 (ctan_test_data): Likewise.
4058 (ctan_test): Use ALL_RM_TEST.
4059 (ctan_tonearest_test_data): Remove.
4060 (ctan_test_tonearest): Likewise.
4061 (ctan_towardzero_test_data): Likewise.
4062 (ctan_test_towardzero): Likewise.
4063 (ctan_downward_test_data): Likewise.
4064 (ctan_test_downward): Likewise.
4065 (ctan_upward_test_data): Likewise.
4066 (ctan_test_upward): Likewise.
4067 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4068 (ctanh_test): Use ALL_RM_TEST.
4069 (ctanh_tonearest_test_data): Remove.
4070 (ctanh_test_tonearest): Likewise.
4071 (ctanh_towardzero_test_data): Likewise.
4072 (ctanh_test_towardzero): Likewise.
4073 (ctanh_downward_test_data): Likewise.
4074 (ctanh_test_downward): Likewise.
4075 (ctanh_upward_test_data): Likewise.
4076 (ctanh_test_upward): Likewise.
4077 (erf_test_data): Update call to AUTO_TESTS_f_f.
4078 (erfc_test_data): Likewise.
4079 (exp_test_data): Likewise.
4080 (exp_test): Use ALL_RM_TEST.
4081 (exp_tonearest_test_data): Remove.
4082 (exp_test_tonearest): Likewise.
4083 (exp_towardzero_test_data): Likewise.
4084 (exp_test_towardzero): Likewise.
4085 (exp_downward_test_data): Likewise.
4086 (exp_test_downward): Likewise.
4087 (exp_upward_test_data): Likewise.
4088 (exp_test_upward): Likewise.
4089 (exp10_test_data): Update call to AUTO_TESTS_f_f.
4090 (exp10_test): Use ALL_RM_TEST.
4091 (exp10_tonearest_test_data): Remove.
4092 (exp10_test_tonearest): Likewise.
4093 (exp10_towardzero_test_data): Likewise.
4094 (exp10_test_towardzero): Likewise.
4095 (exp10_downward_test_data): Likewise.
4096 (exp10_test_downward): Likewise.
4097 (exp10_upward_test_data): Likewise.
4098 (exp10_test_upward): Likewise.
4099 (exp2_test_data): Update call to AUTO_TESTS_f_f.
4100 (expm1_test_data): Likewise.
4101 (expm1_test): Use ALL_RM_TEST.
4102 (expm1_tonearest_test_data): Remove.
4103 (expm1_test_tonearest): Likewise.
4104 (expm1_towardzero_test_data): Likewise.
4105 (expm1_test_towardzero): Likewise.
4106 (expm1_downward_test_data): Likewise.
4107 (expm1_test_downward): Likewise.
4108 (expm1_upward_test_data): Likewise.
4109 (expm1_test_upward): Likewise.
4110 (fma_test_data): Update call to AUTO_TESTS_fff_f.
4111 (fma_test): Use ALL_RM_TEST.
4112 (fma_towardzero_test_data): Remove.
4113 (fma_test_towardzero): Likewise.
4114 (fma_downward_test_data): Likewise.
4115 (fma_test_downward): Likewise.
4116 (fma_upward_test_data): Likewise.
4117 (fma_test_upward): Likewise.
4118 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4119 (j0_test_data): Update call to AUTO_TESTS_f_f.
4120 (j1_test_data): Likewise.
4121 (jn_test_data): Update call to AUTO_TESTS_if_f.
4122 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4123 (log_test_data): Update call to AUTO_TESTS_f_f.
4124 (log10_test_data): Likewise.
4125 (log1p_test_data): Likewise.
4126 (log2_test_data): Likewise.
4127 (pow_test_data): Update call to AUTO_TESTS_ff_f.
4128 (pow_tonearest_test_data): Likewise.
4129 (sin_test_data): Update call to AUTO_TESTS_f_f.
4130 (sin_test): Use ALL_RM_TEST.
4131 (sin_tonearest_test_data): Remove.
4132 (sin_test_tonearest): Likewise.
4133 (sin_towardzero_test_data): Likewise.
4134 (sin_test_towardzero): Likewise.
4135 (sin_downward_test_data): Likewise.
4136 (sin_test_downward): Likewise.
4137 (sin_upward_test_data): Likewise.
4138 (sin_test_upward): Likewise.
4139 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4140 (sinh_test_data): Update call to AUTO_TESTS_f_f.
4141 (sinh_test): Use ALL_RM_TEST.
4142 (sinh_tonearest_test_data): Remove.
4143 (sinh_test_tonearest): Likewise.
4144 (sinh_towardzero_test_data): Likewise.
4145 (sinh_test_towardzero): Likewise.
4146 (sinh_downward_test_data): Likewise.
4147 (sinh_test_downward): Likewise.
4148 (sinh_upward_test_data): Likewise.
4149 (sinh_test_upward): Likewise.
4150 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4151 (sqrt_test): Use ALL_RM_TEST.
4152 (sqrt_tonearest_test_data): Remove.
4153 (sqrt_test_tonearest): Likewise.
4154 (sqrt_towardzero_test_data): Likewise.
4155 (sqrt_test_towardzero): Likewise.
4156 (sqrt_downward_test_data): Likewise.
4157 (sqrt_test_downward): Likewise.
4158 (sqrt_upward_test_data): Likewise.
4159 (sqrt_test_upward): Likewise.
4160 (tan_test_data): Update call to AUTO_TESTS_f_f.
4161 (tan_test): Use ALL_RM_TEST.
4162 (tan_tonearest_test_data): Remove.
4163 (tan_test_tonearest): Likewise.
4164 (tan_towardzero_test_data): Likewise.
4165 (tan_test_towardzero): Likewise.
4166 (tan_downward_test_data): Likewise.
4167 (tan_test_downward): Likewise.
4168 (tan_upward_test_data): Likewise.
4169 (tan_test_upward): Likewise.
4170 (tanh_test_data): Update call to AUTO_TESTS_f_f.
4171 (tgamma_test_data): Likewise.
4172 (y0_test_data): Likewise.
4173 (y1_test_data): Likewise.
4174 (yn_test_data): Update call to AUTO_TESTS_if_f.
4175 (main): Do not call removed functions.
4176
d71aeee8
JM
41772014-03-19 Joseph Myers <joseph@codesourcery.com>
4178
4179 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4180 (ldexp_test_data): Remove.
4181 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
4182 scalbn_test_data.
4183 (scalb_test): Use ALL_RM_TEST.
4184
baaf1ded
AS
41852014-03-19 Andreas Schwab <schwab@suse.de>
4186
4187 * nscd/nscd.service: Also invalidate netgroup cache on reload.
4188
b1115e91
JM
41892014-03-19 Joseph Myers <joseph@codesourcery.com>
4190
4191 [BZ #16649]
4192 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4193 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4194 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4195 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4196 (__ASSUME_PREADV): Undefine.
4197 (__ASSUME_PWRITEV): Likewise.
4198
0283ecca
RM
41992014-03-18 Roland McGrath <roland@hack.frob.com>
4200
7d375303
RM
4201 * bits/mman-linux.h: Add comment about non-Linux use.
4202 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4203 bits/mman-linux.h resting place.
4204
0283ecca
RM
4205 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4206 * bits/mman-linux.h: ... here.
4207
aebe1003
AZ
42082014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4209
4210 * conform/conformtest.pl: Add standard definition when calling C
4211 preprocessor on data files.
4212 (checknamespace): Remove unused variable.
4213
b29b6bb8
JM
42142014-03-18 Joseph Myers <joseph@codesourcery.com>
4215
4216 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4217 minus_oflow, plus_uflow and minus_uflow in expected results.
4218 * math/libm-test.inc (scalbn_test_data): Add more tests of
4219 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
4220 minus_uflow.
4221 (scalbn_test): Use ALL_RM_TEST.
4222 (scalbln_test_data): Add more tests of negative arguments. Use
4223 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4224 (scalbln_test): Use ALL_RM_TEST.
4225
c8f8fa15
RM
42262014-03-18 Roland McGrath <roland@hack.frob.com>
4227
4228 * scripts/abilist.awk: Ignore symbols marked with .hidden.
4229
fede7a5f
WN
42302014-03-18 Will Newton <will.newton@linaro.org>
4231
4232 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4233 inaccurate comment.
4234
80cf0a58
JM
42352014-03-18 Joseph Myers <joseph@codesourcery.com>
4236
4237 * Makerules [!subdir] (check-abi): Exit with error status if a
4238 test failed.
4239
b3620862
JM
42402014-03-17 Joseph Myers <joseph@codesourcery.com>
4241
4242 * math/libm-test.inc (nearbyint_test_data): Include all tests used
4243 for rint. Include results for all rounding modes.
4244 (nearbyint_test): Use ALL_RM_TEST.
4245 (rint_test_data): Include all tests used for nearbyint.
4246
788bba36
WN
42472014-03-17 Will Newton <will.newton@linaro.org>
4248
04ec140a
WN
4249 * nptl/sysdeps/pthread/pthread.h: Revert previous
4250 change.
4251
7579d8d5
WN
4252 * sysdeps/generic/ldsodefs.h: Revert previous
4253 change.
4254
c15cf13a
WN
4255 * libio/genops.c: Revert previous change.
4256 * libio/libioP.h: Likewise.
4257 * stdio-common/vfprintf.c: Likewise.
4258
d0ac1324
WN
4259 * sysdeps/generic/math_private.h: Revert previous
4260 change.
4261
9290130a
WN
4262 * sysdeps/generic/math_private.h: Check whether
4263 HAVE_RM_CTX is defined with #ifdef rather
4264 than #if.
4265
afb466fc
WN
4266 * argp/argp-fmtstream.h: Check whether
4267 __STRICT_ANSI__ is defined with #ifdef rather
4268 than #if.
4269 * argp/argp.h: Likewise.
4270
f7efd7c3
WN
4271 * libio/genops.c: Check whether
4272 _IO_JUMPS_OFFSET is defined with #ifdef rather
4273 than #if.
4274 * libio/libioP.h: Likewise.
4275 * stdio-common/vfprintf.c: Likewise.
4276
53f1bed3
WN
4277 * sysdeps/generic/ldsodefs.h: Check whether
4278 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4279 than #if.
4280
788bba36
WN
4281 * nptl/sysdeps/pthread/pthread.h: Check
4282 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4283 its value.
4284
fcd89ebe
SP
42852014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4286
ae42bbc5
SP
4287 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4288 setting O_APPEND.
4289 * libio/tst-ftell-active-handler.c (do_append_test): Add a
4290 test case.
4291
ea33158c
SP
4292 [BZ #16680]
4293 * libio/fileops.c (_IO_file_open): Seek to end of file but
4294 don't cache the offset.
4295 (get_file_offset): Remove function.
4296 (do_ftell): Use cached offset when available.
4297 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4298 don't cache the offset.
4299 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4300 case.
4301 (do_one_test): Call it.
4302 (do_ftell_test): Fix up expected old offset for a+ mode.
4303 * libio/wfileops.c (do_ftell_wide): Used cached offset when
4304 available.
4305
b1dbb426
SP
4306 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4307 up test status with function return status.
4308 (do_write_test): Likewise.
4309 (do_append_test): Likewise.
4310
fcd89ebe
SP
4311 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4312 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4313 Remove.
4314
9962a2d3
JM
43152014-03-17 Joseph Myers <joseph@codesourcery.com>
4316
4317 * math/gen-libm-test.pl (parse_args): Handle results specified for
4318 each rounding mode separately.
4319 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4320 tests and results from lrint_tonearest_test_data,
4321 lrint_towardzero_test_data, lrint_downward_test_data and
4322 lrint_upward_test_data.
4323 (lrint_test): Use ALL_RM_TEST.
4324 (lrint_tonearest_test_data): Remove.
4325 (lrint_test_tonearest): Likewise.
4326 (lrint_towardzero_test_data): Likewise.
4327 (lrint_test_towardzero): Likewise.
4328 (lrint_downward_test_data): Likewise.
4329 (lrint_test_downward): Likewise.
4330 (lrint_upward_test_data): Likewise.
4331 (lrint_test_upward): Likewise.
4332 (llrint_test_data): Merge in per-rounding-mode tests and results
4333 from llrint_tonearest_test_data, llrint_towardzero_test_data,
4334 llrint_downward_test_data and llrint_upward_test_data.
4335 (llrint_test): Use ALL_RM_TEST.
4336 (llrint_tonearest_test_data): Remove.
4337 (llrint_test_tonearest): Likewise.
4338 (llrint_towardzero_test_data): Likewise.
4339 (llrint_test_towardzero): Likewise.
4340 (llrint_downward_test_data): Likewise.
4341 (llrint_test_downward): Likewise.
4342 (llrint_upward_test_data): Likewise.
4343 (llrint_test_upward): Likewise.
4344 (rint_test_data): Merge in per-rounding-mode tests and results
4345 from rint_tonearest_test_data, rint_towardzero_test_data,
4346 rint_downward_test_data and rint_upward_test_data. Add
4347 per-rounding-mode results for tests not in those arrays.
4348 (rint_test): Use ALL_RM_TEST.
4349 (rint_tonearest_test_data): Remove.
4350 (rint_test_tonearest): Likewise.
4351 (rint_towardzero_test_data): Likewise.
4352 (rint_test_towardzero): Likewise.
4353 (rint_downward_test_data): Likewise.
4354 (rint_test_downward): Likewise.
4355 (rint_upward_test_data): Likewise.
4356 (rint_test_upward): Likewise.
4357 (main): Don't call removed functions.
4358
5006148e
RM
43592014-03-14 Roland McGrath <roland@hack.frob.com>
4360
4361 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4362 "Compiled on ..." crapola. It is anti-useful.
4363
d6fe5e58
JM
43642014-03-14 Joseph Myers <joseph@codesourcery.com>
4365
4366 * scripts/evaluate-test.sh: Handle fourth argument to determine
4367 whether test run should stop on failure.
4368 * Makeconfig (stop-on-test-failure): New variable.
4369 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4370 $(stop-on-test-failure).
4371 * Makefile (tests): Give a summary of results from testing and
4372 exit with failure status if they include an ERROR or FAIL.
4373 (xtests): Likewise.
4374 * manual/install.texi (Configuring and compiling): Mention
4375 stop-on-test-failure=y.
4376 * INSTALL: Regenerated.
4377
498a2233
RM
43782014-03-14 Roland McGrath <roland@hack.frob.com>
4379
22dbc19d
RM
4380 * scripts/versionlist.awk: New file.
4381 * Makerules [$(build-shared) = yes]
4382 (postclean-generated): Add Versions.def, not Versions.def.v and
4383 Versions.def.v.i.
4384 ($(common-objpfx)Versions.def.v.i): Target removed.
4385 ($(common-objpfx)Versions.def): New target.
4386 ($(common-objpfx)Versions.all): Depend on that rather that
4387 $(common-objpfx)Versions.def.v.
4388 * Versions.def: File removed.
4389
498a2233
RM
4390 * Makeconfig (+gccwarn): Add -Wundef.
4391 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4392 a dl-sysdep.h breaking its contract.
4393 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4394 * include/stackinfo.h: New file.
4395 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4396 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4397 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4398 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4399 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4400 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4401 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4402 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4403 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4404 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4405 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4406 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4407 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4408 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4409 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4410
c7de5025
AZ
44112014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4412
4413 [BZ #16707]
4414 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4415 implementation.
4416 * math/libm-test.inc (round_test_data): Add more tests.
4417
98fb27a3
AZ
4418 [BZ #16706]
4419 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4420 implementation.
4421 * math/libm-test.inc (nearbyint_test_data): Add more tests.
4422
374f7f61
AZ
4423 [BZ #16701]
4424 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4425 implementation.
4426 * math/libm-test.inc (ceil_test_data): Add more tests.
4427
4655c291
AZ
4428 * math/libm-test.inc (trunc_test_data): Add more tests related to
4429 BZ#16414.
4430
d7329d4b
RM
44312014-03-14 Roland McGrath <roland@hack.frob.com>
4432
4433 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4434 with #if rather than #ifdef.
4435 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4436
aa4de9ce
L
44372014-03-14 H.J. Lu <hongjiu.lu@intel.com>
4438
4439 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4440 first. Disable AVX-512 GCC support if assembler doesn't support
4441 it.
4442 * sysdeps/x86_64/configure: Regenerated.
4443
2e03fae7
CD
44442014-03-13 Carlos O'Donell <carlos@redhat.com>
4445
4446 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4447 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4448 (__old_pthread_attr_setstack): Likewise.
4449 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4450 [!_STACK_GROWS_DOWN]: Likewise.
4451
43ca83ec
MF
44522014-03-13 Mike Frysinger <vapier@gentoo.org>
4453
4454 * config.make.in (have-bash2): Delete.
4455 * configure.ac (libc_cv_have_bash2): Delete.
4456 * configure: Regenerate.
4457 * elf/Makefile (common-ldd-rewrite): Rename to ...
4458 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
4459 (sh-ldd-rewrite): Delete.
4460 (bash-ldd-rewrite): Delete.
4461 (have-bash2): Delete checks.
57f41c40
AS
4462 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4463 ldd-rewrite.
c66e48b4
MF
4464
4465 * config.make.in (have-ksh): Delete.
4466 (KSH): Delete.
4467 * configure.ac (libc_cv_have_ksh): Delete.
4468 * configure: Regenerate.
4469
b93834ef
MF
4470 * elf/Makefile: Delete $(have-ksh) check.
4471 ($(objpfx)sotruss): Change KSH to BASH.
4472 * elf/sotruss.ksh: Rename to ...
4473 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
4474 function style to match POSIX. Drop ksh vim mode setting.
4475
f3a4632a
MF
4476 * manual/time.texi (Specifying the Time Zone with TZ): Change
4477 Tuesday to Thursday.
4478
5896c8bd
MF
4479 * debug/tst-longjmp_chk2.c: Update header comment.
4480 (stackoverflow_handler): Add comment. Call assert on pass value.
4481
2d63a517
IZ
44822014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
4483
4484 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4485 (HAVE_AVX512_ASM_SUPPORT): Likewise.
4486 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4487 (La_x86_64_vector): Add zmm.
4488 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4489 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4490 ($(objpfx)tst-audit10): New target.
4491 ($(objpfx)tst-audit10.out): Likewise.
4492 (tst-audit10-ENV): New.
4493 (AVX512-CFLAGS): Likewise.
4494 (CFLAGS-tst-audit10.c): Likewise.
4495 (CFLAGS-tst-auditmod10a.c): Likewise.
4496 (CFLAGS-tst-auditmod10b.c): Likewise.
4497 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
4498 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
4499 * sysdeps/x86_64/configure: Regenerated.
4500 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
4501 AVX-512 zmm register support.
4502 (_dl_x86_64_save_sse): Likewise.
4503 (_dl_x86_64_restore_sse): Likewise.
4504 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
4505 size vector registers.
4506 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
4507 (ZMM_SIZE): Likewise.
4508 * sysdeps/x86_64/tst-audit10.c: New file.
4509 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
4510 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
4511
44c4e5d5
RM
45122014-03-13 Roland McGrath <roland@hack.frob.com>
4513
4514 * configure.ac (HAVE_EHDR_START): New check.
4515 * configure: Regenerated.
4516 * config.h.in (HAVE_EHDR_START): New #undef.
4517 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
4518 assuming the lowest-addressed segment maps the start of the file.
4519
acd6e389
JM
45202014-03-13 Joseph Myers <joseph@codesourcery.com>
4521
4522 * INSTALL: Regenerated.
4523
6f918f36
WN
45242014-03-13 Will Newton <will.newton@linaro.org>
4525
4526 * manual/setjmp.texi (System V contexts): Improve
4527 clarity and grammar of documentation.
4528
798212a0
PP
45292014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
4530
4531 [BZ #16381]
798212a0 4532 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 4533 (tests-pie): Add tst-pie2.
798212a0
PP
4534 * elf/tst-pie2.c: New file.
4535 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
4536 for ET_EXEC.
4537 * elf/rtld.c (map_doit): Load executable as lt_executable.
4538 (dl_main): Likewise.
4539
abe6d90c
JM
45402014-03-12 Joseph Myers <joseph@codesourcery.com>
4541
4542 [BZ #16642]
4543 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4544 (__ASSUME_PSELECT): Undefine.
4545
dd3946c6
AZ
45462014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4547
4548 [BZ #16689]
4549 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
4550 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
4551 static build.
4552 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
4553 selector for static builds.
4554
c44496df
SP
45552014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4556
4557 [BZ #16695]
4558 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
4559 key in the buffer.
4560
27c7220a
AZ
45612014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4562
57f41c40
AS
4563 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
4564 IFUNC selector for static builds.
27c7220a 4565
600fa361
JM
45662014-03-11 Joseph Myers <joseph@codesourcery.com>
4567
76c96cf7
JM
4568 * sysdeps/mips/math_private.h [__mips_hard_float]
4569 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
4570 libc_feresetround_mips_ctx.
4571 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
4572 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
4573 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
4574
600fa361
JM
4575 [BZ #16677]
4576 * math/s_nextafter.c (__nextafter): Do not return value from
4577 overflowing computation.
4578 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4579 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
4580 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4581 Likewise.
4582 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4583 Likewise.
4584 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4585 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
4586
d7706c32
RM
45872014-03-11 Roland McGrath <roland@hack.frob.com>
4588
4589 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
4590 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
4591 Move sfi_sp use from the load-multiple (that no longer sets sp) to
4592 the new mov targetting sp.
4593
4facea47
AZ
45942014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4595
4596 [BZ #16683]
4597 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
4598 Define it for static builds as well.
4599 (NO_BZERO_IMPL): Likewise.
4600
e65caf1f
VR
46012014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4602
4603 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
4604 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
4605 multiarch strspn for PPC64.
4606 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
4607 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
4608 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4609 (__libc_ifunc_impl_list): Likewise.
4610 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
4611 multiarch optimizations
4612 * string/strspn.c (strspn): Using macro to redefine symbol name.
4613
ba9cc071
AZ
46142014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4615 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4616
4617 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
4618 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
4619 multiarch strncat for PPC64.
4620 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
4621 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
4622 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4623 (__libc_ifunc_impl_list): Likewise.
4624 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
4625 multiarch optimizations
4626
8b4ff974
SP
46272014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4628
4629 [BZ #16639]
4630 * nscd/nscd.service: Make service type forking.
4631
54b46a4b
AZ
46322014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4633
4634 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
4635 sign in non default rounding modes.
4636 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4637
e9996ef7
JM
46382014-03-08 Joseph Myers <joseph@codesourcery.com>
4639
4640 * math/libm-test.inc (ALL_RM_TEST): New macro.
4641 (ceil_test): Use ALL_RM_TEST.
4642 (cimag_test): Likewise.
4643 (conj_test): Likewise.
4644 (copysign_test): Likewise.
4645 (cproj_test): Likewise.
4646 (creal_test): Likewise.
4647 (fabs_test): Likewise.
4648 (floor_test): Likewise.
4649 (fmax_test): Likewise.
4650 (fmin_test): Likewise.
4651 (fmod_test): Likewise.
4652 (fpclassify_test): Likewise.
4653 (frexp_test): Likewise.
4654 (ilogb_test): Likewise.
4655 (isfinite_test): Likewise.
4656 (finite_test): Likewise.
4657 (isgreater_test): Likewise.
4658 (isgreaterequal_test): Likewise.
4659 (isinf_test): Likewise.
4660 (isless_test): Likewise.
4661 (islessequal_test): Likewise.
4662 (islessgreater_test): Likewise.
4663 (isnan_test): Likewise.
4664 (isnormal_test): Likewise.
4665 (issignaling_test): Likewise.
4666 (isunordered_test): Likewise.
4667 (logb_test): Likewise.
4668 (logb_downward_test_data): Remove.
4669 (logb_test_downward): Likewise.
4670 (lround_test): Use ALL_RM_TEST.
4671 (llround_test): Likewise.
4672 (modf_test): Likewise.
4673 (nexttoward_test): Likewise.
4674 (remainder_test): Likewise.
4675 (drem_test): Likewise.
4676 (remainder_tonearest_test_data): Likewise.
4677 (remainder_test_tonearest): Likewise.
4678 (drem_test_tonearest): Likewise.
4679 (remainder_towardzero_test_data): Likewise.
4680 (remainder_test_towardzero): Likewise.
4681 (drem_test_towardzero): Likewise.
4682 (remainder_downward_test_data): Likewise.
4683 (remainder_test_downward): Likewise.
4684 (drem_test_downward): Likewise.
4685 (remainder_upward_test_data): Likewise.
4686 (remainder_test_upward): Likewise.
4687 (drem_test_upward): Likewise.
4688 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
4689 (round_test): Use ALL_RM_TEST.
4690 (signbit_test): Likewise.
4691 (trunc_test): Likewise.
4692 (significand_test): Likewise.
4693 (main): Don't call removed functions.
4694
bc61d27c
JM
46952014-03-07 Joseph Myers <joseph@codesourcery.com>
4696
5c780849
JM
4697 [BZ #16674]
4698 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
4699 || __USE_XOPEN2K8].
4700 (ILL_ILLOPN): Likewise.
4701 (ILL_ILLADR): Likewise.
4702 (ILL_ILLTRP): Likewise.
4703 (ILL_PRVOPC): Likewise.
4704 (ILL_PRVREG): Likewise.
4705 (ILL_COPROC): Likewise.
4706 (ILL_BADSTK): Likewise.
4707 (FPE_INTDIV): Likewise.
4708 (FPE_INTOVF): Likewise.
4709 (FPE_FLTDIV): Likewise.
4710 (FPE_FLTOVF): Likewise.
4711 (FPE_FLTUND): Likewise.
4712 (FPE_FLTRES): Likewise.
4713 (FPE_FLTINV): Likewise.
4714 (FPE_FLTSUB): Likewise.
4715 (SEGV_MAPERR): Likewise.
4716 (SEGV_ACCERR): Likewise.
4717 (BUS_ADRALN): Likewise.
4718 (BUS_ADRERR): Likewise.
4719 (BUS_OBJERR): Likewise.
4720 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4721 (TRAP_TRACE): Likewise.
4722 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4723 __USE_XOPEN2K8].
4724 (CLD_KILLED): Likewise.
4725 (CLD_DUMPED): Likewise.
4726 (CLD_TRAPPED): Likewise.
4727 (CLD_STOPPED): Likewise.
4728 (CLD_CONTINUED): Likewise.
4729 (POLL_IN): Likewise.
4730 (POLL_OUT): Likewise.
4731 (POLL_MSG): Likewise.
4732 (POLL_ERR): Likewise.
4733 (POLL_PRI): Likewise.
4734 (POLL_HUP): Likewise.
4735 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
4736 Likewise.
4737 (ILL_ILLOPN): Likewise.
4738 (ILL_ILLADR): Likewise.
4739 (ILL_ILLTRP): Likewise.
4740 (ILL_PRVOPC): Likewise.
4741 (ILL_PRVREG): Likewise.
4742 (ILL_COPROC): Likewise.
4743 (ILL_BADSTK): Likewise.
4744 (FPE_INTDIV): Likewise.
4745 (FPE_INTOVF): Likewise.
4746 (FPE_FLTDIV): Likewise.
4747 (FPE_FLTOVF): Likewise.
4748 (FPE_FLTUND): Likewise.
4749 (FPE_FLTRES): Likewise.
4750 (FPE_FLTINV): Likewise.
4751 (FPE_FLTSUB): Likewise.
4752 (SEGV_MAPERR): Likewise.
4753 (SEGV_ACCERR): Likewise.
4754 (BUS_ADRALN): Likewise.
4755 (BUS_ADRERR): Likewise.
4756 (BUS_OBJERR): Likewise.
4757 (BUS_MCEERR_AR): Likewise.
4758 (BUS_MCEERR_AO): Likewise.
4759 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4760 (TRAP_TRACE): Likewise.
4761 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4762 __USE_XOPEN2K8].
4763 (CLD_KILLED): Likewise.
4764 (CLD_DUMPED): Likewise.
4765 (CLD_TRAPPED): Likewise.
4766 (CLD_STOPPED): Likewise.
4767 (CLD_CONTINUED): Likewise.
4768 (POLL_IN): Likewise.
4769 (POLL_OUT): Likewise.
4770 (POLL_MSG): Likewise.
4771 (POLL_ERR): Likewise.
4772 (POLL_PRI): Likewise.
4773 (POLL_HUP): Likewise.
4774 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
4775 (ILL_ILLOPN): Likewise.
4776 (ILL_ILLADR): Likewise.
4777 (ILL_ILLTRP): Likewise.
4778 (ILL_PRVOPC): Likewise.
4779 (ILL_PRVREG): Likewise.
4780 (ILL_COPROC): Likewise.
4781 (ILL_BADSTK): Likewise.
4782 (FPE_INTDIV): Likewise.
4783 (FPE_INTOVF): Likewise.
4784 (FPE_FLTDIV): Likewise.
4785 (FPE_FLTOVF): Likewise.
4786 (FPE_FLTUND): Likewise.
4787 (FPE_FLTRES): Likewise.
4788 (FPE_FLTINV): Likewise.
4789 (FPE_FLTSUB): Likewise.
4790 (SEGV_MAPERR): Likewise.
4791 (SEGV_ACCERR): Likewise.
4792 (BUS_ADRALN): Likewise.
4793 (BUS_ADRERR): Likewise.
4794 (BUS_OBJERR): Likewise.
4795 (BUS_MCEERR_AR): Likewise.
4796 (BUS_MCEERR_AO): Likewise.
4797 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4798 (TRAP_TRACE): Likewise.
4799 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4800 __USE_XOPEN2K8].
4801 (CLD_KILLED): Likewise.
4802 (CLD_DUMPED): Likewise.
4803 (CLD_TRAPPED): Likewise.
4804 (CLD_STOPPED): Likewise.
4805 (CLD_CONTINUED): Likewise.
4806 (POLL_IN): Likewise.
4807 (POLL_OUT): Likewise.
4808 (POLL_MSG): Likewise.
4809 (POLL_ERR): Likewise.
4810 (POLL_PRI): Likewise.
4811 (POLL_HUP): Likewise.
4812 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
4813 Likewise.
4814 (ILL_ILLOPN): Likewise.
4815 (ILL_ILLADR): Likewise.
4816 (ILL_ILLTRP): Likewise.
4817 (ILL_PRVOPC): Likewise.
4818 (ILL_PRVREG): Likewise.
4819 (ILL_COPROC): Likewise.
4820 (ILL_BADSTK): Likewise.
4821 (ILL_BADIADDR): Likewise.
4822 (ILL_BREAK): Likewise.
4823 (FPE_INTDIV): Likewise.
4824 (FPE_INTOVF): Likewise.
4825 (FPE_FLTDIV): Likewise.
4826 (FPE_FLTOVF): Likewise.
4827 (FPE_FLTUND): Likewise.
4828 (FPE_FLTRES): Likewise.
4829 (FPE_FLTINV): Likewise.
4830 (FPE_FLTSUB): Likewise.
4831 (FPE_DECOVF): Likewise.
4832 (FPE_DECDIV): Likewise.
4833 (FPE_DECERR): Likewise.
4834 (FPE_INVASC): Likewise.
4835 (FPE_INVDEC): Likewise.
4836 (SEGV_MAPERR): Likewise.
4837 (SEGV_ACCERR): Likewise.
4838 (SEGV_PSTKOVF): Likewise.
4839 (BUS_ADRALN): Likewise.
4840 (BUS_ADRERR): Likewise.
4841 (BUS_OBJERR): Likewise.
4842 (BUS_MCEERR_AR): Likewise.
4843 (BUS_MCEERR_AO): Likewise.
4844 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4845 (TRAP_TRACE): Likewise.
4846 (TRAP_BRANCH): Likewise.
4847 (TRAP_HWBKPT): Likewise.
4848 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4849 __USE_XOPEN2K8].
4850 (CLD_KILLED): Likewise.
4851 (CLD_DUMPED): Likewise.
4852 (CLD_TRAPPED): Likewise.
4853 (CLD_STOPPED): Likewise.
4854 (CLD_CONTINUED): Likewise.
4855 (POLL_IN): Likewise.
4856 (POLL_OUT): Likewise.
4857 (POLL_MSG): Likewise.
4858 (POLL_ERR): Likewise.
4859 (POLL_PRI): Likewise.
4860 (POLL_HUP): Likewise.
4861 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
4862 (ILL_ILLOPN): Likewise.
4863 (ILL_ILLADR): Likewise.
4864 (ILL_ILLTRP): Likewise.
4865 (ILL_PRVOPC): Likewise.
4866 (ILL_PRVREG): Likewise.
4867 (ILL_COPROC): Likewise.
4868 (ILL_BADSTK): Likewise.
4869 (FPE_INTDIV): Likewise.
4870 (FPE_INTOVF): Likewise.
4871 (FPE_FLTDIV): Likewise.
4872 (FPE_FLTOVF): Likewise.
4873 (FPE_FLTUND): Likewise.
4874 (FPE_FLTRES): Likewise.
4875 (FPE_FLTINV): Likewise.
4876 (FPE_FLTSUB): Likewise.
4877 (SEGV_MAPERR): Likewise.
4878 (SEGV_ACCERR): Likewise.
4879 (BUS_ADRALN): Likewise.
4880 (BUS_ADRERR): Likewise.
4881 (BUS_OBJERR): Likewise.
4882 (BUS_MCEERR_AR): Likewise.
4883 (BUS_MCEERR_AO): Likewise.
4884 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4885 (TRAP_TRACE): Likewise.
4886 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4887 __USE_XOPEN2K8].
4888 (CLD_KILLED): Likewise.
4889 (CLD_DUMPED): Likewise.
4890 (CLD_TRAPPED): Likewise.
4891 (CLD_STOPPED): Likewise.
4892 (CLD_CONTINUED): Likewise.
4893 (POLL_IN): Likewise.
4894 (POLL_OUT): Likewise.
4895 (POLL_MSG): Likewise.
4896 (POLL_ERR): Likewise.
4897 (POLL_PRI): Likewise.
4898 (POLL_HUP): Likewise.
4899 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
4900 (ILL_ILLOPN): Likewise.
4901 (ILL_ILLADR): Likewise.
4902 (ILL_ILLTRP): Likewise.
4903 (ILL_PRVOPC): Likewise.
4904 (ILL_PRVREG): Likewise.
4905 (ILL_COPROC): Likewise.
4906 (ILL_BADSTK): Likewise.
4907 (FPE_INTDIV): Likewise.
4908 (FPE_INTOVF): Likewise.
4909 (FPE_FLTDIV): Likewise.
4910 (FPE_FLTOVF): Likewise.
4911 (FPE_FLTUND): Likewise.
4912 (FPE_FLTRES): Likewise.
4913 (FPE_FLTINV): Likewise.
4914 (FPE_FLTSUB): Likewise.
4915 (SEGV_MAPERR): Likewise.
4916 (SEGV_ACCERR): Likewise.
4917 (BUS_ADRALN): Likewise.
4918 (BUS_ADRERR): Likewise.
4919 (BUS_OBJERR): Likewise.
4920 (BUS_MCEERR_AR): Likewise.
4921 (BUS_MCEERR_AO): Likewise.
4922 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4923 (TRAP_TRACE): Likewise.
4924 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4925 __USE_XOPEN2K8].
4926 (CLD_KILLED): Likewise.
4927 (CLD_DUMPED): Likewise.
4928 (CLD_TRAPPED): Likewise.
4929 (CLD_STOPPED): Likewise.
4930 (CLD_CONTINUED): Likewise.
4931 (POLL_IN): Likewise.
4932 (POLL_OUT): Likewise.
4933 (POLL_MSG): Likewise.
4934 (POLL_ERR): Likewise.
4935 (POLL_PRI): Likewise.
4936 (POLL_HUP): Likewise.
4937 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
4938 (ILL_ILLOPN): Likewise.
4939 (ILL_ILLADR): Likewise.
4940 (ILL_ILLTRP): Likewise.
4941 (ILL_PRVOPC): Likewise.
4942 (ILL_PRVREG): Likewise.
4943 (ILL_COPROC): Likewise.
4944 (ILL_BADSTK): Likewise.
4945 (FPE_INTDIV): Likewise.
4946 (FPE_INTOVF): Likewise.
4947 (FPE_FLTDIV): Likewise.
4948 (FPE_FLTOVF): Likewise.
4949 (FPE_FLTUND): Likewise.
4950 (FPE_FLTRES): Likewise.
4951 (FPE_FLTINV): Likewise.
4952 (FPE_FLTSUB): Likewise.
4953 (SEGV_MAPERR): Likewise.
4954 (SEGV_ACCERR): Likewise.
4955 (BUS_ADRALN): Likewise.
4956 (BUS_ADRERR): Likewise.
4957 (BUS_OBJERR): Likewise.
4958 (BUS_MCEERR_AR): Likewise.
4959 (BUS_MCEERR_AO): Likewise.
4960 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4961 (TRAP_TRACE): Likewise.
4962 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4963 __USE_XOPEN2K8].
4964 (CLD_KILLED): Likewise.
4965 (CLD_DUMPED): Likewise.
4966 (CLD_TRAPPED): Likewise.
4967 (CLD_STOPPED): Likewise.
4968 (CLD_CONTINUED): Likewise.
4969 (POLL_IN): Likewise.
4970 (POLL_OUT): Likewise.
4971 (POLL_MSG): Likewise.
4972 (POLL_ERR): Likewise.
4973 (POLL_PRI): Likewise.
4974 (POLL_HUP): Likewise.
4975 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
4976 (ILL_ILLOPN): Likewise.
4977 (ILL_ILLADR): Likewise.
4978 (ILL_ILLTRP): Likewise.
4979 (ILL_PRVOPC): Likewise.
4980 (ILL_PRVREG): Likewise.
4981 (ILL_COPROC): Likewise.
4982 (ILL_BADSTK): Likewise.
4983 (ILL_DBLFLT): Likewise.
4984 (ILL_HARDWALL): Likewise.
4985 (FPE_INTDIV): Likewise.
4986 (FPE_INTOVF): Likewise.
4987 (FPE_FLTDIV): Likewise.
4988 (FPE_FLTOVF): Likewise.
4989 (FPE_FLTUND): Likewise.
4990 (FPE_FLTRES): Likewise.
4991 (FPE_FLTINV): Likewise.
4992 (FPE_FLTSUB): Likewise.
4993 (SEGV_MAPERR): Likewise.
4994 (SEGV_ACCERR): Likewise.
4995 (BUS_ADRALN): Likewise.
4996 (BUS_ADRERR): Likewise.
4997 (BUS_OBJERR): Likewise.
4998 (BUS_MCEERR_AR): Likewise.
4999 (BUS_MCEERR_AO): Likewise.
5000 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5001 (TRAP_TRACE): Likewise.
5002 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5003 __USE_XOPEN2K8].
5004 (CLD_KILLED): Likewise.
5005 (CLD_DUMPED): Likewise.
5006 (CLD_TRAPPED): Likewise.
5007 (CLD_STOPPED): Likewise.
5008 (CLD_CONTINUED): Likewise.
5009 (POLL_IN): Likewise.
5010 (POLL_OUT): Likewise.
5011 (POLL_MSG): Likewise.
5012 (POLL_ERR): Likewise.
5013 (POLL_PRI): Likewise.
5014 (POLL_HUP): Likewise.
5015 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5016 (ILL_ILLOPN): Likewise.
5017 (ILL_ILLADR): Likewise.
5018 (ILL_ILLTRP): Likewise.
5019 (ILL_PRVOPC): Likewise.
5020 (ILL_PRVREG): Likewise.
5021 (ILL_COPROC): Likewise.
5022 (ILL_BADSTK): Likewise.
5023 (FPE_INTDIV): Likewise.
5024 (FPE_INTOVF): Likewise.
5025 (FPE_FLTDIV): Likewise.
5026 (FPE_FLTOVF): Likewise.
5027 (FPE_FLTUND): Likewise.
5028 (FPE_FLTRES): Likewise.
5029 (FPE_FLTINV): Likewise.
5030 (FPE_FLTSUB): Likewise.
5031 (SEGV_MAPERR): Likewise.
5032 (SEGV_ACCERR): Likewise.
5033 (BUS_ADRALN): Likewise.
5034 (BUS_ADRERR): Likewise.
5035 (BUS_OBJERR): Likewise.
5036 (BUS_MCEERR_AR): Likewise.
5037 (BUS_MCEERR_AO): Likewise.
5038 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5039 (TRAP_TRACE): Likewise.
5040 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5041 __USE_XOPEN2K8].
5042 (CLD_KILLED): Likewise.
5043 (CLD_DUMPED): Likewise.
5044 (CLD_TRAPPED): Likewise.
5045 (CLD_STOPPED): Likewise.
5046 (CLD_CONTINUED): Likewise.
5047 (POLL_IN): Likewise.
5048 (POLL_OUT): Likewise.
5049 (POLL_MSG): Likewise.
5050 (POLL_ERR): Likewise.
5051 (POLL_PRI): Likewise.
5052 (POLL_HUP): Likewise.
5053 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5054 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5055
bc61d27c
JM
5056 [BZ #16670]
5057 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5058 before #include of <time.h>.
5059 [!__USE_XOPEN2K] (__need_timespec): Likewise.
5060 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5061 (test-xfail-UNIX98/sched.h/conform): Likewise.
5062
302949e2
MS
50632014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
5064
5065 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5066 error absence of trapping exception support.
5067 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5068
a00f522a
JM
50692014-03-07 Joseph Myers <joseph@codesourcery.com>
5070
6f99f280
JM
5071 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5072 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5073 * timezone/Makefile (testdata): Move definition above include of
5074 Rules.
5075 (test-zones): New variable.
5076 (tests-special): Add zone files.
5077 (build-testdata): Use $(evaluate-test).
5078
0b20a9e8
JM
5079 * elf/Makefile (tests-special): Rename tests to end with .out.
5080 ($(objpfx)noload-mem): Likewise.
5081 ($(objpfx)tst-leaks1-mem): Likewise.
5082 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5083 * iconv/Makefile (xtests-special): Change test-iconvconfig to
5084 $(objpfx)test-iconvconfig.out.
5085 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
5086 set -e inside subshell and redirect output to file.
5087 * iconvdata/Makefile (generated): Rename tests to end with .out.
5088 Correct type.
5089 (tests-special): Rename tests to end with .out.
5090 ($(objpfx)mtrace-tst-loading): Likewise.
5091 * intl/Makefile (generated): Likewise.
5092 (tests-special): Likewise.
5093 ($(objpfx)mtrace-tst-gettext): Likewise.
5094 * misc/Makefile (generated): Likewise.
5095 (tests-special): Likewise.
5096 ($(objpfx)tst-error1-mem): Likewise.
5097 * nptl/Makefile (tests-special): Likewise.
5098 ($(objpfx)tst-stack3-mem): Likewise.
5099 (generated): Likewise.
5100 * posix/Makefile (generated): Likewise.
5101 (tests-special): Likewise.
5102 (xtests-special): Likewise.
5103 ($(objpfx)tst-fnmatch-mem): Likewise.
5104 ($(objpfx)bug-regex2-mem): Likewise.
5105 ($(objpfx)bug-regex14-mem): Likewise.
5106 ($(objpfx)bug-regex21-mem): Likewise.
5107 ($(objpfx)bug-regex31-mem): Likewise.
5108 ($(objpfx)tst-vfork3-mem): Likewise.
5109 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5110 ($(objpfx)tst-pcre-mem): Likewise.
5111 ($(objpfx)tst-boost-mem): Likewise.
5112 ($(objpfx)bug-ga2-mem): Likewise.
5113 ($(objpfx)bug-glob2-mem): Likewise.
5114 * resolv/Makefile (generate): Likewise.
5115 (tests-special): Likewise.
5116 (xtests-special): Likewise.
5117 (generated): Likewise.
5118 ($(objpfx)mtrace-tst-leaks): Likewise.
5119 ($(objpfx)mtrace-tst-leaks2): Likewise.
5120
265d52ab
JM
5121 * scripts/merge-test-results.sh: New file.
5122 * Makefile (tests-special-notdir): New variable.
5123 (tests): Run merge-test-results.sh.
5124 (xtests): Likewise.
5125 * Rules (tests-special-notdir): New variable.
5126 (xtests-special-notdir): Likewise.
5127 (tests): Run merge-test-results.sh
5128 (xtests): Likewise.
5129
54ee292d
JM
5130 * Makeconfig (test-xfail-name): New variable.
5131 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5132 compute variable name for expected failures.
5133 * conform/Makefile (conformtest-headers-data): New variable.
5134 (conformtest-standards): Likewise.
5135 (conformtest-headers-ISO): Likewise.
5136 (conformtest-headers-ISO99): Likewise.
5137 (conformtest-headers-ISO11): Likewise.
5138 (conformtest-headers-POSIX): Likewise.
5139 (conformtest-headers-XPG3): Likewise.
5140 (conformtest-headers-XPG4): Likewise.
5141 (conformtest-headers-UNIX98): Likewise.
5142 (conformtest-headers-XOPEN2K): Likewise.
5143 (conformtest-headers-POSIX2008): Likewise.
5144 (conformtest-headers-XOPEN2K8): Likewise.
5145 (conformtest-header-list-base): Likewise.
5146 (conformtest-header-list-tests): Likewise.
5147 (conformtest-header-base): Likewise.
5148 (conformtest-header-tests): Likewise.
5149 (tests-special): Add $(conformtest-header-list-tests). If
5150 [$(fast-check) && !$(cross-compiling)], add
5151 $(conformtest-header-tests) instead of
5152 $(objpfx)run-conformtest.out.
5153 (generated): Add $(conformtest-header-list-base). If
5154 [$(fast-check) && !$(cross-compiling)], add
5155 $(conformtest-header-base). Remove previous setting.
5156 ($(conformtest-header-list-tests)): New target.
5157 (test-xfail-run-conformtest): Remove variable.
5158 ($(objpfx)run-conformtest.out): Remove target.
5159 (test-xfail-ISO11/complex.h/conform): New variable.
5160 (test-xfail-ISO11/stdalign.h/conform): Likewise.
5161 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5162 (test-xfail-XPG3/varargs.h/conform): Likewise.
5163 (test-xfail-XPG4/varargs.h/conform): Likewise.
5164 (test-xfail-UNIX98/varargs.h/conform): Likewise.
5165 (test-xfail-XPG4/ndbm.h/conform): Likewise.
5166 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5167 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5168 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5169 (test-xfail-XPG3/fcntl.h/conform): Likewise.
5170 (test-xfail-XPG3/ftw.h/conform): Likewise.
5171 (test-xfail-XPG3/grp.h/conform): Likewise.
5172 (test-xfail-XPG3/langinfo.h/conform): Likewise.
5173 (test-xfail-XPG3/limits.h/conform): Likewise.
5174 (test-xfail-XPG3/pwd.h/conform): Likewise.
5175 (test-xfail-XPG3/search.h/conform): Likewise.
5176 (test-xfail-XPG3/signal.h/conform): Likewise.
5177 (test-xfail-XPG3/stdio.h/conform): Likewise.
5178 (test-xfail-XPG3/stdlib.h/conform): Likewise.
5179 (test-xfail-XPG3/string.h/conform): Likewise.
5180 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5181 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5182 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5183 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5184 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5185 (test-xfail-XPG3/sys/types.h/conform): Likewise.
5186 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5187 (test-xfail-XPG3/termios.h/conform): Likewise.
5188 (test-xfail-XPG3/time.h/conform): Likewise.
5189 (test-xfail-XPG3/unistd.h/conform): Likewise.
5190 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5191 (test-xfail-XPG4/fcntl.h/conform): Likewise.
5192 (test-xfail-XPG4/langinfo.h/conform): Likewise.
5193 (test-xfail-XPG4/netdb.h/conform): Likewise.
5194 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5195 (test-xfail-XPG4/signal.h/conform): Likewise.
5196 (test-xfail-XPG4/stdio.h/conform): Likewise.
5197 (test-xfail-XPG4/stdlib.h/conform): Likewise.
5198 (test-xfail-XPG4/stropts.h/conform): Likewise.
5199 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5200 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5201 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5202 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5203 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5204 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5205 (test-xfail-XPG4/sys/time.h/conform): Likewise.
5206 (test-xfail-XPG4/sys/types.h/conform): Likewise.
5207 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5208 (test-xfail-XPG4/termios.h/conform): Likewise.
5209 (test-xfail-XPG4/ucontext.h/conform): Likewise.
5210 (test-xfail-XPG4/unistd.h/conform): Likewise.
5211 (test-xfail-XPG4/utmpx.h/conform): Likewise.
5212 (test-xfail-POSIX/sched.h/conform): Likewise.
5213 (test-xfail-POSIX/signal.h/conform): Likewise.
5214 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5215 (test-xfail-POSIX/tar.h/conform): Likewise.
5216 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5217 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5218 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5219 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5220 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5221 (test-xfail-UNIX98/sched.h/conform): Likewise.
5222 (test-xfail-UNIX98/signal.h/conform): Likewise.
5223 (test-xfail-UNIX98/stdio.h/conform): Likewise.
5224 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5225 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5226 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5227 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5228 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5229 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5230 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5231 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5232 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5233 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5234 (test-xfail-UNIX98/unistd.h/conform): Likewise.
5235 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5236 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5237 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5238 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5239 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5240 (test-xfail-XOPEN2K/math.h/conform): Likewise.
5241 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5242 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5243 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5244 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5245 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5246 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5247 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5248 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5249 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5250 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5251 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5252 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5253 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5254 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5255 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5256 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5257 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5258 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5259 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5260 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5261 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5262 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5263 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5264 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5265 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5266 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5267 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5268 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5269 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5270 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5271 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5272 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5273 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5274 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5275 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5276 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5277 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5278 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5279 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5280 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5281 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5282 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5283 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5284 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5285 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5286 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5287 (conformtest-cc-flags): Likewise.
5288 ($(conformtest-header-tests): New target.
5289 * conform/check-header-lists.sh: New file.
5290 * conform/run-conformtest.sh: Remove.
5291
a00f522a
JM
5292 * conform/conformtest.pl: Allow ' and \ in values given for
5293 constants.
5294 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5295 inclusion.
5296 [POSIX] (sys/types.h): Likewise.
5297 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5298 inclusion.
5299 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5300 inclusion.
5301 * conform/data/signal.h-data (SIGIO): Remove expectation.
5302 [XPG3] (SIGBUS): Do not expect.
5303 [POSIX || XPG3] (SIGPOLL): Likewise.
5304 [POSIX || XPG3] (SIGPROF): Likewise.
5305 [POSIX || XPG3] (SIGSYS): Likewise.
5306 [XPG3] (SIGTRAP): Likewise.
5307 [POSIX || XPG3] (SIGURG): Likewise.
5308 [POSIX || XPG3] (SIGVTALRM): Likewise.
5309 [POSIX || XPG3] (SIGXCPU): Likewise.
5310 [POSIX || XPG3] (SIGXFSZ): Likewise.
5311 [POSIX] (SA_SIGINFO): Expect.
5312 [XPG3] (siginfo_t): Do not expect type or contents.
5313 [POSIX] (si_pid): Do not expect element.
5314 [POSIX] (si_uid): Likewise.
5315 [POSIX] (si_addr): Likewise.
5316 [POSIX] (si_status): Likewise.
5317 [POSIX] (si_band): Likewise.
5318 [XPG4] (si_value): Likewise.
5319 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5320 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5321 [POSIX || XPG3] (ILL_ILLADR): Likewise.
5322 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5323 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5324 [POSIX || XPG3] (ILL_PRVREG): Likewise.
5325 [POSIX || XPG3] (ILL_COPROC): Likewise.
5326 [POSIX || XPG3] (ILL_BADSTK): Likewise.
5327 [POSIX || XPG3] (FPE_INTDIV): Likewise.
5328 [POSIX || XPG3] (FPE_INTOVF): Likewise.
5329 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5330 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5331 [POSIX || XPG3] (FPE_FLTUND): Likewise.
5332 [POSIX || XPG3] (FPE_FLTRES): Likewise.
5333 [POSIX || XPG3] (FPE_FLTINV): Likewise.
5334 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5335 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5336 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5337 [POSIX || XPG3] (BUS_ADRALN): Likewise.
5338 [POSIX || XPG3] (BUS_ADRERR): Likewise.
5339 [POSIX || XPG3] (BUS_OBJERR): Likewise.
5340 [POSIX || XPG3] (CLD_EXITED): Likewise.
5341 [POSIX || XPG3] (CLD_KILLED): Likewise.
5342 [POSIX || XPG3] (CLD_DUMPED): Likewise.
5343 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5344 [POSIX || XPG3] (CLD_STOPPED): Likewise.
5345 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5346 [POSIX || XPG3] (POLL_IN): Likewise.
5347 [POSIX || XPG3] (POLL_OUT): Likewise.
5348 [POSIX || XPG3] (POLL_MSG): Likewise.
5349 [POSIX || XPG3] (POLL_ERR): Likewise.
5350 [POSIX || XPG3] (POLL_PRI): Likewise.
5351 [POSIX || XPG3] (POLL_HUP): Likewise.
5352 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5353 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5354 (SIG*): Do not allow.
5355 [XPG3] (si_*): Likewise.
5356 [XPG3] (SI_*): Likewise.
5357 [XPG3 || XPG4] (sigev_*): Likewise.
5358 [XPG3 || XPG4] (SIGEV_*): Likewise.
5359 [XPG3 || XPG4] (sival_*): Likewise.
5360 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5361 [POSIX || XPG3] (BUS_*): Likewise.
5362 [POSIX || XPG3] (CLD_*): Likewise.
5363 [POSIX || XPG3] (FPE_*): Likewise.
5364 [POSIX || XPG3] (ILL_*): Likewise.
5365 [POSIX || XPG3] (POLL_*): Likewise.
5366 [POSIX || XPG3] (SEGV_*): Likewise.
5367 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5368 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5369 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5370 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5371 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5372 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5373 Specify type and value.
5374 (TVERSLEN): Likewise.
5375 (REGTYPE): Likewise.
5376 (AREGTYPE): Likewise.
5377 (LNKTYPE): Likewise.
5378 (SYMTYPE): Likewise.
5379 (CHRTYPE): Likewise.
5380 (BLKTYPE): Likewise.
5381 (DIRTYPE): Likewise.
5382 (FIFOTYPE): Likewise.
5383 (CONTTYPE): Likewise.
5384 (TSUID): Likewise.
5385 (TSGID): Likewise.
5386 (TSVTX): Likewise.
5387 (TUREAD): Likewise.
5388 (TUWRITE): Likewise.
5389 (TUEXEC): Likewise.
5390 (TGREAD): Likewise.
5391 (TGWRITE): Likewise.
5392 (TGEXEC): Likewise.
5393 (TOREAD): Likewise.
5394 (TOWRITE): Likewise.
5395 (TOEXEC): Likewise.
5396 [POSIX] (TSVTX): Expect constant.
5397
aa97dee1
JM
53982014-03-06 Joseph Myers <joseph@codesourcery.com>
5399
f214606a
JM
5400 * Makefile (tests): Change dependencies to ....
5401 (tests-special): ... additions to this variable.
5402 (tests): Depend on $(tests-special).
5403 * Makerules (check-abi-list): New variable.
5404 (check-abi): Depend on $(check-abi-list).
5405 [$(subdir) = elf] (tests-special): Add
5406 $(objpfx)check-abi-libc.out.
5407 [$(build-shared) = yes && subdir] (tests-special): Add
5408 $(check-abi-list).
5409 [$(build-shared) = yes && subdir] (tests): Do not depend on
5410 check-abi.
5411 * Rules (tests): Depend on $(tests-special).
5412 (xtests): Depend on $(xtests-special).
5413 * catgets/Makefile (tests): Change dependencies to ....
5414 (tests-special): ... additions to this variable.
5415 * conform/Makefile (tests): Change dependencies to ....
5416 (tests-special): ... additions to this variable.
5417 * elf/Makefile (tests): Change dependencies to ....
5418 (tests-special): ... additions to this variable.
5419 * grp/Makefile (tests): Change dependencies to ....
5420 (tests-special): ... additions to this variable.
5421 * iconv/Makefile (xtests): Change dependencies to ....
5422 (xtests-special): ... additions to this variable.
5423 * iconvdata/Makefile (tests): Change dependencies to ....
5424 (tests-special): ... additions to this variable.
5425 * intl/Makefile (tests): Change dependencies to ....
5426 (tests-special): ... additions to this variable. Also add
5427 $(objpfx)tst-gettext.out.
5428 * io/Makefile (tests): Change dependencies to ....
5429 (tests-special): ... additions to this variable.
5430 * libio/Makefile (tests): Change dependencies to ....
5431 (tests-special): ... additions to this variable.
5432 * malloc/Makefile (tests): Change dependencies to ....
5433 (tests-special): ... additions to this variable.
5434 * misc/Makefile (tests): Change dependencies to ....
5435 (tests-special): ... additions to this variable.
5436 * nptl/Makefile (tests): Change dependencies to ....
5437 (tests-special): ... additions to this variable.
5438 * nptl_db/Makefile (tests): Change dependencies to ....
5439 (tests-special): ... additions to this variable.
5440 * posix/Makefile (tests): Change dependencies to ....
5441 (tests-special): ... additions to this variable.
5442 (xtests): Change dependencies to ....
5443 (xtests-special): ... additions to this variable.
5444 * resolv/Makefile (tests): Change dependencies to ....
5445 (tests-special): ... additions to this variable.
5446 (xtests): Change dependencies to ....
5447 (xtests-special): ... additions to this variable.
5448 * stdio-common/Makefile (tests): Change dependencies to ....
5449 (tests-special): ... additions to this variable.
5450 (do-tst-unbputc): Remove target.
5451 (do-tst-printf): Likewise.
5452 * stdlib/Makefile (tests): Change dependencies to ....
5453 (tests-special): ... additions to this variable.
5454 * string/Makefile (tests): Change dependencies to ....
5455 (tests-special): ... additions to this variable.
5456 * sysdeps/x86/Makefile (tests): Change dependencies to ....
5457 (tests-special): ... additions to this variable.
5458
81700b53
JM
5459 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5460 whole file.
5461 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5462 whole file.
5463 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5464 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5465
2ea18461
JM
5466 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5467 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5468 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5469 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5470 * conform/data/libgen.h-data [XPG3]: Likewise.
5471 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5472 * conform/data/ndbm.h-data [XPG3]: Likewise.
5473 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5474 * conform/data/netdb.h-data [XPG3]: Likewise.
5475 * conform/data/netinet/in.h-data [XPG3]: Likewise.
5476 * conform/data/poll.h-data [XPG3]: Likewise.
5477 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5478 * conform/data/strings.h-data [XPG3]: Likewise.
5479 * conform/data/stropts.h-data [XPG3]: Likewise.
5480 * conform/data/sys/mman.h-data [XPG3]: Likewise.
5481 * conform/data/sys/resource.h-data [XPG3]: Likewise.
5482 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5483 Likewise.
5484 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5485 * conform/data/sys/time.h-data [XPG3]: Likewise.
5486 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5487 * conform/data/sys/uio.h-data [XPG3]: Likewise.
5488 * conform/data/sys/un.h-data [XPG3]: Likewise.
5489 * conform/data/syslog.h-data [XPG3]: Likewise.
5490 * conform/data/ucontext.h-data [XPG3]: Likewise.
5491 * conform/data/utmpx.h-data [XPG3]: Likewise.
5492 * conform/data/varargs.h-data [UNIX98]: Enable file.
5493
355bc986
JM
5494 * manual/Makefile (INSTALL_INFO): Remove variable setting.
5495
215db402
JM
5496 * math/libm-test.inc (struct test_f_f_data): Move expected results
5497 into structure for each rounding mode.
5498 (struct test_ff_f_data): Likewise.
5499 (struct test_ff_f_data_nexttoward): Likewise.
5500 (struct test_fi_f_data): Likewise.
5501 (struct test_fl_f_data): Likewise.
5502 (struct test_if_f_data): Likewise.
5503 (struct test_fff_f_data): Likewise.
5504 (struct test_c_f_data): Likewise.
5505 (struct test_f_f1_data): Likewise.
5506 (struct test_fF_f1_data): Likewise.
5507 (struct test_ffI_f1_data): Likewise.
5508 (struct test_c_c_data): Likewise.
5509 (struct test_cc_c_data): Likewise.
5510 (struct test_f_i_data): Likewise.
5511 (struct test_ff_i_data): Likewise.
5512 (struct test_f_l_data): Likewise.
5513 (struct test_f_L_data): Likewise.
5514 (struct test_fFF_11_data): Likewise.
5515 (RM_): New macro.
5516 (RM_FE_DOWNWARD): Likewise.
5517 (RM_FE_TONEAREST): Likewise.
5518 (RM_FE_TOWARDZERO): Likewise.
5519 (RM_FE_UPWARD): Likewise.
5520 (RUN_TEST_LOOP_f_f): Update references to expected results.
5521 (RUN_TEST_LOOP_2_f): Likewise.
5522 (RUN_TEST_LOOP_fff_f): Likewise.
5523 (RUN_TEST_LOOP_c_f): Likewise.
5524 (RUN_TEST_LOOP_f_f1): Likewise.
5525 (RUN_TEST_LOOP_fF_f1): Likewise.
5526 (RUN_TEST_LOOP_fI_f1): Likewise.
5527 (RUN_TEST_LOOP_ffI_f1): Likewise.
5528 (RUN_TEST_LOOP_c_c): Likewise.
5529 (RUN_TEST_LOOP_cc_c): Likewise.
5530 (RUN_TEST_LOOP_f_i): Likewise.
5531 (RUN_TEST_LOOP_f_i_tg): Likewise.
5532 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5533 (RUN_TEST_LOOP_f_b): Likewise.
5534 (RUN_TEST_LOOP_f_b_tg): Likewise.
5535 (RUN_TEST_LOOP_f_l): Likewise.
5536 (RUN_TEST_LOOP_f_L): Likewise.
5537 (RUN_TEST_LOOP_fFF_11): Likewise.
5538 * math/gen-libm-test.pl (parse_args): Output four copies of
5539 expected results for each test.
5540
67737b8f
JM
5541 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5542 (__ASSUME_UTIMES): Remove.
5543 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5544 (__ASSUME_UTIMES): Likewise.
5545
aa97dee1
JM
5546 * math/gen-auto-libm-tests.c: Update comment on output format.
5547 (output_for_one_input_case): Generate before-rounding and
5548 after-rounding information as conditions on output flags not
5549 floating-point format.
5550 * math/auto-libm-test-out: Regenerated.
5551 * math/gen-libm-test.pl (cond_value): New function.
5552 (or_cond_value): Use cond_value.
5553 (generate_testfile): Handle conditional exceptions.
5554
e6b6a857
JM
55552014-03-05 Joseph Myers <joseph@codesourcery.com>
5556
2f0a0f44
JM
5557 * math/libm-test.inc (max_valid_error): New variable.
5558 (init_max_error): Take new argument specifying whether function
5559 results are exactly determined. Set max_valid_error and bound
5560 other variables for errors based on this argument.
5561 (set_max_error): Do not record results above max_valid_error.
5562 (check_float_internal): Only accept errors of up to 0.5ulps if
5563 also at most max_valid_error.
5564 (START): Take new argument EXACT and pass it to init_max_error.
5565 (acos_test): Update call to START.
5566 (acos_test_tonearest): Likewise.
5567 (acos_test_towardzero): Likewise.
5568 (acos_test_downward): Likewise.
5569 (acos_test_upward): Likewise.
5570 (acosh_test): Likewise.
5571 (asin_test): Likewise.
5572 (asin_test_tonearest): Likewise.
5573 (asin_test_towardzero): Likewise.
5574 (asin_test_downward): Likewise.
5575 (asin_test_upward): Likewise.
5576 (asinh_test): Likewise.
5577 (atan_test): Likewise.
5578 (atanh_test): Likewise.
5579 (atan2_test): Likewise.
5580 (cabs_test): Likewise.
5581 (cacos_test): Likewise.
5582 (cacosh_test): Likewise.
5583 (carg_test): Likewise.
5584 (casin_test): Likewise.
5585 (casinh_test): Likewise.
5586 (catan_test): Likewise.
5587 (catanh_test): Likewise.
5588 (cbrt_test): Likewise.
5589 (ccos_test): Likewise.
5590 (ccosh_test): Likewise.
5591 (ceil_test): Likewise.
5592 (cexp_test): Likewise.
5593 (cimag_test): Likewise.
5594 (clog_test): Likewise.
5595 (clog10_test): Likewise.
5596 (conj_test): Likewise.
5597 (copysign_test): Likewise.
5598 (cos_test): Likewise.
5599 (cos_test_tonearest): Likewise.
5600 (cos_test_towardzero): Likewise.
5601 (cos_test_downward): Likewise.
5602 (cos_test_upward): Likewise.
5603 (cosh_test): Likewise.
5604 (cosh_test_tonearest): Likewise.
5605 (cosh_test_towardzero): Likewise.
5606 (cosh_test_downward): Likewise.
5607 (cosh_test_upward): Likewise.
5608 (cpow_test): Likewise.
5609 (cproj_test): Likewise.
5610 (creal_test): Likewise.
5611 (csin_test): Likewise.
5612 (csinh_test): Likewise.
5613 (csqrt_test): Likewise.
5614 (ctan_test): Likewise.
5615 (ctan_test_tonearest): Likewise.
5616 (ctan_test_towardzero): Likewise.
5617 (ctan_test_downward): Likewise.
5618 (ctan_test_upward): Likewise.
5619 (ctanh_test): Likewise.
5620 (ctanh_test_tonearest): Likewise.
5621 (ctanh_test_towardzero): Likewise.
5622 (ctanh_test_downward): Likewise.
5623 (ctanh_test_upward): Likewise.
5624 (erf_test): Likewise.
5625 (erfc_test): Likewise.
5626 (exp_test): Likewise.
5627 (exp_test_tonearest): Likewise.
5628 (exp_test_towardzero): Likewise.
5629 (exp_test_downward): Likewise.
5630 (exp_test_upward): Likewise.
5631 (exp10_test): Likewise.
5632 (exp10_test_tonearest): Likewise.
5633 (exp10_test_towardzero): Likewise.
5634 (exp10_test_downward): Likewise.
5635 (exp10_test_upward): Likewise.
5636 (pow10_test): Likewise.
5637 (exp2_test): Likewise.
5638 (expm1_test): Likewise.
5639 (expm1_test_tonearest): Likewise.
5640 (expm1_test_towardzero): Likewise.
5641 (expm1_test_downward): Likewise.
5642 (expm1_test_upward): Likewise.
5643 (fabs_test): Likewise.
5644 (fdim_test): Likewise.
5645 (floor_test): Likewise.
5646 (fma_test): Likewise.
5647 (fma_test_towardzero): Likewise.
5648 (fma_test_downward): Likewise.
5649 (fma_test_upward): Likewise.
5650 (fmax_test): Likewise.
5651 (fmin_test): Likewise.
5652 (fmod_test): Likewise.
5653 (fpclassify_test): Likewise.
5654 (frexp_test): Likewise.
5655 (hypot_test): Likewise.
5656 (ilogb_test): Likewise.
5657 (isfinite_test): Likewise.
5658 (finite_test): Likewise.
5659 (isgreater_test): Likewise.
5660 (isgreaterequal_test): Likewise.
5661 (isinf_test): Likewise.
5662 (isless_test): Likewise.
5663 (islessequal_test): Likewise.
5664 (islessgreater_test): Likewise.
5665 (isnan_test): Likewise.
5666 (isnormal_test): Likewise.
5667 (issignaling_test): Likewise.
5668 (isunordered_test): Likewise.
5669 (j0_test): Likewise.
5670 (j1_test): Likewise.
5671 (jn_test): Likewise.
5672 (ldexp_test): Likewise.
5673 (lgamma_test): Likewise.
5674 (gamma_test): Likewise.
5675 (lrint_test): Likewise.
5676 (lrint_test_tonearest): Likewise.
5677 (lrint_test_towardzero): Likewise.
5678 (lrint_test_downward): Likewise.
5679 (lrint_test_upward): Likewise.
5680 (llrint_test): Likewise.
5681 (llrint_test_tonearest): Likewise.
5682 (llrint_test_towardzero): Likewise.
5683 (llrint_test_downward): Likewise.
5684 (llrint_test_upward): Likewise.
5685 (log_test): Likewise.
5686 (log10_test): Likewise.
5687 (log1p_test): Likewise.
5688 (log2_test): Likewise.
5689 (logb_test): Likewise.
5690 (logb_test_downward): Likewise.
5691 (lround_test): Likewise.
5692 (llround_test): Likewise.
5693 (modf_test): Likewise.
5694 (nearbyint_test): Likewise.
5695 (nextafter_test): Likewise.
5696 (nexttoward_test): Likewise.
5697 (pow_test): Likewise.
5698 (pow_test_tonearest): Likewise.
5699 (pow_test_towardzero): Likewise.
5700 (pow_test_downward): Likewise.
5701 (pow_test_upward): Likewise.
5702 (remainder_test): Likewise.
5703 (drem_test): Likewise.
5704 (remainder_test_tonearest): Likewise.
5705 (drem_test_tonearest): Likewise.
5706 (remainder_test_towardzero): Likewise.
5707 (drem_test_towardzero): Likewise.
5708 (remainder_test_downward): Likewise.
5709 (drem_test_downward): Likewise.
5710 (remainder_test_upward): Likewise.
5711 (drem_test_upward): Likewise.
5712 (remquo_test): Likewise.
5713 (rint_test): Likewise.
5714 (rint_test_tonearest): Likewise.
5715 (rint_test_towardzero): Likewise.
5716 (rint_test_downward): Likewise.
5717 (rint_test_upward): Likewise.
5718 (round_test): Likewise.
5719 (scalb_test): Likewise.
5720 (scalbn_test): Likewise.
5721 (scalbln_test): Likewise.
5722 (signbit_test): Likewise.
5723 (sin_test): Likewise.
5724 (sin_test_tonearest): Likewise.
5725 (sin_test_towardzero): Likewise.
5726 (sin_test_downward): Likewise.
5727 (sin_test_upward): Likewise.
5728 (sincos_test): Likewise.
5729 (sinh_test): Likewise.
5730 (sinh_test_tonearest): Likewise.
5731 (sinh_test_towardzero): Likewise.
5732 (sinh_test_downward): Likewise.
5733 (sinh_test_upward): Likewise.
5734 (sqrt_test): Likewise.
5735 (sqrt_test_tonearest): Likewise.
5736 (sqrt_test_towardzero): Likewise.
5737 (sqrt_test_downward): Likewise.
5738 (sqrt_test_upward): Likewise.
5739 (tan_test): Likewise.
5740 (tan_test_tonearest): Likewise.
5741 (tan_test_towardzero): Likewise.
5742 (tan_test_downward): Likewise.
5743 (tan_test_upward): Likewise.
5744 (tanh_test): Likewise.
5745 (tgamma_test): Likewise.
5746 (trunc_test): Likewise.
5747 (y0_test): Likewise.
5748 (y1_test): Likewise.
5749 (yn_test): Likewise.
5750 (significand_test): Likewise.
5751
e6b6a857
JM
5752 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
5753 individual tests in comment.
5754 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
5755 (prev_max_error): New variable.
5756 (prev_real_max_error): Likewise.
5757 (prev_imag_max_error): Likewise.
5758 (compare_ulp_data): Don't refer to test names in comment.
5759 (find_test_ulps): Remove function.
5760 (find_function_ulps): Likewise.
5761 (find_complex_function_ulps): Likewise.
5762 (init_max_error): Take function name as argument. Look up ulps
5763 for that function.
5764 (print_ulps): Remove function.
5765 (print_max_error): Use prev_max_error instead of calling
5766 find_function_ulps.
5767 (print_complex_max_error): Use prev_real_max_error and
5768 prev_imag_max_error instead of calling find_complex_function_ulps.
5769 (check_float_internal): Take max_ulp parameter instead of calling
5770 find_test_ulps. Don't call print_ulps.
5771 (check_float): Update call to check_float_internal.
5772 (check_complex): Update calls to check_float_internal.
5773 (START): Pass argument to init_max_error.
5774 * math/gen-libm-test.pl (%results): Don't include "kind"
5775 information.
5776 (parse_ulps): Don't handle ulps of individual tests.
5777 (print_ulps_file): Likewise.
5778 (output_ulps): Likewise.
5779 * math/README.libm-test: Update.
5780 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
5781 individual tests.
5782 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
5783 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5784 * sysdeps/arm/libm-test-ulps: Likewise.
5785 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5786 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5787 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
5788 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5789 * sysdeps/microblaze/libm-test-ulps: Likewise.
5790 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5791 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5792 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5793 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5794 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5795 * sysdeps/sh/libm-test-ulps: Likewise.
5796 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5797 * sysdeps/tile/libm-test-ulps: Likewise.
5798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5799
45adef3c
JM
58002014-03-04 Joseph Myers <joseph@codesourcery.com>
5801
5802 * math/libm-test.inc (print_complex_max_error): Check separately
5803 whether real and imaginary errors are within allowed range and
5804 pass 0 to print_complex_function_ulps instead of value within
5805 allowed range.
5806
000232b9
SP
58072014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5808
d4b17258
SP
5809 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
5810 formatting.
5811 (get_handles_fopen): Likewise.
5812 (do_write_test): Likewise.
5813
091eff71
SP
5814 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
5815
fa3cd248
SP
5816 * libio/fileops.c (do_ftell): Use cached offset when
5817 available.
5818 * libio/iofwide.c (do_ftell_wide): Likewise.
5819 * libio/iofdopen.c (_IO_new_fdopen): Don't use
5820 _IO_file_attach.
5821 * libio/wfileops.c (_IO_fwide): Don't cache offset.
5822
000232b9
SP
5823 [BZ #16532]
5824 * libio/libioP.h (get_file_offset): New function.
5825 * libio/fileops.c (get_file_offset): Likewise.
5826 (do_ftell): Likewise.
5827 (_IO_new_file_seekoff): Split out ftell logic.
5828 * libio/wfileops.c (do_ftell_wide): Likewise.
5829 (_IO_wfile_seekoff): Split out ftell logic.
5830 * libio/tst-ftell-active-handler.c: New test case.
5831 * libio/Makefile (tests): Add it.
5832
116f4d1a
RM
58332014-03-03 Roland McGrath <roland@hack.frob.com>
5834
5835 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
5836 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
5837
532a6035
SP
58382014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5839
5840 [BZ #16639]
5841 * nscd/connections.c (nscd_init): Call do_exit.
5842 (start_threads): Call do_exit and notify_parent.
5843 (begin_drop_privileges): Call do_exit.
5844 (finish_drop_privileges): Likewise.
5845 * nscd/selinux.c (preserve_capabilities): Likewise.
5846 (install_real_capabilities): Likewise.
5847 (nscd_selinux_enabled): Likewise.
5848 (avc_create_thread): Likewise.
5849 (avc_alloc_lock): Likewise.
5850 (nscd_avc_init): Likewise.
5851 * nscd/nscd.c (parent_fd): New static variable.
5852 (main): Create a pipe between parent and child processes.
5853 Skip closing parent_fd.
5854 (monitor_child): New function.
5855 (do_exit): Likewise.
5856 (notify_parent): Likewise.
5857 * nscd/nscd.h (notify_parent): Likewise.
5858 (do_exit): Likewise.
5859
d6285c9f
CD
58602014-03-03 Carlos O'Donell <carlos@redhat.com>
5861
5862 * malloc/malloc.c (__libc_calloc): Revert last change.
5863
2b85d2a0
AZ
58642014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5865
5866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5867
c7debbdf
RS
58682014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5869
5870 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
5871 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
5872 implementation.
5873 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5874 (__libc_ifunc_impl_list): Likewise.
5875 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
5876 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
5877 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
5878 * string/strrchr.c: Define STRRCHR.
5879
235eed86
OB
58802014-02-28 Ondřej Bílka <neleai@seznam.cz>
5881
5882 * benchtest/bench-strtok.c (simple_strtok): Delete.
5883 (strtok_string): Use as benchmark.
5884 * string/strtok (STRTOK): New macro.
5885
8e25d1e7
CD
58862014-02-28 Carlos O'Donell <carlos@redhat.com>
5887
ef563f92
CD
5888 * manual/threads.texi: Add header and standard comments to all
5889 functions.
5890
8e25d1e7
CD
5891 * elf/dl-lookup.c (check_match): New function.
5892 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
5893 (do_lookup_x): Remove nested function check_match. Use non-nested
5894 function check_match.
5895
ff71cc37
RM
58962014-02-28 Roland McGrath <roland@hack.frob.com>
5897
f08e9a26
RM
5898 * csu/Makefile (generated, before-compile): Use += rather than =.
5899 * catgets/Makefile (generated, generated-dirs): Likewise.
5900 * debug/Makefile (generated): Likewise.
5901 * dlfcn/Makefile (generated): Likewise.
5902 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
5903 * iconvdata/Makefile (before-compile, generated): Likewise.
5904 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
5905 * libio/Makefile (generated): Likewise.
5906 * malloc/Makefile (generated): Likewise.
5907 * manual/Makefile (generated, generated-dirs): Likewise.
5908 * misc/Makefile (generated): Likewise.
5909 * posix/Makefile (generated): Likewise.
5910 * resolv/Makefile (generated): Likewise.
5911 * sunrpc/Makefile (generated, generated-dirs): Likewise.
5912 * timezone/Makefile (generated, generated-dirs): Likewise.
5913
ff71cc37
RM
5914 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
5915
fe13a20c
AZ
59162014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5917
57f41c40
AS
5918 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5919 power8 implementation.
5920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
5921 file: POWER8 llround ifunc implementation.
5922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
5923 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
5924 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
5925 POWER8 llround implementation.
5926
57f41c40
AS
5927 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
5928 power8 implementation.
5929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
5930 file: POWER8 llrint ifunc implementation.
5931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
5932 Add POWER8 implementation.
1ad8950a
AZ
5933 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
5934 POWER8 llrint implementation.
5935
57f41c40
AS
5936 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
5937 power8 implementation.
5938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
5939 file: POWER8 finite ifunc implementation.
5940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
5941 Add POWER8 implementation.
cac626d6
AZ
5942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
5943 Likewise.
5944 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
5945 POWER8 finite implementation.
5946 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
5947
57f41c40
AS
5948 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
5949 power8 implementation.
5950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
5951 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
5952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
5953 POWER8 implementation.
5954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
5955 Likewise.
57f41c40
AS
5956 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
5957 isinf implementation.
4393fc11
AZ
5958 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
5959
57f41c40
AS
5960 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
5961 (INIT_ARCH): Add hwcap2 initialization.
5962 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5963 power8 implementation.
5964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
5965 file: POWER8 isnan ifunc implementation.
487972ae
AZ
5966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
5967 POWER8 implementation.
5968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
5969 Likewise.
57f41c40
AS
5970 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
5971 isnan implementation.
487972ae
AZ
5972 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
5973
7d92b787
JY
59742014-02-27 Joey Ye <joey.ye@arm.com>
5975
5976 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5977 (_FP_NANFRAC_Q): Set to zero.
5978
1cadc858
SP
59792014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5980
5981 [BZ #16623]
5982 * math/auto-libm-test-in: New test inputs.
5983 * math/auto-libm-test-out: Regenerate.
5984 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
5985 and DA.
5986 (__cos): Likewise.
5987 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5988
f8c17e79
JM
59892014-02-27 Joseph Myers <joseph@codesourcery.com>
5990
5991 * scripts/evaluate-test.sh: Take new argument indicating whether
5992 failure is expected.
5993 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
5994 indicating whether failure is expected.
5995 * conform/Makefile (test-xfail-run-conformtest): New variable.
5996 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
5997 level.
5998 * posix/Makefile (test-xfail-annexc): New variable.
5999 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6000
a5f891ac
JM
60012014-02-26 Joseph Myers <joseph@codesourcery.com>
6002
6003 * argp/Makefile: Include Makeconfig immediately after defining
6004 subdir.
6005 * assert/Makefile: Likewise.
6006 * benchtests/Makefile: Likewise.
6007 * catgets/Makefile: Likewise.
6008 * conform/Makefile: Likewise.
6009 * crypt/Makefile: Likewise.
6010 * csu/Makefile: Likewise.
6011 (all): Remove target.
6012 * ctype/Makefile: Include Makeconfig immediately after defining
6013 subdir.
6014 * debug/Makefile: Likewise.
6015 * dirent/Makefile: Likewise.
6016 * dlfcn/Makefile: Likewise.
6017 * gmon/Makefile: Likewise.
6018 * gnulib/Makefile: Likewise.
6019 * grp/Makefile: Likewise.
6020 * gshadow/Makefile: Likewise.
6021 * hesiod/Makefile: Likewise.
6022 * hurd/Makefile: Likewise.
6023 (all): Remove target.
6024 * iconvdata/Makefile: Include Makeconfig immediately after
6025 defining subdir.
6026 * inet/Makefile: Likewise.
6027 * intl/Makefile: Likewise.
6028 * io/Makefile: Likewise.
6029 * libio/Makefile: Likewise.
6030 (all): Remove target.
6031 * locale/Makefile: Include Makeconfig immediately after defining
6032 subdir.
6033 * login/Makefile: Likewise.
6034 * mach/Makefile: Likewise.
6035 (all): Remove target.
6036 * malloc/Makefile: Include Makeconfig immediately after defining
6037 subdir.
6038 (all): Remove target.
6039 * manual/Makefile: Include Makeconfig immediately after defining
6040 subdir.
6041 * math/Makefile: Likewise.
6042 * misc/Makefile: Likewise.
6043 * nis/Makefile: Likewise.
6044 * nss/Makefile: Likewise.
6045 * po/Makefile: Likewise.
6046 (all): Remove target.
6047 * posix/Makefile: Include Makeconfig immediately after defining
6048 subdir.
6049 * pwd/Makefile: Likewise.
6050 * resolv/Makefile: Likewise.
6051 * resource/Makefile: Likewise.
6052 * rt/Makefile: Likewise.
6053 * setjmp/Makefile: Likewise.
6054 * shadow/Makefile: Likewise.
6055 * signal/Makefile: Likewise.
6056 * socket/Makefile: Likewise.
6057 * soft-fp/Makefile: Likewise.
6058 * stdio-common/Makefile: Likewise.
6059 * stdlib/Makefile: Likewise.
6060 * streams/Makefile: Likewise.
6061 * string/Makefile: Likewise.
6062 * sunrpc/Makefile: Likewise.
6063 (all): Remove target.
6064 * sysvipc/Makefile: Include Makeconfig immediately after defining
6065 subdir.
6066 * termios/Makefile: Likewise.
6067 * time/Makefile: Likewise.
6068 * timezone/Makefile: Likewise.
6069 (all): Remove target.
6070 * wcsmbs/Makefile: Include Makeconfig immediately after defining
6071 subdir.
6072 * wctype/Makefile: Likewise.
6073
5b456e9d
SE
60742014-02-26 Steve Ellcey <sellcey@mips.com>
6075
6076 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6077 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6078 (libc_feholdexcept_setround_mips): Ditto.
6079 (libc_feholdsetround): New.
6080 (libc_feholdsetroundf): New.
6081 (libc_feholdsetroundl): New.
6082 (libc_feupdateenv_test_mips): New.
6083 (libc_feupdateenv_test): New.
6084 (libc_feupdateenv_testf): New.
6085 (libc_feupdateenv_testl): New.
6086 (libc_feresetround): New.
6087 (libc_feresetroundf): New.
6088 (libc_feresetroundl): New.
6089 (libc_fetestexcept_mips): New.
6090 (libc_fetestexcept): New.
6091 (libc_fetestexceptf): New.
6092 (libc_fetestexceptl): New.
6093 (HAVE_RM_CTX): New.
6094 (libc_feholdexcept_setround_mips_ctx): New.
6095 (libc_feholdexcept_setround_ctx): New.
6096 (libc_feholdexcept_setroundf_ctx): New.
6097 (libc_feholdexcept_setroundl_ctx): New.
6098 (libc_fesetenv_mips_ctx): New.
6099 (libc_fesetenv_ctx): New.
6100 (libc_fesetenv_ctxf): New.
6101 (libc_fesetenv_ctxl): New.
6102 (libc_feupdateenv_mips_ctx): New.
6103 (libc_feupdateenv_ctx): New.
6104 (libc_feupdateenvf_ctx): New.
6105 (libc_feupdateenvl_ctx): New.
6106 (libc_feholdsetround_mips_ctx): New.
6107 (libc_feholdsetround_ctx): New.
6108 (libc_feholdsetroundf_ctx): New.
6109 (libc_feholdsetroundl_ctx): New.
6110 (libc_feresetround_mips_ctx): New.
6111 (libc_feresetround_ctx): New.
6112 (libc_feresetroundf_ctx): New.
6113 (libc_feresetroundl_ctx): New.
6114
085d0e35
CD
61152014-02-26 Carlos O'Donell <carlos@redhat.com>
6116
f067bf1f
CD
6117 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6118
085d0e35
CD
6119 * manual/ipc.texi: New file.
6120 * manual/Makefile (chapters): Add ipc.
6121 * manual/job.texi: Add "Inter-Process Communication" to next.
6122 * manual/process.texi: Add "Inter-Process Communication" to prev.
6123
86e58c08
AZ
61242014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6125
6126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6127
4248f0da
OB
61282014-02-26 Ondřej Bílka <neleai@seznam.cz>
6129
6130 * malloc/malloc.c (__libc_calloc): Simplify implementation.
6131
cf822e3c
OB
6132 * manual/arith.texi: Fix spaces after sentences.
6133 * manual/charset.texi: Likewise.
6134 * manual/errno.texi: Likewise.
6135 * manual/install.texi: Likewise.
6136 * manual/llio.texi: Likewise.
6137 * manual/locale.texi: Likewise.
6138 * manual/maint.texi: Likewise.
6139 * manual/math.texi: Likewise.
6140 * manual/memory.texi: Likewise.
6141 * manual/message.texi: Likewise.
6142 * manual/probes.texi: Likewise.
6143 * manual/resource.texi: Likewise.
6144 * manual/signal.texi: Likewise.
6145 * manual/socket.texi: Likewise.
6146 * manual/stdio.texi: Likewise.
6147 * manual/string.texi: Likewise.
6148 * manual/time.texi: Likewise.
6149 * manual/users.texi: Likewise.
6150
ade40b10
CD
61512014-02-25 Carlos O'Donell <carlos@redhat.com>
6152
6153 [BZ #16632]
6154 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6155 _DEFAULT_SOURCE is defined.
6156
d0503676
CD
61572014-02-25 Ulrich Drepper <drepper@gmail.com>
6158 Carlos O'Donell <carlos@redhat.com>
6159
6160 [BZ #16613]
6161 * elf/dl-tls.c (_dl_count_modids): New function.
6162 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6163 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6164 audit library and increment generation counter.
6165 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6166 * elf/tst-audit9.c: New file.
6167 * elf/tst-auditmod9a.c: New file.
6168 * elf/tst-auditmod9b.c: New file.
6169 * elf/Makefile: Add rules to build and run tst-audit9.
6170
4cbf380c
FW
61712014-02-25 Florian Weimer <fweimer@redhat.com>
6172
6173 [BZ #15347]
6174 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6175
80a56cc3
WN
61762014-02-25 Will Newton <will.newton@linaro.org>
6177
6178 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6179 (__longjmp): Restore sp and lr before restoring callee
6180 saved registers. Add longjmp and longjmp_target
6181 SystemTap probe point.
6182 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6183 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6184 Define to zero to match jmpbuf layout.
6185 * sysdeps/arm/setjmp.S: Include stap-probe.h.
6186 (__sigsetjmp): Save sp and lr before saving callee
6187 saved registers. Add setjmp SystemTap probe point.
6188
3ea0f74e
SL
61892014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6190
6191 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6192
b04acb26
AS
61932014-02-24 Andreas Schwab <schwab@suse.de>
6194
6195 [BZ #15804]
6196 * elf/pldd.c (wait_for_ptrace_stop): New function.
6197 (main): Call it after attaching.
6198
098ad55c
RM
61992014-02-22 Roland McGrath <roland@hack.frob.com>
6200
d4ec6ae1
RM
6201 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6202 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6203 Versions files is now verboten.
6204 * hurd/Versions (libc: GLIBC_2.0):
6205 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6206 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6207 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6208 * mach/Versions: Likewise.
6209
098ad55c
RM
6210 * csu/Versions: Remove unused %include.
6211 * resolv/Versions: Likewise.
6212
acd7f096
JM
62132014-02-21 Joseph Myers <joseph@codesourcery.com>
6214
f0881698
JM
6215 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6216 ($(objpfx)check-local-headers.out): Likewise.
6217 ($(objpfx)begin-end-check.out): Likewise.
6218 * Makerules (check-abi-%.out): Likewise.
6219 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6220 ($(objpfx)test2.cat): Likewise.
6221 ($(objpfx)de/libc.cat): Likewise.
6222 ($(objpfx)test-gencat.out): Likewise.
6223 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6224 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6225 ($(objpfx)noload-mem): Likewise.
6226 ($(objpfx)tst-pathopt.out): Likewise.
6227 ($(objpfx)tst-rtld-load-self.out): Likewise.
6228 ($(objpfx)tst-array1-cmp.out): Likewise.
6229 ($(objpfx)tst-array1-static-cmp.out): Likewise.
6230 ($(objpfx)tst-array2-cmp.out): Likewise.
6231 ($(objpfx)tst-array3-cmp.out): Likewise.
6232 ($(objpfx)tst-array4-cmp.out): Likewise.
6233 ($(objpfx)tst-array5-cmp.out): Likewise.
6234 ($(objpfx)tst-array5-static-cmp.out): Likewise.
6235 ($(objpfx)check-textrel.out): Likewise.
6236 ($(objpfx)check-execstack.out): Likewise.
6237 ($(objpfx)check-localplt.out): Likewise.
6238 ($(objpfx)order2-cmp.out): Likewise.
6239 ($(objpfx)tst-leaks1-mem): Likewise.
6240 ($(objpfx)tst-leaks1-static-mem): Likewise.
6241 ($(objpfx)tst-initorder-cmp.out): Likewise.
6242 ($(objpfx)tst-initorder2-cmp.out): Likewise.
6243 ($(objpfx)tst-unused-dep.out): Likewise.
6244 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6245 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6246 * iconv/Makefile (test-iconvconfig): Likewise.
6247 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6248 ($(objpfx)iconv-test.out): Likewise.
6249 ($(objpfx)tst-tables.out): Likewise.
6250 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6251 ($(objpfx)tst-gettext.out): Likewise.
6252 ($(objpfx)tst-translit.out): Likewise.
6253 ($(objpfx)tst-gettext2.out): Likewise.
6254 ($(objpfx)tst-gettext4.out): Likewise.
6255 ($(objpfx)tst-gettext6.out): Likewise.
6256 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6257 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6258 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6259 ($(objpfx)tst-fopenloc-mem.out): Likewise.
6260 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6261 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6262 * posix/Makefile ($(objpfx)globtest.out): Likewise.
6263 ($(objpfx)wordexp-tst.out): Likewise.
6264 ($(objpfx)annexc.out): Likewise.
6265 ($(objpfx)tst-fnmatch-mem): Likewise.
6266 ($(objpfx)bug-regex2-mem): Likewise.
6267 ($(objpfx)bug-regex14-mem): Likewise.
6268 ($(objpfx)bug-regex21-mem): Likewise.
6269 ($(objpfx)bug-regex31-mem): Likewise.
6270 ($(objpfx)tst-vfork3-mem): Likewise.
6271 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6272 ($(objpfx)tst-pcre-mem): Likewise.
6273 ($(objpfx)tst-boost-mem): Likewise.
6274 ($(objpfx)tst-getconf.out): Likewise.
6275 ($(objpfx)bug-ga2-mem): Likewise.
6276 ($(objpfx)bug-glob2-mem): Likewise.
6277 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6278 ($(objpfx)mtrace-tst-leaks2): Likewise.
6279 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6280 ($(objpfx)tst-printf.out): Likewise.
6281 ($(objpfx)tst-setvbuf1.out): Likewise.
6282 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6283 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6284 ($(objpfx)tst-fmtmsg.out): Likewise.
6285 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6286 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6287
acd7f096
JM
6288 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6289 * bits/sigaction.h [__USE_MISC]: Likewise.
6290 * bits/waitstatus.h: Update #endif comments.
6291 * ctype/ctype.h: Likewise.
6292 * dirent/dirent.h: Likewise.
6293 [__USE_MISC]: Remove redundant conditionals.
6294 * grp/grp.h: Update #endif comments.
6295 [__USE_GNU]: Remove redundant conditionals.
6296 [__USE_MISC]: Likewise.
6297 * inet/netinet/in.h [__USE_GNU]: Likewise.
6298 * io/sys/stat.h [__USE_MISC]: Likewise.
6299 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6300 * libio/bits/stdio.h: Update #endif comments.
6301 [__USE_MISC]: Remove redundant conditionals.
6302 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6303 * libio/stdio.h: Update #endif comments.
6304 [__USE_MISC]: Remove redundant conditionals.
6305 * math/bits/math-finite.h [__USE_MISC]: Likewise.
6306 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6307 * math/math.h: Update #else and #endif comments.
6308 [__USE_MISC]: Remove redundant conditionals.
6309 * misc/sys/uio.h: Update #endif comments.
6310 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6311 * posix/glob.h [__USE_MISC]: Likewise.
6312 * posix/sys/types.h: Update #endif comments.
6313 [__USE_MISC]: Remove redundant conditionals.
6314 * posix/sys/wait.h: Update #endif comments.
6315 [__USE_MISC]: Remove redundant conditionals.
6316 * posix/unistd.h: Update #endif comments.
6317 [__USE_MISC]: Remove redundant conditionals.
6318 * pwd/pwd.h [__USE_GNU]: Likewise.
6319 [__USE_MISC]: Likewise.
6320 * resolv/netdb.h [__USE_GNU]: Likewise.
6321 * signal/signal.h: Update #endif comments.
6322 [__USE_MISC]: Remove redundant conditionals.
6323 * stdlib/stdlib.h: Update #else and #endif comments.
6324 [__USE_MISC]: Remove redundant conditionals.
6325 [__USE_GNU]: Likewise.
6326 * string/bits/string2.h [__USE_MISC]: Likewise.
6327 * string/string.h: Update #endif comments.
6328 [__USE_MISC]: Remove redundant conditionals.
6329 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6330 Likewise.
6331 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6332 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6333 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6334 Likewise.
6335 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6336 Likewise.
6337 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6338 comments.
6339 [__USE_MISC]: Remove redundant conditionals.
6340 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6341 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6342 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6343 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6344 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6345 Likewise.
6346 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6347 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6348 Likewise.
6349 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6350 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6351 Likewise.
6352 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6353 Likewise.
6354 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6355 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6356 Likewise.
6357 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6358 Likewise.
6359 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6360 * sysdeps/x86/bits/string.h: Update #endif comments.
6361 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6362 conditionals.
6363 * time/sys/time.h: Update #endif comments.
6364 * time/time.h: Likewise.
6365 [__USE_MISC]: Remove redundant conditionals.
6366
a5d82e4e
YG
63672014-02-21 Yury Gribov <y.gribov@samsung.com>
6368
6369 [BZ #16600]
6370 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6371
9a80491d
AS
63722014-02-21 Andreas Schwab <schwab@linux-m68k.org>
6373
6374 * Versions.def (librt): Add GLIBC_2.17.
6375
105fa381
AC
63762014-02-21 Adam Conrad <adconrad@0c3.net>
6377
6378 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6379 synonym for _SYS_AUXV_H to allow direct inclusion.
6380 * sysdeps/sparc/bits/hwcap.h: Likewise.
6381 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6382 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6383 * sysdeps/sparc/sysdep.h: Likewise.
6384
b8cd1c4e
SP
63852014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6386
6387 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6388
bd939d23
RS
63892014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6390
6391 * benchtests/bench-strrchr.c: Print length instead of position.
6392
5d7b57ca
JM
63932014-02-20 Joseph Myers <joseph@codesourcery.com>
6394
bc688c10
JM
6395 [BZ #16611]
6396 * sysdeps/unix/sysv/linux/kernel-features.h
6397 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6398 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6399 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6400 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6401 Likewise.
6402 [__i386__ || __powerpc__ || __sh__ || __sparc__]
6403 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6404 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6405 (__ASSUME_SENDMMSG): Define instead of using previous
6406 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6407 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6408 (__ASSUME_SENDMMSG_SYSCALL): Define.
6409 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6410 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6411 Likewise.
6412 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6413 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6414 Likewise.
6415 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6416 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6417 Likewise.
6418 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6419 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6420 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6421 [__ASSUME_SENDMMSG]: Change conditionals to
6422 [__ASSUME_SENDMMSG_SOCKETCALL].
6423 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6424 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6425 Define.
6426 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6427 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6428 Likewise.
6429 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6430 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6431 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6432 [!__ASSUME_SENDMMSG]: Change conditional to
6433 [!__ASSUME_SENDMMSG_SOCKETCALL].
6434 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6435 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6436 Define.
6437
0e31b18c
JM
6438 [BZ #16610]
6439 * sysdeps/unix/sysv/linux/kernel-features.h
6440 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6441 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6442 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6443 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6444 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6445 [__i386__ || __sparc__]
6446 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6447 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6448 (__ASSUME_RECVMMSG): Define instead of using previous
6449 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6450 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6451 (__ASSUME_RECVMMSG_SYSCALL): Define.
6452 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6453 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6454 Likewise.
6455 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6456 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6457 Likewise.
6458 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6459 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6460 Likewise.
6461 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6462 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6463 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6464 [__ASSUME_RECVMMSG]: Change condition to
6465 [__ASSUME_RECVMMSG_SOCKETCALL].
6466 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6467 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6468 Define.
6469 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6470 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6471 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6472 Likewise.
6473 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6474 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6475 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6476 [!__ASSUME_RECVMMSG]: Change condition to
6477 [!__ASSUME_RECVMMSG_SOCKETCALL].
6478 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6479 (__ASSUME_RECVMMSG_SYSCALL): Define.
6480
dd481ccf
JM
6481 [BZ #16609]
6482 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6483 __powerpc__ || __s390__ || __sh__ || __sparc__]
6484 (__ASSUME_SOCKETCALL): Define.
6485 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6486 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6487 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6488 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6489 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6490 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6491 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
6492 (__ASSUME_ACCEPT4): Define instead of using previous
6493 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
6494 __powerpc__ || __sparc__ || __s390__)] condition.
6495 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6496 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6497 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
6498 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6499 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6500 [!__ASSUME_ACCEPT4]: Change condition to
6501 [!__ASSUME_ACCEPT4_SOCKETCALL].
6502 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6503 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
6504 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
6505 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6506 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
6507 __ASSUME_ACCEPT4_SYSCALL.
6508 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
6509 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
6510 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6511 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
6512 __ASSUME_ACCEPT4_SYSCALL.
6513 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
6514 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6515 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6516 [__ASSUME_ACCEPT4]: Change condition to
6517 [__ASSUME_ACCEPT4_SOCKETCALL].
6518 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6519 (__ASSUME_SOCKETCALL): Define.
6520 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
6521 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6522 (__ASSUME_SOCKETCALL): Define.
6523 (__ASSUME_ACCEPT4): Remove.
6524 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
6525 Define.
6526 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6527 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
6528 Likewise.
6529 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6530 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6531
5d7b57ca
JM
6532 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
6533 macro.
6534 (HWCAP_ARM_LPAE): Likewise.
6535 (HWCAP_ARM_EVTSTRM): Likewise.
6536 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
6537 Add vpfd32, lpae and evtstrm.
6538 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
6539 Increase to 22.
6540
63689d61
JM
65412014-02-19 Joseph Myers <joseph@codesourcery.com>
6542
6543 * math/auto-libm-test-in: Add tests of clog10.
6544 * math/auto-libm-test-out: Regenerated.
6545 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
6546 * sysdeps/i386/fpu/libm-test-ulps: Update.
6547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6548
ab09bf61
AS
65492014-02-18 Andreas Schwab <schwab@suse.de>
6550
6551 [BZ #16574]
6552 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
6553 Store non-zero if the second buffer was newly allocated.
6554 (send_dg): Likewise.
6555 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
6556 to send_vc and send_dg.
6557 (res_nsend): Pass NULL for ansp2_malloced.
6558 * resolv/res_query.c (__libc_res_nquery): Add parameter
6559 answerp2_malloced and pass it down to __libc_res_nsend.
6560 (res_nquery): Pass additional NULL to __libc_res_nquery.
6561 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
6562 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
6563 second answer buffer if answerp2_malloced was set.
6564 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
6565 (__libc_res_nquerydomain): Add parameter
6566 answerp2_malloced and pass it down to __libc_res_nquery.
6567 (res_nquerydomain): Pass additional NULL to
6568 __libc_res_nquerydomain.
6569 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
6570 additional NULL to __libc_res_nsend and __libc_res_nquery.
6571 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
6572 additional NULL to __libc_res_nsearch.
6573 (_nss_dns_gethostbyname4_r): Revert last change. Use new
6574 parameter of __libc_res_nsearch to check for separately allocated
6575 second buffer.
6576 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
6577 __libc_res_nquery.
6578 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
6579 additional NULL to __libc_res_nquery.
6580 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
6581 __libc_res_nsearch.
6582 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
6583 * include/resolv.h: Update prototypes of __libc_res_nquery,
6584 __libc_res_nsearch, __libc_res_nsend.
6585
a4fb7861
JM
65862014-02-18 Joseph Myers <joseph@codesourcery.com>
6587
c6af2d89
JM
6588 * math/auto-libm-test-in: Add tests of fma.
6589 * math/auto-libm-test-out: Regenerated.
6590 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
6591 (fma_towardzero_test_data): Likewise.
6592 (fma_downward_test_data): Likewise.
6593 (fma_upward_test_data): Likewise.
6594 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
6595 mpc_mode.
6596 (rounding_modes): Add values for new field.
6597 (func_calc_method): Add value mpfr_fff_f.
6598 (func_calc_desc): Add mpfr_fff_f union field.
6599 (test_function): Add field exact_args.
6600 (FUNC): Add macro argument EXACT_ARGS.
6601 (FUNC_mpfr_f_f): Update call to FUNC.
6602 (FUNC_mpfr_f_f): Likewise.
6603 (FUNC_mpfr_ff_f): Likewise.
6604 (FUNC_mpfr_if_f): Likewise.
6605 (FUNC_mpc_c_f): Likewise.
6606 (FUNC_mpc_c_c): Likewise.
6607 (test_functions): Add fma. Update calls to FUNC.
6608 (handle_input_arg): Add argument exact_args.
6609 (add_test): Update call to handle_input_arg.
6610 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
6611 (output_for_one_input_case): Update call to calc_generic_results.
6612 Recalculate exact zero results in each rounding mode.
6613
a4fb7861
JM
6614 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
6615 non-negative before setting low bit.
6616 * math/auto-libm-test-in: Mark one asin test possibly having
6617 spurious underflow.
6618 * math/auto-libm-test-out: Regenerated.
6619 * sysdeps/i386/fpu/libm-test-ulps: Update.
6620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6621
ef114eaf
DH
66222014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
6623
2b7f4f2c
SP
6624 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
6625 * sysdeps/unix/sysv/linux/microblaze: Move directory from
6626 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
6627 * README: Add missing listing for microblaze*-*-linux-gnu.
6628
c70a4b1d
MF
66292014-02-16 Mike Frysinger <vapier@gentoo.org>
6630
6631 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
6632 * sysdeps/unix/sysv/linux/ia64: Move directory from
6633 ports/sysdeps/unix/sysv/linux/ia64.
6634 * README: Update listing for ia64-*-linux-gnu.
6635
591aeaf7
TD
66362014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
6637 Joseph Myers <joseph@codesourcery.com>
6638
6639 * Makeconfig (test-name): New variable.
6640 (evaluate-test): Likewise.
6641 * Makerules (do-test-clean): Remove .test-result files.
6642 (common-mostlyclean): Likewise.
6643 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
6644 * scripts/evaluate-test.sh: New file.
6645
6e89caf1
JM
66462014-02-14 Joseph Myers <joseph@codesourcery.com>
6647
7f98f180
JM
6648 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
6649 separate $(objpfx)tst-fopenloc-cmp.out and
6650 $(objpfx)tst-fopenloc-mem.out targets.
6651 (tests): Update dependencies.
6652 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
6653 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
6654 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
6655 (tst-rxspencer-no-utf8-ARGS): New variable.
6656 (tst-rxspencer-no-utf8-ENV): Likewise.
6657 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
6658 instead of $(objpfx)tst-rxspencer-mem.
6659 ($(objpfx)tst-rxspencer-mem): Change target to
6660 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
6661 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
6662 * posix/tst-rxspencer-no-utf8.c: New file.
6663
6e89caf1
JM
6664 * elf/Makefile ($(objpfx)order.out): Remove rule.
6665 [$(run-built-tests) = yes] (tests): Depend on
6666 $(objpfx)order-cmp.out.
6667 ($(objpfx)order-cmp.out): New rule.
6668 [$(run-built-tests) = yes] (tests): Depend on
6669 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
6670 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
6671 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
6672 $(objpfx)tst-array5-static-cmp.out.
6673 ($(objpfx)tst-array1.out): Remove rule.
6674 ($(objpfx)tst-array1-cmp.out): New rule.
6675 ($(objpfx)tst-array1-static.out): Remove rule.
6676 ($(objpfx)tst-array1-static-cmp.out): New rule.
6677 ($(objpfx)tst-array2.out): Remove rule.
6678 ($(objpfx)tst-array2-cmp.out): New rule.
6679 ($(objpfx)tst-array3.out): Remove rule.
6680 ($(objpfx)tst-array3-cmp.out): New rule.
6681 ($(objpfx)tst-array4.out): Remove rule.
6682 ($(objpfx)tst-array4-cmp.out): New rule.
6683 ($(objpfx)tst-array5.out): Remove rule.
6684 ($(objpfx)tst-array5-cmp.out): New rule.
6685 ($(objpfx)tst-array5-static.out): Remove rule.
6686 ($(objpfx)tst-array5-static-cmp.out): New rule.
6687 [$(run-built-tests) = yes] (tests): Depend on
6688 $(objpfx)order2-cmp.out.
6689 ($(objpfx)order2.out): Remove rule.
6690 ($(objpfx)order2-cmp.out): New rule.
6691 ($(objpfx)tst-initorder.out): Remove rule.
6692 [$(run-built-tests) = yes] (tests): Depend on
6693 $(objpfx)tst-initorder-cmp.out.
6694 ($(objpfx)tst-initorder-cmp.out): New rule.
6695 ($(objpfx)tst-initorder2.out): Remove rule.
6696 [$(run-built-tests) = yes] (tests): Depend on
6697 $(objpfx)tst-initorder2-cmp.out.
6698 ($(objpfx)tst-initorder2-cmp.out): New rule.
6699 [$(run-built-tests) = yes] (tests): Depend on
6700 $(objpfx)tst-unused-dep-cmp.out.
6701 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
6702 ($(objpfx)tst-unused-dep-cmp.out): New rule.
6703 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
6704 on $(objpfx)tst-setvbuf1-cmp.out.
6705 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
6706 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
6707 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
6708 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
6709 ($(objpfx)tst-svc.out): Remove rule.
6710 ($(objpfx)tst-svc-cmp.out): New rule.
6711
ed9a38e2
JM
67122014-02-13 Joseph Myers <joseph@codesourcery.com>
6713
6714 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
6715 * ctype/ctype.h [__USE_MISC]: Likewise.
6716 * dirent/dirent.h [__USE_MISC]: Likewise.
6717 * grp/grp.h [__USE_MISC]: Likewise.
6718 * io/fcntl.h [__USE_MISC]: Likewise.
6719 * io/sys/stat.h [__USE_MISC]: Likewise.
6720 * libio/stdio.h [__USE_MISC]: Likewise.
6721 * posix/unistd.h [__USE_MISC]: Likewise.
6722 * pwd/pwd.h [__USE_MISC]: Likewise.
6723 * stdlib.h [__USE_MISC]: Likewise.
6724 * string/bits/string2.h [__USE_MISC]: Likewise.
6725 * string/string.h [__USE_MISC]: Likewise.
6726 * time/time.h [__USE_MISC]: Likewise.
6727
d6680619
AS
67282014-02-13 Andreas Schwab <schwab@suse.de>
6729
6730 [BZ #16574]
6731 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
6732 second answer buffer if it was separately allocated.
6733
ace614b8
JM
67342014-02-12 Joseph Myers <joseph@codesourcery.com>
6735
743151ae
JM
6736 * sysdeps/mips/math-tests.h: Include <features.h>.
6737 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6738 (ROUNDING_TESTS_long_double): Do not define.
6739 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6740 (EXCEPTION_TESTS_long_double): Likewise.
6741 * sysdeps/mips/mips64/libm-test-ulps: Update.
6742
498afc54
JM
6743 * include/features.h (__USE_BSD): Remove macro definitions.
6744 (__USE_SVID): Likewise.
6745 (_BSD_SOURCE): Likewise.
6746 (_SVID_SOURCE): Likewise.
6747 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
6748 from definition of _DEFAULT_SOURCE.
6749 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
6750 [_DEFAULT_SOURCE].
6751 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
6752 * bits/mman.h [__USE_BSD]: Likewise.
6753 * bits/termios.h [__USE_BSD]: Likewise.
6754 * bits/waitstatus.h [__USE_BSD]: Likewise.
6755 * ctype/ctype.h [__USE_SVID]: Likewise.
6756 * dirent/dirent.h [__USE_BSD]: Likewise.
6757 * grp/grp.h [__USE_SVID]: Likewise.
6758 [__USE_BSD]: Likewise.
6759 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
6760 * io/fcntl.h [__USE_BSD]: Likewise.
6761 * io/ftw.h [__USE_BSD]: Likewise.
6762 * io/sys/stat.h [__USE_BSD]: Likewise.
6763 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
6764 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
6765 * libio/stdio.h [__USE_SVID]: Likewise.
6766 [__USE_BSD]: Likewise.
6767 * math/math.h [__USE_SVID]: Likewise.
6768 [__USE_BSD]: Likewise.
6769 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
6770 * misc/bits/syslog.h [__USE_BSD]: Likewise.
6771 * misc/search.h [__USE_SVID]: Likewise.
6772 * misc/sys/mman.h [__USE_BSD]: Likewise.
6773 * misc/sys/syslog.h [__USE_BSD]: Likewise.
6774 * misc/sys/uio.h [__USE_BSD]: Likewise.
6775 * posix/bits/unistd.h [__USE_BSD]: Likewise.
6776 * posix/glob.h [__USE_BSD]: Likewise.
6777 * posix/regex.h [__USE_BSD]: Likewise.
6778 * posix/sys/types.h [__USE_BSD]: Likewise.
6779 [__USE_SVID]: Likewise.
6780 * posix/sys/utsname.h [__USE_SVID]: Likewise.
6781 * posix/sys/wait.h [__USE_BSD]: Likewise.
6782 [__USE_SVID]: Likewise.
6783 * posix/unistd.h [__USE_BSD]: Likewise.
6784 [__USE_SVID]: Likewise.
6785 * pwd/pwd.h [__USE_SVID]: Likewise.
6786 * resolv/netdb.h [__USE_BSD]: Likewise.
6787 * setjmp/setjmp.h [__USE_BSD]: Likewise.
6788 * signal/signal.h [__USE_BSD]: Likewise.
6789 [__USE_SVID]: Likewise.
6790 * socket/sys/socket.h [__USE_BSD]: Likewise.
6791 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
6792 * stdlib/stdlib.h [__USE_BSD]: Likewise.
6793 [__USE_SVID]: Likewise.
6794 * string/bits/string2.h [__USE_BSD]: Likewise.
6795 [__USE_SVID]: Likewise.
6796 * string/bits/string3.h [__USE_BSD]: Likewise.
6797 * string/endian.h [__USE_BSD]: Likewise.
6798 * string/string.h [__USE_SVID]: Likewise.
6799 [__USE_BSD]: Likewise.
6800 * string/strings.h [__USE_BSD]: Likewise.
6801 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
6802 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
6803 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
6804 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
6805 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
6806 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
6807 Likewise.
6808 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
6809 Likewise.
6810 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
6811 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
6812 Likewise.
6813 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
6814 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
6815 Likewise.
6816 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
6817 Likewise.
6818 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
6819 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
6820 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
6821 Likewise.
6822 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
6823 Likewise.
6824 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
6825 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
6826 * termios/termios.h [__USE_BSD]: Likewise.
6827 * time/sys/time.h [__USE_BSD]: Likewise.
6828 * time/time.h [__USE_BSD]: Likewise.
6829 [__USE_SVID]: Likewise.
6830
dd7b064c
JM
6831 * Makefile (subdir_targets): Remove subdir_lint.out.
6832
a2c4c199
JM
6833 * stdio-common/Makefile (do-tst-unbputc): Remove target.
6834 (do-tst-printf): Likewise.
6835 (tests): Depend directly on $(objpfx)tst-unbputc.out and
6836 $(objpfx)tst-printf.out.
6837
8756f740
JM
6838 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
6839
1b6dd3f1
JM
6840 * Makerules (check-abi-%): Change target to
6841 $(objpfx)check-abi-%.out.
6842 (check-abi target): Update dependencies.
6843 (check-abi-pattern variable): Redirect output of diff to $@.
6844 (check-abi variable): Likewise.
6845 * elf/Makefile (check-abi): Update dependencies.
6846
ace614b8
JM
6847 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
6848 unused.
6849 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
6850 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
6851 subnormal range.
6852 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
6853 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
6854 value has largest subnormal exponent.
6855 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
6856 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
6857 * sysdeps/aarch64/soft-fp/sfp-machine.h
6858 (_FP_TININESS_AFTER_ROUNDING): New macro.
6859 * sysdeps/alpha/soft-fp/sfp-machine.h
6860 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6861 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6862 Likewise.
6863 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
6864 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6865 * sysdeps/mips/soft-fp/sfp-machine.h
6866 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6867 * sysdeps/powerpc/soft-fp/sfp-machine.h
6868 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6869 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6870 Likewise.
6871 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6872 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6873 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6874 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6875 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6876 Likewise.
6877
fbfdf9cb
DAS
68782014-02-12 Dylan Alex Simon <dylan@dylex.net>
6879
6880 [BZ #16545]
6881 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
6882 model 1.
6883
68b7efaa
RH
68842014-02-12 Richard Henderson <rth@redhat.com>
6885
c70a4b1d 6886 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
6887 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
6888 * sysdeps/unix/sysv/linux/alpha: Move directory from
6889 ports/sysdeps/unix/sysv/linux/alpha.
6890 * README: Update listing for alpha-*-linux-gnu.
6891
cb4a2928
JM
68922014-02-11 Joseph Myers <joseph@codesourcery.com>
6893
c941736c
JM
6894 * include/features.h: Update comment documenting feature test
6895 macros.
6896 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
6897 _DEFAULT_SOURCE.
6898 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
6899 (_SVID_SOURCE): Likewise.
6900 (_DEFAULT_SOURCE): Update description of default features.
6901 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
6902 with _GNU_SOURCE.
6903 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
6904 (S_ISVTX): Likewise.
6905 * manual/math.texi (Mathematical Constants): Likewise.
6906 * manual/signal.texi (Interrupted Primitives): Likewise.
6907 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
6908 * math/test-matherr.c (_SVID_SOURCE): Do not define.
6909 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
6910 Don't refer to _SVID_SOURCE in warning text.
6911
e8d8d7ec
JM
6912 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6913
cb4a2928
JM
6914 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
6915 already defined.
6916 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
6917 * sysdeps/mips/dl-lookup.c: Remove.
6918 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
6919
7e6424e3
AK
69202014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6921
6922 [BZ #16447]
6923 * math/auto-libm-test-in: Add testcase for expl.
6924 * math/auto-libm-test-out: Regenerate.
6925 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
6926 calculation of unsafe.
6927 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
6928
75eff3fe
MS
69292014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
6930
6931 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
6932 * sysdeps/unix/sysv/linux/aarch64: Move directory from
6933 ports/sysdeps/unix/sysv/linux/aarch64.
6934 * README: Update listing for aarch64*-*-linux-gnu.
6935
d35f1e80
WN
69362014-02-11 Will Newton <will.newton@linaro.org>
6937
6938 * manual/probes.texi (Mathematical Function Probes): Use
6939 "triggered" instead of "hit".
6940
7b3436d4
WN
6941 * manual/probes.texi (Internal Probes): Add documentation
6942 of setjmp, longjmp and longjmp_target probes.
6943
b4f12ca3
WN
6944 * include/stap-probe.h: Add comment about probe argument
6945 format.
6946
c13a72b7
WN
6947 * malloc/mtrace.c (attribute_hidden): Remove unused macro
6948 definition. (tr_where, tr_freehook, tr_mallochook,
6949 tr_reallochook, tr_memalignhook): Use ANSI protoype.
6950
195b8165
DM
69512014-02-11 David S. Miller <davem@davemloft.net>
6952
6953 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
6954 processing int_tests.
6955
2ad7600b
JM
69562014-02-10 Joseph Myers <joseph@codesourcery.com>
6957
6958 * sysdeps/mips: Move directory from ports/sysdeps/mips.
6959 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
6960 * sysdeps/unix/sysv/linux/mips: Move directory from
6961 ports/sysdeps/unix/sysv/linux/mips.
6962 * README: Update listing for mips-*-linux-gnu and
6963 mips64-*-linux-gnu.
6964
73588a72
AS
69652014-02-10 Andreas Schwab <schwab@linux-m68k.org>
6966
6967 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
6968 * sysdeps/unix/sysv/linux/m68k: Move directory from
6969 ports/sysdeps/unix/sysv/linux/m68k.
6970 * README: Update listing for m68k-*-linux-gnu.
6971
4372980f
CM
69722014-02-10 Chris Metcalf <cmetcalf@tilera.com>
6973
6974 * sysdeps/tile: Move directory from ports/sysdeps/tile.
6975 * sysdeps/unix/sysv/linux/generic: Move directory from
6976 ports/sysdeps/unix/sysv/linux/generic.
6977 * sysdeps/unix/sysv/linux/tile: Move directory from
6978 ports/sysdeps/unix/sysv/linux/tile.
6979 * README: Update listing for tile*-*-linux-gnu.
6980
a1ffb40e
OB
69812014-02-10 Ondřej Bílka <neleai@seznam.cz>
6982
57f41c40
AS
6983 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
6984 __builtin_expect.
a1ffb40e
OB
6985 * benchtests/bench-memmem.c (simple_memmem): Likewise.
6986 * catgets/open_catalog.c (__open_catalog): Likewise.
6987 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
6988 * debug/confstr_chk.c: Likewise.
6989 * debug/fread_chk.c (__fread_chk): Likewise.
6990 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
6991 * debug/getgroups_chk.c: Likewise.
6992 * debug/mbsnrtowcs_chk.c: Likewise.
6993 * debug/mbsrtowcs_chk.c: Likewise.
6994 * debug/mbstowcs_chk.c: Likewise.
6995 * debug/memcpy_chk.c: Likewise.
6996 * debug/memmove_chk.c: Likewise.
6997 * debug/mempcpy_chk.c: Likewise.
6998 * debug/memset_chk.c: Likewise.
6999 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7000 * debug/strcat_chk.c (__strcat_chk): Likewise.
7001 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7002 * debug/strncat_chk.c (__strncat_chk): Likewise.
7003 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7004 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7005 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7006 * debug/wcpncpy_chk.c: Likewise.
7007 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7008 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7009 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7010 * debug/wcsncpy_chk.c: Likewise.
7011 * debug/wcsnrtombs_chk.c: Likewise.
7012 * debug/wcsrtombs_chk.c: Likewise.
7013 * debug/wcstombs_chk.c: Likewise.
7014 * debug/wmemcpy_chk.c: Likewise.
7015 * debug/wmemmove_chk.c: Likewise.
7016 * debug/wmempcpy_chk.c: Likewise.
7017 * debug/wmemset_chk.c: Likewise.
7018 * dirent/scandirat.c (SCANDIRAT): Likewise.
7019 * dlfcn/dladdr1.c (dladdr1): Likewise.
7020 * dlfcn/dladdr.c (dladdr): Likewise.
7021 * dlfcn/dlclose.c (dlclose_doit): Likewise.
7022 * dlfcn/dlerror.c (__dlerror): Likewise.
7023 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7024 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7025 * dlfcn/dlopen.c (dlopen_doit): Likewise.
7026 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7027 * dlfcn/dlsym.c (dlsym_doit): Likewise.
7028 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7029 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7030 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7031 Likewise.
7032 * elf/dl-conflict.c: Likewise.
7033 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7034 * elf/dl-dst.h: Likewise.
7035 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7036 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7037 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7038 * elf/dl-init.c (call_init, _dl_init): Likewise.
7039 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
7040 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7041 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7042 Likewise.
a1ffb40e
OB
7043 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7044 Likewise.
7045 * elf/dl-minimal.c (__libc_memalign): Likewise.
7046 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7047 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7048 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7049 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
7050 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7051 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
7052 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7053 * elf/dl-writev.h (_dl_writev): Likewise.
7054 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
7055 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7056 (dl_main): Likewise.
a1ffb40e
OB
7057 * elf/setup-vdso.h (setup_vdso): Likewise.
7058 * grp/compat-initgroups.c (compat_call): Likewise.
7059 * grp/fgetgrent.c (fgetgrent): Likewise.
7060 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7061 * grp/putgrent.c (putgrent): Likewise.
7062 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7063 Likewise.
7064 * hurd/hurdinit.c: Likewise.
7065 * iconvdata/8bit-gap.c (struct): Likewise.
7066 * iconvdata/ansi_x3.110.c : Likewise.
7067 * iconvdata/big5.c : Likewise.
7068 * iconvdata/big5hkscs.c : Likewise.
7069 * iconvdata/cp1255.c: Likewise.
7070 * iconvdata/cp1258.c : Likewise.
7071 * iconvdata/cp932.c : Likewise.
7072 * iconvdata/euc-cn.c: Likewise.
7073 * iconvdata/euc-jisx0213.c : Likewise.
7074 * iconvdata/euc-jp.c: Likewise.
7075 * iconvdata/euc-jp-ms.c : Likewise.
7076 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7077 * iconvdata/gb18030.c : Likewise.
7078 * iconvdata/gbbig5.c (const): Likewise.
7079 * iconvdata/gbgbk.c: Likewise.
7080 * iconvdata/gbk.c : Likewise.
7081 * iconvdata/ibm1364.c : Likewise.
7082 * iconvdata/ibm930.c : Likewise.
7083 * iconvdata/ibm932.c: Likewise.
7084 * iconvdata/ibm933.c : Likewise.
7085 * iconvdata/ibm935.c : Likewise.
7086 * iconvdata/ibm937.c : Likewise.
7087 * iconvdata/ibm939.c : Likewise.
7088 * iconvdata/ibm943.c: Likewise.
7089 * iconvdata/iso_11548-1.c: Likewise.
7090 * iconvdata/iso-2022-cn.c : Likewise.
7091 * iconvdata/iso-2022-cn-ext.c : Likewise.
7092 * iconvdata/iso-2022-jp-3.c: Likewise.
7093 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7094 * iconvdata/iso-2022-kr.c : Likewise.
7095 * iconvdata/iso646.c (gconv_end): Likewise.
7096 * iconvdata/iso_6937-2.c : Likewise.
7097 * iconvdata/iso_6937.c : Likewise.
7098 * iconvdata/iso8859-1.c: Likewise.
7099 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7100 * iconvdata/shift_jisx0213.c : Likewise.
7101 * iconvdata/sjis.c : Likewise.
7102 * iconvdata/t.61.c : Likewise.
7103 * iconvdata/tcvn5712-1.c : Likewise.
7104 * iconvdata/tscii.c: Likewise.
7105 * iconvdata/uhc.c : Likewise.
7106 * iconvdata/unicode.c (gconv_end): Likewise.
7107 * iconvdata/utf-16.c (gconv_end): Likewise.
7108 * iconvdata/utf-32.c (gconv_end): Likewise.
7109 * iconvdata/utf-7.c (base64): Likewise.
7110 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7111 * iconv/gconv_close.c (__gconv_close): Likewise.
7112 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
7113 * iconv/gconv_simple.c (internal_ucs4_loop_single)
7114 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7115 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7116 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7117 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
7118 * iconv/iconv.c (iconv): Likewise.
7119 * iconv/iconv_close.c: Likewise.
7120 * iconv/loop.c (SINGLE): Likewise.
7121 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7122 * include/atomic.h: Likewise.
7123 * inet/inet6_option.c (option_alloc): Likewise.
7124 * intl/bindtextdom.c (set_binding_values): Likewise.
7125 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7126 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7127 * intl/localealias.c (read_alias_file): Likewise.
7128 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
7129 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7130 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
7131 * libio/fmemopen.c (fmemopen): Likewise.
7132 * libio/iofgets.c (_IO_fgets): Likewise.
7133 * libio/iofgets_u.c (fgets_unlocked): Likewise.
7134 * libio/iofgetws.c (fgetws): Likewise.
7135 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7136 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
7137 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7138 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
7139 * locale/findlocale.c (_nl_find_locale): Likewise.
7140 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7141 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7142 Likewise.
7143 * locale/setlocale.c (setlocale): Likewise.
7144 * login/programs/pt_chown.c (main): Likewise.
7145 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7146 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
7147 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7148 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
7149 * math/e_exp2l.c: Likewise.
7150 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7151 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7152 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7153 * math/s_catan.c (__catan): Likewise.
7154 * math/s_catanf.c (__catanf): Likewise.
7155 * math/s_catanh.c (__catanh): Likewise.
7156 * math/s_catanhf.c (__catanhf): Likewise.
7157 * math/s_catanhl.c (__catanhl): Likewise.
7158 * math/s_catanl.c (__catanl): Likewise.
7159 * math/s_ccosh.c (__ccosh): Likewise.
7160 * math/s_ccoshf.c (__ccoshf): Likewise.
7161 * math/s_ccoshl.c (__ccoshl): Likewise.
7162 * math/s_cexp.c (__cexp): Likewise.
7163 * math/s_cexpf.c (__cexpf): Likewise.
7164 * math/s_cexpl.c (__cexpl): Likewise.
7165 * math/s_clog10.c (__clog10): Likewise.
7166 * math/s_clog10f.c (__clog10f): Likewise.
7167 * math/s_clog10l.c (__clog10l): Likewise.
7168 * math/s_clog.c (__clog): Likewise.
7169 * math/s_clogf.c (__clogf): Likewise.
7170 * math/s_clogl.c (__clogl): Likewise.
7171 * math/s_csin.c (__csin): Likewise.
7172 * math/s_csinf.c (__csinf): Likewise.
7173 * math/s_csinh.c (__csinh): Likewise.
7174 * math/s_csinhf.c (__csinhf): Likewise.
7175 * math/s_csinhl.c (__csinhl): Likewise.
7176 * math/s_csinl.c (__csinl): Likewise.
7177 * math/s_csqrt.c (__csqrt): Likewise.
7178 * math/s_csqrtf.c (__csqrtf): Likewise.
7179 * math/s_csqrtl.c (__csqrtl): Likewise.
7180 * math/s_ctan.c (__ctan): Likewise.
7181 * math/s_ctanf.c (__ctanf): Likewise.
7182 * math/s_ctanh.c (__ctanh): Likewise.
7183 * math/s_ctanhf.c (__ctanhf): Likewise.
7184 * math/s_ctanhl.c (__ctanhl): Likewise.
7185 * math/s_ctanl.c (__ctanl): Likewise.
7186 * math/w_pow.c: Likewise.
7187 * math/w_powf.c: Likewise.
7188 * math/w_powl.c: Likewise.
7189 * math/w_scalb.c (sysv_scalb): Likewise.
7190 * math/w_scalbf.c (sysv_scalbf): Likewise.
7191 * math/w_scalbl.c (sysv_scalbl): Likewise.
7192 * misc/error.c (error_tail): Likewise.
7193 * misc/pselect.c (__pselect): Likewise.
7194 * nis/nis_callback.c (__nis_create_callback): Likewise.
7195 * nis/nis_call.c (__nisfind_server): Likewise.
7196 * nis/nis_creategroup.c (nis_creategroup): Likewise.
7197 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7198 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7199 * nis/nis_getservlist.c (nis_getservlist): Likewise.
7200 * nis/nis_lookup.c (nis_lookup): Likewise.
7201 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
7202 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7203 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 7204 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
7205 * nis/nss_compat/compat-grp.c (getgrent_next_file)
7206 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7207 * nis/nss_compat/compat-initgroups.c (add_group)
7208 (internal_getgrent_r): Likewise.
7209 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7210 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7211 * nis/nss_compat/compat-spwd.c (getspent_next_file)
7212 (internal_getspnam_r): Likewise.
7213 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7214 (_nss_nis_getaliasbyname_r): Likewise.
7215 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7216 (_nss_nis_getntohost_r): Likewise.
7217 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7218 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7219 (_nss_nis_getgrgid_r): Likewise.
7220 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7221 (internal_nis_gethostent_r, internal_gethostbyname2_r)
7222 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7223 (_nss_nis_gethostbyname4_r): Likewise.
7224 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7225 (initgroups_netid): Likewise.
a1ffb40e 7226 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
7227 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7228 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7229 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7230 (_nss_nis_getprotobynumber_r): Likewise.
7231 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7232 (_nss_nis_getsecretkey): Likewise.
7233 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7234 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7235 (_nss_nis_getpwuid_r): Likewise.
7236 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7237 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7238 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7239 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7240 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7241 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
7242 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7243 Likewise.
57f41c40
AS
7244 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7245 (_nss_nisplus_getntohost_r): Likewise.
7246 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7247 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7248 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7249 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 7250 Likewise.
57f41c40
AS
7251 * nis/nss_nisplus/nisplus-initgroups.c
7252 (_nss_nisplus_initgroups_dyn): Likewise.
7253 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7254 (_nss_nisplus_getnetbyaddr_r): Likewise.
7255 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7256 (_nss_nisplus_getprotobynumber_r): Likewise.
7257 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7258 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
7259 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7260 Likewise.
57f41c40
AS
7261 * nis/nss_nisplus/nisplus-service.c
7262 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7263 (_nss_nisplus_getservbyport_r): Likewise.
7264 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7265 (_nss_nisplus_getspnam_r): Likewise.
7266 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7267 Likewise.
a1ffb40e
OB
7268 * nscd/aicache.c (addhstaiX): Likewise.
7269 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
7270 * nscd/connections.c (register_traced_file, send_ro_fd)
7271 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7272 (main_loop_epoll): Likewise.
a1ffb40e
OB
7273 * nscd/grpcache.c (addgrbyX): Likewise.
7274 * nscd/hstcache.c (addhstbyX): Likewise.
7275 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7276 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
7277 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7278 (addinnetgrX): Likewise.
7279 * nscd/nscd-client.h (__nscd_acquire_maplock)
7280 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
7281 * nscd/nscd_getai.c (__nscd_getai): Likewise.
7282 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7283 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7284 Likewise.
7285 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7286 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
7287 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7288 (__nscd_get_map_ref): Likewise.
a1ffb40e 7289 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
7290 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7291 Likewise.
a1ffb40e
OB
7292 * nscd/pwdcache.c (addpwbyX): Likewise.
7293 * nscd/selinux.c (preserve_capabilities): Likewise.
7294 * nscd/servicescache.c (addservbyX): Likewise.
7295 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7296 * posix/fnmatch.c (fnmatch): Likewise.
7297 * posix/getopt.c (_getopt_internal_r): Likewise.
7298 * posix/glob.c (glob, glob_in_dir): Likewise.
7299 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
7300 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7301 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
7302 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7303 * resolv/res_init.c: Likewise.
7304 * resolv/res_mkquery.c (res_nmkquery): Likewise.
7305 * resolv/res_query.c (__libc_res_nquery): Likewise.
7306 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7307 Likewise.
7308 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7309 * stdio-common/perror.c (perror): Likewise.
7310 * stdio-common/printf_fp.c (___printf_fp): Likewise.
7311 * stdio-common/tmpnam.c (tmpnam): Likewise.
7312 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7313 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
7314 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7315 Likewise.
a1ffb40e
OB
7316 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7317 * stdlib/putenv.c (putenv): Likewise.
7318 * stdlib/setenv.c (__add_to_environ): Likewise.
7319 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7320 * stdlib/strtol_l.c (INTERNAL): Likewise.
7321 * string/memmem.c (memmem): Likewise.
7322 * string/strerror.c (strerror): Likewise.
7323 * string/strnlen.c (__strnlen): Likewise.
7324 * string/test-memmem.c (simple_memmem): Likewise.
7325 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7326 * sunrpc/pm_getport.c (__get_socket): Likewise.
7327 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7328 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
7329 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7330 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
7331 Likewise.
7332 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7333 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7334 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7335 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7336 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
7337 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7338 Likewise.
7339 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7340 Likewise.
a1ffb40e
OB
7341 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7342 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7343 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7344 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7345 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7346 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7347 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7348 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7349 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7350 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7351 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7352 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7353 Likewise.
7354 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7355 Likewise.
7356 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7357 Likewise.
7358 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7359 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7360 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7361 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7362 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7363 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7364 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7365 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7366 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7367 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7368 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7369 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7370 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7371 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7372 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
7373 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7374 Likewise.
a1ffb40e
OB
7375 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7376 Likewise.
7377 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7378 Likewise.
7379 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7380 Likewise.
7381 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7382 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7383 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7384 Likewise.
7385 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7386 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7387 * sysdeps/posix/opendir.c (__opendirat): Likewise.
7388 * sysdeps/posix/sleep.c: Likewise.
7389 * sysdeps/posix/tempname.c: Likewise.
7390 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7391 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7392 Likewise.
57f41c40
AS
7393 * sysdeps/powerpc/powerpc32/dl-machine.h
7394 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
7395 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7396 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7397 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7398 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7399 Likewise.
7400 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7401 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7402 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7403 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7404 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7405 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7406 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7407 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7408 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7409 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7410 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7411 (elf_machine_lazy_rel): Likewise.
a1ffb40e 7412 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7413 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7414 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7415 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7416 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7417 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7418 * sysdeps/unix/grantpt.c (grantpt): Likewise.
7419 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7420 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7421 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7422 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7423 Likewise.
7424 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7425 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7426 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7427 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7428 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7429 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7430 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7431 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7432 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7433 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7434 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7435 Likewise.
7436 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7437 (__posix_fallocate64_l64): Likewise.
7438 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7439 (posix_fallocate): Likewise.
57f41c40
AS
7440 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7441 Likewise.
a1ffb40e 7442 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
7443 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7444 (getifaddrs_internal): Likewise.
a1ffb40e
OB
7445 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7446 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7447 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7448 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7449 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7450 (__posix_fallocate64_l64): Likewise.
7451 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7452 Likewise.
7453 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
7454 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7455 (__get_clockfreq): Likewise.
a1ffb40e
OB
7456 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7457 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7458 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7459 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7460 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7461 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7462 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7463 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7464 Likewise.
7465 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7466 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7467 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7468 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7469 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7470 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7471 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7472 Likewise.
7473 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7474 (posix_fallocate): Likewise.
7475 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7476 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7477 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7478 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7479 (elf_machine_rela, elf_machine_rela_relative)
7480 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7481 * time/asctime.c (asctime_internal): Likewise.
7482 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7483 * time/tzset.c (__tzset_parse_tz): Likewise.
7484 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7485 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7486 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7487 * wcsmbs/wcsmbsload.h: Likewise.
7488
f3d338c9
OB
7489 [BZ #15894]
7490 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
7491
57f41c40
AS
7492 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
7493 (arena_get2): Remove THREAD_STATS conditionals.
7494 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
7495 (__malloc_stats, int): Likewise.
bdfe308a 7496
d674667c
MF
74972014-02-08 Mike Frysinger <vapier@gentoo.org>
7498
7499 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
7500 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
7501
6349768c
MF
7502 * manual/setjmp.texi: Fix typos/grammar errors.
7503
0b7c7473
MF
7504 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
7505 Only return early when n is <= 0. Delete unused return statement.
7506
ac8cc9e3
MF
7507 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
7508 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
7509 * debug/tst-longjmp_chk3.c: New file.
7510
c5bb8e23
MF
7511 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
7512 (test_main): Replace code with set_fortify_handler call.
7513 * debug/test-strcpy_chk.c: Likewise.
7514 * debug/tst-chk1.c: Likewise.
7515 * debug/tst-longjmp_chk.c: Likewise.
7516 * test-skeleton.c: Include fcntl.h & paths.h
7517 (set_fortify_handler): Define.
7518
10444e42
MF
7519 * debug/tst-longjmp_chk.c: Add header comment and include
7520 ../test-skeleton.c.
7521 (do_test): Mark static.
7522 (TEST_FUNCTION): Define.
7523
1e805e8d
MF
7524 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
7525 (IP_PMTUDISC_INTERFACE): Likewise.
7526 (IP_MULTICAST_IF): Likewise.
7527 (IP_MULTICAST_TTL): Likewise.
7528 (IP_MULTICAST_LOOP): Likewise.
7529 (IP_ADD_MEMBERSHIP): Likewise.
7530 (IP_DROP_MEMBERSHIP): Likewise.
7531 (IP_UNBLOCK_SOURCE): Likewise.
7532 (IP_BLOCK_SOURCE): Likewise.
7533 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
7534 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
7535 (IP_MSFILTER): Likewise.
7536 (MCAST_JOIN_GROUP): Likewise.
7537 (MCAST_BLOCK_SOURCE): Likewise.
7538 (MCAST_UNBLOCK_SOURCE): Likewise.
7539 (MCAST_LEAVE_GROUP): Likewise.
7540 (MCAST_JOIN_SOURCE_GROUP): Likewise.
7541 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7542 (MCAST_MSFILTER): Likewise.
7543 (IP_MULTICAST_ALL): Likewise.
7544 (IP_UNICAST_IF): Likewise.
7545
73f79bb7
MF
7546 * timezone/Makefile: Delete $(have-ksh) check.
7547 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
7548 * timezone/tzselect.ksh: Add +x mode bits.
7549
8da79b60
MF
7550 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
7551 (ANON_INODE_FS_MAGIC): Likewise.
7552 (BDEVFS_MAGIC): Likewise.
7553 (BINFMTFS_MAGIC): Likewise.
7554 (BTRFS_TEST_MAGIC): Likewise.
7555 (CRAMFS_MAGIC_WEND): Likewise.
7556 (DEBUGFS_MAGIC): Likewise.
7557 (ECRYPTFS_SUPER_MAGIC): Likewise.
7558 (EXT3_SUPER_MAGIC): Likewise.
7559 (EXT4_SUPER_MAGIC): Likewise.
7560 (FUTEXFS_SUPER_MAGIC): Likewise.
7561 (HOSTFS_SUPER_MAGIC): Likewise.
7562 (HUGETLBFS_MAGIC): Likewise.
7563 (MINIX3_SUPER_MAGIC): Likewise.
7564 (MTD_INODE_FS_MAGIC): Likewise.
7565 (NILFS_SUPER_MAGIC): Likewise.
7566 (OPENPROM_SUPER_MAGIC): Likewise.
7567 (PIPEFS_MAGIC): Likewise.
7568 (PSTOREFS_MAGIC): Likewise.
7569 (QNX6_SUPER_MAGIC): Likewise.
7570 (RAMFS_MAGIC): Likewise.
7571 (REISERFS_SUPER_MAGIC_STRING): Likewise.
7572 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
7573 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
7574 (SECURITYFS_MAGIC): Likewise.
7575 (SELINUX_MAGIC): Likewise.
7576 (SMACK_MAGIC): Likewise.
7577 (SOCKFS_MAGIC): Likewise.
7578 (SQUASHFS_MAGIC): Likewise.
7579 (STACK_END_MAGIC): Likewise.
7580 (TMPFS_MAGIC): Likewise.
7581 (USBDEVICE_SUPER_MAGIC): Likewise.
7582 (V9FS_MAGIC): Likewise.
7583 (XENFS_SUPER_MAGIC): Likewise.
7584 (CRAMFS_MAGIC): Fix typo in comment.
7585 (EXT2_SUPER_MAGIC): Update comment.
7586 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
7587
464263cc
JM
75882014-02-08 Joseph Myers <joseph@codesourcery.com>
7589
c6bfe5c4
JM
7590 * sysdeps/arm: Move directory from ports/sysdeps/arm.
7591 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
7592 * sysdeps/unix/sysv/linux/arm: Move directory from
7593 ports/sysdeps/unix/sysv/linux/arm.
7594 * README: Update listing for arm-*-linux-gnueabi.
7595
464263cc
JM
7596 * README: Remove mention of am33.
7597
32749f6c
RM
75982014-02-07 Roland McGrath <roland@hack.frob.com>
7599
7600 * bits/sigset.h (__sigemptyset): Use a statement expression rather
7601 than the comma operator, to avoid "rhs of comma has no effect"
7602 compiler warnings.
7603 (__sigfillset, __sigandset, __sigorset): Likewise.
7604 * include/signal.h (__sigemptyset): Likewise.
7605 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
7606
d5b396c1
AM
76072014-02-07 Allan McRae <allan@archlinux.org>
7608
7609 * version.h (RELEASE): Set to "development".
7610 (VERSION): Set to "2.19.90"
7611 * NEWS: Add 2.20 section.
7612
3bfff2ed
CD
76132014-02-06 Carlos O'Donell <carlos@redhat.com>
7614
7615 [BZ #16529]
7616 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
7617
ee7cc385
SP
76182014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7619
7620 * manual/contrib.texi: Update entry for Carlos O'Donell,
7621 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
7622
f877c4f2
CD
76232014-02-05 Carlos O'Donell <carlos@rehdat.com>
7624
27e839f6
CD
7625 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
7626
f877c4f2
CD
7627 * sysdeps/unix/sysv/linux/kernel-features.h
7628 [__LINUX_KERNEL_VERSION >= 0x020621]
7629 (__ASSUME_PROC_PID_TASK_COMM): Define.
7630
68159946
SP
76312014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7632
ba17cdbd
SP
7633 [BZ #16398]
7634 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
7635 conversion when destination buffer does not have enough space.
7636 * libio/tst-ftell-partial-wide.c: New test case.
7637 * libio/Makefile (tests): Add tst-ftell-partial-wide.
7638
68159946
SP
7639 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
7640 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
7641 Leonard and Allan McRae.
7642
2b528732
DM
76432014-02-04 David S. Miller <davem@davemloft.net>
7644
7645 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
7646 32-bit.
7647
0ff82463
AZ
76482014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7649
57f41c40
AS
7650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7651 New file
c01603f7
AZ
7652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7653 New file
57f41c40
AS
7654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7655 New file.
7656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7657 New file.
c01603f7
AZ
7658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7659 New file.
57f41c40
AS
7660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7661 New file.
7662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7663 New file.
c01603f7
AZ
7664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7665 New file.
7666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7667 New file.
7668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7669 New file.
7670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7671 New file.
7672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7673 New file.
7674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7675 New file.
7676
76772014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7678
0ff82463
AZ
7679 * nptl/shlib-versions: Change powerpc*le start to 2.17.
7680 * shlib-versions: Likewise.
7681
1695c773
AZ
76822014-02-04 Roland McGrath <roland@hack.frob.com>
7683 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7684
7685 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
7686 (abilist-pattern): New variable, set to %-le.abilist.
7687
7688 * Makerules (abilist-pattern): New variable.
7689 (vpath): Use $(abilist-pattern) in place of %.abilist.
7690 (check-abi-% pattern rule): Likewise.
7691 (check-abi, update-abi): Likewise.
7692
6c0ce4b4
EW
76932014-02-04 Eric Wong <normalperson@yhbt.net>
7694
7695 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7696
481e3524
CD
76972014-02-03 Carlos O'Donell <carlos@redhat.com>
7698
7699 * manual/startup.texi: Add next, previous, and top entries for
7700 the `Program Arguments' and `Environment Variables' nodes.
7701
375592d3
AO
77022014-02-03 Alexandre Oliva <aoliva@redhat.com>
7703
7704 * manual/macros.texi: Add comments before MTASC-safety macros.
7705
f54838ba
AO
7706 * manual/users.texi: Document MTASC-safety properties.
7707
57f41c40
AS
7708 * manual/threads.texi (pthread_key_create, pthread_key_delete)
7709 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
7710 @deftypefun, and add @safety note.
7711 * manual/signal.texi: Move comments that analyze the above
7712 functions to their home place.
7713
fd3daba4
AM
77142014-02-03 Allan McRae <allan@archlinux.org>
7715
7716 * po/sl.po: Update Slovenian translation from translation project.
7717
597636d7
AO
77182014-02-02 Alexandre Oliva <aoliva@redhat.com>
7719
7720 * manual/time.texi (timegm): Add missing blank after @c.
7721 Reported by Joseph Myers <joseph@codesourcery.com>.
7722
ee196e3c
AO
77232014-02-01 Alexandre Oliva <aoliva@redhat.com>
7724
7725 * manual/check-safety.sh: New.
7726 * manual/Makefile ($(objpfx)stamp-summary): Run it.
7727
f8d529d5
AO
7728 * manual/terminal.texi: Document MTASC-safety properties.
7729
de55fdf4
AO
7730 * manual/filesys.texi: Document MTASC-safety properties.
7731
c3299c08
AO
7732 * manual/errno.texi: Document MTASC-safety properties.
7733
06e90b14
AO
7734 * manual/intro.texi: Document safety identifiers and
7735 conditionals.
7736
1acd4371
AO
7737 * manual/string.texi (wcstok): Fix prototype.
7738 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
7739
23e5b8cb
AO
7740 * manual/time.texi: Document MTASC-safety properties.
7741
11087373
AO
7742 * manual/string.texi: Document MTASC-safety properties.
7743
5da2c93d
AO
7744 * manual/threads.texi: Document MTASC-safety properties.
7745
171e9210
AO
7746 * manual/stdio.texi: Document MTASC-safety properties.
7747
d9e02532
AO
7748 * manual/syslog.texi: Document MTASC-safety properties.
7749
6af8bab7
AO
7750 * manual/sysinfo.texi: Document MTASC-safety properties.
7751
663b02d7
AO
7752 * manual/startup.texi: Document MTASC-safety properties.
7753
973f180b
AO
7754 * manual/socket.texi: Document MTASC-safety properties.
7755
8f3c25c8
AO
7756 * manual/signal.texi: Document MTASC-safety properties.
7757
542210fb
AO
77582014-01-31 Alexandre Oliva <aoliva@redhat.com>
7759
7760 * manual/setjmp.texi: Document MTASC-safety properties.
7761
433c45a2
AO
7762 * manual/search.texi: Document MTASC-safety properties.
7763
c8ce789c
AO
7764 * manual/resource.texi: Document MTASC-safety properties.
7765
19f5d29c
AO
7766 * manual/process.texi: Document MTASC-safety properties.
7767
e2dfb7f4
AO
7768 * manual/platform.texi: Document MTASC-safety properties.
7769
8c1413f5
AO
7770 * manual/pipe.texi: Document MTASC-safety properties.
7771
03483ada
AO
7772 * manual/pattern.texi: Document MTASC-safety properties.
7773
29e7e2df
AO
7774 * manual/message.texi: Document MTASC-safety properties.
7775
9f529d7c
AO
7776 [BZ #12751]
7777 * manual/memory.texi: Document MTASC-safety properties.
7778
27aaa791
AO
7779 * manual/math.texi: Document MTASC-safety properties.
7780
f2d58726
AO
7781 * manual/locale.texi: Document MTASC-safety properties.
7782
2cc3615c
AO
7783 * manual/llio.texi: Document MTASC-safety properties.
7784
d9f0ec97
AO
7785 * manual/libdl.texi: New.
7786
e7c4409a
AO
7787 * manual/lang.texi: Document MTASC-safety properties.
7788
27bdc63c
AO
7789 * manual/job.texi: Document MTASC-safety properties.
7790
a7b90ea9
AO
7791 * manual/getopt.texi: Document MTASC-safety properties.
7792
c49130e3
AO
7793 * manual/ctype.texi: Document MTASC-safety properties.
7794
0d23a5c1
MR
77952014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
7796
7797 [BZ #16046]
7798 * csu/libc-tls.c (static_map): Remove variable.
7799 (__libc_setup_tls): Use main executable's link map for TLS data.
7800 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
7801 casing for LM_ID_BASE and GL(dl_nns).
7802 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
7803 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
7804 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
7805 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
7806 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
7807 member.
7808 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
7809 l_phnum members.
7810
0037bb60
AO
78112014-01-30 Alexandre Oliva <aoliva@redhat.com>
7812
7813 * manual/debug.texi: Document MTASC-safety properties.
7814
409e00bd
L
78152014-01-29 H.J. Lu <hongjiu.lu@intel.com>
7816
7817 [BZ #16510]
7818 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
7819 of __x86_64__ when disabling x87 inline functions.
7820
86e60666
AO
78212014-01-29 Alexandre Oliva <aoliva@redhat.com>
7822
7823 * manual/charset.texi: Document MTASC-safety properties.
7824
76167637
AO
7825 * manual/crypt.texi: Document MTASC-safety properties.
7826
e567f2a0
AO
7827 * manual/conf.texi: Document MTASC-safety properties.
7828
b719dafd
AO
7829 * manual/arith.texi: Document MTASC-safety properties.
7830
4a16c662
AO
7831 * manual/argp.texi: Document MTASC-safety properties.
7832
0a57b83e
AO
7833 * manual/macros.texi: Introduce macros to document multi
7834 thread, asynchronous signal and asynchronous cancellation
7835 safety properties.
7836 * manual/intro.texi: Introduce the properties themselves.
7837
feab2397
KK
78382014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7839
7840 * sysdeps/sh/sh4/Makefile: New file.
7841
1c0d11bc
AS
78422014-01-27 Andreas Schwab <schwab@linux-m68k.org>
7843
7844 * math/gen-libm-test.pl ($srcdir): New variable.
7845 ($auto_input): Use it.
7846
af37a8a3
SP
78472014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7848
d7b00f98
SP
7849 [BZ #16506]
7850 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
7851 access beyond array bounds when parsing netgroups file.
7852
af37a8a3
SP
7853 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
7854 the old buffer before realloc.
7855
0c00f062
AM
78562014-01-27 Allan McRae <allan@archlinux.org>
7857
7858 * po/fr.po: Update French translation from translation project.
7859
7d69a1b0
KK
78602014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7861
7862 * sysdeps/sh/libm-test-ulps: Regenerate.
7863
6e697ff7
DM
78642014-01-24 David S. Miller <davem@davemloft.net>
7865
7866 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
7867
9cadb35c
KK
78682014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7869
7870 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
7871 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
7872
5d41dadf
SP
78732013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7874
7875 [BZ #16474]
7876 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
7877 string pointers after reallocation.
7878
0bad441c
KK
78792014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7880
7881 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
7882 __SH4A__ instead of __SH_FPU_ANY__.
7883
7007c661
KK
78842014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7885
7886 * sysdeps/sh/fpu_control.h: New file.
7887 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
7888 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7889 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
7890 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
7891 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
7892 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
7893 * sysdeps/sh/sys/ucontext.h: Remove.
7894 * sysdeps/sh/sys: Remove directory.
7895
0f0c35e4
AK
78962014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7897
7898 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
7899 s390/sys/ucontext.h.
7900 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
7901 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
7902
4959e284
L
79032014-01-20 H.J. Lu <hongjiu.lu@intel.com>
7904
7905 [BZ #15605]
7906 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
7907
d98720e0
AZ
79082014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7909
7910 [BZ#16431]
7911 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7912 Adjust the vDSO correctly for internal calls.
7913 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
7914
91cbd0bc
AM
79152014-01-20 Allan McRae <allan@archlinux.org>
7916
7917 * po/ca.po: Update Catalan translation from translation project.
7918
7a02cfad
MF
79192014-01-16 Mike Frysinger <vapier@gentoo.org>
7920
7921 * sysdeps/s390/sotruss-lib.c: New file.
7922
736c304a
AZ
79232014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7924
7925 [BZ#16430]
6e077ee5 7926 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
7927 (__GI___gettimeofday): Alias for a different internal symbol to avoid
7928 local calls issues by not having a PLT stub required for IFUNC calls.
7929 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
7930
94d0cea0
JM
79312014-01-16 Joseph Myers <joseph@codesourcery.com>
7932
7933 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
7934 * math/test-fpucw-static.c: Likewise.
7935
980cb518
SP
79362013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7937
7938 [BZ #16453]
7939 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
7940
2393fc01
AZ
79412014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7942
7943 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
7944 implementation for powerpc.
7945
d359bcc2
OB
79462014-01-15 Ondřej Bílka <neleai@seznam.cz>
7947
7948 [BZ #14782]
7949 * sysdeps/posix/system.c (__libc_system): Do not enable
7950 asynchronous cancellation.
7951
7beb48cb
AK
79522014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7953
7954 [BZ #16427]
7955 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
7956 handling only for numbers special also in the IEEE case.
7957
c20d5bf5
AK
79582014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7959
7960 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7961
e83bd4ee
AM
79622014-01-11 Allan McRae <allan@archlinux.org>
7963
76d0ea69
AM
7964 * po/bg.po: Update Bulgarian translation from translation project.
7965
e83bd4ee
AM
7966 * po/de.po: Update German translation from translation project.
7967
bc2ba20a
RM
79682014-01-10 Roland McGrath <roland@hack.frob.com>
7969
7970 * sysdeps/generic/gcc-compat.h: New file.
7971
649ecea2
SP
79722014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7973
7974 * benchtests/asin-inputs: Correct slow inputs.
7975 * benchtests/acos-inputs: Likewise.
7976
1b19c006
AM
79772014-01-10 Allan McRae <allan@archlinux.org>
7978
a46dab08
AM
7979 * po:sv.po: Update Swedish translation from translation project.
7980
421df74a
AM
7981 * po/vi.po: Update Vietnamese translation from translation project.
7982
d61c51a7
AM
7983 * po/eo.po: Update Esperanto translation from translation project.
7984
0339a319
AM
7985 * po/cs.po: Update Czech translation from translation project.
7986
94ad3e99
AM
7987 * po/nl.po: Update Dutch translation from translation project.
7988
e349ca71
AM
7989 * po/pl.po: Update Polish translation from translation project.
7990
ddf930c1
AM
7991 * po/ru.po: Update Russian translation from translation project.
7992
1b19c006
AM
7993 * po/uk.po: Update Ukrainian translation from translation project.
7994
9f236c49
BM
79952014-01-08 Brooks Moses <bmoses@google.com>
7996
7997 * elf/dl-load.c: Fix comment typo.
7998
cd6701cf
CD
79992014-01-08 Carlos O'Donell <carlos@redhat.com>
8000
8001 * po/header.pot: Rename to...
8002 * po/pot.header: ... this.
8003 * po/Makefile: Use pot.header.
8004
66671c84
YK
80052014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
8006 Maxim Kuvyrkov <maxim@kugelworks.com>
8007
8008 [BZ #16394]
cd6701cf
CD
8009 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8010 SRC and DEST against LEN.
66671c84 8011
38f34581
AZ
80122014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8013
8014 [BZ #16414]
8015 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8016 implementation.
8017 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8018
80192014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
8020
8021 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8022
4c327f2a
JM
80232014-01-08 Joseph Myers <joseph@codesourcery.com>
8024
8025 [BZ #16408]
8026 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8027 for large positive arguments.
8028
b821f414
JM
80292014-01-07 Joseph Myers <joseph@codesourcery.com>
8030
1f0f2067
JM
8031 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8032
a5a326f6
JM
8033 * math/auto-libm-test-in: Mark various tests with
8034 xfail-rounding:ldbl-128ibm.
8035 * math/auto-libm-test-out: Regenerated.
8036
b821f414
JM
8037 [BZ #16407]
8038 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8039 Increase overflow threshold.
8040
94c8a4bc
OB
80412014-01-07 Ondřej Bílka <neleai@seznam.cz>
8042
8043 [BZ #14286]
8044 * stdio-common/vfprintf.c: Check for integer overflow.
8045
87ded0c3
AK
80462014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8047
8048 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8049 the first argument and return value of __tls_get_addr_internal.
8050
c5eebdd0
AK
80512014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8052
8053 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8054 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8055
05d138ef
AK
80562014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8057
8058 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8059 * sysdeps/s390/rtld-global-offsets.sym: New file.
8060 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8061 GLIBC_2.19 symbol.
8062 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8063 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8064 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8065 ... this.
8066 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8067 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8068 ... this.
8069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8070 Regenerate.
8071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8072 Regenerate.
8073 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8074 halfs of GPRs for high_gprs contexts.
8075 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8076 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
8077 field.
8078 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8079 uc_flags field.
8080 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8081 64 bit versions:
8082 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8083 for high GPRs (uc_high_gprs) and for future extensions
8084 (__reserved).
8085 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8086 for future extensions (__reserved).
8087 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8088 64 bit versions:
8089 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8090 SC_HIGHGPRS offset definition.
8091 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8092 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8093
93a45ff1
AK
8094 * Versions.def: Add GLIBC_2.19 for libpthread.
8095 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8096 siglongjmp for libpthread with GLIBC_2.19 symver.
8097 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8098 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8099 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8100 * sysdeps/s390/__longjmp.c: New file.
8101 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8102 * sysdeps/s390/longjmp.c: New file.
8103 * sysdeps/s390/setjmp.S: New file.
8104 * sysdeps/s390/sigjmp.S: New file.
8105 * sysdeps/s390/v1-longjmp.c: New file.
8106 * sysdeps/s390/v1-setjmp.h: New file.
8107 * sysdeps/s390/v1-sigjmp.c: New file.
8108 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8109 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8110 GLIBC_2.19 version.
8111 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8112 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8113 versioned symbols for ____longjmp_chk.
8114 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8115 Likewise.
8116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8117 Regenerate.
8118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8119 Regenerate.
8120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8121 Regenerate.
8122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8123 Regenerate.
8124 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8125 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8126 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8127 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8128 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8129 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8130 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8131 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8132 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8133 * sysdeps/s390/rtld-__longjmp.c: New file.
8134 * sysdeps/s390/rtld-setjmp.S: New file.
8135
eb3fc44b
JM
81362014-01-06 Joseph Myers <joseph@codesourcery.com>
8137
8138 [BZ #16400]
8139 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8140 Return -__logl (x) for small positive arguments without evaluating
8141 a polynomial.
8142
9341dde4
MF
81432014-01-06 Mike Frysinger <vapier@gentoo.org>
8144
8145 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8146 Rename to ...
8147 (__ptrace_peeksiginfo_args): ... this.
8148 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8149 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8150 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8151
4cff0293
AM
81522014-01-06 Allan McRae <allan@archlinux.org>
8153
8154 * inet/netinet/in.h: Fix typo in comment.
8155
75595dcf
AJ
81562014-01-05 Andreas Jaeger <aj@suse.de>
8157
8158 * sysdeps/i386/fpu/libm-test-ulps: Update.
8159
79c1e109
AM
81602014-01-05 Allan McRae <allan@archlinux.org>
8161
dd804818
AM
8162 * po/libc.pot: Regenerated.
8163
79c1e109
AM
8164 * malloc/memusagestat.c: Fix gettext call formatting.
8165
0c813d1f
SK
81662014-01-04 Sami Kerola <kerolasa@iki.fi>
8167
8168 * nscd/nscd.c: Improve usage() output.
8169
20f4a8d9
MF
81702014-01-04 Mike Frysinger <vapier@gentoo.org>
8171
8172 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8173 * sysdeps/unix/sysv/linux/configure: Regenerated.
8174 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8175 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8176
22562bb2
JM
81772014-01-03 Joseph Myers <joseph@codesourcery.com>
8178
8179 [BZ #16390]
8180 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8181 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8182
d7ad2d9b
AZ
81832014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8184
8185 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8186 extra tokens at end of #undef directive.
8187 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8188 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8189 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8190
7dd009d8
JM
81912014-01-03 Joseph Myers <joseph@codesourcery.com>
8192
24db925a
JM
8193 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8194
7dd009d8
JM
8195 * math/auto-libm-test-in: Mark various tests with
8196 xfail-rounding:ldbl-128ibm.
8197 * math/auto-libm-test-out: Regenerated.
8198
396e3ecf
JM
81992014-01-02 Joseph Myers <joseph@codesourcery.com>
8200
819e5d50
JM
8201 [BZ #16386]
8202 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8203 numbers with subnormal high part when calculating exponent.
8204
90b6a1e5
JM
8205 [BZ #16385]
8206 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8207 fabs.
8208
396e3ecf
JM
8209 [BZ #16384]
8210 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8211 M_LN2l.
8212 (__ieee754_acoshl): Use __log1pl not __log1p.
8213
6c8dbf00
OB
82142013-01-02 Ondřej Bílka <neleai@seznam.cz>
8215
57f41c40
AS
8216 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8217 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8218 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8219 (grow_heap, heap_trim, _int_new_arena, get_free_list)
8220 (reused_arena, arena_get2): Convert to GNU style.
8221 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8222 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8223 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 8224 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
8225 * malloc/malloc.c (__malloc_assert, malloc_init_state)
8226 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8227 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8228 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8229 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8230 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 8231 * malloc/malloc.h: Likewise.
57f41c40
AS
8232 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8233 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 8234 * malloc/mcheck.h: Likewise.
57f41c40
AS
8235 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8236 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
8237 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8238 * malloc/morecore.c (__default_morecore): Likewise.
8239 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
8240 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8241 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8242 (print_and_abort): Likewise.
6c8dbf00
OB
8243 * malloc/obstack.h: Likewise.
8244 * malloc/set-freeres.c (__libc_freeres): Likewise.
8245 * malloc/tst-mallocstate.c (main): Likewise.
8246 * malloc/tst-mtrace.c (main): Likewise.
8247 * malloc/tst-realloc.c (do_test): Likewise.
8248
d4124212
SP
82492013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8250
9a3c6a6f
SP
8251 [BZ #16366]
8252 * nscd/netgroupcache.c (do_notfound): New function.
8253 (addgetnetgrentX): Use it.
8254
d4124212
SP
8255 [BZ # 16365]
8256 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8257 NSS_STATUS_NOTFOUND.
8258
97b9a009
JM
82592014-01-01 Joseph Myers <joseph@codesourcery.com>
8260
8261 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8263
d4697bc9
AM
82642014-01-01 Allan McRae <allan@archlinux.org>
8265
ddb3687f
AM
8266 * scripts/update-copyrights: Update configure input file suffix.
8267
88726d48
AM
8268 * NEWS: Update copyright year.
8269 * catgets/gencat.c: Likewise.
8270 * csu/version.c: Likewise.
8271 * debug/catchsegv.sh: Likewise.
8272 * debug/pcprofiledump.c: Likewise.
8273 * debug/xtrace.sh: Likewise.
8274 * elf/ldconfig.c: Likewise.
8275 * elf/ldd.bash.in: Likewise.
8276 * elf/pldd.c: Likewise.
8277 * elf/sotruss.ksh: Likewise.
8278 * elf/sprof.c: Likewise.
8279 * iconv/iconv_prog.c: Likewise.
8280 * iconv/iconvconfig.c: Likewise.
8281 * locale/programs/locale.c: Likewise.
8282 * locale/programs/localedef.c: Likewise.
8283 * login/programs/pt_chown.c: Likewise.
8284 * malloc/memusage.sh: Likewise.
8285 * malloc/memusagestat.c: Likewise.
8286 * malloc/mtrace.pl: Likewise.
8287 * manual/libc.texinfo: Likewise.
8288 * nscd/nscd.c: Likewise.
8289 * nss/getent.c: Likewise.
8290 * nss/makedb.c: Likewise.
8291 * posix/getconf.c: Likewise.
8292 * scripts/test-installation.pl: Likewise.
8293
d4697bc9
AM
8294 * All files with FSF copyright notices: Update copyright dates
8295 using scripts/update-copyrights.
8296 * intl/plural.c: Regenerated.
8297 * locale/programs/charmap-kw.h: Likewise.
8298 * locale/programs/locfile-kw.h: Likewise.
8299
c8590f9d
MF
83002013-12-31 Mike Frysinger <vapier@gentoo.org>
8301
8302 * sysdeps/unix/sysv/linux/configure: Regenerated.
8303 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8304 the linux/fanotify.h header.
8305 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8306 HAVE_LINUX_FANOTIFY_H is defined.
8307
b19221b9
SP
83082013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8309
dd1d85e5
SP
8310 * benchtests/cos-inputs: New inputs.
8311 * benchtests/sin-inputs: Likewise.
8312
1acbb90f
SP
8313 * benchtests/atan-inputs: New inputs. Fix name of multiple
8314 precision fallback inputs.
8315
4c012ed3
SP
8316 * benchtests/atanh-inputs: New inputs.
8317 * benchtests/tanh-inputs: Likewise.
8318
eff98324
SP
8319 * benchtests/acosh-inputs: New inputs.
8320 * benchtests/asinh-inputs: Likewise.
8321
ce641152
SP
8322 * benchtests/cosh-inputs: New inputs.
8323 * benchtests/sinh-inputs: Likewise.
8324
b19221b9
SP
8325 * benchtests/acos-inputs: Add more inputs.
8326 * benchtests/asin-inputs: Likewise.
8327
030a4976 83282013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 8329
030a4976 8330 [BZ #16375]
9dcc8f11
VS
8331 * manual/arith.texi: Fix spelling.
8332 * manual/charset.texi: Likewise.
8333 * manual/errno.texi: Likewise.
8334 * manual/filesys.texi: Likewise.
8335 * manual/lang.texi: Likewise.
8336 * manual/llio.texi: Likewise.
8337 * manual/locale.texi: Likewise.
8338 * manual/message.texi: Likewise.
8339 * manual/resource.texi: Likewise.
8340 * manual/search.texi: Likewise.
8341 * manual/setjmp.texi: Likewise.
8342 * manual/stdio.texi: Likewise.
8343 * manual/string.texi: Likewise.
8344 * manual/sysinfo.texi: Likewise.
8345 * manual/time.texi: Likewise.
8346
11520a57
CD
83472013-12-27 Carlos O'Donell <carlos@redhat.com>
8348
8349 * po/sl.po: New file.
8350
471103ae
MF
83512013-12-27 Mike Frysinger <vapier@gentoo.org>
8352
8353 * .gitignore: Add core/.gdbinit/.gdb_history.
8354
6c9642ed
AM
83552013-12-27 Allan McRae <allan@archlinux.org>
8356
8357 [BZ #16369]
8358 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8359 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8360
3f637079
BM
83612013-12-24 Brooks Moses <bmoses@google.com>
8362
8363 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8364 all compilers that claim C++98 compliance, not just GCC.
8365 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8366 Likewise.
8367
abc26e99
MK
83682013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8369
8370 * NEWS: Restore accidentally deleted bug-fix entries.
8371
362b47fe
MK
83722013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8373 Ondřej Bílka <neleai@seznam.cz>
8374
8375 [BZ #15073]
8376 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 8377 have_lock.
362b47fe 8378
b9bcbbcb
OB
83792013-12-23 Ondřej Bílka <neleai@seznam.cz>
8380
8381 [BZ #12986]
8382 * manual/stdio.texi (String Input Conversions): Clarify that character
8383 classes are not supported.
8384
fb55fcd2
AZ
83852013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8386
8387 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8388
ef7344f0
JM
83892013-12-22 Joseph Myers <joseph@codesourcery.com>
8390
4f40e4b3
JM
8391 [BZ #16337]
8392 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8393 Calculate results for small negative arguments directly rather
8394 than using reflection formula with special underflow handling.
8395
ef7344f0
JM
8396 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8397 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8398 sysdeps/unix/bsd/bsd4.4/syscalls.list.
8399 (fchflags): Likewise.
8400 (revoke): Likewise.
8401 (setlogin): Likewise.
8402 (sigaltstack): Likewise.
8403 (wait4): Likewise.
8404 (sigblock): Remove.
8405 (sigsetmask): Likewise.
8406 (wait3): Likewise.
8407 (waitpid): Likewise.
8408 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8409 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8410 file.
8411 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8412 * sysdeps/unix/bsd/Makefile: ... here.
8413 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8414 * sysdeps/unix/bsd/Versions: ... here.
8415 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8416 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8417 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8418 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8419 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8420 * sysdeps/unix/bsd/sigblock.c: ... here.
8421 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8422 * sysdeps/unix/bsd/sigsetmask.c: ... here.
8423 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8424 * sysdeps/unix/bsd/sigvec.c: ... here.
8425 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8426 * sysdeps/unix/bsd/tcdrain.c: ... here.
8427 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8428 * sysdeps/unix/bsd/tcgetattr.c: ... here.
8429 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8430 * sysdeps/unix/bsd/tcsetattr.c: ... here.
8431 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8432 * sysdeps/unix/bsd/wait.c: ... here.
8433 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8434 * sysdeps/unix/bsd/wait3.c: ... here.
8435 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8436 * sysdeps/unix/bsd/waitpid.c: ... here.
8437
5b0626b9
JM
84382013-12-21 Joseph Myers <joseph@codesourcery.com>
8439
8440 [BZ #16356]
8441 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8442 round-to-nearest for [!USE_AS_EXPM1L].
8443 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8444 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
8445 more tests of exp and exp10. Expect some exp10 tests to miss
8446 exceptions or fail in directed rounding modes.
8447 * math/auto-libm-test-out: Regenerated.
8448 * math/libm-test.inc (exp10_tonearest_test_data): New array.
8449 (exp10_test_tonearest): New function.
8450 (exp10_towardzero_test_data): New array.
8451 (exp10_test_towardzero): New function.
8452 (exp10_downward_test_data): New array.
8453 (exp10_test_downward): New function.
8454 (exp10_upward_test_data): New array.
8455 (exp10_test_upward): New function.
8456 (main): Call the new functions.
8457 * sysdeps/i386/fpu/libm-test-ulps: Update.
8458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8459
7fda5682
JM
84602013-12-20 Joseph Myers <joseph@codesourcery.com>
8461
31e3a405
JM
8462 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8463 asinh, atan, atan2, atanh, cbrt, cos and cosh.
8464 * math/auto-libm-test-out: Regenerated.
8465 * math/libm-test.inc (acosh_test_data): Add more tests.
8466 (atanh_test_data): Likewise.
8467 (ceil_test_data): Likewise.
8468 (copysign_test_data): Likewise.
8469 * sysdeps/i386/fpu/libm-test-ulps: Update.
8470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8471
85bff96a
JM
8472 * timezone/checktab.awk: Update from tzcode 2013i.
8473 * timezone/private.h: Likewise.
8474 * timezone/scheck.c: Likewise.
8475 * timezone/tzfile.h: Likewise.
8476 * timezone/tzselect.ksh: Likewise.
8477 * timezone/zdump.c: Likewise.
8478 * timezone/zic.c: Likewise.
8479
b7867a3b
JM
8480 * math/auto-libm-test-in: Add tests of cpow.
8481 * math/auto-libm-test-out: Regenerated.
8482 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 8483 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
8484 mpc_cc_c.
8485 (func_calc_desc): Add mpc_cc_c union field.
8486 (test_functions): Add cpow.
8487 (special_fill_2pi): New function.
8488 (special_real_inputs): Add 2pi.
8489 (calc_generic_results): Handle mpc_cc_c.
8490 * sysdeps/i386/fpu/libm-test-ulps: Update.
8491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8492
7fda5682
JM
8493 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
8494 csqrt, ctan and ctanh.
8495 * math/auto-libm-test-out: Regenerated.
8496 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8497 (TEST_COND_x86): Likewise.
8498 (ccos_test_data): Use AUTO_TESTS_c_c.
8499 (ccosh_test_data): Likewise.
8500 (cexp_test_data): Likewise.
8501 (clog_test_data): Likewise.
8502 (csqrt_test_data): Likewise.
8503 (ctan_test_data): Likewise.
8504 (ctan_tonearest_test_data): Likewise.
8505 (ctan_towardzero_test_data): Likewise.
8506 (ctan_downward_test_data): Likewise.
8507 (ctan_upward_test_data): Likewise.
8508 (ctanh_test_data): Likewise.
8509 (ctanh_tonearest_test_data): Likewise.
8510 (ctanh_towardzero_test_data): Likewise.
8511 (ctanh_downward_test_data): Likewise.
8512 (ctanh_upward_test_data): Likewise.
8513 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8514 mpc_c_c.
8515 (func_calc_desc): Add mpc_c_c union field.
8516 (FUNC_mpc_c_c): New macro.
8517 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
8518 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
8519 ctanh.
8520 (special_fill_min_subnorm_p120): New function.
8521 (special_real_inputs): Add min_subnorm_p120.
8522 (calc_generic_results): Handle mpc_c_c.
8523 * sysdeps/i386/fpu/libm-test-ulps: Update.
8524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8525
5ff8d60e
SP
85262013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8527
57f41c40
AS
8528 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
8529 (do_sin_slow): New functions.
8530 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
8531 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 8532
84ba214c
SP
8533 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
8534 Use M to change sign of result instead of X. Assume X is
8535 positive.
8536 (csloww1): Likewise.
8537 (__sin): Adjust.
8538 (__cos): Adjust.
8539
975195e4
SP
8540 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
8541 arguments A and DA.
8542 (__sin): Adjust.
8543 (__cos): Likewise.
8544
5ff8d60e
SP
8545 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
8546 (__cos): Likewise.
8547 (sloww1): Don't adjust sign of DX.
8548 (csloww1): Likewise.
8549 (sloww2): Use X directly and don't adjust sign of DX.
8550 (csloww2): Likewise.
8551
eb983568
JM
85522013-12-19 Joseph Myers <joseph@codesourcery.com>
8553
64a17f1a
JM
8554 * math/auto-libm-test-in: Add tests of cabs and carg.
8555 * math/auto-libm-test-out: Regenerated.
8556 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
8557 (carg_test_data): Likewise.
8558 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8559 mpc_c_f.
8560 (func_calc_desc): Add mpc_c_f union field.
8561 (test_functions): Add cabs and carg.
8562 (calc_generic_results): Handle mpc_c_f.
8563
eb983568
JM
8564 * sysdeps/powerpc/powerpc32/libgcc-compat.S
8565 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
8566 as a macro and a compat symbol.
8567 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8568 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8569 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8570 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8571 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
8572 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
8573 not use .hidden.
8574 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
8575 Likewise.
8576 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
8577 Likewise.
8578 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
8579 Likewise.
8580 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
8581 Likewise.
8582 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
8583 Likewise.
8584 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
8585 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
8586 from GLIBC_2.3.2.
8587
6eeb678a
AZ
85882013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8589
8590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8591
6f6fc482
JM
85922013-12-19 Joseph Myers <joseph@codesourcery.com>
8593
21fea2e2
JM
8594 * manual/texinfo.tex: Update to version 2013-11-26.10 with
8595 trailing whitespace removed.
8596 * scripts/config.guess: Update to version 2013-11-29.
8597 * scripts/config.sub: Update to version 2013-10-01.
8598
6f6fc482
JM
8599 * math/auto-libm-test-in: Add tests of sincos.
8600 * math/auto-libm-test-out: Regenerated.
8601 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
8602 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8603 mpfr_f_11.
8604 (func_calc_desc): Add mpfr_f_11 union field.
8605 (test_functions): Add sincos.
8606 (calc_generic_results): Handle mpfr_f_11.
8607 * sysdeps/i386/fpu/libm-test-ulps: Update.
8608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8609
83f5c32d
AS
86102013-12-19 Andreas Schwab <schwab@suse.de>
8611
8612 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
8613 CALL_MCOUNT.
8614 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8615 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
8616 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
8617
c688b419
JM
86182013-12-19 Joseph Myers <joseph@codesourcery.com>
8619
335ee092
JM
8620 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
8621 * sysdeps/i386/fpu/libm-test-ulps: Update.
8622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8623
f88acd39
JM
8624 [BZ #16293]
8625 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
8626 round-to-nearest mode when using frndint.
8627 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
8628 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8629 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8630 Likewise.
8631 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
8632 sinh test to fail.
8633 * math/auto-libm-test-out: Regenerated.
8634 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
8635 (TEST_COND_x86): Likewise.
8636 (expm1_tonearest_test_data): New array.
8637 (expm1_test_tonearest): New function.
8638 (expm1_towardzero_test_data): New array.
8639 (expm1_test_towardzero): New function.
8640 (expm1_downward_test_data): New array.
8641 (expm1_test_downward): New function.
8642 (expm1_upward_test_data): New array.
8643 (expm1_test_upward): New function.
8644 (main): Run the new test functions.
8645 * sysdeps/i386/fpu/libm-test-ulps: Update.
8646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8647
c688b419
JM
8648 * include/features.h: Update comment documenting feature test
8649 macros. Mention _DEFAULT_SOURCE in comment.
8650 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
8651 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
8652 _BSD_SOURCE and _SVID_SOURCE.
8653 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
8654 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
8655 !_SVID_SOURCE]: Likewise.
8656 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8657 (__USE_POSIX_IMPLICITLY): Define.
8658 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8659 (_POSIX_SOURCE): Undefine and redefine.
8660 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8661 (_POSIX_C_SOURCE): Likewise.
8662 * manual/creature.texi (_DEFAULT_SOURCE): Document.
8663 (Feature Test Macros): Update documentation of default features.
8664
9f6e964c
RS
86652013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8666
8667 * benchtests/Makefile: Add bench-strtok.
8668 * benchtests/bench-strtok.c: New file: strtok benchtest.
8669
ee0a148a
AM
86702013-12-19 Allan McRae <allan@archlinux.org>
8671
8672 * manual/install.texi: Suppress menu for plain text output.
8673 * INSTALL: Regenerated.
8674
b9ab448f
BM
86752013-12-18 Brooks Moses <bmoses@google.com>
8676
8677 [BZ #15846]
8678 * misc/getauxval.c: Include errno.h.
8679 (__getauxval): Set errno to ENOENT if the requested type is not
8680 found.
8681 * misc/sys/auxv.h (getauxval): Document that it may set errno;
8682 don't declare with __attribute_const__.
8683 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
8684 * manual/startup.texi: Document that getauxval sets errno.
8685
23776487
JM
86862013-12-18 Joseph Myers <joseph@codesourcery.com>
8687
f889953b
JM
8688 * math/auto-libm-test-in: Add tests of jn and yn.
8689 * math/auto-libm-test-out: Regenerated.
8690 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
8691 (yn_test_data): Likewise.
8692 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8693 mpfr_if_f.
8694 (func_calc_desc): Add mpfr_if_f union field.
8695 (FUNC_mpfr_if_f): New macro.
8696 (test_functions): Add jn and yn.
8697 (calc_generic_results): Assert type of second input for
8698 mpfr_ff_f. Handle mpfr_if_f.
8699 (output_for_one_input_case): Disable all checking for arguments
8700 fitting floating-point types in case of an integer argument.
8701 * sysdeps/i386/fpu/libm-test-ulps: Update.
8702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8703
23776487
JM
8704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8705 Don't expect fegetround reference in libm.so.
8706
cb756c6d
MS
87072013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8708
8709 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
8710 $(config-cflags-nofma).
8711
2dec468f
JM
87122013-12-18 Joseph Myers <joseph@codesourcery.com>
8713
5953eb3a
JM
8714 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
8715 * math/auto-libm-test-out: Regenerated.
8716
2dec468f
JM
8717 [BZ #16338]
8718 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
8719 to determine exponent and adjust argument to have exponent of -1.
8720 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8721 log2.
8722 * math/auto-libm-test-out: Regenerated.
8723 * sysdeps/i386/fpu/libm-test-ulps: Update.
8724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8725
4d84e6ad
OB
87262013-12-18 Ondřej Bílka <neleai@seznam.cz>
8727
8728 * manual/probes.texi: Remove cases when per-thread arenas are
8729 disabled.
8730
1818483b
AS
87312013-12-18 Andreas Schwab <schwab@suse.de>
8732
8733 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
8734 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
8735 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
8736 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
8737 * sysdeps/i386/i686/multiarch/Makefile: Update.
8738 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
8739
25de95bf
JM
87402013-12-17 Joseph Myers <joseph@codesourcery.com>
8741
8742 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
8743 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8744
674762d9
PE
87452013-12-17 Paul Eggert <eggert@cs.ucla.edu>
8746
ed27ed83 8747 [BZ #15968]
0748546f
PE
8748 Support TZ transition times < 00:00:00.
8749 This is needed for version-3 tz-format files; it supports time
8750 stamps past 2037 for America/Godthab (the only entry in the tz
8751 database for which this change is relevant).
8752 * manual/time.texi (TZ Variable): Document transition times
8753 from -167:59:59 through -00:00:01.
8754 * time/tzset.c (tz_rule): Time of day is now signed.
8755 (__tzset_parse_tz): Parse negative time of day.
8756
4480e934
PE
8757 Document TZ transition times >= 25:00:00.
8758 * manual/time.texi (TZ Variable): Document transition times from
8759 25:00:00 through 167:59:59. These are already supported, and this
8760 support will help with version-3 tz-format files.
8761
69947401
PE
8762 * manual/time.texi (TZ Variable): Modernize North America example
8763 to reflect current (i.e., 2007-and-later) daylight saving rules.
8764
674762d9
PE
8765 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
8766
7011c262
JM
87672013-12-17 Joseph Myers <joseph@codesourcery.com>
8768
2fc6557e
JM
8769 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
8770 * sysdeps/unix/bsd/bits/stat.h: Likewise.
8771 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
8772 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8773 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
8774 * sysdeps/unix/bsd/bsdstat.h: Likewise.
8775 * sysdeps/unix/bsd/clock.c: Likewise.
8776 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
8777 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
8778 * sysdeps/unix/bsd/init-posix.c: Likewise.
8779 * sysdeps/unix/bsd/poll.c: Likewise.
8780 * sysdeps/unix/bsd/ptsname.c: Likewise.
8781 * sysdeps/unix/bsd/seekdir.c: Likewise.
8782 * sysdeps/unix/bsd/setegid.c: Likewise.
8783 * sysdeps/unix/bsd/seteuid.c: Likewise.
8784 * sysdeps/unix/bsd/setgid.c: Likewise.
8785 * sysdeps/unix/bsd/setrgid.c: Likewise.
8786 * sysdeps/unix/bsd/setruid.c: Likewise.
8787 * sysdeps/unix/bsd/setsid.c: Likewise.
8788 * sysdeps/unix/bsd/setuid.c: Likewise.
8789 * sysdeps/unix/bsd/sigaction.c: Likewise.
8790 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
8791 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
8792 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8793 * sysdeps/unix/bsd/telldir.c: Likewise.
8794 * sysdeps/unix/bsd/times.c: Likewise.
8795 * sysdeps/unix/bsd/usleep.c: Likewise.
8796
029c7b25
JM
8797 * misc/Makefile (install-lib): Remove libbsd-compat.a.
8798 ($(objpfx)libbsd-compat.a): Remove rule.
8799
7011c262
JM
8800 * include/features.h (__FAVOR_BSD): Do not define.
8801 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
8802 features conflicting with POSIX.
8803 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
8804 (_BSD_SOURCE): Remove description of not being a subset of other
8805 feature test macros.
8806 * manual/job.texi (getpgrp): Do not document BSD version.
8807 (getpgid): Do not document by reference to BSD getpgrp.
8808 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
8809 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
8810 * signal/signal.h [__FAVOR_BSD]: Likewise.
8811 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
8812 instead of making contents conditional on [__FAVOR_BSD].
8813 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
8814
affb6f78
AZ
88152013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8816
8817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8818
c88769dd
JM
88192013-12-17 Joseph Myers <joseph@codesourcery.com>
8820
6432a540
JM
8821 [BZ #16314]
8822 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
8823 values below 2**-450, not 2**-500.
8824 * math/auto-libm-test-in: Don't allow spurious underflow from
8825 hypot.
8826 * math/auto-libm-test-out: Regenerated.
8827
c88769dd
JM
8828 [BZ #16316]
8829 [BZ #16330]
8830 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
8831 values of ha and hb and sort them after adjusting subnormal
8832 arguments.
8833 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8834 Likewise.
8835 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
8836 values of ea and eb and sort them after adjusting subnormal
8837 arguments.
8838 * math/auto-libm-test-in: Do not expect some hypot tests of
8839 subnormals to fail. Add more hypot tests.
8840 * math/auto-libm-test-out: Regenerated.
8841
29618f6b
KK
88422013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8843
8844 [BZ #13304]
8845 * sysdeps/sh/s_fma.c: New file.
8846 * sysdeps/sh/s_fmaf.c: New file.
8847 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
8848 version.
8849 * sysdeps/sh/Implies: Add sh/soft-fp.
8850
eacfdfbf
RM
88512013-12-16 Roland McGrath <roland@hack.frob.com>
8852
8853 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
8854 level of indirection to members `objname', `errstring', `malloced'.
8855 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
8856 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
8857 it as the __longjmp argument (just pass 1 instead).
8858 (_dl_catch_error): Initialize C with argument pointers and address of
8859 volatile local ERRCODE rather than copying values out of C at return.
8860
ff362e5b
JM
88612013-12-16 Joseph Myers <joseph@codesourcery.com>
8862
8863 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
8864 * math/auto-libm-test-out: Regenerated.
8865 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
8866 (hypot_test_data): Likewise.
8867 (pow_test_data): Likewise.
8868 (pow_tonearest_test_data): Likewise.
8869 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8870 mpfr_ff_f.
8871 (func_calc_desc): Add mpfr_ff_f union field.
8872 (FUNC_mpfr_ff_f): New macro.
8873 (test_functions): Add atan2, hypot and pow.
8874 (special_fill_min): New function.
8875 (special_fill_minus_min): Likewise.
8876 (special_fill_min_subnorm): Likewise.
8877 (special_fill_minus_min_subnorm): Likewise.
8878 (special_real_inputs): Add min, -min, min_subnorm and
8879 -min_subnorm.
8880 (calc_generic_results): Handle mpfr_ff_f.
8881 * sysdeps/i386/fpu/libm-test-ulps: Update.
8882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8883
5764c27f
WN
88842013-12-16 Will Newton <will.newton@linaro.org>
8885
8886 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
8887 (Aligned Memory Blocks): Add documentation for aligned_alloc
8888 and suggest it as an alternative to posix_memalign.
8889 (Hooks for Malloc): Document __memalign_hook is also called
8890 for aligned_alloc. (Summary of Malloc): Add summary for
8891 aligned alloc. Document __memalign_hook is also called
8892 for aligned_alloc.
8893
0a096e44
WN
88942013-12-16 Will Newton <will.newton@linaro.org>
8895
8896 * manual/memory.texi (Malloc Examples): Clarify default
8897 alignment documentation. Suggest posix_memalign rather
8898 than memalign or valloc.
8899 (Aligned Memory Blocks): Remove suggestion to use memalign
8900 or valloc. Remove obsolete comment about BSD.
8901 Document memalign errno values and mark the function obsolete.
8902 Document posix_memalign returned error codes. Mark valloc
8903 as obsolete. (Hooks for Malloc): __memalign_hook is also
8904 called for posix_memalign and valloc.
8905 (Summary of Malloc): Add posix_memalign to function summary.
8906 __memalign_hook is also called for posix_memalign and valloc.
8907
8d561986
SP
89082013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8909
8910 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
8911 TAYLOR_SIN.
8912 (__sin): Adjust.
8913 (__cos): Likewise.
8914 (sloww): Use mynumber union. Expand ternary operator into
8915 if-else statements.
8916 (cslow): use mynumber union.
8917
73616a74
AM
89182013-12-16 Allan McRae <allan@archlinux.org>
8919
9e8ac24b
AM
8920 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
8921 * configure: Regenerated.
8922
6f8e37eb
AM
8923 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
8924
8894bad3
AM
8925 [BZ #14120]
8926 * configure.ac: Added --enable-maintainer-mode. Check for
8927 autoconf when enabled.
8928 * configure: Regenerated.
8929
73616a74
AM
8930 * nscd/nscd.service: New file.
8931 * nscd/nscd.tmpfiles: New file.
8932
584b18eb
OB
89332013-12-14 Ondřej Bílka <neleai@seznam.cz>
8934
8935 [BZ #12100]
8936 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
8937 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
8938 * sysdeps/x86_64/multiarch/strstr.c: ... here.
8939 (strstr): Add __strstr_sse2_unaligned ifunc.
8940 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
8941 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
8942 (strcasestr): Remove __strcasestr_sse42 ifunc.
8943 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
8944 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8945 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8946
8a5c7897
KK
89472013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8948
8949 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
8950 * sysdeps/sh/bits/fenv.h: ... here.
8951 * sysdeps/sh/sh4/fpu/bits: Remove directory.
8952
fd712ef3
AZ
89532013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8954
8955 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
8956
42fcb46c
AZ
8957 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
8958 hypotf multiarch implementations.
8959 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
8960 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
8961 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
8962 multiarch hypot for PPC64.
8963 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
8964 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
8965 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
8966 multiarch hypotf for PPC64.
8967
83efded4
AZ
8968 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
8969 modff multiarch implementations.
8970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
8971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
8972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
8973 multiarch modf for PPC64.
8974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
8975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
8976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
8977 multiarch modff for PPC64.
8978
43e246d2
AZ
8979 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
8980 and logl multiarch implementations.
8981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
8982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
8983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
8984 multiarch logb for PPC64.
8985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
8986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
8987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
8988 multiarch logb for PPC64.
8989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
8990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
8991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
8992 multiarch logb for PPC64.
8993
8fdad123
AZ
8994 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
8995 isinff multiarch implementation.
8996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
8997 file.
8998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
8999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9000 multiarch isinf for PPC64.
9001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9002 file.
9003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9004 multiarch isinff for PPC64.
9005
1481d706
AZ
9006 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9007 finitef multiarch implementation.
9008 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9009 file.
9010 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9012 multiarch finite for PPC64.
9013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9014 file.
9015 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9016 multiarch finitef for PPC64.
9017
5ccd5fc8
AZ
9018 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9019 lrint multiarch implementation.
9020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9021 file.
9022 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9024 multiarch llrint for PPC64.
9025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9026 multiarch lrint for PPC64.
9027
2568f3fa
AZ
9028 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9029 copysignf multiarch implementation.
9030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9031 file.
9032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9033 file.
9034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9035 multiarch copysign for PPC64.
9036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9037 multiarch copysignf for PPC64.
9038
1cb341fd
AZ
9039 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9040 multiarch implementation.
9041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9042 file.
9043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9044 file.
9045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9046 file.
9047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9048 file.
9049 multiarch llround for PPC64.
9050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9051 multiarch trunc for PPC64.
9052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9053 multiarch truncf for PPC64.
9054
59a3e194
AZ
9055 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9056 multiarch implementation.
9057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9058 file.
9059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9060 file.
9061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9062 file.
9063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9064 file.
9065 multiarch llround for PPC64.
9066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9067 multiarch round for PPC64.
9068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9069 multiarch roundf for PPC64.
9070
357fd3b4
AZ
9071 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9072 multiarch implementation.
9073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9074 file.
9075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9076 file.
9077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9078 file.
9079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9080 file.
9081 multiarch llround for PPC64.
9082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9083 multiarch floor for PPC64.
9084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9085 multiarch floorf for PPC64.
9086
96770f12
AZ
9087 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9088 multiarch implementation.
9089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9090 file.
9091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9092 file.
9093 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9094 file.
9095 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9096 file.
9097 multiarch llround for PPC64.
9098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9099 multiarch ceil for PPC64.
9100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9101 multiarch ceilf for PPC64.
9102
c3627f6e
AZ
9103 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9104 multiarch implementation.
9105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9106 file.
9107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9108 file.
9109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9110 file.
9111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9112 multiarch llround for PPC64.
9113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9114 multiarch lround for PPC64.
9115
b2284ad7
AZ
9116 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9117 multiarch implementation.
9118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9121 file.
9122 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9125 multiarch isnan for PPC64.
9126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9127 multiarch isnanf for PPC64.
9128
69bbc63d
AZ
9129 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9130 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9131 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9132 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9133 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9135
c24517c9
AZ
9136 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9137 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9138 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9139 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9140
a52374e8
AZ
9141 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9142 multiarch implementations.
9143 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9144 (__libc_ifunc_impl_list): Likewise.
9145 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9146 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9147 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9148 multiarch stpcpy for PPC64.
9149
7f5ec113
AZ
9150 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9151 multiarch implementations.
9152 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9153 (__libc_ifunc_impl_list): Likewise.
9154 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9155 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9156 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9157 multiarch strcpy for PPC64.
9158
e28bcd42
AZ
9159 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9160 redefine function name.
9161 (_wordcopy_fwd_dest_aligned): Likewise.
9162 (_wordcopy_bwd_aligned): Likewise.
9163 (_wordcopy_bwd_dest_aligned): Likewise.
9164 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9165 multiarch implementations.
9166 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9167 (__libc_ifunc_impl_list): Likewise.
9168 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9169 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9170 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9171 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9172 multiarch wcscpy for PPC64.
9173
92cacfce
AZ
9174 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9175 multiarch implementations.
9176 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9177 (__libc_ifunc_impl_list): Likewise.
9178 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9179 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9180 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9181 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9182 multiarch wcscpy for PPC64.
9183
7b714620
AZ
9184 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9185 multiarch implementations.
9186 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9187 (__libc_ifunc_impl_list): Likewise.
9188 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9189 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9190 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9191 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9192 multiarch wcsrchr for PPC64.
9193
16fd2ae3
AZ
9194 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9195 multiarch implementations.
9196 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9197 (__libc_ifunc_impl_list): Likewise.
9198 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9199 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9200 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9201 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9202 multiarch wcschr for PPC64.
9203
9ee2969b
AZ
9204 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9205 multiarch implementations.
9206 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9207 (__libc_ifunc_impl_list): Likewise.
9208 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9209 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9210 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9211 multiarch strchrnul for PPC64.
9212
372dc060
AZ
9213 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9214 implementations.
9215 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9216 (__libc_ifunc_impl_list): Likewise.
9217 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9218 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9219 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9220 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9221 strchr for PPC64.
9222
24c2c3b9
AZ
9223 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9224 implementations.
9225 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9226 (__libc_ifunc_impl_list): Likewise.
9227 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9228 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9229 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9230 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9231 strncmp for PPC64.
9232
1c92d9a0
AZ
9233 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9234 multiarch implementations.
9235 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9236 (__libc_ifunc_impl_list): Likewise.
9237 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9238 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9239 strncasecmp for PPC64.
9240 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9241 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9242 multiarch strncasecmp_l for PPC64.
9243
17de3ee3
AZ
9244 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9245 multiarch implementations.
9246 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9247 (__libc_ifunc_impl_list): Likewise.
9248 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9249 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9250 multiarch strcasecmp for PPC64.
9251 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9252 file.
9253 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9254 multiarch strcasecmp_l for PPC64.
9255
62982bf9
AZ
9256 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9257 implementations.
9258 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9259 (__libc_ifunc_impl_list): Likewise.
9260 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9261 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9262 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9263 strnlen for PPC64.
9264
a65f4904
AZ
9265 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9266 implementations.
9267 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9268 (__libc_ifunc_impl_list): Likewise.
9269 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9270 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9271 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9272 strlen for PPC64.
9273
1fd005ad
AZ
9274 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9275 implementations.
9276 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9277 (__libc_ifunc_impl_list): Likewise.
9278 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9279 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9280 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9281 rawmemrchr for PPC64.
9282
cd05ba91
AZ
9283 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9284 implementation.
9285 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9286 (__libc_ifunc_impl_list): Likewise.
9287 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9288 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9289 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9290 memrchr for PPC64.
9291
870f8676
AZ
9292 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9293 implementation.
9294 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9295 (__libc_ifunc_impl_list): Likewise.
9296 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9297 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9298 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9299 memchr for PPC64.
9300
f00be62b
AZ
9301 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9302 implementation.
9303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9304 (__libc_ifunc_impl_list): Likewise.
9305 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9306 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9307 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9308 mempcpy for PPC64.
9309
8a29a3d0
AZ
9310 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9311 avoid cretion of __bzero symbol.
9312 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9313 Likewise.
9314 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9315 Likewise.
9316 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9317 Likewise.
9318 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9319 multiarch implementations.
9320 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9321 (__libc_ifunc_impl_list): Likewise.
9322 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9323 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9324 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9325 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9326 bzero for PPC32.
9327 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9328 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9329 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9330 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9331 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9332 memset for PPC64.
9333 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9334
07253fcf
AZ
9335 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9336 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9337 implementations.
9338 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9339 (__libc_ifunc_impl_list): Likewise.
9340 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9341 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9342 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9343 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9344 memcmp for PPC64.
9345
b5beafbc
AZ
9346 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9347 multiarch for POWER/PPC64.
9348 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9349 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9350 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9351 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9352 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9353 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9354 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9355 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9356 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9357 memcpy for PPC64.
9358
5e6a4d4b
AZ
9359 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9360 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9361 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9362 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9363 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9364 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9365 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9366 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9367 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9368 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9369 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9370 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9371 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9372 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9373 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9381
ddfab6dc
KK
93822013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9383
9384 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9385
19b5525e
SP
93862013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9387
9388 * benchtests/Makefile (bench): Add exp2 and log2.
9389 (LDLIBS-bench-exp2): Add -lm.
9390 (LDLIBS-bench-log2): Likewise.
9391 * benchtests/exp2-inputs: New inputs file.
9392 * benchtests/log2-inputs: New inputs file.
9393 * benchtests/log-inputs: Add new inputs.
9394 * benchtests/tan-inputs: Likewise.
9395
196f7f5d
SP
93962013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9397
7a74607f
SP
9398 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9399 definition...
57f41c40
AS
9400 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9401 (csloww2): ... from here.
7a74607f 9402
196f7f5d
SP
9403 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9404 instead of structures.
9405 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9406 (POLYNOMIAL): Likewise.
9407 (TAYLOR_SLOW): Likewise.
9408 (__sin): Likewise.
9409 (__cos): Likewise.
9410 (slow1): Likewise.
9411 (slow2): Likewise.
9412 (sloww): Likewise.
9413 (sloww1); Likewise.
9414 (sloww2): Likewise.
9415 (bsloww1): Likewise.
9416 (bsloww2): Likewise.
9417 (cslow2): Likewise.
9418 (csloww): Likewise.
9419 (csloww1): Likewise.
9420 (csloww2): Likewise.
9421
0dfa665c
OB
94222013-12-10 Ondřej Bílka <neleai@seznam.cz>
9423
9424 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
9425 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9426 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
9427 * malloc/hooks.c (realloc_check): Likewise.
9428
5782a80f
OB
9429 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9430 * malloc/arena.c: Remove PER_THREAD conditional.
9431 [!PER_THREAD]: Remove code.
9432 (ptmalloc_unlock_all2): Likewise.
9433 (ptmalloc_init): Likewise.
9434 (_int_new_arena): Likewise.
9435 (arena_get2): Likewise.
9436 * malloc/hooks.c (__malloc_get_state): Likewise.
9437 (__malloc_set_state): Likewise.
9438 * malloc/malloc.c: Likewise.
9439 (struct malloc_state): Likewise.
9440 (struct malloc_par): Likewise.
9441 (__libc_realloc): Likewise.
9442 (__libc_mallopt): Likewise.
9443
aeb95445
AZ
94442013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9445
9446 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9447
e8349efd
OB
94482013-12-09 Ondřej Bílka <neleai@seznam.cz>
9449
9450 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9451 macro to a function. Check for zero perturb_byte.
9452 (_int_malloc, _int_free): Remove zero perturb_byte checks.
9453
f3eeb3fc 9454 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
9455 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9456 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
9457 force_reg by atomic_forced_read.
9458 * malloc/arena.c (ptmalloc_init): Likewise.
9459 * malloc/hooks.c (top_check): Likewise.
9460
be2f9009
AZ
94612013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9462
9463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9464
e7b914bd
MT
94652013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
9466
9467 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9468
9f0be4f8
JM
94692013-12-08 Joseph Myers <joseph@codesourcery.com>
9470
9471 * math/auto-libm-test-in: Add tests of lgamma.
9472 * math/auto-libm-test-out: Regenerated.
9473 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9474 (M_LOG_2_SQRT_PIl): Likewise.
9475 (lgamma_test_data): Use AUTO_TESTS_f_f1.
9476 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9477 mpfr_f_f1.
9478 (func_calc_desc): Add mpfr_f_f1 union field.
9479 (ARGS1): New macro.
9480 (ARGS2): Likewise.
9481 (ARGS3): Likewise.
9482 (ARGS4): Likewise.
9483 (RET1): Likewise.
9484 (RET2): Likewise.
9485 (CALC): Likewise.
9486 (FUNC): Likewise.
9487 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9488 (test_functions): Add lgamma.
9489 (calc_generic_results): Handle mpfr_f_f1.
9490 * sysdeps/i386/fpu/libm-test-ulps: Update.
9491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9492
24eeafdb
AZ
94932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9494
9495 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
9496 __mpn_add_n for PowerPC64/POWER7.
9497 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
9498 __mpn_sub_n for PowerPC64/POWER7.
9499
4a2c0fd4
AZ
9500 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
9501 __mpn_addmul_1 for PowerPC64.
9502 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
9503 __mpn_submul_1 for PowerPC64.
9504 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
9505 for PowerPC64.
9506 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
9507 for PowerPC64.
9508
4b5b548c
FS
95092013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
9510
9511 [BZ #15089]
9512 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
9513
0a3ac0aa
AZ
95142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9515
9516 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
9517
ccdc8438
AZ
9518 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
9519 add multiarch folders.
9520 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
9521 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
9522 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
9523 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
9524 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
9525 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
9526 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
9527 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
9528 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
9529 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
9530 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
9531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
9532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
9533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
9534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
9535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
9536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
9537
2e973d99
AZ
9538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9539 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
9540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
9541 New file.
9542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
9543 New file.
9544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
9545 multiarch __ieee754_hypot for PowerPC32.
9546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
9547 New file.
9548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
9549 New file.
9550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
9551 multiarch __ieee754_hypotf for PowerPC32.
9552
2d9470b2
AZ
9553 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
9554 long_double_symbol only if __logbl is defined.
9555 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
9556 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
9557 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
9558 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
9559 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
9560 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
9561 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
9562 path for implementation.
9563 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
9564 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
9565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
9566 logb, and logbl multiarch implementations for PowerPC32.
9567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
9568 file.
9569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
9570 file.
9571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
9572 multiarch logb for PowerPC32.
9573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
9574 file.
9575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
9576 file.
9577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
9578 multiarch logbf for PowerPC32.
9579 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
9580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
9581 file.
9582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
9583 multiarch logbl implementation for PowerPC32.
9584
5212ffce
AZ
9585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
9586 and modff multiarch implementations.
9587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
9588 New file.
9589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
9590 New file.
9591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
9592 multiarch modf for PowerPC32.
9593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
9594 New file.
9595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
9596 New file.
9597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
9598 multiarch modff for PowerPC32.
9599
79dccf31
AZ
9600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
9601 and lrintf multiarch implementations.
9602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
9603 New file.
9604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
9605 New file.
9606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
9607 multiarch lrint for PowerPC32.
9608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
9609 file: multiarch lrintf for PowerPC32.
9610
deb66480
AZ
9611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
9612 and lroundf multiarch implementations.
9613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
9614 New file.
9615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
9616 New file.
9617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
9618 New file.
9619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
9620 multiarch lround for PowerPC32.
9621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
9622 file: multiarch lroundf for PowerPC32.
9623
264b036b
AZ
9624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9625 copysign and copysignf multiarch implementations.
9626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
9627 New file.
9628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
9629 New file.
9630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
9631 file: multiarch copysign for PowerPC32.
9632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
9633 file: multiarch copysignf for PowerPC32.
9634
d47db6c9
AZ
9635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
9636 and truncf multiarch implementations.
9637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
9638 New file.
9639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
9640 file.
9641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
9642 multiarch trunc for PowerPC32.
9643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
9644 New file.
9645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
9646 New file.
9647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
9648 multiarch truncf for PowerPC32.
9649
ddb60b5a
AZ
9650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
9651 and roundf multiarch implementations.
9652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
9653 New file.
9654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
9655 file.
9656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
9657 multiarch round for PowerPC32.
9658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
9659 New file.
9660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
9661 New file.
9662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
9663 multiarch roundf for PowerPC32.
9664
bedcf49b
AZ
9665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
9666 and floorf multiarch implementations.
9667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
9668 New file.
9669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
9670 file.
9671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
9672 multiarch floor for PowerPC32.
9673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
9674 New file.
9675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
9676 New file.
9677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
9678 multiarch floorf for PowerPC32.
9679
35ae5b40
AZ
9680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
9681 and ceilf multiarch implementations.
9682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
9683 New file.
9684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
9685 file.
9686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
9687 multiarch ceil for PowerPC32.
9688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
9689 New file.
9690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
9691 file.
9692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
9693 multiarch ceilf for PowerPC32.
9694
ae1a4cd9
AZ
9695 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
9696 is defined.
9697 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
9698 FINITEF is defined.
9699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
9700 and finitef multiarch implementations.
9701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
9702 New file.
9703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
9704 file.
9705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
9706 multiarch finite for PowerPC32.
9707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
9708 New file.
9709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
9710 file: multiarch finitef for PowerPC32.
9711
64fffd65
AZ
9712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
9713 and isinff multiarch implementations.
9714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
9715 file.
9716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
9717 file.
9718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
9719 multiarch isinf for PowerPC32.
9720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
9721 New file.
9722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
9723 multiarch isinff for PowerPC32.
9724
8e4e7ba2
AZ
9725 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
9726 alias when __isnan is defined.
9727 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
9728 and isnanf multiarch implementations.
9729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
9730 file.
9731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
9732 file.
9733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
9734 file.
9735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
9736 file.
9737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
9738 multiarch isnan for PowerPC32.
9739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
9740 New file.
9741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
9742 New file.
9743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
9744 multiarch isnanf for PowerPC32.
9745
ddba588e
AZ
9746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
9747 and sqrtf multiarch implementations.
9748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
9749 file.
9750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
9751 file.
9752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
9753 multiarch sqrt for PowerPC32.
9754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
9755 file.
9756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
9757 file.
9758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
9759 multiarch sqrtf for PowerPC32.
9760
0f96a2f0
AZ
9761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
9762 and llroundf multiarch implementations.
9763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
9764 New file.
9765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
9766 New file.
9767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
9768 New file.
9769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
9770 file: multiarch llround for PowerPC32.
9771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
9772 file: multiarch llroundf for PowerPC32.
9773
c9b5d79e
AZ
9774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
9775 multiarch PowerPC32 fpu implementations.
9776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
9777 New file.
9778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
9779 New file.
9780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
9781 multiarch llrint for PowerPC32.
9782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
9783 New file.
9784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
9785 New file.
9786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
9787 file.
9788
9cbb3aab
AZ
9789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
9790
ea5a72f8
AZ
9791 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
9792 file.
9793 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
9794 file.
9795 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
9796 file.
9797 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
9798 multiarch wordcopy for PPC32.
9799 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9800 wordcopy objects.
9801 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9802 (__libc_ifunc_impl_list): Likewise.
9803 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
9804 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
9805 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
9806 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
9807 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
9808 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
9809
93be09e7
AZ
9810 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
9811 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
9812 file.
9813 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
9814 file.
9815 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
9816 file.
9817 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
9818 multiarch wcscpy for PPC32.
9819 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9820 multiarch objects.
9821 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9822 (__libc_ifunc_impl_list): Likewise.
9823 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9824 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9825 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
9826 sysdeps/powerpc/power6/wcscpy.c.
9827
bb04e529
AZ
9828 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
9829 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
9830 file.
9831 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
9832 file.
9833 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
9834 file.
9835 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
9836 multiarch wcsrchr for PPC32.
9837 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9838 multiarch objects.
9839 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9840 (__libc_ifunc_impl_list): Likewise.
9841 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9842 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9843 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
9844 sysdeps/powerpc/power6/wcsrchr.c.
9845
05b5cd1c
AZ
9846 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
9847 file.
9848 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
9849 file.
9850 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
9851 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
9852 multiarch wcschr for PPc32.
9853 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9854 multiarch objects.
9855 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9856 (__libc_ifunc_impl_list): Likewise.
9857 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
9858 * sysdeps/powerpc/power6/wcschr.c: ... to here.
9859 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
9860 sysdeps/powerpc/power6/wcschr.c.
9861
ba964147
AZ
9862 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
9863 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
9864 file.
9865 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
9866 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
9867 file: multiarch strchr for PPC32.
9868 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
9869 multiarch objects.
9870 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9871 (__libc_ifunc_impl_list): Likewise.
9872
31c81aaa
AZ
9873 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
9874 name.
9875 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
9876 file.
9877 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
9878 file.
9879 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
9880 multiarch strchrnul for PPC32.
9881 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
9882 multiarch objects.
9883 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9884 (__libc_ifunc_impl_list): Likewise.
9885
0d0607d9
AZ
9886 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
9887 file.
9888 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
9889 multiarch strncasecmp for PPC32.
9890 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
9891 file.
9892 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
9893 multiarch strncasecmp_l for PPC32.
9894 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
9895 strncasecmp multiarch objects.
9896 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9897 (__libc_ifunc_impl_list): Likewise.
9898
4dfd5c86
AZ
9899 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
9900 file.
9901 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
9902 multiarch strncasecmp for PPC32.
9903 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9904 New file.
9905 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
9906 multiarch strcasecmp_l for PPC32.
9907 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
9908 multiarch objects.
9909 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9910 (__libc_ifunc_impl_list): Likewise.
9911
a19e01a3
AZ
9912 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
9913 file.
9914 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
9915 file.
9916 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
9917 multiarch strncmp for PPC32.
9918 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
9919 multiarch objects.
9920 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9921 (__libc_ifunc_impl_list): Likewise.
9922
ae9cf7a2
AZ
9923 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
9924 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
9925 file.
9926 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
9927 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
9928 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
9929 multiarch objects.
9930 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9931 (__libc_ifunc_impl_list): Likewise.
9932
3148bb7d
AZ
9933 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
9934 file.
9935 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
9936 file.
9937 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
9938 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
9939 multiarch objects.
9940 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9941 (__libc_ifunc_impl_list): Likewise.
9942
7af8b946
AZ
9943 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
9944 file.
9945 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
9946 file.
9947 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
9948 multiarch rawmemchr for PPC32.
9949 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
9950 multiarch objects.
9951 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9952 (__libc_ifunc_impl_list): Likewise.
9953
03a6aa6a
AZ
9954 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
9955 file.
9956 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
9957 file.
9958 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
9959 file: memrchr multiarch for PPC32.
9960 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
9961 multiarch objects.
9962 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9963 (__libc_ifunc_impl_list): Likewise.
9964
1c62e6d9
AZ
9965 * string/memchr.c (__memchr): Using macro to redefine symbol name.
9966 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
9967 file.
9968 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
9969 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
9970 multiarch memchr for PPC32.
9971 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
9972 multiarch objects.
9973 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9974 (__libc_ifunc_impl_list): Likewise.
9975
87da8bdb
AZ
9976 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
9977 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
9978 file.
9979 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
9980 file.
9981 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
9982 file: multiarch mempcpy for PPC32.
9983 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
9984 multiarch objects.
9985 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9986 (__libc_ifunc_impl_list): Likewise.
9987
20ed4714
AZ
9988 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
9989 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
9990 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
9991 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
9992 multiarch bzero for PPC32.
9993 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
9994 file.
9995 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
9996 file.
9997 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
9998 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
9999 file: multiarch memset for PPC32.
10000 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10001 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10002 memset multiarch objects.
10003 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10004 (__libc_ifunc_impl_list): Likewise.
10005
ab3e3a46
AZ
10006 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10007 file.
10008 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10009 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10010 memcmp for PPC32.
10011 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10012 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10013 multiarch objects.
10014 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10015 (__libc_ifunc_impl_list): Likewise.
10016
930de6f0
AZ
10017 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10018 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10019 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10020 file.
10021 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10022 file.
10023 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10024 file.
10025 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10026 multiarch memcpy for PPC32.
10027 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10028 multiarch objects.
10029 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10030 (__libc_ifunc_impl_list): Likewise.
10031
4c628e00
AZ
10032 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10033 support multiarch for POWER/PPC32.
10034 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10035 Likewise.
10036 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10038 Implies file to make multiarch folder appers before the fpu and
10039 default folder for power4 configuration.
10040
f4479220
SP
100412013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10042
10043 * scripts/bench.pl: Append volatile keyword to type.
10044
8517800f
KK
100452013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10046
10047 * sysdeps/sh/sotruss-lib.c: New file.
10048 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10049
180138f1
AZ
100502013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10051
10052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10053
bbf37bdc
JM
100542013-12-05 Joseph Myers <joseph@codesourcery.com>
10055
e47cc4e0
JM
10056 [BZ #6810]
10057 * math/w_tgamma.c: Include <errno.h>.
10058 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
10059 * math/w_tgammaf.c: Include <errno.h>.
10060 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
10061 * math/w_tgammal.c: Include <errno.h>.
10062 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
10063 * math/auto-libm-test-in: Do not allow missing errno on tgamma
10064 underflow. Add more tgamma tests.
10065 * math/auto-libm-test-out: Regenerated.
10066 * sysdeps/i386/fpu/libm-test-ulps: Update.
10067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10068
bbf37bdc
JM
10069 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10070 sin, sinh, tan, tanh, tgamma, y0 and y1.
10071 * math/auto-libm-test-out: Regenerated.
10072 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10073 (TEST_COND_x86): Likewise.
10074 (M_E2l): Remove macro.
10075 (M_E3l): Likewise.
10076 (M_2_SQRT_PIl): Likewise.
10077 (M_SQRT_PIl): Likewise.
10078 (M_1_DIV_El): Likewise.
10079 (log_test_data): Use AUTO_TESTS_f_f.
10080 (log10_test_data): Likewise.
10081 (log1p_test_data): Likewise.
10082 (log2_test_data): Likewise.
10083 (sin_test_data): Likewise.
10084 (sin_tonearest_test_data): Likewise.
10085 (sin_towardzero_test_data): Likewise.
10086 (sin_downward_test_data): Likewise.
10087 (sin_upward_test_data): Likewise.
10088 (sinh_test_data): Likewise.
10089 (sinh_tonearest_test_data): Likewise.
10090 (sinh_towardzero_test_data): Likewise.
10091 (sinh_downward_test_data): Likewise.
10092 (sinh_upward_test_data): Likewise.
10093 (tan_test_data): Likewise.
10094 (tan_tonearest_test_data): Likewise.
10095 (tan_towardzero_test_data): Likewise.
10096 (tan_downward_test_data): Likewise.
10097 (tan_upward_test_data): Likewise.
10098 (tanh_test_data): Likewise.
10099 (tgamma_test_data): Likewise.
10100 (y0_test_data): Likewise.
10101 (y1_test_data): Likewise.
10102 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10103 (special_real_inputs): Add pi/4.
10104 * sysdeps/i386/fpu/libm-test-ulps: Update.
10105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10106
eb5ad6b9
AZ
101072013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10108
10109 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10110 "longjmp_target" static probes.
10111 (__longjmp): Rename to __longjmp_symbol.
10112 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10113 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10114 on which longjmp to generate.
10115 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10116 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10117 probe.
10118 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10119 (__sigjmp_save): Rename to __sigjmp_save_symbol.
10120 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10121 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10122 and __sigjmp_save_symbol based on which sigsetjmp to generated.
10123 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10125 __longjmp_symbol based on which __longjmp to generate.
10126 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10127 probe.
10128 (setjmp): Rename to setjmp_symbol.
10129 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10130 (_setjmp): Rename to _setjmp_symbol.
10131 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10132 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10133 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10134 which setjmp to generate.
10135 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10136 "longjmp_target" static probes.
10137
d136c6dc
SP
101382013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10139
9298ecba
SP
10140 * benchtests/README: Add note about output arguments.
10141 * benchtests/bench-sincos.c: Remove file.
10142 * benchtests/sincos-inputs: New file.
10143 * scripts/bench.pl: Identify output arguments and define
10144 static variables for them.
10145
232983e9
SP
10146 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10147
d136c6dc
SP
10148 [BZ #15941]
10149 * Makefile (INSTALL): Add install-plain.texi as the primary
10150 dependency.
10151 * manual/install-plain.texi: New file.
10152 * manual/install.texi: Include node directive only for
10153 non-plaintext output.
10154
699ff837
JM
101552013-12-04 Joseph Myers <joseph@codesourcery.com>
10156
ab07cea8
JM
10157 * stdlib/longlong.h: Update from GCC.
10158
699ff837
JM
10159 [BZ #6807]
10160 [BZ #15901]
10161 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10162 * math/w_j0f.c (y0f): Likewise.
10163 * math/w_j0l.c (__y0l): Likewise.
10164 * math/w_j1.c (y1): Likewise.
10165 * math/w_j1f.c (y1f): Likewise.
10166 * math/w_j1l.c (__y1l): Likewise
10167 * math/w_jn.c (yn): Likewise.
10168 * math/w_jnf.c (ynf): Likewise.
10169 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10170 Bessel function pole errors in _POSIX_ mode. Use NAN as return
10171 value for Bessel function domain errors outside _SVID_ mode.
10172 Adjust sign of return value for yn (negative integer, 0).
10173 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10174 by zero in return for negative x and set sign appropriately for
10175 negative n.
10176 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10177 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10178 * math/libm-test.inc (y0_test_data): Add more tests and adjust
10179 expectations in error cases.
10180 (y1_test_data): Likewise.
10181 (yn_test_data): Likewise.
10182 * sysdeps/i386/fpu/libm-test-ulps: Update.
10183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10184
5b118558
UW
101852013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10186
10187 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10188 "64" to "64-v1". Add "64-v2".
10189 (abi-64-options): Rename to ...
10190 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
10191 (abi-64-condition): Rename to ...
10192 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
10193 (abi-64-ld-soname): Rename to ...
10194 (abi-64-v1-ld-soname): ... this.
10195 (abi-64-v2-options): Define.
10196 (abi-64-v2-condition): Likewise.
10197 (abi-64-v2-ld-soname): Likewise.
10198 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10199 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10203
61cd8fe4
UW
102042013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10205 Alan Modra <amodra@gmail.com>
10206
10207 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10208 New versions for use with the ELFv2 ABI.
10209 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10210 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10211 declaration.
10212 (struct La_ppc64v2_retval): Likewise.
10213 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10214 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10215 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10216 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10217 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10218 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10219 Do not save or restore CR.
10220 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10221 (_dl_profile_resolve): Do no save or restore CR. Support extended
10222 return values for ELFv2 ABI. Fix location of FPR return registers.
10223 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10224 updated values for _CALL_ELF == 2.
10225 (La_regs, La_retval, int_retval): Likewise.
10226
8b8a692c
UW
102272013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10228
10229 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10230 (FRAME_MIN_SIZE_PARM): Likewise.
10231 (FRAME_BACKCHAIN): Likewise.
10232 (FRAME_CR_SAVE): Likewise.
10233 (FRAME_LR_SAVE): Likewise.
10234 (FRAME_TOC_SAVE): Likewise.
10235 (FRAME_PARM_SAVE): Likewise.
10236 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10237 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10238 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10239 (call_mcount_parm_offset): New macro.
10240 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10241 (PROF): Use symbolic stack frame offsets.
10242 (TAIL_CALL_SYSCALL_ERROR): Likewise.
10243 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10244 Redefine in terms of FRAME_MIN_SIZE.
10245 (_dl_runtime_resolve): Use symbolic stack frame offsets.
10246 (_dl_profile_resolve): Likewise. Update comment.
10247 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10248 symbols stack frame offsets.
10249 (__sigsetjmp): Likewise.
10250 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10251 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10252 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10253 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10254
10255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10256 (FRAME_BACKCHAIN): Remove.
10257 (FRAME_CR_SAVE): Likewise.
10258 (FRAME_LR_SAVE): Likewise.
10259 (FRAME_COMPILER_DW): Likewise.
10260 (FRAME_LINKER_DW): Likewise.
10261 (FRAME_TOC_SAVE): Likewise.
10262 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
10263 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10264 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10265 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
10266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10267 (CHECK_SP): Use symbolic stack frame offsets.
10268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10269 zone" instead of caller's parameter save area for temp storage.
10270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10271 Likewise. Also, use symbolic stack frame offsets.
10272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10273 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10274 our own stack frame instead of the caller's.
10275 (__socket): Use symbolic stack frame offsets.
10276
122b66de
UW
102772013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10278 Alan Modra <amodra@gmail.com>
10279
10280 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10281 Define.
57f41c40
AS
10282 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10283 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
10284 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10285 New function.
10286 (elf_machine_fixup_plt): Call it.
10287 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
10288 reloc arguments.
10289 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
10290 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10291 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
10292 r2 before calling target.
10293
696caf1d
UW
102942013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10295 Alan Modra <amodra@gmail.com>
10296
10297 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10298 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10299 versions of macros to support ELFv2 ABI.
10300 (LOCALENTRY): New macro.
10301 (ENTRY, EALIGN): Use it.
10302 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10303 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10304 fall through into ENTRY entry point.
10305 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10306 Only define if _CALL_ELF != 2.
10307
10308 (elf_machine_matches_host): Verify ABI version matches.
10309 (RTLD_START): Use LOCALENTRY.
10310 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10311 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10312 (PLT_ENTRY_WORDS): New macro.
10313 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10314 (elf_machine_runtime_setup): Support ELFv2 ABI.
10315 (elf_machine_fixup_plt): Likewise.
10316 (elf_machine_plt_conflict): Likewise.
10317 (resolve_ifunc): Likewise.
10318 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10319 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10320 Likewise.
10321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10322 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10324 (makecontext): Support ELFv2 ABI.
10325 * elf/elf.h (EF_PPC64_ABI): Define.
10326
d31beafa
UW
103272013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10328
57f41c40
AS
10329 * sysdeps/powerpc/powerpc64/sysdep.h
10330 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10331 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10332 (ENTRY) [ASSEMBLER]: ... but instead here ...
10333 (EALIGN) [ASSEMBLER]: ... and here.
10334 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10335 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10336 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
10337 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10338 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
10339 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10340 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
10341 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10343 Use PPC64_LOAD_FUNCPTR.
10344
b525166b
UW
10345 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10346
7ec07d9a
AM
103472013-12-04 Alan Modra <amodra@gmail.com>
10348
10349 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10350 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10351 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10352 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10353
10354 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10355 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10356 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10357 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10358 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10359 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10360
5162e7dd
UW
103612013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10362
10363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10364 (__makecontext): Fix incorrect CFI when backtracing out of
10365 context created via makecontext.
10366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10367 (__setcontext): Fix incorrect CFI during switch to new context.
10368 (__novec_setcontext): Likewise.
10369
19e3372b
OB
103702013-12-04 Ondřej Bílka <neleai@seznam.cz>
10371
10372 [BZ #4772]
10373 * time/strptime_l.c (__strptime_internal): Allow modifiers
10374 in strptime.
10375 * time/tst-strptime.c (day_tests): Add testcase.
10376
ecaf142d
SP
103772013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10378
10379 * scripts/bench.pl: Skip over blank lines.
10380
fbf964ae
PE
103812013-12-04 Paul Eggert <eggert@cs.ucla.edu>
10382
10383 [BZ #926]
10384 * manual/time.texi (Calendar Time): Clarify what timezone functions
10385 use.
10386
fa60a674
AZ
103872013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10388
10389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10390
d674f0ef
OB
103912013-12-04 Ondřej Bílka <neleai@seznam.cz>
10392
10393 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10394 implementation.
10395 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10396 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10397 * debug/memset_chk.c (__memset_chk): Likewise.
10398 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10399 * debug/strncpy_chk.c: Likewise.
10400
17dea188
JM
104012013-12-03 Joseph Myers <joseph@codesourcery.com>
10402
749008ff
JM
10403 [BZ #15268]
10404 [BZ #15425]
10405 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10406 (__ieee754_exp): For possibly underflowing results, check size of
10407 result and force underflow exception if required.
10408 * math/auto-libm-test-in: Add more tests of exp.
10409 * math/auto-libm-test-out: Regenerated.
10410 * sysdeps/i386/fpu/libm-test-ulps: Update.
10411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10412
17dea188
JM
10413 [BZ #16283]
10414 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10415 * math/w_exp2f.c (__exp2f): Likewise.
10416 * math/w_exp2l.c (__exp2l): Likewise.
10417 * math/auto-libm-test-in: Do not allow missing errno on exp2
10418 underflow.
10419 * math/auto-libm-test-out: Regenerated.
10420
b20de2c3
OB
104212013-12-03 Ondřej Bílka <neleai@seznam.cz>
10422
10423 [BZ #16274]
10424 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10425 handle filename validation.
10426 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10427 (do_open): Delete.
10428
d8e2dbe3
JM
104292013-12-03 Joseph Myers <joseph@codesourcery.com>
10430
34e16df5
JM
10431 [BZ #6786]
10432 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10433 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10434 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10435 <float.h>.
10436 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10437 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10438 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10439 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10440 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10441 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10442 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10443 * math/auto-libm-test-in: Don't allow missing errno from erfc.
10444 Add more erfc tests.
10445 * math/auto-libm-test-out: Regenerated.
10446 * sysdeps/i386/fpu/libm-test-ulps: Update.
10447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10448
d8e2dbe3
JM
10449 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10450 exp2, expm1, j0 and j1.
10451 * math/auto-libm-test-out: Regenerated.
10452 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10453 (erfc_test_data): Likewise.
10454 (exp_test_data): Likewise.
10455 (exp_tonearest_test_data): Likewise.
10456 (exp_towardzero_test_data): Likewise.
10457 (exp_downward_test_data): Likewise.
10458 (exp_upward_test_data): Likewise.
10459 (exp10_test_data): Likewise.
10460 (exp2_test_data): Likewise.
10461 (expm1_test_data): Likewise.
10462 (j0_test_data): Likewise.
10463 (j1_test_data): Likewise.
10464 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10465 (input_flag_type): Add flag_xfail_rounding.
10466 (input_flags): Add xfail-rounding.
10467 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10468 (output_for_one_input_case): Handle flag_xfail_rounding.
10469 * sysdeps/i386/fpu/libm-test-ulps: Update.
10470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10471
18d14251
AJ
104722013-12-03 Aurelien Jarno <aurelien@aurel32.net>
10473
3d2e6075 10474 [BZ #16289]
18d14251
AJ
10475 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10476 division by 0.
10477
520d437b
SP
104782013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10479
10480 [BZ #16195]
10481 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10482 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10483 (STAP_PROBE0): New macro.
10484 (STAP_PROBE1): Likewise.
10485 (STAP_PROBE2): Likewise.
10486 (STAP_PROBE3): Likewise.
10487 (STAP_PROBE4): Likewise.
10488
416e0145
OB
104892013-12-02 Ondřej Bílka <neleai@seznam.cz>
10490
10491 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
10492
9d17796a
SE
104932013-12-02 Steve Ellcey <sellcey@mips.com>
10494
10495 * benchtests/Makefile (bench): Add sqrt.
10496 (LDLIBS-bench-sqrt): New.
10497 * benchtests/sqrt-input: New.
10498
f524d6a8
PS
104992013-12-02 Pavel Simerda <psimerda@redhat.com>
10500
639a0ef8
PS
10501 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
10502 (GAIH_EAI): Likewise.
10503 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
10504 (gaih_inet): Likewise.
10505 (getaddrinfo): Don't use GAIH_EAI.
10506
f524d6a8
PS
10507 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
10508 (struct gaih): Remove definition.
10509
df3aedaf
SP
105102013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10511
10512 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
10513 Use HERRNOP directly.
10514
1ab19dec
AZ
105152013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10516
b42ad38d 10517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 10518
176b0c79
JM
105192013-11-30 Joseph Myers <joseph@codesourcery.com>
10520
10521 * math/gen-auto-libm-tests.c (test_functions): Add more
10522 single-argument functions.
10523 (special_fill_pi_2): New function.
10524 (special_fill_minus_pi_2): Likewise.
10525 (special_fill_pi_6): Likewise.
10526 (special_fill_minus_pi_6): Likewise.
10527 (special_fill_pi_3): Likewise.
10528 (special_fill_2pi_3): Likewise.
10529 (special_fill_e): Likewise.
10530 (special_fill_1_e): Likewise.
10531 (special_fill_e_minus_1): Likewise.
10532 (special_real_inputs): Add more special inputs.
10533 (output_for_one_input_case): Do not require ERANGE on underflow to
10534 zero if round-to-nearest result does not underflow to zero, unless
10535 exact results required.
10536 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
10537 atan, atanh, cbrt, cos and cosh.
10538 * math/auto-libm-test-out: Regenerated.
10539 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
10540 (acos_tonearest_test_data): Likewise.
10541 (acos_towardzero_test_data): Likewise.
10542 (acos_downward_test_data): Likewise.
10543 (acos_upward_test_data): Likewise.
10544 (acosh_test_data): Likewise.
10545 (asin_test_data): Likewise.
10546 (asin_tonearest_test_data): Likewise.
10547 (asin_towardzero_test_data): Likewise.
10548 (asin_upward_test_data): Likewise.
10549 (asinh_test_data): Likewise.
10550 (atan_test_data): Likewise.
10551 (atanh_test_data): Likewise.
10552 (cbrt_test_data): Likewise.
10553 (cos_test_data): Likewise.
10554 (cos_tonearest_test_data): Likewise.
10555 (cos_towardzero_test_data): Likewise.
10556 (cos_downward_test_data): Likewise.
10557 (cos_upward_test_data): Likewise.
10558 (cosh_test_data): Likewise.
10559 (cosh_tonearest_test_data): Likewise.
10560 (cosh_towardzero_test_data): Likewise.
10561 (cosh_downward_test_data): Likewise.
10562 (cosh_upward_test_data): Likewise.
10563 * sysdeps/i386/fpu/libm-test-ulps: Update.
10564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10565
ffb536d0
JM
105662013-11-29 Joseph Myers <joseph@codesourcery.com>
10567
2a77a467
JM
10568 [BZ #6787]
10569 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
10570 * math/w_exp10f.c (__exp10f): Likewise.
10571 * math/w_exp10l.c (__exp10l): Likewise.
10572 * math/libm-test.inc (exp10_test_data): Add more tests and expect
10573 errno settings in existing tests.
10574
ea3bc4e8
JM
10575 [BZ #14032]
10576 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
10577 precision control set to double precision.
10578 * sysdeps/i386/fpu/w_sqrt.c: New file.
10579 * math/auto-libm-test-in: Add more tests.
10580 * math/auto-libm-test-out: Update.
10581
0712c9d8
JM
10582 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
10583 (sqrt_test_tonearest): New function.
10584 (sqrt_towardzero_test_data): New variable.
10585 (sqrt_test_towardzero): New function.
10586 (sqrt_downward_test_data): New variable.
10587 (sqrt_test_downward): New function.
10588 (sqrt_upward_test_data): New variable.
10589 (sqrt_test_upward): New function.
10590 (main): Call the new functions.
10591
ffb536d0
JM
10592 * math/gen-auto-libm-tests.c: New file.
10593 * math/auto-libm-test-in: Likewise.
10594 * math/auto-libm-test-out: New generated file.
10595 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
10596 variables.
10597 (%beautify): Add generated representations of zero.
10598 (top level): Set $auto_input and call parse_auto_input.
10599 (beautify): Remove trailing "f" from hex float constants.
10600 (parse_args): Handle XFAIL_TEST.
10601 (convert_condition): New function.
10602 (or_value): Likewise.
10603 (or_cond_value): Likewise.
10604 (generate_testfile): Handle AUTO_TESTS_* lines.
10605 (parse_auto_input): New function.
10606 * math/libm-test.inc (XFAIL_TEST): New macro.
10607 (ERRNO_UNCHANGED): Update value.
10608 (ERRNO_EDOM): Likewise.
10609 (ERRNO_ERANGE): Likewise.
10610 (IGNORE_RESULT): Likewise.
10611 (TEST_COND_flt_32): New macro.
10612 (TEST_COND_dbl_64): Likewise.
10613 (TEST_COND_ldbl_96_intel): Likewise.
10614 (TEST_COND_ldbl_96_m68k): Likewise.
10615 (TEST_COND_ldbl_128): Likewise.
10616 (TEST_COND_ldbl_128ibm): Likewise.
10617 (TEST_COND_long32): Likewise.
10618 (TEST_COND_long64): Likewise.
10619 (TEST_COND_before_rounding): Likewise.
10620 (TEST_COND_after_rounding): Likewise.
10621 (enable_test): Handle XFAIL_TEST flag.
10622 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
10623 with finite results.
10624 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
10625 auto-libm-test-out.
10626
acd98a8e
AK
106272013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10628 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10629
10630 [BZ #16214]
10631 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
10632 __tls_get_addr_internal instead of __tls_get_offset in order to
10633 avoid GOT pointer dependency. Make rtld export
10634 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
10635 __tls_get_addr since we are a __tls_get_offset platform.
10636 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
10637 GOT pointer being set up before.
10638 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
10639
3c1c46a6
JM
106402013-11-28 Joseph Myers <joseph@codesourcery.com>
10641
7475aef5
JM
10642 * manual/math.texi (Errors in Math Functions): Document accuracy
10643 goals.
10644
8bca7cd8
JM
10645 [BZ #15004]
10646 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
10647 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
10648 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10649 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10650 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10651 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10652 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10653 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10654 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10655 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10656 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10657 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10658 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10659 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10660 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10661 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10662
91a1f3fe
JM
10663 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
10664 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
10665 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
10666 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
10667 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
10668 Likewise.
10669 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
10670 Likewise.
10671 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
10672 Likewise.
10673 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
10674 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10675 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
10676 atomic-feupdateenv and flt-rounds.
10677 * sysdeps/powerpc/nofpu/Versions (libc): Add
10678 __atomic_feholdexcept, __atomic_feclearexcept,
10679 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
10680 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
10681 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
10682 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
10683 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
10684 here.
10685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10686 Update.
10687
c5df7609
JM
10688 * manual/arith.texi (FP Exceptions): Document that exceptions may
10689 not be raised when matherr is used.
10690 (Math Error Reporting): Document overflow in directed rounding
10691 modes. Document that errno may not be set when finite values are
10692 returned on overflow. Document intent to set errno on underflow
10693 only for underflow to zero.
10694
3c1c46a6
JM
10695 [BZ #16271]
10696 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
10697 round-to-nearest then adjust result for other rounding modes.
10698 * include/fenv.h (fegetround): Use libm_hidden_proto.
10699 * math/fegetround.c (fegetround): Use libm_hidden_def.
10700 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10701 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10702 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10703 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10704 Likewise.
10705 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
10706 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10707 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10708 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
10709
5a4c6d53
SP
107102013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10711
10712 [BZ #16077]
10713 * nss/Versions (libnss_files): Add
10714 _nss_files_gethostbyname3_r.
10715 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
10716 New function.
10717 (HOST_DB_LOOKUP): Remove macro.
10718 (_nss_files_gethostbyname_r): Implement function without the
10719 HOST_DB_LOOKUP macro.
10720 (_nss_files_gethostbyname2_r): Likewise.
10721
897b98ba
OB
107222013-11-28 Ondřej Bílka <neleai@seznam.cz>
10723
10724 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
10725
6f476861
UB
107262013-11-26 Uros Bizjak <ubizjak@gmail.com>
10727
10728 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
10729 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
10730 warning.
10731
bd12ab55
AZ
107322013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10733
10734 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
10735 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
10736 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10737 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10738 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
10739 __fe_nomask_env_priv and attribute_hidden.
10740 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
10741 (libc_feupdateenv_test_ppc): Likewise.
10742 (libc_feresetround_ppc): Likewise.
10743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10744 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
10745 compat_symbol macro.
10746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10747 (__fe_nomask_env): Likewise.
10748 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
10749
52bb6543
OB
107502013-11-26 Ondřej Bílka <neleai@seznam.cz>
10751
10752 * string/Makefile: Remove ifunc tests.
10753 * string/test-string.h: Define TEST_IFUNC.
10754 * string/test-bcopy-ifunc.c: Remove.
10755 * string/test-bzero-ifunc.c: Likewise.
10756 * string/test-memccpy-ifunc.c: Likewise.
10757 * string/test-memchr-ifunc.c: Likewise.
10758 * string/test-memcmp-ifunc.c: Likewise.
10759 * string/test-memcpy-ifunc.c: Likewise.
10760 * string/test-memmem-ifunc.c: Likewise.
10761 * string/test-memmove-ifunc.c: Likewise.
10762 * string/test-mempcpy-ifunc.c: Likewise.
10763 * string/test-memrchr-ifunc.c: Likewise.
10764 * string/test-memset-ifunc.c: Likewise.
10765 * string/test-rawmemchr-ifunc.c: Likewise.
10766 * string/test-stpcpy-ifunc.c: Likewise.
10767 * string/test-stpncpy-ifunc.c: Likewise.
10768 * string/test-strcasecmp-ifunc.c: Likewise.
10769 * string/test-strcasestr-ifunc.c: Likewise.
10770 * string/test-strcat-ifunc.c: Likewise.
10771 * string/test-strchr-ifunc.c: Likewise.
10772 * string/test-strchrnul-ifunc.c: Likewise.
10773 * string/test-strcmp-ifunc.c: Likewise.
10774 * string/test-strcpy-ifunc.c: Likewise.
10775 * string/test-strcspn-ifunc.c: Likewise.
10776 * string/test-strlen-ifunc.c: Likewise.
10777 * string/test-strncasecmp-ifunc.c: Likewise.
10778 * string/test-strncat-ifunc.c: Likewise.
10779 * string/test-strncmp-ifunc.c: Likewise.
10780 * string/test-strncpy-ifunc.c: Likewise.
10781 * string/test-strnlen-ifunc.c: Likewise.
10782 * string/test-strpbrk-ifunc.c: Likewise.
10783 * string/test-strrchr-ifunc.c: Likewise.
10784 * string/test-strspn-ifunc.c: Likewise.
10785 * string/test-strstr-ifunc.c: Likewise.
10786
ab260039 107872013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
10788
10789 * benchtests/Makefile: Remove ifunc tests.
10790 * benchtests/bench-string.h: Define TEST_IFUNC.
10791 * benchtests/bench-bcopy-ifunc.c: Remove.
10792 * benchtests/bench-bzero-ifunc.c: Likewise.
10793 * benchtests/bench-memccpy-ifunc.c: Likewise.
10794 * benchtests/bench-memchr-ifunc.c: Likewise.
10795 * benchtests/bench-memcmp-ifunc.c: Likewise.
10796 * benchtests/bench-memcpy-ifunc.c: Likewise.
10797 * benchtests/bench-memmem-ifunc.c: Likewise.
10798 * benchtests/bench-memmove-ifunc.c: Likewise.
10799 * benchtests/bench-mempcpy-ifunc.c: Likewise.
10800 * benchtests/bench-memrchr-ifunc.c: Likewise.
10801 * benchtests/bench-memset-ifunc.c: Likewise.
10802 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
10803 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
10804 * benchtests/bench-stpcpy-ifunc.c: Likewise.
10805 * benchtests/bench-stpncpy-ifunc.c: Likewise.
10806 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
10807 * benchtests/bench-strcasestr-ifunc.c: Likewise.
10808 * benchtests/bench-strcat-ifunc.c: Likewise.
10809 * benchtests/bench-strchr-ifunc.c: Likewise.
10810 * benchtests/bench-strchrnul-ifunc.c: Likewise.
10811 * benchtests/bench-strcmp-ifunc.c: Likewise.
10812 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
10813 * benchtests/bench-strcpy-ifunc.c: Likewise.
10814 * benchtests/bench-strcspn-ifunc.c: Likewise.
10815 * benchtests/bench-strlen-ifunc.c: Likewise.
10816 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
10817 * benchtests/bench-strncat-ifunc.c: Likewise.
10818 * benchtests/bench-strncmp-ifunc.c: Likewise.
10819 * benchtests/bench-strncpy-ifunc.c: Likewise.
10820 * benchtests/bench-strnlen-ifunc.c: Likewise.
10821 * benchtests/bench-strpbrk-ifunc.c: Likewise.
10822 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 10823 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
10824 * benchtests/bench-strspn-ifunc.c: Likewise.
10825 * benchtests/bench-strstr-ifunc.c: Likewise.
10826
108272013-11-26 Ondřej Bílka <neleai@seznam.cz>
10828
ab260039
OB
10829 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
10830
d1d9eaf4 108312013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 10832
d1d9eaf4
OB
10833 * resolv/netdb.h: Use __glibc_reserved instead __unused.
10834 * rt/aio.h: Likewise.
10835 * sysdeps/gnu/bits/utmp.h: Likewise.
10836 * sysdeps/gnu/bits/utmpx.h: Likewise.
10837 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10838 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10839 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10840 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10841 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10842 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10843 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
10844 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
10845 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
10846 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10847 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10848 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10849 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
10850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
10851 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10852 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
10853 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10854 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10855 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10856 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
10857 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
10858 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
10859 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
10860 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10861 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10862 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10863 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
10864 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10865 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10866 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10867 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
10868 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
10869 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
10870 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10871 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10872 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
10873 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10874 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10875 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10876 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
10877 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10878 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10879
a7624ed9
CD
108802013-11-25 Carlos O'Donell <carlos@redhat.com>
10881
10882 [BZ #16245]
10883 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
10884 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
10885
63cfe52b
JM
108862013-11-25 Joseph Myers <joseph@codesourcery.com>
10887
10888 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
10889 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10890 Likewise.
10891
41e8926a
AZ
108922013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10893
10894 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
10895 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
10896 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
10897 (__fesetround): Remove define.
10898 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
10899 rounding and exceptions handling.
10900 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
10901 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
10902 (__fe_nomask_env): Likewise.
10903 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
10904 __fegetround instead of fegetround.
10905 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10906 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10907
6851bd4d
RM
109082013-11-21 Roland McGrath <roland@hack.frob.com>
10909
070906ff
RM
10910 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
10911 it's there.
10912
6851bd4d
RM
10913 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
10914
84ae135d
MI
109152013-11-21 Meador Inge <meadori@codesourcery.com>
10916
10917 [BZ #11157]
10918 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
10919 (encrypt_r): Likewise.
10920 * malloc/obstack.h (obstack_free): Likewise.
10921 * posix/unistd.h (encrypt): Likewise.
10922
daf75146
GM
109232013-11-21 Guy Martin <gmsoft@tuxicoman.be>
10924
10925 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
10926 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
10927 DL_CALL_DT_FINI() that call the functions directly.
10928 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
10929 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
10930 * elf/dl-fini.c: Likewise.
10931
10ad46bc
OB
109322013-11-20 Ondřej Bílka <neleai@seznam.cz>
10933
10934 * malloc/hooks.c (memalign_check): Add alignment rounding.
10935 * malloc/malloc.c (_mid_memalign): New function.
10936 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
10937 Implement by calling _mid_memalign.
10938 * manual/probes.texi (Memory Allocation Probes): Remove
10939 memory_valloc_retry and memory_pvalloc_retry.
10940
f3fd2628
SP
109412013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10942
4712799f
SP
10943 * locale/programs/locarchive.c (open_archive): Add const
10944 qualifier to ARCHIVEFNAME and copy default fname to
10945 DEFAULT_FNAME.
10946
0417b20f
SP
10947 [BZ #15601]
10948 * libio/tst-widetext.input: Rename Oriya to Odia.
10949 * locale/iso-639.def: Likewise.
10950
f3fd2628
SP
10951 * manual/probes.texi (Mathematical Function Probes): Add
10952 documentation for sin, cos, asin and acos probes.
10953 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
10954 (__sin32): Add slowasin probe.
10955 (__cos32): Add slowacos probe.
10956 (__mpsin): Add slowsin probe.
10957 (__mpcos): Add slowcos probe.
10958
73c1ce4f
JM
109592013-11-19 Joseph Myers <joseph@codesourcery.com>
10960
10961 [BZ #15483]
10962 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
10963 thread-local __sim_exceptions_thread and global
10964 __sim_exceptions_global.
10965 (__sim_disabled_exceptions): Change to thread-local
10966 __sim_disabled_exceptions_thread and global
10967 __sim_disabled_exceptions_global.
10968 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10969 and global __sim_round_mode_global.
10970 (__simulate_exceptions): Use thread-local floating-point state and
10971 set global state from it as needed.
10972 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
10973 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
10974 __sim_round_mode_thread.
10975 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
10976 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
10977 and global __sim_exceptions_global.
10978 (__sim_disabled_exceptions): Change to thread-local
10979 __sim_disabled_exceptions_thread and global
10980 __sim_disabled_exceptions_global.
10981 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10982 and global __sim_round_mode_global.
10983 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
10984 (SIM_SET_GLOBAL): Likewise.
10985 * sysdeps/powerpc/soft-fp/sfp-machine.h
10986 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
10987 __sim_round_mode_thread.
10988 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
10989 __sim_disabled_exceptions_thread.
10990 (__sim_exceptions): Change to __sim_exceptions_thread.
10991 (__sim_disabled_exceptions): Change to
10992 __sim_disabled_exceptions_thread.
10993 (__sim_round_mode): Change to __sim_round_mode_thread.
10994 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
10995 thread-local floating-point state and set global state from it as
10996 needed.
10997 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
10998 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
10999 (__sim_disabled_exceptions): Remove extern declaration.
11000 (feenableexcept): Use thread-local floating-point state and set
11001 global state from it as needed.
11002 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11003 extern declaration.
11004 (__sim_disabled_exceptions): Likewise.
11005 (__sim_round_mode): Likewise.
11006 (__fegetenv): Use thread-local floating-point state.
11007 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11008 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11009 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11010 floating-point state and set global state from it as needed.
11011 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11012 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11013 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11014 Likewise.
11015 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11016 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11017 Likewise.
11018 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11019 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11020 Use __sim_round_mode_thread.
11021 * math/test-fenv-tls.c: New file.
11022 * math/Makefile (tests): Add test-fenv-tls.
11023 ($(objpfx)test-fenv-tls): Depend on
11024 $(common-objpfx)nptl/libpthread.so.
11025
b5449b12
AS
110262013-11-19 Andreas Schwab <schwab@suse.de>
11027
11028 * locale/programs/locale.c (show_info): Decode wordarray elements.
11029 * locale/categories.def (LC_MONETARY): Add element for
11030 _NL_MONETARY_CRNCYSTR.
11031 * locale/C-monetary.c (conversion_rate): New variable.
11032 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11033 element.
11034
e186536b
CM
110352013-11-18 Chris Metcalf <cmetcalf@tilera.com>
11036
11037 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11038 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11039
5c349950
PP
110402013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11041
11042 * elf/Makefile (tst-auxv): New test.
11043 * elf/tst-auxv.c: New
11044 * elf/rtld.c (dl_main): Adjust AT_EXECFN
11045
699df45b
JM
110462013-11-18 Joseph Myers <joseph@codesourcery.com>
11047
11048 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11049 (hidden_proto): Caller changed.
11050 (hidden_tls_proto): New macro.
11051 (libc_hidden_tls_proto): Likewise.
11052 (rtld_hidden_tls_proto): Likewise.
11053 (libm_hidden_tls_proto): Likewise.
11054 (libresolv_hidden_tls_proto): Likewise.
11055 (librt_hidden_tls_proto): Likewise.
11056 (libdl_hidden_tls_proto): Likewise.
11057 (libnss_files_hidden_tls_proto): Likewise.
11058 (libnsl_hidden_tls_proto): Likewise.
11059 (libnss_nisplus_hidden_tls_proto): Likewise.
11060 (libutil_hidden_tls_proto): Likewise.
11061
b7589107
OB
110622013-11-18 Ondřej Bílka <neleai@seznam.cz>
11063
11064 [BZ #10253]
11065 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11066 (decompose_rpath): Defer expansion to fillin_rpath.
11067 (_dl_init_paths): Pass linkmap to fillin_rpath.
11068
250c23bd
RS
110692013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11070
11071 * benchtests/Makefile: Add strsep.
11072 * benchtests/bench-strsep.c: New file: strsep benchtest.
11073 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11074
a7931fcf
AS
110752013-11-18 Andreas Schwab <schwab@suse.de>
11076
11077 * locale/programs/locale.c (show_info) [case byte]: Check for
11078 '\377' instead of '\177'.
11079 * locale/C-monetary.c (not_available): Always use "\377".
11080 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11081 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
11082 detect unavailable sign_posn locale elements.
11083 * locale/localeconv.c (__localeconv): For grouping and
11084 mon_grouping handle "\177" and "\377" like no grouping.
11085 (INT_ELEM): New macro. Use it to set all numeric members.
11086 * locale/programs/ld-monetary.c (monetary_read)
11087 <tok_mon_grouping>: Normalize single -1 to the empty string.
11088 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11089 Likewise.
11090
728dab0e
OB
110912013-11-07 Ondřej Bílka <neleai@seznam.cz>
11092
11093 [BZ #16055]
11094 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11095 when we match (nil).
11096 * stdio-common/tst-sscanf.c (struct test): Add testcase.
11097
66294491
JM
110982013-11-16 Joseph Myers <joseph@codesourcery.com>
11099
ce665817
JM
11100 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11101 (NO_TEST_INLINE): Update value.
11102 (ERRNO_UNCHANGED): Likewise.
11103 (ERRNO_EDOM): Likewise.
11104 (ERRNO_ERANGE): Likewise.
11105 (IGNORE_RESULT): Likewise.
11106 (check_float_internal): Check signs of NaN results if
11107 TEST_NAN_SIGN used.
11108 (check_complex): Pass TEST_NAN_SIGN flag through to second
11109 check_float_internal call.
11110 (copysign_test_data): Add tests with quiet NaNs as second
11111 argument. Use TEST_NAN_SIGN.
11112 (fabs_test_data): Add test of negative quiet NaN argument. Use
11113 TEST_NAN_SIGN.
11114 (signbit_test_data): Add tests of quiet NaN argument.
11115 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11116
ee1466a9
JM
11117 * math/gen-libm-test.pl (show_exceptions): Take extra argument
11118 $ignore_result.
11119 (parse_args): Handle function results specified as IGNORE.
11120 * math/libm-test.inc (IGNORE_RESULT): New macro.
11121 (check_float_internal): Do not check numerical result if flag
11122 IGNORE_RESULT set.
11123 (check_complex): Pass through IGNORE_RESULT to second
11124 check_float_internal call.
11125 (check_int): Do not check numerical result if flag IGNORE_RESULT
11126 set.
11127 (check_long): Likewise.
11128 (check_bool): Likewise.
11129 (check_longlong): Likewise.
11130 (lrint_test_data): Add tests of infinite and NaN arguments.
11131 (lrint_tonearest_test_data): Likewise.
11132 (lrint_towardzero_test_data): Likewise.
11133 (lrint_downward_test_data): Likewise.
11134 (lrint_upward_test_data): Likewise.
11135 (llrint_test_data): Likewise.
11136 (llrint_tonearest_test_data): Likewise.
11137 (llrint_towardzero_test_data): Likewise.
11138 (llrint_downward_test_data): Likewise.
11139 (llrint_upward_test_data): Likewise.
11140 (lround_test_data): Likewise.
11141 (llround_test_data): Likewise.
11142
14407b7e
JM
11143 * math/libm-test.inc (NO_TEST_INLINE): New macro.
11144 (ERRNO_UNCHANGED): Update value.
11145 (ERRNO_EDOM): Likewise.
11146 (ERRNO_ERANGE): Likewise.
11147 (NO_TEST_INLINE_FLOAT): New macro.
11148 (NO_TEST_INLINE_DOUBLE): Likewise.
11149 (enable_test): New function.
11150 (RUN_TEST_f_f): Check enable_test before running test.
11151 (RUN_TEST_2_f): Likewise.
11152 (RUN_TEST_fff_f): Likewise.
11153 (RUN_TEST_c_f): Likewise.
11154 (RUN_TEST_f_f1): Likewise.
11155 (RUN_TEST_fF_f1): Likewise.
11156 (RUN_TEST_fI_f1): Likewise.
11157 (RUN_TEST_ffI_f1): Likewise.
11158 (RUN_TEST_c_c): Likewise.
11159 (RUN_TEST_cc_c): Likewise.
11160 (RUN_TEST_f_i): Likewise.
11161 (RUN_TEST_f_i_tg): Likewise.
11162 (RUN_TEST_ff_i_tg): Likewise.
11163 (RUN_TEST_f_b): Likewise.
11164 (RUN_TEST_f_b_tg): Likewise.
11165 (RUN_TEST_f_l): Likewise.
11166 (RUN_TEST_f_L): Likewise.
11167 (RUN_TEST_fFF_11): Likewise.
11168 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11169 conditionals.
11170 (cosh_test_data): Likewise.
11171 (exp_test_data): Likewise.
11172 (expm1_test_data): Likewise.
11173 (hypot_test_data): Likewise.
11174 (pow_test_data): Likewise.
11175 (sinh_test_data): Likewise.
11176 (tanh_test_data): Likewise.
11177 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11178 flags argument.
11179
ca07f197
JM
11180 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11181 tests with quiet NaN input and output.
11182 (acosh_test_data): Likewise.
11183 (asin_test_data): Likewise.
11184 (asinh_test_data): Likewise.
11185 (atan_test_data): Likewise.
11186 (atanh_test_data): Likewise.
11187 (atan2_test_data): Likewise.
11188 (cbrt_test_data): Likewise.
11189 (cos_test_data): Likewise.
11190 (cosh_test_data): Likewise.
11191 (erf_test_data): Likewise.
11192 (erfc_test_data): Likewise.
11193 (exp_test_data): Likewise.
11194 (exp10_test_data): Likewise.
11195 (exp2_test_data): Likewise.
11196 (expm1_test_data): Likewise.
11197 (hypot_test_data): Likewise.
11198 (j0_test_data): Likewise.
11199 (j1_test_data): Likewise.
11200 (jn_test_data): Likewise.
11201 (lgamma_test_data): Likewise.
11202 (log_test_data): Likewise.
11203 (log10_test_data): Likewise.
11204 (log1p_test_data): Likewise.
11205 (log2_test_data): Likewise.
11206 (pow_test_data): Likewise.
11207 (scalb_test_data): Likewise.
11208 (sin_test_data): Likewise.
11209 (sincos_test_data): Likewise.
11210 (sinh_test_data): Likewise.
11211 (tan_test_data): Likewise.
11212 (tanh_test_data): Likewise.
11213 (tgamma_test_data): Likewise.
11214 (y0_test_data): Likewise.
11215 (y1_test_data): Likewise.
11216 (yn_test_data): Likewise.
11217
66294491
JM
11218 [BZ #16167]
11219 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11220 argument being NaN and avoid computations with second argument in
11221 that case.
11222 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11223 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11224 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11225
1820b143
CL
112262013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
11227
11228 * locale/iso-639.def: Add Chitwani Tharu (the).
11229
714bd261
AS
112302013-11-14 Andreas Schwab <schwab@suse.de>
11231
11232 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11233 word instead of empty string.
11234
7ab44563
AZ
112352013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11236
11237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11238 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11240 (__fe_nomask_env): Likewise.
11241
e8470ea2
SE
112422013-11-13 Steve Ellcey <sellcey@mips.com>
11243
11244 * benchtests/bench-timing.h: Include time.h.
11245
17c1d9f0
L
112462013-11-13 H.J. Lu <hongjiu.lu@intel.com>
11247
11248 [BZ #15997]
11249 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11250 to 3.4.0 for x32.
11251 * sysdeps/unix/sysv/linux/configure: Regenerated.
11252
9310c284
JM
112532013-11-13 Joseph Myers <joseph@codesourcery.com>
11254
11255 [BZ #16151]
11256 * stdlib/strtod_l.c (round_and_return): Do not consider
11257 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11258 exponent one less than half the least subnormal exponent.
11259 * stdlib/test-strtod-round-data: Add more tests.
11260 * stdlib/tst-strtod-round.c (tests): Regenerated.
11261
7a2ad8cf
AZ
112622013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11263
11264 [BZ #14143]
11265 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11266 (__fe_mask_env): Likewise.
11267 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11268 libm_hidden_proto and add function prototype.
11269 (__fe_mask_env): Add function prototype.
11270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11271 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11273 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11275 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11276
50727aa7
MS
112772013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11278
b2f386c1 11279 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
11280 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11281
a615be46
MS
112822013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11283
11284 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11285 of htab_find_slot().
11286
7ddace62
DM
112872013-11-11 David S. Miller <davem@davemloft.net>
11288
11289 [BZ #16150]
11290 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11291 symbol in the non-vis3 case in static builds.
11292 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11293 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11294 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11295 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11296
9182aa67
JK
112972013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11298
11299 [BZ #387]
11300 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11301 it is empty.
11302
450a2e2d
AZ
113032013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11304
b2f386c1
SP
11305 * benchtests/Makefile: Add bench-strtod.
11306 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 11307
8ec3f656
AS
113082013-11-11 Andreas Schwab <schwab@suse.de>
11309
11310 [BZ #16153]
11311 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11312 terminating NUL in key length.
11313
76a9b998
AZ
113142013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11315
11316 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11317 Add artificial ODP entry for vDSO symbol for PPC64.
11318 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11319 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11320
e4368156
OB
113212013-11-07 Ondřej Bílka <neleai@seznam.cz>
11322
11323 [BZ #15374]
11324 * nss/getent.c (services_keys): Recognize services starting with digit.
11325
8d6bb57c
DM
113262013-11-06 David S. Miller <davem@davemloft.net>
11327
11328 [BZ #15985]
11329 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11330 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11331
e256c421
WN
113322013-11-06 Will Newton <will.newton@linaro.org>
11333
11334 * manual/memory.texi (Malloc Examples): Remove register
11335 keyword from examples.
11336
f6e12daa 113372013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 11338
f6e12daa 11339 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 11340
9d880655
AS
113412013-11-04 Joseph Myers <joseph@codesourcery.com>
11342
fd2f9486 11343 [BZ #6981]
9d880655
AS
11344 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11345 depending on [__GCC_IEC_559 > 0].
11346 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11347 depending on [__GCC_IEC_559_COMPLEX > 0].
11348
ae129d3c
CL
113492013-11-03 Chris Leonard <cjl@sugarlabs.org>
11350
11351 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11352 to iso-639.def.
11353
4a15c2a4 113542013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
11355
11356 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11357
8b35e35d
OB
113582013-11-01 Ondřej Bílka <neleai@seznam.cz>
11359
11360 [BZ #16112]
11361 * malloc/malloc (malloc_info): Do not handle first bin as
11362 special case.
11363
1d70fd6c
CL
113642013-11-01 Chris Leonard <cjl@sugarlabs.org>
11365
11366 * locale/iso-639.def: Add Central Nahuatl (nhn).
11367
8c5c2600
BH
113682013-11-01 Bruno Haible <bruno@clisp.org>
11369
11370 [BZ #7003]
11371 * manual/math.texi (BSD Random): Specify range upper bound as
11372 in POSIX.
11373
da5579c2
CL
113742013-10-31 Chris Leonard <cjl@sugarlabs.org>
11375
11376 * locale/iso-639.def: Add Meadow Mari (mhr).
11377
5d30d853
OB
113782013-10-31 Ondřej Bílka <neleai@seznam.cz>
11379
11380 [BZ #14752], [BZ #15763]
11381 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11382 Validate name.
11383 * rt/tst_shm.c: Add test for escaping directory.
11384
a4966c61
AS
113852013-10-31 Andreas Schwab <schwab@suse.de>
11386
8a43e768 11387 [BZ #15917]
a4966c61
AS
11388 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11389 followed by 'x' as part of digit sequence.
11390 * stdio-common/tst-sscanf.c (double_tests2): New tests.
11391
28d708c4
MAP
113922013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11393
11394 [BZ #16037]
11395 * configure.ac: allow GNU Make 4.0 and greater.
11396 * configure: Regenerated.
11397
a56ee40b
WN
113982013-10-30 Will Newton <will.newton@linaro.org>
11399
11400 [BZ #16038]
11401 * malloc/hooks.c (memalign_check): Limit alignment to the
11402 maximum representable power of two.
11403 * malloc/malloc.c (__libc_memalign): Likewise.
11404 * malloc/tst-memalign.c (do_test): Add test for very
11405 large alignment values.
11406 * malloc/tst-posix_memalign.c (do_test): Likewise.
11407
c6e4925d
OB
114082013-10-30 Ondřej Bílka <neleai@seznam.cz>
11409
11410 [BZ #11087]
11411 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11412 (munmap_chunk): Likewise.
11413 (mremap_chunk): Likewise.
11414
114152013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 11416
8a43e768 11417 [BZ #15799]
bbea82f7
OB
11418 * stdlib/div.c (div): Remove obsolete code.
11419 * stdlib/ldiv.c (ldiv): Likewise.
11420 * stdlib/lldiv.c (lldiv): Likewise.
11421
977f4b31
SP
114222013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11423
11424 [BZ #16071]
11425 * nss/nss_files/files-XXX.c (get_contents_ret): New
11426 enumerator.
11427 (get_contents): New function.
11428 (internal_getent): Use it. Expand size of LINEBUFLEN.
11429
cb8a6dbd
MF
114302013-10-30 Mike Frysinger <vapier@gentoo.org>
11431
11432 * configure.in: Moved to ...
11433 * configure.ac: ... here. Change reference to configure.in
11434 to configure.ac.
11435 * sysdeps/arm/preconfigure.ac: ... here.
11436 configure.in to configure.ac.
11437 * sysdeps/gnu/configure.in: Moved to ...
11438 * sysdeps/gnu/configure.ac: ... here.
11439 * sysdeps/i386/configure.in: Moved to ...
11440 * sysdeps/i386/configure.ac: ... here.
11441 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11442 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11443 * sysdeps/mach/configure.in: Moved to ...
11444 * sysdeps/mach/configure.ac: ... here.
11445 * sysdeps/mach/hurd/configure.in: Moved to ...
11446 * sysdeps/mach/hurd/configure.ac: ... here.
11447 * sysdeps/powerpc/configure.in: Moved to ...
11448 * sysdeps/powerpc/configure.ac: ... here.
11449 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11450 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11451 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11452 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11453 * sysdeps/s390/s390-32/configure.in: Moved to ...
11454 * sysdeps/s390/s390-32/configure.ac: ... here.
11455 * sysdeps/s390/s390-64/configure.in: Moved to ...
11456 * sysdeps/s390/s390-64/configure.ac: ... here.
11457 * sysdeps/sh/configure.in: Moved to ...
11458 * sysdeps/sh/configure.ac: ... here.
11459 * sysdeps/sparc/configure.in: Moved to ...
11460 * sysdeps/sparc/configure.ac: ... here.
11461 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11462 * sysdeps/unix/sysv/linux/configure.ac: ... here.
11463 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11464 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11465 * sysdeps/x86_64/configure.in: Moved to ...
11466 * sysdeps/x86_64/configure.ac: ... here.
11467 * sysdeps/x86_64/preconfigure.in: Moved to ...
11468 * sysdeps/x86_64/preconfigure.ac: ... here.
11469 * aclocal.m4: Change reference to configure.in to configure.ac.
11470 * config.h.in: Likewise.
11471 * manual/install.texi: Likewise.
11472 * manual/maint.texi: Likewise.
11473 * Makefile: Likewise.
11474 * malloc/Makefile: Likewise.
11475 * nscd/Makefile: Likewise.
11476 * Makeconfig: Change reference to configure.in and
11477 preconfigure.in to configure.ac and preconfigure.ac
11478 respectively.
11479 * INSTALL: Regenerated.
11480 * configure: Likewise.
11481 * sysdeps/gnu/configure: Likewise.
11482 * sysdeps/i386/configure: Likewise.
11483 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11484 * sysdeps/mach/configure: Likewise.
11485 * sysdeps/mach/hurd/configure: Likewise.
11486 * sysdeps/powerpc/configure: Likewise.
11487 * sysdeps/powerpc/powerpc32/configure: Likewise.
11488 * sysdeps/powerpc/powerpc64/configure: Likewise.
11489 * sysdeps/s390/s390-32/configure: Likewise.
11490 * sysdeps/s390/s390-64/configure: Likewise.
11491 * sysdeps/sh/configure: Likewise.
11492 * sysdeps/sparc/configure: Likewise.
11493 * sysdeps/unix/sysv/linux/configure: Likewise.
11494 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
11495 * sysdeps/x86_64/configure: Likewise.
11496 * sysdeps/x86_64/preconfigure: Likewise.
11497
36a4953a
AS
114982013-10-29 Andreas Schwab <schwab@suse.de>
11499
11500 * stdio-common/Makefile (tst-swscanf-ENV): Define.
11501
c79a1204
SP
115022013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11503
dfa1b402
SP
11504 * benchtests/pow-inputs: Add new inputs.
11505
54f73d9c
SP
11506 * benchtests/exp-inputs: Add new inputs.
11507
c79a1204
SP
11508 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
11509 conditional check for return value.
11510 (__cos32): Likewise.
11511
67beb545 115122013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
11513
11514 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
11515 to provide a boost for large inputs with word alignment.
11516 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
11517 implementation based on optimized PPC64 strcpy.
11518 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
11519 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
11520 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
11521 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
11522
151659f6
OB
115232013-10-25 Ondřej Bílka <neleai@seznam.cz>
11524
482a077e 11525 [BZ #2801]
151659f6
OB
11526 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
11527
10b0f26b
OB
115282013-10-25 Ondřej Bílka <neleai@seznam.cz>
11529
11530 [BZ #14876]
11531 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
11532 * time/tst-strptime.c (day_tests): Add testcase.
11533
ca42d35e
OB
115342013-10-25 Ondřej Bílka <neleai@seznam.cz>
11535
482a077e 11536 [BZ #14029]
ca42d35e
OB
11537 * manual/pattern.texi: Acknowledge that fnmatch can fail.
11538
52e6d801
FB
115392013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
11540
11541 [BZ #16074]
11542 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
11543 MAP_FAILED on error.
11544
7cbcdb36
SP
115452013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11546
11547 [BZ #16072]
11548 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
11549 heap for large requests.
11550
894f3f10
AM
115512013-10-25 Aurelien Jarno <aurelien@aurel32.net>
11552
11553 [BZ #9954]
11554 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
11555 result if the result has no associated interface.
11556 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
11557 interface for all 127.X.Y.Z addresses.
11558
b85545a6
CL
115592013-10-24 Chris Leonard <cjl@sugarlabs.org>
11560
11561 * locale/iso-639.def: Add Ligurian (lij)
11562
d1f23d46
OB
115632013-10-21 Ondřej Bílka <neleai@seznam.cz>
11564
11565 [BZ #15825]
11566 * sunrpc/rpc_main.c: Document rpcgen -5.
11567
4db5b08f
MS
115682013-10-19 Michael Stahl <mstahl@redhat.com>
11569
11570 * elf/rtld.c (do_preload): Print the reason why preloading failed.
11571
a471e96a
OB
115722013-10-19 Ondřej Bílka <neleai@seznam.cz>
11573
d1f23d46 11574 [BZ #10278]
a471e96a
OB
11575 * posix/glob.c: Match only directories when trailing slash is present.
11576 * posix/tst-gnuglob.c (my_opendir): Do not open files.
11577 (main): Add testcase.
11578
45c30c61
OB
115792013-10-19 Ondřej Bílka <neleai@seznam.cz>
11580
11581 [BZ #15670]
11582 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
11583
484c12fb
CD
115842013-10-18 Carlos O'Donell <carlos@redhat.com>
11585
3d7dc513
CD
11586 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
11587 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
11588 AUTH_DES and cindex for FIPS 140-2.
11589 (DES Encryption): Add cindex FIPS 46-3.
11590
484c12fb
CD
11591 * locale/locarchive.h (struct locarhandle): Add fname.
11592 * locale/programs/localedef.c (main): Pass ARGV[remaining]
11593 if an optional argument was specified to --list-archive,
11594 otherwise NULL.
11595 * locale/programs/locarchive.c (show_archive_content): Take new
11596 argument fname and pass it via ah.fname to open_archive.
11597 * locale/programs/localedef.h: Update decl.
11598 (open_archive): If AH->fname is non-null, open that file
11599 rather than the default file name, and don't ignore ENOENT.
11600 (create_archive): Set AH.fname to NULL.
11601 (delete_locales_from_archive): Likewise.
11602 (add_locales_to_archive): Likewise.
11603 * locale/programs/locfile.c (write_all_categories): Likewise.
11604
3c8325fb
JM
116052013-10-18 Joseph Myers <joseph@codesourcery.com>
11606 Aldy Hernandez <aldyh@redhat.com>
11607
11608 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
11609 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
11610 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
11611 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
11612 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
11613 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
11614 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
11615 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
11616 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
11617 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
11618 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
11619 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
11620 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
11621 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
11622 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
11623 Likewise.
11624 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
11625 Likewise.
11626 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
11627 Likewise.
11628 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
11629 Likewise.
11630 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
11631 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
11632 Likewise.
11633 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
11634 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
11635 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
11636 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
11637 Likewise.
11638 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
11639 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
11640 * sysdeps/powerpc/preconfigure: Likewise.
11641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11642 Likewise.
11643 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
11644 Replace contents of file by #include of <fenv_libc.h>.
11645 * sysdeps/powerpc/soft-fp/sfp-machine.h
11646 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
11647 and <sys/prctl.h>.
11648 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
11649 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
11650 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
11651 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
11652 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
11653 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
11654 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
11655 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
11656 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
11657 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
11658 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
11659 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
11660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11661 Allow copysignl PLT reference to be missing.
11662
5abe0682
RS
116632013-10-18 Richard Sandiford <richard@codesourcery.com>
11664 Joseph Myers <joseph@codesourcery.com
11665
11666 [BZ #15948]
11667 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
11668 single character.
11669 (add_to_tablewc): Assert sequence of wide characters is nonempty.
11670
c7738d08
SP
116712013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11672
11673 * elf/tst-tls-dlinfo.c: Don't include tls.h.
11674 * elf/tst-tls1.c: Likewise.
11675 * elf/tst-tls10.h: Likewise.
11676 * elf/tst-tls14.c: Likewise.
11677 * elf/tst-tls2.c: Likewise.
11678 * elf/tst-tls3.c: Likewise.
11679 * elf/tst-tls4.c: Likewise.
11680 * elf/tst-tls5.c: Likewise.
11681 * elf/tst-tls6.c: Likewise.
11682 * elf/tst-tls7.c: Likewise.
11683 * elf/tst-tls8.c: Likewise.
11684 * elf/tst-tls9.c: Likewise.
11685 * elf/tst-tlsmod1.c: Likewise.
11686 * elf/tst-tlsmod13.c: Likewise.
11687 * elf/tst-tlsmod13a.c: Likewise.
11688 * elf/tst-tlsmod14a.c: Likewise.
11689 * elf/tst-tlsmod16a.c: Likewise.
11690 * elf/tst-tlsmod16b.c: Likewise.
11691 * elf/tst-tlsmod2.c: Likewise.
11692 * elf/tst-tlsmod3.c: Likewise.
11693 * elf/tst-tlsmod4.c: Likewise.
11694 * elf/tst-tlsmod5.c: Likewise.
11695 * elf/tst-tlsmod6.c: Likewise.
11696
0bfcf2c7
OB
116972013-10-18 Ondřej Bílka <neleai@seznam.cz>
11698
11699 [BZ #12486]
11700 * malloc/malloc.c: remove checks for statistics.
11701
264aad1e
OB
117022013-10-17 Ondřej Bílka <neleai@seznam.cz>
11703
11704 [BZ #15277]
11705 * inet/inet_net.c (inet_network): Detect additional invalid strings.
11706 * inet/tst-network.c: Add testcase.
11707
b957ced8
AS
117082013-10-17 Andreas Schwab <schwab@suse.de>
11709
11710 [BZ #15218]
11711 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
11712 to determine canonical name.
11713
c5d5d574
OB
117142013-10-17 Ondřej Bílka <neleai@seznam.cz>
11715
11716 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
11717 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
11718 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11719 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11720 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11721 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11722 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11723 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11724 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11725 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11726 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11727 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11728 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11729 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11730 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11731 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11732 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11733 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11734 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11735 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11736 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11737 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11738 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11739 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
11740 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
11741 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11742 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11743 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
11744 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11745 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
11746 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11747 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11748 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11749 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11750 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11751 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11752 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11753 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11754 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11755 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11756 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11757 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11758 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11759 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11760 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11761 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11762 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11763 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11764 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11765 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11766 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11767 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11768 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11769 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11770 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11771 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11772 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11773 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11774
e5c2c2d0
JM
117752013-10-17 Joseph Myers <joseph@codesourcery.com>
11776
11777 [BZ #16041]
11778 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
11779 make result into a quiet NaN.
11780
51ca9e29
JM
117812013-10-16 Joseph Myers <joseph@codesourcery.com>
11782
11783 * soft-fp/adddf3.c: Fix horizontal whitespace.
11784 * soft-fp/addsf3.c: Likewise.
11785 * soft-fp/addtf3.c: Likewise.
11786 * soft-fp/divdf3.c: Likewise.
11787 * soft-fp/divsf3.c: Likewise.
11788 * soft-fp/divtf3.c: Likewise.
11789 * soft-fp/double.h: Likewise.
11790 * soft-fp/eqdf2.c: Likewise.
11791 * soft-fp/eqsf2.c: Likewise.
11792 * soft-fp/eqtf2.c: Likewise.
11793 * soft-fp/extenddftf2.c: Likewise.
11794 * soft-fp/extended.h: Likewise.
11795 * soft-fp/extendsfdf2.c: Likewise.
11796 * soft-fp/extendsftf2.c: Likewise.
11797 * soft-fp/extendxftf2.c: Likewise.
11798 * soft-fp/fixdfdi.c: Likewise.
11799 * soft-fp/fixdfsi.c: Likewise.
11800 * soft-fp/fixdfti.c: Likewise.
11801 * soft-fp/fixsfdi.c: Likewise.
11802 * soft-fp/fixsfsi.c: Likewise.
11803 * soft-fp/fixsfti.c: Likewise.
11804 * soft-fp/fixtfdi.c: Likewise.
11805 * soft-fp/fixtfsi.c: Likewise.
11806 * soft-fp/fixtfti.c: Likewise.
11807 * soft-fp/fixunsdfdi.c: Likewise.
11808 * soft-fp/fixunsdfsi.c: Likewise.
11809 * soft-fp/fixunsdfti.c: Likewise.
11810 * soft-fp/fixunssfdi.c: Likewise.
11811 * soft-fp/fixunssfsi.c: Likewise.
11812 * soft-fp/fixunssfti.c: Likewise.
11813 * soft-fp/fixunstfdi.c: Likewise.
11814 * soft-fp/fixunstfsi.c: Likewise.
11815 * soft-fp/fixunstfti.c: Likewise.
11816 * soft-fp/floatdidf.c: Likewise.
11817 * soft-fp/floatdisf.c: Likewise.
11818 * soft-fp/floatditf.c: Likewise.
11819 * soft-fp/floatsidf.c: Likewise.
11820 * soft-fp/floatsisf.c: Likewise.
11821 * soft-fp/floatsitf.c: Likewise.
11822 * soft-fp/floattidf.c: Likewise.
11823 * soft-fp/floattisf.c: Likewise.
11824 * soft-fp/floattitf.c: Likewise.
11825 * soft-fp/floatundidf.c: Likewise.
11826 * soft-fp/floatundisf.c: Likewise.
11827 * soft-fp/floatunditf.c: Likewise.
11828 * soft-fp/floatunsidf.c: Likewise.
11829 * soft-fp/floatunsisf.c: Likewise.
11830 * soft-fp/floatunsitf.c: Likewise.
11831 * soft-fp/floatuntidf.c: Likewise.
11832 * soft-fp/floatuntisf.c: Likewise.
11833 * soft-fp/floatuntitf.c: Likewise.
11834 * soft-fp/fmadf4.c: Likewise.
11835 * soft-fp/fmasf4.c: Likewise.
11836 * soft-fp/fmatf4.c: Likewise.
11837 * soft-fp/gedf2.c: Likewise.
11838 * soft-fp/gesf2.c: Likewise.
11839 * soft-fp/getf2.c: Likewise.
11840 * soft-fp/ledf2.c: Likewise.
11841 * soft-fp/lesf2.c: Likewise.
11842 * soft-fp/letf2.c: Likewise.
11843 * soft-fp/muldf3.c: Likewise.
11844 * soft-fp/mulsf3.c: Likewise.
11845 * soft-fp/multf3.c: Likewise.
11846 * soft-fp/negdf2.c: Likewise.
11847 * soft-fp/negsf2.c: Likewise.
11848 * soft-fp/negtf2.c: Likewise.
11849 * soft-fp/op-1.h: Likewise.
11850 * soft-fp/op-2.h: Likewise.
11851 * soft-fp/op-4.h: Likewise.
11852 * soft-fp/op-8.h: Likewise.
11853 * soft-fp/op-common.h: Likewise.
11854 * soft-fp/quad.h: Likewise.
11855 * soft-fp/single.h: Likewise.
11856 * soft-fp/soft-fp.h: Likewise.
11857 * soft-fp/sqrtdf2.c: Likewise.
11858 * soft-fp/sqrtsf2.c: Likewise.
11859 * soft-fp/sqrttf2.c: Likewise.
11860 * soft-fp/subdf3.c: Likewise.
11861 * soft-fp/subsf3.c: Likewise.
11862 * soft-fp/subtf3.c: Likewise.
11863 * soft-fp/truncdfsf2.c: Likewise.
11864 * soft-fp/trunctfdf2.c: Likewise.
11865 * soft-fp/trunctfsf2.c: Likewise.
11866 * soft-fp/trunctfxf2.c: Likewise.
11867 * soft-fp/unorddf2.c: Likewise.
11868 * soft-fp/unordsf2.c: Likewise.
11869 * soft-fp/unordtf2.c: Likewise.
11870
9ebb0332
JM
118712013-10-15 Joseph Myers <joseph@codesourcery.com>
11872
11873 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
11874 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
11875
4b1a6d8b
OB
118762013-10-15 Ondřej Bílka <neleai@seznam.cz>
11877
11878 * elf/dl-libc.c: Clear initfini list after freeing.
11879
1e145589
JM
118802013-10-14 Joseph Myers <joseph@codesourcery.com>
11881
11882 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
11883 * soft-fp/addsf3.c: Likewise.
11884 * soft-fp/addtf3.c: Likewise.
11885 * soft-fp/divdf3.c: Likewise.
11886 * soft-fp/divsf3.c: Likewise.
11887 * soft-fp/divtf3.c: Likewise.
11888 * soft-fp/double.h: Likewise.
11889 * soft-fp/eqdf2.c: Likewise.
11890 * soft-fp/eqsf2.c: Likewise.
11891 * soft-fp/eqtf2.c: Likewise.
11892 * soft-fp/extenddftf2.c: Likewise.
11893 * soft-fp/extended.h: Likewise.
11894 * soft-fp/extendsfdf2.c: Likewise.
11895 * soft-fp/extendsftf2.c: Likewise.
11896 * soft-fp/extendxftf2.c: Likewise.
11897 * soft-fp/fixdfdi.c: Likewise.
11898 * soft-fp/fixdfsi.c: Likewise.
11899 * soft-fp/fixdfti.c: Likewise.
11900 * soft-fp/fixsfdi.c: Likewise.
11901 * soft-fp/fixsfsi.c: Likewise.
11902 * soft-fp/fixsfti.c: Likewise.
11903 * soft-fp/fixtfdi.c: Likewise.
11904 * soft-fp/fixtfsi.c: Likewise.
11905 * soft-fp/fixtfti.c: Likewise.
11906 * soft-fp/fixunsdfdi.c: Likewise.
11907 * soft-fp/fixunsdfsi.c: Likewise.
11908 * soft-fp/fixunsdfti.c: Likewise.
11909 * soft-fp/fixunssfdi.c: Likewise.
11910 * soft-fp/fixunssfsi.c: Likewise.
11911 * soft-fp/fixunssfti.c: Likewise.
11912 * soft-fp/fixunstfdi.c: Likewise.
11913 * soft-fp/fixunstfsi.c: Likewise.
11914 * soft-fp/fixunstfti.c: Likewise.
11915 * soft-fp/floatdidf.c: Likewise.
11916 * soft-fp/floatdisf.c: Likewise.
11917 * soft-fp/floatditf.c: Likewise.
11918 * soft-fp/floatsidf.c: Likewise.
11919 * soft-fp/floatsisf.c: Likewise.
11920 * soft-fp/floatsitf.c: Likewise.
11921 * soft-fp/floattidf.c: Likewise.
11922 * soft-fp/floattisf.c: Likewise.
11923 * soft-fp/floattitf.c: Likewise.
11924 * soft-fp/floatundidf.c: Likewise.
11925 * soft-fp/floatundisf.c: Likewise.
11926 * soft-fp/floatunsidf.c: Likewise.
11927 * soft-fp/floatunsisf.c: Likewise.
11928 * soft-fp/floatuntidf.c: Likewise.
11929 * soft-fp/floatuntisf.c: Likewise.
11930 * soft-fp/floatuntitf.c: Likewise.
11931 * soft-fp/fmadf4.c: Likewise.
11932 * soft-fp/fmasf4.c: Likewise.
11933 * soft-fp/fmatf4.c: Likewise.
11934 * soft-fp/gedf2.c: Likewise.
11935 * soft-fp/gesf2.c: Likewise.
11936 * soft-fp/getf2.c: Likewise.
11937 * soft-fp/ledf2.c: Likewise.
11938 * soft-fp/lesf2.c: Likewise.
11939 * soft-fp/letf2.c: Likewise.
11940 * soft-fp/muldf3.c: Likewise.
11941 * soft-fp/mulsf3.c: Likewise.
11942 * soft-fp/multf3.c: Likewise.
11943 * soft-fp/negdf2.c: Likewise.
11944 * soft-fp/negsf2.c: Likewise.
11945 * soft-fp/negtf2.c: Likewise.
11946 * soft-fp/op-1.h: Likewise.
11947 * soft-fp/op-2.h: Likewise.
11948 * soft-fp/op-4.h: Likewise.
11949 * soft-fp/op-8.h: Likewise.
11950 * soft-fp/op-common.h: Likewise.
11951 * soft-fp/quad.h: Likewise.
11952 * soft-fp/single.h: Likewise.
11953 * soft-fp/soft-fp.h: Likewise.
11954 * soft-fp/sqrtdf2.c: Likewise.
11955 * soft-fp/sqrtsf2.c: Likewise.
11956 * soft-fp/sqrttf2.c: Likewise.
11957 * soft-fp/subdf3.c: Likewise.
11958 * soft-fp/subsf3.c: Likewise.
11959 * soft-fp/subtf3.c: Likewise.
11960 * soft-fp/truncdfsf2.c: Likewise.
11961 * soft-fp/trunctfdf2.c: Likewise.
11962 * soft-fp/trunctfsf2.c: Likewise.
11963 * soft-fp/trunctfxf2.c: Likewise.
11964 * soft-fp/unorddf2.c: Likewise.
11965 * soft-fp/unordsf2.c: Likewise.
11966 * soft-fp/unordtf2.c: Likewise.
11967
17c48a60
OB
119682013-10-14 Ondřej Bílka <neleai@seznam.cz>
11969
11970 [BZ #15672]
11971 * misc/error.c (error_tail): Fix possible buffer overflow.
11972
cabba934
OB
119732013-10-14 Aurelien Jarno <aurelien@aurel32.net>
11974
11975 [BZ #13028]
11976 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
11977 address.
11978
94bf958a
PM
119792013-10-14 P. J. McDermott <pj@pehjota.net>
11980
11981 [BZ #832]
11982 * elf/ldd.bash.in (try_trace): New function. Delete previous code
11983 testing pipefail option.
11984
71b4dea7
JM
119852013-10-12 Joseph Myers <joseph@codesourcery.com>
11986
11987 * soft-fp/double.h: Indent preprocessor directives inside #if.
11988 * soft-fp/extended.h: Likewise.
11989 * soft-fp/op-2.h: Likewise.
11990 * soft-fp/op-4.h: Likewise.
11991 * soft-fp/op-common.h: Likewise.
11992 * soft-fp/quad.h: Likewise.
11993 * soft-fp/single.h: Likewise.
11994 * soft-fp/soft-fp.h: Likewise.
11995
55602758
YC
119962013-10-12 Yuri Chornoivan <yurchor@ukr.net>
11997
11998 * iconv/iconv_prog.c: Fix typos.
11999 * stdio-common/psiginfo-data.h: Likewise.
12000
9cd83302
RT
120012013-10-12 Reuben Thomas <rrt@sc3d.org>
12002
12003 [BZ #15764]
12004 * locale/setlocale.c: Fix typo.
12005
99fd9f47
JM
120062013-10-12 Joseph Myers <joseph@codesourcery.com>
12007
b7ea74f0
JM
12008 [BZ #16036]
12009 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12010 signaling NaN arguments.
12011 * soft-fp/unordsf2.c (__unordsf2): Likewise.
12012 * soft-fp/unordtf2.c (__unordtf2): Likewise.
12013
8a509447
JM
12014 [BZ #14910]
12015 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12016 unordered operands.
12017 * soft-fp/gesf2.c (__gesf2): Likewise.
12018 * soft-fp/getf2.c (__getf2): Likewise.
12019 * soft-fp/ledf2.c (__ledf2): Likewise.
12020 * soft-fp/lesf2.c (__lesf2): Likewise.
12021 * soft-fp/letf2.c (__letf2): Likewise.
12022
98998e9f
JM
12023 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12024 * soft-fp/eqsf2.c (__eqsf2): Likewise.
12025 * soft-fp/eqtf2.c (__eqtf2): Likewise.
12026 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12027 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12028 * soft-fp/fixdfti.c (__fixdfti): Likewise.
12029 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12030 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12031 * soft-fp/fixsfti.c (__fixsfti): Likewise.
12032 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12033 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12034 * soft-fp/fixtfti.c (__fixtfti): Likewise.
12035 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12036 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12037 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12038 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12039 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12040 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12041 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12042 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12043 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12044 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12045 * soft-fp/floatdisf.c (__floatdisf): Likewise.
12046 * soft-fp/floatsisf.c (__floatsisf): Likewise.
12047 * soft-fp/floattidf.c (__floattidf): Likewise.
12048 * soft-fp/floattisf.c (__floattisf): Likewise.
12049 * soft-fp/floattitf.c (__floattitf): Likewise.
12050 * soft-fp/floatundidf.c (__floatundidf): Likewise.
12051 * soft-fp/floatundisf.c (__floatundisf): Likewise.
12052 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12053 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12054 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12055 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12056 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12057 * soft-fp/gesf2.c (__gesf2): Likewise.
12058 * soft-fp/getf2.c (__getf2): Likewise.
12059 * soft-fp/ledf2.c (__ledf2): Likewise.
12060 * soft-fp/lesf2.c (__lesf2): Likewise.
12061 * soft-fp/letf2.c (__letf2): Likewise.
12062
8edc4a11
JM
12063 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12064 Undefine and redefine.
12065 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12066 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12067 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12068 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12069 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12070 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12071 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12072 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12073 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12074 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12075 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12076 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12077 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12078 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12079 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12080
8399acaf
JM
12081 [BZ #16032]
12082 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12083 without decrementing exponent if mantissa >= that for the
12084 denominator, not >.
12085 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12086 denominator, not >. Decrement exponent in < case instead of
12087 incrementing in >= case.
12088 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12089 without decrementing exponent if mantissa >= that for the
12090 denominator, not >.
12091
99fd9f47
JM
12092 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12093 computing saturated result for unsigned overflow.
12094
10e1cf6b
SP
120952013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12096 Jeff Law <law@redhat.com>
12097
12098 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12099 (atan2Mp): Add systemtap probe marker.
12100 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12101 (__ieee754_log): Add systemtap probe marker.
12102 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12103 (atanMp): Add systemtap probe marker.
12104 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12105 (tanMp): Add systemtap probe marker.
12106 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12107 (__slowexp): Add systemtap probe marker.
12108 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12109 (__slowpow): Add systemtap probe marker.
12110 * manual/probes.texi: Document probes.
12111
3d110c7c
EB
121122013-10-11 Eric Biggers <ebiggers3@gmail.com>
12113
12114 [BZ #15362]
12115 * libio/fileops.c (_IO_new_file_write): Return count of bytes
12116 written.
12117 (_IO_new_file_xsputn): Don't return EOF if nothing has been
12118 written.
12119 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12120 written to buffer but not flushed.
12121 * libio/iofwrite_u.c: Likewise.
12122 * libio/iopadn.c: Return bytes returned even if EOF was
12123 encountered.
12124 * libio/iowpadn.c: Likewise.
12125 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12126 if _IO_padn does not write the whole buffer.
12127 [!COMPILE_WPRINTF] (PAD): Likewise.
12128
75b4202a
DM
121292013-10-10 David S. Miller <davem@davemloft.net>
12130
12131 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12132 directory block.
12133
6c6352e6
JM
121342013-10-10 Joseph Myers <joseph@codesourcery.com>
12135
33b853c3
JM
12136 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
12137 instead of FSF address.
12138 * soft-fp/fixdfti.c: Likewise.
12139 * soft-fp/fixsfti.c: Likewise.
12140 * soft-fp/fixtfti.c: Likewise.
12141 * soft-fp/fixunsdfti.c: Likewise.
12142 * soft-fp/fixunssfti.c: Likewise.
12143 * soft-fp/fixunstfti.c: Likewise.
12144 * soft-fp/floattidf.c: Likewise.
12145 * soft-fp/floattisf.c: Likewise.
12146 * soft-fp/floattitf.c: Likewise.
12147 * soft-fp/floatuntidf.c: Likewise.
12148 * soft-fp/floatuntisf.c: Likewise.
12149 * soft-fp/floatuntitf.c: Likewise.
12150 * soft-fp/trunctfxf2.c: Likewise.
12151
6c6352e6
JM
12152 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
12153 * soft-fp/fixdfti.c: Likewise.
12154 * soft-fp/fixsfti.c: Likewise.
12155 * soft-fp/fixtfti.c: Likewise.
12156 * soft-fp/fixunsdfti.c: Likewise.
12157 * soft-fp/fixunssfti.c: Likewise.
12158 * soft-fp/fixunstfti.c: Likewise.
12159 * soft-fp/floattidf.c: Likewise.
12160 * soft-fp/floattisf.c: Likewise.
12161 * soft-fp/floattitf.c: Likewise.
12162 * soft-fp/floatuntidf.c: Likewise.
12163 * soft-fp/floatuntisf.c: Likewise.
12164 * soft-fp/floatuntitf.c: Likewise.
12165 * soft-fp/trunctfxf2.c: Likewise.
12166
3bf78b71
DM
121672013-10-10 David S. Miller <davem@davemloft.net>
12168
12169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12170
6f10289e
JM
121712013-10-10 Joseph Myers <joseph@codsourcery.com>
12172
bd878fc0
JM
12173 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12174 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12175 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12176 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12177 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12178 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12179 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12180
6f10289e
JM
12181 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12182 for NaNs before doing comparisons on argument.
12183 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12184 Likewise.
12185
321e2684
WN
121862013-10-10 Will Newton <will.newton@linaro.org>
12187
12188 * malloc/hooks.c (memalign_check): Ensure the value of bytes
12189 passed to _int_memalign does not overflow.
12190
40fefba1
TR
121912013-10-10 Torvald Riegel <triegel@redhat.com>
12192
12193 * scripts/bench.pl: Add include-sources directive.
12194 * benchtests/README: Update documentation.
12195
2ae21ed2
JM
121962013-10-10 Joseph Myers <joseph@codesourcery.com>
12197
dcc2dd3f
JM
12198 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12199 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12200 instead of FP_INIT_ROUNDMODE.
12201 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12202 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12203
2ae21ed2
JM
12204 [BZ #16034]
12205 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
12206 copy class of input value.
12207 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
12208 not handle exceptions.
12209 * soft-fp/negsf2.c (__negsf2): Likewise.
12210 * soft-fp/negtf2.c (__negtf2): Likewise.
12211 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12212
cb8f9562
JM
122132013-10-09 Joseph Myers <joseph@codesourcery.com>
12214
12215 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12216 semicolon. From Linux kernel.
12217
5b60c59d
AB
122182013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
12219
12220 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12221
b86835ca
YC
122222013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
12223
12224 [BZ #156]
12225 * manual/socket.texi: Added statement about buffer
12226 for gethostbyname2_r.
12227
e7044ea7
OB
122282013-10-08 Ondřej Bílka <neleai@seznam.cz>
12229
12230 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12231 Use .p2align directive instead, throughout.
12232 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12233 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12234 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12235 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12236 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12237 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12238 * sysdeps/x86_64/strchr.S: Likewise.
12239 * sysdeps/x86_64/strrchr.S: Likewise.
12240
09544cbc
SP
122412013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12242
88576635
SP
12243 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12244
e7b2d1dd
SP
12245 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12246
09544cbc
SP
12247 * sysdeps/generic/math_private.h (__mpsin1): Remove
12248 declaration.
12249 (__mpcos1): Likewise.
12250 (__mpsin): New argument __range_reduce.
12251 (__mpcos): Likewise.
12252 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12253 (slow): Use __mpsin and __mpcos.
12254 (slow1): Likewise.
12255 (slow2): Likewise.
12256 (sloww): Likewise.
12257 (sloww1): Likewise.
12258 (sloww2): Likewise.
12259 (bsloww): Likewise.
12260 (bsloww1): Likewise.
12261 (bsloww2): Likewise.
12262 (cslow2): Likewise.
12263 (csloww): Likewise.
12264 (csloww1): Likewise.
12265 (csloww2): Likewise.
12266 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12267 range_reduce. Merge in __mpsin1.
12268 (__mpcos): Likewise.
12269 (__mpsin1): Remove.
12270 (__mpcos1): Likewise.
12271
7602d070
JM
122722013-10-07 Joseph Myers <joseph@codesourcery.com>
12273
12274 * locale/loadlocale.c (_nl_intern_locale_data): Use
12275 LOCFILE_ALIGNED_P.
12276 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12277 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12278 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12279 obstack data is appropriately aligned.
12280 (obstack_int32_grow_fast): Likewise.
12281 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12282 * locale/programs/locfile.c (add_locale_uint32): Likewise.
12283 (add_locale_uint32_array): Likewise.
12284
a357259b
SP
122852013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12286
12287 * benchtests/Makefile: Remove ARGLIST and RET variables.
12288 ($(objpfx)bench-%.c): Pass only function name to the script.
12289 * benchtests/README: Update documentation.
12290 * benchtests/acos-inputs: Add new directives.
12291 * benchtests/acosh-inputs: Likewise.
12292 * benchtests/asin-inputs: Likewise.
12293 * benchtests/asinh-inputs: Likewise.
12294 * benchtests/atan-inputs: Likewise.
12295 * benchtests/atanh-inputs: Likewise.
12296 * benchtests/cos-inputs: Likewise.
12297 * benchtests/cosh-inputs: Likewise.
12298 * benchtests/exp-inputs: Likewise.
12299 * benchtests/log-inputs: Likewise.
12300 * benchtests/pow-inputs: Likewise.
12301 * benchtests/rint-inputs: Likewise.
12302 * benchtests/sin-inputs: Likewise.
12303 * benchtests/sinh-inputs: Likewise.
12304 * benchtests/tan-inputs: Likewise.
12305 * benchtests/tanh-inputs: Likewise.
12306 * scripts/bench.pl: Add support for new directives.
12307
9ec1b13d
AM
123082013-10-07 Alan Modra <amodra@gmail.com>
12309
12310 * README: Fix careless merge.
12311
8b7d57cd
AM
123122013-10-05 Alan Modra <amodra@gmail.com>
12313
12314 * NEWS: Mention powerpc64le support and bugs fixed.
12315 * README: Both big-endian and little-endian powerpc64 supported.
12316
7b7bab13
ST
123172013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12318
57f41c40
AS
12319 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12320 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
12321 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12322 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12323
d39baad1
RA
123242013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
12325
12326 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12327 match prototype.
12328
cd78f7e7
JM
123292013-10-04 Joseph Myers <joseph@codesourcery.com>
12330
29d73d86
JM
12331 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12332 Move -mhard-float appending from
12333 ports/sysdeps/powerpc/powerpc32/Makefile.
12334 [$(with-fp) = yes] (ASFLAGS): Likewise.
12335 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12336 * sysdeps/powerpc/nofpu: Move directory from
12337 ports/sysdeps/powerpc/nofpu.
12338 * sysdeps/powerpc/soft-fp: Move directory from
12339 ports/sysdeps/powerpc/soft-fp.
12340 * sysdeps/powerpc/powerpc32/405: Move directory from
12341 ports/sysdeps/powerpc/powerpc32/405.
12342 * sysdeps/powerpc/powerpc32/440: Move directory from
12343 ports/sysdeps/powerpc/powerpc32/440.
12344 * sysdeps/powerpc/powerpc32/464: Move directory from
12345 ports/sysdeps/powerpc/powerpc32/464.
12346 * sysdeps/powerpc/powerpc32/476: Move directory from
12347 ports/sysdeps/powerpc/powerpc32/476.
12348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12349 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12351 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12353 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12355 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12357 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12358 * README: Update for powerpc-*-linux-gnu software floating point
12359 support in libc.
12360
e246b347
JM
12361 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12362 case to powerpc/powerpc32*.
12363 * sysdeps/unix/sysv/linux/configure: Regenerated.
12364
89c2003e
JM
12365 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12366 (_FPU_MASK_OM): Define as 0x04.
12367 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12368 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12369 0x00c10080.
12370 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12371 0x0000003c.
12372 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12373
cd78f7e7
JM
12374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12375 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12376 getcontext_e500.
12377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12378 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12379 setcontext_e500.
12380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12381 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12382 and setcontext_e500.
12383
c755294d
CL
123842013-10-04 Chris Leonard <cjl@sugarlabs,.org>
12385
12386 * locale/iso-3166.def: Update iso-1366.def and related occurrences
12387
e16d221c
SP
123882013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12389
12390 * manual/threads.texi (Default Thread Attributes): Fix typo.
12391
215c7d43
WN
123922013-10-04 Will Newton <will.newton@linaro.org>
12393
12394 * malloc/Makefile: Add tst-memalign.
12395 * malloc/tst-memalign.c: New file.
12396
27d0461b
WN
12397 * malloc/tst-posix_memalign.c: Add comments.
12398 (do_test): Add comments and call free on all potentially
12399 allocated pointers. Add space after cast.
12400
1bc92709
WN
12401 * malloc/tst-pvalloc.c: Add comments.
12402 (do_test): Add comments and call free on all potentially
12403 allocated pointers. Remove duplicate check for NULL pointer.
12404 Add space after cast.
12405
66a9be9d
WN
12406 * malloc/tst-valloc.c: Add comments.
12407 (do_test): Add comments and call free on all potentially
12408 allocated pointers. Remove duplicate check for NULL pointer.
12409 Add space after cast.
12410
4cb81307
AM
124112013-10-04 Alan Modra <amodra@gmail.com>
12412
12413 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12414 Use stdint types in rather than __attribute__((mode())).
12415 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12416
f8e3e9f3
AM
124172013-10-04 Alan Modra <amodra@gmail.com>
12418
12419 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12420 Correct handling of unaligned relocs for little-endian.
12421 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12422
8f9ebb08
AM
124232013-10-04 Alan Modra <amodra@gmail.com>
12424
12425 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12426 * configure: Regenerate.
12427 * nptl/shlib-versions: Powerpc*le starts at 2.18.
12428 * shlib-versions: Likewise.
12429
0edf96c2
AM
124302013-10-04 Alan Modra <amodra@gmail.com>
12431
12432 * string/tester.c (test_memrchr): Increment reported test cycle.
12433
e0f7a380
AM
124342013-10-04 Alan Modra <amodra@gmail.com>
12435
12436 * string/test-memcpy.c (do_one_test): When reporting errors, print
12437 string address and don't overrun end of string.
12438
466b0393
AM
124392013-10-04 Alan Modra <amodra@gmail.com>
12440
12441 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12442 insrdi. Make better use of reg selection to speed exit slightly.
12443 Schedule entry path a little better. Remove useless "are we done"
12444 checks on entry to main loop. Handle wrapping around zero address.
12445 Correct main loop count. Handle single left-over word from main
12446 loop inline rather than by using loop_small. Remove extra word
12447 case in loop_small caused by wrong loop count. Add little-endian
12448 support.
12449 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12450 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
12451 cache hint.
12452 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12453 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12454 support. Avoid rlwimi.
12455 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12456
3be87c77
AM
124572013-10-04 Alan Modra <amodra@gmail.com>
12458
12459 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 12460 insrdi. Formatting.
3be87c77
AM
12461 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12462 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12463 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12464 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12465 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12466 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12467
759cfef3
AM
124682013-10-04 Alan Modra <amodra@gmail.com>
12469
12470 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12471 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12472 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12473 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12474 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12475 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12476 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12477 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12478 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
12479 use of regs. Use power7 mtocrf. Tidy function tails.
12480
fe6e95d7
AM
124812013-10-04 Alan Modra <amodra@gmail.com>
12482
12483 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12484 Formatting. Consistently use rXXX register defines or rN defines.
12485 Use early exit labels that avoid restoring unused non-volatile regs.
12486 Make cr field use more consistent with rWORDn compares. Rename
12487 regs used as shift registers for unaligned loop, using rN defines
12488 for short lifetime/multiple use regs.
12489 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12490 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
12491 addi 1,1,64 to pop stack frame. Simplify return value code.
12492 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12493
664318c3
AM
124942013-10-04 Alan Modra <amodra@gmail.com>
12495
12496 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
12497 support. Correct typos, formatting. Optimize tail. Use insrdi
12498 rather than rlwimi.
12499 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
12500 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
12501 little-endian support. Correct typos.
12502 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
12503 rather than rlwimi.
12504 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
12505 in loop and entry code to keep "and." results.
12506 (strchr): Add little-endian support. Comment. Move cntlzd
12507 earlier in tail.
12508 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
12509
43b84013
AM
125102013-10-04 Alan Modra <amodra@gmail.com>
12511
12512 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
12513 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
12514 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12515 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
12516
8a7413f9
AM
125172013-10-04 Alan Modra <amodra@gmail.com>
12518
12519 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
12520 (rTMP): Define as r11.
12521 (strcmp): Add little-endian support. Optimise tail.
12522 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
12523 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12524 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12525 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12526 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12527 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12528 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12529
33ee81de
AM
125302013-10-04 Alan Modra <amodra@gmail.com>
12531
12532 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
12533 little-endian support. Remove unnecessary "are we done" tests.
12534 Handle "s" wrapping around zero and extremely large "size".
12535 Correct main loop count. Handle single left-over word from main
12536 loop inline rather than by using small_loop. Correct comments.
12537 Delete "zero" tail, use "end_max" instead.
12538 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
12539
db9b4570
AM
125402013-10-04 Alan Modra <amodra@gmail.com>
12541
12542 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
12543 support. Don't branch over align.
12544 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
12545 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
12546 support. Rearrange tmp reg use to suit. Comment.
12547 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
12548
f7c399cf
AM
125492013-10-04 Alan Modra <amodra@gmail.com>
12550
12551 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
12552
0b2c2ace
AM
125532013-10-04 Alan Modra <amodra@gmail.com>
12554
12555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
12556 conditional form of branch and link when obtaining pc.
12557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12558
02f04a6c
AM
125592013-10-04 Alan Modra <amodra@gmail.com>
12560
12561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
12562 HIWORD/LOWORD.
12563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
12564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
12565
9b874b2f
AM
125662013-10-04 Alan Modra <amodra@gmail.com>
12567
12568 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
12569 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
12570 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12571 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
12572 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12573 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12574 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
12575 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12576 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12577 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
12578
be1e5d31
AB
125792013-10-04 Anton Blanchard <anton@au1.ibm.com>
12580 Alistair Popple <alistair@ozlabs.au.ibm.com>
12581 Alan Modra <amodra@gmail.com>
12582
12583 [BZ #15723]
12584 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
12585 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
12586 _dl_hwcap access for little-endian.
12587 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
12588 destroy vmx regs when saving unaligned.
12589 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
12590 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
12591 destroy vmx regs when saving unaligned.
12592
fef13a78
AM
125932013-10-04 Alan Modra <amodra@gmail.com>
12594
12595 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
12596 Don't use a union to pack hi/low value.
12597
76a66d51
AB
125982013-10-04 Anton Blanchard <anton@au1.ibm.com>
12599
12600 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
12601 for little-endian.
12602 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12603 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
12604 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12605 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12606 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12607
6a31fe7f
AM
126082013-10-04 Alan Modra <amodra@gmail.com>
12609
12610 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
12611 constants to usual value for .cst8 section, and remove redundant
12612 high address load.
12613 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
12614 constant for 0x1p52. Load little-endian words of double from
12615 correct stack offsets.
12616
7b88401f
AM
126172013-10-04 Alan Modra <amodra@gmail.com>
12618
12619 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
12620 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
12621 words of double from correct stack offsets.
12622 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12623 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
12624 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12625 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12626 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12627 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12628 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12629 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12630 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12631 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12632 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12633 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12634 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12635 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12636 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12637 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
12638 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12639
9c008155
AM
126402013-10-04 Alan Modra <amodra@gmail.com>
12641
12642 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
12643 64-bit int/double union.
12644 (_FPU_SETCW): Likewise.
12645 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
12646 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
12647
da13146d
AM
126482013-10-04 Alan Modra <amodra@gmail.com>
12649
12650 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
12651 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
12652
603e8410
AM
126532013-10-04 Alan Modra <amodra@gmail.com>
12654
12655 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
12656 use vector int constants.
12657 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
12658
4a28b3ca
AB
126592013-10-04 Anton Blanchard <anton@au1.ibm.com>
12660
12661 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
12662 array with long long.
12663 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
12664 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
12665 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
12666 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
12667 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
12668 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
12669 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
12670 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
12671 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
12672 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
12673 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
12674 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
12675 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
12676
2ca85d2b
AB
126772013-10-04 Anton Blanchard <anton@au1.ibm.com>
12678
12679 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
12680 (__signbit): Likewise. Correct for little-endian.
12681 (__signbitl): Call __signbit.
12682 (lrint): Correct for little-endian.
12683 (lrintf): Call lrint.
12684
62a728ae
AM
126852013-10-04 Alan Modra <amodra@gmail.com>
12686
12687 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
12688 union 32-bit int array member with 64-bit int array.
12689 (t515, tm256): Double rather than long double.
12690 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
12691
32c301df
AM
126922013-10-04 Alan Modra <amodra@gmail.com>
12693
12694 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
12695 Delete.
12696 (IEEE854_LONG_DOUBLE_BIAS): Delete.
12697 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
12698 version of math_ldbl.h.
12699
650ef4bd
AM
127002013-10-04 Alan Modra <amodra@gmail.com>
12701
12702 [BZ #15734], [BZ #15735]
12703 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
12704 all uses of ieee875 long double macros and unions. Simplify test
12705 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
12706 ldbl_extract_mantissa value for ix,iy exponents. Properly
12707 normalize after ldbl_extract_mantissa, and don't add hidden bit
12708 already handled. Don't treat low word of ieee854 mantissa like
12709 low word of IBM long double and mask off bit when testing for
12710 zero.
12711 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
12712 all uses of ieee875 long double macros and unions. Simplify tests
12713 for 0.0L and inf. Correct double adjustment of k. Delete dead code
12714 adjusting ha,hb. Simplify code setting kld. Delete two600 and
12715 two1022, instead use their values. Recognise that tests for large
12716 "a" and small "b" are mutually exclusive. Rename vars. Comment.
12717 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
12718 Rewrite all uses of ieee875 long double macros and unions. Simplify
12719 test for 0.0L and nan. Correct negation.
12720 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
12721 ieee875 long double macros and unions. Correct output for large
12722 magnitude x. Correct absolute value calculation.
12723 (__erfcl): Likewise.
12724 * math/libm-test.inc: Add tests for errors discovered in IBM long
12725 double versions of fmodl, remainderl, erfl and erfcl.
12726
765714ca
AM
127272013-10-04 Alan Modra <amodra@gmail.com>
12728
12729 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
12730 all uses of ieee854 long double macros and unions. Simplify tests
12731 for long doubles that are fully specified by the high double.
12732 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12733 Likewise.
12734 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
12735 Remove dead code too.
12736 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12737 (__ieee754_ynl): Likewise.
12738 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12739 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
12740 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12741 Remove dead code too.
12742 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12743 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12744 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12745 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
12746 Simplify.
12747 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
12748 Simplify.
12749 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
12750 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
12751 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
12752 Comment on variable precision.
12753 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
12754 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12755 Likewise.
12756 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12757 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12758 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12759 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12760 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
12761
4ebd120c
AM
127622013-10-04 Alan Modra <amodra@gmail.com>
12763
12764 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
12765 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
12766 all uses of ieee854 long double macros and unions.
12767 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12768 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12769 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
12770 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
12771 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12772 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12773 Likewise.
12774 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
12775 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12776 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
12777 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12778 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12779 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12780 Simplify sign and nan test too.
12781 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
12782 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
12783 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
12784 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
12785 Likewise.
12786 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12787 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
12788 Likewise.
12789 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12790 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12791 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
12792 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
12793 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
12794 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
12795
1b6adf88
AM
127962013-10-04 Alan Modra <amodra@gmail.com>
12797
12798 * stdio-common/printf_size.c (__printf_size): Don't use
12799 union ieee854_long_double in fpnum union.
12800 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
12801 signbit macro to retrieve sign from long double.
12802 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
12803 retrieve sign from long double.
12804 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
12805 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
12806 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
12807 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12808 * math/test-misc.c (main): Don't use union ieee854_long_double.
12809
4cf69995
AM
128102013-10-04 Alan Modra <amodra@gmail.com>
12811
12812 [BZ #15680]
12813 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
12814 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
12815 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
12816 calculation. Remove unnecessary test for denormal exponent.
12817 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
12818 Correct handling of denormals. Avoid undefined shift behaviour.
12819 Correct normalisation of low mantissa when low double is denormal.
12820 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
12821 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
12822 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
12823 Correct normalisation of low mantissa. Test for overflow of high
12824 mantissa and normalise.
12825 (ldbl_nearbyint): Use more readable constant for two52.
12826 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
12827 (__mpn_construct_long_double): Fix test for overflow of high
12828 mantissa and correct normalisation. Avoid undefined shift.
12829
9605ca6c
AM
128302013-10-04 Alan Modra <amodra@gmail.com>
12831
12832 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12833 (union ibm_extended_long_double): Define as an array of ieee754_double.
12834 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
12835 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
12836 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
12837 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12838 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12839 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
12840 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12841 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12842 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12843 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
12844 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12845
975569d0
JM
128462013-10-03 Joseph Myers <joseph@codesourcery.com>
12847
d3d23756
JM
12848 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
12849 page size instead of calling getpagesize.
12850
975569d0
JM
12851 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
12852 (LOCFILE_ALIGN_MASK): Likewise.
12853 (LOCFILE_ALIGN_UP): Likewise.
12854 (LOCFILE_ALIGNED_P): Likewise.
12855 * locale/programs/ld-collate.c (collate_output): Use the new
12856 macros instead of __alignof__ (int32_t).
12857 * locale/weight.h (findidx): Likewise.
12858
b1fe1f2b
OB
128592013-10-03 Ondřej Bílka <neleai@seznam.cz>
12860
12861 [BZ #431]
12862 * manual/string.texi: Fix strncat and wcsncat.
12863
5f855e35
BM
128642013-10-03 Brooks Moses <bmoses@google.com>
12865
12866 [BZ #15915]
12867 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
12868 * Makerules: ...here, and adjust associated comments.
12869
3cef6009
WN
128702013-10-02 Will Newton <will.newton@linaro.org>
12871
12872 * malloc/Makefile: Add tst-pvalloc.
12873 * malloc/tst-pvalloc.c: New file.
12874
7815420b
WN
128752013-10-02 Will Newton <will.newton@linaro.org>
12876
12877 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
12878 improve test coverage.
12879
4868b204
WN
128802013-10-02 Will Newton <will.newton@linaro.org>
12881
12882 * malloc/Makefile: Add tst-posix_memalign.
12883 * malloc/tst-posix_memalign.c: New file.
12884
29c793b3
EB
128852013-10-01 Eric Blake <eblake@redhat.com>
12886
12887 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
12888 Use __THROWNL rather than __THROW on static functions.
12889
fd967522
PM
128902013-09-30 Petr Machata <pmachata@redhat.com>
12891
12892 * elf/elf.h (R_AARCH64_ABS16): New macro.
12893 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
12894 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
12895 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
12896 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
12897 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
12898 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
12899 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
12900 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
12901 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
12902 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
12903 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
12904 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
12905 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
12906 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
12907 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
12908 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
12909 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
12910 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
12911 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
12912 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
12913 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
12914 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
12915 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
12916 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
12917 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
12918 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
12919 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
12920 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
12921 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
12922 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
12923 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
12924 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
12925 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
12926 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
12927 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
12928 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
12929 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
12930 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
12931 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
12932 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
12933 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
12934 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
12935 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
12936 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
12937 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
12938 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
12939 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
12940 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
12941 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
12942 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
12943 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
12944 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
12945 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
12946 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
12947 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
12948 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
12949 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
12950 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
12951 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
12952 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
12953 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
12954 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
12955 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
12956 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
12957 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
12958 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
12959 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
12960 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
12961 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
12962 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
12963 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
12964 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
12965 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
12966 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
12967 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
12968 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
12969 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
12970 (R_AARCH64_TLSDESC_LDR): Likewise.
12971 (R_AARCH64_TLSDESC_ADD): Likewise.
12972 (R_AARCH64_TLSDESC_CALL): Likewise.
12973
b2179107
AS
129742013-09-30 Andreas Schwab <schwab@suse.de>
12975
12976 [BZ #15048]
12977 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
12978 the nss database lookup.
12979 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12980 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12981
47f28d0a
MF
129822013-09-28 Mike Frysinger <vapier@gentoo.org>
12983
12984 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
12985
129862013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
12987
12988 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
12989 ${Bash-specific parameter/pattern/string} parameter expansion.
12990 * sysdeps/unix/make-syscalls.sh: Likewise.
12991
f4518a17
KK
129922013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12993
12994 * sysdeps/sh/stackguard-macros.h: New file.
12995
dc1a95c7
OB
129962013-09-26 Ondřej Bílka <neleai@seznam.cz>
12997
12998 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12999 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13000 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13001 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13002 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13003 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13004
5ebbff8f
AZ
130052013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13006
13007 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13008 Fix thread ID register.
13009
4fd2cf9f
JM
130102013-09-25 Joseph Myers <joseph@codesourcery.com>
13011
13012 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13013 [POSIX || UNIX98]: Require rather than permitting all symbols from
13014 <time.h>.
13015 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13016 element of struct sched_param.
13017 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13018 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13019 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13020 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13021 constant.
13022
12c22bc4
OL
130232013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
13024
13025 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13026 argument calculation.
13027
a03d8ea7
JM
130282013-09-24 Joseph Myers <joseph@codesourcery.com>
13029
13030 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13031 Expect macro.
13032 [POSIX] (pthread_attr_t): Do not require type.
13033 [POSIX] (pthread_cond_t): Likewise.
13034 [POSIX] (pthread_condattr_t): Likewise.
13035 [POSIX] (pthread_key_t): Likewise.
13036 [POSIX] (pthread_mutex_t): Likewise.
13037 [POSIX] (pthread_mutexattr_t): Likewise.
13038 [POSIX] (pthread_once_t): Likewise.
13039 [POSIX] (pthread_t): Likewise.
13040 [POSIX-based standards] (pthread_atfork): Expect function.
13041
6055173a
JM
130422013-09-24 Joseph Myers <joseph@codesourcery.com>
13043 Richard Sandiford <richard@codesourcery.com>
13044
13045 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13046 (swap_endianness_p): New extern variable.
13047 (set_big_endian): New inline function.
13048 (maybe_swap_uint32): Likewise.
13049 (maybe_swap_uint32_array): Likewise.
13050 (maybe_swap_uint32_obstack): Likewise.
13051 * locale/programs/locfile.c: Include <stdbool.h>.
13052 (swap_endianness_p): New variable.
13053 (add_locale_uint32): Call maybe_swap_uint32.
13054 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13055 (write_locale_data): Call maybe_swap_uint32_array.
13056 * locale/programs/ld-collate.c (obstack_int32_grow): Call
13057 maybe_swap_uint32.
13058 (obstack_int32_grow_fast): Likewise.
13059 (output_weightwc): Call maybe_swap_uint32_obstack.
13060 (collate_output): Likewise.
13061 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13062 (OPT_LITTLE_ENDIAN): Likewise.
13063 (options): Add --little-endian and --big-endian options.
13064 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13065 * locale/programs/locarchive.c: Include "locfile.h".
13066 (GET): New macro.
13067 (SET): Likewise.
13068 (INC): Likewise.
13069 (create_archive): Use the new macros to access fields of
13070 structures directly mapped from or written to locale archives.
13071 (oldlocrecentcmp): Likewise.
13072 (enlarge_archive): Likewise.
13073 (insert_name): Likewise.
13074 (add_alias): Likewise.
13075 (add_locale): Likewise.
13076 (delete_locales_from_archive): Likewise.
13077 (show_archive_content): Likewise.
13078 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
13079 locale data.
13080
39bf0bb4
RM
130812013-09-24 Roland McGrath <roland@hack.frob.com>
13082
13083 * manual/freemanuals.texi: Updated from (newly) canonical copy at
13084 http://www.gnu.org/doc/freemanuals.texi.
13085 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13086
f02eed10
WN
130872013-09-24 Will Newton <will.newton@linaro.org>
13088
13089 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13090 macro.
13091
a3a6c312
JM
130922013-09-23 Joseph Myers <joseph@codesourcery.com>
13093
13094 * locale/hashval.h (compute_hashval): Interpret bytes of key as
13095 unsigned char.
13096
107375ac
MR
130972013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
13098
13099 * manual/threads.texi (POSIX Threads): Fix a typo.
13100
141f3a77
SP
131012013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13102
303e567a
SP
13103 [BZ #14547]
13104 * string/tst-strcoll-overflow.c: New test case.
13105 * string/Makefile (xtests): Add tst-strcoll-overflow.
13106 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13107 cache if string sizes may cause integer overflow.
13108
141f3a77
SP
13109 [BZ #14547]
13110 * string/strcoll_l.c (coll_seq): New members rule, idx,
13111 save_idx and back_us.
13112 (get_next_seq_nocache): New function.
13113 (do_compare_nocache): New function.
13114 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13115 when malloc fails.
13116
c61b4d41
CD
131172013-09-23 Carlos O'Donell <carlos@redhat.com>
13118
0b1f8e35
CD
13119 [BZ #15754]
13120 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13121 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13122 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13123
c61b4d41
CD
13124 [BZ #15754]
13125 * elf/Makefile (tests): Add tst-ptrguard1.
13126 (tests-static): Add tst-ptrguard1-static.
13127 (tst-ptrguard1-ARGS): Define.
13128 (tst-ptrguard1-static-ARGS): Define.
13129 * elf/tst-ptrguard1.c: New file.
13130 * elf/tst-ptrguard1-static.c: New file.
13131 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13132 * sysdeps/i386/stackguard-macros.h: Likewise.
13133 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13134 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13135 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13136 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13137 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13138 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13139
131402013-09-23 Hector Marco <hecmargi@upv.es>
13141 Ismael Ripoll <iripoll@disca.upv.es>
13142 Carlos O'Donell <carlos@redhat.com>
13143
13144 [BZ #15754]
13145 * sysdeps/generic/stackguard-macros.h: Define
13146 __pointer_chk_guard_local and POINTER_CHK_GUARD.
13147 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13148 Define __pointer_chk_guard_local.
13149 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13150 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13151
f5f4e7b4
VV
131522013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
13153
13154 [BZ #15859]
13155 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13156
5bb43a43
AS
131572013-09-20 Andreas Schwab <schwab@linux-m68k.org>
13158
13159 * include/string.h (__ffs): Declare as hidden.
13160 * string/ffs.c (__ffs): Define as hidden.
13161 * sysdeps/i386/ffs.c (__ffs): Likewise.
13162 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13163 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13164 * sysdeps/s390/ffs.c (__ffs): Likewise.
13165 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13166
3ea5be54
AO
131672013-09-20 Alexandre Oliva <aoliva@redhat.com>
13168
ffb89e53
AO
13169 * NEWS: Mention malloc probes.
13170
322dea08
AO
13171 * malloc/arena.c (new_heap): New memory_heap_new probe.
13172 (grow_heap): New memory_heap_more probe.
13173 (shrink_heap): New memory_heap_less probe.
13174 (heap_trim): New memory_heap_free probe.
13175 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13176 (systrim): New memory_sbrk_less probe.
13177 * manual/probes.texi: Document them.
13178
655673f3
AO
13179 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13180 * manual/probes.texi: Document it.
13181
35fed6f1
AO
13182 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13183 (__libc_realloc): Add memory_realloc_retry probe.
13184 (__libc_memalign): Add memory_memalign_retry probe.
13185 (__libc_valloc): Add memory_valloc_retry probe.
13186 (__libc_pvalloc): Add memory_pvalloc_retry probe.
13187 (__libc_calloc): Add memory_calloc_retry probe.
13188 * manual/probes.texi: Document them.
13189
6999d38c
AO
13190 * malloc/arena.c (get_free_list): Add probe
13191 memory_arena_reuse_free_list.
13192 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13193 and memory_arena_reuse.
13194 (arena_get2) [!PER_THREAD]: Likewise.
13195 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13196 memory_arena_reuse_realloc.
13197 * manual/probes.texi: Document them.
13198
0653427f
AO
13199 * malloc/malloc.c (__libc_free): Add
13200 memory_mallopt_free_dyn_thresholds probe.
13201 (__libc_mallopt): Add multiple memory_mallopt probes.
13202 * manual/probes.texi: Document them.
13203
3ea5be54
AO
13204 * malloc/malloc.c: Include stap-probe.h.
13205 (__libc_mallopt): Add memory_mallopt probe.
13206 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13207 * manual/probes.texi: New.
13208 * manual/Makefile (chapters): Add probes.
13209 * manual/threads.texi: Set next node.
13210
e35696c3 132112013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 13212
e35696c3
CL
13213 [BZ #15963, #13985]
13214 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13215 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13216 Add `Chinese' to `nan' entry name.
13217
4aafb73c
SP
132182013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13219
13220 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13221 (POLYNOMIAL): Likewise.
13222 (TAYLOR_SINCOS): Likewise.
13223 (TAYLOR_SLOW): Likewise.
13224 (__sin): Use TAYLOR_SINCOS.
13225 (__cos): Likewise.
13226 (slow): Use TAYLOR_SLOW.
13227 (sloww): Likewise.
13228 (bsloww): Likewise.
13229 (csloww): Likewise.
13230
d84f25c7
LD
132312013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13232
13233 * stdlib/strtod_l.c: Fix buffer overrun.
13234
5eea0404
SP
132352013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13236
7849ff93
SP
13237 * benchtests/Makefile (bench): Add sincos.
13238 * benchtests/bench-sincos.c: New file.
13239
cfa3c886
SP
13240 * math/libm-test.inc (cos_test_data): New test inputs.
13241 (sin_test_data): Likewise.
13242
b348e1e3
SP
13243 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13244 macro.
13245 (__sin): Use it.
13246 (__cos): Likewise.
13247 (slow1): Likewise.
13248 (slow2): Likewise.
13249 (sloww1): Likewise.
13250 (sloww2): Likewise.
13251 (bsloww1): Likewise.
13252 (bsloww2): Likewise.
13253 (cslow2): Likewise.
13254 (csloww1): Likewise.
13255 (csloww2): Likewise.
13256
6cce25f8
SP
13257 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13258 function.
13259 (__sin): Use it.
13260 (__cos): Likewise.
13261
5eea0404
SP
13262 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13263 gotos.
13264 (__cos): Likewise.
13265
9c21573c
MR
132662013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
13267
13268 * config.h.in (HAVE_MIPS_NAN2008): New macro.
13269 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13270 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13271 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13272 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13273 * elf/cache.c (print_entry): Handle the new cache flags.
13274
24d22e65
JM
132752013-09-18 Joseph Myers <joseph@codesourcery.com>
13276 Aldy Hernandez <aldyh@redhat.com>
13277
13278 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13279 Change condition to [_SOFT_FLOAT].
13280 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13281 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13282 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13283 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13284 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13285 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13286 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13287 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13288 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13289 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13290 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13291 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13292 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13293 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13294 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13295 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13296 declaration.
13297
d13ef066
JM
132982013-09-18 Joseph Myers <joseph@codesourcery.com>
13299
2e071de0
JM
13300 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13301 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13302 (__longjmp): Use LOAD_GP to load saved GPRs.
13303 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13304 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13305 (__sigsetjmp): Use SAVE_GP to save GPRs.
13306
d13ef066
JM
13307 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13308 Do not append -msoft-float.
13309 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13310
97a0650b
SP
133112013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13312
13313 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13314
11ca09e9
JM
133152013-09-17 Joseph Myers <joseph@codesourcery.com>
13316
13317 [BZ #15966]
13318 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13319 (_FPU_GETCW): Use initial "__" on variable and field names but not
13320 on macro parameter name.
13321 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
13322 parentheses around reference to macro parameter.
13323
08ffcf34
RS
133242013-09-13 Richard Sandiford <richard@codesourcery.com>
13325
13326 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13327 prototype.
13328 (ctype_startup): Use uint32_t in cast and sizeof for
13329 ctype->charnames.
13330
ae7080d3
JL
133312013-09-11 Jia Liu <proljc@gmail.com>
13332
13333 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13334 __daddr_t_defined.
13335 [__FreeBSD__]: Likewise.
13336
5905e7b3
OB
133372013-09-11 Ondřej Bílka <neleai@seznam.cz>
13338
13339 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13340 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13341 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13342 (strchr): Remove __strchr_sse42 ifunc selection.
13343 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13344 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13345
b987c776
WN
133462013-09-11 Will Newton <will.newton@linaro.org>
13347
13348 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13349 parameter to RES. Remove hardcoded 1000 value.
13350 * benchtests/bench-skeleton.c (main): Pass RES parameter
13351 to TIMING_INIT and multiply result by 1000.
13352
ddf985af
AZ
133532013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13354
13355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13356
ffdd3181
AS
133572013-09-11 Andreas Schwab <schwab@suse.de>
13358
13359 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13360 if not defined.
13361 (O_TMPFILE) [__USE_GNU]: Define.
13362 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13363 Define.
13364
b73ed247
WN
133652013-09-11 Will Newton <will.newton@linaro.org>
13366
13367 [BZ #15857]
13368 * malloc/malloc.c (__libc_memalign): Check the value of bytes
13369 does not overflow.
13370
55e17aad
WN
133712013-09-11 Will Newton <will.newton@linaro.org>
13372
13373 [BZ #15856]
13374 * malloc/malloc.c (__libc_valloc): Check the value of bytes
13375 does not overflow.
13376
1159a193
WN
133772013-09-11 Will Newton <will.newton@linaro.org>
13378
13379 [BZ #15855]
13380 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13381 does not overflow.
13382
5905e7b3 133832013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
13384
13385 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13386 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13387 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13388 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13389 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13390
cdfc721b
AM
133912013-09-10 Allan McRae <allan@archlinux.org>
13392
aa04af00
AM
13393 [BZ #15748]
13394 * manual/arith.texi (Parsing of Floats): Clarify
13395 cross-reference.
13396
cdfc721b
AM
13397 [BZ #15849]
13398 * manual/install.texi (Running make install): Mention
13399 --enable-pt-chown.
13400 * INSTALL: Regenerated.
13401
95e7cf29
MR
134022013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13403
13404 * csu/init-first.c (_init): Remove the !SHARED condition around
13405 FPU control word initialization.
13406 * elf/dl-support.c (_dl_fpu_control): New variable.
13407 (_dl_aux_init) <AT_FPUCW>: Initialize it.
13408 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13409 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13410 * math/test-fpucw-static.c: New file.
13411 * math/test-fpucw-ieee.c: New file.
13412 * math/test-fpucw-ieee-static.c: New file.
13413 * math/Makefile (tests): Add `test-fpucw-ieee' and
13414 `$(tests-static)'.
13415 (tests-static): New variable.
13416 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13417 dependency to...
13418 [($(build-shared),yes)]
13419 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13420 ... this.
13421 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13422 New dependency.
13423
83e43bf0
AM
134242013-09-09 Allan McRae <allan@archlinux.org>
13425
a9f5ce09
AM
13426 [BZ #15939]
13427 * manual/string.texi (Collation Functions): Fix typo in
13428 strcoll example.
13429 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13430
34829bc2
AM
13431 [BZ #15893]
13432 * stdlib/isomac.c (get_null_defines): Fix memory leak.
13433
3932737d
AM
13434 [BZ #15892]
13435 * libio/memstream.c (open_memstream): Fix memory leak.
13436 * libio/wmemstream.c (open_wmemstream): Likewise.
13437
83e43bf0
AM
13438 [BZ #15895]
13439 * nscd/netgroupcache.c: Fix nesting of ifdefs.
13440
0c66b8e9
WN
134412013-09-09 Will Newton <will.newton@linaro.org>
13442
13443 * malloc/Makefile: Add tst-realloc to tests.
13444 * malloc/tst-realloc.c: New file.
13445
f6b00fd1
AM
134462013-09-09 Allan McRae <allan@archlinux.org>
13447
13448 [BZ #15844]
13449 * COPYING: Update from GNU website to fix FSF address.
13450 * COPYING.LIB: Likewise.
13451
eec55e16
DM
134522013-09-06 David S. Miller <davem@davemloft.net>
13453
13454 * po/zh_TW.po: Update Chinese (traditional) translation from
13455 translation project.
13456
1ecbb381
RS
134572013-09-06 Richard Sandiford <richard@codesourcery.com>
13458 Joseph Myers <joseph@codesourcery.com>
13459
13460 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13461 "localeinfo.h".
13462 (obstack_chunk_alloc): New macro.
13463 (obstack_chunk_free): Likewise.
13464 (record_offset): New function.
13465 (init_locale_data): Likewise.
13466 (align_locale_data): Likewise.
13467 (add_locale_empty): Likewise.
13468 (add_locale_raw_data): Likewise.
13469 (add_locale_raw_obstack): Likewise.
13470 (add_locale_string): Likewise.
13471 (add_locale_wstring): Likewise.
13472 (add_locale_uint32): Likewise.
13473 (add_locale_uint32_array): Likewise.
13474 (add_locale_char): Likewise.
13475 (start_locale_structure): Likewise.
13476 (end_locale_structure): Likewise.
13477 (start_locale_prelude): Likewise.
13478 (end_locale_prelude): Likewise.
13479 (write_locale_data): Take locale_file structure rather than an
13480 iovec.
13481 * locale/programs/locfile.h: Include "obstack.h".
13482 (struct locale_file): Change to store locale file contents instead
13483 of header.
13484 (init_locale_data): New prototype.
13485 (align_locale_data): Likewise.
13486 (add_locale_empty): Likewise.
13487 (add_locale_raw_data): Likewise.
13488 (add_locale_raw_obstack): Likewise.
13489 (add_locale_string): Likewise.
13490 (add_locale_wstring): Likewise.
13491 (add_locale_uint32): Likewise.
13492 (add_locale_uint32_array): Likewise.
13493 (add_locale_char): Likewise.
13494 (start_locale_structure): Likewise.
13495 (end_locale_structure): Likewise.
13496 (start_locale_prelude): Likewise.
13497 (end_locale_prelude): Likewise.
13498 (write_locale_data): Update prototype.
13499 * locale/programs/3level.h (struct TABLE): Remove result field.
13500 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
13501 Use new locale_file interface.
13502 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
13503 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
13504 * locale/programs/ld-address.c (address_output): Use new
13505 locale_file interface.
13506 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
13507 NO_ADD_LOCALE.
13508 (collate_finish): Don't call collseq_table_finalize.
13509 (collate_output): Use new locale_file interface.
13510 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
13511 in file.
13512 (NO_FINALIZE): Change to NO_ADD_LOCALE.
13513 (TABLE): Move defines earlier in file.
13514 (ELEMENT): Likewise.
13515 (DEFAULT): Likewise.
13516 (wctrans_table_add): Move macro and inline function earlier in
13517 file.
13518 (struct wctype_table): Move type earlier in file.
13519 (add_locale_wctype_table): New static prototype.
13520 (struct locale_ctype_t): Use logical types instead of struct iovec
13521 pointers for members.
13522 (ctype_output): Use new locale_file interface.
13523 (wctype_table_finalize): Change to add_locale_wctype_table. Use
13524 new locale_file interface.
13525 (allocate_arrays): Update for use of new locale_file interface.
13526 * locale/programs/ld-identification.c (identification_output): Use
13527 new locale_file interface.
13528 * locale/programs/ld-measurement.c (measurement_output): Likewise.
13529 * locale/programs/ld-messages.c (messages_output): Likewise.
13530 * locale/programs/ld-monetary.c (monetary_output): Likewise.
13531 * locale/programs/ld-name.c (name_output): Likewise.
13532 * locale/programs/ld-numeric.c (numeric_output): Likewise.
13533 * locale/programs/ld-paper.c (paper_output): Likewise.
13534 * locale/programs/ld-telephone.c (telephone_output): Likewise.
13535 * locale/programs/ld-time.c (time_output): Likewise.
13536
e029e2e5
AZ
135372013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13538
13539 * benchtests/Makefile: Add memrchr benchmark.
13540 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
13541 benchmark as memrchr.
13542 * benchtests/bench-memrchr-ifunc.c: New file.
13543 * benchtests/bench-memrchr.c: New file.
13544
bbf6e8e4
WN
135452013-09-06 Will Newton <will.newton@linaro.org>
13546
13547 * benchtests/Makefile (string-bench): Add memcpy.
13548
6c82a2f8
CD
135492013-09-05 Carlos O'Donell <carlos@redhat.com>
13550 Cong Wang <amwang@redhat.com>
13551
e732c5f0 13552 [BZ #15850]
6c82a2f8
CD
13553 * sysdeps/unix/sysv/linux/bits/in.h
13554 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
13555 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
13556 before __USE_KERNEL_IPV6_DEFS uses.
13557 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
13558 IPPROTO_BEETPH.
13559 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
13560 sockaddr_in6, or ipv6_mreq.
13561
5430fc65
AZ
135622013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13563
13564 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
13565 memory access for final bytes in some large inputs.
13566 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
13567
4660856c
AZ
135682013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13569
13570 * string/test-memrchr.c: New file.
13571 * string/test-memrchr-ifunc.c: New file.
13572 * string/Makefile: Add new memrchr testcase.
13573
bb8ea713
MF
135742013-09-05 Mike Frysinger <vapier@gentoo.org>
13575
13576 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
13577 fanotify_init returns EPERM.
13578
b92a20b5
JM
135792013-09-04 Joseph Myers <joseph@codesourcery.com>
13580
13581 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
13582 errors.
13583 (top level): Treat second token from macro or constant entries for
13584 allowed headers as allowed.
13585 * include/complex.h: Condition internal declarations on
13586 [!_ISOMAC].
13587 * include/fenv.h: Condition include of <stdbool.h> and internal
13588 declarations on [!_ISOMAC].
7447ccd9
CL
13589
135902013-09-04 Chris Leonard <cjl@sugarlabs,.org>
13591
3e181dda 13592 [BZ #15923]
7447ccd9
CL
13593 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
13594
3f2e46a4
JM
135952013-09-04 Joseph Myers <joseph@codesourcery.com>
13596
13597 * configure.in (--enable-versioning): Remove configure option.
13598 (libc_cv_asm_symver_directive): Remove configure test.
13599 (libc_cv_ld_version_script_option): Likewise.
13600 (VERSIONING): Remove variable and AC_SUBST.
13601 (DO_VERSIONING): Remove AC_DEFINE.
13602 * configure: Regenerated.
13603 * config.h.in (DO_VERSIONING): Remove macro.
13604 * Makerules [$(versioning) = yes]: Change conditionals to
13605 [$(build-shared) = yes].
13606 * config.make.in (versioning): Remove variable.
13607 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
13608 [$(build-shared) = yes].
13609 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
13610 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
13611 * elf/Makefile [$(versioning) = yes]: Change conditionals to
13612 [$(build-shared) = yes].
13613 * extra-lib.mk [$(versioning) = yes]: Likewise.
13614 * hurd/Makefile [$(versioning) = yes]: Likewise.
13615 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
13616 [SHARED].
13617 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
13618 [SHARED].
13619 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13620 [SHARED && !NO_HIDDEN].
13621 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
13622 [SHARED].
13623 [SHARED && DO_VERSIONING]: Likewise..
13624 * libio/Makefile [$(versioning) = yes]: Change conditionals to
13625 [$(build-shared) = yes].
13626 * manual/install.texi (--disable-versioning): Remove
13627 documentation.
13628 * INSTALL: Regenerated.
13629 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
13630 to [SHARED].
13631 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
13632 [$(build-shared) = yes].
13633 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
13634 * sysdeps/i386/i686/multiarch/strstr-c.c
13635 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13636 [SHARED && !NO_HIDDEN].
13637 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
13638 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
13639 * sysdeps/powerpc/powerpc32/dl-machine.c
13640 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
13641 * sysdeps/powerpc/powerpc32/sysdep.h
13642 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
13643 to [SHARED && PIC && !NO_HIDDEN].
13644 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
13645 conditional to [SHARED].
13646
44558701
WN
136472013-09-04 Will Newton <will.newton@linaro.org>
13648
13649 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
13650 * benchtests/bench-string.h: Include bench-timing.h instead
13651 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
13652 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
13653 call to HP_TIMING_DIFF_INIT.
13654 * benchtests/bench-memccpy.c: Use bench-timing.h macros
13655 instead of hp-timing.h macros.
13656 * benchtests/bench-memchr.c: Likewise.
13657 * benchtests/bench-memcmp.c: Likewise.
13658 * benchtests/bench-memcpy.c: Likewise.
13659 * benchtests/bench-memmem.c: Likewise.
13660 * benchtests/bench-memmove.c: Likewise.
13661 * benchtests/bench-memset.c: Likewise.
13662 * benchtests/bench-rawmemchr.c: Likewise.
13663 * benchtests/bench-strcasecmp.c: Likewise.
13664 * benchtests/bench-strcasestr.c: Likewise.
13665 * benchtests/bench-strcat.c: Likewise.
13666 * benchtests/bench-strchr.c: Likewise.
13667 * benchtests/bench-strcmp.c: Likewise.
13668 * benchtests/bench-strcpy.c: Likewise.
13669 * benchtests/bench-strcpy_chk.c: Likewise.
13670 * benchtests/bench-strlen.c: Likewise.
13671 * benchtests/bench-strncasecmp.c: Likewise.
13672 * benchtests/bench-strncat.c: Likewise.
13673 * benchtests/bench-strncmp.c: Likewise.
13674 * benchtests/bench-strncpy.c: Likewise.
13675 * benchtests/bench-strnlen.c: Likewise.
13676 * benchtests/bench-strpbrk.c: Likewise.
13677 * benchtests/bench-strrchr.c: Likewise.
13678 * benchtests/bench-strspn.c: Likewise.
13679 * benchtests/bench-strstr.c: Likewise.
13680
cae16d66
WN
136812013-09-04 Will Newton <will.newton@linaro.org>
13682
13683 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
13684
ffa3cd7f
JM
136852013-09-03 Joseph Myers <joseph@codesourcery.com>
13686
13687 [BZ #15427]
13688 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13689 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
13690 * math/libm-test.inc (lgamma_test_data): Add more tests.
13691 * sysdeps/i386/fpu/libm-test-ulps: Update.
13692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13693
8f02859f
OB
136942013-09-03 Ondřej Bílka <neleai@seznam.cz>
13695
13696 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
13697 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13698 Add ifunc.
13699 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13700 Add strcmp-sse2-unaligned
13701 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
13702
18d43716
MF
137032013-09-02 Mike Frysinger <vapier@gentoo.org>
13704
13705 * Versions.def (libc): Add GLIBC_2.19.
13706
ac444012
MF
137072013-09-02 Mike Frysinger <vapier@gentoo.org>
13708
13709 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
13710 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
13711
b7835e32
JM
137122013-09-02 Joseph Myers <joseph@codesourcery.com>
13713
13714 [BZ #14155]
13715 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
13716 intermediate calculations in recurrence.
13717 (__ieee754_ynf): Likewise.
13718 * math/libm-test.inc (jn_test_data): Do not allow spurious
13719 underflow exception. Add more tests.
13720 (yn_test_data): Add more tests.
13721 * sysdeps/i386/fpu/libm-test-ulps: Update.
13722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13723
8220f4f0
OB
137242013-09-02 Ondřej Bílka <neleai@seznam.cz>
13725
13726 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
13727
f24a6d08
OB
137282013-08-30 Ondřej Bílka <neleai@seznam.cz>
13729
13730 * csu/init-first.c: Fix then/than typos.
13731 * locale/programs/ld-collate.c: Likewise.
13732 * locale/programs/linereader.h: Likewise.
13733 * manual/charset.texi: Likewise.
13734 * manual/filesys.texi: Likewise.
13735 * manual/stdio.texi: Likewise.
13736 * manual/string.texi: Likewise.
13737 * stdlib/fmtmsg.c: Likewise.
13738 * sysdeps/i386/stpncpy.S: Likewise.
13739 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13740 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13741 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13742 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13743
382466e0
OB
137442013-08-30 Ondřej Bílka <neleai@seznam.cz>
13745
13746 * elf/dl-open.c: Fix typos.
13747 * iconvdata/gbbig5.c: Likewise.
13748 * iconvdata/iso-2022-jp.c: Likewise.
13749 * iconv/gconv_int.h: Likewise.
13750 * iconv/loop.c: Likewise.
13751 * nis/rpcsvc/nis.h: Likewise.
13752 * resolv/ns_name.c: Likewise.
13753 * stdio-common/vfscanf.c: Likewise.
13754 * streams/stropts.h: Likewise.
13755 * sunrpc/rpc_thread.c: Likewise.
13756 * sysdeps/i386/strpbrk.S: Likewise.
13757 * sysdeps/ieee754/k_standard.c: Likewise.
13758 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13759 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13760 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
13761 * sysdeps/mach/hurd/profil.c: Likewise.
13762 * sysdeps/s390/dl-procinfo.h: Likewise.
13763 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
13764 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13765 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
13766 * sysdeps/x86_64/dl-trampoline.S: Likewise.
13767 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13768
0186c6e9
OB
137692013-08-30 Ondřej Bílka <neleai@seznam.cz>
13770
13771 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
13772 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
13773
d4e16af1
OB
137742013-08-29 Ondřej Bílka <neleai@seznam.cz>
13775
13776 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
13777 aix specific files.
13778 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
13779 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
13780 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
13781 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
13782 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
13783 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
13784 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
13785 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
13786
88335980
TS
137872013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13788 Roland McGrath <roland@hack.frob.com>
13789
13790 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
13791 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13792
ed479b02
ST
137932013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
13794
13795 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
13796 __executable_start symbol instead of _start.
13797
f1cc4c86
TS
137982013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13799
d821f07c
TS
13800 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
13801 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
13802 Move macros to...
13803 * sysdeps/gnu/ldsodefs.h: ... this new file.
13804
c54290cf
TS
13805 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
13806 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
13807 instead of ELFOSABI_LINUX.
13808
0007fc9b 13809 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
13810 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
13811 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
13812 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
13813 Likewise.
13814 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
13815 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
13816 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
13817 Likewise.
13818 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13819 (ibm_extended_long_double): Add ieee_nan member.
13820 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
13821 (do_test): New function.
13822
f1cc4c86
TS
13823 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
13824 TEST_TRUNC.
13825 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
13826 functions, renamed from truncdfsf_test, trunctfsf_test,
13827 trunctfdf_test.
13828 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
13829 functions.
13830 (do_test): Run all these.
13831
6f65e668
OB
138322013-08-29 Ondřej Bílka <neleai@seznam.cz>
13833
13834 * argp/argp-help.c: Fix typos.
13835 * argp/argp-parse.c: Likewise.
13836 * debug/backtracesyms.c: Likewise.
13837 * elf/elf.h: Likewise.
13838 * malloc/malloc.c: Likewise.
13839 * nis/nis_print.c: Likewise.
13840 * resolv/res_comp.c: Likewise.
13841 * stdlib/stdlib.h: Likewise.
13842 * sunrpc/clnt_tcp.c: Likewise.
13843 * sunrpc/clnt_udp.c: Likewise.
13844 * sunrpc/clnt_unix.c: Likewise.
13845 * sysdeps/unix/bsd/ptsname.c: Likewise.
13846 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13847 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
13848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
13849 Likewise.
13850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
13851 Likewise.
13852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13853 Likewise.
6f65e668
OB
13854 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13855
3a309239
SP
138562013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13857
13858 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
13859 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13860
3b813b29
MF
138612013-08-27 Mike Frysinger <vapier@gentoo.org>
13862
13863 [BZ #15897]
13864 * dlfcn/Makefile (tests): Add bug-dl-leaf.
13865 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
13866 ($(objpfx)bug-dl-leaf): New rule.
13867 ($(objpfx)bug-dl-leaf.so): Likewise.
13868 ($(objpfx)bug-dl-leaf.out): Likewise.
13869 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
13870 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
13871 * dlfcn/bug-dl-leaf.c: New test.
13872 * dlfcn/bug-dl-leaf-lib.c: Likewise.
13873 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
13874 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
13875 (dlclose): Likewise.
13876 (dlmopen): Likewise.
13877
8cc3269f
RM
138782013-08-27 Roland McGrath <roland@hack.frob.com>
13879
7f9d0034
RM
13880 * include/netdb.h [!_ISOMAC]:
13881 Don't include <tls.h>.
13882 (h_errno, __libc_h_errno): Move declaration and macros out of
13883 [_LIBC_REENTRANT].
13884
fb431262
RM
13885 * include/resolv.h [_RESOLV_H_]:
13886 Don't include <tls.h>.
13887 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
13888 * resolv/res_libc.c: Don't include <tls.h>.
13889 (_res): Use __attribute__ ((nocommon)) in place of
13890 __attribute__ ((section (".bss"))).
13891
bd81123a
RM
13892 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
13893 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
13894
c4e42566
RM
13895 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
13896
f890a59b
RM
13897 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
13898 only under [SIOCGIFCONF && SIOCGIFNETMASK].
13899
13900 * resolv/res_mkquery.c: Include <sys/time.h>.
13901
5d1f0a09
RM
13902 * inet/ifreq.c: Moved to ...
13903 * sysdeps/unix/ifreq.c: ... here.
13904 * inet/ifreq.c: New file, true stub version.
13905
6fcf28b3
RM
13906 * socket/sa_len.c: New file.
13907 * socket/Makefile (aux): Add it.
13908 * sysdeps/unix/sysv/linux/Makefile
13909 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
13910 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
13911 and #include <socket/sa_len.c>.
13912 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
13913 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
13914
e041fb8b
RM
13915 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
13916 * bits/socket.h: ... here.
13917
8cc3269f
RM
13918 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
13919 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
13920 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
13921
5d228a43
AS
139222013-08-27 Andreas Schwab <schwab@suse.de>
13923
45b8accc
AS
13924 [BZ #15736]
13925 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
13926 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
13927 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
13928 * string/test-strcasecmp.c (test_main): Run tests in several
13929 locales.
13930 * string/test-strncasecmp.c (test_main): Likewise.
13931
5d228a43
AS
13932 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
13933 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
13934 to __strcasecmp_nonascii and __strncasecmp_nonascii.
13935 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
13936 (__strncasecmp_ssse3) [PIC]: Likewise.
13937
59d112a4
RM
139382013-08-26 Roland McGrath <roland@hack.frob.com>
13939
53234cc3
RM
13940 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
13941
59d112a4
RM
13942 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
13943 instead of explicitly declaring xdecrypt.
13944 * nis/nss_nis/nis-publickey.c: Likewise.
13945
595aba70
SP
139462013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13947
13948 [BZ #15890]
13949 * nscd/aicache.c: Include res_hconf.h.
13950 (addhstaiX): Initialize res_hconf.
13951
ffabd393
AS
139522013-08-26 Andreas Schwab <schwab@suse.de>
13953
13954 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
13955 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
13956
e0a69f5c
SP
139572013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13958
13959 * nscd/aicache.c (addhstaiX): Fix indentation.
13960
8c12f01d
MF
139612013-08-25 Mike Frysinger <vapier@gentoo.org>
13962
13963 * configure.ac: Quote $build_pt_chown test.
13964 * configure: Regenerated.
13965
8fe89494
JM
139662013-08-23 Joseph Myers <joseph@codesourcery.com>
13967
13968 [BZ #15532]
13969 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
13970 * math/s_cexpf.c (__cexpf): Likewise.
13971 * math/s_cexpl.c (__cexpl): Likewise.
13972 * math/libm-test.inc (cexp_test_data): Correct expected return
13973 value for NaN + i0. Add another test.
13974
75b181d6
DM
139752013-08-22 David S. Miller <davem@davemloft.net>
13976
13977 * po/ca.po: Update Catalan translation from translation project.
936241e4 13978 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 13979
acd06bb1
JM
139802013-08-21 Joseph Myers <joseph@codesourcery.com>
13981
13982 [BZ #15797]
13983 * math/s_fdim.c (__fdim): Check for infinite arguments if result
13984 is infinite, not alongside NaN test.
13985 * math/s_fdimf.c (__fdimf): Likewise.
13986 * math/s_fdiml.c (__fdiml): Likewise.
13987 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
13988 errno is unchanged.
13989
c0c3f78a
OB
139902013-08-21 Ondřej Bílka <neleai@seznam.cz>
13991
13992 * argp/argp-help.c: Fix typos.
13993 * crypt/speeds.c: Likewise.
13994 * csu/check_fds.c: Likewise.
13995 * elf/dl-load.c: Likewise.
13996 * elf/dl-open.c: Likewise.
13997 * elf/reldep3.c: Likewise.
13998 * elf/reldep.c: Likewise.
13999 * elf/sprof.c: Likewise.
14000 * iconv/iconv_charmap.c: Likewise.
14001 * iconv/skeleton.c: Likewise.
14002 * iconv/strtab.c: Likewise.
14003 * io/lockf64.c: Likewise.
14004 * libio/libioP.h: Likewise.
14005 * resolv/gai_notify.c: Likewise.
14006 * resolv/ns_name.c: Likewise.
14007 * resolv/ns_samedomain.c: Likewise.
14008 * resolv/res_send.c: Likewise.
14009 * stdlib/random.c: Likewise.
14010 * sunrpc/rpc/xdr.h: Likewise.
14011 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14012 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14013 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14014 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14015 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14016 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14017 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14018 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14019 * sysdeps/mach/hurd/check_fds.c: Likewise.
14020 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14021 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14022 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14023 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14024 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14025 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14026 * sysdeps/pthread/aio_notify.c: Likewise.
14027 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14028 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14029 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14030 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14031 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14032
46ed1038
LD
140332013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14034
14035 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14036 version if bit_Slow_SSE4_2 is set.
14037 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14038 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14039
d400dcac
AZ
140402013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14041
14042 [BZ #15867]
14043 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14044 trampoline stack frame information.
14045 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14046 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14047 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14048 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14049 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14050 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14051 (_libc_vdso_platform_setup): Initialize the signal trampolines.
14052 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14053 sa_flags value.
14054 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14055 interrupting a syscall and set with option SA_SIGINFO.
14056
42c8fdd8
JM
140572013-08-20 Joseph Myers <joseph@codesourcery.com>
14058
c980f2f4
JM
14059 [BZ #15531]
14060 * math/s_cproj.c (__cproj): Only return an infinity if one part of
14061 argument is infinite.
14062 * math/s_cprojf.c (__cprojf): Likewise.
14063 * math/s_cprojl.c (__cprojl): Likewise.
14064 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14065 * math/libm-test.inc (cproj_test_data): Add more tests.
14066
0716c4fc
JM
14067 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14068
42c8fdd8
JM
14069 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14070 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14071 size. Use __ffs to determine corresponding shift.
14072
b31469d0
JM
140732013-08-20 Joseph Myers <joseph@codesourcery.com>
14074 Roland McGrath <roland@hack.frob.com>
14075
14076 * Makefile (INSTALL): Remove trailing blank lines from output of
14077 makeinfo.
14078
4e39af6e
AK
140792013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14080
14081 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14082 Align 32 bit compat elf_greg to 8 bytes.
14083
f315524e
AA
140842013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14085
14086 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14087
1326ba1a
SP
140882013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14089
14090 * string/strcoll_l.c (coll_seq): New structure.
14091 (get_next_seq_cached): New function.
14092 (get_next_seq): New function.
14093 (do_compare): New function.
14094 (STRCOLL): Use GNU style definition. Simplify implementation
14095 by using get_next_seq, get_next_seq_cached and do_compare.
14096
91ce4085
FW
140972013-08-16 Florian Weimer <fweimer@redhat.com>
14098
14099 [BZ #14699]
14100 CVE-2013-4237
14101 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14102 member.
14103 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14104 member.
14105 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14106 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14107 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
14108 conditional.
14109 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14110 GETDENTS_64BIT_ALIGNED.
14111 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14112 * manual/filesys.texi (Reading/Closing Directory): Document
14113 ENAMETOOLONG return value of readdir_r. Recommend readdir more
14114 strongly.
14115 * manual/conf.texi (Limits for Files): Add portability note to
14116 NAME_MAX, PATH_MAX.
14117 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14118
ca0a6bc4
AS
141192013-08-13 Andreas Schwab <schwab@suse.de>
14120
14121 [BZ #15749]
14122 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14123 of fabs.
14124 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14125 LDBL_MAX_EXP >= 16384]: Add tests for it.
14126
6c1fd795
DM
141272013-08-12 David S. Miller <davem@davemloft.net>
14128
14129 * version.h (RELEASE): Set to "development".
14130 (VERSION): Set to "2.18.90".
14131 * NEWS: Add 2.19 section.
14132
31ad488d
DM
141332013-08-03 David S. Miller <davem@davemloft.net>
14134
14135 * po/ko.po: Update Korean translation from translation project.
14136
db24e684
DM
141372013-08-01 David S. Miller <davem@davemloft.net>
14138
14139 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
14140 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14141 Bilka.
14142
f723285b
DM
141432013-07-30 David S. Miller <davem@davemloft.net>
14144
14145 * po/fr.po: Update French translation from translation project.
14146
3cbc52db
DM
141472013-07-28 David S. Miller <davem@davemloft.net>
14148
30bbc0cc
DM
14149 * po/cs.po: Update Czech translation from translation project.
14150
3cbc52db
DM
14151 * po/sv.po: Update Swedish translation from translation project.
14152
d492e6d0
DM
141532013-07-27 David S. Miller <davem@davemloft.net>
14154
f1a7f492
DM
14155 * po/eo.po: Update Esperanto translation from translation project.
14156
90e62a4a
DM
14157 * po/vi.po: Update Vietnamese translation from translation project.
14158
d492e6d0
DM
14159 * po/de.po: Update German translation from translation project.
14160
d4baa62d
DM
141612013-07-26 David S. Miller <davem@davemloft.net>
14162
641aa7b4
DM
14163 * po/bg.po: Update Bulgarian translation from translation project.
14164
d4baa62d
DM
14165 * po/nl.po: Update Dutch translation from translation project.
14166 * po/pl.po: Update Polish translation from translation project.
14167 * po/ru.po: Update Russian translation from translation project.
14168
61a9dcb9
DM
141692013-07-24 David S. Miller <davem@davemloft.net>
14170
14171 * po/libc.pot: Update.
14172
7b1f8b58
AZ
141732013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14174
14175 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14176 variable page size.
14177 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14178 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14179 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14180
a8fc7a03
AK
141812013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14182
14183 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14184
e4608715
CD
141852013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14186 Andreas Schwab <schwab@suse.de>
14187 Roland McGrath <roland@hack.frob.com>
14188 Joseph Myers <joseph@codesourcery.com>
14189 Carlos O'Donell <carlos@redhat.com>
14190
14191 [BZ #15755]
14192 * config.h.in: Define HAVE_PT_CHOWN.
14193 * config.make.in (build-pt-chown): New variable.
14194 * configure.in (--enable-pt_chown): New configure option.
14195 * configure: Regenerate.
14196 * login/Makefile: Include Makeconfig. Build pt_chown only if
14197 build-pt-chown is enabled.
14198 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14199 pt_chown to fix pty ownership.
14200 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14201 CLOSE_ALL_FDS.
14202 * manual/install.texi (Configuring and compiling): Mention
14203 --enable-pt_chown. Add @findex for grantpt.
14204 * INSTALL: Regenerate.
14205
da2d62df
DM
142062013-07-20 David S. Miller <davem@davemloft.net>
14207
14208 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14209 difference between 32-bit and 64-bit.
14210
d7e06450
CD
142112013-07-15 Carlos O'Donell <carlos@redhat.com>
14212
14213 [BZ #15711]
14214 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14215 Avoid system header dependency with -ffreestanding.
14216 ($(objpfx)bits/syscall%d): Likewise.
14217
f959cfd7
DM
142182013-07-13 David S. Miller <davem@davemloft.net>
14219
14220 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14221 underflows from atanl/atan2l due to bug 15319.
14222 (casinh_test_data): Likewise.
14223
c61f8513
DM
142242013-07-07 David S. Miller <davem@davemloft.net>
14225
14226 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14227
72c90ed0
JA
142282013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
14229
14230 * sysdeps/i386/fpu/libm-test-ulps: Update.
14231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14232
52dfbe13
SP
142332013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14234
14235 * configure.in (--enable-lock-elision): Fix message text.
14236 * INSTALL: Regenerate.
14237 * configure: Regenerate.
14238
3f169543
AZ
142392013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14240
14241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14242
521c6785
AJ
142432013-07-03 Andreas Jaeger <aj@suse.de>
14244
14245 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14246 define.
14247 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14248 (ptrace_peeksiginfo_args): Add.
14249 (__ptrace_peeksiginfo_flags): Add.
14250 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14251 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14252 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14253
d2cc15cb
AM
142542013-07-03 Allan McRae <allan@archlinux.org>
14255
14256 * sysdeps/i386/fpu/libm-test-ulps: Update.
14257
3aaeeca7
DM
142582013-07-02 David S. Miller <davem@davemloft.net>
14259
14260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14261
5314ed1a
MT
142622013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
14263
14264 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14265
67338156
JM
142662013-07-02 Joseph Myers <joseph@codesourcery.com>
14267
14268 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14270
1717da59
AK
142712013-07-02 Andi Kleen <ak@linux.intel.com>
14272
14273 * config.h.in (ENABLE_LOCK_ELISION): Add.
14274 * configure.in (--enable-lock-elision): Add option.
14275 * manual/install.texi: Document --enable lock elision.
14276 * configure: Regenerate
14277 * INSTALL: Regenerate.
14278
1c81621c
L
142792013-07-02 H.J. Lu <hongjiu.lu@intel.com>
14280
14281 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14282 SSE4.2 strcasecmp for libc.a.
14283 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14284
77f01ab5
JM
142852013-07-02 Joseph Myers <joseph@codesourcery.com>
14286
14287 [BZ #13304]
14288 * soft-fp/op-common.h (_FP_FMA): New macro.
14289 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14290 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
14291 (_FP_MUL_MEAT_1_imm): ... here.
14292 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
14293 (_FP_MUL_MEAT_1_wide): ... here.
14294 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
14295 (_FP_MUL_MEAT_1_hard): ... here.
14296 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14297 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
14298 (_FP_MUL_MEAT_2_wide): ... here.
14299 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
14300 (_FP_MUL_MEAT_2_wide_3mul): ... here.
14301 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
14302 (_FP_MUL_MEAT_2_gmp): ... here.
14303 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14304 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
14305 (_FP_MUL_MEAT_4_wide): ... here.
14306 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
14307 (_FP_MUL_MEAT_4_gmp): ... here.
14308 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14309 (_FP_WFRACBITS_DW_S): Likewise.
14310 (_FP_WFRACXBITS_DW_S): Likewise.
14311 (_FP_HIGHBIT_DW_S): Likewise.
14312 (FP_FMA_S): Likewise.
14313 (_FP_FRAC_HIGH_DW_S): Likewise.
14314 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14315 (_FP_WFRACBITS_DW_D): Likewise.
14316 (_FP_WFRACXBITS_DW_D): Likewise.
14317 (_FP_HIGHBIT_DW_D): Likewise.
14318 (FP_FMA_D): Likewise.
14319 (_FP_FRAC_HIGH_DW_D): Likewise.
14320 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14321 (_FP_WFRACBITS_DW_E): Likewise.
14322 (_FP_WFRACXBITS_DW_E): Likewise.
14323 (_FP_HIGHBIT_DW_E): Likewise.
14324 (FP_FMA_E): Likewise.
14325 (_FP_FRAC_HIGH_DW_E): Likewise.
14326 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14327 (_FP_WFRACBITS_DW_Q): Likewise.
14328 (_FP_WFRACXBITS_DW_Q): Likewise.
14329 (_FP_HIGHBIT_DW_Q): Likewise.
14330 (FP_FMA_Q): Likewise.
14331 (_FP_FRAC_HIGH_DW_Q): Likewise.
14332 * soft-fp/fmasf4.c: New file.
14333 * soft-fp/fmadf4.c: Likewise.
14334 * soft-fp/fmatf4.c: Likewise.
14335
6308fd9a
LD
143362013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14337
14338 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14339 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14340 Silvermont.
14341 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14342 macro.
14343 (index_Slow_SSE4_2): Likewise.
14344 (index_Prefer_PMINUB_for_stringop): Likewise.
14345 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14346 bit_Slow_SSE4_2 is set.
14347 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14348 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14349
89cd9569
RA
143502013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14351
14352 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14353 rtld_global._dl_hwcap2.
14354 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14355 POWER8.
14356 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14357 POWER8 feature descriptions defined in _dl_hwcap2.
14358 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14359 string handling for POWER8 feature bits.
14360 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14361 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14362 _dl_powerpc_cap_flags.
14363 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14364 * sysdeps/powerpc/rtld-global-offsets.sym
14365 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14366 _dl_hwcap2 in the rtld_global_ro structure.
14367
1ae8bfe0
RA
143682013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14369
14370 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14371 hardware capabilities in support of AT_HWCAP2.
14372 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14373 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14374 GLRO(dl_hwcap2).
14375 (_dl_show_auxv): Add support for calling _dl_procinfo to display
14376 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
14377 explicitly the unknown a_type display mechanism is used.
14378 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14379 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14380 struct member.
14381 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14382 to macro prototype for AT_HWCAP2 support.
14383 * sysdeps/i386/dl-procinfo.h: Likewise.
14384 * sysdeps/s390/dl-procinfo.h: Likewise.
14385 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14386 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
14387 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
14388 return -1 for unknown a_type display fallback.
14389 * sysdeps/sparc/dl-procinfo.h: Likewise.
14390 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14391 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14392
8fbec010
JM
143932013-06-28 Joseph Myers <joseph@codesourcery.com>
14394
14395 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14396 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14397
0432680e
PY
143982013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
14399
14400 [BZ #12492]
14401 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14402 mprotect making __stack_prot writable.
14403
ce61a2ad
NF
144042013-06-28 Nathan Froyd <froydnj@codesourcery.com>
14405 Joseph Myers <joseph@codesourcery.com>
14406
14407 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14408 as being properly aligned.
14409
f91f1c0f
MR
144102013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
14411
3d0f5d0c
MR
14412 * dlfcn/modstatic5.c: New file.
14413 * dlfcn/tststatic5.c: New file.
14414 * dlfcn/Makefile (tests): Add tststatic5.
14415 (tests-static): Likewise.
14416 (modules-names): Add modstatic5.
14417 (tststatic5-ENV): New variable.
14418 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14419
f91f1c0f
MR
14420 [BZ #15022]
14421 * elf/dl-support.c (_dl_main_map): New variable.
14422 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14423 (_dl_nns, _dl_load_adds): Set to 1.
14424 (_dl_initial_searchlist): Refer to _dl_main_map.
14425 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14426 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14427 call to _dl_get_origin.
14428 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14429 around call_map.
14430 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14431 * dlfcn/modstatic3.c: New file.
14432 * dlfcn/tststatic3.c: New file.
14433 * dlfcn/tststatic4.c: New file.
14434 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14435 (tests-static): Likewise.
14436 (modules-names): Add modstatic3.
14437 (tststatic3-ENV, tststatic4-ENV): New variables.
14438 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14439 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14440
cbe7d24b
JM
144412013-06-26 Joseph Myers <joseph@codesourcery.com>
14442
14443 * configure.in (CC): Require GCC version 4.4 or later.
14444 * configure: Regenerated.
14445 * manual/install.texi (Tools for Compilation): Update GCC version
14446 requirement.
14447 * INSTALL: Regenerated.
14448
11b8a0e1
LD
144492013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14450
14451 [BZ #15674]
bb5bb87c
L
14452 * string/test-memcmp.c (check2): New.
14453 (main): Call check2.
14454
11b8a0e1
LD
14455 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14456
b0037103
MR
144572013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
14458
14459 [BZ #15022]
14460 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14461 over to...
14462 (dl_open_worker) [!SHARED]: ... here.
14463
c18c701d
RA
144642013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14465
14466 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14467
1d17fa5f
RH
144682013-06-25 Richard Henderson <rth@redhat.com>
14469
14470 * locale/programs/locarchive.c: Include <libc-internal.h>
14471
8fcb833a
JM
144722013-06-25 Joseph Myers <joseph@codesourcery.com>
14473
14474 * manual/texinfo.tex: Update to version 2013-06-21.17, with
14475 trailing whitespace removed.
14476
17db6e8d
MF
144772013-06-24 Mike Frysinger <vapier@gentoo.org>
14478
14479 [BZ #10283]
17db6e8d
MF
14480 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14481 * locale/programs/locarchive.c: Include libc-mmap.h.
14482 (prepare_address_space): Take two new outputs (the mmap base and len).
14483 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
14484 values.
14485 (create_archive): Declare new mmap base and len values for
14486 prepare_address_space, and store the result in ah.
14487 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14488 (enlarge_archive): If ah->mmap_base is not NULL, use that and
14489 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14490 Declare new mmap base and len values for
14491 prepare_address_space, and store the result in new_ah.
14492 (open_archive): Declare new mmap base and len values for
14493 prepare_address_space, and store the result in ah.
14494 (close_archive): If ah->mmap_base is not NULL, use that and
14495 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14496 * sysdeps/generic/libc-mmap.h: New file.
14497
d605071e
MF
144982013-06-24 Mike Frysinger <vapier@gentoo.org>
14499
14500 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
14501 (ALIGN_UP): Likewise.
14502 (PTR_ALIGN_DOWN): Likewise.
14503 (PTR_ALIGN_UP): Likewise.
14504
2f063a6e
RA
145052013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14506
14507 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
14508 entry mapped to PPC_PLATFORM_POWER8.
14509 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
14510 POWER8.
14511 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
14512 (_dl_string_platform): Add case for exporting platform position for
14513 POWER8.
14514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
14515 search path to sysdeps/powerpc/powerpc32/power8 directory.
14516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
14517 search path to sysdeps/powerpc/powerpc64/power8 directory.
14518 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
14519 power7 directories.
14520 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
14521 power7 directories.
14522
a31ee4b3
SP
145232013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14524
a74ca98f
SP
14525 * INSTALL: Regenerate.
14526
a31ee4b3
SP
14527 * nscd/connections.c (nscd_init): Fix comment.
14528
695c378f
JM
145292013-06-22 Joseph Myers <joseph@codesourcery.com>
14530
d8412221
JM
14531 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
14532
695c378f
JM
14533 [BZ #15667]
14534 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
14535 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
14536
d1d54715
MR
145372013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14538
14539 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
14540 DL_DST_REQ_STATIC.
14541 (DL_DST_REQ_STATIC): Remove macro.
14542
8fdda7af
JM
145432013-06-21 Joseph Myers <joseph@codesourcery.com>
14544
14545 [BZ #7006]
14546 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
14547 with a shift of 0 bits.
14548
f3bc5e5a
MR
145492013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14550
14551 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
14552 $(tststatic-ENV).
14553
be09e8c9
KK
145542013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14555
14556 [BZ #15655]
14557 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
14558
85c2e611
AZ
145592013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14560
14561 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
14562 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
14563 accepts -fno-tree-loop-distribute-patterns.
14564 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
14565 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
14566 recursive call.
14567 * string/memset.c (memset): Likewise.
14568 * string/test-memmove.c (simple_memmove): Disable loop transformation
14569 to library calls.
14570 * string/test-memset.c (simple_memset): Likewise.
14571 * benchtests/bench-memmove.c (simple_memmove): Likewise.
14572 * benchtests/bench-memset.c (simple_memset): Likewise.
14573 * configure: Regenerated.
14574
c91e0825
JM
145752013-06-20 Joseph Myers <joseph@codesourcery.com>
14576
b8c792af
JM
14577 * math/test-misc.c (main): Ignore fesetround failure when failures
14578 of subsequent rounding tests would be ignored.
14579
c91e0825
JM
14580 [BZ #15654]
14581 * math/fedisblxcpt.c (fedisableexcept): Return 0.
14582 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
14583 * math/fegetenv.c (__fegetenv): Return 0.
14584 * math/fegetexcept.c (fegetexcept): Return 0.
14585 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
14586 FE_TONEAREST.
14587 * math/feholdexcpt.c (feholdexcept): Return 0.
14588 * math/fesetenv.c (__fesetenv): Return 0.
14589 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
14590 argument FE_TONEAREST.
14591 * math/feupdateenv.c (__feupdateenv): Return 0.
14592 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
14593
bfcacbde
RM
145942013-06-18 Roland McGrath <roland@hack.frob.com>
14595
14596 * elf/rtld-Rules (rtld-compile-command.S): New variable.
14597 (rtld-compile-command.s, rtld-compile-command.c): New variables.
14598 ($(objpfx)rtld-%.os rules): Use them.
14599
e55a9b25
AZ
146002013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14601
14602 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
14603 fields.
14604
346d65b3
RM
146052013-06-17 Roland McGrath <roland@hack.frob.com>
14606
12086fb4
RM
14607 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
14608 length of target pattern, then descending length of dependency pattern.
14609 * configure.in (AWK): Require gawk 3.1.2 or newer.
14610 * manual/install.texi (Tools for Compilation): Say that we do.
14611 * configure: Regenerated.
14612
346d65b3
RM
14613 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
14614 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
14615 * scripts/sysd-rules.awk: ... this new script.
14616 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
14617 than a glob-style pattern.
14618
1a846317
JM
146192013-06-17 Joseph Myers <joseph@codesourcery.com>
14620
14621 * math/test-misc.c (main): Do not treat incorrectly rounded
14622 conversions as failure unless ROUNDING_TESTS passes.
14623
8fc75e6f
JM
146242013-06-15 Joseph Myers <joseph@codesourcery.com>
14625
3711a167
JM
14626 [BZ #15631]
14627 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
14628 restore exception state around main square root computation, then
14629 check for inexactness explicitly.
14630
8fc75e6f
JM
14631 * math/libm-test.inc (fma_test_data): Add another test.
14632
61dd6208
SP
146332013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14634
adf23d2c
SP
14635 * manual/threads.texi (Non-POSIX Extensions): New document
14636 node. Document pthread_getattr_default_np and
14637 pthread_setattr_default_np.
14638
61dd6208
SP
14639 * Versions.def (libpthread): Add GLIBC_2.18.
14640 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
14641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14642 Likewise.
14643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14644 Likewise.
14645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14646 Likewise.
14647 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14648 Likewise.
14649 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
14650 Likewise.
14651 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14652 Likewise.
14653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14654 Likewise.
14655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14656 Likewise.
14657 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14658 Likewise.
14659
d086fc7b
LD
146602013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14661
14662 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14663 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
14664
747ef469
SP
146652013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14666 H.J. Lu <hjl.tools@gmail.com>
14667
14668 [BZ #15627]
14669 * sysdeps/x86_64/rtld-memset.c: Remove file.
14670 * sysdeps/x86_64/rtld-memset.S: New file.
14671
1b2feed2
JM
146722013-06-14 Joseph Myers <joseph@codesourcery.com>
14673
14674 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
14675 (test_in_one_mode): Take arguments for whether the rounding mode
14676 is supported for each floating-point type.
14677 (do_test): Pass new arguments to test_in_one_mode using
14678 ROUNDING_TESTS.
14679
a58ad3f8
RM
146802013-06-13 Roland McGrath <roland@hack.frob.com>
14681
14682 * posix/tst-waitid.c (do_test): Distinguish different instances of
14683 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
14684 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
14685 before entering the kernel for waitpid.
14686
c204ab28
SP
146872013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14688
14689 * NEWS: Fix note on clock function precision. Text by Roland
14690 McGrath.
14691
f4a29fba
RM
146922013-06-13 Roland McGrath <roland@hack.frob.com>
14693
14694 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
14695 it into place only when and if the sanity check passes.
14696
1f24b9ad
JM
146972013-06-13 Joseph Myers <joseph@codesourcery.com>
14698
14699 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
14700 output for whether conversion result is exact. Take argument
14701 indicating whether type is IBM long double.
14702 (round_for_all): Change need_exact field to ibm_ld.
14703 * stdlib/tst-strtod-round.c (struct exactness): New type.
14704 (struct test): Change bool ld_ok field to struct exactness exact.
14705 (TEST): Update all definitions for change to field.
14706 (tests): Regenerate array contents.
14707 (test_in_one_mode): Take pointer to new field instead of old ld_ok
14708 field value. Check for IBM long double here.
14709 (do_test): Update calls to test_in_one_mode.
14710
58206c68
SP
147112013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14712
14713 [BZ #12515]
14714 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
14715 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
14716
2d6f4c5b 147172013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
14718
14719 [BZ #15605]
14720 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
14721 generated by the compiler on loop optimizations.
14722 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
14723 general definitions.
14724
94f2c076
JM
147252013-06-12 Joseph Myers <joseph@codesourcery.com>
14726
14727 * math/bug-nextafter.c: Include <math-tests.h>.
14728 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14729 the relevant type.
14730 * math/bug-nexttoward.c: Include <math-tests.h>.
14731 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14732 the relevant type.
14733 * math/test-misc.c: Include <math-tests.h>.
14734 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14735 the relevant type.
14736
e0e50a0a
AJ
147372013-06-12 Andreas Jaeger <aj@suse.de>
14738
14739 * po/ia.po: Update Interlingua translation from translation
14740 project.
14741
25061094
SP
147422013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14743
14744 * include/fenv.h: Include stdbool.h.
14745 (struct rm_ctx): New structure.
14746 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
14747 Define macro.
14748 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
14749 (SET_RESTORE_ROUNDF): Likewise.
14750 (SET_RESTORE_ROUNDL): Likewise.
14751 (SET_RESTORE_ROUND_NOEX): Likewise.
14752 (SET_RESTORE_ROUND_NOEXF): Likewise.
14753 (SET_RESTORE_ROUND_NOEXL): Likewise.
14754 (SET_RESTORE_ROUND_53BIT): Likewise.
14755 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
14756 (libc_feresetround_noexf_ctx): Likewise.
14757 (libc_feresetround_noexl_ctx): Likewise.
14758 (libc_feholdsetround_53bit_ctx): Likewise.
14759 (libc_feresetround_53bit_ctx): Likewise.
14760 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
14761 (libc_feholdexcept_setround_sse_ctx): New function.
14762 (libc_fesetenv_sse_ctx): Likewise.
14763 (libc_feupdateenv_sse_ctx): Likewise.
14764 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
14765 (libc_feholdexcept_setround_387_ctx): Likewise.
14766 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
14767 (libc_feholdsetround_387_prec_ctx): Likewise.
14768 (libc_feholdsetround_387_ctx): Likewise.
14769 (libc_feholdsetround_387_53bit_ctx): Likewise.
14770 (libc_feholdsetround_sse_ctx): Likewise.
14771 (libc_feresetround_sse_ctx): Likewise.
14772 (libc_feresetround_387_ctx): Likewise.
14773 (libc_feupdateenv_387_ctx): Likewise.
14774 (libc_feholdexcept_setroundf_ctx): Define macro.
14775 (libc_fesetenvf_ctx): Likewise.
14776 (libc_feupdateenvf_ctx): Likewise.
14777 (libc_feholdsetroundf_ctx): Likewise.
14778 (libc_feresetroundf_ctx): Likewise.
14779 (libc_feholdexcept_setround_ctx): Likewise.
14780 (libc_fesetenv_ctx): Likewise.
14781 (libc_feupdateenv_ctx): Likewise.
14782 (libc_feholdsetround_ctx): Likewise.
14783 (libc_feresetround_ctx): Likewise.
14784 (libc_feholdexcept_setroundl_ctx): Likewise.
14785 (libc_feupdateenvl_ctx): Likewise.
14786 (libc_feholdsetroundl_ctx): Likewise.
14787 (libc_feresetroundl_ctx): Likewise.
14788 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
14789 (libc_feresetround_53bit_ctx): Likewise.
14790
59b30555
SP
147912013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14792
14793 * locale/iso-639.def: Convert to UTF-8.
14794
f1d73d30
JM
147952013-06-11 Joseph Myers <joseph@codesourcery.com>
14796
14797 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
14798 (EXCEPTION_TESTS_double): Likewise.
14799 (EXCEPTION_TESTS_long_double): Likewise.
14800 (EXCEPTION_TESTS): Likewise.
14801 * math/libm-test.inc (test_exceptions): Only test exceptions if
14802 EXCEPTION_TESTS (FLOAT).
14803
94aca5e7
SP
148042013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14805
14806 * benchtests/Makefile (string-bench): Add strcpy_chk and
14807 stpcpy_chk.
14808 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
14809 * benchtests/bench-stpcpy_chk.c: New file.
14810 * benchtests/bench-strcpy_chk-ifunc.c: New file.
14811 * benchtests/bench-strcpy_chk.c: New file.
14812 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
14813 code.
14814 (do_test): Likewise.
14815
fac0c5f2
RA
148162013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14817
14818 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
14819 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
14820 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
14821 with tabs where appropriate.
14822 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
14823 dl-procinfo.h.
14824 [PPC_PLATFORM_PPC440]: Likewise.
14825 [PPC_PLATFORM_PPC464]: Likewise.
14826 [PPC_PLATFORM_PPC476]: Likewise.
14827 (_dl_string_platform): Add support for detecting ppc405, ppc440,
14828 ppc464, and ppc476 platform strings merging from ports/
14829 dl-procinfo.h.
14830
f22bc486
AS
148312013-06-11 Andreas Schwab <schwab@suse.de>
14832
14833 [BZ #14991]
14834 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
14835 (from_ucs4_idx): Regenerate.
14836 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
14837 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
14838 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
14839 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
14840 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
14841 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
14842 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
14843 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
14844 from FROM_LOOP and TO_LOOP specific macros.
14845 (BODY): Handle combining characters.
14846 * iconvdata/BIG5HKSCS.irreversible: Update.
14847 * iconvdata/BIG5HKSCS.precomposed: New file.
14848 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
14849 characters.
14850 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
14851
c1f75dc3
SP
148522013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14853
4eacded2
SP
14854 * include/sys/time.h: Fix indentation and add copyright header.
14855
fec799f8
SP
14856 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
14857 (do_test): Likewise.
14858 * string/test-memchr.c (do_one_test): Likewise.
14859 (do_test): Likewise.
14860 * string/test-memcmp.c (do_one_test): Likewise.
14861 (do_test): Likewise.
14862 * string/test-memcpy.c (do_one_test): Likewise.
14863 (do_test): Likewise.
14864 * string/test-memmem.c (do_one_test): Likewise.
14865 (do_test): Likewise.
14866 (do_random_tests): Likewise.
14867 * string/test-memmove.c (do_one_test): Likewise.
14868 (do_test): Likewise.
14869 * string/test-memset.c (do_one_test): Likewise.
14870 (do_test): Likewise.
14871 * string/test-rawmemchr.c (do_one_test): Likewise.
14872 (do_test): Likewise.
14873 * string/test-strcasecmp.c (do_one_test): Likewise.
14874 (do_test): Likewise.
14875 * string/test-strcasestr.c (do_one_test): Likewise.
14876 (do_test): Likewise.
14877 * string/test-strcat.c (do_one_test): Likewise.
14878 (do_test): Likewise.
14879 * string/test-strchr.c (do_one_test): Likewise.
14880 (do_test): Likewise.
14881 * string/test-strcmp.c (do_one_test): Likewise.
14882 (do_test): Likewise.
14883 * string/test-strcpy.c (do_one_test): Likewise.
14884 (do_test): Likewise.
14885 * string/test-string.h: Likewise.
14886 (test_init): Likewise.
14887 * string/test-strlen.c (do_one_test): Likewise.
14888 (do_test): Likewise.
14889 * string/test-strncasecmp.c (do_one_test): Likewise.
14890 (do_test): Likewise.
14891 * string/test-strncat.c (do_one_test): Likewise.
14892 (do_test): Likewise.
14893 * string/test-strncmp.c (do_one_test): Likewise.
14894 (do_test_limit): Likewise.
14895 (do_test): Likewise.
14896 * string/test-strncpy.c (do_one_test): Likewise.
14897 (do_test): Likewise.
14898 * string/test-strnlen.c (do_one_test): Likewise.
14899 (do_test): Likewise.
14900 * string/test-strpbrk.c (do_one_test): Likewise.
14901 (do_test): Likewise.
14902 * string/test-strrchr.c (do_one_test): Likewise.
14903 (do_test): Likewise.
14904 * string/test-strspn.c (do_one_test): Likewise.
14905 (do_test): Likewise.
14906 * string/test-strstr.c (do_one_test): Likewise.
14907 (do_test): Likewise.
14908
97020474
SP
14909 * benchtests/Makefile (string-bench): Add string benchmarks.
14910 * benchtests/bench-bcopy-ifunc.c: New file.
14911 * benchtests/bench-bcopy.c: New file.
14912 * benchtests/bench-bzero-ifunc.c: New file.
14913 * benchtests/bench-bzero.c: New file.
14914 * benchtests/bench-memccpy-ifunc.c: New file.
14915 * benchtests/bench-memccpy.c: New file.
14916 * benchtests/bench-memchr-ifunc.c: New file.
14917 * benchtests/bench-memchr.c: New file.
14918 * benchtests/bench-memcmp-ifunc.c: New file.
14919 * benchtests/bench-memcmp.c: New file.
14920 * benchtests/bench-memmem-ifunc.c: New file.
14921 * benchtests/bench-memmem.c: New file.
14922 * benchtests/bench-memmove-ifunc.c: New file.
14923 * benchtests/bench-memmove.c: New file.
14924 * benchtests/bench-mempcpy-ifunc.c: New file.
14925 * benchtests/bench-mempcpy.c: New file.
14926 * benchtests/bench-memset-ifunc.c: New file.
14927 * benchtests/bench-memset.c: New file.
14928 * benchtests/bench-rawmemchr-ifunc.c: New file.
14929 * benchtests/bench-rawmemchr.c: New file.
14930 * benchtests/bench-stpcpy-ifunc.c: New file.
14931 * benchtests/bench-stpcpy.c: New file.
14932 * benchtests/bench-stpncpy-ifunc.c: New file.
14933 * benchtests/bench-stpncpy.c: New file.
14934 * benchtests/bench-strcasecmp-ifunc.c: New file.
14935 * benchtests/bench-strcasecmp.c: New file.
14936 * benchtests/bench-strcasestr-ifunc.c: New file.
14937 * benchtests/bench-strcasestr.c: New file.
14938 * benchtests/bench-strcat-ifunc.c: New file.
14939 * benchtests/bench-strcat.c: New file.
14940 * benchtests/bench-strchr-ifunc.c: New file.
14941 * benchtests/bench-strchr.c: New file.
14942 * benchtests/bench-strchrnul-ifunc.c: New file.
14943 * benchtests/bench-strchrnul.c: New file.
14944 * benchtests/bench-strcmp-ifunc.c: New file.
14945 * benchtests/bench-strcmp.c: New file.
14946 * benchtests/bench-strcpy-ifunc.c: New file.
14947 * benchtests/bench-strcpy.c: New file.
14948 * benchtests/bench-strcspn-ifunc.c: New file.
14949 * benchtests/bench-strcspn.c: New file.
14950 * benchtests/bench-strlen-ifunc.c: New file.
14951 * benchtests/bench-strlen.c: New file.
14952 * benchtests/bench-strncasecmp-ifunc.c: New file.
14953 * benchtests/bench-strncasecmp.c: New file.
14954 * benchtests/bench-strncat-ifunc.c: New file.
14955 * benchtests/bench-strncat.c: New file.
14956 * benchtests/bench-strncmp-ifunc.c: New file.
14957 * benchtests/bench-strncmp.c: New file.
14958 * benchtests/bench-strncpy-ifunc.c: New file.
14959 * benchtests/bench-strncpy.c: New file.
14960 * benchtests/bench-strnlen-ifunc.c: New file.
14961 * benchtests/bench-strnlen.c: New file.
14962 * benchtests/bench-strpbrk-ifunc.c: New file.
14963 * benchtests/bench-strpbrk.c: New file.
14964 * benchtests/bench-strrchr-ifunc.c: New file.
14965 * benchtests/bench-strrchr.c: New file.
14966 * benchtests/bench-strspn-ifunc.c: New file.
14967 * benchtests/bench-strspn.c: New file.
14968 * benchtests/bench-strstr-ifunc.c: New file.
14969 * benchtests/bench-strstr.c: New file.
14970
c1f75dc3
SP
14971 * benchtests/Makefile: Disable parallel execution of targets.
14972 (string-bench): Add memcpy.
14973 (benchset): New variable to store a list of benchmark sets.
14974 (bench-func): Renamed from bench.
14975 (bench-set): New target.
14976 (bench): Depend on bench-func and bench-set.
14977 * benchtests/README: Add section on benchmark sets.
14978 * benchtests/bench-memcpy-ifunc.c: New file.
14979 * benchtests/bench-memcpy.c: New file.
14980 * benchtests/bench-string.h: New file.
14981
50fd745b
AS
149822013-06-11 Andreas Schwab <schwab@suse.de>
14983
14984 [BZ #15577]
14985 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
14986 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
14987 values in the triple.
14988 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
14989 terminator in the group key.
14990
3ee7e9fe
AJ
149912013-06-11 Andreas Jaeger <aj@suse.de>
14992
14993 * po/zh_TW.po: Update Chinese (traditional) translation from
14994 translation project.
14995
89fb6835
SP
149962013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14997
14998 * include/time.h (__clock_gettime): Add libc_hidden_proto.
14999 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15000 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
15001 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15002 (clock_getcpuclockid): Likewise.
15003 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15004 Add weak_alias and libc_hidden_def.
15005 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15006 * rt/clock_gettime.c (clock_gettime): Rename to
15007 __clock_gettime. Add weak_alias and libc_hidden_def.
15008 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15009 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15010 __clock_nanosleep. Add weak_alias and libc_hidden_def.
15011 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15012 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15013 Likewise.
15014 * rt/clock_settime.c (clock_settime): Rename to
15015 __clock_settime. Add weak_alias and libc_hidden_def.
15016 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15017
0efa6f8b
JM
150182013-06-10 Joseph Myers <joseph@codesourcery.com>
15019
b8c61b4b
JM
15020 * mach/err_boot.sub: Remove trailing whitespace.
15021 * mach/err_ipc.sub: Likewise.
15022 * mach/err_mach.sub: Likewise.
15023
0efa6f8b
JM
15024 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15025 (ROUNDING_TESTS_double): Likewise.
15026 (ROUNDING_TESTS_long_double): Likewise.
15027 (ROUNDING_TESTS): Likewise.
15028 * math/libm-test.inc: Include <math-tests.h>.
15029 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15030 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15031 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15032 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15033
50b818bf
SP
150342013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15035
15036 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15037 of assigning.
15038
60d2f8f3
JM
150392013-06-08 Joseph Myers <joseph@codesourcery.com>
15040
4902d2c3
JM
15041 * sysdeps/gnu/errlist.awk: Do not generate space at end of
15042 otherwise empty TRANS lines.
15043 * sysdeps/gnu/errlist.c: Regenerated.
15044
60d2f8f3
JM
15045 * catgets/gencat.c (error_print): Use (void) in function
15046 definition.
15047 * crypt/crypt_util.c (__init_des): Likewise.
15048 * crypt/speeds.c (Stop): Likewise.
15049 (main): Likewise.
15050 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15051 * inet/ruserpass.c (token): Likewise.
15052 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15053 * intl/localealias.c (extend_alias_table): Likewise.
15054 * intl/plural-exp.c (init_germanic_plural): Likewise.
15055 * libio/fcloseall.c (__fcloseall): Likewise.
15056 * libio/genops.c (_IO_flush_all): Likewise.
15057 (_IO_flush_all_linebuffered): Likewise.
15058 (_IO_cleanup): Likewise.
15059 (_IO_iter_begin): Likewise.
15060 (_IO_iter_end): Likewise.
15061 (_IO_list_lock): Likewise.
15062 (_IO_list_unlock): Likewise.
15063 (_IO_list_resetlock): Likewise.
15064 * libio/getchar.c (getchar): Likewise.
15065 * libio/getchar_u.c (getchar_unlocked): Likewise.
15066 * libio/getwchar.c (getwchar): Likewise.
15067 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15068 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15069 * login/getpt.c (__getpt): Likewise.
15070 * login/tst-utmp.c (main): Likewise.
15071 * malloc/hooks.c (__malloc_check_init): Likewise.
15072 * malloc/malloc.c (__malloc_stats): Likewise.
15073 * malloc/mtrace.c (tr_break): Likewise.
15074 (mtrace): Likewise.
15075 (muntrace): Likewise.
15076 * misc/fstab.c (endfsent): Likewise.
15077 * misc/getclktck.c (__getclktck): Likewise.
15078 * misc/getdtsz.c (__getdtablesize): Likewise.
15079 * misc/gethostid.c (gethostid): Likewise.
15080 * misc/getpagesize.c (__getpagesize): Likewise.
15081 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15082 (__get_nprocs): Likewise.
15083 (__get_phys_pages): Likewise.
15084 (__get_avphys_pages): Likewise.
15085 * misc/getttyent.c (getttyent): Likewise.
15086 (setttyent): Likewise.
15087 (endttyent): Likewise.
15088 * misc/getusershell.c (getusershell): Likewise.
15089 (endusershell): Likewise.
15090 (setusershell): Likewise.
15091 (initshells): Likewise.
15092 * misc/hsearch.c (__hdestroy): Likewise.
15093 * misc/sync.c (sync): Likewise.
15094 * misc/syslog.c (closelog_internal): Likewise.
15095 (closelog): Likewise.
15096 * misc/ttyslot.c (ttyslot): Likewise.
15097 * misc/vhangup.c (vhangup): Likewise.
15098 * posix/fork.c (__fork): Likewise.
15099 * posix/getegid.c (__getegid): Likewise.
15100 * posix/geteuid.c (__geteuid): Likewise.
15101 * posix/getgid.c (__getgid): Likewise.
15102 * posix/getpid.c (__getpid): Likewise.
15103 * posix/getppid.c (__getppid): Likewise.
15104 * posix/getuid.c (__getuid): Likewise.
15105 * posix/pause.c (pause): Likewise.
15106 * posix/setpgrp.c (setpgrp): Likewise.
15107 * posix/setsid.c (__setsid): Likewise.
15108 * posix/test-vfork.c (noop): Likewise.
15109 * resolv/gethnamaddr.c (_endhtent): Likewise.
15110 (_gethtent): Likewise.
15111 (ht_endhostent): Likewise.
15112 (gethostent): Likewise.
15113 (dns_service): Likewise.
15114 * stdlib/drand48.c (drand48): Likewise.
15115 * stdlib/lrand48.c (lrand48): Likewise.
15116 * stdlib/mrand48.c (mrand48): Likewise.
15117 * stdlib/rand.c (rand): Likewise.
15118 * stdlib/random.c (__random): Likewise.
15119 * stdlib/setenv.c (clearenv): Likewise.
15120 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15121 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15122 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15123 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15124 (__get_nprocs): Likewise.
15125 (__get_phys_pages): Likewise.
15126 (__get_avphys_pages): Likewise.
15127 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15128 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15129 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15130 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15131 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15132 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15133 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15134 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15135 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15136 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15137 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15138 * sysdeps/mach/hurd/sync.c (sync): Likewise.
15139 * sysdeps/posix/clock.c (clock): Likewise.
15140 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15141 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15142 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15143 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15144 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15145 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15146 (__get_nprocs_conf): Likewise.
15147 (__get_phys_pages): Likewise.
15148 (__get_avphys_pages): Likewise.
15149 * time/clock.c (clock): Likewise.
15150 * time/tzset.c (__tzname_max): Likewise.
15151
2e09a79a
JM
151522013-06-07 Joseph Myers <joseph@codesourcery.com>
15153
15154 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15155 (__bswap_32): Do not use "register".
15156 * crypt/crypt.c (_ufc_doit_r): Likewise.
15157 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15158 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15159 * gmon/gmon.c (__monstartup): Likewise.
15160 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15161 * hurd/hurdmalloc.c (more_memory): Likewise.
15162 (malloc): Likewise.
15163 (free): Likewise.
15164 (realloc): Likewise.
15165 (malloc_fork_prepare): Likewise.
15166 (malloc_fork_parent): Likewise.
15167 (malloc_fork_child): Likewise.
15168 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15169 (_svcauth_des): Likewise.
15170 * inet/inet_lnaof.c (inet_lnaof): Likewise.
15171 * inet/inet_net.c (inet_network): Likewise.
15172 * inet/inet_netof.c (inet_netof): Likewise.
15173 * inet/rcmd.c (__validuser2_sa): Likewise.
15174 * io/fts.c (fts_open): Likewise.
15175 (fts_load): Likewise.
15176 (fts_close): Likewise.
15177 (fts_read): Likewise.
15178 (fts_children): Likewise.
15179 (fts_build): Likewise.
15180 (fts_stat): Likewise.
15181 (fts_sort): Likewise.
15182 (fts_alloc): Likewise.
15183 (fts_lfree): Likewise.
15184 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15185 (_IO_file_xsgetn): Likewise.
15186 (_IO_file_xsgetn_mmap): Likewise.
15187 * libio/iofopncook.c (_IO_cookie_read): Likewise.
15188 (_IO_cookie_write): Likewise.
15189 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15190 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15191 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15192 * malloc/obstack.c (_obstack_begin): Likewise.
15193 (_obstack_begin_1): Likewise.
15194 (_obstack_newchunk): Likewise.
15195 (_obstack_allocated_p): Likewise.
15196 (obstack_free): Likewise.
15197 (_obstack_memory_used): Likewise.
15198 * misc/getttyent.c (getttynam): Likewise.
15199 (getttyent): Likewise.
15200 (skip): Likewise.
15201 (value): Likewise.
15202 * misc/getusershell.c (initshells): Likewise.
15203 * misc/syslog.c (__vsyslog_chk): Likewise.
15204 * misc/ttyslot.c (ttyslot): Likewise.
15205 * nis/nis_hash.c (__nis_hash): Likewise.
15206 * posix/fnmatch_loop.c (FCT): Likewise.
15207 * posix/getconf.c (print_all): Likewise.
15208 (main): Likewise.
15209 * posix/getopt.c (exchange): Likewise.
15210 * posix/glob.c (globfree): Likewise.
15211 (prefix_array): Likewise.
15212 (__glob_pattern_type): Likewise.
15213 * resolv/arpa/nameser.h (NS_GET16): Likewise.
15214 (NS_GET32): Likewise.
15215 (NS_PUT16): Likewise.
15216 (NS_PUT32): Likewise.
15217 * resolv/gethnamaddr.c (getanswer): Likewise.
15218 (gethostbyname2): Likewise.
15219 (gethostbyaddr): Likewise.
15220 (_gethtent): Likewise.
15221 (_gethtbyname2): Likewise.
15222 (_gethtbyaddr): Likewise.
15223 * resolv/ns_print.c (dst_s_get_int16): Likewise.
15224 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15225 * resolv/res_init.c (__res_vinit): Likewise.
15226 (net_mask): Likewise.
15227 * resolv/res_mkquery.c (outchar): Likewise.
15228 (PRINT): Likewise.
15229 * stdio-common/printf_fp.c (outchar): Likewise.
15230 (PRINT): Likewise.
15231 * stdio-common/printf_fphex.c (outchar): Likewise.
15232 (PRINT): Likewise.
15233 * stdio-common/printf_size.c (outchar): Likewise.
15234 (PRINT): Likewise.
15235 * stdio-common/test_rdwr.c (main): Likewise.
15236 * stdio-common/tfformat.c (matches): Likewise.
15237 * stdio-common/vfprintf.c (outchar): Likewise.
15238 (printf_unknown): Likewise.
15239 (buffered_vfprintf): Likewise.
15240 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15241 * stdio-common/xbug.c (AppendToBuffer): Likewise.
15242 (ReadFile): Likewise.
15243 * stdlib/qsort.c (SWAP): Likewise.
15244 (_quicksort): Likewise.
15245 * stdlib/setenv.c (__add_to_environ): Likewise.
15246 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15247 * stdlib/strtol_l.c (__strtol_l): Likewise.
15248 * stdlib/tst-strtod.c (main): Likewise.
15249 * stdlib/tst-strtol.c (main): Likewise.
15250 * stdlib/tst-strtoll.c (main): Likewise.
15251 * string/bits/string2.h (__strcmp_cc): Likewise.
15252 (__strcmp_cg): Likewise.
15253 (__strcspn_c1): Likewise.
15254 (__strcspn_c2): Likewise.
15255 (__strcspn_c3): Likewise.
15256 (__strspn_c1): Likewise.
15257 (__strspn_c2): Likewise.
15258 (__strspn_c3): Likewise.
15259 (__strsep_1c): Likewise.
15260 (__strsep_2c): Likewise.
15261 (__strsep_3c): Likewise.
15262 * string/memccpy.c (__memccpy): Likewise.
15263 * string/stpcpy.c (__stpcpy): Likewise.
15264 * string/strcmp.c (strcmp): Likewise.
15265 * string/strrchr.c (strrchr): Likewise.
15266 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15267 Likewise.
15268 * sysdeps/mach/hurd/getcwd.c
15269 (_hurd_canonicalize_directory_name_internal): Likewise.
15270 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15271 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15272 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15273 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15274 Likewise, in both definitions.
15275 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15276 definitions.
15277 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15278 64] (__bswap_64): Likewise.
15279 * time/test_time.c (main): Likewise.
15280 * time/tzfile.c (__tzfile_read): Likewise.
15281 (__tzfile_compute): Likewise.
15282 * time/tzset.c (__tzset_parse_tz): Likewise.
15283 (tzset_internal): Likewise.
15284 (compute_change): Likewise.
15285 * wcsmbs/wcscat.c (__wcscat): Likewise.
15286 * wcsmbs/wcschr.c (wcschr): Likewise.
15287 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15288 * wcsmbs/wcscspn.c (wcscspn): Likewise.
15289 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15290 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15291 * wcsmbs/wcsspn.c (wcsspn): Likewise.
15292 * wcsmbs/wcsstr.c (wcsstr): Likewise.
15293 * wcsmbs/wmemchr.c (wmemchr): Likewise.
15294 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15295 * wcsmbs/wmemset.c (wmemset): Likewise.
15296
9e54314b
JM
152972013-06-06 Joseph Myers <joseph@codesourcery.com>
15298
15299 * scripts/config.guess: Update to version 2013-05-16.
15300 * scripts/config.sub: Update to version 2013-04-24.
15301 * scripts/install-sh: Update to version 2011-11-20.07.
15302 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15303 * scripts/move-if-change: Update to version 2012-01-06 07:23.
15304
350635a5
OB
153052013-06-06 Ondřej Bílka <neleai@seznam.cz>
15306
15307 * debug/fgetws_u_chk.c: Fix leading whitespaces.
15308 * elf/sln.c: Likewise.
15309 * hurd/hurd/ioctl.h: Likewise.
15310 * hurd/hurdmalloc.c: Likewise.
15311 * hurd/xattr.c: Likewise.
15312 * include/shlib-compat.h: Likewise.
15313 * inet/ruserpass.c: Likewise.
15314 * libio/iofgets_u.c: Likewise.
15315 * libio/iofgetws_u.c: Likewise.
15316 * locale/programs/ld-identification.c: Likewise.
15317 * locale/programs/ld-time.c: Likewise.
15318 * mach/msg-destroy.c: Likewise.
15319 * nss/nss_files/files-netgrp.c: Likewise.
15320 * resolv/res_data.c: Likewise.
15321 * soft-fp/op-1.h: Likewise.
15322 * soft-fp/op-2.h: Likewise.
15323 * soft-fp/op-4.h: Likewise.
15324 * soft-fp/op-common.h: Likewise.
15325 * stdio-common/printf_fphex.c: Likewise.
15326 * stdlib/strtod_l.c: Likewise.
15327 * sunrpc/rpc/clnt.h: Likewise.
15328 * sysdeps/generic/framestate.c: Likewise.
15329 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15330 * sysdeps/i386/bsd-setjmp.S: Likewise.
15331 * sysdeps/i386/__longjmp.S: Likewise.
15332 * sysdeps/i386/setjmp.S: Likewise.
15333 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15334 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15335 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15336 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15337 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15338 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15339 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15340 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15341 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15342 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15343 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15344 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15345 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15346 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15347 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15348 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15349 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15350 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15351 * sysdeps/ieee754/support.c: Likewise.
15352 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15353 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15354 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15355 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15356 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15357 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15358 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15359 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15360 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15361 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15362 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15363 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15364 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15365 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15366 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15367 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15368 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15370
44a988af
OB
153712013-06-05 Ondřej Bílka <neleai@seznam.cz>
15372
25506f09 15373 * posix/transbug.c: Remove executable mode.
44a988af 15374
9c84384c
JM
153752013-06-05 Joseph Myers <joseph@codesourcery.com>
15376
15377 * crypt/speeds.c: Remove trailing whitespace.
15378 * dlfcn/default.c: Likewise.
15379 * elf/ifuncdep2.c: Likewise.
15380 * elf/ifuncmain1.c: Likewise.
15381 * elf/ifuncmain1vis.c: Likewise.
15382 * elf/testobj.h: Likewise.
15383 * elf/tst-stackguard1.c: Likewise.
15384 * gmon/sys/gmon.h: Likewise.
15385 * hurd/hurdmsg.c: Likewise.
15386 * hurd/new-fd.c: Likewise.
15387 * hurd/ports-get.c: Likewise.
15388 * iconvdata/ibm1008_420.c: Likewise.
15389 * inet/tst-getni1.c: Likewise.
15390 * inet/tst-getni2.c: Likewise.
15391 * libio/ioungetc.c: Likewise.
15392 * libio/wfiledoalloc.c: Likewise.
15393 * manual/libm-err-tab.pl: Likewise.
15394 * math/w_dremf.c: Likewise.
15395 * misc/ftruncate.c: Likewise.
15396 * posix/bug-glob2.c: Likewise.
15397 * posix/tst-pcre.c: Likewise.
15398 * posix/wait4.c: Likewise.
15399 * resolv/README: Likewise.
15400 * resolv/res_debug.h: Likewise.
15401 * resolv/tst-inet_ntop.c: Likewise.
15402 * setjmp/bug269-setjmp.c: Likewise.
15403 * soft-fp/extended.h: Likewise.
15404 * soft-fp/op-1.h: Likewise.
15405 * soft-fp/op-2.h: Likewise.
15406 * soft-fp/op-4.h: Likewise.
15407 * soft-fp/op-8.h: Likewise.
15408 * soft-fp/testit.c: Likewise.
15409 * stdio-common/bug16.c: Likewise.
15410 * stdlib/random.c: Likewise.
15411 * sunrpc/rpcsvc/rquota.x: Likewise.
15412 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15413 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15414 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15415 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15416 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15417 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15418 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15419 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15420 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15421 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15422 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15423 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15424 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15425 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15426 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15427 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15428 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15429 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15430 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15431 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15432 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15433 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15434 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15435 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15436 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15437 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15438 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15439 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15440 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15441 * sysdeps/ieee754/s_lib_version.c: Likewise.
15442 * sysdeps/mach/hurd/check_fds.c: Likewise.
15443 * sysdeps/mach/hurd/getsockname.c: Likewise.
15444 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15445 * sysdeps/mach/hurd/recvfrom.c: Likewise.
15446 * sysdeps/powerpc/bits/link.h: Likewise.
15447 * sysdeps/powerpc/dl-procinfo.c: Likewise.
15448 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15449 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15450 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15451 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15452 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15453 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15454 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15455 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15456 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15457 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15458 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15459 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15460 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15461 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15462 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15463 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15464 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15465 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15466 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15467 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15468 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15469 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15470 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15471 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15472 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15473 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15474 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15475 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15476 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15477 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15478 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15479 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15480 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15481 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15482 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15483 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15484 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15485 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15486 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15487 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15488 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15489 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15490 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
15491 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15492 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
15493 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
15494 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15495 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
15496 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
15497 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15498 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15499 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15500 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15501 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
15502 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15503 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15504 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15505 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
15506 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15507 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
15508 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
15509 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
15510 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15511 * sysdeps/powerpc/sysdep.h: Likewise.
15512 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15513 * sysdeps/s390/s390-64/sub_n.S: Likewise.
15514 * sysdeps/sh/dl-trampoline.S: Likewise.
15515 * sysdeps/sh/memset.S: Likewise.
15516 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
15517 * sysdeps/sh/strlen.S: Likewise.
15518 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
15519 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
15520 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
15521 * sysdeps/sparc/sparc32/rem.S: Likewise.
15522 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15523 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
15524 * sysdeps/sparc/sparc32/strchr.S: Likewise.
15525 * sysdeps/sparc/sparc32/udiv.S: Likewise.
15526 * sysdeps/sparc/sparc32/urem.S: Likewise.
15527 * sysdeps/sparc/sparc64/add_n.S: Likewise.
15528 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15529 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
15530 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
15531 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
15532 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
15533 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15534 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
15535 * sysdeps/unix/bsd/times.c: Likewise.
15536 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
15537 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
15538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15541 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
15542 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15543 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
15544 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
15545 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
15546 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
15547 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15548 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
15549 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15550 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15551 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15552 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15553 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
15554 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
15555 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
15556 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
15557 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
15558 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15559 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
15560 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
15561 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15562 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
15563 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15564 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
15565 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
15566 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
15567 * sysdeps/x86_64/strcspn.S: Likewise.
15568
869378a5
RA
155692013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15570
15571 * locale/C-translit.h: Revert #include <stdint.h> because this is a
15572 generated file. Regenerate properly from gen-translit.pl.
15573 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
15574 locale/C-translit.h.
15575
840e2943
AS
155762013-06-05 Andreas Schwab <schwab@suse.de>
15577
15578 [BZ #15100]
15579 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
15580 week as 6 instead of -1.
15581 * time/tst-strptime.c (day_tests): Add test case.
15582
4c60cb0c
SP
155832013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15584
15585 * sysdeps/generic/math_private.h
15586 (libc_feholdexcept_setround_53bit): Replace with
15587 libc_feholdsetround_53bit.
15588 (libc_feupdateenv_53bit): Replace with
15589 libc_feresetround_53bit.
15590 (SET_RESTORE_ROUND_53BIT): Adjust.
15591
d180203e
SP
155922013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15593
96df079a
SP
15594 * string/test-strchrnul.c: Add copyright header.
15595
d180203e
SP
15596 * posix/tst-getaddrinfo4.c: Increase test timeout.
15597
8b0ccb2d
CD
155982013-06-03 Carlos O'Donell <carlos@redhat.com>
15599
15600 [BZ #15536]
15601 * math/libm-test.inc (MAX_EXP): Remove
15602 (MIN_EXP): Define.
15603 (ulp): Use MIN_EXP - MANT_DIG.
15604 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
15605
3b3c4d40
CD
156062013-05-31 Carlos O'Donell <carlos@redhat.com>
15607
15608 * po/be.po: Revert last change.
15609 * po/zh_CN.po: Likewise.
15610 * po/header.pot: Likewise.
15611
fab7ce3f
JM
156122013-05-31 Joseph Myers <joseph@codesourcery.com>
15613
15614 * Makefile ($(common-objpfx)linkobj/libc.so): Define
15615 link-libc-deps to empty as target-specific variable.
15616 * Makerules (link-libc-args): New variable.
15617 (libc-for-link): Likewise.
15618 (link-libc-deps): Likewise.
15619 (lib%.so): Depend on $(link-libc-deps). Link with
15620 $(link-libc-args).
15621 (build-module): Link with $(link-libc-args).
15622 (build-module-asneeded): Likewise.
15623 (build-module-helper-objlist): Filter out $(link-libc-deps) from
15624 list of objects.
15625 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
15626 target-specific variable.
15627 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
15628 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
15629 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
15630 libc.
15631 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
15632 libc and ld.so.
15633 ($(objpfx)libpcprofile.so): Likewise.
15634 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
15635 libc_nonshared.a.
15636 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
15637 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
15638 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
15639 $(link-libc-deps).
15640 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
15641 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
15642 * login/Makefile ($(objpfx)libutil.so): Likewise.
15643 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
15644 * math/Makefile ($(objpfx)libm.so): Likewise.
15645 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
15646 $(objpfx)libnsl.so): Define libc-for-link as target-specific
15647 variable instead of depending directly on libc.
15648 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
15649 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
15650 $(link-libc-deps).
15651 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
15652 libc.
15653 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
15654 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
15655 ($(objpfx)libanl.so): Likewise.
15656 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
15657 ld.so.
15658 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
15659 $(link-libc-deps).
15660 * sysdeps/i386/fpu/Makefile: Remove file.
15661 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
15662 ($(objpfx)libm.so): Remove dependency on ld.so.
15663
eca5920c
PF
156642013-05-30 Patsy Franklin <pfrankli@redhat.com>
15665
15666 [BZ # 15553]
15667 * nis/yp_xdr.c (XDRMAXNAME): Define.
15668 (XDRMAXRECORD): Define.
15669 (xdr_domainname): Use XDRMAXNAME.
15670 (xdr_mapname): Likewise.
15671 (xdr_peername): Likewise.
15672 (xdr_keydat): Use XDRMAXRECORD.
15673 (xdr_valdat): Likewise.
15674
156752013-05-30 Jeff Law <law@redhat.com>
96945714
JL
15676
15677 [BZ #14256]
15678 * manual/errno.texi (ESTALE): Update to account for more than
15679 just NFS file systems.
15680 * sysdeps/gnu/errlist.c: Regenerated.
15681
b9375348
SP
156822013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15683
15684 [BZ #15465]
15685 * elf/Makefile (tests): Add tst-null-argv.
15686 (modules-names): Add tst-null-argv-lib.
15687 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
15688 (tst-null-argv-ENV): Set environment for tst-null-argv.
15689 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
15690 (RTLD_PROGNAME): New macro.
15691 * elf/tst-null-argv.c: New test case.
15692 * elf/tst-null-argv-lib.c: Library for test case.
15693 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
15694 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
15695 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
15696 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
15697 * elf/dl-init.c (call_init): Likewise.
15698 (_dl_init): Likewise.
15699 * elf/dl-load.c (print_search_path): Likewise.
15700 (_dl_map_object): Likewise.
15701 * elf/dl-lookup.c (do_lookup_x): Likewise.
15702 (add_dependency): Likewise.
15703 (_dl_lookup_symbol_x): Likewise.
15704 (_dl_debug_bindings): Likewise.
15705 * elf/dl-open.c (_dl_show_scope): Likewise.
15706 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15707 * elf/dl-version.c (match_symbol): Likewise.
15708 (_dl_check_map_versions): Likewise.
15709 * elf/rtld.c (dl_main): Likewise.
15710 (print_unresolved): Use RTLD_PROGNAME.
15711 (print_missing_version): Likewise.
15712 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15713 (elf_machine_rela): Likewise.
15714 * sysdeps/powerpc/powerpc32/dl-machine.c
15715 (__process_machine_rela): Likewise.
15716 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15717 Likewise.
15718 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15719 Likewise.
15720 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15721 Likewise.
15722 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15723 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15724 Likewise.
15725 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15726 Likewise.
15727 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15728
8a9f20c8
CD
157292013-05-28 Carlos O'Donell <carlos@redhat.com>
15730
15731 * po/be.po: Add descriptive title.
15732 * po/zh_CN.po: Likewise.
15733 * po/header.pot: Likewise.
15734
0e60d68e
MF
157352013-05-28 Mike Frysinger <vapier@gentoo.org>
15736
15737 * locale/programs/locarchive.c (create_archive): Inlucde fname in
15738 error message.
15739 (enlarge_archive): Likewise.
15740
56b672e9
BN
157412013-05-28 Ben North <ben@redfrontdoor.org>
15742
15743 * manual/arith.texi (frexp): It is the magnitude of the return
15744 value which lies in [0.5, 1), not the return value itself.
15745
5e056687
AZ
157462013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15747
15748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15749
2b66ef5d
TS
157502013-05-26 Thomas Schwinge <thomas@codesourcery.com>
15751
528c2405
TS
15752 * stdio-common/bug26.c (main): Correct fscanf template.
15753
07b4c13d
TS
15754 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
15755 declare _dl_skip_args.
15756
ec9dd97c
TS
15757 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
15758 Don't declare.
15759
2b66ef5d
TS
15760 * manual/platform.texi: Add missing @end deftypefun.
15761
4f8dfe27
JM
157622013-05-24 Joseph Myers <joseph@codesourcery.com>
15763
0323d086
JM
15764 [BZ #15529]
15765 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
15766 bit of mantissa of 2^16382.
15767 * math/libm-test.inc (hypot_test_data): Add more tests.
15768
dd4259b9
JM
15769 * math/libm-test.inc: Add drem and pow10 to list of tested
15770 functions.
15771 (pow10_test): New function.
15772 (drem_test): Likewise.
15773 (drem_test_tonearest): Likewise.
15774 (drem_test_towardzero): Likewise.
15775 (drem_test_downward): Likewise.
15776 (drem_test_upward): Likewise.
15777 (main): Call the new functions.
15778
4f8dfe27
JM
15779 * math/libm-test.inc (finite_test_data): Remove.
15780 (finite_test): Run tests from isfinite_test_data.
15781 (gamma_test_data): Remove.
15782 (gamma_test): Run tests from lgamma_test_data.
15783 * sysdeps/i386/fpu/libm-test-ulps: Update.
15784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15785
d116b7c4
AZ
157862013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15787
15788 * manual/platform.texi: Add PowerPC PPR function set documentation.
15789 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
15790 implementation.
15791
e96e3767
CD
157922013-05-24 Carlos O'Donell <carlos@redhat.com>
15793
15794 * math/libm-test.inc (MAX_EXP): Define.
15795 (ULPDIFF): Define.
15796 (ulp): New function.
15797 (check_float_internal): Use ULPDIFF.
15798 (cpow_test): Disable failing test.
15799 (check_ulp): Test ulp() implemetnation.
15800 (main): Call check_ulp before starting tests.
15801
b679a606
JM
158022013-05-24 Joseph Myers <joseph@codesourcery.com>
15803
e8bdba36
JM
15804 * math/gen-libm-test.pl (generate_testfile): Do not handle
15805 START_DATA and END_DATA.
15806 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
15807 END_DATA.
15808 (acos_tonearest_test_data): Likewise.
15809 (acos_towardzero_test_data): Likewise.
15810 (acos_downward_test_data): Likewise.
15811 (acos_upward_test_data): Likewise.
15812 (acosh_test_data): Likewise.
15813 (asin_test_data): Likewise.
15814 (asin_tonearest_test_data): Likewise.
15815 (asin_towardzero_test_data): Likewise.
15816 (asin_downward_test_data): Likewise.
15817 (asin_upward_test_data): Likewise.
15818 (asinh_test_data): Likewise.
15819 (atan_test_data): Likewise.
15820 (atanh_test_data): Likewise.
15821 (atan2_test_data): Likewise.
15822 (cabs_test_data): Likewise.
15823 (cacos_test_data): Likewise.
15824 (cacosh_test_data): Likewise.
15825 (carg_test_data): Likewise.
15826 (casin_test_data): Likewise.
15827 (casinh_test_data): Likewise.
15828 (catan_test_data): Likewise.
15829 (catanh_test_data): Likewise.
15830 (cbrt_test_data): Likewise.
15831 (ccos_test_data): Likewise.
15832 (ccosh_test_data): Likewise.
15833 (ceil_test_data): Likewise.
15834 (cexp_test_data): Likewise.
15835 (cimag_test_data): Likewise.
15836 (clog_test_data): Likewise.
15837 (clog10_test_data): Likewise.
15838 (conj_test_data): Likewise.
15839 (copysign_test_data): Likewise.
15840 (cos_test_data): Likewise.
15841 (cos_tonearest_test_data): Likewise.
15842 (cos_towardzero_test_data): Likewise.
15843 (cos_downward_test_data): Likewise.
15844 (cos_upward_test_data): Likewise.
15845 (cosh_test_data): Likewise.
15846 (cosh_tonearest_test_data): Likewise.
15847 (cosh_towardzero_test_data): Likewise.
15848 (cosh_downward_test_data): Likewise.
15849 (cosh_upward_test_data): Likewise.
15850 (cpow_test_data): Likewise.
15851 (cproj_test_data): Likewise.
15852 (creal_test_data): Likewise.
15853 (csin_test_data): Likewise.
15854 (csinh_test_data): Likewise.
15855 (csqrt_test_data): Likewise.
15856 (ctan_test_data): Likewise.
15857 (ctan_tonearest_test_data): Likewise.
15858 (ctan_towardzero_test_data): Likewise.
15859 (ctan_downward_test_data): Likewise.
15860 (ctan_upward_test_data): Likewise.
15861 (ctanh_test_data): Likewise.
15862 (ctanh_tonearest_test_data): Likewise.
15863 (ctanh_towardzero_test_data): Likewise.
15864 (ctanh_downward_test_data): Likewise.
15865 (ctanh_upward_test_data): Likewise.
15866 (erf_test_data): Likewise.
15867 (erfc_test_data): Likewise.
15868 (exp_test_data): Likewise.
15869 (exp_tonearest_test_data): Likewise.
15870 (exp_towardzero_test_data): Likewise.
15871 (exp_downward_test_data): Likewise.
15872 (exp_upward_test_data): Likewise.
15873 (exp10_test_data): Likewise.
15874 (exp2_test_data): Likewise.
15875 (expm1_test_data): Likewise.
15876 (fabs_test_data): Likewise.
15877 (fdim_test_data): Likewise.
15878 (finite_test_data): Likewise.
15879 (floor_test_data): Likewise.
15880 (fma_test_data): Likewise.
15881 (fma_towardzero_test_data): Likewise.
15882 (fma_downward_test_data): Likewise.
15883 (fma_upward_test_data): Likewise.
15884 (fmax_test_data): Likewise.
15885 (fmin_test_data): Likewise.
15886 (fmod_test_data): Likewise.
15887 (fpclassify_test_data): Likewise.
15888 (frexp_test_data): Likewise.
15889 (gamma_test_data): Likewise.
15890 (hypot_test_data): Likewise.
15891 (ilogb_test_data): Likewise.
15892 (isfinite_test_data): Likewise.
15893 (isgreater_test_data): Likewise.
15894 (isgreaterequal_test_data): Likewise.
15895 (isinf_test_data): Likewise.
15896 (isless_test_data): Likewise.
15897 (islessequal_test_data): Likewise.
15898 (islessgreater_test_data): Likewise.
15899 (isnan_test_data): Likewise.
15900 (isnormal_test_data): Likewise.
15901 (issignaling_test_data): Likewise.
15902 (isunordered_test_data): Likewise.
15903 (j0_test_data): Likewise.
15904 (j1_test_data): Likewise.
15905 (jn_test_data): Likewise.
15906 (ldexp_test_data): Likewise.
15907 (lgamma_test_data): Likewise.
15908 (lrint_test_data): Likewise.
15909 (lrint_tonearest_test_data): Likewise.
15910 (lrint_towardzero_test_data): Likewise.
15911 (lrint_downward_test_data): Likewise.
15912 (lrint_upward_test_data): Likewise.
15913 (llrint_test_data): Likewise.
15914 (llrint_tonearest_test_data): Likewise.
15915 (llrint_towardzero_test_data): Likewise.
15916 (llrint_downward_test_data): Likewise.
15917 (llrint_upward_test_data): Likewise.
15918 (log_test_data): Likewise.
15919 (log10_test_data): Likewise.
15920 (log1p_test_data): Likewise.
15921 (log2_test_data): Likewise.
15922 (logb_test_data): Likewise.
15923 (logb_downward_test_data): Likewise.
15924 (lround_test_data): Likewise.
15925 (llround_test_data): Likewise.
15926 (modf_test_data): Likewise.
15927 (nearbyint_test_data): Likewise.
15928 (nextafter_test_data): Likewise.
15929 (nexttoward_test_data): Likewise.
15930 (pow_test_data): Likewise.
15931 (pow_tonearest_test_data): Likewise.
15932 (pow_towardzero_test_data): Likewise.
15933 (pow_downward_test_data): Likewise.
15934 (pow_upward_test_data): Likewise.
15935 (remainder_test_data): Likewise.
15936 (remainder_tonearest_test_data): Likewise.
15937 (remainder_towardzero_test_data): Likewise.
15938 (remainder_downward_test_data): Likewise.
15939 (remainder_upward_test_data): Likewise.
15940 (remquo_test_data): Likewise.
15941 (rint_test_data): Likewise.
15942 (rint_tonearest_test_data): Likewise.
15943 (rint_towardzero_test_data): Likewise.
15944 (rint_downward_test_data): Likewise.
15945 (rint_upward_test_data): Likewise.
15946 (round_test_data): Likewise.
15947 (scalb_test_data): Likewise.
15948 (scalbn_test_data): Likewise.
15949 (scalbln_test_data): Likewise.
15950 (signbit_test_data): Likewise.
15951 (sin_test_data): Likewise.
15952 (sin_tonearest_test_data): Likewise.
15953 (sin_towardzero_test_data): Likewise.
15954 (sin_downward_test_data): Likewise.
15955 (sin_upward_test_data): Likewise.
15956 (sincos_test_data): Likewise.
15957 (sinh_test_data): Likewise.
15958 (sinh_tonearest_test_data): Likewise.
15959 (sinh_towardzero_test_data): Likewise.
15960 (sinh_downward_test_data): Likewise.
15961 (sinh_upward_test_data): Likewise.
15962 (sqrt_test_data): Likewise.
15963 (tan_test_data): Likewise.
15964 (tan_tonearest_test_data): Likewise.
15965 (tan_towardzero_test_data): Likewise.
15966 (tan_downward_test_data): Likewise.
15967 (tan_upward_test_data): Likewise.
15968 (tanh_test_data): Likewise.
15969 (tgamma_test_data): Likewise.
15970 (trunc_test_data): Likewise.
15971 (y0_test_data): Likewise.
15972 (y1_test_data): Likewise.
15973 (yn_test_data): Likewise.
15974 (significand_test_data): Likewise.
15975
b679a606
JM
15976 * math/gen-libm-test.pl (@functions): Remove variable.
15977 (generate_testfile): Don't handle START and END lines.
15978 * math/libm-test.inc (START): New macro.
15979 (END): Likewise.
15980 (END_COMPLEX): Likewise.
15981 (acos_test): Use END macro without arguments.
15982 (acos_test_tonearest): Likewise.
15983 (acos_test_towardzero): Likewise.
15984 (acos_test_downward): Likewise.
15985 (acos_test_upward): Likewise.
15986 (acosh_test): Likewise.
15987 (asin_test): Likewise.
15988 (asin_test_tonearest): Likewise.
15989 (asin_test_towardzero): Likewise.
15990 (asin_test_downward): Likewise.
15991 (asin_test_upward): Likewise.
15992 (asinh_test): Likewise.
15993 (atan_test): Likewise.
15994 (atanh_test): Likewise.
15995 (atan2_test): Likewise.
15996 (cabs_test): Likewise.
15997 (cacos_test): Use END_COMPLEX macro without arguments.
15998 (cacosh_test): Likewise.
15999 (carg_test): Use END macro without arguments.
16000 (casin_test): Use END_COMPLEX macro without arguments.
16001 (casinh_test): Likewise.
16002 (catan_test): Likewise.
16003 (catanh_test): Likewise.
16004 (cbrt_test): Use END macro without arguments.
16005 (ccos_test): Use END_COMPLEX macro without arguments.
16006 (ccosh_test): Likewise.
16007 (ceil_test): Use END macro without arguments.
16008 (cexp_test): Use END_COMPLEX macro without arguments.
16009 (cimag_test): Use END macro without arguments.
16010 (clog_test): Use END_COMPLEX macro without arguments.
16011 (clog10_test): Likewise.
16012 (conj_test): Likewise.
16013 (copysign_test): Use END macro without arguments.
16014 (cos_test): Likewise.
16015 (cos_test_tonearest): Likewise.
16016 (cos_test_towardzero): Likewise.
16017 (cos_test_downward): Likewise.
16018 (cos_test_upward): Likewise.
16019 (cosh_test): Likewise.
16020 (cosh_test_tonearest): Likewise.
16021 (cosh_test_towardzero): Likewise.
16022 (cosh_test_downward): Likewise.
16023 (cosh_test_upward): Likewise.
16024 (cpow_test): Use END_COMPLEX macro without arguments.
16025 (cproj_test): Likewise.
16026 (creal_test): Use END macro without arguments.
16027 (csin_test): Use END_COMPLEX macro without arguments.
16028 (csinh_test): Likewise.
16029 (csqrt_test): Likewise.
16030 (ctan_test): Likewise.
16031 (ctan_test_tonearest): Likewise.
16032 (ctan_test_towardzero): Likewise.
16033 (ctan_test_downward): Likewise.
16034 (ctan_test_upward): Likewise.
16035 (ctanh_test): Likewise.
16036 (ctanh_test_tonearest): Likewise.
16037 (ctanh_test_towardzero): Likewise.
16038 (ctanh_test_downward): Likewise.
16039 (ctanh_test_upward): Likewise.
16040 (erf_test): Use END macro without arguments.
16041 (erfc_test): Likewise.
16042 (exp_test): Likewise.
16043 (exp_test_tonearest): Likewise.
16044 (exp_test_towardzero): Likewise.
16045 (exp_test_downward): Likewise.
16046 (exp_test_upward): Likewise.
16047 (exp10_test): Likewise.
16048 (exp2_test): Likewise.
16049 (expm1_test): Likewise.
16050 (fabs_test): Likewise.
16051 (fdim_test): Likewise.
16052 (finite_test): Likewise.
16053 (floor_test): Likewise.
16054 (fma_test): Likewise.
16055 (fma_test_towardzero): Likewise.
16056 (fma_test_downward): Likewise.
16057 (fma_test_upward): Likewise.
16058 (fmax_test): Likewise.
16059 (fmin_test): Likewise.
16060 (fmod_test): Likewise.
16061 (fpclassify_test): Likewise.
16062 (frexp_test): Likewise.
16063 (gamma_test): Likewise.
16064 (hypot_test): Likewise.
16065 (ilogb_test): Likewise.
16066 (isfinite_test): Likewise.
16067 (isgreater_test): Likewise.
16068 (isgreaterequal_test): Likewise.
16069 (isinf_test): Likewise.
16070 (isless_test): Likewise.
16071 (islessequal_test): Likewise.
16072 (islessgreater_test): Likewise.
16073 (isnan_test): Likewise.
16074 (isnormal_test): Likewise.
16075 (issignaling_test): Likewise.
16076 (isunordered_test): Likewise.
16077 (j0_test): Likewise.
16078 (j1_test): Likewise.
16079 (jn_test): Likewise.
16080 (ldexp_test): Likewise.
16081 (lgamma_test): Likewise.
16082 (lrint_test): Likewise.
16083 (lrint_test_tonearest): Likewise.
16084 (lrint_test_towardzero): Likewise.
16085 (lrint_test_downward): Likewise.
16086 (lrint_test_upward): Likewise.
16087 (llrint_test): Likewise.
16088 (llrint_test_tonearest): Likewise.
16089 (llrint_test_towardzero): Likewise.
16090 (llrint_test_downward): Likewise.
16091 (llrint_test_upward): Likewise.
16092 (log_test): Likewise.
16093 (log10_test): Likewise.
16094 (log1p_test): Likewise.
16095 (log2_test): Likewise.
16096 (logb_test): Likewise.
16097 (logb_test_downward): Likewise.
16098 (lround_test): Likewise.
16099 (llround_test): Likewise.
16100 (modf_test): Likewise.
16101 (nearbyint_test): Likewise.
16102 (nextafter_test): Likewise.
16103 (nexttoward_test): Likewise.
16104 (pow_test): Likewise.
16105 (pow_test_tonearest): Likewise.
16106 (pow_test_towardzero): Likewise.
16107 (pow_test_downward): Likewise.
16108 (pow_test_upward): Likewise.
16109 (remainder_test): Likewise.
16110 (remainder_test_tonearest): Likewise.
16111 (remainder_test_towardzero): Likewise.
16112 (remainder_test_downward): Likewise.
16113 (remainder_test_upward): Likewise.
16114 (remquo_test): Likewise.
16115 (rint_test): Likewise.
16116 (rint_test_tonearest): Likewise.
16117 (rint_test_towardzero): Likewise.
16118 (rint_test_downward): Likewise.
16119 (rint_test_upward): Likewise.
16120 (round_test): Likewise.
16121 (scalb_test): Likewise.
16122 (scalbn_test): Likewise.
16123 (scalbln_test): Likewise.
16124 (signbit_test): Likewise.
16125 (sin_test): Likewise.
16126 (sin_test_tonearest): Likewise.
16127 (sin_test_towardzero): Likewise.
16128 (sin_test_downward): Likewise.
16129 (sin_test_upward): Likewise.
16130 (sincos_test): Likewise.
16131 (sinh_test): Likewise.
16132 (sinh_test_tonearest): Likewise.
16133 (sinh_test_towardzero): Likewise.
16134 (sinh_test_downward): Likewise.
16135 (sinh_test_upward): Likewise.
16136 (sqrt_test): Likewise.
16137 (tan_test): Likewise.
16138 (tan_test_tonearest): Likewise.
16139 (tan_test_towardzero): Likewise.
16140 (tan_test_downward): Likewise.
16141 (tan_test_upward): Likewise.
16142 (tanh_test): Likewise.
16143 (tgamma_test): Likewise.
16144 (trunc_test): Likewise.
16145 (y0_test): Likewise.
16146 (y1_test): Likewise.
16147 (yn_test): Likewise.
16148 (significand_test): Likewise.
16149
bae143d2
OB
161502013-05-24 Ondřej Bílka <neleai@seznam.cz>
16151
16152 [BZ #15381]
16153 * libio/genops.c (_IO_no_init): Initialize wide struct info.
16154
9323d39b
EM
161552013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
16156
d4ea44a0 16157 [BZ #14894]
9323d39b
EM
16158 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16159 __ppc_mdoio and __ppc_mdoom.
16160 * manual/platform.texi: Document new functions __ppc_yield,
16161 __ppc_mdoio and __ppc_mdoom.
16162
13e23af7
CD
161632013-05-22 Carlos O'Donell <carlos@redhat.com>
16164
16165 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16166 (main): Mention "tls" pseudo-hwcap is legacy.
16167 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16168
351fe550
JM
161692013-05-22 Joseph Myers <joseph@codesourcery.com>
16170
16171 * math/gen-libm-test.pl (parse_args): Output only string of
16172 arguments as text for test name, not full call or descriptions of
16173 tests for extra outputs.
16174 (generate_testfile): Do not pass function name to parse_args.
16175 Generate this_func variable from START.
16176 * math/libm-test.inc (struct test_f_f_data): Rename test_name
16177 field to arg_str.
16178 (struct test_ff_f_data): Likewise.
16179 (test_ff_f_data_nexttoward): Likewise.
16180 (struct test_fi_f_data): Likewise.
16181 (struct test_fl_f_data): Likewise.
16182 (struct test_if_f_data): Likewise.
16183 (struct test_fff_f_data): Likewise.
16184 (struct test_c_f_data): Likewise.
16185 (struct test_f_f1_data): Likewise. Remove field extra_name.
16186 (struct test_fF_f1_data): Likewise.
16187 (struct test_ffI_f1_data): Likewise.
16188 (struct test_c_c_data): Rename test_name field to arg_str.
16189 (struct test_cc_c_data): Likewise.
16190 (struct test_f_i_data): Likewise.
16191 (struct test_ff_i_data): Likewise.
16192 (struct test_f_l_data): Likewise.
16193 (struct test_f_L_data): Likewise.
16194 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
16195 and extra2_name.
16196 (COMMON_TEST_SETUP): New macro.
16197 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16198 (COMMON_TEST_CLEANUP): Likewise.
16199 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16200 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
16201 macros.
16202 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16203 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
16204 macros.
16205 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16206 (RUN_TEST_fff_f): Take argument string. Call new setup and
16207 cleanup macros.
16208 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16209 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
16210 macros.
16211 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16212 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
16213 macros.
16214 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16215 (RUN_TEST_fF_f1): Take argument string. Call new setup and
16216 cleanup macros.
16217 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16218 (RUN_TEST_fI_f1): Take argument string. Call new setup and
16219 cleanup macros.
16220 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16221 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
16222 cleanup macros.
16223 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16224 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
16225 macros.
16226 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16227 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
16228 macros.
16229 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16230 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
16231 macros.
16232 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16233 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
16234 cleanup macros.
16235 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16236 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
16237 cleanup macros.
16238 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16239 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
16240 macros.
16241 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16242 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
16243 cleanup macros.
16244 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16245 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
16246 macros.
16247 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16248 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
16249 macros.
16250 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16251 (RUN_TEST_fFF_11): Take argument string. Call new setup and
16252 cleanup macros.
16253 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16254
85118d4d
EBM
162552013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16256
16257 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16258 to _sifields.sigfault.
16259 (si_addr_lsb): Define new macro.
16260 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16261 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16262 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16263
7a44c18f
CD
162642013-05-03 Carlos O'Donell <carlos at redhat.com>
16265
16266 [BZ #15441]
16267 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16268 returns -1.
16269 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16270 null return -1.
16271 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16272 loading the domain.
16273
b50a7181
JM
162742013-05-22 Joseph Myers <joseph@codesourcery.com>
16275
16276 * math/gen-libm-test.pl (parse_args): Do not include expected
16277 result in test name.
16278 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16279 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16280 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16281 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16282 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16284
051063c8
SP
162852013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16286
3ce9e010
SP
16287 * benchtests/Makefile: Sort function entries.
16288
051063c8
SP
16289 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16290 tanh, asinh, acosh, atanh.
16291 * benchtests/acos-inputs: New file.
16292 * benchtests/acosh-inputs: New file.
16293 * benchtests/asin-inputs: New file.
16294 * benchtests/asinh-inputs: New file.
16295 * benchtests/atanh-inputs: New file.
16296 * benchtests/cosh-inputs: New file.
16297 * benchtests/log-inputs: New file.
16298 * benchtests/sinh-inputs: New file.
16299 * benchtests/tanh-inputs: New file.
16300
47c22455
DL
163012013-05-21 Dmitry V. Levin <ldv@altlinux.org>
16302
16303 [BZ #15339]
16304 * posix/tst-getaddrinfo4.c: New test.
16305 * posix/Makefile (tests): Add it.
16306
3d04f5db
SP
163072013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16308
16309 [BZ #15339]
16310 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16311 when no services were used.
16312 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16313 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16314
d5dd6189
AS
163152013-05-21 Andreas Schwab <schwab@suse.de>
16316
16317 [BZ #15014]
16318 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16319 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16320 successful.
16321 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16322 redundant variable declarations and reallocation of buffer when
16323 parsing as IPv6 address. Always set NSS status when called from
16324 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
16325 buffer too small. Correct computation of needed size.
16326 * nss/Makefile (tests): Add test-digits-dots.
16327 * nss/test-digits-dots.c: New test.
16328
fef94eab
SP
163292013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16330
16331 * benchtests/Makefile: Remove instructions for adding
16332 benchmark tests.
16333 * benchtests/README: New file to explain how to execute and
16334 enhance the benchmark tests.
16335
e39adf43
AS
163362013-05-21 Andreas Schwab <schwab@suse.de>
16337
16338 [BZ #15493]
16339 * setjmp/Makefile (tests): Add tst-sigsetjmp.
16340 * setjmp/tst-sigsetjmp.c: New test.
16341
b2b671b6
OB
163422013-05-20 Ondřej Bílka <neleai@seznam.cz>
16343
16344 * sysdeps/x86_64/memset.S (memset): New implementation.
16345 (__bzero): Likewise.
16346 (__memset_tail): New function.
16347
2d48b41c
OB
163482013-05-20 Ondřej Bílka <neleai@seznam.cz>
16349
16350 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16351 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16352 __memcpy_sse2_unaligned ifunc selection.
16353 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16354 Add memcpy-sse2-unaligned.S.
16355 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16356 Add: __memcpy_sse2_unaligned.
16357
f16cc3eb
JM
163582013-05-19 Joseph Myers <joseph@codesourcery.com>
16359
3e694268
JM
16360 [BZ #15490]
16361 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16362 math_force_eval before restoring floating-point envrionment.
16363 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16364 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16365 Likewise.
16366 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16367 <math_private.h>.
16368 (__nearbyintl): Use math_force_eval before restoring
16369 floating-point environment.
16370 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16371
db62a907
JM
16372 * math/gen-libm-test.pl (special_functions): Remove.
16373 (parse_args): Don't handle TEST_extra. Handle functions with no
16374 return value.
16375 * math/libm-test.inc (struct test_sincos_data): Replace with
16376 struct test_fFF_11_data.
16377 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16378 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16379 (sincos_test_data): Change element type to struct
16380 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
16381 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16382 RUN_TEST_LOOP_sincos.
16383 * math/README.libm-test: Don't mention special handling of
16384 individual functions.
16385 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16386 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16387 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16388 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16389 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16391
f16cc3eb
JM
16392 * math/gen-libm-test.pl (get_variable): Remove function.
16393 (parse_args): Don't show pointer parameters to call in test
16394 names. Use "extra output N" in test names for extra outputs
16395 rather than naming variables.
16396
3779b5b6
JM
163972013-05-18 Joseph Myers <joseph@codesourcery.com>
16398
2ee094ff
JM
16399 [BZ #15488]
16400 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16401 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16402 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16403 double tests.
16404 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16405 disable.
16406 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16407 check_long_double.
16408
3779b5b6
JM
16409 * math/gen-libm-test.pl (@tests): Remove variable.
16410 ($count): Likewise.
16411 (new_test): Remove function.
16412 (show_exceptions): New function.
16413 (special_functions): Use show_exceptions instead of new_test.
16414 (parse_args): Likewise.
16415 (generate_testfile): Pass only function name in generated call to
16416 print_max_error or print_complex_max_error.
16417 (get_ulps): Do not handle complex tests specially.
16418 (output_test): Rename to ...
16419 (get_all_ulps_for_test): ... this. Return a string rather than
16420 printing to a file. Require ulps to be present.
16421 (output_ulps): Generate arrays rather than #defines.
16422 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16423 (struct ulp_data): New type.
16424 (BUILD_COMPLEX_ULP): Remove macro.
16425 (compare_ulp_data): New function.
16426 (find_ulps): Likewise.
16427 (find_test_ulps): Likewise.
16428 (find_function_ulps): Likewise.
16429 (find_complex_function_ulps): Likewise.
16430 (print_max_error): Determine allowed ulps using
16431 find_function_ulps.
16432 (print_complex_max_error): Determine allowed ulps using
16433 find_complex_function_ulps.
16434 (check_float_internal): Determine max ulps using find_test_ulps.
16435 (check_float): Do not take max_ulp parameter. Update call to
16436 check_float_internal.
16437 (check_complex): Likewise.
16438 (check_int): Do not take max_ulp parameter.
16439 (check_long): Likewise.
16440 (check_bool): Likewise.
16441 (check_longlong): Likewise.
16442 (struct test_f_f_data): Remove max_ulp field.
16443 (struct test_ff_f_data): Likewise.
16444 (struct test_ff_f_data_nexttoward): Likewise.
16445 (struct test_fi_f_data): Likewise.
16446 (struct test_fl_f_data): Likewise.
16447 (struct test_if_f_data): Likewise.
16448 (struct test_fff_f_data): Likewise.
16449 (struct test_c_f_data): Likewise.
16450 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16451 (struct test_fF_f1_data): Likewise.
16452 (struct test_ffI_f1_data): Likewise.
16453 (struct test_c_c_data): Remove max_ulp field.
16454 (struct test_cc_c_data): Likewise.
16455 (struct test_f_i_data): Likewise.
16456 (struct test_ff_i_data): Likewise.
16457 (struct test_f_l_data): Likewise.
16458 (struct test_f_L_data): Likewise.
16459 (struct test_sincos_data): Likewise.
16460 (RUN_TEST_f_f): Do not handle ulps.
16461 (RUN_TEST_LOOP_f_f): Likewise.
16462 (RUN_TEST_2_f): Likewise.
16463 (RUN_TEST_LOOP_2_f): Likewise.
16464 (RUN_TEST_fff_f): Likewise.
16465 (RUN_TEST_LOOP_fff_f): Likewise.
16466 (RUN_TEST_c_f): Likewise.
16467 (RUN_TEST_LOOP_c_f): Likewise.
16468 (RUN_TEST_f_f1): Likewise.
16469 (RUN_TEST_LOOP_f_f1): Likewise.
16470 (RUN_TEST_fF_f1): Likewise.
16471 (RUN_TEST_LOOP_fF_f1): Likewise.
16472 (RUN_TEST_fI_f1): Likewise.
16473 (RUN_TEST_LOOP_fI_f1): Likewise.
16474 (RUN_TEST_ffI_f1): Likewise.
16475 (RUN_TEST_LOOP_ffI_f1): Likewise.
16476 (RUN_TEST_c_c): Likewise.
16477 (RUN_TEST_LOOP_c_c): Likewise.
16478 (RUN_TEST_cc_c): Likewise.
16479 (RUN_TEST_LOOP_cc_c): Likewise.
16480 (RUN_TEST_f_i): Likewise.
16481 (RUN_TEST_LOOP_f_i): Likewise.
16482 (RUN_TEST_f_i_tg): Likewise.
16483 (RUN_TEST_LOOP_f_i_tg): Likewise.
16484 (RUN_TEST_ff_i_tg): Likewise.
16485 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16486 (RUN_TEST_f_b): Likewise.
16487 (RUN_TEST_LOOP_f_b): Likewise.
16488 (RUN_TEST_f_b_tg): Likewise.
16489 (RUN_TEST_LOOP_f_b_tg): Likewise.
16490 (RUN_TEST_f_l): Likewise.
16491 (RUN_TEST_LOOP_f_l): Likewise.
16492 (RUN_TEST_f_L): Likewise.
16493 (RUN_TEST_LOOP_f_L): Likewise.
16494 (RUN_TEST_sincos): Likewise.
16495 (RUN_TEST_LOOP_sincos): Likewise.
16496
8269107f
JM
164972013-05-17 Joseph Myers <joseph@codesourcery.com>
16498
bb38759d
JM
16499 [BZ #15480]
16500 [BZ #15485]
16501 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
16502 main case of finite arguments, set rounding mode to FE_TONEAREST
16503 and discard exceptions.
16504 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
16505 exceptions.
16506 (remainder_tonearest_test_data): New variable.
16507 (remainder_test_tonearest): New function.
16508 (remainder_towardzero_test_data): New variable.
16509 (remainder_test_towardzero): New function.
16510 (remainder_downward_test_data): New variable.
16511 (remainder_test_downward): New function.
16512 (remainder_upward_test_data): New variable.
16513 (remainder_test_upward): New function.
16514 (main): Call the new test functions.
16515
a00bdcf0
JM
16516 * math/libm-test.inc (struct test_f_f1_data): Remove field
16517 extra_init.
16518 (struct test_fF_f1_data): Likewise.
16519 (struct test_ffI_f1_data): Likewise.
16520 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
16521 based on value of EXTRA_EXPECTED.
16522 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16523 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
16524 EXTRA_VAR based on value of EXTRA_EXPECTED.
16525 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16526 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
16527 EXTRA_VAR based on value of EXTRA_EXPECTED.
16528 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16529 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
16530 EXTRA_VAR based on value of EXTRA_EXPECTED.
16531 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16532 * math/gen-libm-test.pl (parse_args): Don't output initializers
16533 for extra output values.
16534
de407f79
JM
16535 * math/libm-test.inc (check_int): Expect result to be exactly
16536 equal to expected value and do not handle ulps.
16537 (check_long): Likewise.
16538 (check_longlong): Likewise.
16539
8269107f
JM
16540 * math/libm-test.inc (ceil_test_data): Test for "inexact"
16541 exceptions.
16542 (cimag_test_data): Likewise.
16543 (conj_test_data): Likewise.
16544 (copysign_test_data): Likewise.
16545 (cproj_test_data): Likewise.
16546 (creal_test_data): Likewise.
16547 (fabs_test_data): Likewise.
16548 (fdim_test_data): Likewise.
16549 (finite_test_data): Likewise.
16550 (floor_test_data): Likewise.
16551 (fmax_test_data): Likewise.
16552 (fmin_test_data): Likewise.
16553 (fmod_test_data): Likewise.
16554 (fpclassify_test_data): Likewise.
16555 (frexp_test_data): Likewise.
16556 (ilogb_test_data): Likewise.
16557 (isfinite_test_data): Likewise.
16558 (isgreater_test_data): Likewise.
16559 (isgreaterequal_test_data): Likewise.
16560 (isinf_test_data): Likewise.
16561 (isless_test_data): Likewise.
16562 (islessequal_test_data): Likewise.
16563 (islessgreater_test_data): Likewise.
16564 (isnan_test_data): Likewise.
16565 (isnormal_test_data): Likewise.
16566 (issignaling_test_data): Likewise.
16567 (isunordered_test_data): Likewise.
16568 (ldexp_test_data): Likewise.
16569 (lrint_test_data): Likewise.
16570 (lrint_test_data) [TEST_FLOAT]: Disable one test.
16571 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
16572 (lrint_tonearest_test_data): Test for "inexact" exceptions.
16573 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16574 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
16575 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16576 test input.
16577 (lrint_towardzero_test_data): Test for "inexact" exceptions.
16578 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16579 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
16580 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
16581 that test input.
16582 (lrint_downward_test_data): Test for "inexact" exceptions.
16583 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16584 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
16585 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16586 test input.
16587 (lrint_upward_test_data): Test for "inexact" exceptions.
16588 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
16589 test input.
16590 (llrint_test_data): Test for "inexact" exceptions.
16591 (llrint_test_data) [TEST_FLOAT]: Disable one test.
16592 (llrint_tonearest_test_data): Test for "inexact" exceptions.
16593 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16594 (llrint_towardzero_test_data): Test for "inexact" exceptions.
16595 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16596 (llrint_downward_test_data): Test for "inexact" exceptions.
16597 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16598 (llrint_upward_test_data): Test for "inexact" exceptions.
16599 (logb_test_data): Likewise.
16600 (logb_downward_test_data): Likewise.
16601 (nextafter_test_data): Likewise.
16602 (nexttoward_test_data): Likewise.
16603 (remainder_test_data): Likewise.
16604 (remquo_test_data): Likewise.
16605 (scalbn_test_data): Likewise.
16606 (scalbln_test_data): Likewise.
16607 (signbit_test_data): Likewise.
16608 (sqrt_test_data): Likewise.
16609 (significand_test_data): Likewise.
16610
48a18de1
SP
166112013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16612
16613 [BZ #15424]
16614 * benchtests/bench-modf.c (struct args): Mark arg0 as
16615 volatile.
16616 * scripts/bench.pl: Mark members of struct args as volatile.
16617
13d3b41a
AZ
166182013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16619
68191c1d 16620 [BZ # 15497]
13d3b41a
AZ
16621 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
16622 negative infinity on POWER6 or lower.
16623 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
16624
2848b105
MR
166252013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
16626
16627 [BZ #15442]
16628 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
16629 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
16630 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
16631 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
16632 (_FP_SETQNAN): New macro.
16633 (_FP_SETQNAN_SEMIRAW): Likewise.
16634 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
16635 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
16636 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
16637 (FP_EXTEND): Use _FP_FRAC_SNANP.
16638 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
16639 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
16640 into account.
16641 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16642 New macro.
16643 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16644 Likewise.
16645
323e5cb7
JM
166462013-05-16 Joseph Myers <joseph@codesourcery.com>
16647
c58b274f
JM
16648 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
16649 with DIVIDE_BY_ZERO_EXCEPTION.
16650 (gamma_test_data): Likewise.
16651 (lgamma_test_data): Likewise.
16652 (log_test_data): Likewise.
16653 (log10_test_data): Likewise.
16654 (log2_test_data): Likewise.
16655 (tgamma_test_data): Likewise.
16656
0ab34904
JM
16657 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
16658 (acos_test_tonearest): Likewise.
16659 (acos_test_towardzero): Likewise.
16660 (acos_test_downward): Likewise.
16661 (acos_test_upward): Likewise.
16662 (acosh_test): Likewise.
16663 (asin_test): Likewise.
16664 (asin_test_tonearest): Likewise.
16665 (asin_test_towardzero): Likewise.
16666 (asin_test_downward): Likewise.
16667 (asin_test_upward): Likewise.
16668 (asinh_test): Likewise.
16669 (atan_test): Likewise.
16670 (atanh_test): Likewise.
16671 (atan2_test): Likewise.
16672 (cabs_test): Likewise.
16673 (cacos_test): Likewise.
16674 (cacosh_test): Likewise.
16675 (casin_test): Likewise.
16676 (casinh_test): Likewise.
16677 (catan_test): Likewise.
16678 (catanh_test): Likewise.
16679 (cbrt_test): Likewise.
16680 (ccos_test): Likewise.
16681 (ccosh_test): Likewise.
16682 (cexp_test): Likewise.
16683 (clog_test): Likewise.
16684 (clog10_test): Likewise.
16685 (cos_test): Likewise.
16686 (cos_test_tonearest): Likewise.
16687 (cos_test_towardzero): Likewise.
16688 (cos_test_downward): Likewise.
16689 (cos_test_upward): Likewise.
16690 (cosh_test): Likewise.
16691 (cosh_test_tonearest): Likewise.
16692 (cosh_test_towardzero): Likewise.
16693 (cosh_test_downward): Likewise.
16694 (cosh_test_upward): Likewise.
16695 (cpow_test): Likewise.
16696 (csin_test): Likewise.
16697 (csinh_test): Likewise.
16698 (csqrt_test): Likewise.
16699 (ctan_test): Likewise.
16700 (ctan_test_tonearest): Likewise.
16701 (ctan_test_towardzero): Likewise.
16702 (ctan_test_downward): Likewise.
16703 (ctan_test_upward): Likewise.
16704 (ctanh_test): Likewise.
16705 (ctanh_test_tonearest): Likewise.
16706 (ctanh_test_towardzero): Likewise.
16707 (ctanh_test_downward): Likewise.
16708 (ctanh_test_upward): Likewise.
16709 (erf_test): Likewise.
16710 (erfc_test): Likewise.
16711 (exp_test): Likewise.
16712 (exp_test_tonearest): Likewise.
16713 (exp_test_towardzero): Likewise.
16714 (exp_test_downward): Likewise.
16715 (exp_test_upward): Likewise.
16716 (exp10_test): Likewise.
16717 (exp2_test): Likewise.
16718 (expm1_test): Likewise.
16719 (fmod_test): Likewise.
16720 (gamma_test): Likewise.
16721 (hypot_test): Likewise.
16722 (j0_test): Likewise.
16723 (j1_test): Likewise.
16724 (jn_test): Likewise.
16725 (lgamma_test): Likewise.
16726 (log_test): Likewise.
16727 (log10_test): Likewise.
16728 (log1p_test): Likewise.
16729 (log2_test): Likewise.
16730 (logb_test_downward): Likewise.
16731 (pow_test): Likewise.
16732 (pow_test_tonearest): Likewise.
16733 (pow_test_towardzero): Likewise.
16734 (pow_test_downward): Likewise.
16735 (pow_test_upward): Likewise.
16736 (remainder_test): Likewise.
16737 (remquo_test): Likewise.
16738 (sin_test): Likewise.
16739 (sin_test_tonearest): Likewise.
16740 (sin_test_towardzero): Likewise.
16741 (sin_test_downward): Likewise.
16742 (sin_test_upward): Likewise.
16743 (sincos_test): Likewise.
16744 (sinh_test): Likewise.
16745 (sinh_test_tonearest): Likewise.
16746 (sinh_test_towardzero): Likewise.
16747 (sinh_test_downward): Likewise.
16748 (sinh_test_upward): Likewise.
16749 (sqrt_test): Likewise.
16750 (tan_test): Likewise.
16751 (tan_test_tonearest): Likewise.
16752 (tan_test_towardzero): Likewise.
16753 (tan_test_downward): Likewise.
16754 (tan_test_upward): Likewise.
16755 (tanh_test): Likewise.
16756 (tgamma_test): Likewise.
16757 (y0_test): Likewise.
16758 (y1_test): Likewise.
16759 (yn_test): Likewise.
16760
323e5cb7
JM
16761 * math/gen-libm-test.pl (adjust_arg): Remove function.
16762 (special_function): Remove argument $in_func. Only handle
16763 generating output for tables of tests, not inside functions.
16764 (parse_args): Likewise.
16765 (generate_testfile): Remove variable $in_func. Update call to
16766 parse_args.
16767 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
16768 (MINUS_ZERO_INIT): Rename macro to minus_zero.
16769 (PLUS_INFTY_INIT): Rename macro to plus_infty.
16770 (MINUS_INFTY_INIT): Rename macro to minus_infty.
16771 (QNAN_VALUE_INIT): Rename macro to qnan_value.
16772 (MAX_VALUE_INIT): Rename macro to max_value.
16773 (MIN_VALUE_INIT): Rename macro to min_value.
16774 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
16775 (plus_zero): Remove variable.
16776 (minus_zero): Likewise.
16777 (plus_infty): Likewise.
16778 (minus_infty): Likewise.
16779 (qnan_value): Likewise.
16780 (max_value): Likewise.
16781 (min_value): Likewise.
16782 (min_subnorm_value): Likewise.
16783
e054f494
RA
167842013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16785
16786 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
16787 uint64_t or uint32_t usage.
16788 * crypt/sha256-block.c: Likewise.
16789 * crypt/sha256-crypt.c: Likewise.
16790 * crypt/sha256.c: Likewise.
16791 * crypt/sha512-block.c: Likewise.
16792 * crypt/sha512-crypt.c: Likewise.
16793 * crypt/sha512.c: Likewise.
16794 * debug/backtrace-tst.c: Likewise.
16795 * debug/pcprofiledump.c: Likewise.
16796 * elf/cache.c: Likewise.
16797 * elf/dl-cache.c: Likewise.
16798 * elf/dl-misc.c: Likewise.
16799 * elf/dl-profile.c: Likewise.
16800 * elf/dl-support.c: Likewise.
16801 * elf/ldconfig.c: Likewise.
16802 * elf/sprof.c: Likewise.
16803 * iconv/dummy-repertoire.c: Likewise.
16804 * iconv/iconv_charmap.c: Likewise.
16805 * iconv/skeleton.c: Likewise.
16806 * iconvdata/8bit-generic.c: Likewise.
16807 * iconvdata/cp737.h: Likewise.
16808 * iconvdata/cp775.h: Likewise.
16809 * iconvdata/ibm1008.h: Likewise.
16810 * iconvdata/ibm1025.h: Likewise.
16811 * iconvdata/ibm1046.h: Likewise.
16812 * iconvdata/ibm1097.h: Likewise.
16813 * iconvdata/ibm1112.h: Likewise.
16814 * iconvdata/ibm1122.h: Likewise.
16815 * iconvdata/ibm1123.h: Likewise.
16816 * iconvdata/ibm1124.h: Likewise.
16817 * iconvdata/ibm1129.h: Likewise.
16818 * iconvdata/ibm1130.h: Likewise.
16819 * iconvdata/ibm1132.h: Likewise.
16820 * iconvdata/ibm1133.h: Likewise.
16821 * iconvdata/ibm1137.h: Likewise.
16822 * iconvdata/ibm1140.h: Likewise.
16823 * iconvdata/ibm1141.h: Likewise.
16824 * iconvdata/ibm1142.h: Likewise.
16825 * iconvdata/ibm1143.h: Likewise.
16826 * iconvdata/ibm1144.h: Likewise.
16827 * iconvdata/ibm1145.h: Likewise.
16828 * iconvdata/ibm1146.h: Likewise.
16829 * iconvdata/ibm1147.h: Likewise.
16830 * iconvdata/ibm1148.h: Likewise.
16831 * iconvdata/ibm1149.h: Likewise.
16832 * iconvdata/ibm1153.h: Likewise.
16833 * iconvdata/ibm1154.h: Likewise.
16834 * iconvdata/ibm1155.h: Likewise.
16835 * iconvdata/ibm1156.h: Likewise.
16836 * iconvdata/ibm1157.h: Likewise.
16837 * iconvdata/ibm1158.h: Likewise.
16838 * iconvdata/ibm1160.h: Likewise.
16839 * iconvdata/ibm1161.h: Likewise.
16840 * iconvdata/ibm1162.h: Likewise.
16841 * iconvdata/ibm1163.h: Likewise.
16842 * iconvdata/ibm1164.h: Likewise.
16843 * iconvdata/ibm1166.h: Likewise.
16844 * iconvdata/ibm1167.h: Likewise.
16845 * iconvdata/ibm12712.h: Likewise.
16846 * iconvdata/ibm1390.h: Likewise.
16847 * iconvdata/ibm1399.h: Likewise.
16848 * iconvdata/ibm16804.h: Likewise.
16849 * iconvdata/ibm4517.h: Likewise.
16850 * iconvdata/ibm4899.h: Likewise.
16851 * iconvdata/ibm4909.h: Likewise.
16852 * iconvdata/ibm4971.h: Likewise.
16853 * iconvdata/ibm5347.h: Likewise.
16854 * iconvdata/ibm803.h: Likewise.
16855 * iconvdata/ibm856.h: Likewise.
16856 * iconvdata/ibm901.h: Likewise.
16857 * iconvdata/ibm902.h: Likewise.
16858 * iconvdata/ibm9030.h: Likewise.
16859 * iconvdata/ibm9066.h: Likewise.
16860 * iconvdata/ibm921.h: Likewise.
16861 * iconvdata/ibm922.h: Likewise.
16862 * iconvdata/ibm9448.h: Likewise.
16863 * iconvdata/isiri-3342.h: Likewise.
16864 * iconvdata/jis0201.h: Likewise.
16865 * include/link.h: Likewise.
16866 * include/netdb.h: Likewise.
16867 * inet/check_native.c: Likewise.
16868 * inet/check_pf.c: Likewise.
16869 * inet/getipv4sourcefilter.c: Likewise.
16870 * inet/getnameinfo.c: Likewise.
16871 * inet/getsourcefilter.c: Likewise.
16872 * inet/htonl.c: Likewise.
16873 * inet/setipv4sourcefilter.c: Likewise.
16874 * inet/setsourcefilter.c: Likewise.
16875 * inet/test-inet6_opt.c: Likewise.
16876 * inet/tst-network.c: Likewise.
16877 * locale/C-collate.c: Likewise.
16878 * locale/C-ctype.c: Likewise.
16879 * locale/C-time.c: Likewise.
16880 * locale/C-translit.h: Likewise.
16881 * locale/loadarchive.c: Likewise.
16882 * locale/programs/3level.h: Likewise.
16883 * locale/programs/charmap.c: Likewise.
16884 * locale/programs/charmap.h: Likewise.
16885 * locale/programs/ld-address.c: Likewise.
16886 * locale/programs/ld-collate.c: Likewise.
16887 * locale/programs/ld-ctype.c: Likewise.
16888 * locale/programs/ld-identification.c: Likewise.
16889 * locale/programs/ld-measurement.c: Likewise.
16890 * locale/programs/ld-messages.c: Likewise.
16891 * locale/programs/ld-monetary.c: Likewise.
16892 * locale/programs/ld-name.c: Likewise.
16893 * locale/programs/ld-numeric.c: Likewise.
16894 * locale/programs/ld-paper.c: Likewise.
16895 * locale/programs/ld-telephone.c: Likewise.
16896 * locale/programs/ld-time.c: Likewise.
16897 * locale/programs/linereader.c: Likewise.
16898 * locale/programs/locale.c: Likewise.
16899 * locale/programs/locarchive.c: Likewise.
16900 * locale/programs/locfile.h: Likewise.
16901 * locale/programs/repertoire.c: Likewise.
16902 * locale/programs/simple-hash.c: Likewise.
16903 * locale/programs/simple-hash.h: Likewise.
16904 * malloc/memusage.c: Likewise.
16905 * malloc/memusagestat.c: Likewise.
16906 * nis/nis_defaults.c: Likewise.
16907 * nis/nis_hash.c: Likewise.
16908 * nis/nis_print.c: Likewise.
16909 * nis/nis_xdr.c: Likewise.
16910 * nscd/connections.c: Likewise.
16911 * nscd/hstcache.c: Likewise.
16912 * nscd/nscd_gethst_r.c: Likewise.
16913 * nscd/nscd_getserv_r.c: Likewise.
16914 * nscd/nscd_helper.c: Likewise.
16915 * nscd/servicescache.c: Likewise.
16916 * nss/makedb.c: Likewise.
16917 * nss/nss_db/db-XXX.c: Likewise.
16918 * nss/nss_db/db-initgroups.c: Likewise.
16919 * nss/nss_db/db-netgrp.c: Likewise.
16920 * nss/nss_files/files-network.c: Likewise.
16921 * nss/nss_files/files-parse.c: Likewise.
16922 * posix/bug-regex5.c: Likewise.
16923 * posix/fnmatch_loop.c: Likewise.
16924 * posix/regcomp.c: Likewise.
16925 * posix/regexec.c: Likewise.
16926 * posix/tst-rfc3484-2.c: Likewise.
16927 * posix/tst-rfc3484-3.c: Likewise.
16928 * posix/tst-rfc3484.c: Likewise.
16929 * resolv/nss_dns/dns-canon.c: Likewise.
16930 * resolv/nss_dns/dns-network.c: Likewise.
16931 * resolv/res_init.c: Likewise.
16932 * resolv/res_mkquery.c: Likewise.
16933 * resolv/tst-aton.c: Likewise.
16934 * stdlib/cxa_atexit.c: Likewise.
16935 * stdlib/cxa_finalize.c: Likewise.
16936 * stdlib/gen-fpioconst.c: Likewise.
16937 * stdlib/strtol_l.c: Likewise.
16938 * string/tst-endian.c: Likewise.
16939 * sunrpc/auth_des.c: Likewise.
16940 * sunrpc/clnt_udp.c: Likewise.
16941 * sunrpc/rtime.c: Likewise.
16942 * sunrpc/svcauth_des.c: Likewise.
16943 * sunrpc/xdr.c: Likewise.
16944 * sunrpc/xdr_intXX_t.c: Likewise.
16945 * sunrpc/xdr_rec.c: Likewise.
16946 * sysdeps/generic/ldconfig.h: Likewise.
16947 * sysdeps/generic/ldsodefs.h: Likewise.
16948 * sysdeps/generic/memusage.h: Likewise.
16949 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16950 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
16951 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
16952 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16953 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16954 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16955 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16956 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16957 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16958 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16959 * sysdeps/posix/getaddrinfo.c: Likewise.
16960 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16961 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16962 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16963 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16964 * sysdeps/powerpc/test-gettimebase.c: Likewise.
16965 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16966 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
16967 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
16968 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16969 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
16970 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16971 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16972 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
16973 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
16974 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
16975 * sysdeps/x86_64/dl-tls.h: Likewise.
16976 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
16977 * time/alt_digit.c: Likewise.
16978 * time/era.c: Likewise.
16979 * wcsmbs/tst-c16c32-1.c: Likewise.
16980
8c75f674
JM
169812013-05-16 Joseph Myers <joseph@codesourcery.com>
16982
16983 * math/libm-test.inc (struct test_sincos_data): New type.
16984 (RUN_TEST_LOOP_sincos): New macro.
16985 (sincos_test_data): New variable.
16986 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
16987
e6e49e59
RH
169882013-05-16 Richard Henderson <rth@redhat.com>
16989
16990 * math/atest-exp2.c (LIMB64): New macro.
16991 (CONSTSZ): New macro.
16992 (mp_exp1, mp_exp_m1, mp_log2): New variables.
16993 (hexdig): Move ...
16994 (print_mpn_fp): ... to function scope.
16995 (read_mpn_hex): Remove.
16996 (get_log2): Remove.
16997 (exp2_mpn): Use mp_log2.
16998 (main): Use mp_exp1.
16999
15c7c18d
JM
170002013-05-16 Joseph Myers <joseph@codesourcery.com>
17001
105a07df
JM
17002 * math/libm-test.inc: Remove comment about not testing "inexact"
17003 exceptions.
17004 (INEXACT_EXCEPTION): New macro.
17005 (NO_INEXACT_EXCEPTION): Likewise.
17006 (INVALID_EXCEPTION_OK): Update value.
17007 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17008 (OVERFLOW_EXCEPTION_OK): Likewise.
17009 (UNDERFLOW_EXCEPTION_OK): Likewise.
17010 (IGNORE_ZERO_INF_SIGN): Likewise.
17011 (ERRNO_UNCHANGED): Likewise.
17012 (ERRNO_EDOM): Likewise.
17013 (ERRNO_ERANGE): Likewise.
17014 (test_exceptions): Handle testing "inexact" exceptions.
17015 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17016 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17017 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17018 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17019 INEXACT_EXCEPTION.
17020 (rint_towardzero_test_data): Likewise.
17021 (rint_downward_test_data): Likewise.
17022 (rint_upward_test_data): Likewise.
17023
e9eee333
JM
17024 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17025 with OVERFLOW_EXCEPTION.
17026 (exp10_test_data): Likewise.
17027 (exp2_test_data): Likewise.
17028 (expm1_test_data): Likewise.
17029 (lgamma_test_data): Likewise.
17030 (pow_test_data): Likewise.
17031 (tgamma_test_data): Likewise.
17032 (yn_test_data): Remove duplicate test of overflow.
17033
1c38ff73
JM
17034 * math/libm-test.inc (struct test_cc_c_data): New type.
17035 (RUN_TEST_LOOP_cc_c): New macro.
17036 (cpow_test_data): New variable.
17037 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17038
15c7c18d
JM
17039 * math/libm-test.inc (struct test_f_L_data): New type.
17040 (RUN_TEST_LOOP_f_L): New macro.
17041 (llrint_test_data): New variable.
17042 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17043 (llrint_tonearest_test_data): New variable.
17044 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17045 (llrint_towardzero_test_data): New variable.
17046 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17047 (llrint_downward_test_data): New variable.
17048 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17049 (llrint_upward_test_data): New variable.
17050 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17051 (llround_test_data): New variable.
17052 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17053
f137ff13
PC
170542013-05-13 Peter Collingbourne <pcc@google.com>
17055
17056 * math/atest-exp2.c (get_log2): Remove const attribute.
17057
3608cb24
JM
170582013-05-15 Joseph Myers <joseph@codesourcery.com>
17059
17060 * math/libm-test.inc (struct test_f_l_data): New type.
17061 (RUN_TEST_LOOP_f_l): New macro.
17062 (lrint_test_data): New variable.
17063 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17064 (lrint_tonearest_test_data): New variable.
17065 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17066 (lrint_towardzero_test_data): New variable.
17067 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17068 (lrint_downward_test_data): New variable.
17069 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17070 (lrint_upward_test_data): New variable.
17071 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17072 (lround_test_data): New variable.
17073 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17074
39b1f617
PC
170752013-05-15 Peter Collingbourne <pcc@google.com>
17076
1deff3dc
PC
17077 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17078 (EXTRACT_WORDS64) Use where appropriate.
17079 (INSERT_WORDS64) Likewise.
17080
791f3ba0
PC
17081 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17082 constraints with x constraints.
17083 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17084
39b1f617
PC
17085 * malloc/obstack.c (_obstack_compat): Add initializer.
17086
12fba011
EM
170872013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
17088
17089 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17090 si_trapno and add si_addr_lsb to _sifields.sigfault.
17091 (si_trapno): Remove macro.
17092 (si_addr_lsb): Define new macro.
17093 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17094
d369f531
JM
170952013-05-15 Joseph Myers <joseph@codesourcery.com>
17096
b861c6c4
JM
17097 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17098 instead of TEST_f_l.
17099 (llrint_test_tonearest): Likewise.
17100 (llrint_test_towardzero): Likewise.
17101 (llrint_test_downward): Likewise.
17102 (llrint_test_upward): Likewise.
17103 (llround_test): Likewise.
17104
7abeee12
JM
17105 * math/libm-test.inc (struct test_f_i_data): Add comment.
17106 (RUN_TEST_LOOP_f_b): New macro.
17107 (RUN_TEST_LOOP_f_b_tg): Likewise.
17108 (finite_test_data): New variable.
17109 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17110 (isfinite_test_data): New variable.
17111 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17112 (isinf_test_data): New variable.
17113 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17114 (isnan_test_data): New variable.
17115 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17116 (isnormal_test_data): New variable.
17117 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17118 (issignaling_test_data): New variable.
17119 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17120 (signbit_test_data): New variable.
17121 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17122
cbe8c4d3
JM
17123 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17124 with INVALID_EXCEPTION.
17125 (acosh_test_data): Likewise.
17126 (asin_test_data): Likewise.
17127 (atanh_test_data): Likewise.
17128 (fmod_test_data): Likewise.
17129 (log_test_data): Likewise.
17130 (log10_test_data): Likewise.
17131 (log2_test_data): Likewise.
17132 (pow_test_data): Likewise.
17133 (sqrt_test_data): Likewise.
17134 (y0_test_data): Likewise.
17135 (y1_test_data): Likewise.
17136 (yn_test_data): Likewise.
17137
5575c0e5
JM
17138 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17139 function contents.
17140
d369f531
JM
17141 * math/libm-test.inc (struct test_ff_i_data): New type.
17142 (RUN_TEST_LOOP_ff_i_tg): New macro.
17143 (isgreater_test_data): New variable.
17144 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17145 (isgreaterequal_test_data): New variable.
17146 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17147 (isless_test_data): New variable.
17148 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17149 (islessequal_test_data): New variable.
17150 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17151 (islessgreater_test_data): New variable.
17152 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17153 (isunordered_test_data): New variable.
17154 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17155
781fd748
DM
171562013-05-14 David S. Miller <davem@davemloft.net>
17157
17158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17159
87aa21df
JM
171602013-05-14 Joseph Myers <joseph@codesourcery.com>
17161
5e908270
JM
17162 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17163
f71172e5
JM
17164 * math/libm-test.inc (struct test_fF_f1_data): Change type of
17165 extra_test to int.
17166 (struct test_f_i_data): Change type of max_ulp to int.
17167
8cfa635a
JM
17168 * math/libm-test.inc (test_ffI_f1_data): New type.
17169 (RUN_TEST_LOOP_ffI_f1): New macro.
17170 (remquo_test_data): New variable.
17171 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17172
2bcb36b2
JM
17173 * setjmp/tst-setjmp-fp.c: New file.
17174 * setjmp/Makefile (tests): Add tst-setjmp-fp.
17175 (link-libm): New variable.
17176 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17177
acbd839a
JM
17178 * math/libm-test.inc (struct test_f_i_data): New type.
17179 (RUN_TEST_LOOP_f_i): New macro.
17180 (RUN_TEST_LOOP_f_i_tg): Likewise.
17181 (fpclassify_test_data): New variable.
17182 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17183 (ilogb_test_data): New variable.
17184 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17185
e414d745
JM
17186 * math/libm-test.inc (scalbln_test): Correct function name in END
17187 call.
17188
d9c2a0fd
JM
17189 * math/libm-test.inc (struct test_f_f1_data): Add comment.
17190 (RUN_TEST_LOOP_fI_f1): New macro.
17191 (frexp_test_data): New variable.
17192 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17193
9dc9095d
JM
17194 * math/libm-test.inc (struct test_fF_f1_data): New type.
17195 (RUN_TEST_LOOP_fF_f1): New macro.
17196 (modf_test_data): New variable.
17197 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17198
87aa21df
JM
17199 * math/libm-test.inc (struct test_f_f1_data): New type.
17200 (RUN_TEST_LOOP_f_f1): New macro.
17201 (gamma_test_data): New variable.
17202 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17203 (lgamma_test_data): New variable.
17204 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17205
141af660
CD
172062013-05-13 Carlos O'Donell <carlos@redhat.com>
17207
17208 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17209 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17210 (main): Comment "tls" pseudo-hwcap.
17211
6d33265c
JM
172122013-05-13 Joseph Myers <joseph@codesourcery.com>
17213
68fc074c
JM
17214 * math/libm-test.inc (struct test_fl_f_data): New type.
17215 (RUN_TEST_LOOP_fl_f): New variable.
17216 (scalbln_test_data): New variable.
17217 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17218
243216e1
JM
17219 * math/libm-test.inc (struct test_fi_f_data): New type.
17220 (RUN_TEST_LOOP_fi_f): New macro.
17221 (ldexp_test_data): New variable.
17222 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17223 (scalbn_test_data): New variable.
17224 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17225
6a1992e2
JM
17226 * math/libm-test.inc (struct test_c_f_data): New type.
17227 (RUN_TEST_LOOP_c_f): New macro.
17228 (cabs_test_data): New variable.
17229 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17230 (carg_test_data): New variable.
17231 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17232 (cimag_test_data): New variable.
17233 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17234 (creal_test_data): New variable.
17235 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17236
0e400df5
JM
17237 * math/libm-test.inc (struct test_if_f_data): New type.
17238 (RUN_TEST_LOOP_if_f): New macro.
17239 (jn_test_data): New variable.
17240 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17241 (yn_test_data): New variable.
17242 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17243
6d33265c
JM
17244 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17245
f98ece5f
AZ
172462013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17247
17248 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17249 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17250
0f7d347b
SP
172512013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17252
43fe811b
SP
17253 * benchtests/Makefile (CPPFLAGS-nonlib): Add
17254 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17255 (bench-deps): Add bench-timing.h.
17256 * benchtests-bench-skeleton.c: Include bench-timing.h.
17257 (main): Use TIMING_* macros instead of clock_gettime.
17258 * benchtests/bench-timing.h: New file.
17259
0f7d347b
SP
17260 [BZ #14582]
17261 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17262 Renamed from _LIB_VERSION.
17263 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17264
601a3a5f
JM
172652013-05-12 Joseph Myers <joseph@codesourcery.com>
17266
4f184d30
JM
17267 * math/libm-test.inc (struct test_fff_f_data): New type.
17268 (RUN_TEST_LOOP_fff_f): New macro.
17269 (fma_test_data): New variable.
17270 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17271 (fma_towardzero_test_data): New variable.
17272 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17273 (fma_downward_test_data): New variable.
17274 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17275 (fma_upward_test_data): New variable.
17276 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17277
08198877
JM
17278 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17279 (struct test_c_c_data): New type.
17280 (RUN_TEST_LOOP_c_c): New macro.
17281 (cacos_test_data): New variable.
17282 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17283 (cacosh_test_data): New variable.
17284 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17285 (casin_test_data): New variable.
17286 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17287 (casinh_test_data): New variable.
17288 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17289 (catan_test_data): New variable.
17290 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17291 (catanh_test_data): New variable.
17292 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17293 (ccos_test_data): New variable.
17294 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17295 (ccosh_test_data): New variable.
17296 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17297 (cexp_test_data): New variable.
17298 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17299 (clog_test_data): New variable.
17300 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17301 (clog10_test_data): New variable.
17302 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17303 (conj_test_data): New variable.
17304 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17305 (cproj_test_data): New variable.
17306 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17307 (csin_test_data): New variable.
17308 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17309 (csinh_test_data): New variable.
17310 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17311 (csqrt_test_data): New variable.
17312 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17313 (ctan_test_data): New variable.
17314 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17315 (ctan_tonearest_test_data): New variable.
17316 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17317 (ctan_towardzero_test_data): New variable.
17318 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17319 (ctan_downward_test_data): New variable.
17320 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17321 (ctan_upward_test_data): New variable.
17322 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17323 (ctanh_test_data): New variable.
17324 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17325 (ctanh_tonearest_test_data): New variable.
17326 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17327 (ctanh_towardzero_test_data): New variable.
17328 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17329 (ctanh_downward_test_data): New variable.
17330 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17331 (ctanh_upward_test_data): New variable.
17332 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17333 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17334 of BUILD_COMPLEX.
17335
601a3a5f
JM
17336 * math/libm-test.inc (struct test_ff_f_data): New type.
17337 (struct test_ff_f_data_nexttoward): Likewise.
17338 (RUN_TEST_LOOP_2_f): New macro.
17339 (RUN_TEST_LOOP_ff_f): Likewise.
17340 (atan2_test_data): New variable.
17341 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17342 (copysign_test_data): New variable.
17343 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17344 (fdim_test_data): New variable.
17345 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17346 (fmax_test_data): New variable.
17347 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17348 (fmin_test_data): New variable.
17349 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17350 (fmod_test_data): New variable.
17351 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17352 (hypot_test_data): New variable.
17353 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17354 (nextafter_test_data): New variable.
17355 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17356 (nexttoward_test_data): New variable.
17357 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17358 (pow_test_data): New variable.
17359 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17360 (pow_tonearest_test_data): New variable.
17361 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17362 (pow_towardzero_test_data): New variable.
17363 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17364 (pow_downward_test_data): New variable.
17365 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17366 (pow_upward_test_data): New variable.
17367 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17368 (remainder_test_data): New variable.
17369 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17370 (scalb_test_data): New variable.
17371 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17372 * sysdeps/i386/fpu/libm-test-ulps: Update.
17373
74c57478
JM
173742013-05-11 Joseph Myers <joseph@codesourcery.com>
17375
8329e4da
JM
17376 * math/libm-test.inc (fma_test): Use max_value instead of local
17377 variable fltmax.
17378 (nextafter_test): Likewise.
17379
74c57478
JM
17380 * math/libm-test.inc (acos_towardzero_test_data): New variable.
17381 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17382 (acos_downward_test_data): New variable.
17383 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17384 (acos_upward_test_data): New variable.
17385 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17386 (acosh_test_data): New variable.
17387 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17388 (asin_test_data): New variable.
17389 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17390 (asin_tonearest_test_data): New variable.
17391 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17392 (asin_towardzero_test_data): New variable.
17393 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17394 (asin_downward_test_data): New variable.
17395 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17396 (asin_upward_test_data): New variable.
17397 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17398 (asinh_test_data): New variable.
17399 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17400 (atan_test_data): New variable.
17401 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17402 (atanh_test_data): New variable.
17403 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17404 (cbrt_test_data): New variable.
17405 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17406 (ceil_test_data): New variable.
17407 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17408 (cos_test_data): New variable.
17409 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17410 (cos_tonearest_test_data): New variable.
17411 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17412 (cos_towardzero_test_data): New variable.
17413 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17414 (cos_downward_test_data): New variable.
17415 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17416 (cos_upward_test_data): New variable.
17417 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17418 (cosh_test_data): New variable.
17419 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17420 (cosh_tonearest_test_data): New variable.
17421 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17422 (cosh_towardzero_test_data): New variable.
17423 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17424 (cosh_downward_test_data): New variable.
17425 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17426 (cosh_upward_test_data): New variable.
17427 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17428 (erf_test_data): New variable.
17429 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17430 (erfc_test_data): New variable.
17431 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17432 (exp_test_data): New variable.
17433 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17434 (exp_tonearest_test_data): New variable.
17435 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17436 (exp_towardzero_test_data): New variable.
17437 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17438 (exp_downward_test_data): New variable.
17439 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17440 (exp_upward_test_data): New variable.
17441 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17442 (exp10_test_data): New variable.
17443 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17444 (exp2_test_data): New variable.
17445 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17446 (expm1_test_data): New variable.
17447 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17448 (fabs_test_data): New variable.
17449 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17450 (floor_test_data): New variable.
17451 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17452 (j0_test_data): New variable.
17453 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17454 (j1_test_data): New variable.
17455 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17456 (log_test_data): New variable.
17457 (log_test): Run tests with RUN_TEST_LOOP_f_f.
17458 (log10_test_data): New variable.
17459 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17460 (log1p_test_data): New variable.
17461 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17462 (log2_test_data): New variable.
17463 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17464 (logb_test_data): New variable.
17465 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17466 (logb_downward_test_data): New variable.
17467 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17468 (nearbyint_test_data): New variable.
17469 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17470 (rint_test_data): New variable.
17471 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17472 (rint_tonearest_test_data): New variable.
17473 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17474 (rint_towardzero_test_data): New variable.
17475 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17476 (rint_downward_test_data): New variable.
17477 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17478 (rint_upward_test_data): New variable.
17479 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17480 (round_test_data): New variable.
17481 (round_test): Run tests with RUN_TEST_LOOP_f_f.
17482 (sin_test_data): New variable.
17483 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17484 (sin_tonearest_test_data): New variable.
17485 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17486 (sin_towardzero_test_data): New variable.
17487 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17488 (sin_downward_test_data): New variable.
17489 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17490 (sin_upward_test_data): New variable.
17491 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17492 (sinh_test_data): New variable.
17493 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
17494 (sinh_tonearest_test_data): New variable.
17495 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17496 (sinh_towardzero_test_data): New variable.
17497 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17498 (sinh_downward_test_data): New variable.
17499 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17500 (sinh_upward_test_data): New variable.
17501 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17502 (sqrt_test_data): New variable.
17503 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
17504 (tan_test_data): New variable.
17505 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
17506 (tan_tonearest_test_data): New variable.
17507 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17508 (tan_towardzero_test_data): New variable.
17509 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17510 (tan_downward_test_data): New variable.
17511 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17512 (tan_upward_test_data): New variable.
17513 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17514 (tanh_test_data): New variable.
17515 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
17516 (tgamma_test_data): New variable.
17517 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
17518 (trunc_test_data): New variable.
17519 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
17520 (y0_test_data): New variable.
17521 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
17522 (y1_test_data): New variable.
17523 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
17524 (significand_test_data): New variable.
17525 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
17526
7187d844
CG
175272013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
17528
17529 [BZ #12387]
17530 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
17531
f63fae73
PT
175322013-05-10 Pino Toscano <toscano.pino@tiscali.it>
17533
17534 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
17535
8a67a4b3
AJ
175362013-05-10 Andreas Jaeger <aj@suse.de>
17537
17538 [BZ #15448]
17539 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
17540 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
17541
51df539d
JM
175422013-05-10 Joseph Myers <joseph@codesourcery.com>
17543
17544 * math/gen-libm-test.pl (adjust_arg): New function.
17545 (special_functions): Handle generating output in both functions
17546 and arrays.
17547 (parse_args): Likewise.
17548 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
17549 $in_func argument to parse_args.
17550 * math/libm-test.inc (struct test_f_f_data): New type.
17551 (IF_ROUND_INIT_): New macro.
17552 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
17553 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17554 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17555 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17556 (ROUND_RESTORE_): Likewise.
17557 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
17558 (ROUND_RESTORE_FE_TONEAREST): Likewise.
17559 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
17560 (ROUND_RESTORE_FE_UPWARD): Likewise.
17561 (RUN_TEST_LOOP_f_f): New macro.
17562 (acos_test_data): New variable.
17563 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
17564 (acos_tonearest_test_data): New variable.
17565 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17566
5c637fe5
SP
175672013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17568
17569 * benchtests/bench-skeleton.c (startup): Fix coding style.
17570
ab2b9461
JM
175712013-05-10 Joseph Myers <joseph@codesourcery.com>
17572
17573 [BZ #6809]
17574 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
17575 negative infinity argument.
17576 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
17577 negative infinity argument.
17578 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
17579 negative infinity argument.
17580 * math/libm-test.inc (tgamma_test): Expect errno to be set for
17581 domain errors.
17582
4c0fe6fe
FW
175832013-05-10 Florian Weimer <fweimer@redhat.com>
17584
17585 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
17586 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
17587 * iconv/iconv_prog.c (main): Likewise.
17588 * locale/programs/charmap-dir.c (charmap_readdir)
17589 (fopen_uncompressed): Likewise.
17590 * locale/programs/locfile.c (siblings_uncached)
17591 (write_locale_data): Use lstat64 instead of lstat.
17592 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
17593 stat.
17594
a3375d29
AJ
175952013-05-10 Andreas Jaeger <aj@suse.de>
17596
17597 [BZ #15395]
17598 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
17599 localization.
17600 Include <locale.h>.
17601
36129722
CD
176022013-05-09 Carlos O'Donell <carlos@redhat.com>
17603
17604 * elf/dl-close.c (_dl_close_worker): Add comments.
17605
faa7f811
JM
176062013-05-09 Joseph Myers <joseph@codesourcery.com>
17607
ed41ffef
JM
17608 [BZ #15359]
17609 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
17610 high part of pi/2.
17611 (__ieee754_rem_pio2l): Update comments.
17612
d0213cd0
JM
17613 [BZ #15429]
17614 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
17615 high part of pi/2.
17616 (__ieee754_rem_pio2l): Update comments.
17617
0d3e777a
JM
17618 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
17619 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
17620
24f56066
JM
17621 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
17622 M_PI_4l.
17623
faa7f811
JM
17624 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
17625 (M_PI_34_LOG10El): Likewise.
17626 (M_PI2_LOG10El): Likewise.
17627 (M_PI4_LOG10El): Likewise.
17628 (M_PI_LOG10El): Likewise.
17629
e9a5e0fd
AZ
176302013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17631
17632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17633
d8cd06db
JM
176342013-05-08 Joseph Myers <joseph@codesourcery.com>
17635
a0d9f9d7
JM
17636 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
17637 (MINUS_ZERO_INIT): Likewise.
17638 (PLUS_INFTY_INIT): Likewise.
17639 (MINUS_INFTY_INIT): Likewise.
17640 (QNAN_VALUE_INIT): Likewise.
17641 (MAX_VALUE_INIT): Likewise.
17642 (MIN_VALUE_INIT): Likewise.
17643 (MIN_SUBNORM_VALUE_INIT): Likewise.
17644 (plus_zero): Initialize with PLUS_ZERO_INIT.
17645 (minus_zero): Initialize with MINUS_ZERO_INIT.
17646 (plus_infty): Initialize with PLUS_INFTY_INIT.
17647 (minus_infty): Initialize with MINUS_INFTY_INIT.
17648 (qnan_value): Initialize with QNAN_VALUE_INIT.
17649 (max_value): Initialize with MAX_VALUE_INIT.
17650 (min_value): Initialize with MIN_VALUE_INIT.
17651 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
17652
ae08db3b
JM
17653 * math/libm-test.inc (RUN_TEST_if_f): New macro.
17654 (jn_test): Use TEST_if_f instead of TEST_ff_f.
17655 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
17656 (yn_test): Use TEST_if_f instead of TEST_ff_f.
17657
f44bf14a
JM
17658 * math/libm-test.inc (RUN_TEST_f_f): New macro.
17659 (RUN_TEST_2_f): Likewise.
17660 (RUN_TEST_ff_f): Likewise.
17661 (RUN_TEST_fi_f): Likewise.
17662 (RUN_TEST_fl_f): Likewise.
17663 (RUN_TEST_fff_f): Likewise.
17664 (RUN_TEST_c_f): Likewise.
17665 (RUN_TEST_f_f1): Likewise.
17666 (RUN_TEST_fF_f1): Likewise.
17667 (RUN_TEST_fI_f1): Likewise.
17668 (RUN_TEST_ffI_f1): Likewise.
17669 (RUN_TEST_c_c): Likewise.
17670 (RUN_TEST_cc_c): Likewise.
17671 (RUN_TEST_f_i): Likewise.
17672 (RUN_TEST_f_i_tg): Likewise.
17673 (RUN_TEST_ff_i_tg): Likewise.
17674 (RUN_TEST_f_b): Likewise.
17675 (RUN_TEST_f_b_tg): Likewise.
17676 (RUN_TEST_f_l): Likewise.
17677 (RUN_TEST_f_L): Likewise.
17678 (RUN_TEST_sincos): Likewise.
17679 * math/gen-libm-test.pl (new_test): Take new argument to indicate
17680 whether to show exceptions. Do not include ");\n" in return
17681 value.
17682 (special_functions): Output call to RUN_TEST_sincos instead of
17683 check_float calls. Update calls to new_test.
17684 (parse_args): Output call to single RUN_TEST_* macro instead of
17685 check_* calls and other assignments. Update calls to new_test.
17686
d8cd06db
JM
17687 [BZ #2546]
17688 [BZ #2560]
17689 [BZ #5159]
17690 [BZ #15426]
17691 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
17692 input to result for tgamma overflow.
17693 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
17694 (gamma_coeff): New variable.
17695 (NCOEFF): New macro.
17696 (gamma_positive): New function.
17697 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
17698 underflow here. Use gamma_positive instead of exp (lgamma) for
17699 other arguments.
17700 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
17701 (gamma_coeff): New variable.
17702 (NCOEFF): New macro.
17703 (gammaf_positive): New function.
17704 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
17705 underflow here. Use gamma_positive instead of exp (lgamma) for
17706 other arguments.
17707 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
17708 (gamma_coeff): New variable.
17709 (NCOEFF): New macro.
17710 (gammal_positive): New function.
17711 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
17712 underflow here. Use gamma_positive instead of exp (lgamma) for
17713 other arguments.
17714 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
17715 (gamma_coeff): New variable.
17716 (NCOEFF): New macro.
17717 (gammal_positive): New function.
17718 (__ieee754_gammal_r): Handle positive infinity, overflow and
17719 underflow here. Handle NaN the same as positive infinity. Remove
17720 check x < 0xffffffff for negative integers. Use gamma_positive
17721 instead of exp (lgamma) for other arguments.
17722 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
17723 (gamma_coeff): New variable.
17724 (NCOEFF): New macro.
17725 (gammal_positive): New function.
17726 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
17727 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17728 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17729 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
17730 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17731 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
17732 * sysdeps/generic/math_private.h (__gamma_productf): New
17733 prototype.
17734 (__gamma_product): Likewise.
17735 (__gamma_productl): Likewise.
17736 * math/Makefile (libm-calls): Add gamma_product.
17737 * math/libm-test.inc (tgamma_test): Add more tests.
17738 * sysdeps/i386/fpu/libm-test-ulps: Update.
17739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17740
bb7cf681
OB
177412013-05-08 Ondřej Bílka <neleai@seznam.cz>
17742
17743 * benchtests/bench-skeleton.c (main): Preheat CPU.
17744
ba853947
AJ
177452013-05-07 Aurelien Jarno <aurelien@aurel32.net>
17746
17747 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
17748
8347c74c
RM
177492013-05-07 Roland McGrath <roland@hack.frob.com>
17750
17751 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
17752 and _dl_skip_args_internal.
17753
e8dd4791
CD
177542013-05-07 Carlos O'Donell <carlos@redhat.com>
17755
17756 * manual/message.texi (Message Translation): Talk about users.
17757 Message to key mapping impacts design.
17758
c7405830
RM
177592013-05-06 Roland McGrath <roland@hack.frob.com>
17760
a9173057
RM
17761 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
17762
976e2f03
RM
17763 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
17764
9723ffc5
RM
17765 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
17766 * sysdeps/wordsize-64/glob64.c: ... here.
17767
962e6658
RM
17768 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
17769 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
17770 New macros.
17771
ee586a6d
RM
17772 * debug/getlogin_r_chk.c: Moved to ...
17773 * login/getlogin_r_chk.c: ... here.
17774 * debug/Makefile (routines): Move getlogin_r_chk to ...
17775 * login/Makefile (routines): ... here.
17776 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
17777 * login/Versions (libc: GLIBC_2.4): ... here.
17778
355f9165
RM
17779 * io/poll.c (__poll): Renamed from poll.
17780 Add libc_hidden_def.
17781 (poll): Define as weak alias.
17782
bd9ffde6
RM
17783 * debug/ptsname_r_chk.c: Moved to ...
17784 * login/ptsname_r_chk.c: ... here.
17785 * debug/Makefile (routines): Move ptsname_r_chk to ...
17786 * login/Makefile (routines): ... here.
17787 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
17788 * login/Versions (libc: GLIBC_2.4): ... here.
17789
8fb16a04
RM
17790 * posix/getlogin.c: Moved to ...
17791 * login/getlogin.c: ... here.
17792 * posix/getlogin_r.c: Moved to ...
17793 * login/getlogin_r.c: ... here.
17794 * posix/getlogin_r.c: Moved to ...
17795 * login/getlogin_r.c: ... here.
17796 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
17797 * login/Makefile (routines): ... here.
17798 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
17799 * login/Versions (libc: GLIBC_2.0): ... here.
17800
b99b892f
RM
17801 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
17802 (setrlimit): Define as weak alias.
17803
c7405830
RM
17804 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
17805 Call __ names for open, ftruncate, and close.
17806 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
17807 (truncate): Define as weak alias.
17808
5bf96de5
JM
178092013-05-06 Joseph Myers <joseph@codesourcery.com>
17810
9ea3513c
JM
17811 * math/gen-libm-test.pl (parse_args): Initialize x before each
17812 test of frexp, modf and remquo.
17813
5bf96de5
JM
17814 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
17815 test signgam value.
17816
16e616a7
AZ
178172013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17818
17819 [BZ #15418]
17820 [BZ #15419]
17821 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
17822 internal tests.
17823 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17824
d5e82754
RM
178252013-05-06 Roland McGrath <roland@hack.frob.com>
17826
17827 * elf/dl-writev.h: New file.
17828 * elf/dl-misc.c: Include it.
17829 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
17830 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
17831
a7548d41
JM
178322013-05-04 Joseph Myers <joseph@codesourcery.com>
17833
b7dab1e4
JM
17834 * math/libm-test.inc (noXFails): Remove variable.
17835 (noXPasses): Likewise.
17836 (BUILD_COMPLEX_INT): Remove macro.
17837 (print_screen): Remove xfail argument.
17838 (print_screen_max_error): Likewise.
17839 (update_stats): Likewise.
17840 (print_max_error): Likewise. Update calls to other affected
17841 functions.
17842 (print_complex_max_error): Likewise.
17843 (test_single_exception): Update calls to print_screen.
17844 (test_single_errno): Likewise.
17845 (check_float_internal): Remove xfail argument. Update calls to
17846 other affected functions.
17847 (check_float): Likewise.
17848 (check_complex): Likewise.
17849 (check_int): Likewise.
17850 (check_long): Likewise.
17851 (check_bool): Likewise.
17852 (check_longlong): Likewise.
17853 (main): Don't print noXFails and noXPasses.
17854 * math/gen-libm-test.pl (top level): Don't mention expected
17855 failure handling in comment.
17856 (new_test): Don't handle expected failures.
17857 (parse_args): Don't mention expected failure handling in comment.
17858 (generate_testfile): Don't handle expected failures.
17859 (parse_ulps): Likewise.
17860 (print_ulps_file): Likewise.
17861 (get_failure): Remove function.
17862 (output_test): Don't handle expected failures.
17863 * make/README.libm-test: Don't mention expected failure handling.
17864
a7548d41
JM
17865 * math/libm-test.inc (plus_zero): Make const. Add initializer.
17866 (minus_zero): Likewise.
17867 (plus_infty): Likewise.
17868 (minus_infty): Likewise.
17869 (qnan_value): Likewise.
17870 (max_value): Likewise.
17871 (min_value): Likewise.
17872 (min_subnorm_value): Likewise.
17873 (initialize): Do not initialize those variables dynamically.
17874
60bfd54c
RM
178752013-05-03 Roland McGrath <roland@hack.frob.com>
17876
cc0e6ed8
RM
17877 * io/open.c (__open_2): Moved to ...
17878 * io/open_2.c: ... this new file.
17879 * io/open64.c (__open64_2): Moved to ...
17880 * io/open64_2.c: ... this new file.
17881 * io/openat.c (__openat_2): Moved to ...
17882 * io/openat_2.c: ... this new file.
17883 * io/openat64.c (__openat64_2): Moved to ...
17884 * io/openat64_2.c: ... this new file.
17885 * io/Makefile (routines): Add them.
17886 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
17887 * sysdeps/unix/sysv/linux/open_2.c: File removed.
17888 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
17889 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
17890 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
17891 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
17892 (__openat64): Add hidden_ver.
17893 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
17894 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
17895
60bfd54c
RM
17896 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
17897 Separately conditionalize setting of GLRO(dl_sysinfo) so
17898 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
17899 as well, but the actual setting is only under [NEED_DL_SYSINFO].
17900
83e7640f
AZ
179012013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17902
17903 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
17904 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
17905 definition.
17906 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
17907 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17908 (_libc_vdso_platform_setup): Add __vdso_time initialization.
17909 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
17910 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
17911
d5dc2af3
JM
179122013-05-03 Joseph Myers <joseph@codesourcery.com>
17913
c31a5b1e
JM
17914 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
17915 test signgam value.
17916
d5dc2af3
JM
17917 * math/libm-test.inc (hypot_test): Do not use
17918 IGNORE_ZERO_INF_SIGN.
17919
164fd39d
AJ
179202013-05-03 Andreas Jaeger <aj@suse.de>
17921
17922 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
17923 Linux 3.9.
17924 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
17925 (PF_MAX): Adjust for VSOCK change.
17926
8237f48c
AZ
179272013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17928
17929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17930
9df02941
CD
179312013-05-02 Carlos O'Donell <carlos@redhat.com>
17932
17933 [BZ #15264]
17934 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
17935 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
17936 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
17937
d422395e
DM
179382013-05-02 David S. Miller <davem@davemloft.net>
17939
17940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17941
a07c5731
OB
179422013-05-01 Ondřej Bílka <neleai@seznam.cz>
17943
17944 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
17945
1324e37f
RM
179462013-05-01 Roland McGrath <roland@hack.frob.com>
17947
17948 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
17949
0695940b
RS
179502013-05-01 Richard Smith <richard@metafoo.co.uk>
17951
bb5f27ad 17952 [BZ #14952]
0695940b
RS
17953 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
17954 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17955 Use __attribute__ ((__gnu_inline__)).
17956 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17957 Don't use __attribute__ ((__gnu_inline__)).
17958
10de07f5
JM
179592013-05-01 Joseph Myers <joseph@codesourcery.com>
17960
17961 [BZ #15423]
17962 * math/s_catan.c (__catan): Handle small real or imaginary part of
17963 input specially to avoid spurious underflow.
17964 * math/s_catanf.c (__catanf): Likewise.
17965 * math/s_catanh.c (__catanh): Likewise.
17966 * math/s_catanhf.c (__catanhf): Likewise.
17967 * math/s_catanhl.c (__catanhl): Likewise.
17968 * math/s_catanl.c (__catanl): Likewise.
17969 * math/libm-test.inc (catan_test): Add more tests.
17970 (catanh_test): Likewise.
17971 * sysdeps/i386/fpu/libm-test-ulps: Update.
17972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17973
cb4d5414
AZ
179742013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17975
17976 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17977
caf84319
JM
179782013-04-30 Joseph Myers <joseph@codesourcery.com>
17979
17980 [BZ #15416]
17981 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
17982 accurately for denominator in atan2.
17983 * math/s_catanf.c (__catanf): Likewise.
17984 * math/s_catanh.c (__catanh): Likewise.
17985 * math/s_catanhf.c (__catanhf): Likewise.
17986 * math/s_catanhl.c (__catanhl): Likewise.
17987 * math/s_catanl.c (__catanl): Likewise.
17988 * math/libm-test.inc (catan_test): Add more tests.
17989 (catanh_test): Likewise.
17990 * sysdeps/i386/fpu/libm-test-ulps: Update.
17991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17992
d569c6ee
SP
179932013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17994
6dbe713d
SP
17995 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
17996
f0ee064b
SP
17997 * benchtests/Makefile (bench): Remove slow benchmarks.
17998 * benchtests/atan-inputs: Add slow benchmark inputs.
17999 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18000 (BENCH_FUNC): Accept variant offset.
18001 (VARIANT): Define.
18002 * benchtests/bench-skeleton.c (main): Run benchmark for each
18003 variant.
18004 * benchtests/cos-inputs: Add slow benchmark inputs.
18005 * benchtests/exp-inputs: Likewise.
18006 * benchtests/pow-inputs: Likewise.
18007 * benchtests/sin-inputs: Likewise.
18008 * benchtests/slowatan-inputs: Remove.
18009 * benchtests/slowatan.c: Remove.
18010 * benchtests/slowcos-inputs: Remove.
18011 * benchtests/slowcos.c: Remove.
18012 * benchtests/slowexp-inputs: Remove.
18013 * benchtests/slowexp.c: Remove.
18014 * benchtests/slowpow-inputs: Remove.
18015 * benchtests/slowpow.c: Remove.
18016 * benchtests/slowsin-inputs: Remove.
18017 * benchtests/slowsin.c: Remove.
18018 * benchtests/slowtan-inputs: Remove.
18019 * benchtests/slowtan.c: Remove.
18020 * benchtests/tan-inputs: Add slow benchmark inputs.
18021 * scripts/bench.pl: Parse comments and directives.
18022
d569c6ee
SP
18023 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
18024 in CPPFLAGS.
18025 ($(objpfx)bench-%.c): Remove *-ITER.
18026 * benchtests/bench-modf.c: Remove definition of ITER.
18027 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18028 (main): Loop for DURATION seconds instead of fixed number of
18029 iterations.
18030 * scripts/bench.pl: Don't expect iterations in parameters.
18031
a6a242fe
RM
180322013-04-29 Roland McGrath <roland@hack.frob.com>
18033
18034 * io/fchdir.c (__fchdir): Renamed from fchdir.
18035 (fchdir): Define as weak alias.
18036
f2da7793
JM
180372013-04-29 Joseph Myers <joseph@codesourcery.com>
18038
18039 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18040 (ERRNO_EDOM): Likewise.
18041 (ERRNO_ERANGE): Likewise.
18042 (noErrnoTests): New variable.
18043 (init_max_error): Set errno to 0.
18044 (test_single_errno): New function.
18045 (test_errno): Likewise.
18046 (check_float_internal): Call test_errno. Set errno to 0.
18047 (check_complex): Refer to errno tests in comment.
18048 (check_int): Call test_errno. Set errno to 0.
18049 (check_long): Likewise.
18050 (check_bool): Likewise.
18051 (check_longlong): Likewise.
18052 (cos_test): Use ERRNO_* flags for errno tests instead of
18053 check_int.
18054 (expm1_test): Likewise.
18055 (fmod_test): Likewise.
18056 (ilogb_test): Likewise.
18057 (lgamma_test): Likewise.
18058 (pow_test): Likewise.
18059 (remainder_test): Likewise.
18060 (sin_test): Likewise.
18061 (tan_test): Likewise.
18062 (yn_test): Likewise.
18063 (initialize): Set errno to 0.
18064 (main): Print number of errno tests.
18065 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18066
b1a36ceb
AJ
180672013-04-29 Andreas Jaeger <aj@suse.de>
18068
c3ed8088
AJ
18069 [BZ #15084]
18070 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18071 and RES_USEVC.
18072
f1a24198
AJ
18073 [BZ #15085]
18074 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18075 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18076 unimplemented.
18077
9ce3b2cb
AJ
18078 [BZ #15380]
18079 * stdlib/random.c (__initstate): Return NULL if
18080 __initstate fails.
18081
f1a24198 18082 [BZ #15086]
b1a36ceb
AJ
18083 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18084 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18085 RES_SNGLKUPREOP.
18086
7e7b6f36
AZ
180872013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18088
18089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18090
4d14f449
JM
180912013-04-29 Joseph Myers <joseph@codesourcery.com>
18092
18093 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18094 of individual tests.
18095 (casin_test): Likewise.
18096 (casinh_test): Likewise.
18097
5b4217d7
JM
180982013-04-27 Joseph Myers <joseph@codesourcery.com>
18099
18100 [BZ #15409]
18101 * math/s_catan.c (__catan): Handle arguments with large real or
18102 imaginary part separately without squaring.
18103 * math/s_catanf.c (__catanf): Likewise.
18104 * math/s_catanh.c (__catanh): Likewise.
18105 * math/s_catanhf.c (__catanhf): Likewise.
18106 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18107 and redefine.
18108 (__catanhl): Handle arguments with large real or imaginary part
18109 separately without squaring.
18110 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18111 and redefine.
18112 (__catanl): Handle arguments with large real or imaginary part
18113 separately without squaring.
18114 * math/libm-test.inc (catan_test): Add more tests.
18115 (catanh_test): Likewise.
18116 * sysdeps/i386/fpu/libm-test-ulps: Update.
18117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18118
4220c3ef
AJ
181192013-04-27 Andreas Jaeger <aj@suse.de>
18120
18121 [BZ #15007]
18122 * stdlib/stdlib.h: Update guards for qecvt.
18123 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18124 <stdlib.h>.
18125
4721b2d1
AM
181262013-04-27 Allan McRae <allan@archlinux.org>
18127
18128 * sysdeps/i386/fpu/libm-test-ulps: Update.
18129
f0302940
JM
181302013-04-26 Joseph Myers <joseph@codesourcery.com>
18131
9457fd95
JM
18132 [BZ #15406]
18133 * math/s_catan.c: Include <float.h>.
18134 (__catan): Ensure underflow exception occurs for underflowed
18135 result.
18136 * math/s_catanf.c: Include <float.h>.
18137 (__catanf): Ensure underflow exception occurs for underflowed
18138 result.
18139 * math/s_catanh.c: Include <float.h>.
18140 (__catanh): Ensure underflow exception occurs for underflowed
18141 result.
18142 * math/s_catanhf.c: Include <float.h>.
18143 (__catanhf): Ensure underflow exception occurs for underflowed
18144 result.
18145 * math/s_catanhl.c: Include <float.h>.
18146 (__catanhl): Ensure underflow exception occurs for underflowed
18147 result.
18148 * math/s_catanl.c: Include <float.h>.
18149 (__catanl): Ensure underflow exception occurs for underflowed
18150 result.
18151 * math/libm-test.inc (catan_test): Add more tests.
18152 (catanh_test): Likewise.
18153
f0302940
JM
18154 [BZ #15405]
18155 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18156 underflowed result.
18157 * math/s_ccoshf.c (__ccoshf): Likewise.
18158 * math/s_ccoshl.c (__ccoshl): Likewise.
18159 * math/s_csin.c (__csin): Likewise.
18160 * math/s_csinf.c (__csinf): Likewise.
18161 * math/s_csinh.c (__csinh): Likewise.
18162 * math/s_csinhf.c (__csinhf): Likewise.
18163 * math/s_csinhl.c (__csinhl): Likewise.
18164 * math/s_csinl.c (__csinl): Likewise.
18165 * math/libm-test.inc (ccos_test): Add more tests.
18166 (ccosh_test): Likewise.
18167 (csin_test): Likewise.
18168 (csinh_test): Likewise.
18169
aa630f59
AZ
181702013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18171
18172 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18173 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18174 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18175 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18176 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18177 powerpc/power5+/fpu folders.
18178 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18179
18180
1b835983
MT
181812013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18182
18183 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18184
73709b26
JM
181852013-04-25 Joseph Myers <joseph@codesourcery.com>
18186
18187 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18188 additions to variable.
18189 [$(config-machine) = x86_64] (modules-names): Likewise.
18190 ($(objpfx)tst-audit3): Remove dependency.
18191 ($(objpfx)tst-audit3.out): Likewise.
18192 ($(objpfx)tst-audit4): Likewise.
18193 ($(objpfx)tst-audit4.out): Likewise.
18194 ($(objpfx)tst-audit5): Likewise.
18195 ($(objpfx)tst-audit5.out): Likewise.
18196 ($(objpfx)tst-audit6): Likewise.
18197 ($(objpfx)tst-audit6.out): Likewise.
18198 ($(objpfx)tst-audit7): Likewise.
18199 ($(objpfx)tst-audit7.out): Likewise.
18200 (tst-audit3-ENV): Remove variable.
18201 (tst-audit4-ENV): Likewise.
18202 (tst-audit5-ENV): Likewise.
18203 (tst-audit6-ENV): Likewise.
18204 (tst-audit7-ENV): Likewise.
18205 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18206 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18207 addition to variable.
18208 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18209 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18210 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18211 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18212 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18213 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18214 tst-audit3, tst-audit4 and tst-audit5.
18215 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18216 tst-audit6 and tst-audit7.
18217 [$(subdir) = elf] (modules-names): Add audit modules for those
18218 tests.
18219 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18220 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18221 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18222 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18223 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18224 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18225 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18226 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18227 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18228 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18229 [$(subdir) = elf] (tst-audit3-ENV): New variable.
18230 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18231 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18232 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18233 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18234 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18235 Likewise.
18236 [$(subdir) = elf && $(config-cflags-avx) = yes]
18237 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18238 [$(subdir) = elf && $(config-cflags-avx) = yes]
18239 (CFLAGS-tst-auditmod4a.c): Likewise.
18240 [$(subdir) = elf && $(config-cflags-avx) = yes]
18241 (CFLAGS-tst-auditmod4b.c): Likewise.
18242 [$(subdir) = elf && $(config-cflags-avx) = yes]
18243 (CFLAGS-tst-auditmod6b.c): Likewise.
18244 [$(subdir) = elf && $(config-cflags-avx) = yes]
18245 (CFLAGS-tst-auditmod6c.c): Likewise.
18246 [$(subdir) = elf && $(config-cflags-avx) = yes]
18247 (CFLAGS-tst-auditmod7b.c): Likewise.
18248 * elf/tst-audit3.c: Move to ...
18249 * sysdeps/x86_64/tst-audit3.c: ... here.
18250 * elf/tst-audit4.c: Move to ...
18251 * sysdeps/x86_64/tst-audit4.c: ... here.
18252 * elf/tst-audit5.c: Move to ...
18253 * sysdeps/x86_64/tst-audit5.c: ... here.
18254 * elf/tst-audit6.c: Move to ...
18255 * sysdeps/x86_64/tst-audit6.c: ... here.
18256 * elf/tst-audit7.c: Move to ...
18257 * sysdeps/x86_64/tst-audit7.c: ... here.
18258 * elf/tst-auditmod3a.c: Move to ...
18259 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18260 * elf/tst-auditmod3b.c: Move to ...
18261 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18262 * elf/tst-auditmod4a.c: Move to ...
18263 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18264 * elf/tst-auditmod4b.c: Move to ...
18265 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18266 * elf/tst-auditmod5a.c: Move to ...
18267 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18268 * elf/tst-auditmod5b.c: Move to ...
18269 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18270 * elf/tst-auditmod6a.c: Move to ...
18271 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18272 * elf/tst-auditmod6b.c: Move to ...
18273 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18274 * elf/tst-auditmod6c.c: Move to ...
18275 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18276 * elf/tst-auditmod7a.c: Move to ...
18277 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18278 * elf/tst-auditmod7b.c: Move to ...
18279 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18280
1ef74943
PP
182812013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
18282
18283 [BZ #15366]
18284 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18285 define unconditionally.
18286 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18287 define unconditionally.
18288 (INT8_C, INT16_C, etc.): Likewise.
18289
93fd48c5
MR
182902013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
18291
ae9552cf
MR
18292 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18293 __ehdr_start with hidden visibility.
18294
93fd48c5
MR
18295 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18296
418601aa
CD
182972013-04-24 Carlos O'Donell <carlos@redhat.com>
18298
18299 * math/libm-test.inc (cos_test): Use accurate hex constants.
18300 (sincost_test): Likewise.
18301
2f38fbfe
JM
183022013-04-24 Joseph Myers <joseph@codesourcery.com>
18303
5e221800
JM
18304 * math/libm-test.inc (catan_test): Add more tests.
18305 (catanh_test): Likewise.
18306
77f143fd
JM
18307 * math/s_catanf.c (__catanf): Use suffixed floating-point
18308 constants.
18309 * math/s_catanhf.c (__catanhf): Likewise.
18310 * math/s_catanhl.c (__catanhl): Likewise.
18311 * math/s_catanl.c (__catanl): Likewise.
18312
2f38fbfe
JM
18313 [BZ #15394]
18314 * math/s_catan.c (__catan): Calculate imaginary part of result
18315 with log1p not log unless computing log of number close to 0.
18316 * math/s_catanf.c (__catanf): Likewise.
18317 * math/s_catanl.c (__catanl): Likewise.
18318 * math/s_catanh.c (__catanh): Calculate real part of result with
18319 log1p not log unless computing log of number close to 0.
18320 * math/s_catanhf.c (__catanhf): Likewise.
18321 * math/s_catanhl.c (__catanhl): Likewise.
18322 * math/libm-test.inc (catan_test): Add more tests.
18323 (catanh_test): Likewise.
18324 * sysdeps/i386/fpu/libm-test-ulps: Update.
18325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18326
45d69176
SP
183272013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18328
18329 * benchtests/Makefile: Mention files in which fast and slow
18330 paths of math functions are implemented.
18331
87f51853
RM
183322013-04-23 Roland McGrath <roland@hack.frob.com>
18333
18334 * sysdeps/posix/timespec_get.c: New file.
18335
3c026539
AZ
183362013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18337
18338 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18339 POWER.
18340 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18341 for POWER.
18342 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18343 powerpc/power5/fpu folders.
18344 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18345 * benchtests/Makefile: Add modf testcase.
18346 * benchtests/bench-modf.c: New file: Benchmark test for mo
18347
ff491d14
SP
183482013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18349
18350 [BZ #14888]
18351 * time/Makefile (tests): Add tst-strptime-whitespace.
18352 * time/strptime_l.c (get_number): Use ISSPACE.
18353 (__strptime_internal): Likewise.
18354 * time/tst-strptime-whitespace.c: New test case.
18355
7ed3f4e8
AS
183562013-04-23 Andreas Schwab <schwab@linux-m68k.org>
18357
18358 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18359 member.
18360 (_nss_files_init): Set it here.
18361
5c95f7b6
HC
183622013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
18363
18364 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18365 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18366 unsigned.
18367
d34c9158
JBG
183682013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
18369
18370 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18371
2169712d
SP
183722013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18373
18374 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18375 size just once.
18376
29c5de99
DM
183772013-04-21 David S. Miller <davem@davemloft.net>
18378
18379 * po/ru.po: Update Russion translation from translation project.
18380
ccdad15d
AC
183812013-04-17 Adam Conrad <adconrad@0c3.net>
18382
18383 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18384 and setfsgid.
18385
0f122b8d
CD
183862013-04-17 Carlos O'Donell <carlos@redhat.com>
18387
5c5b07da 18388 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 18389 * configure: Regenerate.
5c5b07da 18390 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
18391 Add example to error message.
18392 * sysdeps/i386/configure: Regenerate.
18393
037714dd
SP
183942013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18395
18396 * benchtests/Makefile (bench): Add cos, tan, slowcos and
18397 slowtan.
18398 * benchtests/cos-inputs: New file.
18399 * benchtests/slowcos-inputs: New file.
18400 * benchtests/slowcos.c: New file.
18401 * benchtests/slowtan-inputs: New file.
18402 * benchtests/slowtan.c: New file.
18403 * benchtests/tan-inputs: New file.
18404
e913141d
RM
184052013-04-16 Roland McGrath <roland@hack.frob.com>
18406
18407 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18408 considered kosher.
18409
a2964074
SP
184102013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18411
4856bcd2
SP
18412 * benchtests/Makefile: Include cppflags-iterator.mk to add
18413 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18414
a2964074
SP
18415 * Makefile.in (bench-clean): New target.
18416 * benchtests/Makefile (bench-clean): Likewise.
18417
9fbf9aca
DH
184182013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
18419
18420 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18421
207d1e2a
TS
184222013-04-15 Thomas Schwinge <thomas@codesourcery.com>
18423
18424 * stdio-common/tstdiomisc.c: Fix coding-style violation.
18425
306dfba9
AS
184262013-04-15 Andreas Schwab <schwab@suse.de>
18427
18428 * nscd/grpcache.c (cache_addgr): Properly check for short write.
18429 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18430 * nscd/pwdcache.c (cache_addpw): Likewise.
18431 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
18432 more than recsize.
18433
206a6699
SP
184342013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18435
18436 * benchtests/Makefile (bench): Write all output to
18437 bench-out.tmp together.
18438
0582f6b3
AS
184392013-04-15 Andreas Schwab <schwab@suse.de>
18440
18441 * nscd/nscd.c (main): Don't fork again after closing files.
18442
acb4325f
SP
184432013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18444
5cb26d0a
SP
18445 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18446
acb4325f
SP
18447 * benchtests/Rules (bench-deps): Collect dependencies into a
18448 single variable. Add Makefile to dependencies.
18449 ($(objpfx)bench-%.c): Depend on bench-deps.
18450
47792506
RM
184512013-04-12 Roland McGrath <roland@hack.frob.com>
18452 Xavier Roche <roche+kml2@exalead.com>
18453
18454 [BZ #15361]
18455 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18456 just that it's a file descriptor.
18457 * manual/llio.texi (Synchronizing AIO Operations): Update description
18458 for EBADF error from aio_fsync.
18459
8fc1bee5
SP
184602013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18461
18462 * Rules (bench): Move target definition...
18463 * benchtests/Makefile: ... here.
18464
aba5e333
CD
184652013-04-11 Carlos O'Donell <carlos@redhat.com>
18466
18467 * math/libm-test.inc (cos_test): Fix PI/2 test.
18468 (sincos_test): Likewise.
18469 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18470 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18471
273cdee8
AS
184722013-04-11 Andreas Schwab <schwab@suse.de>
18473
6ecec3b6
AS
18474 [BZ #13988]
18475 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18476 accept exponent character only when digits were seen.
18477 * stdio-common/Makefile (tests): Add bug26.
18478 * stdio-common/bug26.c: New file.
18479
273cdee8
AS
18480 [BZ #14293]
18481 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18482 non-freeable.
18483
8da491f5
SP
184842013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18485
01dc6df9
SP
18486 * Makeconfig (rtld-prefix): Define built linker prefix.
18487 * Rules (run-bench): Use it.
18488 * math/Makefile (run-regen-ulps): Likewise.
18489
8da491f5
SP
18490 * Rules (bench): Remove eval.
18491
abe7f530
SP
184922013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18493 Roland McGrath <roland@hack.frob.com>
18494 Ondrej Bilka <neleai@seznam.cz>
18495
18496 [BZ #15346]
18497 * time/getdate.c: Include ctype.h and alloca.h.
18498 (__getdate_r): Trim leading and trailing spaces of input.
18499 * time/tst-getdate.c (tests): Add tests with leading and
18500 trailing spaces.
18501
61c23e62
RM
185022013-04-08 Roland McGrath <roland@hack.frob.com>
18503
18504 [BZ #14280]
18505 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
18506 when computing value.
18507
7208a313
CD
185082013-04-06 Carlos O'Donell <carlos@redhat.com>
18509
085b2d41
CD
18510 * math/README.libm-test (How can I generate "libm-test-ulps"?):
18511 Use testrun.sh to run libm tests.
18512
7208a313
CD
18513 [BZ #15309]
18514 * elf/dl-open.c (dl_open_worker): memset all of seen array.
18515
872c0acd
MM
185162013-04-06 Marko Myllynen <myllynen@redhat.com>
18517
18518 [BZ #15264]
18519 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
18520
26510bdd
CD
185212013-04-06 Carlos O'Donell <carlos@redhat.com>
18522
18523 * Makefile.in (regen-ulps): New target.
18524 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
18525 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
18526 [ifneq (no,$(PERL)] (regen-ulps): New target.
18527 [ifeq (no,$(PERL)] (regen-ulps): New target.
18528 * math/libm-test.inc (ulps_file_name): Define.
18529 (output_dir): New variable.
18530 (options): Add "output-dir" option.
18531 (parse_opt): Handle 'o' case.
18532 (main): If output_dir is non-NULL use it as a prefix
18533 otherwise use "".
18534 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
18535
a01f19c8
CD
185362013-04-06 Carlos O'Donell <carlos@redhat.com>
18537
18538 [BZ #10060, #10062]
18539 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
18540 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
18541 fail configure if __sync_val_compare_and_swap is not inlined.
18542 * sysdeps/i386/configure: Regenerate.
18543 * configure.in: Build for i686 when configured for i386.
18544 * configure: Regenerate.
18545 * README: Remove i386 reference.
18546
b7a329a5
CD
185472013-04-06 Carlos O'Donell <carlos@redhat.com>
18548
18549 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
18550 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18551
bf0f50df
TS
185522013-04-05 Thomas Schwinge <thomas@codesourcery.com>
18553
ee091edf
TS
18554 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
18555 (lmsnanval): New variables.
18556 (F): Add conversion tests.
18557 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
18558 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
18559
a8b792d6
TS
18560 * stdio-common/tstdiomisc.c (F): Properly collect individual
18561 tests' results.
18562
a1cbf437
TS
18563 [BZ #14686, #15336]
18564 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
18565 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18566 Instead, use input NaN values or generate a qNaN by arithmetic
18567 operation. Also fix bugs to comply with the standard.
18568 * math/libm-test.inc (remainder_test): Add more tests.
18569
8b43a0c9
TS
18570 [BZ #15335, #15342]
18571 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
18572 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
18573 input NaN values or generate a qNaN by arithmetic operation.
18574
d91da4ce
TS
18575 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
18576 unreachable code.
18577
bf0f50df
TS
18578 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
18579 definitions.
18580
05e166c8
JM
185812013-04-03 Joseph Myers <joseph@codesourcery.com>
18582
18583 [BZ #14478]
18584 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
18585 underflowed result.
18586 * math/s_cexpf.c (__cexpf): Likewise.
18587 * math/s_cexpl.c (__cexpl): Likewise.
18588 * math/libm-test.inc (cexp_test): Add more tests.
18589
1cef1b19
AS
185902013-04-03 Andreas Schwab <schwab@suse.de>
18591
18592 [BZ #15330]
18593 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
18594 order arrays from heap if bigger than alloca cutoff.
18595
74d87055
TS
185962013-04-03 Thomas Schwinge <thomas@codesourcery.com>
18597
18598 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
18599 (SNAN_TESTS_double): Refer to GCC PR56831.
18600 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
18601 GCC PR56828.
18602
d755bba4
SP
186032013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18604
90d5d5bb
SP
18605 * Rules (bench): Move bench.out after the run is complete.
18606
73e0cd5d
SP
18607 * Rules (bench): Echo currently running benchmark.
18608
64aabd4b
SP
18609 * benchtests/Makefile (bench): Add atan and slowatan.
18610 * benchtests/atan-inputs: New file.
18611 * benchtests/slowatan-inputs: New file.
18612 * benchtests/slowatan.c: New file.
18613
c871eccd
SP
18614 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
18615 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
18616 its value.
18617
d755bba4
SP
18618 [BZ #15305]
18619 * sysdeps/unix/sysv/linux/kernel-features.h
18620 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
18621 __ASSUME_XFS_RESTRICTED_CHOWN.
18622 * sysdeps/unix/sysv/linux/pathconf.c
18623 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18624 Save and restore errno.
18625
52ce4860
JM
186262013-04-02 Joseph Myers <joseph@codesourcery.com>
18627
18628 [BZ #15327]
18629 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
18630 arguments using __kernel_casinh.
18631 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
18632 arguments using __kernel_casinhf.
18633 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
18634 arguments using __kernel_casinhl.
18635 * math/libm-test.inc (cacosh_test): Add more tests.
18636 * sysdeps/i386/fpu/libm-test-ulps: Update.
18637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18638
81f311c2
SP
186392013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18640
e7906a47
SP
18641 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
18642 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
18643
92e3664b
SP
18644 * bench/Makefile (bench): Add sin and slowsin.
18645 * benchtests/sin-inputs: New file.
18646 * benchtests/slowsin-inputs: New file.
18647 * benchtests/slowsin.c: New file.
18648
81f311c2
SP
18649 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
18650 (bench): Add slowexp and slowpow.
18651 (exp-ITER): Increase iterations.
18652 (pow-ITER): Likewise.
18653 * benchtests/exp-inputs: Change input.
18654 * benchtests/pow-inputs: Likewise.
18655 * benchtests/slowexp-inputs: New file.
18656 * benchtests/slowexp.c: New file.
18657 * benchtests/slowpow-inputs: New file.
18658 * benchtests/slowpow.c: New file.
18659
ab0f1aa9
AZ
186602013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18661
18662 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
18663 instructions.
18664 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18665 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
18666 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18667 * benchtests/Makefile: Add rint benchtest.
18668 * benchtests/rint-inputs: Input for rint benchtest.
18669
57267616
TS
186702013-04-02 Thomas Schwinge <thomas@codesourcery.com>
18671
18672 * Versions.def (libm): Add GLIBC_2.18.
18673 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
18674 hidden libm prototypes.
18675 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
18676 * math/Makefile (libm-calls): Add s_issignaling.
18677 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
18678 __issignalingf, __issignalingl. Adjust all libm.abilist files.
18679 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
18680 declaration.
18681 * math/math.h [__USE_GNU] (issignaling): New macro.
18682 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
18683 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
18684 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
18685 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
18686 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
18687 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
18688 * manual/arith.texi (issignaling): New section.
18689 * manual/libm-err-tab.pl (@all_functions): Update comment.
18690 * math/gen-libm-test.pl (parse_args): Apply special handling for
18691 issignaling.
18692 * math/libm-test.inc (print_float, issignaling_test): New
18693 functions.
18694 (check_float_internal): Add issignaling checks.
18695 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
18696 default definition.
18697 * sysdeps/powerpc/math-tests.h: New file.
18698 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
18699 tests.
18700 * math/test-snan.c (TEST_FUNC): Likewise.
18701
6142896d
DM
187022013-03-30 David S. Miller <davem@davemloft.net>
18703
18704 * po/de.po: Update from translation team.
18705
ccc8cadf
JM
187062013-03-30 Joseph Myers <joseph@codesourcery.com>
18707
18708 [BZ #10357]
18709 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18710 imaginary part less than 1.0 and real part less than 0.5
18711 specially.
18712 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18713 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18714 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
18715 (cacos_test): Add more tests.
18716 (casin_test): Likewise.
18717 (casinh_test): Likewise.
18718 * sysdeps/i386/fpu/libm-test-ulps: Update.
18719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18720
0f6a8d4b
SP
187212013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18722
0d1029de
SP
18723 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
18724 ONE with its value.
18725
c2d94018
SP
18726 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
18727 (__pow_mp): Replace ONE and MONE with their values.
18728 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18729 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
18730 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18731 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
18732 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18733 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18734
27ec37f1
SP
18735 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
18736
a64d7e0e
SP
18737 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
18738 (__pow_mp): Replace ZERO and MZERO with their values.
18739 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18740 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18741 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18742 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18743 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18744 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
18745 (__sqr): Likewise.
18746
d26dd3eb
SP
18747 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
18748
0f6a8d4b
SP
18749 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
18750
e57b0c61
RM
187512013-03-28 Roland McGrath <roland@hack.frob.com>
18752
18753 * include/stdlib.h [!SHARED] (__call_tls_dtors):
18754 Declare with __attribute__ ((weak)).
18755 * stdlib/exit.c (__libc_atexit) [!SHARED]:
18756 Call __call_tls_dtors only if it's not NULL.
18757
356b3480
RM
187582013-03-28 Roland McGrath <roland@hack.frob.com>
18759
288f7d79
RM
18760 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
18761 didn't do it already, then set _dl_phdr and _dl_phnum based on the
18762 magic __ehdr_start linker symbol if it's defined.
18763 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
18764 them up here if it was already done.
18765
dc0a0263
RM
18766 * elf/dl-support.c (_dl_phdr): Make pointer to const.
18767 (_dl_aux_init): Use const in cast when setting it.
18768 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
18769 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
18770 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
18771
3d3436ae
RM
18772 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
18773 Declare them here.
18774 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
18775 * csu/libc-tls.c: Nor here.
18776 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
18777
356b3480
RM
18778 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
18779 (__libc_message): Never call vsyslog.
18780
b0f1246a
AM
187812013-03-28 Alan Modra <amodra@gmail.com>
18782
18783 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
18784 Define as empty.
18785 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
18786 Likewise.
18787
fbbe2b9a
AZ
187882013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18789
18790 [BZ #15214]
18791 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
18792 underflow.
18793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18794
1728ab37
SP
187952013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18796
7a86be6e
SP
18797 [BZ #15304]
18798 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18799 Don't add gid passed as argument.
18800
1728ab37
SP
18801 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
18802
3a7182a1
JM
188032013-03-27 Joseph Myers <joseph@codesourcery.com>
18804
18805 [BZ #15307]
18806 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18807 imaginary part between 1.0 and 1.5 and real part less than 0.5
18808 specially.
18809 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18810 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18811 * math/libm-test.inc (cacos_test): Add more tests.
18812 (casin_test): Likewise.
18813 (casinh_test): Likewise.
18814 * sysdeps/i386/fpu/libm-test-ulps: Update.
18815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18816
6f2e90e7
SP
188172013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18818
5739f705
SP
18819 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
18820 constants.
18821 (norm): Likewise.
18822 (denorm): Likewise.
18823 (__dbl_mp): Likewise.
18824 (add_magnitudes): Likewise.
18825 (sub_magnitudes): Likewise.
18826 (__add): Likewise.
18827 (__sub): Likewise.
18828 (__mul): Likewise.
18829 (__sqr): Likewise.
18830 (__inv): Likewise.
18831 (__dvd): Likewise.
18832
e375e83d
SP
18833 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
18834 commented code.
18835 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
18836 (__dubcos): Likewise.
18837 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
18838 (__ieee754_acos): Likewise.
18839 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18840 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
18841 (__exp1): Likewise.
18842 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18843 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18844 (log1): Likewise.
18845 (my_log2): Likewise.
18846 (checkint): Likewise.
18847 * sysdeps/ieee754/dbl-64/e_remainder.c
18848 (__ieee754_remainder): Likewise.
18849 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18850 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18851 (bsloww): Likewise.
18852 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18853
6f2e90e7
SP
18854 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18855 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
18856 MANTISSA_STORE_T to store computations on mantissa. Use
18857 macros for rounding and division.
18858 (denorm): Likewise.
18859 (__dbl_mp): Likewise.
18860 (add_magnitudes): Likewise.
18861 (sub_magnitudes): Likewise.
18862 (__mul): Likewise.
18863 (__sqr): Likewise.
18864 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18865 powers of two in terms of TWOPOW macro.
18866 (mp_no): Make type of mantissa as MANTISSA_T.
18867 [!RADIXI]: Define RADIXI.
18868 [!TWO52]: Define TWO52.
18869 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18870
fce14d4e
AZ
188712013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18872
18873 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
18874 llroundl symbol when building for PPC32.
18875
9ad027fb
MW
188762013-03-24 Mark H Weaver <mhw@netris.org>
18877
18878 * manual/arith.texi (Normalization Functions): Fix prototypes for
18879 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
18880
e42a38dd
AZ
188812013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18882
18883 [BZ #13889]
18884 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
18885 high value to check if expl overflow.
18886 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
18887 to check for underflow and overflow.
18888 * math/libm-test.inc: Add exp test.
18889
2e0fb521
DL
188902013-03-21 Dmitry V. Levin <ldv@altlinux.org>
18891
18892 [BZ #11120]
18893 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
18894 with NOT_IN_libc.
18895
b5784d95
AZ
188962013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18897
18898 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
18899 symbol.
18900
5aa4a1a1
TS
189012013-03-21 Thomas Schwinge <thomas@codesourcery.com>
18902
bdef0be7
TS
18903 * math/gen-libm-test.pl (parse_args, special_functions): Properly
18904 wrap blocks consisting of several statements.
18905
5aa4a1a1
TS
18906 * sysdeps/generic/math-tests.h: New file.
18907 * sysdeps/i386/fpu/math-tests.h: Likewise.
18908 * math/test-snan.c: Include it.
18909 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
18910
98c48fe5
JM
189112013-03-21 Joseph Myers <joseph@codesourcery.com>
18912
18913 [BZ #15285]
18914 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
18915 (__ieee754_j0l): Do not improve calculations using cos of twice
18916 input for inputs above LDBL_MAX / 2.0L.
18917 (__ieee754_y0l): Likewise.
18918 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
18919 (__ieee754_j1l): Do not improve calculations using cos of twice
18920 input for inputs above LDBL_MAX / 2.0L.
18921 (__ieee754_y1l): Likewise.
18922 * math/libm-test.inc (j0_test): Add another test.
18923 (j1_test): Likewise.
18924 (y0_test): Likewise.
18925 (y1_test): Likewise.
18926 * sysdeps/i386/fpu/libm-test-ulps: Update.
18927
3775a8bc
SP
189282013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18929
18930 * Rules ($(objpfx)bench-%.c): Include code from a C source
18931 file.
18932
0a1b2ae6
JM
189332013-03-21 Joseph Myers <joseph@codesourcery.com>
18934
18935 [BZ #15287]
18936 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18937 imaginary part 1.0 and real part less than 0.5 specially.
18938 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18939 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18940 * math/libm-test.inc (cacos_test): Add more tests.
18941 (casin_test): Likewise.
18942 (casinh_test): Likewise.
18943 * sysdeps/i386/fpu/libm-test-ulps: Update.
18944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18945
b33d4ce4
SP
189462013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18947
18948 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
18949 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
18950
bef0b507
JM
189512013-03-20 Joseph Myers <joseph@codesourcery.com>
18952
18953 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
18954 * config.make.in (config-cflags-sse4): Remove variable.
18955 (config-cflags-avx): Likewise.
18956 (config-cflags-sse2avx): Likewise.
18957 (config-cflags-novzeroupper): Likewise.
18958 (config-asflags-i686): Likewise.
18959 (have-mfma4): Likewise.
18960 (have-as-vis3): Likewise.
18961 (MIG): Likewise.
18962 * configure.in (MIG): Do not AC_SUBST.
18963 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
18964 (libc_cv_cc_sse4): Do not AC_SUBST.
18965 (libc_cv_cc_avx): Likewise.
18966 (libc_cv_cc_sse2avx): Likewise.
18967 (libc_cv_cc_novzeroupper): Likewise.
18968 (libc_cv_cc_fma4): Likewise.
18969 (libc_cv_as_i686): Likewise.
18970 (libc_cv_sparc_as_vis3): Likewise.
18971 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
18972 LIBC_CONFIG_VAR.
18973 (config-asflags-i686): Likewise.
18974 (config-cflags-avx): Likewise.
18975 (config-cflags-sse2avx): Likewise.
18976 (have-mfma4): Likewise.
18977 (config-cflags-novzeroupper): Likewise.
18978 * sysdeps/mach/configure.in (MIG): Likewise.
18979 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
18980 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
18981 LIBC_CONFIG_VAR.
18982 (config-cflags-avx): Likewise.
18983 (config-cflags-sse2avx): Likewise.
18984 (have-mfma4): Likewise.
18985 (config-cflags-novzeroupper): Likewise.
18986 * configure: Regenerated.
18987 * sysdeps/i386/configure: Likewise.
18988 * sysdeps/mach/configure: Likewise.
18989 * sysdeps/sparc/configure: Likewise.
18990 * sysdeps/x86_64/configure: Likewise.
18991
912cc4b3
RM
189922013-03-20 Roland McGrath <roland@hack.frob.com>
18993
18994 [BZ #14812]
18995 * locale/programs/localedef.c (options): Put N_ translation marker
18996 on argument names, not just descriptions.
18997
04eed2b0
MS
189982013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18999
19000 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19001
a065ceff
OB
190022013-03-20 Ondřej Bílka <neleai@seznam.cz>
19003
9bb2a810 19004 [BZ #14176]
a065ceff
OB
19005 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19006
a600e5ce
RM
190072013-03-19 Roland McGrath <roland@hack.frob.com>
19008
19009 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19010 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19011 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19012 [!BEFORE_ABORT] (before_abort): New function.
19013 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19014 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19015 (writev_for_fatal): New function.
19016 (WRITEV_FOR_FATAL): New macro; call that.
19017 (backtrace_and_maps): New function.
19018 (BEFORE_ABORT): New macro; call that.
19019 (struct str_list): Type removed.
19020 (__libc_message, __libc_fatal): Functions removed.
19021 Include <sysdeps/posix/libc_fatal.c> instead.
19022
6b18bea6
JM
190232013-03-19 Joseph Myers <joseph@codesourcery.com>
19024
19025 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19026 constants.
19027 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19028 double constants.
19029
aaa8cb4b
AS
190302013-03-19 Andreas Schwab <schwab@suse.de>
19031
44673770
AS
19032 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19033 * sysdeps/gnu/configure: Regenerate.
19034
aaa8cb4b
AS
19035 * configure.in: Substitute libc_cv_rtlddir.
19036 * configure: Regenerate.
19037 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19038 * Makeconfig (rtlddir, inst_rtlddir): New variables.
19039 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19040 * elf/Makefile (install-others, CFLAGS-interp.c)
19041 (ldso_install, common-ldd-rewrite): Likewise.
19042 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19043 $(inst_slibdir)/$(rtld-installed-name).
19044 * scripts/rellns-sh: Add -p option.
19045 * Makerules (make-shlib-link): Use rellns-sh to get relative name
19046 for source.
19047
d3cfc668
SP
190482013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19049
19050 * manual/nptl.texi: Renamed to ...
19051 * manual/threads.texi: ... this.
19052 * manual/Makefile (chapters): Update.
19053
0e2b9cdd
RM
190542013-03-18 Roland McGrath <roland@hack.frob.com>
19055
19056 [BZ #14812]
19057 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19058 on argument names, not just descriptions.
0e2b9cdd
RM
19059 * malloc/memusagestat.c (options): Likewise.
19060 * nss/getent.c (options): Likewise.
63270c24
RM
19061
190622013-03-18 Benno Schulenberg <bensberg@justemail.net>
19063
19064 [BZ #14812]
19065 * iconv/iconv_prog.c (options): Put N_ translation marker
19066 on argument names, not just descriptions.
19067 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 19068
b2e1393c
OB
190692013-03-18 Ondrej Bilka <neleai@seznam.cz>
19070
19071 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19072 implementation which is faster on all x86_64 architectures.
19073 Tested on AMD, Intel Nehalem, SNB, IVB.
19074 * sysdeps/x86_64/strnlen.S: Likewise.
19075
19076 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19077 Remove all multiarch strlen and strnlen versions.
19078 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19079 Remove strlen and strnlen related parts.
19080
19081 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19082 Inline strlen part.
19083 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19084
19085 * sysdeps/x86_64/multiarch/strlen.S: Remove.
19086 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19087 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19088 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19089 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19090 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19091
ec4ff04d
CD
190922013-03-17 Carlos O'Donell <carlos@redhat.com>
19093
19094 * manual/memory.texi (Malloc Tunable Parameters):
19095 Sort parameters alphabetically. Add comments for missing entries.
19096
cd18e90a
DM
190972013-03-17 David S. Miller <davem@davemloft.net>
19098
19099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19100
2a185d32
JM
191012013-03-16 Joseph Myers <joseph@codesourcery.com>
19102
d2f9799e
JM
19103 [BZ #15283]
19104 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19105 for arguments at most half maximum finite value.
19106 * math/libm-test.inc (j0_test): Add more tests.
19107 (j1_test): Likewise.
19108 (y0_test): Likewise.
19109 (y1_test): Likewise.
19110 * sysdeps/i386/fpu/libm-test-ulps: Update.
19111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19112
2a185d32
JM
19113 [BZ #14155]
19114 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19115 1 / x and functions P and Q for arguments above 0x1p256L.
19116 (__ieee754_y0l): Likewise.
19117 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19118 (__ieee754_y1l): Likewise.
19119 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19120 (j1_test): Likewise.
19121 (y0_test): Likewise.
19122 (y1_test): Likewise.
19123
6cbec759
TS
191242013-03-16 Thomas Schwinge <thomas@codesourcery.com>
19125
19126 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19127 variable.
19128
bc16e260
RM
191292013-03-15 Roland McGrath <roland@hack.frob.com>
19130
aefc9b8c
RM
19131 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19132 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19133 zero since it's initialized to EXEC_PAGESIZE.
19134
bc16e260
RM
19135 * sysdeps/unix/sysv/linux/ldsodefs.h
19136 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19137 * sysdeps/generic/ldsodefs.h: ... here.
19138
a57da955
TS
191392013-03-15 Thomas Schwinge <thomas@codesourcery.com>
19140
af00a34d
TS
19141 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19142
495ded2c
TS
19143 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19144 math/test-snan.c.
19145 * math/test-snan.c: Renamed from
19146 sysdeps/powerpc/fpu/test-powerpc-snan.c.
19147 * math/Makefile (tests): Add test-snan.
19148 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19149 test-powerpc-snan.
19150
777b0332
TS
19151 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19152 SUFFIX. Initialize qNaN_var with __builtin_nan family of
19153 functions.
19154 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
19155 __builtin_nan family of functions.
19156 * math/libm-test.inc (initialize): Initialize qnan_value with
19157 __builtin_nan family of functions.
19158 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19159 Remove variables.
19160 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19161 Remove functions.
19162 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
19163 storage class. Initialize qNaN_var and sNaN_var with
19164 __builtin_nan and __builtin_nans families of functions,
19165 respectively.
19166
64d063b8
TS
19167 * math/libm-test.inc (acosh_test): Also test with qNaN input.
19168 (sqrt_test): Remove duplicate test with qNaN input.
19169 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19170 (round_test, signbit_test, significand_test): Note missing +/-Inf
19171 as well as qNaN tests.
19172
67e971f1
TS
19173 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19174 qNaN_var. Fix a few strings, too.
19175 * math/libm-test.inc (nan_value): Rename to qnan_value.
19176 * math/gen-libm-test.pl (%beautify): Adjust to that.
19177 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19178 * math/test-misc.c (main): Likewise.
19179 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19180 to __qnan_bytes, and __qnan_union, respectively.
19181 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19182 Likewise.
19183 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19184 and lqnanval, respectively.
19185 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19186 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19187 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19188 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19189
64487e12
TS
19190 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19191 * math/test-misc.c (main) [__x86_64__]: Enable test for long
19192 doubles.
19193
e015e27b
TS
19194 * math/test-misc.c (main): Fix copy'n'pastos.
19195 * misc/tst-efgcvt.c (special): Likewise.
19196
a57da955
TS
19197 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19198 Remove declarations.
19199
1e380345
SP
192002013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19201
19202 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19203 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19204 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19205 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19206
ef26eece
AZ
192072013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19208
19209 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19210 macro to return vdso values correctly in IFUNC implementations.
19211 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19212 Optimization by using IFUNC.
19213
8cfdb7e0
SP
192142013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19215 Richard Henderson <rth@redhat.com>
19216 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19217
19218 * Makefile.in (bench): New target.
19219 * NEWS: Mention the benchmark framework.
19220 * Rules (bench): Likewise.
19221 (binaries-bench): Generate binaries for functions to
19222 benchmark.
19223 * benchtests/Makefile: New makefile for benchmark tests.
19224 * benchtests/bench-skeleton.c: New skeleton file for benchmark
19225 programs.
19226 * benchtests/exp-inputs: New input file for EXP function.
19227 * benchtests/pow-inputs: New input file for POW function.
19228 * scripts/bench.pl: New script to generate source files for
19229 benchmark programs.
19230
bcda9880
SP
192312013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19232
d22ca8cd
SP
19233 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19234 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19235 computations on mantissa. Use macros for rounding and
19236 division.
19237 (denorm): Likewise.
19238 (__dbl_mp): Likewise.
19239 (add_magnitudes): Likewise.
19240 (sub_magnitudes): Likewise.
19241 (__mul): Likewise.
19242 (__sqr): Likewise.
19243 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19244 powers of two in terms of TWOPOW macro.
19245 (mp_no): Make type of mantissa as MANTISSA_T.
19246 [!RADIXI]: Define RADIXI.
19247 [!TWO52]: Define TWO52.
19248 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19249
bcda9880
SP
19250 * manual/nptl.texi (cindex): Modify threads to pthreads.
19251
06d5adfb
JM
192522013-03-15 Joseph Myers <joseph@codesourcery.com>
19253
19254 * sysdeps/x86_64/preconfigure: Regenerated.
19255
41c7328e
JM
192562013-03-14 Joseph Myers <joseph@codesourcery.com>
19257
19258 [BZ #14155]
19259 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19260 0x1p28 and above.
19261 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19262 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19263 0x1p28 and above.
19264 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19265 * math/libm-test.inc (j0_test): Do not allow one spurious
19266 underflow exception.
19267 (y1_test): Likewise.
19268
e25cfa60
SP
192692013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19270
0409959c
SP
19271 * manual/Makefile (chapters): Add nptl.
19272 * manual/debug.texi (Debugging Support): Add link to Threads
19273 chapter.
19274 * manual/nptl.texi: New file.
19275
e25cfa60
SP
19276 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19277
58a1335e
PB
192782013-03-14 Petr Baudis <pasky@ucw.cz>
19279
19280 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19281 for non-NULL pointer before the memory validity test. Pointed
19282 out by Holger Brunck <holger.brunck@keymile.com>.
19283
9dc7c64f
AS
192842013-03-13 Andreas Schwab <schwab@suse.de>
19285
19286 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19287 instead of .os.
19288
54206aa6
JM
192892013-03-13 Joseph Myers <joseph@codesourcery.com>
19290
19291 * timezone/zic.c: Update from tzcode 2013b.
19292
e98cdb38
CD
192932013-03-12 Carlos O'Donell <carlos@redhat.com>
19294
19295 * manual/install.texi (Configuring and compiling):
19296 Mention i686 and i586.
19297 * INSTALL: Regenerate.
19298
9967e003
RM
192992013-03-12 Roland McGrath <roland@hack.frob.com>
19300
19301 * sysdeps/init_array/elf-init.c: New file.
19302 * csu/elf-init.c
19303 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19304 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19305
19306 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19307 __gmon_start__ as global, but as static with a .preinit_array pointer.
19308 * sysdeps/init_array/gmon-start.c: New file. Use that.
19309 * sysdeps/init_array/crti.S: New file, empty except for comments.
19310 * sysdeps/init_array/crtn.S: Likewise.
19311
e6b5a293 193122013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
19313
19314 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19315 definining bcopy.
80f844c9
OB
19316 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19317 Remove Prefer_SSE_for_memop.
19318 * sysdeps/x86_64/multiarch/init-arch.h: Remove
19319 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19320 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
19321 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19322 memset-x86-64.
80f844c9 19323 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 19324 Remove bzero, memset ifunc support.
80f844c9
OB
19325 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19326 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19327 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19328 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19329
fb6b0fcb
AS
193302013-03-11 Andreas Schwab <schwab@suse.de>
19331
19332 [BZ #15234]
19333 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19334 by SHLIB_COMPAT.
19335 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19336 (GLIBC_2.16): Remove pthread_atfork.
19337
3e6bd4b1
PP
193382013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
19339
19340 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19341 (ptestcases.h): Likewise.
19342
222d7f00
RM
193432013-03-08 Roland McGrath <roland@hack.frob.com>
19344
19345 * Makeconfig ($(common-objpfx)config.status): Depend on
19346 sysdeps/*/preconfigure{,.in} too.
19347
1ba4f030
JM
193482013-03-08 Joseph Myers <joseph@codesourcery.com>
19349
a222d91a
JM
19350 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19351 (__free_hook): Use void * instead of __malloc_ptr_t.
19352 (__malloc_hook): Likewise.
19353 (__realloc_hook): Likewise.
19354 (__memalign_hook): Likewise.
19355 (__after_morecore_hook): Likewise.
19356 * malloc/arena.c (save_malloc_hook): Likewise.
19357 (save_free_hook): Likewise.
19358 * malloc/hooks.c (malloc_hook_ini): Likewise.
19359 (realloc_hook_ini): Likewise.
19360 (memalign_hook_ini): Likewise.
19361 * malloc/malloc.c (malloc_hook_ini): Likewise.
19362 (realloc_hook_ini): Likewise.
19363 (memalign_hook_ini): Likewise.
19364 (__free_hook): Likewise.
19365 (__malloc_hook): Likewise.
19366 (__realloc_hook): Likewise.
19367 (__memalign_hook): Likewise.
19368 (__libc_malloc): Likewise.
19369 (__libc_free): Likewise.
19370 (__libc_realloc): Likewise.
19371 (__libc_memalign): Likewise.
19372 (__libc_valloc): Likewise.
19373 (__libc_pvalloc): Likewise.
19374 (__libc_calloc): Likewise.
19375 (__posix_memalign): Likewise.
19376 * malloc/morecore.c (__sbrk): Likewise.
19377 (__default_morecore): Likewise.
19378
5cc45e10
JM
19379 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19380
dd54b864
JM
19381 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19382 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19383 __malloc_ptrdiff_t.
19384
1ba4f030
JM
19385 * malloc/malloc.h (__malloc_size_t): Remove macro.
19386 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19387 __malloc_size_t.
19388 (old_memalign_hook): Likewise.
19389 (old_realloc_hook): Likewise.
19390 (struct hdr): Likewise.
19391 (flood): Likewise.
19392 (mallochook): Likewise.
19393 (memalignhook): Likewise.
19394 (reallochook): Likewise.
19395 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19396 (tr_old_realloc_hook): Likewise.
19397 (tr_old_memalign_hook): Likewise.
19398 (tr_mallochook): Likewise.
19399 (tr_reallochook): Likewise.
19400 (tr_memalignhook): Likewise.
19401
edf66e57
AZ
194022013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19403
19404 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19405 default_ldbl_pack and using as default implementation.
19406 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19407 implementation.
19408 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19409 redundant definition.
19410 (ldbl_insert_mantissa): Likewise.
19411 (ldbl_canonicalize): Likewise.
19412 (ldbl_nearbyint): Likewise.
19413 (ldbl_pack): Rename to ldbl_pack_ppc.
19414 (ldbl_unpack): Rename to ldbl_unpack_ppc.
19415 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19416 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19417
6d9145d8
SP
194182013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19419
19420 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19421 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19422 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19423 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19424 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19425 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19426 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19427 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19428
4dd4e157
AJ
194292013-03-07 Andreas Jaeger <aj@suse.de>
19430
19431 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19432 bits/mman-linux.h.
19433
adbb8027
SP
194342013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19435
ce544b5b
SP
19436 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19437 Include mpa.h and declare __MPEXP.
19438 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19439 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19440 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19441 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19442 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19443 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19444 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19445
4cc149fd
SP
19446 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19447 (__slowpow): Use long double EXPL and LOGL functions to
19448 compute POW.
19449 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19450 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19451 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19452 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19453 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19454 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19455
e6ebd4a7
SP
19456 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19457 intermediate variable to calculate exponent.
19458 (__sqr): Likewise.
19459 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19460 Likewise.
19461 (__sqr): Likewise.
19462
82a9811d
SP
19463 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19464 [!NO__SQR]: Define __sqr.
19465 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19466 and NO__SQR. Remove all code except __mul and __sqr. Include
19467 sysdeps/ieee754/dbl-64/mpa.c.
19468 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19469
adbb8027
SP
19470 [BZ #12723]
19471 * posix/Makefile (tests): Add tst-pathconf.
19472 * posix/tst-pathconf.c: New test case.
19473 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19474 _PC_PIPE_BUF.
19475 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19476
39120df9
PF
194772013-03-06 Patsy Franklin <pfrankli@redhat.com>
19478
19479 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19480
67525cb8
AJ
194812013-03-06 Andreas Jaeger <aj@suse.de>
19482
664a9ce4
AJ
19483 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19484 definition via __MAP_ANONYMOUS.
19485
8e39047d
AJ
19486 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19487 it's not part of Linux headers.
19488
67525cb8
AJ
19489 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19490 (MAP_HUGE_MASK): Define.
19491
19492 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19493 Define.
19494 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19495 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19496 Define.
19497 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19498 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19499 Define.
19500 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19501 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
19502 Define.
19503 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19504
19505 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
19506 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
19507 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
19508 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
19509 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
19510 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
19511
19512 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19513 Handle f2fs.
19514
19515 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19516 Handle f2fs and efivarfs.
19517
19518 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
19519 f2fs.
19520
19521 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
19522 (EFIVARFS_MAGIC): Add.
19523 (F2FS_LINK_MAX): Add.
19524
e1b42695
PP
195252013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19526
19527 * stdio-common/vfprintf.c: Replace __builtin_expect with
19528 __glibc_unlikely.
19529
2d67d91a
JM
195302013-03-06 Joseph Myers <joseph@codesourcery.com>
19531
19532 [BZ #13550]
19533 * sysdeps/generic/bp-sym.h: Remove file.
19534 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
19535 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
19536 <bp-sym.h> and <bp-asm.h>.
19537 (__longjmp): Don't use BP_SYM.
19538 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
19539 and <bp-asm.h>.
19540 (memcpy): Don't use BP_SYM.
19541 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
19542 <bp-sym.h> and <bp-asm.h>.
19543 (memcpy): Don't use BP_SYM.
19544 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
19545 <bp-asm.h>.
19546 (memcpy): Don't use BP_SYM.
19547 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
19548 <bp-asm.h>.
19549 (memset): Don't use BP_SYM.
19550 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19551 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19552 (__bzero): Don't use BP_SYM.
19553 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19554 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19555 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
19556 <bp-sym.h> and <bp-asm.h>.
19557 (memcmp): Don't use BP_SYM. Remove comment about bounded
19558 pointers.
19559 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
19560 <bp-sym.h> and <bp-asm.h>.
19561 (memcpy): Don't use BP_SYM.
19562 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
19563 <bp-sym.h> and <bp-asm.h>.
19564 (memset): Don't use BP_SYM.
19565 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19566 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19567 (__bzero): Don't use BP_SYM.
19568 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19569 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19570 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
19571 <bp-sym.h> and <bp-asm.h>.
19572 (strncmp): Don't use BP_SYM. Remove comment about bounded
19573 pointers.
19574 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
19575 <bp-sym.h> and <bp-asm.h>.
19576 (memcpy): Don't use BP_SYM.
19577 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
19578 <bp-sym.h> and <bp-asm.h>.
19579 (memset): Don't use BP_SYM.
19580 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19581 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19582 (__bzero): Don't use BP_SYM.
19583 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19584 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19585 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
19586 <bp-sym.h> and <bp-asm.h>.
19587 (__memchr): Don't use BP_SYM.
19588 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
19589 <bp-sym.h> and <bp-asm.h>.
19590 (memcmp): Don't use BP_SYM. Remove comment about bounded
19591 pointers.
19592 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
19593 <bp-sym.h> and <bp-asm.h>.
19594 (memcpy): Don't use BP_SYM.
19595 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
19596 <bp-sym.h> and <bp-asm.h>.
19597 (__mempcpy): Don't use BP_SYM.
19598 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
19599 <bp-sym.h> and <bp-asm.h>.
19600 (__memrchr): Don't use BP_SYM.
19601 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
19602 <bp-sym.h> and <bp-asm.h>.
19603 (memset): Don't use BP_SYM.
19604 (__bzero): Likewise.
19605 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
19606 <bp-sym.h> and <bp-asm.h>.
19607 (__rawmemchr): Don't use BP_SYM.
19608 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
19609 <bp-sym.h> and <bp-asm.h>.
19610 (__STRCMP): Don't use BP_SYM.
19611 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
19612 <bp-sym.h> and <bp-asm.h>.
19613 (strchr): Don't use BP_SYM.
19614 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
19615 <bp-sym.h> and <bp-asm.h>.
19616 (__strchrnul): Don't use BP_SYM.
19617 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
19618 <bp-sym.h> and <bp-asm.h>.
19619 (strlen): Don't use BP_SYM.
19620 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
19621 <bp-sym.h> and <bp-asm.h>.
19622 (strncmp): Don't use BP_SYM. Remove comment about bounded
19623 pointers.
19624 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
19625 <bp-sym.h> and <bp-asm.h>.
19626 (__strnlen): Don't use BP_SYM.
19627 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
19628 <bp-sym.h> and <bp-asm.h>.
19629 (__GI__setjmp): Don't use BP_SYM.
19630 (_setjmp): Likewise.
19631 (__sigsetjmp): Likewise.
19632 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
19633 (L(start_addresses)): Don't use BP_SYM.
19634 (_start): Likewise.
19635 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
19636 <bp-asm.h>.
19637 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
19638 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
19639 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19640 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19641 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
19642 <bp-asm.h>.
19643 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
19644 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
19645 about bounded pointers.
19646 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19647 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19648 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
19649 <bp-asm.h>.
19650 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19651 about bounded pointers. Remove GKM FIXME comments.
19652 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19653 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
19654 <bp-asm.h>.
19655 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
19656 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
19657 Remove GKM FIXME comments.
19658 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19659 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19660 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
19661 <bp-asm.h>.
19662 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19663 about bounded pointers. Remove GKM FIXME comment.
19664 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
19665 and <bp-asm.h>.
19666 (strncmp): Don't use BP_SYM. Remove comment about bounded
19667 pointers.
19668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
19669 <bp-sym.h> and <bp-asm.h>.
19670 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
19672 <bp-sym.h> and <bp-asm.h>.
19673 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19674 comment.
19675
cdcf361f
PP
196762013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19677
19678 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
19679 call free(NULL).
19680
3c4a2b15
DM
196812013-03-05 David S. Miller <davem@davemloft.net>
19682
19683 * po/es.po: Update from translation team.
19684
cdcf361f 196852013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
19686
19687 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
19688 <bits/mman-linux.h>.
19689 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19690 is fine.
19691 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
19692 <bits/mman-linux.h> to end of file.
19693 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19694 is fine.
19695 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
19696 <bits/mman-linux.h> to end of file.
19697 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19698 is fine.
19699 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
19700 <bits/mman-linux.h> to end of file.
19701
19702 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
19703 (MCL_CURRENT, MCL_FUTURE): Define here.
19704
5f67c04f
AK
197052013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19706
8a4473cc 19707 [BZ #15232]
5f67c04f
AK
19708 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
19709 attribute_hidden.
19710 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19711
c3e94a95
AK
197122013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19713
19714 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
19715 fourth parameter needed for rt_sigprocmask syscall.
19716 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19717 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19718 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19719 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19720 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19721 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
19722
cfb6382a
JM
197232013-03-04 Joseph Myers <joseph@codesourcery.com>
19724
19725 [BZ #13550]
19726 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
19727 comment about bounded pointers.
19728 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
19729 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
19730
539d8e01
AJ
197312013-03-04 Andreas Jaeger <aj@suse.de>
19732
19733 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
19734 common definitions.
19735
19736 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
19737 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
19738 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
19739 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19740 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
19741 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19742
2e167a70 197432013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
19744
19745 [BZ #15055]
19746 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19747 __ieee754_sqrl instead of __sqrl.
19748
68508633
JM
197492013-03-01 Joseph Myers <joseph@codesourcery.com>
19750
19751 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
19752 * sysdeps/powerpc/fpu_control.h: ... here.
19753 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
19754 * sysdeps/powerpc/bits/fenvinline.h: ... here.
19755 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
19756 * sysdeps/powerpc/bits/mathinline.h: ... here.
19757
7775448e
RM
197582013-03-01 Roland McGrath <roland@hack.frob.com>
19759
19760 * elf/dl-hwcaps.c (_dl_important_hwcaps):
19761 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
19762 to just [NEED_DL_SYSINFO_DSO].
19763 * elf/dl-support.c: Likewise.
19764 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19765 * elf/rtld.c (dl_main): Likewise.
19766 * elf/setup-vdso.h (setup_vdso): Likewise.
19767 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
19768 * sysdeps/unix/sysv/linux/dl-sysdep.c
19769 (_dl_discover_osversion): Likewise.
19770
4e9b5995
CD
197712013-03-01 Carlos O'Donell <carlos@redhat.com>
19772
19773 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
19774 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19775
e23872c8
SP
197762013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
19777
e5c74c63
SP
19778 * NEWS: Mention libm performance improvements and non-x86 PI
19779 futex support.
19780
e23872c8
SP
19781 * csu/libc-start.c (__pthread_initialize_minimal): Change
19782 function arguments.
19783 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19784
b5510883
JM
197852013-02-28 Joseph Myers <joseph@codesourcery.com>
19786
19787 [BZ #13550]
19788 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
19789 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
19790 <bp-sym.h> and <bp-asm.h>.
19791 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19792 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
19793 and <bp-asm.h>.
19794 (memcpy): Don't use BP_SYM.
19795 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
19796 <bp-asm.h>.
19797 (__mpn_add_n): Don't use BP_SYM.
19798 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
19799 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
19800 and <bp-asm.h>.
19801 (__mpn_addmul_1): Don't use BP_SYM.
19802 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19803 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
19804 <bp-sym.h>.
19805 (_setjmp): Don't use BP_SYM.
19806 (__novmx_setjmp): Likewise.
19807 (__GI__setjmp): Likewise.
19808 (__vmx_setjmp): Likewise.
19809 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
19810 <bp-sym.h>.
19811 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
19812 (__bzero): Don't use BP_SYM.
19813 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19814 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19815 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
19816 <bp-sym.h> and <bp-asm.h>.
19817 (memcpy): Don't use BP_SYM.
19818 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
19819 <bp-sym.h> and <bp-asm.h>.
19820 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19821 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
19822 <bp-sym.h> and <bp-asm.h>.
19823 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19824 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
19825 <bp-asm.h>.
19826 (__mpn_lshift): Don't use BP_SYM.
19827 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19828 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
19829 <bp-asm.h>.
19830 (memset): Don't use BP_SYM.
19831 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19832 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19833 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
19834 <bp-asm.h>.
19835 (__mpn_mul_1): Don't use BP_SYM.
19836 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19837 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
19838 <bp-sym.h> and <bp-asm.h>.
19839 (memcmp): Don't use BP_SYM.
19840 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
19841 <bp-sym.h> and <bp-asm.h>.
19842 (memcpy): Don't use BP_SYM.
19843 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
19844 <bp-sym.h> and <bp-asm.h>.
19845 (memset): Don't use BP_SYM.
19846 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
19847 <bp-sym.h> and <bp-asm.h>.
19848 (strncmp): Don't use BP_SYM.
19849 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
19850 <bp-sym.h> and <bp-asm.h>.
19851 (memcpy): Don't use BP_SYM.
19852 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
19853 <bp-sym.h> and <bp-asm.h>.
19854 (memset): Don't use BP_SYM.
19855 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
19856 <bp-sym.h> and <bp-asm.h>.
19857 (__memchr): Don't use BP_SYM.
19858 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
19859 <bp-sym.h> and <bp-asm.h>.
19860 (memcmp): Don't use BP_SYM.
19861 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
19862 <bp-sym.h> and <bp-asm.h>.
19863 (memcpy): Don't use BP_SYM.
19864 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
19865 <bp-sym.h> and <bp-asm.h>.
19866 (__mempcpy): Don't use BP_SYM.
19867 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
19868 <bp-sym.h> and <bp-asm.h>.
19869 (__memrchr): Don't use BP_SYM.
19870 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
19871 <bp-sym.h> and <bp-asm.h>.
19872 (memset): Don't use BP_SYM.
19873 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
19874 <bp-sym.h> and <bp-asm.h>.
19875 (__rawmemchr): Don't use BP_SYM.
19876 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
19877 <bp-sym.h> and <bp-asm.h>.
19878 (__STRCMP): Don't use BP_SYM.
19879 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
19880 <bp-sym.h> and <bp-asm.h>.
19881 (strchr): Don't use BP_SYM.
19882 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
19883 <bp-sym.h> and <bp-asm.h>.
19884 (__strchrnul): Don't use BP_SYM.
19885 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
19886 <bp-sym.h> and <bp-asm.h>.
19887 (strlen): Don't use BP_SYM.
19888 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
19889 <bp-sym.h> and <bp-asm.h>.
19890 (strncmp): Don't use BP_SYM.
19891 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
19892 <bp-sym.h> and <bp-asm.h>.
19893 (__strnlen): Don't use BP_SYM.
19894 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
19895 <bp-asm.h>.
19896 (__mpn_rshift): Don't use BP_SYM.
19897 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19898 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
19899 <bp-sym.h> and <bp-asm.h>.
19900 (__sigsetjmp): Don't use BP_SYM.
19901 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
19902 (L(start_addresses)): Don't use BP_SYM.
19903 (_start): Likewise.
19904 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
19905 <bp-asm.h>.
19906 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
19907 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19908 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19909 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
19910 <bp-asm.h>.
19911 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
19912 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19913 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19914 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
19915 <bp-asm.h>.
19916 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19917 comments.
19918 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19919 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
19920 <bp-asm.h>.
19921 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
19922 FIXME comments.
19923 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19924 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19925 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
19926 <bp-asm.h>.
19927 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19928 comment.
19929 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
19930 and <bp-asm.h>.
19931 (strncmp): Don't use BP_SYM,
19932 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
19933 <bp-asm.h>.
19934 (__mpn_sub_n): Don't use BP_SYM.
19935 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19936 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
19937 and <bp-asm.h>.
19938 (__mpn_submul_1): Don't use BP_SYM.
19939 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
19941 <bp-sym.h> and <bp-asm.h>.
19942 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
19944 <bp-sym.h> and <bp-asm.h>.
19945 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19946 comment.
19947
8d19fe64
SP
199482013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19949
19950 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
19951 Use ZK to minimize writes to Z.
19952 (sub_magnitudes): Simplify code a bit.
19953 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
19954 Use ZK to minimize writes to Z.
19955 (sub_magnitudes): Simplify code a bit.
19956
85bd816a
RM
199572013-02-27 Roland McGrath <roland@hack.frob.com>
19958
19959 * csu/gmon-start.c: Add special exception to license text.
19960
b5977bf2
RH
199612013-02-27 Richard Henderson <rth@redhat.com>
19962
19963 * scripts/config.guess: Update from config.git.
19964 * scripts/config.sub: Likewise.
19965
11d6e2f2
SP
199662013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19967
09c14ed2
SP
19968 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
19969
a688864e
SP
19970 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
19971
6295157a
SP
19972 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
19973
b8de2202
SP
19974 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
19975
11d6e2f2
SP
19976 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
19977
7e80ddb8
RM
199782013-02-26 Roland McGrath <roland@hack.frob.com>
19979
19980 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
19981 [$(build-shared = yes].
7e80ddb8 19982
7da6d9ed
SP
199832013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19984
45f05884
SP
19985 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
19986 (__mul): Reduce iterations for calculating mantissa.
19987
2236d359
SP
19988 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
19989 MPTWO.
19990 (__mpranred): Likewise.
19991
7da6d9ed
SP
19992 [BZ #15160]
19993 * malloc/memusagestat.c (main): Draw graphs for heap and stack
19994 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
19995
b7688c42
PE
199962013-02-26 Paul Eggert <eggert@cs.ucla.edu>
19997
19998 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
19999 Define __attribute__.
20000
53a5c423
SP
200012013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20002
20003 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20004 unused.
20005 * posix/regex_internal.h (__attribute): Remove.
20006 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20007 (re_string_context_at): Likewise.
20008 (bitset_not): Use __attribute__ and mark function as possibly
20009 unused.
20010 (bitset_merge): Likewise.
20011 (bitset_mask): Likewise.
20012 (re_string_char_size_at): Likewise.
20013 (re_string_wchar_at): Likewise.
20014 (re_string_elem_size_at): Likewise.
20015
60f5a8b5
SP
200162013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20017
2a983a2e
SP
20018 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20019 code.
20020 (cc32): Likewise.
20021
e69804d1
SP
20022 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20023 (__acr): Likewise.
20024 (__cpy): Likewise.
20025 (norm): Likewise.
20026 (denorm): Likewise.
20027 (__dbl_mp): Likewise.
20028 (add_magnitudes): Likewise.
20029 (sub_magnitudes): Likewise.
20030 (__mul): Likewise.
20031 (__inv): Likewise.
20032
2f22a1e8
SP
20033 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20034 style.
20035
8930ddc7
SP
20036 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20037 style.
20038
dc60cb11
SP
20039 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20040 code.
20041
60f5a8b5
SP
20042 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20043 up changes with default code.
20044 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20045 Likewise.
20046
b4d1fd33
AM
200472013-02-24 Allan McRae <allan@archlinux.org>
20048
faf6f8bc
AM
20049 * manual/socket.texi (The Internet Namespace): Order menu items
20050 to match that in the file.
20051
b4d1fd33
AM
20052 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20053 node listing of the info page menu.
20054
2366713d
JM
200552013-02-21 Joseph Myers <joseph@codesourcery.com>
20056
20057 [BZ #13550]
20058 * sysdeps/i386/bp-asm.h: Remove file.
20059 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20060 (PARMS): Do not use macros from bp-asm.h.
20061 (S1): Likewise.
20062 (S2): Likewise.
20063 (SIZE): Likewise.
20064 (__mpn_add_n): Do not use BP_SYM
20065 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20066 "bp-asm.h".
20067 (PARMS): Do not use macros from bp-asm.h.
20068 (S1): Likewise.
20069 (SIZE): Likewise.
20070 (__mpn_addmul_1): Do not use BP_SYM
20071 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20072 "bp-asm.h".
20073 (PARMS): Do not use macros from bp-asm.h.
20074 (SIGMSK): Likewise.
20075 (_setjmp): Likewise. Do not use BP_SYM.
20076 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20077 "bp-asm.h".
20078 (PARMS): Do not use macros from bp-asm.h.
20079 (SIGMSK): Likewise.
20080 (setjmp): Likewise. Do not use BP_SYM.
20081 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20082 "bp-asm.h".
20083 (PARMS): Do not use macros from bp-asm.h.
20084 (__frexp): Do not use BP_SYM.
20085 (frexp): Likewise.
20086 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20087 "bp-asm.h".
20088 (PARMS): Do not use macros from bp-asm.h.
20089 (__frexpf): Do not use BP_SYM.
20090 (frexpf): Likewise.
20091 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20092 "bp-asm.h".
20093 (PARMS): Do not use macros from bp-asm.h.
20094 (__frexpl): Do not use BP_SYM.
20095 (frexpl): Likewise.
20096 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20097 "bp-asm.h".
20098 (PARMS): Do not use macros from bp-asm.h.
20099 (__remquo): Do not use BP_SYM.
20100 (remquo): Likewise.
20101 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20102 "bp-asm.h".
20103 (PARMS): Do not use macros from bp-asm.h.
20104 (__remquof): Do not use BP_SYM.
20105 (remquof): Likewise.
20106 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20107 "bp-asm.h".
20108 (PARMS): Do not use macros from bp-asm.h.
20109 (__remquol): Do not use BP_SYM.
20110 (remquol): Likewise.
20111 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20112 "bp-asm.h".
20113 (PARMS): Do not use macros from bp-asm.h.
20114 (DEST): Likewise.
20115 (SRC): Likewise.
20116 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
20117 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20118 "bp-asm.h".
20119 (PARMS): Do not use macros from bp-asm.h.
20120 (strlen): Do not use BP_SYM.
20121 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20122 "bp-asm.h".
20123 (PARMS): Do not use macros from bp-asm.h.
20124 (S1): Likewise.
20125 (S2): Likewise.
20126 (SIZE): Likewise.
20127 (__mpn_add_n): Do not use BP_SYM.
20128 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20129 "bp-asm.h".
20130 (PARMS): Do not use macros from bp-asm.h.
20131 (S1): Likewise.
20132 (SIZE): Likewise.
20133 (__mpn_addmul_1): Do not use BP_SYM.
20134 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20135 weak_alias.
20136 (bzero): Likewise.
20137 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20138 "bp-asm.h".
20139 (PARMS): Do not use macros from bp-asm.h.
20140 (S): Likewise.
20141 (SIZE): Likewise.
20142 (__mpn_lshift): Do not use BP_SYM.
20143 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20144 "bp-asm.h".
20145 (PARMS): Do not use macros from bp-asm.h.
20146 (DEST): Likewise.
20147 (SRC): Likewise.
20148 (LEN): Likewise.
20149 (memcpy): Likewise. Do not use BP_SYM.
20150 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20151 libc_hidden_def and weak_alias.
20152 (mempcpy): Do not use BP_SYM in weak_alias.
20153 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20154 "bp-asm.h".
20155 (PARMS): Do not use macros from bp-asm.h.
20156 (DEST): Likewise.
20157 (LEN): Likewise.
20158 [!BZERO_P] (CHR): Likewise.
20159 (memset): Likewise. Do not use BP_SYM.
20160 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20161 "bp-asm.h".
20162 (PARMS): Do not use macros from bp-asm.h.
20163 (S1): Likewise.
20164 (SIZE): Likewise.
20165 (__mpn_mul_1): Do not use BP_SYM.
20166 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20167 "bp-asm.h".
20168 (PARMS): Do not use macros from bp-asm.h.
20169 (S): Likewise.
20170 (SIZE): Likewise.
20171 (__mpn_rshift): Do not use BP_SYM.
20172 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20173 "bp-asm.h".
20174 (PARMS): Do not use macros from bp-asm.h.
20175 (STR): Likewise.
20176 (CHR): Likewise.
20177 (strchr): Likewise. Do not use BP_SYM.
20178 (index): Do not use BP_SYM in weak_alias.
20179 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20180 "bp-asm.h".
20181 (PARMS): Do not use macros from bp-asm.h.
20182 (DEST): Likewise.
20183 (SRC): Likewise.
20184 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
20185 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20186 "bp-asm.h".
20187 (PARMS): Do not use macros from bp-asm.h.
20188 (strlen): Do not use BP_SYM.
20189 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20190 "bp-asm.h".
20191 (PARMS): Do not use macros from bp-asm.h.
20192 (S1): Likewise.
20193 (S2): Likewise.
20194 (SIZE): Likewise.
20195 (__mpn_sub_n): Do not use BP_SYM.
20196 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20197 "bp-asm.h".
20198 (PARMS): Do not use macros from bp-asm.h.
20199 (S1): Likewise.
20200 (SIZE): Likewise.
20201 (__mpn_submul_1): Do not use BP_SYM.
20202 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20203 "bp-asm.h".
20204 (PARMS): Do not use macros from bp-asm.h.
20205 (S1): Likewise.
20206 (S2): Likewise.
20207 (SIZE): Likewise.
20208 (__mpn_add_n): Do not use BP_SYM.
20209 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20210 weak_alias.
20211 (bzero): Likewise.
20212 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20213 "bp-asm.h".
20214 (PARMS): Do not use macros from bp-asm.h.
20215 (BLK2): Likewise.
20216 (LEN): Likewise.
20217 (memcmp): Do not use BP_SYM.
20218 (bcmp): Do not use BP_SYM in weak_alias.
20219 * sysdeps/i386/i686/memcpy.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 (SRC): Likewise.
20224 (LEN): Likewise.
20225 (memcpy): Likewise. Do not use BP_SYM.
20226 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20227 "bp-asm.h".
20228 (PARMS): Do not use macros from bp-asm.h.
20229 (DEST): Likewise.
20230 (SRC): Likewise.
20231 (LEN): Likewise.
20232 (memmove): Likewise. Do not use BP_SYM.
20233 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20234 "bp-asm.h".
20235 (PARMS): Do not use macros from bp-asm.h.
20236 (DEST): Likewise.
20237 (SRC): Likewise.
20238 (LEN): Likewise.
20239 (__mempcpy): Likewise. Do not use BP_SYM.
20240 (mempcpy): Do not use BP_SYM in weak_alias.
20241 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20242 "bp-asm.h".
20243 (PARMS): Do not use macros from bp-asm.h.
20244 (DEST): Likewise.
20245 (LEN): Likewise.
20246 [!BZERO_P] (CHR): Likewise.
20247 (memset): Likewise. Do not use BP_SYM.
20248 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20249 "bp-asm.h".
20250 (PARMS): Do not use macros from bp-asm.h.
20251 (STR2): Likewise.
20252 (strcmp): Do not use BP_SYM.
20253 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20254 "bp-asm.h".
20255 (PARMS): Do not use macros from bp-asm.h.
20256 (STR): Likewise.
20257 (DELIM): Likewise.
20258 [USE_AS_STRTOK_R] (SAVE): Likewise.
20259 (FUNCTION): Likewise. Do not use BP_SYM.
20260 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20261 aliases.
20262 (strtok_r): Likewise.
20263 (__GI___strtok_r): Likewise.
20264 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20265 (PARMS): Do not use macros from bp-asm.h.
20266 (S): Likewise.
20267 (SIZE): Likewise.
20268 (__mpn_lshift): Do not use BP_SYM.
20269 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20270 (PARMS): Do not use macros from bp-asm.h.
20271 (STR): Likewise.
20272 (CHR): Likewise.
20273 (__memchr): Do not use BP_SYM.
20274 (memchr): Do not use BP_SYM in weak_alias.
20275 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20276 (PARMS): Do not use macros from bp-asm.h.
20277 (BLK2): Likewise.
20278 (LEN): Likewise.
20279 (memcmp): Do not use BP_SYM.
20280 (bcmp): Do not use BP_SYM in weak_alias.
20281 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20282 (PARMS): Do not use macros from bp-asm.h.
20283 (S1): Likewise.
20284 (SIZE): Likewise.
20285 (__mpn_mul_1): Do not use BP_SYM.
20286 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20287 "bp-asm.h".
20288 (PARMS): Do not use macros from bp-asm.h.
20289 (STR): Likewise.
20290 (CHR): Likewise.
20291 (__rawmemchr): Do not use BP_SYM.
20292 (rawmemchr): Do not use BP_SYM in weak_alias.
20293 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20294 (PARMS): Do not use macros from bp-asm.h.
20295 (S): Likewise.
20296 (SIZE): Likewise.
20297 (__mpn_rshift): Do not use BP_SYM.
20298 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20299 (PARMS): Do not use macros from bp-asm.h.
20300 (SIGMSK): Likewise.
20301 (__sigsetjmp): Likewise. Do not use BP_SYM.
20302 * sysdeps/i386/start.S: Do not include "bp-sym.h".
20303 (_start): Do not use BP_SYM.
20304 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20305 (PARMS): Do not use macros from bp-asm.h.
20306 (DEST): Likewise.
20307 (SRC): Likewise.
20308 (__stpcpy): Likewise. Do not use BP_SYM.
20309 (stpcpy): Do not use BP_SYM in weak_alias.
20310 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20311 "bp-asm.h".
20312 (PARMS): Do not use macros from bp-asm.h.
20313 (DEST): Likewise.
20314 (SRC): Likewise.
20315 (LEN): Likewise.
20316 (__stpncpy): Likewise. Do not use BP_SYM.
20317 (stpncpy): Do not use BP_SYM in weak_alias.
20318 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20319 (PARMS): Do not use macros from bp-asm.h.
20320 (STR): Likewise.
20321 (CHR): Likewise.
20322 (strchr): Likewise. Do not use BP_SYM.
20323 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20324 "bp-asm.h".
20325 (PARMS): Do not use macros from bp-asm.h.
20326 (STR): Likewise.
20327 (CHR): Likewise.
20328 (__strchrnul): Likewise. Do not use BP_SYM.
20329 (strchrnul): Do not use BP_SYM in weak_alias.
20330 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20331 "bp-asm.h".
20332 (PARMS): Do not use macros from bp-asm.h.
20333 (STOP): Likewise.
20334 (strcspn): Do not use BP_SYM.
20335 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20336 "bp-asm.h".
20337 (PARMS): Do not use macros from bp-asm.h.
20338 (STR): Likewise.
20339 (STOP): Likewise.
20340 (strpbrk): Likewise. Do not use BP_SYM.
20341 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20342 "bp-asm.h".
20343 (PARMS): Do not use macros from bp-asm.h.
20344 (STR): Likewise.
20345 (CHR): Likewise.
20346 (strrchr): Likewise. Do not use BP_SYM.
20347 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20348 (PARMS): Do not use macros from bp-asm.h.
20349 (SKIP): Likewise.
20350 (strspn): Do not use BP_SYM.
20351 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20352 (PARMS): Do not use macros from bp-asm.h.
20353 (STR): Likewise.
20354 (DELIM): Likewise.
20355 (SAVE): Likewise.
20356 (FUNCTION): Likewise. Do not use BP_SYM.
20357 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20358 aliases.
20359 (strtok_r): Likewise.
20360 (__GI___strtok_r): Likewise.
20361 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20362 (PARMS): Do not use macros from bp-asm.h.
20363 (S1): Likewise.
20364 (S2): Likewise.
20365 (SIZE): Likewise.
20366 (__mpn_sub_n): Do not use BP_SYM.
20367 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20368 "bp-asm.h".
20369 (PARMS): Do not use macros from bp-asm.h.
20370 (S1): Likewise.
20371 (SIZE): Likewise.
20372 (__mpn_submul_1): Do not use BP_SYM.
20373 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20374 <bp-sym.h>.
20375 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20376 and <bp-asm.h>.
20377 (PARMS): Do not use macros from bp-asm.h.
20378 (FLAGS): Likewise.
20379 (PTID): Likewise.
20380 (TLS): Likewise.
20381 (CTID): Likewise.
20382 (__clone): Do not use BP_SYM.
20383 (clone): Do not use BP_SYM in weak_alias.
20384 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20385 and <bp-asm.h>.
20386 (PARMS): Do not use macros from bp-asm.h.
20387 (LEN): Likewise.
20388 (__mmap64): Do not use BP_SYM.
20389 (mmap64): Do not use BP_SYM in weak_alias.
20390 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20391 <bp-sym.h> and <bp-asm.h>.
20392 (PARMS): Do not use macros from bp-asm.h.
20393 (__posix_fadvise64_l64): Do not use BP_SYM.
20394 * sysdeps/unix/sysv/linux/i386/semtimedop.S
20395 (PARMS): Do not use macros from bp-asm.h.
20396 (NSOPS): Likewise.
20397 (semtimedop): Do not use BP_SYM.
20398 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20399 and <bp-asm.h>.
20400
582a3cff
AM
204012013-02-21 Allan McRae <allan@archlinux.org>
20402
20403 * manual/message.texi (Charset conversion in gettext):
20404 Move @end statement to beginning of line.
20405
bab8a695
SP
204062013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20407
80945231
SP
20408 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20409 static.
20410 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20411 Likewise.
20412
bab8a695
SP
20413 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20414 (denorm): Likewise.
20415 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20416 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20417
e21d7aa7
AK
204182013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20419
20420 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20421 tail-call to the resolved function if pltexit isn't needed.
20422
4c7a4263
SP
204232013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20424
20425 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20426 or Y being zero as being unlikely.
20427 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20428 Likewise.
20429
41f49342
CD
204302013-02-20 Carlos O'Donell <carlos@redhat.com>
20431
20432 * manual/nss.texi (System Databases and Name Service Switch):
20433 Remove frobnicate @pxref.
20434
50022a93
TS
204352013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20436
20437 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20438 __attribute__ ((unused)) to __attribute__ ((__unused__)).
20439
08cbd996
PM
204402013-02-20 Petr Machata <pmachata@redhat.com>
20441
20442 * elf/elf.h (R_ARM_TARGET1): New macro.
20443 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20444 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20445 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20446 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20447 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20448 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20449 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20450 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20451 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20452 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20453 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20454 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20455 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20456 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20457 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20458 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20459 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20460 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20461 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20462 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20463 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20464 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20465 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20466 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20467 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20468 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20469 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20470 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20471 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20472 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20473 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20474 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20475 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20476 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20477 (R_ARM_THM_GOT_BREL12): Likewise.
20478 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20479 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20480 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20481 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20482 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20483 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20484 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20485 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20486 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20487
c7b275d6
TS
204882013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20489
20490 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20491 __attribute_used__ to __attribute__ ((unused)).
20492
20cd7fb3
SP
204932013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20494
20495 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
20496 powerpc mpa.c.
20497 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
20498 comment formatting.
20499 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
20500
92945b52
JM
205012013-02-19 Joseph Myers <joseph@codesourcery.com>
20502
20503 [BZ #13550]
20504 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
20505 Remove macro.
20506 (ENTER): Remove both macro definitions.
20507 (LEAVE): Likewise.
20508 (CHECK_BOUNDS_LOW): Likewise.
20509 (CHECK_BOUNDS_HIGH): Likewise.
20510 (CHECK_BOUNDS_BOTH): Likewise.
20511 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
20512 (RETURN_BOUNDED_POINTER): Likewise.
20513 (RETURN_NULL_BOUNDED_POINTER): Likewise.
20514 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
20515 (POP_ERRNO_LOCATION_RETURN): Likewise.
20516 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
20517 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20518 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
20519 macros.
20520 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20521 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
20522 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
20523 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
20524 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
20525 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
20526 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
20527 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
20528 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
20529 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
20530 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
20531 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
20532 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20533 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
20534 removed macros.
20535 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20536 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
20537 macros.
20538 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20539 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
20540 * sysdeps/i386/i586/memset.S (memset): Likewise.
20541 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
20542 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20543 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
20544 macros.
20545 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20546 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
20547 Change uses of L(2) to L(out).
20548 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
20549 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
20550 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
20551 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20552 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
20553 removed macros.
20554 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20555 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
20556 macros.
20557 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20558 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
20559 (RETURN): Do not use macro LEAVE.
20560 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
20561 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
20562 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
20563 * sysdeps/i386/i686/memset.S (memset): Likewise.
20564 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
20565 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
20566 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20567 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
20568 Likewise.
20569 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20570 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
20571 L(1_2) and L(1_3) into L(1).
20572 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20573 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
20574 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20575 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
20576 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20577 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
20578 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
20579 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20580 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
20581 macros.
20582 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
20583 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20584 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
20585 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
20586 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
20587 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20588 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
20589 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
20590 * sysdeps/i386/strcspn.S (strcspn): Likewise.
20591 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
20592 * sysdeps/i386/strrchr.S (strrchr): Likewise.
20593 * sysdeps/i386/strspn.S (strspn): Likewise.
20594 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
20595 conditional code.
20596 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20597 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
20598 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20599 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
20600 L(1_3) into L(1_1).
20601 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
20602 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20603 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
20604 macros.
20605 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20606
2389741a
JJ
206072013-02-19 Jakub Jelinek <jakub@redhat.com>
20608
20609 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
20610 macro.
20611
2016b3cd
SP
206122013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20613
e4f22324
SP
20614 * math/atest-exp.c (exp_mpn): Remove ROUND.
20615 * math/atest-exp2.c (exp_mpn): Likewise.
20616 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
20617
2016b3cd
SP
20618 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
20619 * stdlib/tst-tls-atexit-lib.c: Likewise.
20620 * stdlib/tst-tls-atexit.c: Likewise.
20621
4be9b544
MF
206222013-02-18 Mike Frysinger <vapier@gentoo.org>
20623
20624 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
20625 and __attribute_alloc_size__.
20626
2f62b9ee
MF
206272013-02-18 Mike Frysinger <vapier@gentoo.org>
20628
20629 * include/programs/xmalloc.h: Change __attribute_alloc_size to
20630 __attribute_alloc_size__.
20631 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
20632 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
20633
6ff444c4
MF
206342013-02-18 Mike Frysinger <vapier@gentoo.org>
20635
20636 * include/programs/xmalloc.h: New file.
20637 * catgets/gencat.c: Include it.
20638 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
20639 * elf/pldd.c: Likewise.
20640 * iconv/iconv_charmap.c: Likewise.
20641 * iconv/iconvconfig.c: Likewise.
20642 * iconv/strtab.c: Likewise.
20643 * locale/programs/locale.c: Likewise.
20644 * locale/programs/localedef.h: Likewise.
20645 * locale/programs/simple-hash.c: Likewise.
20646 * nscd/nscd.h: Likewise.
20647 * nss/makedb.c: Likewise.
20648 * sysdeps/generic/ldconfig.h: Likewise.
20649
be179c8a
SP
206502013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20651
ba384f6e
SP
20652 * Versions.def: Add GLIBC_2.18.
20653 * include/link.h (struct link_map): New member l_tls_dtor_count.
20654 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
20655 (__call_tls_dtors): Likewise.
20656 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
20657 __cxa_thread_atexit_impl.
20658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20659 Likewise.
20660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20661 Likewise.
20662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20663 Likewise.
20664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20665 Likewise.
20666 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20667 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
20668 Likewise.
20669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
20670 Likewise.
20671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20672 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20673 Likewise.
20674 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
20675 (tests): Add test case tst-tls-atexit.
20676 (modules-names): Add shared library for tst-tls-atexit.
85891aca 20677 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
20678 (GLIBC_PRIVATE): Add __call_tls_dtors.
20679 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
20680 for libstdc++.
20681 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
20682 * stdlib/tst-tls-atexit.c: New test case.
20683 * stdlib/tst-tls-atexit-lib.c: New test case.
20684
ffaa74cf 20685 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 20686
be179c8a
SP
20687 * elf/Versions (ld): Add _dl_find_dso_for_object.
20688 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
20689 * elf/dl-open.c (_dl_find_dso_for_object): New function.
20690 (dl_open_worker): Use _dl_find_dso_for_object.
20691 * elf/dl-sym.c (do_sym): Likewise.
20692 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
20693
f78b5caa
AK
206942013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20695
20696 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
20697 Syntactic changes only.
20698 (_dl_runtime_profile): Do a tail-call to the resolved function.
20699
29691210
JM
207002013-02-17 Joseph Myers <joseph@codesourcery.com>
20701
20702 [BZ #13550]
20703 * sysdeps/x86_64/bp-asm.h: Remove file.
20704 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
20705 <bp-sym.h> and <bp-asm.h>.
20706 (__clone): Do not use BP_SYM.
20707 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
20708 <bp-sym.h> and <bp-asm.h>.
20709 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20710 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
20711 "bp-asm.h".
20712 (_setjmp): Do not use BP_SYM.
20713 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
20714 "bp-asm.h".
20715 (setjmp): Do not use BP_SYM.
20716 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
20717 libc_hidden_def.
20718 (mempcpy): Do not use BP_SYM in weak_alias.
20719 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
20720 "bp-asm.h".
20721 (strchr): Do not use BP_SYM.
20722 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
20723 "bp-asm.h".
20724 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
20725 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
20726 (_start): Do not use BP_SYM.
20727 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
20728 "bp-asm.h".
20729 (strcat): Do not use BP_SYM.
20730 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
20731 "bp-asm.h".
20732 (STRCMP): Do not use BP_SYM.
20733 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
20734 "bp-asm.h".
20735 (STRCPY): Do not use BP_SYM.
20736 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
20737 "bp-asm.h".
20738 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
20739 "bp-asm.h".
20740 (FUNCTION): Do not use BP_SYM.
20741 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
20742 weak_alias.
20743 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
20744
f238fd19
AJ
207452013-02-17 Andreas Jaeger <aj@suse.de>
20746
20747 * time/Versions: Sort entries.
20748 * string/Versions: Likewise.
20749 * resolv/Versions: Likewise.
20750 * posix/Versions: Likewise.
20751 * iconv/Versions: Likewise.
20752 * elf/Versions: Likewise.
20753 * wcsmbs/Versions: Likewise.
20754
bd07f23c 207552013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 20756
22af19f9
SP
20757 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
20758 loop termination condition.
20759
4709fe76
SP
20760 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
20761 variable to calculate EZ.
20762 (__sqr): Likewise.
2d0e0f29
SP
20763
20764 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
20765 the lower precision input.
20766
daaa7713
JM
207672013-02-15 Joseph Myers <joseph@codesourcery.com>
20768
20769 [BZ #13550]
20770 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
20771 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
20772 (run-via-rtld-prefix): Do not handle %-bp tests.
20773 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
20774 (all-object-suffixes): Remove .ob.
20775 (bppfx): Remove variable.
20776 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
20777 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
20778 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
20779 [$(build-bounded) = yes] (libtype.ob): Likewise.
20780 * Makerules (elide-routines.ob): Remove variable.
20781 (do-tests-clean): Do not handle *-bp.out.
20782 (common-mostlyclean): Do not handle *-bp and *-bp.out.
20783 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
20784 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
20785 (tests): Do not include $(tests-bp.out).
20786 (xtests): Do not include $(xtests-bp.out).
20787 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
20788 [$(build-bounded) = yes] ($(addprefix
20789 $(objpfx),$(binaries-bounded))): Remove rule.
20790 ($(objpfx)%-bp.out): Remove rule.
20791 * config.make.in (build-bounded): Remove variable.
20792 * crypt/Makefile [$(build-bounded) = yes]
20793 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
20794 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
20795 append to variable.
20796 [$(build-bounded) = yes] (install-lib): Likewise.
20797 [$(build-bounded) = yes] (generated): Likewise.
20798 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
20799 Remove rule.
20800 * intl/Makefile [$(build-bounded) = yes]
20801 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
20802 * math/Makefile [$(build-bounded) = yes]
20803 ($(tests:%=$(objpfx)%-bp): Likewise.
20804 * misc/Makefile [$(build-bounded) = yes]
20805 ($(objpfx)tst-tsearch-bp): Likewise.
20806 * nptl/Makeconfig (bounded-thread-library): Remove variable.
20807 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
20808 Remove dependency.
20809 * string/Makefile (o-objects.ob): Remove variable.
20810 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
20811 (CFLAGS-.ob): Remove variable.
20812 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
20813 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
20814 both definitions of variable.
20815 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
20816 (ASFLAGS-.ob): Remove variable.
20817
e97ed6dd
JM
208182013-02-14 Joseph Myers <joseph@codesourcery.com>
20819
2bdd4ca6
JM
20820 [BZ #13550]
20821 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
20822 Remove __BOUNDED_POINTERS__ from condition.
20823 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
20824 * string/bits/string2.h [!__NO_STRING_INLINES &&
20825 !__BOUNDED_POINTERS__]: Likewise.
20826 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
20827 Likewise.
20828 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
20829 Remove conditional code.
20830 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
20831 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
20832 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
20833 condition.
20834
e97ed6dd
JM
20835 [BZ #13550]
20836 * csu/libc-start.c: Do not include <bp-sym.h>.
20837 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
20838 * elf/dl-open.c: Do not include <bp-sym.h>.
20839 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
20840 * math/fegetenv.c: Do not include <bp-sym.h>.
20841 (fegetenv): Do not use BP_SYM in versioned symbols.
20842 * nptl/sysdeps/pthread/bits/libc-lockP.h
20843 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
20844 <bp-sym.h>.
20845 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20846 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
20847 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20848 (__pthread_mutex_destroy): Likewise.
20849 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20850 (__pthread_mutex_lock): Likewise.
20851 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20852 (__pthread_mutex_trylock): Likewise.
20853 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20854 (__pthread_mutex_unlock): Likewise.
20855 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20856 (__pthread_mutexattr_init): Likewise.
20857 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20858 (__pthread_mutexattr_destroy): Likewise.
20859 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20860 (__pthread_mutexattr_settype): Likewise.
20861 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20862 (__pthread_rwlock_init): Likewise.
20863 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20864 (__pthread_rwlock_destroy): Likewise.
20865 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20866 (__pthread_rwlock_rdlock): Likewise.
20867 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20868 (__pthread_rwlock_tryrdlock): Likewise.
20869 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20870 (__pthread_rwlock_wrlock): Likewise.
20871 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20872 (__pthread_rwlock_trywrlock): Likewise.
20873 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20874 (__pthread_rwlock_unlock): Likewise.
20875 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20876 (__pthread_key_create): Likewise.
20877 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20878 (__pthread_setspecific): Likewise.
20879 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20880 (__pthread_getspecific): Likewise.
20881 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
20882 Likewise.
20883 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20884 (_pthread_cleanup_push_defer): Likewise.
20885 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20886 (_pthread_cleanup_pop_restore): Likewise.
20887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20888 (pthread_setcancelstate): Likewise.
20889 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
20890 <bp-sym.h>.
20891 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
20892 (memchr): Do not use BP_SYM in weak_alias.
20893 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
20894 (fegetenv): Do not use BP_SYM in versioned symbols.
20895 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
20896 (fesetenv): Do not use BP_SYM in versioned symbols.
20897 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20898 (feupdateenv): Do not use BP_SYM in versioned symbols.
20899 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20900 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20901 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
20902 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
20903 (open64): Do not use BP_SYM in weak_alias.
20904 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
20905 (fegetenv): Do not use BP_SYM in versioned symbols.
20906 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
20907 (fesetenv): Do not use BP_SYM in versioned symbols.
20908 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20909 (feupdateenv): Do not use BP_SYM in versioned symbols.
20910 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
20911 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
20912 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
20913 (feraiseexcept): Do not use BP_SYM in versioned symbols.
20914 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20915 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20916 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
20917 <bp-sym.h>.
20918 (__libc_start_main): Do not use BP_SYM.
20919
d6752ccd
SP
209202013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20921
cb57ce60
SP
20922 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
20923 redundant return line.
20924 (norm): Likewise.
20925 (denorm): Likewise.
20926 (dbl_mp): Likewise.
20927 (sub_magnitudes): Likewise.
20928 (__add): Likewise.
20929 (__sub): Likewise.
20930 (__mul): Likewise.
20931 (__inv): Likewise.
20932 (__dvd): Likewise.
20933 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
20934 (norm): Likewise.
20935 (denorm): Likewise.
20936 (dbl_mp): Likewise.
20937 (sub_magnitudes): Likewise.
20938 (__add): Likewise.
20939 (__sub): Likewise.
20940 (__mul): Likewise.
20941 (__inv): Likewise.
20942 (__dvd): Likewise.
20943
f414520d
SP
20944 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
20945 instead of __mul.
20946 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20947 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
20948 (cc32): Likewise.
20949
d6752ccd
SP
20950 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
20951 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
20952 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
20953 of __mul for squares.
20954 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
20955 function
20956 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
20957 Likewise.
20958 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
20959 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20960
70d9946a
JM
209612013-02-13 Joseph Myers <joseph@codesourcery.com>
20962
20963 [BZ #13550]
20964 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
20965 code.
20966 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
20967 prototype or function definition. Rename ubp_* variables and
20968 parameters. Remove argv definitions conditional on
20969 [__BOUNDED_POINTERS__].
20970 * debug/backtrace.c (__backtrace): Do not use __unbounded.
20971 * elf/dl-runtime.c (_dl_fixup): Likewise.
20972 * include/set-hooks.h (RUN_HOOK): Likewise.
20973 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
20974 definition.
20975 * string/strcpy.c (strcpy): Do not use __unbounded.
20976 * sysdeps/generic/frame.h (struct layout): Likewise.
20977 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
20978 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
20979 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
20980 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
20981 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
20982 (__backtrace): Likewise.
20983 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
20984 use __ptrvalue.
20985 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20986 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20987 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20988 Likewise.
20989 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
20990 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
20991 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20992 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20993 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
20994 Do not use __unbounded.
20995 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
20996 Rename __unboundedrlimits parameter to rlimits in prototype.
20997 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
20998 Do not use __unbounded.
20999 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21000 not use __ptrvalue.
21001 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21002 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21003 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21004 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21005 __ptrvalue or __unbounded.
21006 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21007 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21008 use __unbounded.
21009 (__new_msgctl): Do not use __ptrvalue.
21010 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21011 __unbounded.
21012 (__libc_msgrcv): Do not use __ptrvalue.
21013 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21014 startup_info): Do not use __unbounded.
21015 (__libc_start_main): Likewise. Rename ubp_* variables and
21016 parameters. Remove argv definitions conditional on
21017 [__BOUNDED_POINTERS__].
21018 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21019 __ptrvalue.
21020 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21021 use __unbounded.
21022 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21023 or __ptrvalue.
21024 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21025 use __unbounded.
21026 (__new_shmctl): Do not use __ptrvalue.
21027 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21028 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21029 Likewise.
21030 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21031 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21032 (__libc_sigaction): Likewise.
21033 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21034 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21035 Likewise.
21036 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21037
cc7834d6
OB
210382013-02-13 Ondřej Bílka <neleai@seznam.cz>
21039
ffb1ec7b 21040 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
21041
21042 * string/mempcpy.c: Implement by calling memcpy.
21043
bdf02814
SP
210442013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21045
c2af38aa
SP
21046 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21047
4e92d59e
SP
21048 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21049 evaluation.
21050
909279a5
SP
21051 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21052 values in the mantissa.
21053
bdf02814
SP
21054 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21055 minimize writes to Z.
21056 (sub_magnitudes): Simplify code a bit.
21057
cd525923
RM
210582013-02-12 Roland McGrath <roland@hack.frob.com>
21059
21060 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21061 from the message. The linker prefixes all warnings with that already.
21062
7e2f0d2d
AS
210632013-02-12 Andreas Schwab <schwab@suse.de>
21064
a445af0b
AS
21065 [BZ #15078]
21066 * posix/regexec.c (extend_buffers): Add parameter min_len.
21067 (check_matching): Pass minimum needed length.
21068 (clean_state_log_if_needed): Likewise.
21069 (get_subexp): Likewise.
21070 * posix/Makefile (tests): Add bug-regex34.
21071 (bug-regex34-ENV): Define.
21072 * posix/bug-regex34.c: New file.
21073
7e2f0d2d
AS
21074 [BZ #11561]
21075 * posix/regcomp.c (parse_bracket_exp): When looking up collating
21076 elements compare against the byte sequence of it, not its name.
21077 * posix/Makefile (tests): Add bug-regex35.
21078 (bug-regex35-ENV): Define.
21079 * posix/bug-regex35.c: New file.
21080
a175b684
TV
210812013-02-11 Tom de Vries <tom@codesourcery.com>
21082
21083 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
21084 comment.
21085 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21086 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21087 (CHECK_EOL): Add undef.
21088
310998fe 210892013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
21090
21091 * bits/stdlib-bsearch.h: New file.
21092 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 21093 * stdlib/stdlib.h: Likewise.
41eda41d 21094
8ded91fb
RM
210952013-02-11 Roland McGrath <roland@hack.frob.com>
21096
21097 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21098 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21099 declaration.
21100 * manual/search.texi (Array Search Function): Add missing const in
21101 lfind prototype.
21102 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21103 declaration to use rlim_t.
21104 (Basic Scheduling Functions): Remove erroneous const from
21105 sched_getparam prototype. Remove erroneous * from
21106 sched_get_priority_max and sched_get_priority_min prototypes.
21107 (Resource Usage): Fix summary @comment on vtimes to refer to
21108 sys/vtimes.h rather than vtimes.h.
21109 Add missing *s in vtimes prototype.
21110 (Limits on Resources): Fix ulimit prototype to return long int.
21111 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21112 prototypes to use long int rather than double.
21113 (BSD Random): Fix initstate and setstate to use char *, not void *.
21114 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21115 prototype to make second argument 'struct aiocb64 *const[]'.
21116 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21117 (Status of AIO Operations): Remove erroneous const in aio_return and
21118 aio_return64 prototypes.
21119 (Synchronizing I/O): Fix sync prototype to return void.
21120 * manual/startup.texi (Suboptions): Remove an erroneous const in
21121 getsubopt prototype.
21122 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21123 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21124 use size_t rather than int.
21125 (Scanning All Users): Likewise for getpwent_r.
21126 (Setting Groups): Add missing const to setgroups prototype.
21127 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21128 * manual/socket.texi (Host Names): Fix gethostbyaddr and
21129 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21130 'const void *' rather than 'const char *'.
21131 (Host Address Functions): Likewise for inet_ntop.
21132 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21133 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21134 ssize_t for return value.
21135 (Sending Data): Likewise for send, sendto, sendmsg.
21136 (Socket Option Functions): Add a missing const in setsockopt prototype.
21137 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21138 use wchar_t for the argument.
21139 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21140 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21141 take no arguments.
21142 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21143 double/float/long double for second argument.
21144 Fix return types of significand, significandf, significandl.
21145 * manual/filesys.texi (Setting Permissions): Use mode_t for second
21146 argument in fchmod prototype.
21147 (File Owner): Use uid_t and gid_t in fchown prototype.
21148 (File Times): Add const to utimes, futimes, and lutimes prototypes.
21149 (Making Special Files): Use mode_t and dev_t in mknod prototype.
21150 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21151 use 'const struct dirent **' as argument types to CMP function pointer
21152 argument.
21153 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21154 (File Times): Fix summary magic @comment for struct utimbuf and utime
21155 to refer to utime.h, not time.h.
21156 * manual/string.texi (Argz Functions): Add missing const in
21157 argz_extract and argz_next prototypes.
21158 (Finding Tokens in a String): Likewise for basename.
21159 (String/Array Comparison): Fix typo in wcscasecmp prototype.
21160 (Copying and Concatenation): Fix typo in wmemmove prototype.
21161 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21162 (Signal Stack): Remove erroneous const in sigstack prototype.
21163 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21164 prototype.
21165 (Simple Calendar Time): Likewise for stime.
21166 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21167 prototype.
21168 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21169 say sys/sysctl.h instead.
21170 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21171 and vsyslog prototypes.
21172
fe77fe6d
TV
211732013-02-11 Tom de Vries <tom@codesourcery.com>
21174
21175 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21176 Remove.
21177
3a09b620
RM
211782013-02-11 Roland McGrath <roland@hack.frob.com>
21179
21180 * misc/sys/mman.h: Fix typo in mremap comment.
21181
550a0b89
RM
211822013-02-08 Roland McGrath <roland@hack.frob.com>
21183
21184 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21185 the '\0' terminator.
21186
a2da1673
JM
211872013-02-08 Joseph Myers <joseph@codesourcery.com>
21188
21189 [BZ #13550]
21190 * debug/segfault.c: Don't include <bp-checks.h>.
21191 * sysdeps/generic/bp-checks.h: Remove file.
21192 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21193 (__GETDENTS): Don't use CHECK_N.
21194 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21195 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21196 (__getgroups): Don't use CHECK_N.
21197 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21198 (setgroups): Don't use CHECK_N.
21199 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21200 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21201 (__libc_msgrcv): Don't use CHECK_N.
21202 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21203 (__libc_msgsnd): Don't use CHECK_N.
21204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21205 <bp-checks.h>.
21206 (__libc_pread): Don't use CHECK_N.
21207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21208 include <bp-checks.h>.
21209 (__libc_pread64): Don't use CHECK_N.
21210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21211 include <bp-checks.h>.
21212 (__libc_pwrite): Don't use CHECK_N.
21213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21214 include <bp-checks.h>.
21215 (__libc_pwrite64): Don't use CHECK_N.
21216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21217 <bp-checks.h>.
21218 (__libc_pread): Don't use CHECK_N.
21219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21220 include <bp-checks.h>.
21221 (__libc_pread64): Don't use CHECK_N.
21222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21223 include <bp-checks.h>.
21224 (__libc_pwrite): Don't use CHECK_N.
21225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21226 include <bp-checks.h>.
21227 (__libc_pwrite64): Don't use CHECK_N.
21228 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21229 (do_pread): Don't use CHECK_N.
21230 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21231 (do_pread64): Don't use CHECK_N.
21232 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21233 (do_pwrite): Don't use CHECK_N.
21234 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21235 (do_pwrite64): Don't use CHECK_N.
21236 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21237 (__libc_readv): Don't use CHECK_N.
21238 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21239 (semop): Don't use CHECK_N.
21240 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21241 <bp-checks.h>.
21242 (semtimedop): Don't use CHECK_N.
21243 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21244 (__libc_pread): Don't use CHECK_N.
21245 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21246 <bp-checks.h>.
21247 (__libc_pread64): Don't use CHECK_N.
21248 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21249 <bp-checks.h>.
21250 (__libc_pwrite): Don't use CHECK_N.
21251 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21252 <bp-checks.h>.
21253 (__libc_pwrite64): Don't use CHECK_N.
21254 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21255 <bp-checks.h>.
21256 (__libc_msgrcv): Don't use CHECK_N.
21257 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21258 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
21259 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21260 (__libc_writev): Don't use CHECK_N.
21261
b84660a8
RM
212622013-02-08 Roland McGrath <roland@hack.frob.com>
21263
7f3e75f8
RM
21264 * string/strcpy.c: Removed unused variable.
21265
b84660a8
RM
21266 * Makeconfig (+sysdep-includes): Define with := rather than =.
21267 Use an existing include/ subdir of each sysdeps dir before it.
21268
471514d3
CD
212692013-02-08 Carlos O'Donell <carlos@redhat.com>
21270
21271 * nscd/connection.c (register_traced_file): Comment function.
21272 [HAVE_INOTIFY] (union __inev): Define.
21273 [HAVE_INOTIFY] (inotify_check_files): New function.
21274 [HAVE_INOTIFY] (clear_db_cache): Likewise.
21275 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21276 clear_db_cache.
21277 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21278
b2d3c3be
CD
212792013-02-08 Carlos O'Donell <carlos@redhat.com>
21280
21281 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21282 loaded if not already and that a failure is permanent.
21283
b39949d2
CD
212842013-02-08 Carlos O'Donell <carlos@redhat.com>
21285
ddacd1db 21286 [BZ #15006]
b39949d2
CD
21287 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21288 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21289
b2c9eff4
JM
212902013-02-08 Joseph Myers <joseph@codesourcery.com>
21291
f3aae3f3
JM
21292 [BZ #13550]
21293 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21294 (CHECK_1_NULL_OK): Likewise.
21295 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21296 (__fxstat): Do not use CHECK_1.
21297 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21298 <bp-checks.h>.
21299 (___fxstat64): Do not use CHECK_1.
21300 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21301 <bp-checks.h>.
21302 (__fxstatat): Do not use CHECK_1.
21303 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21304 <bp-checks.h>.
21305 (__fxstatat64): Do not use CHECK_1.
21306 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21307 <bp-checks.h>.
21308 (__fxstat): Do not use CHECK_1.
21309 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21310 <bp-checks.h>.
21311 (__fxstatat): Do not use CHECK_1.
21312 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21313 <bp-checks.h>.
21314 (__getresgid): Do not use CHECK_1.
21315 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21316 <bp-checks.h>.
21317 (__getresuid): Do not use CHECK_1.
21318 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21319 <bp-checks.h>.
21320 (__lxstat): Do not use CHECK_1.
21321 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21322 <bp-checks.h>.
21323 (__old_msgctl): Do not use CHECK_1.
21324 (__new_msgctl): Likewise.
21325 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21326 <bp-checks.h>.
21327 (__new_setrlimit): Do not use CHECK_1.
21328 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21329 <bp-checks.h>.
21330 (__old_shmctl): Do not use CHECK_1.
21331 (__new_shmctl): Likewise.
21332 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21333 <bp-checks.h>.
21334 (__xstat): Do not use CHECK_1.
21335 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21336 (__lxstat): Do not use CHECK_1.
21337 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21338 <bp-checks.h>.
21339 (___lxstat64): Do not use CHECK_1.
21340 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21341 (__old_msgctl): Do not use CHECK_1.
21342 (__new_msgctl): Likewise.
21343 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21344 <bp-checks.h>.
21345 (__gettimeofday): Do not use CHECK_1.
21346 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21347 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21348 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21349 <bp-checks.h>.
21350 (__gettimeofday): Do not use CHECK_1.
21351 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21352 (__old_shmctl): Do not use CHECK_1_NULL_OK.
21353 (__new_shmctl): Do not use CHECK_1.
21354 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21355 <bp-checks.h>.
21356 (do_sigtimedwait): Do not use CHECK_1.
21357 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21358 <bp-checks.h>.
21359 (do_sigwaitinfo): Do not use CHECK_1.
21360 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21361 <bp-checks.h>.
21362 (msgctl): Do not use CHECK_1.
21363 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21364 <bp-checks.h>.
21365 (shmctl): Do not use CHECK_1.
21366 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21367 (ustat): Do not use CHECK_1.
21368 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21369 <bp-checks.h>.
21370 (__fxstat): Do not use CHECK_1.
21371 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21372 <bp-checks.h>.
21373 (__fxstatat): Do not use CHECK_1.
21374 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21375 <bp-checks.h>.
21376 (__lxstat): Do not use CHECK_1.
21377 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21378 <bp-checks.h>.
21379 (__xstat): Do not use CHECK_1.
21380 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21381 (__xstat): Do not use CHECK_1.
21382 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21383 (___xstat64): Do not use CHECK_1.
21384
b2c9eff4
JM
21385 [BZ #13550]
21386 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21387 definitions.
21388 (CHECK_BOUNDS_HIGH): Likewise.
21389 * string/strcpy.c: Do not include <bp-checks.h>.
21390 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21391
f1d70dad
RM
213922013-02-07 Roland McGrath <roland@hack.frob.com>
21393
21394 * nscd/nscd-client.h (__nscd_drop_map_ref):
21395 Add __attribute__ ((unused)).
21396 * nis/nss-nisplus.h (niserr2nss): Likewise.
21397
21398 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21399 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21400
21401 * csu/libc-tls.c (init_static_tls, init_slotinfo):
21402 Remove inline keyword.
21403 * include/rounding-mode.h (round_away): Likewise.
21404 * libio/wfileops.c (adjust_wide_data): Likewise.
21405 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21406 (__m128i_strloadu_tolower): Likewise.
21407 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21408 (__m128i_strloadu_tolower): Likewise.
21409 * time/mktime.c (ydhms_diff): Likewise.
21410 * locale/elem-hash.h (elem_hash): Likewise.
21411 * locale/setlocale.c (setdata): Likewise.
21412 * posix/regex_internal.h (re_string_char_size_at): Likewise.
21413 (re_string_wchar_at): Likewise.
21414 (bitset_not, bitset_merge, bitset_mask): Likewise.
21415 [!(__GNUC__ > 3)] (inline): Remove macro.
21416 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21417 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21418 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21419 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21420 * string/memcmp.c (memcmp_bytes): Likewise.
21421 * locale/programs/locarchive.c (compute_hashval): Likewise.
21422 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21423 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21424 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21425 * nss/getent.c (print_rpc, print_protocols): Likewise.
21426 (print_passwd, print_group, print_aliases): Likewise.
21427 * nis/nss-nisplus.h (niserr2nss): Likewise.
21428 * nscd/connections.c (restart_p): Likewise.
21429 Change return type to bool.
21430
eab55bfb
RM
214312013-02-05 Roland McGrath <roland@hack.frob.com>
21432
7bd642f5
RM
21433 * Makeconfig (all-Depend-files): Add existing
21434 $(sorted-subdirs:=/Depend) files.
21435 (all-subdirs): Remove nss.
21436 * sysdeps/unix/inet/Subdirs: Add it here instead.
21437 * hesiod/Depend: New file.
21438
573c29b2
RM
21439 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21440 instead of calling alloca.
21441
b2e25af0
RM
21442 * io/lseek.c (__lseek): Rename to __libc_lseek.
21443 Define __lseek as an alias.
21444
eab55bfb
RM
21445 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21446
9a0d1941
CD
214472013-02-04 Carlos O'Donell <carlos@redhat.com>
21448
21449 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21450 else clause and remove check for non-standard endianness.
21451
b83bbec4
DM
214522013-02-04 David S. Miller <davem@davemloft.net>
21453
21454 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21455
6277fdab
JM
214562013-02-04 Joseph Myers <joseph@codesourcery.com>
21457
21458 [BZ #13550]
21459 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21460 (__ubp_memchr): Remove prototype.
21461 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21462 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21463 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21464 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21465 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21466 Remove alias.
21467 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21468 (__ubp_memchr): Likewise.
21469 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21470 (__ubp_memchr): Likewise.
21471 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21472 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21473 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21474 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21475 CHECK_STRING.
21476 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21477 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21478 (__getcwd): Do not use CHECK_STRING.
21479 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21480 <bp-checks.h>.
21481 (__real_chown): Do not use CHECK_STRING.
21482 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21483 <bp-checks.h>.
21484 (fchownat): Do not use CHECK_STRING.
21485 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21486 CHECK_STRING.
21487 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21488 <bp-checks.h>.
21489 (__lchown): Do not use CHECK_STRING.
21490 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21491 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21492 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21493 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21495 include <bp-checks.h>.
21496 (truncate64): Do not use CHECK_STRING.
21497 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21498 <bp-checks.h>.
21499 (__real_chown): Do not use CHECK_STRING.
21500 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21501 <bp-checks.h>.
21502 (__lchown): Do not use CHECK_STRING.
21503 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21504 <bp-checks.h>.
21505 (__chown): Do not use CHECK_STRING.
21506 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
21507 <bp-checks.h>.
21508 (truncate64): Do not use CHECK_STRING.
21509 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
21510 Likewise.
21511 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
21512 (__xmknod): Do not use CHECK_STRING.
21513 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
21514 <bp-checks.h>.
21515 (__xmknodat): Do not use CHECK_STRING.
21516 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21517 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21518
903ae060
AS
215192013-02-04 Andreas Schwab <schwab@suse.de>
21520
21521 [BZ #14142]
21522 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
21523 * include/netdb.h: Likewise for h_errno.
21524 * elf/tst-stackguard1.c: Include <tls.h>.
21525
542f9466
JK
215262013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
21527
21528 * elf/link.h (struct link_map): Extend the l_addr comment.
21529 * include/link.h (struct link_map): Likewise.
21530
e782a927
JM
215312013-02-01 Joseph Myers <joseph@codesourcery.com>
21532
21533 [BZ #13550]
21534 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
21535 (BOUNDED_1): Remove macro.
21536 * debug/backtrace.c: Don't include <bp-checks.h>.
21537 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
21538 (__backtrace): Likewise.
21539 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
21540 <bp-checks.h>.
21541 (__backtrace): Don't use BOUNDED_1.
21542 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
21543 <bp-checks.h>.
21544 (__backtrace): Don't use BOUNDED_1.
21545 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
21546 (__backtrace): Don't use BOUNDED_1.
21547 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
21548 (shmat): Don't use BOUNDED_N.
21549
8cf28c5e
JM
215502013-01-31 Joseph Myers <joseph@codesourcery.com>
21551
3a7ac8a0
JM
21552 [BZ #13550]
21553 * sysdeps/generic/bp-start.h: Remove file.
21554 * csu/libc-start.c: Don't include <bp-start.h>.
21555 (LIBC_START_MAIN): Set up __environ directly instead of using
21556 INIT_ARGV_and_ENVIRON.
21557 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
21558 <bp-start.h>.
21559
f3499f95
JM
21560 [BZ #13550]
21561 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
21562 definitions.
21563 (CHECK_FCNTL): Likewise.
21564 (CHECK_N_PAGES): Likewise.
21565
32a45bea
JM
21566 [BZ #13550]
21567 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
21568 definitions.
21569 (CHECK_SIGSET_NULL_OK): Likewise.
21570 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
21571 <bp-checks.h>.
21572 (sigpending): Don't use CHECK_SIGSET.
21573 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
21574 <bp-checks.h>.
21575 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21576 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
21577 <bp-checks.h>.
21578 (do_sigsuspend): Don't use CHECK_SIGSET.
21579 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
21580 use CHECK_SIGSET.
21581 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
21582 (do_sigwait): Don't use CHECK_SIGSET.
21583 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
21584 use CHECK_SIGSET.
21585 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
21586 include <bp-checks.h>.
21587 (sigpending): Don't use CHECK_SIGSET.
21588 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
21589 include <bp-checks.h>.
21590 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21591 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
21592 <bp-checks.h>.
21593 (sigpending): Don't use CHECK_SIGSET.
21594 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
21595 <bp-checks.h>.
21596 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21597
2e8a5c8c
JM
21598 [BZ #13550]
21599 * sysdeps/generic/bp-semctl.h: Remove file.
21600 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
21601 <bp-checks.h> and <bp-semctl.h>.
21602 (__old_semctl): Don't use CHECK_SEMCTL.
21603 (__new_semctl): Likewise.
21604 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
21605 and <bp-semctl.h>.
21606 (__old_semctl): Don't use CHECK_SEMCTL.
21607 (__new_semctl): Likewise.
21608 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
21609 <bp-checks.h> and <bp-semctl.h>.
21610 (__old_semctl): Don't use CHECK_SEMCTL.
21611 (__new_semctl): Likewise.
21612 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
21613 <bp-checks.h> and <bp-semctl.h>.
21614 (semctl): Don't use CHECK_SEMCTL.
21615
c2d54929
JM
21616 [BZ #13550]
21617 * Makerules (elide-bp-thunks): Remove variable.
21618 (elide-routines.oS): Don't use $(elide-bp-thunks).
21619 (elide-routines.os): Likewise.
21620 (elide-routines.o): Likewise.
21621 (elide-routines.op): Likewise.
21622 (elide-routines.og): Likewise.
21623 (objects): Don't use $(bp-thunks).
21624 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
21625 include.
21626 (common-generated): Do not add s-proto-bp.d.
21627 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
21628 (int): Likewise.
21629 (typ): Likewise.
21630 Do not generate makefile rules for bounded-pointer thunks.
21631 * sysdeps/generic/bp-thunks.h: Remove file.
21632 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
21633 * sysdeps/unix/s-proto-bp.S: Likewise.
21634
8cf28c5e
JM
21635 [BZ #15062]
21636 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
21637 parts of result separately when argument is not close to line from
21638 -i to i and one part of argument is small.
21639 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21640 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21641 * math/libm-test.inc (cacos_test): Add more tests.
21642 (casin_test): Likewise.
21643 (casinh_test): Likewise.
21644 * sysdeps/i386/fpu/libm-test-ulps: Update.
21645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21646
c4e33b8d
DM
216472013-01-31 David S. Miller <davem@davemloft.net>
21648
21649 * po/de.po: Update from translation team.
21650
3b60b421
MK
216512013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
21652
21653 * time/tzfile.c: Include stdint.h for SIZE_MAX.
21654
bb931195
TS
216552013-01-25 Thomas Schwinge <thomas@codesourcery.com>
21656
b5a5da23
TS
21657 * configure.in (_AC_PROG_CC_C89): New definition.
21658 * configure: Regenerate.
21659
bb931195
TS
21660 * configure.in (AC_PROG_CPP): New definition.
21661 * configure: Regenerate.
21662
8c53a12c
JM
216632013-01-23 Joseph Myers <joseph@codesourcery.com>
21664
21665 * debug/tst-backtrace.h: New file.
21666 * debug/tst-backtrace2.c: Include tst-backtrace.h.
21667 (ret): Remove variable.
21668 (x): Likewise.
21669 (FAIL): Remove macro.
21670 (NO_INLINE): Likewise.
21671 (fn1): Use match function instead of strstr.
21672 * debug/tst-backtrace3.c: Include tst-backtrace.h.
21673 (ret): Remove variable.
21674 (x): Likewise.
21675 (FAIL): Remove macro.
21676 (NO_INLINE): Likewise.
21677 (fn): Use match function instead of strstr.
21678 * debug/tst-backtrace4.c: Include tst-backtrace.h.
21679 (ret): Remove variable.
21680 (x): Likewise.
21681 (FAIL): Remove macro.
21682 (NO_INLINE): Likewise.
21683 (handle_signal): Use match function instead of strstr.
21684 * debug/tst-backtrace5.c: Include tst-backtrace.h.
21685 (ret): Remove variable.
21686 (x): Likewise.
21687 (FAIL): Remove macro.
21688 (NO_INLINE): Likewise.
21689 (handle_signal): Use match function instead of strstr.
21690
4858fa2a
RM
216912013-01-23 Roland McGrath <roland@hack.frob.com>
21692
21693 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
21694
bae8e7f5
DM
216952013-01-23 David S. Miller <davem@davemloft.net>
21696
21697 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
21698 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
21699 argument of CAS if possible.
21700 * sysdeps/sparc/sparc64/bits/atomic.h
21701 (__arch_compare_and_exchange_val_32_acq): Likewise.
21702 (__arch_compare_and_exchange_val_64_acq): Likewise.
21703
9cbbc4ae
PT
217042013-01-23 Pino Toscano <toscano.pino@tiscali.it>
21705
21706 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
21707 * sysdeps/posix/ulimit.c: ... this.
92a601b8 21708 Include <limits.h>.
67b3f58c 21709 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 21710
5655a0b5
AC
217112013-01-23 Adam Conrad <adconrad@0c3.net>
21712
21713 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
21714 (LDFLAGS-tst-array5): Likewise.
21715
052aff95
JM
217162013-01-23 Joseph Myers <joseph@codesourcery.com>
21717
21718 [BZ #15036]
21719 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
21720 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
21721 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
21722 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
21723
7c1e01aa
DM
217242013-01-21 David S. Miller <davem@davemloft.net>
21725
21726 * sysdeps/sparc/backtrace.c: New file.
21727 * sysdeps/sparc/sparc32/backtrace.h: New file.
21728 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
21729 * sysdeps/sparc/sparc64/backtrace.h: New file.
21730 * sysdeps/sparc/sparc64/backtrace.c: Delete.
21731 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
21732 -funwind-tables.
21733
ab087e0a
AS
217342013-01-21 Andreas Schwab <schwab@suse.de>
21735
21736 [BZ #15020]
21737 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
21738 closed its stdout.
21739
ed689c2f
AS
217402013-01-20 Andreas Schwab <schwab@linux-m68k.org>
21741
21742 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
21743 "mpa2.h".
21744 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21745
31d470ac
JM
217462013-01-18 Joseph Myers <joseph@codesourcery.com>
21747 Mark Mitchell <mark@codesourcery.com>
21748 Tom de Vries <tom@codesourcery.com>
21749 Paul Pluzhnikov <ppluzhnikov@google.com>
21750
21751 * debug/tst-backtrace2.c: New file.
21752 * debug/tst-backtrace3.c: Likewise.
21753 * debug/tst-backtrace4.c: Likewise.
21754 * debug/tst-backtrace5.c: Likewise.
21755 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
21756 (CFLAGS-tst-backtrace3.c): Likewise.
21757 (CFLAGS-tst-backtrace4.c): Likewise.
21758 (CFLAGS-tst-backtrace5.c): Likewise.
21759 (LDFLAGS-tst-backtrace2): Likewise.
21760 (LDFLAGS-tst-backtrace3): Likewise.
21761 (LDFLAGS-tst-backtrace4): Likewise.
21762 (LDFLAGS-tst-backtrace5): Likewise.
21763 (tests): Add new tests tst-backtrace2, tst-backtrace3,
21764 tst-backtrace4 and tst-backtrace5.
21765
90567f30 217662013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
21767 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21768
21769 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
21770 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
21771 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
21772 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
21773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21774 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
21775 "+r" and remove output regs list as redundant. Add explicit inline
21776 asm to specify register of return val to work around compiler codegen
21777 bug. Remove (int) cast on return value. Add return type parameter to
21778 use in macro so that this macro does not truncate return value for
21779 64-bit values.
21780 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
21781 pass to INTERNAL_VSYSCALL_NCS.
21782 (INLINE_VSYSCALL): Add 'long int' as return type to
21783 INTERNAL_VSYSCALL_NCS macro invocation.
21784 (INTERNAL_VSYSCALL): Add 'long int' as return type to
21785 INTERNAL_VSYSCALL_NCS macro invocation.
21786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21787
d3b9ea61
SP
217882013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21789
0b57daeb
SP
21790 [BZ #14496]
21791 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
21792 Fix application of SIMD FP exception mask.
21793
caa99d06
SP
21794 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
21795 mp_no from a power of two.
21796 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
21797 __mpexp_twomm1. Use __pow_mp.
21798
d3b9ea61
SP
21799 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
21800 multiplication.
21801
1dbaee3c
DM
218022013-01-17 David S. Miller <davem@davemloft.net>
21803
21804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21805
728d7b43
JM
218062013-01-17 Joseph Myers <joseph@codesourcery.com>
21807
21808 [BZ #15023]
21809 * include/complex.h: Condition contents on [!_COMPLEX_H].
21810 (__kernel_casinhf): New prototype.
21811 (__kernel_casinh): Likewise.
21812 (__kernel_casinhl): Likewise.
21813 * math/Makefile (libm_calls): Add k_casinh.
21814 * math/k_casinh.c: New file.
21815 * math/k_casinhf.c: Likewise.
21816 * math/k_casinhl.c: Likewise.
21817 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
21818 finite nonzero arguments.
21819 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
21820 finite nonzero arguments.
21821 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
21822 finite nonzero arguments.
21823 * math/s_casinh.c: Do not include <float.h>.
21824 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
21825 * math/s_casinhf.c: Do not include <float.h>.
21826 (__casinhf): Move code for finite nonzero arguments to
21827 k_casinhf.c.
21828 * math/s_casinhl.c: Do not include <float.h>.
21829 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
21830 redefine.
21831 (__casinhl): Move code for finite nonzero arguments to
21832 k_casinhl.c.
21833 * math/libm-test.inc (cacos_test): Add more tests.
21834 * sysdeps/i386/fpu/libm-test-ulps: Update.
21835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21836
2a26ef3a
PT
218372013-01-17 Pino Toscano <toscano.pino@tiscali.it>
21838
21839 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
21840 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
21841 [!HAVE_MREMAP]: Remove [defined linux] case.
21842 * malloc/arena.c: Do not include <malloc-sysdep.h>.
21843
a897655d
SP
218442013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21845
21846 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
21847
881ebe89 218482013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
21849
21850 * elf/elf.h (R_386_SIZE32): New relocation.
21851 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
21852 R_386_SIZE32.
21853 (elf_machine_rela): Likewise.
21854 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21855 R_X86_64_SIZE64 and R_X86_64_SIZE32.
21856
59981e9b
JM
218572013-01-17 Joseph Myers <joseph@codesourcery.com>
21858
21859 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
21860 (FP_FAST_FMA): Do not define.
21861 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
21862 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
21863 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
21864 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
21865 !_SOFT_FLOAT]: Likewise.
21866 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
21867 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
21868 value.
21869 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
21870 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
21871 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
21872 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
21873 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
21874 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
21875 file.
21876
cfa8054f
AS
218772013-01-16 Andreas Schwab <schwab@suse.de>
21878
21879 [BZ #14327]
21880 * include/stdlib.h (__mktemp): Add declaration.
21881 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
21882 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
21883
dd930cc5
SP
218842013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21885
881ebe89
SP
21886 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
21887 definitions.
21888 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21889 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
21890 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
21891 definitions here.
21892 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
21893 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
21894 definitions.
21895 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
21896 and ONE.
21897 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
21898 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
21899 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
21900 definitions.
21901 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
21902 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
21903 definitions.
21904 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 21905
dd930cc5
SP
21906 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
21907
c19a9f89
DM
219082013-01-15 David S. Miller <davem@davemloft.net>
21909
1aa61767
DM
21910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21911 trunc{,f} to libm-sysdep_routes.
21912 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
21914 file.
21915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
21916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
21917 file.
21918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
21919 file.
21920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
21921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
21922 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
21923 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
21924 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
21925 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
21926 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
21927 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
21928
c42d5e98
DM
21929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21930 nearbyint{,f} to libm-sysdep_routes.
21931 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
21933 New file.
21934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
21935 file.
21936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
21937 New file.
21938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
21939 file.
21940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
21941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
21942 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
21943 file.
21944 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
21945 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
21946 file.
21947 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
21948 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
21949 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
21950
c19a9f89
DM
21951 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21952 libc_feholdexcept and libc_fesetenv.
21953
357679d2
MF
219542013-01-15 Mike Frysinger <vapier@gentoo.org>
21955
21956 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
21957
65a82e3d
DM
219582013-01-14 David S. Miller <davem@davemloft.net>
21959
8b954ab9
DM
21960 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
21961 (SPARC_ASM_VIS2_IFUNC): Likewise.
21962 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
21963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
21964 use of 'siam' instruction.
21965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
21966 Likewise.
21967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
21968 Likewise.
21969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
21970 Likewise.
21971 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
21972 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
21973 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
21974 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
21975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
21976 file.
21977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
21978 file.
21979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
21980 file.
21981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
21982 file.
21983 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
21984 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
21985 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
21986 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
21987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
21988 new VIS2 routines.
21989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21992 Likewise.
21993 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21994 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21995 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21996 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
21998 routines to libm-sysdep_routines.
21999 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22000
65a82e3d
DM
22001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22002 fdim/fdimf to libm-sysdep_routines.
22003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22004 file.
22005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22007 file.
22008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22011 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22012 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22013 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22014 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22015
e34ab705
SP
220162013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22017
2a91b573
SP
22018 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22019 to optimize copies.
22020
1066a534
SP
22021 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22022 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22023 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22024
e34ab705
SP
22025 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22026 local variable MPTWO.
22027 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22028 Likewise.
22029
aba5e596
MF
220302013-01-13 Mike Frysinger <vapier@gentoo.org>
22031
22032 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22033 GLOB_NOESCAPE.
22034
e557e9e5
MF
220352013-01-13 Mike Frysinger <vapier@gentoo.org>
22036
22037 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22038
0428cec9
MF
220392013-01-13 Mike Frysinger <vapier@gentoo.org>
22040
22041 * manual/pattern.texi (glob_t): Document gl_flags.
22042 (glob64_t): Likewise.
22043
8794a964
DM
220442013-01-11 David S. Miller <davem@davemloft.net>
22045
66438c3f
RM
22046 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22047 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22048 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
22049 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22050 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22051 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22052 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22053 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22054 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22055 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22056 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22057 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22058 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22059
4ae4244d
DM
22060 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22061 sparc V9 rather than using V8 code.
22062 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22063 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22064
8794a964
DM
22065 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22066 Move to...
22067 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22068 Here.
22069
6270516e
RM
220702013-01-11 Roland McGrath <roland@hack.frob.com>
22071
22072 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22073 not in the main loop.
22074 * configure: Regenerated.
22075
6a57d931
JM
220762013-01-11 Joseph Myers <joseph@codesourcery.com>
22077
22078 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22079 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22080 to just #else.
22081 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
22082 [!__GLIBC_HAVE_LONG_LONG] case.
22083 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22084 condition to just #else.
22085 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22086 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22087 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22088 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22089 unconditional.
22090 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22091 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22092 #elif condition to just #else.
22093 * sysdeps/unix/sysv/linux/sys/sysmacros.h
22094 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22095 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22096 #elif condition to just #else.
22097
0e8529e9
SE
220982013-01-11 Steve Ellcey <sellcey@mips.com>
22099
22100 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22101 (EF_MIPS_ARCH_64): Fix value.
22102 (EF_MIPS_ARCH_32R2): New.
22103 (EF_MIPS_ARCH_64R2): New.
22104
740b3dbe
L
221052013-01-11 H.J. Lu <hongjiu.lu@intel.com>
22106
22107 * Makeconfig (+link-pie-before-libc): New.
22108 (+link-pie-after-libc): Likewise.
22109 (+link-pie-tests): Likewise.
22110 (+link-pie): Rewritten.
22111 (link-before-libc): Remove $(config-LDFLAGS).
22112 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22113 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22114 (config-LDFLAGS): Renamed to ...
22115 (rtld-LDFLAGS): This.
22116 (rtld-tests-LDFLAGS): New macro.
22117 (link-libc-rpath-link): Likewise.
22118 (link-libc-tests-rpath-link): Likewise.
22119 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22120 (link-libc): Prepand $(link-libc-rpath-link).
22121 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22122 (test-program-prefix): New macro.
22123 (test-via-rtld-prefix): Likewise.
22124 (test-program-cmd): Likewise.
22125 (host-test-program-cmd): Likewise.
22126 * Makefile ($(common-objpfx)testrun.sh): Replace
22127 $(run-program-prefix) with $(test-program-prefix).
22128 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22129 $(rtld-LDFLAGS).
22130 ($(common-objpfx)shlib.lds): Likewise.
22131 (build-module-helper): Likewise.
22132 ($(common-objpfx)format.lds): Likewise.
22133 * Rules (binaries-pie-tests): New.
22134 (binaries-pie-notests): Likewise.
22135 (binaries-pie): Rewritten.
22136 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22137 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22138 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22139 (make-test-out): Replace $(host-built-program-cmd) with
22140 $(host-test-program-cmd).
22141 * config.make.in (build-hardcoded-path-in-tests): New variable.
22142 * configure.in (--enable-hardcoded-path-in-tests): New configure
22143 option.
22144 (hardcoded_path_in_tests): New AC_SUBST.
22145 * configure: Regenerated.
22146 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22147 $(built-program-cmd) with $(test-program-cmd).
22148 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22149 (test_program_cmd): This.
22150 * elf/Makefile ($(objpfx)order.out): Run test with
22151 $(test-program-prefix).
22152 ($(objpfx)order2.out): Likewise.
22153 ($(objpfx)tst-initorder.out): Likewise.
22154 ($(objpfx)tst-initorder2.out): Likewise.
22155 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22156 $(test-program-cmd).
22157 ($(objpfx)tst-array1-static.out): Likewise.
22158 ($(objpfx)tst-array2.out): Likewise.
22159 ($(objpfx)tst-array3.out): Likewise.
22160 ($(objpfx)tst-array4.out): Likewise.
22161 ($(objpfx)tst-array5.out): Likewise.
22162 ($(objpfx)tst-array5-static.out): Likewise.
22163 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22164 $(test-program-cmd).
22165 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22166 $(run-program-prefix) with $(test-program-prefix).
22167 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22168 (test_program_prefix): This.
22169 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22170 $(run-program-prefix) with $(test-program-prefix).
22171 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22172 (test_program_prefix): This.
22173 * iconvdata/tst-tables.sh: Likewise.
22174 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22175 $(run-program-prefix) with $(test-program-prefix).
22176 ($(objpfx)tst-translit.out): Likewise.
22177 ($(objpfx)tst-gettext2.out): Likewise.
22178 ($(objpfx)tst-gettext4.out): Likewise.
22179 ($(objpfx)tst-gettext6.out): Likewise.
22180 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22181 (test_program_prefix): This.
22182 * intl/tst-gettext2.sh: Likewise.
22183 * intl/tst-gettext4.sh Likewise.
22184 * intl/tst-gettext6.sh: Likewise.
22185 * intl/tst-translit.sh: Likewise.
22186 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22187 with $(test-program-cmd).
22188 * libio/Makefile ($(objpfx)test-freopen.out): Replace
22189 $(run-program-prefix) with $(test-program-prefix).
22190 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22191 (test_program_prefix): This.
22192 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22193 $(run-program-prefix) with $(test-program-prefix).
22194 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22195 (test_program_prefix): This.
22196 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22197 * posix/Makefile ($(objpfx)globtest.out): Replace
22198 $(run-via-rtld-prefix) and $(test-wrapper) with
22199 $(test-program-prefix) and $(test-via-rtld-prefix).
22200 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22201 $(test-program-prefix).
22202 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22203 $(host-test-program-cmd).
22204 (tst-spawn-ARGS): Likewise.
22205 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22206 $(test-program-prefix).
22207 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22208 (test_via_rtld_prefix): This.
22209 (test_wrapper): Renamed to ...
22210 (test_program_prefix): This.
22211 (run_program_prefix): Replaced by test_program_prefix.
22212 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22213 (test_program_prefix): This.
22214 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22215 with $(host-test-program-cmd).
22216 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22217 $(run-program-prefix) with $(test-program-prefix).
22218 ($(objpfx)tst-printf.out): Likewise.
22219 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22220 $(test-program-cmd).
22221 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22222 (test_program_prefix): This.
22223 * stdio-common/tst-unbputc.sh: Likewise.
22224 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22225 $(run-program-prefix) with $(test-program-prefix).
22226 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22227 (test_program_prefix): This.
22228 * string/Makefile ($(objpfx)tst-svc.out): Replace
22229 $(built-program-cmd) with $(test-program-cmd).
22230
c6fe55cf
AJ
222312013-01-11 Andreas Jaeger <aj@suse.de>
22232
22233 [BZ #15003]
22234 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22235 value. Sync with Linux 3.7.
22236
9e6919c8
DM
222372013-01-10 David S. Miller <davem@davemloft.net>
22238
22239 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22240 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22241 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22242
1c9f1a02
RM
222432013-01-10 Roland McGrath <roland@hack.frob.com>
22244
22245 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22246 never set.
22247 * configure: Regenerated.
22248
b9de2dde
DM
222492013-01-10 David S. Miller <davem@davemloft.net>
22250
22251 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22252 sparc V9 rather than using V8 code.
22253 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22254 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22255
e7f68ef4
RM
222562013-01-10 Roland McGrath <roland@hack.frob.com>
22257
22258 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22259 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22260 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22261 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22262 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22263 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22264 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22265 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22266 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22267 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22268 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22269 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22270 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22271 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22272 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22273 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22274 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22275 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22276 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22277 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22278 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22279 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22280 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22281 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22282 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22283 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22284 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22285
5a47cc9c
DM
222862013-01-10 David S. Miller <davem@davemloft.net>
22287
22288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22289
4cf8f209
L
222902013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22291
22292 * posix/Makefile (tests-static): New variable.
22293 (tests): Add $(tests-static).
22294 (tst-exec-static-ARGS): New variable.
22295 (tst-spawn-static-ARGS): Likewise.
22296 * posix/tst-exec-static.c: New file.
22297 * posix/tst-spawn-static.c: Likewise.
22298 * posix/tst-exec.c: Support run directly.
22299 * posix/tst-spawn.c: Likewise.
22300
fed0faa1
JM
223012013-01-10 Joseph Myers <joseph@codesourcery.com>
22302
828beb13
JM
22303 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22304 long.
22305 * math/bits/mathcalls.h (llrint): Likewise.
22306 (llround): Likewise.
22307 * stdlib/stdlib.h (struct drand48_data): Likewise.
22308 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22309 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22310 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22311 Likewise.
22312 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22313 Likewise.
22314 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22315 (elf_greg_t): Likewise.
22316 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22317 (__jmp_buf): Likewise.
22318 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22319 definitions.
22320 (llrint): Likewise, for all definitions.
22321 (llrintl): Likewise.
22322
fed0faa1
JM
22323 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22324 Remove [__GNUC__] condition.
22325 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22326 condition to just [__USE_ISOC99].
22327 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22328
1a20cb20
L
223292013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22330
22331 [BZ #14200]
22332 * sysdeps/unix/sysv/linux/x86/bits/environments.h
22333 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22334 defined.
22335 (_POSIX_V6_ILP32_OFF32): Likewise.
22336 (_XBS5_ILP32_OFF32): Likewise.
22337 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22338 (__ILP32_OFFBIG_LDFLAGS): Likewise.
22339
751b85f7
SP
223402013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22341
7490eb81
SP
22342 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22343
751b85f7
SP
22344 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22345 doubles __mpexp_twomm1. Adjust usage.
22346 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22347 Remove.
22348
988197f0
AS
223492013-01-10 Andreas Schwab <schwab@suse.de>
22350
22351 [BZ #14964]
22352 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22353 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22354
e83d7298
DM
223552013-01-09 David S. Miller <davem@davemloft.net>
22356
034ed64b 22357 [BZ #15003]
57f41c40
AS
22358 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22359 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22360 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22361 (TCP_FASTOPEN): Define.
e83d7298
DM
22362 (tcp_repair_opt): New structure.
22363 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22364 enum values.
57f41c40
AS
22365 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22366 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22367 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
22368 (tcp_cookie_transactions): New structure.
22369
d5e0b9bd
AB
223702013-01-09 Anton Blanchard <anton@samba.org>
22371
22372 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22373 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22374 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22375 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22376
0c07e3ea
JM
223772013-01-09 Joseph Myers <joseph@codesourcery.com>
22378
22379 * include/features.h (__USE_ANSI): Remove.
22380
232f7002
RM
223812013-01-09 Roland McGrath <roland@hack.frob.com>
22382
ad98e30c
RM
22383 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22384
232f7002
RM
22385 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22386
950c99ca
SP
223872013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
22388
b5792741
SP
22389 * sysdeps/s390/fpu/libm-test-ulps: Update.
22390
47cf2278
SP
22391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22392
950c99ca
SP
22393 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22394 (__acr): Likewise.
22395 (__cpy): Likewise.
22396 (norm): Likewise.
22397 (denorm): Likewise.
22398 (__mp_dbl): Likewise.
22399 (__dbl_mp): Likewise.
22400 (add_magnitudes): Likewise.
22401 (sub_magnitudes): Likewise.
22402 (__add): Likewise.
22403 (__sub): Likewise.
22404 (__mul): Likewise.
22405 (__inv): Likewise.
22406 (__dvd): Likewise.
22407 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22408 (__acr): Likewise.
22409 (__cpy): Likewise.
22410 (norm): Likewise.
22411 (denorm): Likewise.
22412 (__mp_dbl): Likewise.
22413 (__dbl_mp): Likewise.
22414 (add_magnitudes): Likewise.
22415 (sub_magnitudes): Likewise.
22416 (__add): Likewise.
22417 (__sub): Likewise.
22418 (__mul): Likewise.
22419 (__inv): Likewise.
22420 (__dvd): Likewise.
22421 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22422 (__acr): Likewise.
22423 (__cpy): Likewise.
22424 (norm): Likewise.
22425 (denorm): Likewise.
22426 (__mp_dbl): Likewise.
22427 (__dbl_mp): Likewise.
22428 (add_magnitudes): Likewise.
22429 (sub_magnitudes): Likewise.
22430 (__add): Likewise.
22431 (__sub): Likewise.
22432 (__mul): Likewise.
22433 (__inv): Likewise.
22434 (__dvd): Likewise.
22435
eede9df9
JM
224362013-01-08 Joseph Myers <joseph@codesourcery.com>
22437
22438 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22439 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22440 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22441 2 && __USE_EXTERN_INLINES]: Likewise.
22442
c40ea3d9
AJ
224432013-01-08 Andreas Jaeger <aj@suse.de>
22444
22445 [BZ# 14985]
22446 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22447 Remove.
22448 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22449 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22450
2ccdea26
AB
224512013-01-07 Anton Blanchard <anton@samba.org>
22452
22453 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22454 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22455 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22456 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22457 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22458 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22459 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22460 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22461 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22462 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22463 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22464 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22465 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22466 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22467 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22468 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22469 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22470 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22471 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22472 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22473 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22474 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22475 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22476 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22477 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22478 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22479 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22480 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22481 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22482 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22483 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22484 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22485 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22486 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22487 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22488 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22489 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22490 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22491 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
22492 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22493 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
22494 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22495 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22496
a9708fed
JM
224972013-01-07 Joseph Myers <joseph@codesourcery.com>
22498
375607b9
JM
22499 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
22500 (__MALLOC_PMT): Likewise.
22501 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
22502 [__GNUC__], only on [_LIBC].
22503 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22504 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
22505 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22506 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
22507 forward declaration.
22508 (realloc_hook_ini): Likewise.
22509 (memalign_hook_ini): Likewise.
22510 (__libc_memalign): Do not use __MALLOC_PMT in variable
22511 declaration.
22512 (__libc_valloc): Likewise.
22513 (__libc_pvalloc): Likewise.
22514 (__libc_calloc): Likewise.
22515 (__posix_memalign): Likewise.
22516
a9708fed
JM
22517 [BZ #14996]
22518 * math/s_casinh.c: Include <float.h>.
22519 (__casinh): Do not do computation with squaring and square root
22520 for large arguments.
22521 * math/s_casinhf.c: Include <float.h>.
22522 (__casinhf): Do not do computation with squaring and square root
22523 for large arguments.
22524 * math/s_casinhl.c: Include <float.h>.
22525 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
22526 (__casinhl): Do not do computation with squaring and square root
22527 for large arguments.
22528 * math/libm-test.inc (casin_test): Add more tests.
22529 (casinh_test): Likewise.
22530 * sysdeps/i386/fpu/libm-test-ulps: Update.
22531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22532
afec409a
L
225332013-01-04 H.J. Lu <hongjiu.lu@intel.com>
22534
22535 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
22536 (__x86_64_raw_data_cache_size): Likewise.
22537 (__x86_64_data_cache_size_half): Likewise.
22538 (__x86_64_raw_data_cache_size_half): Likewise.
22539 (__x86_64_shared_cache_size): Likewise.
22540 (__x86_64_raw_shared_cache_size): Likewise.
22541 (__x86_64_shared_cache_size_half): Likewise.
22542 (__x86_64_raw_shared_cache_size_half): Likewise.
22543 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
22544 to ...
22545 (__x86_data_cache_size): This.
22546 (__x86_64_raw_data_cache_size): Renamed to ...
22547 (__x86_raw_data_cache_size): This.
22548 (__x86_64_data_cache_size_half): Renamed to ...
22549 (__x86_data_cache_size_half): This.
22550 (__x86_64_raw_data_cache_size_half): Renamed to ...
22551 (__x86_raw_data_cache_size_half): This.
22552 (__x86_64_shared_cache_size): Renamed to ...
22553 (__x86_shared_cache_size): This.
22554 (__x86_64_raw_shared_cache_size): Renamed to ...
22555 (__x86_raw_shared_cache_size): This.
22556 (__x86_64_shared_cache_size_half): Renamed to ...
22557 (__x86_shared_cache_size_half): This.
22558 (__x86_64_raw_shared_cache_size_half): Renamed to ...
22559 (__x86_raw_shared_cache_size_half): This.
22560 * sysdeps/x86_64/memcpy.S: Updated.
22561 * sysdeps/x86_64/memset.S: Likewise.
22562 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22563 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22564 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22565
0b3986d0
DM
225662013-01-04 David S. Miller <davem@davemloft.net>
22567
22568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22569
e47686e9
AS
225702013-01-04 Andreas Schwab <schwab@linux-m68k.org>
22571
d643bac1
AS
22572 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
22573 1 to avoid redefinition warning.
22574 (__USE_GNU): Don't define.
22575 (init_signaling_nan): Protoize.
22576
e47686e9
AS
22577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22578
b18decba
SP
225792013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22580
fffb407f
SP
22581 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
22582 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
22583 (__cpymn): Likewise.
22584 (norm): Remove commented code.
22585 (denorm): Likewise.
22586 (__mp_dbl): Likewise.
22587 (__inv): Likewise.
22588 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
22589 (__cpymn): Likewise.
22590 (norm): Remove commented code.
22591 (denorm): Likewise.
22592 (__mp_dbl): Likewise.
22593 (__inv): Likewise.
22594
b18decba
SP
22595 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
22596 mp_no value for 1.0 and 2.0.
22597 (norm): Use RADIXI instead of radixi.d.
22598 (denorm): Likewise.
22599 (__mul): Use 0.0 instead of zero.d.
22600 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
22601 mp_no value for 1.0 and 2.0.
22602 (norm): Use RADIXI instead of radixi.d.
22603 (denorm): Likewise.
22604 (__mul): Use 0.0 instead of zero.d.
22605
cdc1c96f
JM
226062013-01-04 Joseph Myers <joseph@codesourcery.com>
22607
22608 [BZ #14994]
22609 * math/s_casinh.c (__casinh): Reduce finite argument to first
22610 quadrant then set signs of results at the end.
22611 * math/s_casinhf.c (__casinhf): Likewise.
22612 * math/s_casinhl.c (__casinhl): Likewise.
22613 * math/libm-test.inc (casin_test): Add more tests.
22614 (casinh_test): Likewise.
22615 * sysdeps/i386/fpu/libm-test-ulps: Update.
22616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22617
302913e1
SP
226182013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22619
6420d207
SP
22620 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
22621
a9e48ab4
SP
22622 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
22623
b7837264
SP
22624 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
22625 declarations.
22626 (denorm): Likewise.
22627 (__mp_dbl): Likewise.
22628 (__inv): Likewise.
22629
f8af25d2
SP
22630 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
22631 and adjust the header comment.
22632
302913e1
SP
22633 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
22634 variable name from declaration.
22635
5d7dd1ca
L
226362013-01-03 H.J. Lu <hongjiu.lu@intel.com>
22637
22638 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22639 Initialize COMMON_CPUID_INDEX_7 element.
22640 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
22641 (CPUID_RTM): Likewise.
22642 (HAS_RTM): Likewise.
22643 (COMMON_CPUID_INDEX_7): New enum.
22644
2f5f40f4
AS
226452013-01-03 Andreas Schwab <schwab@linux-m68k.org>
22646
22647 [BZ #14981]
22648 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
22649 size is zero, record memory as freed.
22650
4056f4a0
AJ
226512013-01-03 Andreas Jaeger <aj@suse.de>
22652
22653 * po/ia.po: Add new Interlingua translation.
22654
ab15736f 226552012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
22656
22657 * locale/programs/localedef.c: Fix description of '--posix' flag.
22658
568035b7
JM
226592013-01-02 Joseph Myers <joseph@codesourcery.com>
22660
e6898b8d
JM
22661 * NEWS: Update dates in second copyright notice.
22662 * README: Update copyright dates in example.
22663 * manual/libc.texinfo: Update copyright dates.
22664 * scripts/test-installation.pl: Update copyright date in --version
22665 output.
22666
0e2f9562
JM
22667 * hurd/ctty-input.c: Fix copyright notice formatting.
22668 * hurd/ctty-output.c: Likewise.
22669 * hurd/dtable.c: Likewise.
22670 * hurd/hurd-raise.c: Likewise.
22671 * hurd/hurdprio.c: Likewise.
22672 * hurd/msgportdemux.c: Likewise.
22673 * misc/sys/file.h: Likewise.
22674 * misc/sys/ioctl.h: Likewise.
22675 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22676 * sysdeps/mach/hurd/chdir.c: Likewise.
22677 * sysdeps/mach/hurd/fchdir.c: Likewise.
22678 * sysdeps/mach/hurd/rename.c: Likewise.
22679 * sysdeps/mach/hurd/rmdir.c: Likewise.
22680 * sysdeps/mach/hurd/seekdir.c: Likewise.
22681 * sysdeps/mach/hurd/setsid.c: Likewise.
22682 * sysdeps/posix/wait3.c: Likewise.
22683
568035b7
JM
22684 * All files with FSF copyright notices: Update copyright dates
22685 using scripts/update-copyrights.
22686 * intl/plural.c: Regenerated.
22687 * locale/programs/charmap-kw.h: Likewise.
22688 * locale/programs/locfile-kw.h: Likewise.
22689
da08f647
SP
226902013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22691
0f5477af
SP
22692 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
22693 four values.
22694
44e0d4c2
SP
22695 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
22696 calculation loop and add branch prediction.
22697
4d55b4e5
SP
22698 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
22699 check access beyond bounds of m1np.
22700
da08f647
SP
22701 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22702 MPTWO.
22703 (__inv): Remove local variable MPTWO to use the global
22704 constant.
22705 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
22706 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22707 variable MPTWO.
22708 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
22709 MP3HALFS static const.
22710
8e051029
DM
227112013-01-01 David S. Miller <davem@davemloft.net>
22712
22713 * po/ca.po: Update from translation team.
22714
f4cf5f2d
JM
227152013-01-01 Joseph Myers <joseph@codesourcery.com>
22716
22717 * scripts/update-copyrights: New file.
22718 * Makeconfig: Reformat copyright notice.
22719 * ctype/ctype.h: Likewise.
22720 * debug/swprintf_chk.c: Likewise.
22721 * elf/dl-cache.c: Likewise.
22722 * elf/dl-debug.c: Likewise.
22723 * elf/dl-object.c: Likewise.
22724 * grp/initgroups.c: Likewise.
22725 * hurd/Makefile: Likewise.
22726 * hurd/hurd/signal.h: Likewise.
22727 * hurd/hurdfault.c: Likewise.
22728 * hurd/hurdioctl.c: Likewise.
22729 * hurd/hurdlookup.c: Likewise.
22730 * hurd/intr-msg.c: Likewise.
22731 * iconv/gconv_open.c: Likewise.
22732 * libio/swprintf.c: Likewise.
22733 * locale/lc-ctype.c: Likewise.
22734 * locale/nl_langinfo.c: Likewise.
22735 * mach/Machrules: Likewise.
22736 * mach/Makefile: Likewise.
22737 * malloc/obstack.h: Likewise.
22738 * manual/Makefile: Likewise.
22739 * manual/tsort.awk: Likewise.
22740 * misc/bits/stab.def: Likewise.
22741 * nis/nis_print_group_entry.c: Likewise.
22742 * nis/nis_table.c: Likewise.
22743 * nis/nss_compat/compat-pwd.c: Likewise.
22744 * nis/nss_compat/compat-spwd.c: Likewise.
22745 * po/Makefile: Likewise.
22746 * posix/fnmatch.c: Likewise.
22747 * posix/regex.h: Likewise.
22748 * resolv/Makefile: Likewise.
22749 * resolv/nss_dns/dns-network.c: Likewise.
22750 * resolv/res_hconf.c: Likewise.
22751 * scripts/gen-sorted.awk: Likewise.
22752 * soft-fp/soft-fp.h: Likewise.
22753 * stdio-common/printf.h: Likewise.
22754 * stdlib/monetary.h: Likewise.
22755 * stdlib/random.c: Likewise.
22756 * stdlib/random_r.c: Likewise.
22757 * sysdeps/generic/Makefile: Likewise.
22758 * sysdeps/gnu/Makefile: Likewise.
22759 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22760 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22761 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22762 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22763 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22764 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22765 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22766 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22767 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22768 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22769 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22770 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22771 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22772 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22773 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
22774 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22775 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22776 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22777 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22778 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22779 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22780 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22781 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22782 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22783 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
22784 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22785 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22786 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
22787 * sysdeps/mach/hurd/errnos.awk: Likewise.
22788 * sysdeps/mach/hurd/fork.c: Likewise.
22789 * sysdeps/mach/hurd/getcwd.c: Likewise.
22790 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
22791 * sysdeps/mach/hurd/mmap.c: Likewise.
22792 * sysdeps/mach/hurd/utimes.c: Likewise.
22793 * sysdeps/mach/hurd/xmknod.c: Likewise.
22794 * sysdeps/posix/profil.c: Likewise.
22795 * sysdeps/posix/readdir_r.c: Likewise.
22796 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22797 * sysdeps/powerpc/bits/setjmp.h: Likewise.
22798 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
22799 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22800 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22801 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22802 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22803 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22804 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22805 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22806 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22807 * sysdeps/pthread/lio_listio.c: Likewise.
22808 * sysdeps/sparc/dl-procinfo.h: Likewise.
22809 * sysdeps/unix/i386/sysdep.S: Likewise.
22810 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
22811 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
22812 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
22813 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
22814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22815 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22816 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22817 * sysdeps/unix/sysv/linux/speed.c: Likewise.
22818 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22819 * sysdeps/wordsize-32/divdi3.c: Likewise.
22820 * time/sys/time.h: Likewise.
22821 * wcsmbs/Makefile: Likewise.
22822
0549fbba
DM
228232013-01-01 David S. Miller <davem@davemloft.net>
22824
a141f1a7
DM
22825 * po/fr.po: Update from translation team.
22826
0549fbba
DM
22827 * catgets/gencat.c: Update copyright year.
22828 * csu/version.c: Likewise.
22829 * debug/catchsegv.sh: Likewise.
22830 * debug/pcprofiledump.c: Likewise.
22831 * debug/xtrace.sh: Likewise.
22832 * elf/ldconfig.c: Likewise.
22833 * elf/ldd.bash.in: Likewise.
22834 * elf/pldd.c: Likewise.
22835 * elf/sotruss.ksh: Likewise.
22836 * elf/sprof.c: Likewise.
22837 * iconv/iconv_prog.c: Likewise.
22838 * iconv/iconvconfig.c: Likewise.
22839 * locale/programs/locale.c: Likewise.
22840 * locale/programs/localedef.c: Likewise.
22841 * login/programs/pt_chown.c: Likewise.
22842 * malloc/memusage.sh: Likewise.
22843 * malloc/memusagestat.c: Likewise.
22844 * malloc/mtrace.pl: Likewise.
22845 * nscd/nscd.c: Likewise.
22846 * nss/getent.c: Likewise.
22847 * nss/makedb.c: Likewise.
22848 * posix/getconf.c: Likewise.
22849
18ea052c
SP
228502012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22851
22852 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
22853 numbers.
22854
9c89fca6
MF
228552012-12-30 Mike Frysinger <vapier@gentoo.org>
22856
22857 * math/bits/mathcalls.h (modf): Use __nonnull.
22858
085ec079
SP
228592012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22860
22861 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
22862 (split): Use macro CN instead of the bare value.
22863 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
22864 could be used.
22865 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
22866 instead of the bare value.
22867 (power1): Likewise.
22868
6d9f97e1
SP
228692012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22870
d63f73be
SP
22871 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
22872 __ATAN_TWOM.
22873 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22874
6d9f97e1
SP
22875 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
22876 their values.
22877 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22878 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22879 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
22880 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22881
4c4febf5
AJ
228822012-12-28 Andreas Jaeger <aj@suse.de>
22883
af5843ef
AJ
22884 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
22885 values are from Linux 3.7.
22886
4c4febf5
AJ
22887 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
22888 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
22889
99136f82
SP
228902012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22891
2f216c3c 22892 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
22893 TRUE case.
22894
99136f82
SP
22895 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
22896 (norm): Likewise.
22897 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
22898 variables with preprocessor constants.
22899 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22900 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22901 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22902
7fffbdff
BH
229032012-12-27 Bruno Haible <bruno@clisp.org>
22904
22905 [BZ #14317]
22906 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
22907 only if needed.
22908
b76eb5f0
SP
229092012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22910
31a7fe5c
SP
22911 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
22912 and use variable directly.
22913 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
22914
b76eb5f0
SP
22915 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22916 MPONE.
22917 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
22918 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22919 variable MPONE.
22920 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22921 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22922 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
22923 include directive. Remove local variable MPONE.
22924 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
22925 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
22926 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22927
2c8bfe7d
DM
229282012-12-25 David S. Miller <davem@davemloft.net>
22929
22930 * version.h (RELEASE): Set to "development".
22931 (VERSION): Set to "2.17.90".
22932 * NEWS: Add 2.18 section.
22933
147d03b0
DM
229342012-12-21 David S. Miller <davem@davemloft.net>
22935
22936 * po/hr.po: Update from translation team.
22937
a8ebb2b9
AK
229382012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22939
22940 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
22941
95b4f1b6
SE
229422012-12-19 Steve Ellcey <sellcey@mips.com>
22943
b2d94007 22944 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 22945
cedb2a90
MS
229462012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22947
22948 * manual/contrib.texi (Contributors): Spelling correction.
22949
bbf527d6
DM
229502012-12-15 David S. Miller <davem@davemloft.net>
22951
22952 * po/ru.po: Update from translation team.
22953
bc38c906
DM
229542012-12-13 David S. Miller <davem@davemloft.net>
22955
85429b1a
DM
22956 * NEWS: Mention IFUNC testsuite enhancements.
22957
d283e353
DM
22958 * po/pl.po: Update from translation team.
22959 * po/bg.po: Likewise.
22960
bc38c906
DM
22961 * manual/contrib.texi (Contributors): Update entries for Hongjiu
22962 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
22963
a181b0d7
DM
229642012-12-11 David S. Miller <davem@davemloft.net>
22965
4641d57e
DM
22966 * po/sv.po: Update from translation team.
22967
f7bc6495
DM
22968 * po/vi.po: Update from translation team.
22969
6fc9048f
DM
22970 * po/cs.po: Update from translation team.
22971
a181b0d7
DM
22972 * po/de.po: Update from translation team.
22973 * po/eo.po: Likewise.
22974 * po/nl.po: Likewise.
22975
f70bfe80
SP
229762012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22977
3c8b4190
SP
22978 [BZ #14246]
22979 * manual/argp.texi (Argp Helper Functions): Move node to follow
22980 Argp Parsing State.
22981
f70bfe80
SP
22982 [BZ #14872]
22983 * manual/conf.texi (Limits on File System Capacity): Mention if
22984 terminating null is included in the max size.
22985
188f0adf
AJ
229862012-12-10 Andreas Jaeger <aj@suse.de>
22987
22988 * po/cs.po: Update from translation team.
22989
56e7d3ad
SP
229902012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22991
22992 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
22993 void pointer and cast to uintptr_t.
22994 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
22995 path.
22996 * sysdeps/s390/s390-64/memcpy.S: Likewise.
22997 * sysdeps/s390/s390-64/memset.S: Likewise.
22998
76f2d2ea 229992012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
23000
23001 [BZ #14833]
23002 * menual/message.texi (Message Translation): Fix typos.
23003 (Helper programs for gettext): Likewise.
23004
67cbf9a2
AS
230052012-12-07 Andreas Schwab <schwab@linux-m68k.org>
23006
23007 [BZ #14898]
23008 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23009 Change to -1.
23010
682d0e9a
DM
230112012-12-07 David S. Miller <davem@davemloft.net>
23012
23013 * po/libc.pot: Update.
23014
573cd484
RH
230152012-12-07 Richard Henderson <rth@redhat.com>
23016
7e9da188 23017 [BZ #10114]
573cd484
RH
23018 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23019 normal/normal case to before the switch.
23020 (_FP_DIV): Likewise.
23021
e933a943
MF
230222012-12-06 Carlos O'Donell <carlos@systemhalted.org>
23023 Mike Frysinger <vapier@gentoo.org>
23024
23025 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23026 check for __NR_fadvise64_64.
23027
82123268
CM
230282012-12-06 Chris Metcalf <cmetcalf@tilera.com>
23029
23030 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23031 0, not just to plain "0" as a statement.
23032 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23033 with cw.
23034
d9814526
JM
230352012-12-06 Joseph Myers <joseph@codesourcery.com>
23036
23037 * NEWS: Use sourceware.org in Bugzilla URL.
23038
7728c574
SP
230392012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23040
f16946dd
SP
23041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23042 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23043
5704bbcb
SP
23044 * stdio-common/tst-put-error.c (do_test): Add newline to the
23045 padded test to ensure flush.
23046
17aa0516
JL
230472012-12-05 Jeff Law <law@redhat.com>
23048
23049 * sunrpc/etc.rpc (fedfs_admin): Add entry.
23050
363313b5
JM
230512012-12-05 Joseph Myers <joseph@codesourcery.com>
23052
effbd42a
JM
23053 * README: Don't refer to ports add-on as distributed separately.
23054 Mention AArch64 in list of systems supported in the ports add-on.
23055
87600365
JM
23056 * LICENSES: Add more non-FSF copyright and license notices.
23057
a0d7066a
JM
23058 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23059 ((unused)).
23060
66ca5a5b
JM
23061 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23062
363313b5
JM
23063 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23064 10000 as width of padded output.
23065
b37984ad
JM
230662012-12-04 Joseph Myers <joseph@codesourcery.com>
23067
9003570a
JM
23068 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23069
b37984ad
JM
23070 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23071 variable LX with __attribute__ ((unused)).
23072 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23073 Likewise.
23074 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23075 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23076 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23077 with __attribute__ ((unused)).
23078
c8df52ec
DM
230792012-12-04 David S. Miller <davem@abraco.davemloft.net>
23080
23081 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23082
b3b099af
JM
230832012-12-04 Joseph Myers <joseph@codesourcery.com>
23084
c33aa6e3
JM
23085 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23086 (CFLAGS-nldbl-acos.c): New variable.
23087 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23088 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23089 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23090 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23091 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23092 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23093 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23094 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23095 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23096 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23097 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23098 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23099 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23100 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23101 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23102 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23103 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23104 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23105 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23106 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23107 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23108 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23109 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23110 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23111 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23112 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23113 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23114 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23115 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23116 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23117 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23118 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23119 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23120 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23121 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23122 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23123 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23124 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23125 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23126 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23127 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23128 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23129 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23130 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23131 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23132 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23133 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23134 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23135 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23136 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23137 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23138 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23139 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23140 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23141 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23142 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23143 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23144 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23145 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23146 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23147 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23148 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23149 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23150 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23151 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23152 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23153 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23154 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23155 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23156 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23157 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23158 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23159 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23160 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23161 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23162 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23163 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23164 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23165 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23166 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23167 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23168 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23169 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23170 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23171 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23172 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23173 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23174 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23175 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23176 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23177 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23178 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23179 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23180 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23181 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23182 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23183 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23184
20f0018d
JM
23185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23186 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23187
b3b099af
JM
23188 [BZ #14914]
23189 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23190 whole low double instead of just low 47 bits when splitting values
23191 into two parts.
23192
029264d1
AM
231932012-12-03 Allan McRae <allan@archlinux.org>
23194
23195 * manual/stdio.texi (Predefined Printf Handlers): Remove
23196 @hsep and @vsep usage.
23197
c9d6789e
MF
231982012-12-03 Mike Frysinger <vapier@gentoo.org>
23199
23200 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23201 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23202
4b7634a5
JL
232032012-12-03 Jeff Law <law@redhat.com>
23204
23205 * time/sys/time.h (settimeofday): Do not mark TV argument
23206 as __nonnull.
23207
eb6cbd24
MF
232082012-12-01 Mike Frysinger <vapier@gentoo.org>
23209
23210 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23211 when currently writing and seek to current position when not.
23212 * libio/Makefile (tests): Remove bug-fclose1.
23213 * libio/bug-fclose1.c: Delete.
23214
f638872a
JM
232152012-12-01 Joseph Myers <joseph@codesourcery.com>
23216
23217 * manual/arith.texi (feenableexcept): Fix typo.
23218 (fedisableexcept): Likewise.
23219
48085d14
RM
232202012-11-30 Roland McGrath <roland@hack.frob.com>
23221
23222 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23223 second, differently-typed declaration, rather than a cast.
23224
1a538b9f
SP
232252012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23226
23227 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23228 * include/rpc/svc.h: ... here.
23229
d07f2ff1 232302012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
23231
23232 [BZ #13013]
23233 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23234 depending n and resplen2 to catch cases where answer
23235 equals answerp2.
23236
c93ec1f0
CD
232372012-11-29 Carlos O'Donell <carlos@systemhalted.org>
23238
23239 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23240 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23241
37db69de
MF
232422012-11-29 Mike Frysinger <vapier@gentoo.org>
23243
23244 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23245
e10c4e4f
RM
232462012-11-29 Roland McGrath <roland@hack.frob.com>
23247
23248 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23249
2af1b328
JL
232502012-11-28 Jeff Law <law@redhat.com>
23251
23252 [BZ #13761]
23253 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23254 dataset_temporary. Track alloca usage into alloca_used.
23255 If dataset is large allocate and release it via malloc/free.
23256
111db5b1
FW
232572012-06-04 Florian Weimer <fweimer@redhat.com>
23258
f06cc227 23259 [BZ #14197]
111db5b1
FW
23260 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23261
dd694abd
DM
232622012-11-28 David S. Miller <davem@davemloft.net>
23263
23264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23265
9984dd01
JM
232662012-11-28 Joseph Myers <joseph@codesourcery.com>
23267
23268 [BZ #14803]
23269 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23270 of pi/2 rounded to nearest to 64 bits.
23271 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23272 nearest to 64 bits.
23273 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23274 bits.
23275
14bc93a9
JL
232762012-11-28 Jeff Law <law@redhat.com>
23277 Martin Osvald <mosvald@redhat.com>
23278
23279 [BZ #14889]
23280 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23281 * sunrpc/svc.c: Include time.h.
23282 (__svc_accept_failed): New function.
23283 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23284 any reason other than EINTR, call __svc_accept_failed.
23285 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23286 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23287
e3c6aa3a
AS
232882012-11-28 Andreas Schwab <schwab@suse.de>
23289
23290 * scripts/abilist.awk: Also handle indirect functions in .opd
23291 section.
23292
1bead169
JM
232932012-11-28 Joseph Myers <joseph@codesourcery.com>
23294
23295 [BZ #13881]
23296 * sysdeps/x86/fpu/powl_helper.c: New file.
23297 * sysdeps/x86/fpu/Makefile: Likewise.
23298 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23299 (p3): New object.
23300 (__ieee754_powl): Use __powl_helper for finite arguments except
23301 integer exponents below 8.
23302 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23303 (p3): New object.
23304 (__ieee754_powl): Use __powl_helper for finite arguments except
23305 integer exponents below 8.
23306 * math/libm-test.inc (pow_test): Add more tests and enable some
23307 previously disabled tests.
23308 * sysdeps/i386/fpu/libm-test-ulps: Update.
23309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23310
0817d63d
SP
233112012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23312 Carlos O'Donell <carlos_odonell@mentor.com>
23313
23314 * nss/makedb.c (is_prime): Assert that input is odd and greater
23315 than 4. Note that fact in a comment too.
23316 (next_prime): Add 4 to input.
23317
de2fd463
SP
233182012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23319
23320 [BZ #11741]
23321 * libio/Makefile (tests): Add test case tst-fwrite-error.
23322 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23323 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23324 * libio/tst-fwrite-error.c: New test case.
23325
c515fb51
L
233262012-11-26 H.J. Lu <hongjiu.lu@intel.com>
23327
23328 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23329 before casting to void *.
23330 * include/libc-internal.h (__pointer_type): New macro.
23331 (__integer_if_pointer_type_sub): Likewise.
23332 (__integer_if_pointer_type): Likewise.
23333 (cast_to_integer): Likewise.
23334 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23335 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23336 before casting to atomic64_t.
23337 (atomic_exchange_acq): Likewise.
23338 (__arch_exchange_and_add_body): Likewise.
23339 (__arch_add_body): Likewise.
23340 (atomic_add_negative): Likewise.
23341 (atomic_add_zero): Likewise.
23342
4cf77aa9
JM
233432012-11-26 Joseph Myers <joseph@codesourcery.com>
23344
23345 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23346 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23347 (add_fdes): Likewise.
23348 (linear_search_fdes): Likewise.
23349 (binary_search_unencoded_fdes): Likewise.
23350
d260b3b4
AS
233512012-11-26 Andreas Schwab <schwab@linux-m68k.org>
23352
23353 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23354
67060746
AC
233552012-11-24 Adam Conrad <adconrad@0c3.net>
23356
23357 * configure.in: Autodetect C++ header directories.
23358 * configure: Regenerated.
23359
800938a1
MF
233602012-11-23 Mike Frysinger <vapier@gentoo.org>
23361
23362 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23363
4e6e34e6
AS
233642012-11-23 Andreas Schwab <schwab@linux-m68k.org>
23365
23366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23367
7c7feb47
JM
233682012-11-22 Joseph Myers <joseph@codesourcery.com>
23369
7184dcdf
JM
23370 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23371 LDBL_MANT_DIG == 106]: Disable some tests.
23372 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23373 Likewise.
23374 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23375 Likewise.
23376
0a42601f
JM
23377 [BZ #14871]
23378 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23379 input for small inputs. Return +/- pi/2 for large inputs.
23380 * math/libm-test.inc (atan_test): Add more tests.
23381
79c9b9fe
JM
23382 * sysdeps/generic/unwind-dw2-fde-glibc.c
23383 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23384 __attribute__ ((unused)).
23385
c60d3bf2
JM
23386 [BZ #14645]
23387 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23388 x * y if x and y are nonzero and z is zero.
23389
ef1e0867
JM
23390 [BZ #14811]
23391 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23392 nonzero exponents with absolute value below 0x1p-117 to +/-
23393 0x1p-117.
23394
1468ded3
JM
23395 [BZ #14869]
23396 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23397 up arguments below 2**-450, not just those below 2**-500.
23398 * math/libm-test.inc (hypot_test): Add another test.
23399
8e27e3cc
JM
23400 [BZ #14868]
23401 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23402 Return a+b for ratio over 2**120, not 2**60.
23403 * math/libm-test.inc (hypot_test): Add another test.
23404
c9c0279b
JM
23405 * math/libm-test.inc (clog_test): Use
23406 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23407 (clog10_test): Likewise.
23408
7c7feb47
JM
23409 [BZ #6778]
23410 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23411
fff1530e
AS
234122012-11-22 Andreas Schwab <schwab@suse.de>
23413
23414 * sysdeps/i386/fpu/libm-test-ulps: Update.
23415
94558d30
PT
234162012-11-22 Pino Toscano <toscano.pino@tiscali.it>
23417
23418 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23419 printf output with newline.
23420
7e1be741
L
234212012-11-21 H.J. Lu <hongjiu.lu@intel.com>
23422
6bfea974
L
23423 [BZ #14865]
23424 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23425 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23426 -z nodlopen, -z initfirst and -z execstack support.
23427 * configure: Regenerated.
23428
7e1be741
L
23429 * elf/elf.h (DF_1_NODIRECT): New macro.
23430 (DF_1_IGNMULDEF): Likewise.
23431 (DF_1_NOKSYMS): Likewise.
23432 (DF_1_NOHDR): Likewise.
23433 (DF_1_EDITED): Likewise.
23434 (DF_1_NORELOC): Likewise.
23435 (DF_1_SYMINTPOSE): Likewise.
23436 (DF_1_GLOBAUDIT): Likewise.
23437 (DF_1_SINGLETON): Likewise.
23438 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23439 DT_1_SUPPORTED_MASK bits.
23440 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23441
105ce2ce
CD
234422012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
23443
23444 * sysdeps/unix/make-syscalls.sh: Document prefixes.
23445
123be9de
TS
234462012-11-20 Thomas Schwinge <thomas@codesourcery.com>
23447
d072f3f7
TS
23448 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23449 macro.
23450
123be9de
TS
23451 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23452 (sendmmsg): Move declarations...
23453 * socket/sys/socket.h: ... here.
23454 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23455 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23456 include it from...
23457 * socket/recvmmsg.c: ... this new file.
23458 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23459 (sendmmsg): Rename to __sendmmsg, create weak alias and make
23460 definition of __sendmmsg hidden.
23461 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23462 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23463 Move ENOSYS stub into and include it from...
23464 * socket/sendmmsg.c: ... this new file.
23465 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23466 (sysdep_routines): Move recvmmsg and sendmmsg...
23467 * socket/Makefile (routines): ... here.
23468 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23469 (GLIBC_PRIVATE): Add __sendmmsg.
23470 * include/sys/socket.h (__sendmmsg): Add declarations.
23471 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23472 sendmmsg.
23473
cf9a5d18
JM
234742012-11-20 Joseph Myers <joseph@codesourcery.com>
23475
23476 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23477 variable I1 with __attribute__ ((unused)).
23478 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23479
ecd4caf9
JM
234802012-11-19 Joseph Myers <joseph@codesourcery.com>
23481
be14d48f
JM
23482 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23483 DUMMY variables with __attribute__ ((unused)).
23484
ecd4caf9
JM
23485 * bits/byteswap.h: Include <bits/types.h>.
23486 (__bswap_64): Use __uint64_t instead of unsigned long long int.
23487
986cab95
PT
234882012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23489
23490 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
23491 string_t. Do not manually set errno.
23492 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
23493 length with __strnlen. Make sure to both set errno and return it on
23494 failure.
23495
6d33cc9d
DM
234962012-11-19 David S. Miller <davem@davemloft.net>
23497
23498 With help from Joseph Myers.
23499 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
23500 very large arguments properly.
23501 * math/libm-test.inc (atan_test): New tests.
23502 (atan2_test): New tests.
23503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23504 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23505
ee663277
JM
235062012-11-19 Joseph Myers <joseph@codesourcery.com>
23507
877f2d8e
JM
23508 [BZ #14856]
23509 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
23510 Define to 3.
23511
116fc08a
JM
23512 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
23513 [POSIX] (EADDRNOTAVAIL): Likewise.
23514 [POSIX] (EAFNOSUPPORT): Likewise.
23515 [POSIX] (EALREADY): Likewise.
23516 [POSIX] (ECONNABORTED): Likewise.
23517 [POSIX] (ECONNREFUSED): Likewise.
23518 [POSIX] (ECONNRESET): Likewise.
23519 [POSIX] (EDESTADDRREQ): Likewise.
23520 [POSIX] (EDQUOT): Likewise.
23521 [POSIX] (EHOSTUNREACH): Likewise.
23522 [POSIX] (EIDRM): Likewise.
23523 [POSIX] (EISCONN): Likewise.
23524 [POSIX] (ELOOP): Likewise.
23525 [POSIX] (EMULTIHOP): Likewise.
23526 [POSIX] (ENETDOWN): Likewise.
23527 [POSIX] (ENETUNREACH): Likewise.
23528 [POSIX] (ENOBUFS): Likewise.
23529 [POSIX] (ENODATA): Likewise.
23530 [POSIX] (ENOLINK): Likewise.
23531 [POSIX] (ENOMSG): Likewise.
23532 [POSIX] (ENOPROTOOPT): Likewise.
23533 [POSIX] (ENOSR): Likewise.
23534 [POSIX] (ENOSTR): Likewise.
23535 [POSIX] (ENOTCONN): Likewise.
23536 [POSIX] (ENOTSOCK): Likewise.
23537 [POSIX] (EOPNOTSUPP): Likewise.
23538 [POSIX] (EOVERFLOW): Likewise.
23539 [POSIX] (EPROTO): Likewise.
23540 [POSIX] (EPROTONOSUPPORT): Likewise.
23541 [POSIX] (EPROTOTYPE): Likewise.
23542 [POSIX] (ESTALE): Likewise.
23543 [POSIX] (ETIME): Likewise.
23544 [POSIX] (ETXTBSY): Likewise.
23545 [POSIX] (EWOULDBLOCK): Likewise.
23546 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
23547 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
23548 [POSIX] (SEEK_CUR): Likewise.
23549 [POSIX] (SEEK_END): Likewise.
23550 [POSIX || UNIX98] (mode_t): Do not require.
23551 [POSIX] (off_t): Likewise.
23552 [POSIX] (pid_t): Likewise.
23553 [POSIX] (sys/stat.h): Do not allow header.
23554 [POSIX] (unistd.h): Likewise.
23555 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
23556 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
23557 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
23558 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
23559 require.
23560 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
23561 sigevent): Specify elements.
23562 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
23563 entry.
23564 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
23565 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
23566
a483863f
JM
23567 * conform/data/cpio.h-data [POSIX]: Disable whole file.
23568 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
23569 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
23570 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
23571 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
23572 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
23573 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
23574 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
23575 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
23576 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
23577 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
23578 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
23579 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
23580 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
23581 Likewise.
23582 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
23583 Likewise.
23584 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
23585 Likewise.
23586 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
23587 Likewise.
23588 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
23589 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
23590 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
23591 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
23592 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
23593 Specify lower bound on value.
23594 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
23595 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
23596 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
23597 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
23598 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
23599 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
23600 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
23601 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
23602 value.
23603 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
23604 as optional.
23605 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
23606 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
23607 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
23608 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
23609 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
23610 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
23611 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
23612 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
23613 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
23614 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
23615 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
23616 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
23617 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
23618 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
23619 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
23620 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
23621 entry.
23622 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
23623 optional.
23624 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
23625 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
23626 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
23627 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
23628 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
23629 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
23630 Likewise.
23631 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
23632 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
23633 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
23634 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
23635 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
23636 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
23637 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
23638 as optional.
23639 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
23640 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
23641 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
23642 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
23643 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
23644 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
23645 specify as optional.
23646 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
23647 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
23648 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
23649 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
23650 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
23651 [XPG3] (NL_LANGMAX): Likewise.
23652 [POSIX || XPG3] (NL_MSGMAX): Likewise.
23653 [POSIX || XPG3] (NL_NMAX): Likewise.
23654 [POSIX || XPG3] (NL_SETMAX): Likewise.
23655 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
23656 [XPG3] (NZERO): Likewise.
23657 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
23658 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
23659 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
23660 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
23661 (REG_ERANGE): Expect.
23662 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
23663 optional-constant.
23664 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
23665 Use (void) in prototype.
23666 [POSIX] (*_t): Allow.
23667 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
23668 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
23669 (WRDE_BADVAL): Expect.
23670
5ba924e3
JM
23671 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
23672 expect.
23673 [XPG3 || XPG4] (O_RSYNC): Likewise.
23674 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
23675 Likewise.
23676 [XPG3 || XPG4] (pthread_sigmask): Likewise.
23677 [XPG3 || XPG4] (sigqueue): Likewise.
23678 [XPG3 || XPG4] (sigtimedwait): Likewise.
23679 [XPG3 || XPG4] (sigwaitinfo): Likewise.
23680 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
23681 [XPG3 || XPG4] (vsnprintf): Likewise.
23682 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
23683 Likewise.
23684 [XPG3 || XPG4] (blksize_t): Likewise.
23685 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
23686 Likewise.
23687 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
23688 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23689 [XPG3 || XPG4] (struct itimerspec): Likewise.
23690 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
23691 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
23692 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
23693 [XPG3 || XPG4] (clockid_t): Likewise.
23694 [XPG3 || XPG4] (timer_t): Likewise.
23695 [XPG3 || XPG4] (clock_getres): Likewise.
23696 [XPG3 || XPG4] (clock_gettime): Likewise.
23697 [XPG3 || XPG4] (clock_settime): Likewise.
23698 [XPG3 || XPG4] (nanosleep): Likewise.
23699 [XPG3 || XPG4] (timer_create): Likewise.
23700 [XPG3 || XPG4] (timer_delete): Likewise.
23701 [XPG3 || XPG4] (timer_gettime): Likewise.
23702 [XPG3 || XPG4] (timer_getoverrun): Likewise.
23703 [XPG3 || XPG4] (timer_settime): Likewise.
23704 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
23705 [XPG3 || XPG4] (getlogin_r): Likewise.
23706 [XPG3 || XPG4] (pread): Likewise.
23707 [XPG3 || XPG4] (pthread_atfork): Likewise.
23708 [XPG3 || XPG4] (pwrite): Likewise.
23709
ee663277
JM
23710 [BZ #14835]
23711 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
23712 <bits/siginfo.h>.
23713
942caa16
PT
237142012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23715
e19af380
PT
23716 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
23717 finalizing MALLSTREAM.
23718
942caa16
PT
23719 * sysdeps/mach/hurd/syncfs.c: New file.
23720
cfde9b46
SP
237212012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23722
23723 [BZ #14719]
23724 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
23725 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
23726 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
23727 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
23728 (_nss_dns_gethostbyname4_r): Likewise.
23729 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
23730 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
23731
f6da27e5
PH
237322012-11-19 Peng Haitao <penght@cn.fujitsu.com>
23733
23734 [BZ #13763]
23735 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
23736
6665d4a2
SM
237372012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
23738
1f51ee92
SM
23739 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
23740 * elf/cache.c (print_entry): Print ",AArch64" for
23741 FLAG_AARCH64_LIB64
23742
6665d4a2
SM
23743 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
23744 * elf/cache.c (print_entry): Print ",hard-float" for
23745 FLAG_ARM_LIBHF.
23746
05b227bd
DM
237472012-11-18 David S. Miller <davem@davemloft.net>
23748
23749 With help from Joseph Myers.
23750 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
23751 cutoff to 2**-13.
23752 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
23753 cutoff to 2**-25.
23754 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
23755 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
23756 small.
23757 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
23758 * math/libm-test.inc (y0_test): New tests.
23759 (y1_test): New tests.
23760 * sysdeps/i386/fpu/libm-test-ulps: Update.
23761 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23763
786b0b67
AS
237642012-11-18 Andreas Schwab <schwab@linux-m68k.org>
23765
23766 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
23767 64-bit targets.
23768 * configure: Regenerated.
23769
8e18b86d
DM
237702012-11-17 David S. Miller <davem@davemloft.net>
23771
23772 [BZ #14811]
23773 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
23774 nonzero exponents with absolute value below 0x1p-128 to +/-
23775 0x1p-128.
23776
531f1ae0
JM
237772012-11-17 Joseph Myers <joseph@codesourcery.com>
23778
12df29e2
JM
23779 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
23780
150dc1a0
JM
23781 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
23782
531f1ae0
JM
23783 * posix/getconf-speclist.c: New file.
23784 * posix/posix-envs.def: Likewise.
23785 * posix/confstr.c (START_ENV_GROUP): New macro.
23786 (END_ENV_GROUP): Likewise.
23787 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23788 (KNOWN_PRESENT_ENV_STRING): Likewise.
23789 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23790 (UNKNOWN_ENVIRONMENT): Likewise.
23791 (confstr): Include posix-envs.def instead of handling
23792 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
23793 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
23794 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
23795 (END_ENV_GROUP): Likewise.
23796 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23797 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23798 (UNKNOWN_ENVIRONMENT): Likewise.
23799 (__sysconf): Include posix-envs.def instead of handling associated
23800 cases directly here.
23801 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
23802 preprocessing getconf-speclist.c rather than running getconf or
23803 generating empty file.
23804
a93f9cbc
PT
238052012-11-16 Pino Toscano <toscano.pino@tiscali.it>
23806
23807 * scripts/check-local-headers.sh: Ignore 'mach' headers.
23808
d64d9f87
AL
238092012-11-16 Andrej Lajovic <natrij@gmail.com>
23810
23811 [BZ #14672]
23812 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
23813
447885eb
DM
238142012-11-16 David S. Miller <davem@davemloft.net>
23815
23816 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
23817 smaller than LDBL_EPSILON/2.0L, just return xm1.
23818
bcbf9830
L
238192012-11-16 H.J. Lu <hongjiu.lu@intel.com>
23820
23821 * elf/tst-array1.c (init): Set constructor priority to 1000.
23822 (fini): Set destructor priority to 1000.
23823 * elf/tst-array2dep.c: Likewise.
23824
2b766585
SP
238252012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23826
23827 [BZ #11741]
23828 * libio/fileops.c (_IO_new_file_write): Correctly return error.
23829 (_IO_new_file_xsputn): Also return EOF if none of the input
23830 data was written when overflow failed.
23831 * libio/iopadn.c (_IO_padn): Likewise.
23832 * libio/iowpadn.c (_IO_wpadn): Likewise.
23833 * stdio-common/tst-put-error.c: Add copyright notice.
23834 (do_test): Add case for printing padded string.
23835 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
23836 _IO_padn returned error.
23837 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
23838 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
23839 return EOF.
23840
b1848fde
SP
238412012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23842
23843 * libio/libioP.h: Add comment note that the references to C++
23844 bits are now obsolete.
23845
2fd89785
MS
238462012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23847
23848 * math/libm-test.inc (check_complex): Use asprintf.
23849
e3ea5409
JM
238502012-11-14 Joseph Myers <joseph@codesourcery.com>
23851
23852 * debug/pcprofiledump.c (print_version): Update copyright year.
23853 * malloc/memusagestat.c (print_version): Likewise.
23854
2e64d265
L
238552012-11-14 H.J. Lu <hongjiu.lu@intel.com>
23856
23857 [BZ #14831]
23858 * elf/Makefile (tests): Add tst-audit8.
23859 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
23860 ($(objpfx)tst-audit8.out): New target.
23861 (tst-audit8-ENV): New variable.
23862 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
23863 audit if l_reloc_result is NULL.
23864 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
23865 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
23866 * elf/tst-audit8.c: New file.
23867
c485e4d2
MS
238682012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23869
23870 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
23871 * misc/Makefile (CFLAGS-select.c): Define.
23872 * posix/Makefile (CFLAGS-pause.c): Define.
23873
3a0d900a
DM
238742012-11-13 David S. Miller <davem@davemloft.net>
23875
23876 * crypt/Makefile: Move test targets after toplevel Rules
23877 inclusion. Grab any necessary sysdep routines when linking.
23878 * crypt/md5.c (md5_process_block): Remove define, we will always
23879 name it __md5_process_block.
23880 (md5_finish_ctx): Update md5_process_block call.
23881 (md5_stream): Likewise.
23882 (md5_process_bytes): Likewise.
23883 (md5_process_block): Rename to __md5_process_block and move to ...
23884 * crypt/md5-block.c: ... here.
23885 * crypt/sha256.c (sha256_process_block): Move to ...
23886 * crypt/sha256-block.c: ... here.
23887 * crypt/sha512.c (sha512_process_block): Move to ...
23888 * crypt/sha512-block.c: ... here.
23889 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
23890 path.
23891 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
23892 * sysdeps/sparc/sparc64/multiarch/Makefile
23893 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
23894 crypt subdir.
23895 (localedef-aux): Add md5 crypto assembler when in locale subdir.
23896 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
23897 multiarch changes.
23898 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
23899 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
23900 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
23901 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
23902 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
23903 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
23904 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
23905 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
23906 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
23907 file.
23908 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
23909 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
23910 file.
23911 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
23912
8ca89318
JM
239132012-11-13 Joseph Myers <joseph@codesourcery.com>
23914
e27d476a
JM
23915 * timezone/tzselect.ksh: Update from tzcode git revision
23916 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
23917 * timezone/zdump.c: Likewise.
23918 * timezone/zic.c: Likewise.
23919 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
23920 in TZVERSION setting, not $(PKGVERSION).
23921 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
23922 REPORT_BUGS_TO settings.
23923
8ca89318
JM
23924 [BZ #14838]
23925 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
23926 macro.
23927
47594329
MS
239282012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23929
23930 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
23931 detection to immediately after _FP_ROUND().
23932 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
23933 bits are 0.
23934
640ac3f1
DM
239352012-11-11 David S. Miller <davem@davemloft.net>
23936
23937 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
23938 inttypes.h
23939 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
23940 __close rather than their public counterparts.
23941
3d2577bb
JM
239422012-11-10 Joseph Myers <joseph@codesourcery.com>
23943
23944 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
23945 file.
23946 [UNIX98] (sem_timedwait): Do not expect.
23947 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
23948 [XPG4 || UNIX98] (sockatmark): Do not expect.
23949 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
23950 (clock_getcpuclockid): Do not expect.
23951 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
23952 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
23953 Do not expect.
23954 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
23955 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
23956 [UNIX98] (vwscanf): Likewise.
23957 [UNIX98] (vswscanf): Likewise.
23958
fb1ae1ee
JM
239592012-11-09 Joseph Myers <joseph@codesourcery.com>
23960
9ec6f8bd
JM
23961 * timezone/version.h: Remove file.
23962 * timezone/README: Do not refer to version.h.
23963 * timezone/Makefile ($(objpfx)zic.o): New dependency on
23964 $(objpfx)version.h.
23965 ($(objpfx)zdump.o): Likewise.
c3f81911 23966 ($(objpfx)version.h): New target.
9ec6f8bd 23967
0aa8f8a1
JM
23968 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
23969 2012i.
23970 * timezone/README: Don't mention modification to tzselect.ksh.
23971 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
23972 work on unmodified tzselect.ksh. Substitute version numbers in
23973 tzselect.ksh.
23974
4e87147f
JM
23975 * Makefile (format-me): Remove.
23976 (INSTALL): Adjust indentation. Use commands directly instead of
23977 using $(format-me).
23978
8b748aed
JM
23979 * aclocal.m4 (ACX_PKGVERSION): New macro.
23980 (ACX_BUGURL): Likewise.
23981 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
23982 (PKGVERSION): New AC_DEFINE_UNQUOTED.
23983 (REPORT_BUGS_TO): Likewise.
23984 * configure: Regenerated.
23985 * config.h.in (PKGVERSION): New macro.
23986 (REPORT_BUGS_TO): Likewise.
23987 * config.make.in (PKGVERSION): New variable.
23988 (PKGVERSION_TEXI): Likewise.
23989 (REPORT_BUGS_TO): Likewise.
23990 (REPORT_BUGS_TEXI): Likewise.
23991 * Makefile (format-me): Use -I$(common-objpfx)manual.
23992 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
23993 ($(common-objpfx)manual/%): New target.
23994 (manual/%): Remove target.
23995 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
23996 (print_version): Use PKGVERSION.
23997 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
23998 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
23999 and REPORT_BUGS_TO.
24000 ($(objpfx)xtrace): Likewise.
24001 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24002 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24003 (print_version): Use PKGVERSION.
24004 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24005 (do_version): Use PKGVERSION.
24006 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24007 REPORT_BUGS_TO.
24008 (common-ldd-rewrite): Likewise.
24009 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24010 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24011 (print_version): Use PKGVERSION.
24012 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24013 * elf/pldd.c (argp_program_bug_address): Remove variable.
24014 (more_help): New function.
24015 (argp): Use more_help.
24016 (print_version): Use PKGVERSION.
24017 * elf/sln.c (main): Use PKGVERSION.
24018 (usage): Use REPORT_BUGS_TO.
24019 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24020 (top level): Use PKGVERSION.
24021 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24022 (print_version): Use PKGVERSION.
24023 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24024 (print_version): Use PKGVERSION.
24025 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24026 (print_version): Use PKGVERSION.
24027 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24028 (print_version): Use PKGVERSION.
24029 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24030 (print_version): Use PKGVERSION.
24031 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24032 (print_version): Use PKGVERSION.
24033 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24034 and BUGURL.
24035 ($(objpfx)memusage): Likewise.
24036 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24037 (do_version): Use PKGVERSION.
24038 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24039 (print_version): Use PKGVERSION.
24040 * malloc/mtrace.pl ($PACKAGE): Remove variable.
24041 ($PKGVERSION): New variable.
24042 ($REPORT_BUGS_TO): Likewise.
24043 (usage): Use $REPORT_BUGS_TO.
24044 (top level): Use $PKGVERSION.
24045 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24046 ($(objpfx)pkgvers.texi): New rule.
24047 ($(objpfx)stamp-pkgvers): Likewise.
24048 * manual/install.texi: Include pkgvers.texi.
24049 (--with-pkgversion): Document new configure option.
24050 (--with-bugurl): Likewise.
24051 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24052 than necessarily for this particular distribution. Use
24053 REPORT_BUGS_TO for where to report bugs.
24054 * INSTALL: Regenerated.
24055 * manual/libc.texinfo: Include pkgvers.texi.
24056 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24057 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24058 (print_version): Use PKGVERSION.
24059 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24060 (print_version): Use PKGVERSION.
24061 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24062 (print_version): Use PKGVERSION.
24063 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24064 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24065 macro.
24066 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24067 (print_version): Use PKGVERSION.
24068 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24069 (print_version): Use PKGVERSION.
24070 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24071 and PKGVERSION.
24072
92e4b6a9
JM
24073 * timezone/checktab.awk: Update from tzcode 2012i.
24074 * timezone/ialloc.c: Likewise.
24075 * timezone/private.h: Likewise.
24076 * timezone/scheck.c: Likewise.
24077 * timezone/tzfile.h: Likewise.
24078 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24079 (TZVERSION): Hardcode tzcode version number.
24080 * timezone/zdump.c: Update from tzcode 2012i.
24081 * timezone/zic.c: Likewise.
24082 * timezone/version.h: New file.
24083 * timezone/README: Describe version.h. Update upstream location.
24084
9bde902c
JM
24085 [BZ #14824]
24086 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24087 (mktemp): Enable declaration.
24088 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24089 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24090 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24091 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24092 Likewise.
24093 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24094 Likewise.
24095 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24096 Likewise.
24097 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24098 Likewise.
24099 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24100 Likewise.
24101 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24102 Likewise.
24103
fb1ae1ee
JM
24104 [BZ #14821]
24105 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24106 offset in buffer as u_int32_t not u_long. Consistently use memcpy
24107 for copies of such integer values.
24108 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24109 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24110
2c1adbcb
AJ
241112012-11-09 Andreas Jaeger <aj@suse.de>
24112
24113 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24114 definitions and declarations that are provided by
24115 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24116
d0f8457e
AK
241172012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24118
3a235abb 24119 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
24120 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24121 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24122 definition.
24123
57241e26
MS
241242012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24125
24126 * elf/elf.h: Update comment before AArch64 relocations.
24127
60e8270d
DM
241282012-11-07 David S. Miller <davem@davemloft.net>
24129
24130 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24131 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24132 (__start_context): Declare.
24133 (__makecontext_ret): Delete.
24134 (__makecontext): Hook up __start_context instead of
24135 __makecontext_ret.
24136 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24137 (sysdep_routines): Add __start_context when in stdlib.
24138
0fbb0fbc
JM
241392012-11-07 Joseph Myers <joseph@codesourcery.com>
24140
24141 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24142 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24143 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
24144 hardcoded "nm".
24145 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
24146 (READELF): New variable. Use it instead of hardcoded "readelf".
24147
eb48db7e
L
241482012-11-07 H.J. Lu <hongjiu.lu@intel.com>
24149
24150 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24151 * sysdeps/x86/Makefile: Here.
24152 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24153 * sysdeps/x86/tst-xmmymm.sh: This.
24154
05bcf62a
JM
241552012-11-07 Joseph Myers <joseph@codesourcery.com>
24156
c4b6cf53
JM
24157 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24158 expectations.
24159 [UNIX98] (pthread_barrier_t): Do not expect.
24160 [UNIX98] (pthread_barrierattr_t): Likewise.
24161 [UNIX98] (pthread_spinlock_t): Likewise.
24162 [UNIX98] (pthread_barrier_destroy): Likewise.
24163 [UNIX98] (pthread_barrier_init): Likewise.
24164 [UNIX98] (pthread_barrier_wait): Likewise.
24165 [UNIX98] (pthread_barrierattr_destroy): Likewise.
24166 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24167 [UNIX98] (pthread_barrierattr_init): Likewise.
24168 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24169 [UNIX98] (pthread_getcpuclockid): Likewise.
24170 [UNIX98] (pthread_mutex_timedlock): Likewise.
24171 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24172 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24173 [UNIX98] (pthread_sigmask): Likewise.
24174 [UNIX98] (pthread_spin_destroy): Likewise.
24175 [UNIX98] (pthread_spin_init): Likewise.
24176 [UNIX98] (pthread_spin_lock): Likewise.
24177 [UNIX98] (pthread_spin_trylock): Likewise.
24178 [UNIX98] (pthread_spin_unlock): Likewise.
24179 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24180 Do not expect.
24181 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24182 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24183 [XPG3 || XPG4] (pthread_cond_t): Likewise.
24184 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24185 [XPG3 || XPG4] (pthread_key_t): Likewise.
24186 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24187 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24188 [XPG3 || XPG4] (pthread_once_t): Likewise.
24189 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24190 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24191 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24192 [XPG3 || XPG4] (pthread_t): Likewise.
24193
cbe6e120
JM
24194 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24195 not expect.
24196 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24197
1b126443
JM
24198 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24199 Change function return type to int.
24200
b961a573
JM
24201 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24202 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24203 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24204 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24205 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24206 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24207 [!POSIX] (posix_madvise): Likewise.
24208 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24209 && !UNIX98].
24210 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24211 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24212 (mode_t): Likewise.
24213 (posix_mem_offset): Likewise.
24214 (posix_typed_mem_get_info): Likewise.
24215 (posix_typed_mem_open): Likewise.
24216
9e188909
JM
24217 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24218 Change condition to [XOPEN2K8].
24219
05bcf62a
JM
24220 * conform/conformtest.pl: Preprocess allow-header data with -x c
24221 instead of from stdin.
24222 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24223 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24224 [C99-based standards] (cerfc): Likewise.
24225 [C99-based standards] (cexp2): Likewise.
24226 [C99-based standards] (cexpm1): Likewise.
24227 [C99-based standards] (clog10): Likewise.
24228 [C99-based standards] (clog1p): Likewise.
24229 [C99-based standards] (clog2): Likewise.
24230 [C99-based standards] (clgamma): Likewise.
24231 [C99-based standards] (ctgamma): Likewise.
24232 [C99-based standards] (cerff): Likewise.
24233 [C99-based standards] (cerfcf): Likewise.
24234 [C99-based standards] (cexp2f): Likewise.
24235 [C99-based standards] (cexpm1f): Likewise.
24236 [C99-based standards] (clog10f): Likewise.
24237 [C99-based standards] (clog1pf): Likewise.
24238 [C99-based standards] (clog2f): Likewise.
24239 [C99-based standards] (clgammaf): Likewise.
24240 [C99-based standards] (ctgammaf): Likewise.
24241 [C99-based standards] (cerfl): Likewise.
24242 [C99-based standards] (cerfcl): Likewise.
24243 [C99-based standards] (cexp2l): Likewise.
24244 [C99-based standards] (cexpm1l): Likewise.
24245 [C99-based standards] (clog10l): Likewise.
24246 [C99-based standards] (clog1pl): Likewise.
24247 [C99-based standards] (clog2l): Likewise.
24248 [C99-based standards] (clgammal): Likewise.
24249 [C99-based standards] (ctgammal): Likewise.
24250 * conform/data/inttypes.h-data [C99-based standards]: Include
24251 stdint.h-data. Remove all expectations for stdint.h contents.
24252 [C99-based standards] (PRI*): Do not allow.
24253 [C99-based standards] (SCN*): Likewise.
24254 [C99-based standards] (*_t): Likewise.
24255 [C99-based-standards] (PRId8): Expect macro.
24256 [C99-based-standards] (PRIi8): Likewise.
24257 [C99-based-standards] (PRIo8): Likewise.
24258 [C99-based-standards] (PRIu8): Likewise.
24259 [C99-based-standards] (PRIx8): Likewise.
24260 [C99-based-standards] (PRIX8): Likewise.
24261 [C99-based-standards] (SCNd8): Likewise.
24262 [C99-based-standards] (SCNi8): Likewise.
24263 [C99-based-standards] (SCNo8): Likewise.
24264 [C99-based-standards] (SCNu8): Likewise.
24265 [C99-based-standards] (SCNx8): Likewise.
24266 [C99-based-standards] (PRIdLEAST8): Likewise.
24267 [C99-based-standards] (PRIiLEAST8): Likewise.
24268 [C99-based-standards] (PRIoLEAST8): Likewise.
24269 [C99-based-standards] (PRIuLEAST8): Likewise.
24270 [C99-based-standards] (PRIxLEAST8): Likewise.
24271 [C99-based-standards] (PRIXLEAST8): Likewise.
24272 [C99-based-standards] (SCNdLEAST8): Likewise.
24273 [C99-based-standards] (SCNiLEAST8): Likewise.
24274 [C99-based-standards] (SCNoLEAST8): Likewise.
24275 [C99-based-standards] (SCNuLEAST8): Likewise.
24276 [C99-based-standards] (SCNxLEAST8): Likewise.
24277 [C99-based-standards] (PRIdFAST8): Likewise.
24278 [C99-based-standards] (PRIiFAST8): Likewise.
24279 [C99-based-standards] (PRIoFAST8): Likewise.
24280 [C99-based-standards] (PRIuFAST8): Likewise.
24281 [C99-based-standards] (PRIxFAST8): Likewise.
24282 [C99-based-standards] (PRIXFAST8): Likewise.
24283 [C99-based-standards] (SCNdFAST8): Likewise.
24284 [C99-based-standards] (SCNiFAST8): Likewise.
24285 [C99-based-standards] (SCNoFAST8): Likewise.
24286 [C99-based-standards] (SCNuFAST8): Likewise.
24287 [C99-based-standards] (SCNxFAST8): Likewise.
24288 [C99-based-standards] (PRId16): Likewise.
24289 [C99-based-standards] (PRIi16): Likewise.
24290 [C99-based-standards] (PRIo16): Likewise.
24291 [C99-based-standards] (PRIu16): Likewise.
24292 [C99-based-standards] (PRIx16): Likewise.
24293 [C99-based-standards] (PRIX16): Likewise.
24294 [C99-based-standards] (SCNd16): Likewise.
24295 [C99-based-standards] (SCNi16): Likewise.
24296 [C99-based-standards] (SCNo16): Likewise.
24297 [C99-based-standards] (SCNu16): Likewise.
24298 [C99-based-standards] (SCNx16): Likewise.
24299 [C99-based-standards] (PRIdLEAST16): Likewise.
24300 [C99-based-standards] (PRIiLEAST16): Likewise.
24301 [C99-based-standards] (PRIoLEAST16): Likewise.
24302 [C99-based-standards] (PRIuLEAST16): Likewise.
24303 [C99-based-standards] (PRIxLEAST16): Likewise.
24304 [C99-based-standards] (PRIXLEAST16): Likewise.
24305 [C99-based-standards] (SCNdLEAST16): Likewise.
24306 [C99-based-standards] (SCNiLEAST16): Likewise.
24307 [C99-based-standards] (SCNoLEAST16): Likewise.
24308 [C99-based-standards] (SCNuLEAST16): Likewise.
24309 [C99-based-standards] (SCNxLEAST16): Likewise.
24310 [C99-based-standards] (PRIdFAST16): Likewise.
24311 [C99-based-standards] (PRIiFAST16): Likewise.
24312 [C99-based-standards] (PRIoFAST16): Likewise.
24313 [C99-based-standards] (PRIuFAST16): Likewise.
24314 [C99-based-standards] (PRIxFAST16): Likewise.
24315 [C99-based-standards] (PRIXFAST16): Likewise.
24316 [C99-based-standards] (SCNdFAST16): Likewise.
24317 [C99-based-standards] (SCNiFAST16): Likewise.
24318 [C99-based-standards] (SCNoFAST16): Likewise.
24319 [C99-based-standards] (SCNuFAST16): Likewise.
24320 [C99-based-standards] (SCNxFAST16): Likewise.
24321 [C99-based-standards] (PRId32): Likewise.
24322 [C99-based-standards] (PRIi32): Likewise.
24323 [C99-based-standards] (PRIo32): Likewise.
24324 [C99-based-standards] (PRIu32): Likewise.
24325 [C99-based-standards] (PRIx32): Likewise.
24326 [C99-based-standards] (PRIX32): Likewise.
24327 [C99-based-standards] (SCNd32): Likewise.
24328 [C99-based-standards] (SCNi32): Likewise.
24329 [C99-based-standards] (SCNo32): Likewise.
24330 [C99-based-standards] (SCNu32): Likewise.
24331 [C99-based-standards] (SCNx32): Likewise.
24332 [C99-based-standards] (PRIdLEAST32): Likewise.
24333 [C99-based-standards] (PRIiLEAST32): Likewise.
24334 [C99-based-standards] (PRIoLEAST32): Likewise.
24335 [C99-based-standards] (PRIuLEAST32): Likewise.
24336 [C99-based-standards] (PRIxLEAST32): Likewise.
24337 [C99-based-standards] (PRIXLEAST32): Likewise.
24338 [C99-based-standards] (SCNdLEAST32): Likewise.
24339 [C99-based-standards] (SCNiLEAST32): Likewise.
24340 [C99-based-standards] (SCNoLEAST32): Likewise.
24341 [C99-based-standards] (SCNuLEAST32): Likewise.
24342 [C99-based-standards] (SCNxLEAST32): Likewise.
24343 [C99-based-standards] (PRIdFAST32): Likewise.
24344 [C99-based-standards] (PRIiFAST32): Likewise.
24345 [C99-based-standards] (PRIoFAST32): Likewise.
24346 [C99-based-standards] (PRIuFAST32): Likewise.
24347 [C99-based-standards] (PRIxFAST32): Likewise.
24348 [C99-based-standards] (PRIXFAST32): Likewise.
24349 [C99-based-standards] (SCNdFAST32): Likewise.
24350 [C99-based-standards] (SCNiFAST32): Likewise.
24351 [C99-based-standards] (SCNoFAST32): Likewise.
24352 [C99-based-standards] (SCNuFAST32): Likewise.
24353 [C99-based-standards] (SCNxFAST32): Likewise.
24354 [C99-based-standards] (PRId64): Likewise.
24355 [C99-based-standards] (PRIi64): Likewise.
24356 [C99-based-standards] (PRIo64): Likewise.
24357 [C99-based-standards] (PRIu64): Likewise.
24358 [C99-based-standards] (PRIx64): Likewise.
24359 [C99-based-standards] (PRIX64): Likewise.
24360 [C99-based-standards] (SCNd64): Likewise.
24361 [C99-based-standards] (SCNi64): Likewise.
24362 [C99-based-standards] (SCNo64): Likewise.
24363 [C99-based-standards] (SCNu64): Likewise.
24364 [C99-based-standards] (SCNx64): Likewise.
24365 [C99-based-standards] (PRIdLEAST64): Likewise.
24366 [C99-based-standards] (PRIiLEAST64): Likewise.
24367 [C99-based-standards] (PRIoLEAST64): Likewise.
24368 [C99-based-standards] (PRIuLEAST64): Likewise.
24369 [C99-based-standards] (PRIxLEAST64): Likewise.
24370 [C99-based-standards] (PRIXLEAST64): Likewise.
24371 [C99-based-standards] (SCNdLEAST64): Likewise.
24372 [C99-based-standards] (SCNiLEAST64): Likewise.
24373 [C99-based-standards] (SCNoLEAST64): Likewise.
24374 [C99-based-standards] (SCNuLEAST64): Likewise.
24375 [C99-based-standards] (SCNxLEAST64): Likewise.
24376 [C99-based-standards] (PRIdFAST64): Likewise.
24377 [C99-based-standards] (PRIiFAST64): Likewise.
24378 [C99-based-standards] (PRIoFAST64): Likewise.
24379 [C99-based-standards] (PRIuFAST64): Likewise.
24380 [C99-based-standards] (PRIxFAST64): Likewise.
24381 [C99-based-standards] (PRIXFAST64): Likewise.
24382 [C99-based-standards] (SCNdFAST64): Likewise.
24383 [C99-based-standards] (SCNiFAST64): Likewise.
24384 [C99-based-standards] (SCNoFAST64): Likewise.
24385 [C99-based-standards] (SCNuFAST64): Likewise.
24386 [C99-based-standards] (SCNxFAST64): Likewise.
24387 [C99-based-standards] (PRIdMAX): Likewise.
24388 [C99-based-standards] (PRIiMAX): Likewise.
24389 [C99-based-standards] (PRIoMAX): Likewise.
24390 [C99-based-standards] (PRIuMAX): Likewise.
24391 [C99-based-standards] (PRIxMAX): Likewise.
24392 [C99-based-standards] (PRIXMAX): Likewise.
24393 [C99-based-standards] (SCNdMAX): Likewise.
24394 [C99-based-standards] (SCNiMAX): Likewise.
24395 [C99-based-standards] (SCNoMAX): Likewise.
24396 [C99-based-standards] (SCNuMAX): Likewise.
24397 [C99-based-standards] (SCNxMAX): Likewise.
24398 [C99-based-standards] (PRIdPTR): Likewise.
24399 [C99-based-standards] (PRIiPTR): Likewise.
24400 [C99-based-standards] (PRIoPTR): Likewise.
24401 [C99-based-standards] (PRIuPTR): Likewise.
24402 [C99-based-standards] (PRIxPTR): Likewise.
24403 [C99-based-standards] (PRIXPTR): Likewise.
24404 [C99-based-standards] (SCNdPTR): Likewise.
24405 [C99-based-standards] (SCNiPTR): Likewise.
24406 [C99-based-standards] (SCNoPTR): Likewise.
24407 [C99-based-standards] (SCNuPTR): Likewise.
24408 [C99-based-standards] (SCNxPTR): Likewise.
24409 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24410 allow.
24411 * conform/data/stdint.h-data: Update comments to clarify
24412 requirements.
24413 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
24414 type.
24415 [C99-based standards] (INT8_MAX): Likewise.
24416 [C99-based standards] (INT16_MIN): Likewise.
24417 [C99-based standards] (INT16_MAX): Likewise.
24418 [C99-based standards] (INT32_MIN): Likewise.
24419 [C99-based standards] (INT32_MAX): Likewise.
24420 [C99-based standards] (INT64_MIN): Likewise.
24421 [C99-based standards] (INT64_MAX): Likewise.
24422 [C99-based standards] (UINT8_MAX): Likewise.
24423 [C99-based standards] (UINT16_MAX): Likewise.
24424 [C99-based standards] (UINT32_MAX): Likewise.
24425 [C99-based standards] (UINT64_MAX): Likewise.
24426 [C99-based standards] (INT_LEAST8_MIN): Likewise.
24427 [C99-based standards] (INT_LEAST8_MAX): Likewise.
24428 [C99-based standards] (INT_LEAST16_MIN): Likewise.
24429 [C99-based standards] (INT_LEAST16_MAX): Likewise.
24430 [C99-based standards] (INT_LEAST32_MIN): Likewise.
24431 [C99-based standards] (INT_LEAST32_MAX): Likewise.
24432 [C99-based standards] (INT_LEAST64_MIN): Likewise.
24433 [C99-based standards] (INT_LEAST64_MAX): Likewise.
24434 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24435 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24436 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24437 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24438 [C99-based standards] (INT_FAST8_MIN): Likewise.
24439 [C99-based standards] (INT_FAST8_MAX): Likewise.
24440 [C99-based standards] (INT_FAST16_MIN): Likewise.
24441 [C99-based standards] (INT_FAST16_MAX): Likewise.
24442 [C99-based standards] (INT_FAST32_MIN): Likewise.
24443 [C99-based standards] (INT_FAST32_MAX): Likewise.
24444 [C99-based standards] (INT_FAST64_MIN): Likewise.
24445 [C99-based standards] (INT_FAST64_MAX): Likewise.
24446 [C99-based standards] (UINT_FAST8_MAX): Likewise.
24447 [C99-based standards] (UINT_FAST16_MAX): Likewise.
24448 [C99-based standards] (UINT_FAST32_MAX): Likewise.
24449 [C99-based standards] (UINT_FAST64_MAX): Likewise.
24450 [C99-based standards] (INTPTR_MIN): Likewise.
24451 [C99-based standards] (INTPTR_MAX): Likewise.
24452 [C99-based standards] (UINTPTR_MAX): Likewise.
24453 [C99-based standards] (INTMAX_MIN): Likewise.
24454 [C99-based standards] (INTMAX_MAX): Likewise.
24455 [C99-based standards] (UINTMAX_MAX): Likewise.
24456 [C99-based standards] (PTRDIFF_MIN): Likewise.
24457 [C99-based standards] (PTRDIFF_MAX): Likewise.
24458 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24459 [C99-based standards] (SIZE_MAX): Likewise.
24460 [C99-based standards] (WCHAR_MAX): Likewise.
24461 [C99-based standards] (WINT_MAX): Likewise.
24462 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
24463 constraint on value.
24464 [C99-based standards] (WCHAR_MIN): Likewise.
24465 [C99-based standards] (WINT_MIN): Likewise.
24466 [C99-based standards] (*_t): Allow.
24467 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24468 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24469 Include math.h-data and complex.h-data. Remove all expectations
24470 of math.h and complex.h contents.
24471 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24472 at end of line.
24473 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24474 (struct tm): Expect tag.
24475 [C99-based-standards] (wcstof): Expect function.
24476 [C99-based-standards] (wcstold): Likewise.
24477 [C99-based-standards] (wcstoll): Likewise.
24478 [C99-based-standards] (wcstoull): Likewise.
24479 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24480 macro-int-constant. Specify type.
24481 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
24482 constraint on value.
24483 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24484 Specify type.
24485 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24486 Specify value.
24487 [ISO C standards]: Do not allow headers.
24488 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24489 wcs[abcdefghijklmnopqrstuvwxyz]*.
24490 [ISO C standards] (*_t): Do not allow.
24491 * conform/data/wctype.h-data [C99-based standards] (iswblank):
24492 Expect function.
24493 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
24494 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24495 Specify type.
24496 [ISO C standards]: Do not allow headers.
24497 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
24498 is[abcdefghijklmnopqrstuvwxyz]*.
24499 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
24500 to[abcdefghijklmnopqrstuvwxyz]*.
24501 [ISO C standards] (*_t): Do not allow.
24502 * conform/data/stdalign.h-data: New file.
24503 * conform/data/stdbool.h-data: Likewise.
24504 * conform/data/stdnoreturn.h-data: Likewise.
24505
7514feb8
RM
245062012-11-07 Roland McGrath <roland@hack.frob.com>
24507
24508 [BZ #14815]
24509 * manual/filesys.texi (Directory Entries): Typo fix.
24510 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
24511
19b2ecfc
MS
245122012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24513
24514 * elf/elf.h (EM_AARCH64): New macro.
24515 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
24516 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
24517 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
24518 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
24519 (R_AARCH64_TLSDESC): Likewise.
24520 (NT_ARM_TLS): Likewise.
24521 (NT_ARM_HW_BREAK): Likewise.
24522 (NT_ARM_HW_WATCH): Likewise.
24523
60e235ee
JM
245242012-11-07 Joseph Myers <joseph@codesourcery.com>
24525
24526 [BZ #14811]
24527 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
24528 (__ieee754_powl): Saturate nonzero exponents with absolute value
24529 below 0x1p-79 to +/- 0x1p-79.
24530 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
24531 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
24532 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
24533 nonzero exponents with absolute value below 0x1p-32 to +/-
24534 0x1p-32.
24535 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
24536 (__ieee754_powl): Saturate nonzero exponents with absolute value
24537 below 0x1p-79 to +/- 0x1p-79.
24538 * math/libm-test.inc (pow_test): Add more tests.
24539
0ab234b7
AK
245402012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24541
24542 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
24543 _dl_s390_cap_flags with kernel. Increase string length.
24544 (_dl_s390_platforms): Add z196 and zEC12.
24545
45832f74
JM
245462012-11-07 Joseph Myers <joseph@codesourcery.com>
24547
24548 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
24549 Change XOPEN21K to XOPEN2K.
24550
19218757
MK
245512012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
24552
24553 * string/memmove.c: Use memcpy when possible.
24554
c5f45721
AJ
245552012-11-06 Andreas Jaeger <aj@suse.de>
24556
24557 * po/eo.po: Update from translation team.
24558
82477c28
JM
245592012-11-06 Joseph Myers <joseph@codesourcery.com>
24560
24561 [BZ #14793]
24562 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
24563 exponent and small x and y exponents, scale x or y up. Increase
24564 by 2 the exponent used in scaling up.
24565 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24566 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24567 * math/libm-test.inc (fma_test): Add more tests.
24568 (fma_test_towardzero): Likewise.
24569 (fma_test_downward): Likewise.
24570 (fma_test_upward): Likewise.
24571
99252c8c
JM
245722012-11-05 Joseph Myers <joseph@codesourcery.com>
24573
acfa885f
JM
24574 [BZ #14805]
24575 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
24576 fenv_t *.
24577
99252c8c
JM
24578 [BZ #14801]
24579 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
24580 namespace for names of struct fields.
24581 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
24582 fenv_t fields.
24583 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24584 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
24585
d6d98dea
ST
245862012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24587
24588 [BZ #3665]
24589 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
24590
e10bb107
TS
245912012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24592
24593 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
24594 PTR_DEMANGLE.
24595
24596 [BZ #5246]
24597 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
24598 PTR_DEMANGLE.
24599
a0c2940d
JM
246002012-11-04 Joseph Myers <joseph@codesourcery.com>
24601
24602 [BZ #14797]
24603 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
24604 definitely overflow as x * y not x * y + z.
24605 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24606 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24607 * math/libm-test.inc (fma_test): Add more tests.
24608 (fma_test_towardzero): Likewise.
24609 (fma_test_downward): Likewise.
24610 (fma_test_upward): Likewise.
24611
b830319d
TS
246122012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24613
24614 [BZ #157]
24615
24616 * include/stub-tag.h: Remove file.
24617 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
24618 '#include' of it.
24619 * manual/maint.texi (Porting): Don't reference it.
24620 * Makerules ($(objpfx)stubs): Likewise.
24621 * dirent/closedir.c: Don't include <stub-tag.h>.
24622 * dirent/dirfd.c: Likewise.
24623 * dirent/fdopendir.c: Likewise.
24624 * dirent/getdents.c: Likewise.
24625 * dirent/getdents64.c: Likewise.
24626 * dirent/opendir.c: Likewise.
24627 * dirent/readdir.c: Likewise.
24628 * dirent/readdir64.c: Likewise.
24629 * dirent/readdir64_r.c: Likewise.
24630 * dirent/readdir_r.c: Likewise.
24631 * dirent/rewinddir.c: Likewise.
24632 * dirent/seekdir.c: Likewise.
24633 * dirent/telldir.c: Likewise.
24634 * gmon/profil.c: Likewise.
24635 * grp/setgroups.c: Likewise.
24636 * inet/if_index.c: Likewise.
24637 * io/access.c: Likewise.
24638 * io/chdir.c: Likewise.
24639 * io/chmod.c: Likewise.
24640 * io/chown.c: Likewise.
24641 * io/close.c: Likewise.
24642 * io/dup.c: Likewise.
24643 * io/dup2.c: Likewise.
24644 * io/dup3.c: Likewise.
24645 * io/euidaccess.c: Likewise.
24646 * io/faccessat.c: Likewise.
24647 * io/fchdir.c: Likewise.
24648 * io/fchmod.c: Likewise.
24649 * io/fchmodat.c: Likewise.
24650 * io/fchown.c: Likewise.
24651 * io/fchownat.c: Likewise.
24652 * io/fcntl.c: Likewise.
24653 * io/flock.c: Likewise.
24654 * io/fstatfs.c: Likewise.
24655 * io/fstatfs64.c: Likewise.
24656 * io/fstatvfs.c: Likewise.
24657 * io/fstatvfs64.c: Likewise.
24658 * io/futimens.c: Likewise.
24659 * io/fxstat.c: Likewise.
24660 * io/fxstat64.c: Likewise.
24661 * io/fxstatat.c: Likewise.
24662 * io/fxstatat64.c: Likewise.
24663 * io/getcwd.c: Likewise.
24664 * io/isatty.c: Likewise.
24665 * io/lchmod.c: Likewise.
24666 * io/lchown.c: Likewise.
24667 * io/link.c: Likewise.
24668 * io/linkat.c: Likewise.
24669 * io/lseek.c: Likewise.
24670 * io/lseek64.c: Likewise.
24671 * io/lxstat64.c: Likewise.
24672 * io/mkdir.c: Likewise.
24673 * io/mkdirat.c: Likewise.
24674 * io/mkfifo.c: Likewise.
24675 * io/mkfifoat.c: Likewise.
24676 * io/open.c: Likewise.
24677 * io/open64.c: Likewise.
24678 * io/openat.c: Likewise.
24679 * io/openat64.c: Likewise.
24680 * io/pipe.c: Likewise.
24681 * io/pipe2.c: Likewise.
24682 * io/poll.c: Likewise.
24683 * io/posix_fadvise.c: Likewise.
24684 * io/posix_fadvise64.c: Likewise.
24685 * io/posix_fallocate.c: Likewise.
24686 * io/posix_fallocate64.c: Likewise.
24687 * io/read.c: Likewise.
24688 * io/readlink.c: Likewise.
24689 * io/readlinkat.c: Likewise.
24690 * io/rmdir.c: Likewise.
24691 * io/sendfile.c: Likewise.
24692 * io/sendfile64.c: Likewise.
24693 * io/statfs.c: Likewise.
24694 * io/statfs64.c: Likewise.
24695 * io/statvfs.c: Likewise.
24696 * io/statvfs64.c: Likewise.
24697 * io/symlink.c: Likewise.
24698 * io/symlinkat.c: Likewise.
24699 * io/ttyname.c: Likewise.
24700 * io/ttyname_r.c: Likewise.
24701 * io/umask.c: Likewise.
24702 * io/unlink.c: Likewise.
24703 * io/unlinkat.c: Likewise.
24704 * io/utime.c: Likewise.
24705 * io/utimensat.c: Likewise.
24706 * io/write.c: Likewise.
24707 * io/xmknod.c: Likewise.
24708 * io/xmknodat.c: Likewise.
24709 * io/xstat.c: Likewise.
24710 * io/xstat64.c: Likewise.
24711 * login/getpt.c: Likewise.
24712 * login/grantpt.c: Likewise.
24713 * login/unlockpt.c: Likewise.
24714 * math/e_acoshl.c: Likewise.
24715 * math/e_acosl.c: Likewise.
24716 * math/e_asinl.c: Likewise.
24717 * math/e_atan2l.c: Likewise.
24718 * math/e_atanhl.c: Likewise.
24719 * math/e_coshl.c: Likewise.
24720 * math/e_expl.c: Likewise.
24721 * math/e_fmodl.c: Likewise.
24722 * math/e_gammal_r.c: Likewise.
24723 * math/e_hypotl.c: Likewise.
24724 * math/e_j0l.c: Likewise.
24725 * math/e_j1l.c: Likewise.
24726 * math/e_jnl.c: Likewise.
24727 * math/e_lgammal_r.c: Likewise.
24728 * math/e_log10l.c: Likewise.
24729 * math/e_log2l.c: Likewise.
24730 * math/e_logl.c: Likewise.
24731 * math/e_powl.c: Likewise.
24732 * math/e_rem_pio2l.c: Likewise.
24733 * math/e_sinhl.c: Likewise.
24734 * math/e_sqrtl.c: Likewise.
24735 * math/fclrexcpt.c: Likewise.
24736 * math/fedisblxcpt.c: Likewise.
24737 * math/feenablxcpt.c: Likewise.
24738 * math/fegetenv.c: Likewise.
24739 * math/fegetexcept.c: Likewise.
24740 * math/fegetround.c: Likewise.
24741 * math/feholdexcpt.c: Likewise.
24742 * math/fesetenv.c: Likewise.
24743 * math/fesetround.c: Likewise.
24744 * math/feupdateenv.c: Likewise.
24745 * math/fgetexcptflg.c: Likewise.
24746 * math/fraiseexcpt.c: Likewise.
24747 * math/fsetexcptflg.c: Likewise.
24748 * math/ftestexcept.c: Likewise.
24749 * math/k_cosl.c: Likewise.
24750 * math/k_rem_pio2l.c: Likewise.
24751 * math/k_sinl.c: Likewise.
24752 * math/k_tanl.c: Likewise.
24753 * math/s_asinhl.c: Likewise.
24754 * math/s_atanl.c: Likewise.
24755 * math/s_cbrtl.c: Likewise.
24756 * math/s_erfl.c: Likewise.
24757 * math/s_expm1l.c: Likewise.
24758 * math/s_log1pl.c: Likewise.
24759 * math/s_tanhl.c: Likewise.
24760 * misc/acct.c: Likewise.
24761 * misc/brk.c: Likewise.
24762 * misc/chflags.c: Likewise.
24763 * misc/chroot.c: Likewise.
24764 * misc/fchflags.c: Likewise.
24765 * misc/fgetxattr.c: Likewise.
24766 * misc/flistxattr.c: Likewise.
24767 * misc/fremovexattr.c: Likewise.
24768 * misc/fsetxattr.c: Likewise.
24769 * misc/fsync.c: Likewise.
24770 * misc/ftruncate.c: Likewise.
24771 * misc/futimes.c: Likewise.
24772 * misc/futimesat.c: Likewise.
24773 * misc/getdomain.c: Likewise.
24774 * misc/getdtsz.c: Likewise.
24775 * misc/gethostid.c: Likewise.
24776 * misc/gethostname.c: Likewise.
24777 * misc/getloadavg.c: Likewise.
24778 * misc/getpagesize.c: Likewise.
24779 * misc/getsysstats.c: Likewise.
24780 * misc/getxattr.c: Likewise.
24781 * misc/gtty.c: Likewise.
24782 * misc/ioctl.c: Likewise.
24783 * misc/lgetxattr.c: Likewise.
24784 * misc/listxattr.c: Likewise.
24785 * misc/llistxattr.c: Likewise.
24786 * misc/lremovexattr.c: Likewise.
24787 * misc/lsetxattr.c: Likewise.
24788 * misc/lutimes.c: Likewise.
24789 * misc/madvise.c: Likewise.
24790 * misc/mincore.c: Likewise.
24791 * misc/mlock.c: Likewise.
24792 * misc/mlockall.c: Likewise.
24793 * misc/mmap.c: Likewise.
24794 * misc/mprotect.c: Likewise.
24795 * misc/msync.c: Likewise.
24796 * misc/munlock.c: Likewise.
24797 * misc/munlockall.c: Likewise.
24798 * misc/munmap.c: Likewise.
24799 * misc/preadv.c: Likewise.
24800 * misc/preadv64.c: Likewise.
24801 * misc/ptrace.c: Likewise.
24802 * misc/pwritev.c: Likewise.
24803 * misc/pwritev64.c: Likewise.
24804 * misc/readv.c: Likewise.
24805 * misc/reboot.c: Likewise.
24806 * misc/remap_file_pages.c: Likewise.
24807 * misc/removexattr.c: Likewise.
24808 * misc/revoke.c: Likewise.
24809 * misc/select.c: Likewise.
24810 * misc/setdomain.c: Likewise.
24811 * misc/setegid.c: Likewise.
24812 * misc/seteuid.c: Likewise.
24813 * misc/sethostid.c: Likewise.
24814 * misc/sethostname.c: Likewise.
24815 * misc/setregid.c: Likewise.
24816 * misc/setreuid.c: Likewise.
24817 * misc/setxattr.c: Likewise.
24818 * misc/sstk.c: Likewise.
24819 * misc/stty.c: Likewise.
24820 * misc/swapoff.c: Likewise.
24821 * misc/swapon.c: Likewise.
24822 * misc/sync.c: Likewise.
24823 * misc/syncfs.c: Likewise.
24824 * misc/syscall.c: Likewise.
24825 * misc/truncate.c: Likewise.
24826 * misc/ualarm.c: Likewise.
24827 * misc/usleep.c: Likewise.
24828 * misc/ustat.c: Likewise.
24829 * misc/utimes.c: Likewise.
24830 * misc/vhangup.c: Likewise.
24831 * misc/writev.c: Likewise.
24832 * posix/_exit.c: Likewise.
24833 * posix/alarm.c: Likewise.
24834 * posix/execve.c: Likewise.
24835 * posix/fexecve.c: Likewise.
24836 * posix/fork.c: Likewise.
24837 * posix/fpathconf.c: Likewise.
24838 * posix/getaddrinfo.c: Likewise.
24839 * posix/getegid.c: Likewise.
24840 * posix/geteuid.c: Likewise.
24841 * posix/getgid.c: Likewise.
24842 * posix/getgroups.c: Likewise.
24843 * posix/getlogin.c: Likewise.
24844 * posix/getlogin_r.c: Likewise.
24845 * posix/getpgid.c: Likewise.
24846 * posix/getpid.c: Likewise.
24847 * posix/getppid.c: Likewise.
24848 * posix/getresgid.c: Likewise.
24849 * posix/getresuid.c: Likewise.
24850 * posix/getsid.c: Likewise.
24851 * posix/getuid.c: Likewise.
24852 * posix/glob64.c: Likewise.
24853 * posix/nanosleep.c: Likewise.
24854 * posix/pathconf.c: Likewise.
24855 * posix/pause.c: Likewise.
24856 * posix/posix_madvise.c: Likewise.
24857 * posix/pread.c: Likewise.
24858 * posix/pread64.c: Likewise.
24859 * posix/pwrite.c: Likewise.
24860 * posix/pwrite64.c: Likewise.
24861 * posix/sched_getaffinity.c: Likewise.
24862 * posix/sched_getp.c: Likewise.
24863 * posix/sched_gets.c: Likewise.
24864 * posix/sched_primax.c: Likewise.
24865 * posix/sched_primin.c: Likewise.
24866 * posix/sched_rr_gi.c: Likewise.
24867 * posix/sched_setaffinity.c: Likewise.
24868 * posix/sched_setp.c: Likewise.
24869 * posix/sched_sets.c: Likewise.
24870 * posix/sched_yield.c: Likewise.
24871 * posix/setgid.c: Likewise.
24872 * posix/setlogin.c: Likewise.
24873 * posix/setpgid.c: Likewise.
24874 * posix/setresgid.c: Likewise.
24875 * posix/setresuid.c: Likewise.
24876 * posix/setsid.c: Likewise.
24877 * posix/setuid.c: Likewise.
24878 * posix/sleep.c: Likewise.
24879 * posix/spawni.c: Likewise.
24880 * posix/sysconf.c: Likewise.
24881 * posix/times.c: Likewise.
24882 * posix/wait.c: Likewise.
24883 * posix/wait3.c: Likewise.
24884 * posix/wait4.c: Likewise.
24885 * posix/waitpid.c: Likewise.
24886 * resolv/gai_sigqueue.c: Likewise.
24887 * resource/getpriority.c: Likewise.
24888 * resource/getrlimit.c: Likewise.
24889 * resource/getrusage.c: Likewise.
24890 * resource/nice.c: Likewise.
24891 * resource/setpriority.c: Likewise.
24892 * resource/setrlimit.c: Likewise.
24893 * resource/ulimit.c: Likewise.
24894 * rt/aio_cancel.c: Likewise.
24895 * rt/aio_fsync.c: Likewise.
24896 * rt/aio_read.c: Likewise.
24897 * rt/aio_sigqueue.c: Likewise.
24898 * rt/aio_suspend.c: Likewise.
24899 * rt/aio_write.c: Likewise.
24900 * rt/clock_getres.c: Likewise.
24901 * rt/clock_gettime.c: Likewise.
24902 * rt/clock_nanosleep.c: Likewise.
24903 * rt/clock_settime.c: Likewise.
24904 * rt/lio_listio.c: Likewise.
24905 * rt/mq_close.c: Likewise.
24906 * rt/mq_getattr.c: Likewise.
24907 * rt/mq_notify.c: Likewise.
24908 * rt/mq_open.c: Likewise.
24909 * rt/mq_receive.c: Likewise.
24910 * rt/mq_send.c: Likewise.
24911 * rt/mq_setattr.c: Likewise.
24912 * rt/mq_timedreceive.c: Likewise.
24913 * rt/mq_timedsend.c: Likewise.
24914 * rt/mq_unlink.c: Likewise.
24915 * rt/shm_open.c: Likewise.
24916 * rt/shm_unlink.c: Likewise.
24917 * rt/timer_create.c: Likewise.
24918 * rt/timer_delete.c: Likewise.
24919 * rt/timer_getoverr.c: Likewise.
24920 * rt/timer_gettime.c: Likewise.
24921 * rt/timer_settime.c: Likewise.
24922 * setjmp/__longjmp.c: Likewise.
24923 * setjmp/setjmp.c: Likewise.
24924 * signal/kill.c: Likewise.
24925 * signal/killpg.c: Likewise.
24926 * signal/raise.c: Likewise.
24927 * signal/sigaction.c: Likewise.
24928 * signal/sigaltstack.c: Likewise.
24929 * signal/sigblock.c: Likewise.
24930 * signal/sigignore.c: Likewise.
24931 * signal/sigintr.c: Likewise.
24932 * signal/signal.c: Likewise.
24933 * signal/sigpause.c: Likewise.
24934 * signal/sigpending.c: Likewise.
24935 * signal/sigqueue.c: Likewise.
24936 * signal/sigreturn.c: Likewise.
24937 * signal/sigset.c: Likewise.
24938 * signal/sigsetmask.c: Likewise.
24939 * signal/sigstack.c: Likewise.
24940 * signal/sigsuspend.c: Likewise.
24941 * signal/sigtimedwait.c: Likewise.
24942 * signal/sigvec.c: Likewise.
24943 * signal/sigwait.c: Likewise.
24944 * signal/sigwaitinfo.c: Likewise.
24945 * signal/sysv_signal.c: Likewise.
24946 * socket/accept.c: Likewise.
24947 * socket/accept4.c: Likewise.
24948 * socket/bind.c: Likewise.
24949 * socket/connect.c: Likewise.
24950 * socket/getpeername.c: Likewise.
24951 * socket/getsockname.c: Likewise.
24952 * socket/getsockopt.c: Likewise.
24953 * socket/isfdtype.c: Likewise.
24954 * socket/listen.c: Likewise.
24955 * socket/recv.c: Likewise.
24956 * socket/recvfrom.c: Likewise.
24957 * socket/recvmsg.c: Likewise.
24958 * socket/send.c: Likewise.
24959 * socket/sendmsg.c: Likewise.
24960 * socket/sendto.c: Likewise.
24961 * socket/setsockopt.c: Likewise.
24962 * socket/shutdown.c: Likewise.
24963 * socket/sockatmark.c: Likewise.
24964 * socket/socket.c: Likewise.
24965 * socket/socketpair.c: Likewise.
24966 * stdio-common/ctermid.c: Likewise.
24967 * stdio-common/cuserid.c: Likewise.
24968 * stdio-common/remove.c: Likewise.
24969 * stdio-common/rename.c: Likewise.
24970 * stdio-common/renameat.c: Likewise.
24971 * stdio-common/tempname.c: Likewise.
24972 * stdlib/getcontext.c: Likewise.
24973 * stdlib/makecontext.c: Likewise.
24974 * stdlib/setcontext.c: Likewise.
24975 * stdlib/swapcontext.c: Likewise.
24976 * stdlib/system.c: Likewise.
24977 * streams/fattach.c: Likewise.
24978 * streams/fdetach.c: Likewise.
24979 * streams/getmsg.c: Likewise.
24980 * streams/getpmsg.c: Likewise.
24981 * streams/putmsg.c: Likewise.
24982 * streams/putpmsg.c: Likewise.
24983 * sysdeps/unix/bsd/getpt.c: Likewise.
24984 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
24985 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
24986 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24988 Likewise.
24989 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
24990 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24991 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24992 * sysvipc/msgctl.c: Likewise.
24993 * sysvipc/msgget.c: Likewise.
24994 * sysvipc/msgrcv.c: Likewise.
24995 * sysvipc/msgsnd.c: Likewise.
24996 * sysvipc/semctl.c: Likewise.
24997 * sysvipc/semget.c: Likewise.
24998 * sysvipc/semop.c: Likewise.
24999 * sysvipc/semtimedop.c: Likewise.
25000 * sysvipc/shmat.c: Likewise.
25001 * sysvipc/shmctl.c: Likewise.
25002 * sysvipc/shmdt.c: Likewise.
25003 * sysvipc/shmget.c: Likewise.
25004 * termios/tcdrain.c: Likewise.
25005 * termios/tcflow.c: Likewise.
25006 * termios/tcflush.c: Likewise.
25007 * termios/tcgetattr.c: Likewise.
25008 * termios/tcgetpgrp.c: Likewise.
25009 * termios/tcsendbrk.c: Likewise.
25010 * termios/tcsetattr.c: Likewise.
25011 * termios/tcsetpgrp.c: Likewise.
25012 * time/adjtime.c: Likewise.
25013 * time/clock.c: Likewise.
25014 * time/getitimer.c: Likewise.
25015 * time/gettimeofday.c: Likewise.
25016 * time/setitimer.c: Likewise.
25017 * time/settimeofday.c: Likewise.
25018 * time/stime.c: Likewise.
25019 * time/time.c: Likewise.
25020
250212012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 25022
a20492cf
PT
25023 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25024 /usr/old/bin.
25025
72e182e3
PT
25026 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25027 instead of spaces.
25028 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25029
fbeafede
JM
250302012-11-03 Joseph Myers <joseph@codesourcery.com>
25031
5b5b04d6
JM
25032 [BZ #14796]
25033 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25034 FE_TONEAREST before applying Dekker multiplication and Knuth
25035 addition. Clear inexact exceptions and check for exact zero
25036 results afterwards.
25037 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25038 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25039 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25040 * math/libm-test.inc (fma_test): Add more tests.
25041 (fma_test_towardzero): Likewise.
25042 (fma_test_downward): Likewise.
25043 (fma_test_upward): Likewise.
25044 * sysdeps/generic/math_private.h (default_libc_fesetround): New
25045 function.
25046 (libc_fesetround): New macro.
25047 (libc_fesetroundf): Likewise.
25048 (libc_fesetroundl): Likewise.
25049 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25050 function.
25051 (libc_fesetround_387): Likewise.
25052 (libc_fesetroundf): New macro.
25053 (libc_fesetround): Likewise.
25054 (libc_fesetroundl): Likewise.
25055 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25056 function.
25057 (libc_fesetroundf): New macro.
25058 (libc_fesetround): Likewise.
25059 (libc_fesetroundl): Likewise.
25060 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25061 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25062 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25063 libm_hidden_ver.
25064 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25065 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25066 libm_hidden_def.
25067 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25068 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25069 libm_hidden_ver.
25070 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25071 libm_hidden_def.
25072
fbeafede
JM
25073 [BZ #3439]
25074 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25075 integer constant usable in #if and use that to give value to enum
25076 constant.
25077 (FE_DIVBYZERO): Likewise.
25078 (FE_UNDERFLOW): Likewise.
25079 (FE_OVERFLOW): Likewise.
25080 (FE_INVALID): Likewise.
25081 (FE_INVALID_SNAN): Likewise.
25082 (FE_INVALID_ISI): Likewise.
25083 (FE_INVALID_IDI): Likewise.
25084 (FE_INVALID_ZDZ): Likewise.
25085 (FE_INVALID_IMZ): Likewise.
25086 (FE_INVALID_COMPARE): Likewise.
25087 (FE_INVALID_SOFTWARE): Likewise.
25088 (FE_INVALID_SQRT): Likewise.
25089 (FE_INVALID_INTEGER_CONVERSION): Likewise.
25090 (FE_TONEAREST): Likewise.
25091 (FE_TOWARDZERO): Likewise.
25092 (FE_UPWARD): Likewise.
25093 (FE_DOWNWARD): Likewise.
25094 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25095 (FE_DIVBYZERO): Likewise.
25096 (FE_OVERFLOW): Likewise.
25097 (FE_UNDERFLOW): Likewise.
25098 (FE_INEXACT): Likewise.
25099 (FE_TONEAREST): Likewise.
25100 (FE_DOWNWARD): Likewise.
25101 (FE_UPWARD): Likewise.
25102 (FE_TOWARDZERO): Likewise.
25103 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25104 (FE_UNDERFLOW): Likewise.
25105 (FE_OVERFLOW): Likewise.
25106 (FE_DIVBYZERO): Likewise.
25107 (FE_INVALID): Likewise.
25108 (FE_TONEAREST): Likewise.
25109 (FE_TOWARDZERO): Likewise.
25110 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25111 (FE_OVERFLOW): Likewise.
25112 (FE_UNDERFLOW): Likewise.
25113 (FE_DIVBYZERO): Likewise.
25114 (FE_INEXACT): Likewise.
25115 (FE_TONEAREST): Likewise.
25116 (FE_TOWARDZERO): Likewise.
25117 (FE_UPWARD): Likewise.
25118 (FE_DOWNWARD): Likewise.
25119 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25120 (FE_DIVBYZERO): Likewise.
25121 (FE_OVERFLOW): Likewise.
25122 (FE_UNDERFLOW): Likewise.
25123 (FE_INEXACT): Likewise.
25124 (FE_TONEAREST): Likewise.
25125 (FE_DOWNWARD): Likewise.
25126 (FE_UPWARD): Likewise.
25127 (FE_TOWARDZERO): Likewise.
25128
105ca950
CM
251292012-11-02 Chris Metcalf <cmetcalf@tilera.com>
25130
25131 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25132
a542b389
AS
251332012-11-03 Andreas Schwab <schwab@linux-m68k.org>
25134
25135 * scripts/cross-test-ssh.sh (command): Use newlines to separate
25136 commands. Quote $PWD.
25137 (blacklist_exports): Don't use remove_newlines. Replace "declare
25138 -x" by "export".
25139 (remove_newlines): Remove.
25140
f62c8abc
L
251412012-11-02 H.J. Lu <hongjiu.lu@intel.com>
25142
25143 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25144 * stdlib/stdlib.h (atof): Moved to ...
25145 * include/bits/stdlib-float.h: Here. New file.
25146 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25147 * stdlib/bits/stdlib-float.h: New file.
25148 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25149 -mno-sse -mno-mmx.
25150 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25151 <xmmintrin.h>.
25152
0155d5b2
JM
251532012-11-02 Joseph Myers <joseph@codesourcery.com>
25154
a68d0680
JM
25155 * conform/conformtest.pl (@headers): Add fenv.h.
25156 * conform/data/fenv.h-data: New file.
25157 * include/fenv.h [_ISOMAC]: Disable all contents of file except
25158 include of <math/fenv.h>.
25159
caf7f573
JM
25160 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25161 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25162 && !UNIX98]. Enables tests for XOPEN2K8.
25163 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25164 POSIX2008]: Likewise.
25165
6c073ad6
JM
25166 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25167 (struct rusage): Do not expect type or its members.
25168
0155d5b2
JM
25169 [BZ #3439]
25170 * math/math.h (FP_NAN): Define macro to integer constant usable in
25171 #if and use that to give value to enum constant.
25172 (FP_INFINITE): Likewise.
25173 (FP_ZERO): Likewise.
25174 (FP_SUBNORMAL): Likewise.
25175 (FP_NORMAL): Likewise.
25176
b5dcacb4
AS
251772012-11-02 Andreas Schwab <schwab@linux-m68k.org>
25178
25179 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25180 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25181 arguments.
25182
f7934be8
RM
251832012-11-02 Roland McGrath <roland@hack.frob.com>
25184
25185 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25186 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25187 autoconf-time if not.
25188 * configure.in: Remove AC_PREREQ.
25189
d7d08bde
TMQMF
251902012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25191
25192 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25193 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25194 of the internal implementation.
25195
dcdae19a
JM
251962012-11-02 Joseph Myers <joseph@codesourcery.com>
25197
25198 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25199 except include of <misc/sys/syslog.h>.
25200
d6cffd3e
AS
252012012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25202
25203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25204 function returns with a NULL context exit with zero.
25205
b3563932
TMQMF
252062012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25207
25208 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25209
b288a93d
L
252102012-11-01 H.J. Lu <hongjiu.lu@intel.com>
25211
25212 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25213 (run_program_cmd): This.
25214 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25215 (tst_langinfo): New variable. Use it.
25216
a2421a68
SAS
252172012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
25218
25219 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25220 floating point opcodes.
25221
6f796e1b
TS
252222012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25223
7402596b
TS
25224 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25225 variable.
25226
d0d4f868
TS
25227 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25228
6f796e1b
TS
25229 * sysdeps/mach/hurd/powerpc: Remove directory.
25230 * sysdeps/mach/powerpc: Likewise.
25231
4da224a2
AS
252322012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25233
25234 * scripts/check-local-headers.sh: Ignore c++ headers.
25235
341dd673
TS
252362012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25237
25238 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25239 __libc_cleanup_region_start argument.
25240
473611b2
JM
252412012-11-01 Joseph Myers <joseph@codesourcery.com>
25242
25243 [BZ #14784]
25244 [BZ #14785]
25245 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25246 x * y using scaling, not as x * y + z.
25247 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25248 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25249 * math/libm-test.inc (fma_test): Add more tests.
25250 (fma_test_towardzero): Likewise.
25251 (fma_test_downward): Likewise.
25252 (fma_test_upward): Likewise.
25253
4078da3d
TS
252542012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25255
25256 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25257
903252aa
JM
252582012-10-31 Joseph Myers <joseph@codesourcery.com>
25259
25260 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25261 New variable.
25262
cbc818d0
TS
252632012-10-31 Thomas Schwinge <thomas@codesourcery.com>
25264
25265 * rt/tst-shm.c (worker): Correct checking for mmap failure.
25266
5a03cb1e
AS
252672012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25268
25269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25270 Fix sort order.
25271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25272 Likewise.
25273
90aff2ff
TMQMF
252742012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25275
25276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25277 Fix the order of the list for glibc 2.17.
25278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25279 Likewise.
25280
1818fcb7
AS
252812012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25282
25283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25284
ef82f4da
JM
252852012-10-31 Joseph Myers <joseph@codesourcery.com>
25286
16a0e2ec
JM
25287 [BZ #14610]
25288 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25289 for low part of x being zero before using __atanl (y).
25290 * math/libm-test.inc (atan2_test): Add another test.
25291
0eb69512
JM
25292 * manual/install.texi (Configuring and compiling): Document
25293 general use of test-wrapper and test-wrapper-env.
25294 * INSTALL: Regenerated.
25295
ef82f4da
JM
25296 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25297 (__fma): Do not extract and scale down low bits on after-rounding
25298 systems when result rounded to normal precision would have normal
25299 exponent.
25300 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25301 (__fmal): Do not extract and scale down low bits on after-rounding
25302 systems when result rounded to normal precision would have normal
25303 exponent.
25304 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25305 (__fmal): Do not extract and scale down low bits on after-rounding
25306 systems when result rounded to normal precision would have normal
25307 exponent.
25308 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25309 macro.
25310 (fma_test): Add more tests.
25311 (fma_test_towardzero): Likewise.
25312 (fma_test_downward): Likewise.
25313 (fma_test_upward): Likewise.
25314
954ef0d9
L
253152012-10-30 H.J. Lu <hongjiu.lu@intel.com>
25316
25317 * sysdeps/i386/tininess.h: Renamed to ...
25318 * sysdeps/x86/tininess.h: This.
25319 * sysdeps/x86_64/tininess.h: Removed.
25320
df61ffb2
JM
253212012-10-30 Joseph Myers <joseph@codesourcery.com>
25322
25323 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25324 input. Use $(build-program-cmd).
25325 ($(objpfx)tst-array1-static.out): Likewise.
25326 ($(objpfx)tst-array2.out): Likewise.
25327 ($(objpfx)tst-array3.out): Likewise.
25328 ($(objpfx)tst-array4.out): Likewise.
25329 ($(objpfx)tst-array5.out): Likewise.
25330 ($(objpfx)tst-array5-static.out): Likewise.
25331
01767843
CM
253322012-10-30 Chris Metcalf <cmetcalf@tilera.com>
25333
47cc1490
CM
25334 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25335 if defined.
25336
01767843
CM
25337 * nss/nsswitch.h (nss_interface_function): Provide new
25338 macro for use with NSS functions.
25339 * grp/initgroups.c: Use new macro.
25340 * nss/getXXbyYY.c: Likewise.
25341 * nss/getXXbyYY_r.c: Likewise.
25342 * nss/getXXent.c: Likewise.
25343 * nss/getXXent_r.c: Likewise.
25344 * sysdeps/posix/getaddrinfo.c: Likewise.
25345
8321aa97
AJ
253462012-10-30 Andreas Jaeger <aj@suse.de>
25347
25348 * po/ru.po: Update Russion translation from translation project.
25349
2a27fd6d
JM
253502012-10-30 Joseph Myers <joseph@codesourcery.com>
25351
8627a232
JM
25352 [BZ #14152]
25353 [BZ #14783]
25354 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25355 result and shift together with sticky bit instead of replicating
25356 round-to-nearest rounding.
25357 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25358 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25359 * math/libm-test.inc (fma_test): Add more tests. Do not permit
25360 missing underflow exceptions.
25361 (fma_test_towardzero): Add more tests.
25362 (fma_test_downward): Likewise.
25363 (fma_test_upward): Likewise.
25364
2a27fd6d
JM
25365 [BZ #14047]
25366 * sysdeps/generic/tininess.h: New file.
25367 * sysdeps/i386/tininess.h: Likewise.
25368 * sysdeps/sh/tininess.h: Likewise.
25369 * sysdeps/x86_64/tininess.h: Likewise.
25370 * stdlib/tst-strtod-underflow.c: Likewise.
25371 * stdlib/tst-tininess.c: Likewise.
25372 * stdlib/strtod_l.c: Include <tininess.h>.
25373 (round_and_return): Do not set errno for exact underflow cases.
25374 Force an underflow exception when setting errno for underflow.
25375 Determine underflow based on rounding to normal precision if
25376 TININESS_AFTER_ROUNDING.
25377 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25378 ERANGE for exact underflow cases.
25379 * stdlib/Makefile (tests): Add tst-tininess and
25380 tst-strtod-underflow.
25381 ($(objpfx)tst-tininess): Use $(link-libm).
25382 ($(objpfx)tst-strtod-underflow): Likewise.
25383
e7170363
AJ
253842012-10-30 Andreas Jaeger <aj@suse.de>
25385
e5088dc6
AJ
25386 [BZ#14767]
25387 * elf/Makefile (tests): Remove conditional for have-initfini-array
25388 since this is now always required and the variable does not exist
25389 anymore.
25390 (tests-static): Likewise.
25391 (modules-names): Likewise.
25392
e7170363 25393 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
25394
25395 * elf/tst-array1.c (fini_array): Make writeable so that it can be
25396 merged with constructor/destructor.
25397 (init_array): Likewise.
25398 * elf/tst-array2dep.c (fini_array): Likewise.
25399 (init_array): Likewise.
25400
60457d8a
MF
254012012-10-29 Mike Frysinger <vapier@gentoo.org>
25402
25403 * manual/message.texi: Delete @cartouche tags.
25404
8bece752
PT
254052012-10-29 Pino Toscano <toscano.pino@tiscali.it>
25406
94ce799f
PT
25407 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25408 EOPNOTSUPP.
25409 * sysdeps/mach/hurd/fsync.c: Likewise.
25410
8bece752
PT
25411 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25412 [_POSIX_REALTIME_SIGNALS]: Change condition to
25413 [_POSIX_REALTIME_SIGNALS > 0].
25414
86ebe6b1
AJ
254152012-10-27 Andreas Jaeger <aj@suse.de>
25416
25417 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25418 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25419 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25420 [__WORDSIZE != 64]: Likewise.
25421
54399c08
L
254222012-10-26 H.J. Lu <hongjiu.lu@intel.com>
25423
25424 * iconvdata/tst-table.sh: Remove ${SHELL}.
25425 * iconvdata/tst-tables.sh: Likewise.
25426
e2211bed
DM
254272012-10-25 David S. Miller <davem@davemloft.net>
25428
25429 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25430 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25431 of strtoull.
25432
f303f97c
DM
25433 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25434 ifunc-impl-list.c
25435 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25436 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25437 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25438 file.
25439
1e9d84cd
RM
254402012-10-25 Roland McGrath <roland@hack.frob.com>
25441
25442 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25443 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25444 __getdirentries.
25445
df381762
JM
254462012-10-25 Joseph Myers <joseph@codesourcery.com>
25447 Jim Blandy <jimb@codesourcery.com>
25448
25449 * scripts/cross-test-ssh.sh: New file.
25450 * manual/install.texi (Configuring and compiling): Document use of
25451 cross-test-ssh.sh.
25452 * INSTALL: Regenerated.
25453
bff64913
PT
254542012-10-25 Pino Toscano <toscano.pino@tiscali.it>
25455
25456 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25457 EOPNOTSUPP.
25458
25fe8932
JM
254592012-10-25 Joseph Myers <joseph@codesourcery.com>
25460
25461 * Makeconfig (run-program-prefix): Fix comment.
25462
cc1290d0
JM
254632012-10-24 Joseph Myers <joseph@codesourcery.com>
25464 Jim Blandy <jimb@codesourcery.com>
25465
25466 * Makeconfig (test-wrapper): New variable,
25467 (test-wrapper-env): Likewise.
25468 [$(cross-compiling) = yes && $(test-wrapper) != ""]
25469 (run-built-tests): Define to yes.
25470 (run-program-prefix): Use $(test-wrapper).
25471 (built-program-cmd): Likewise.
25472 * Rules (make-test-out): Use $(test-wrapper-env) and
25473 $(host-built-program-cmd).
25474 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25475 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25476 tst-pathopt.sh.
25477 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25478 $(test-wrapper-env) to tst-rtld-load-self.sh.
25479 ($(objpfx)order2.out): Use $(test-wrapper).
25480 ($(objpfx)tst-initorder.out): Likewise.
25481 ($(objpfx)tst-initorder2.out): Likewise.
25482 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25483 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25484 (test_wrapper_env): New variable. Use it to run ld.so.
25485 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25486 Use it to run ld.so.
25487 (test_wrapper_env): Likewise.
25488 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25489 $(test-wrapper) to run-iconv-test.sh.
25490 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
25491 (ICONV): Use $test_wrapper.
25492 * posix/Makefile ($(objpfx)globtest.out): Pass
25493 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
25494 globtest.sh, not $(run-program-prefix).
25495 * posix/globtest.sh (run_via_rtld_prefix): New variable.
25496 (test_wrapper): Likewise.
25497 (test_wrapper_env): Likewise. Use it to run globtest with HOME
25498 set together with run_via_rtld_prefix.
25499 (run_program_prefix): Define in terms of test_wrapper and
25500 run_via_rtld_prefix.
25501
6e6249d0
RM
255022012-10-24 Roland McGrath <roland@hack.frob.com>
25503
25504 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
25505 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
25506 Targets removed.
25507
25508 [BZ #14743]
25509 * include/time.h: Remove librt_hidden_proto (clock_gettime).
25510 Declare __clock_getres, __clock_gettime, __clock_settime,
25511 __clock_nanosleep, and __clock_getcpuclockid.
25512 * rt/clock_gettime.c: Define __clock_gettime as an alias.
25513 Remove librt_hidden_def (clock_gettime).
25514 * sysdeps/unix/clock_gettime.c: Likewise.
25515 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
25516 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25517 * rt/clock_getres.c: Define __clock_getres as an alias.
25518 * sysdeps/posix/clock_getres.c: Likewise.
25519 * rt/clock_settime.c: Define __clock_settime as an alias.
25520 * sysdeps/unix/clock_settime.c: Likewise.
25521 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
25522 * sysdeps/unix/clock_nanosleep.c: Likewise.
25523 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25524 * rt/clock-compat.c: New file.
25525 * rt/Makefile (librt-routines): Add clock-compat and move
25526 $(clock-routines) to ...
25527 (routines): ... here, new variable.
25528 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
25529 Don't add get_clockfreq here.
25530 * rt/Versions (libc: GLIBC_2.17): New version set.
25531 Add clock_* symbols here.
25532 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
25533 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
25534 (GLIBC_2.17): Add clock_* symbols.
25535 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25537 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25539 Likewise.
25540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25541 Likewise.
25542 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25543 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25546 * NEWS: Mention the move.
25547
25548 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25549 Use __open, __read, __close rather than their public counterparts.
25550 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25551 (__get_clockfreq_via_cpuinfo): Likewise.
25552 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
25553 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
25554
25555 * config.h.in (HAVE_IFUNC): New #undef.
25556 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
25557 was successful.
25558 * configure: Regenerated.
25559
0cae3f4b
MF
255602012-10-24 Mike Frysinger <vapier@gentoo.org>
25561
25562 * configure.in: Move READELF check to start of file.
25563 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
25564 libc_cv_asm_gnu_indirect_function in the process.
25565 * configure: Regenerated.
25566
8175a253
MF
255672012-10-24 Mike Frysinger <vapier@gentoo.org>
25568
25569 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
25570 send the output to /dev/null.
25571 (libc_cv_cc_with_libunwind): Likewise.
25572 (libc_cv_as_noexecstack): Likewise.
25573 * configure: Regenerate.
25574
0708a7d1
JM
255752012-10-24 Joseph Myers <joseph@codesourcery.com>
25576
10b40d85
JM
25577 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
25578
0708a7d1
JM
25579 * posix/globtest.sh (TMPDIR): Do not set.
25580 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
25581 (testout): Likewise.
25582
9fddec1a
AJ
255832012-10-24 Andreas Jaeger <aj@suse.de>
25584
3a8db22f
AJ
25585 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
25586 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
25587 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
25588 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
25589 posix_fadvise64, posix_fallocate64.
25590
9fddec1a
AJ
25591 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
25592 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
25593 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
25594 Likewise.
25595 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
25596 Likewise.
25597 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
25598
25599 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
25600 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
25601 <bits/fcntl-linux.h>.
25602 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
25603
25604 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
25605 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
25606 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
25607 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
25608 [__WORDSIZE != 64]: Likewise.
25609
ebfd1bbd
JM
256102012-10-23 Joseph Myers <joseph@codesourcery.com>
25611
03ac099f
JM
25612 * Makeconfig (run-built-tests): New variable.
25613 * Rules [$(cross-compiling) = yes]: Change condition to
25614 [$(run-built-tests) = no].
25615 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
25616 to [$(run-built-tests) = yes].
25617 * elf/Makefile [$(cross-compiling) = no]: Likewise
25618 * grp/Makefile [$(cross-compiling) = no]: Likewise.
25619 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
25620 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
25621 * intl/Makefile [$(cross-compiling) = no]: Likewise.
25622 * io/Makefile [$(cross-compiling) = no]: Likewise.
25623 * libio/Makefile [$(cross-compiling) = no]: Likewise.
25624 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
25625 * misc/Makefile [$(cross-compiling) = no]: Likewise.
25626 * posix/Makefile [$(cross-compiling) = no]: Likewise.
25627 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
25628 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
25629 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
25630 * string/Makefile [$(cross-compiling) = no]: Likewise.
25631
ebfd1bbd
JM
25632 * posix/Makefile ($(objpfx)globtest.out): Pass
25633 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
25634 $(rtld-installed-name).
25635 * posix/globtest.sh (elf_objpfx): Remove variable.
25636 (rtld_installed_name): Likewise.
25637 (library_path): Likewise.
25638 (run_program_prefix): New variable. Use for running globtest
25639 binary.
25640
166bca24
JB
256412012-10-23 Jim Blandy <jimb@codesourcery.com>
25642 Joseph Myers <joseph@codesourcery.com>
25643
25644 * Makeconfig (host-built-program-cmd): New variable.
25645 * elf/Makefile (tst-stackguard1-ARGS): Use
25646 $(host-built-program-cmd).
25647 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
25648 (tst-spawn-ARGS): Likewise.
25649 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
25650
88866099
JM
256512012-10-23 Joseph Myers <joseph@codesourcery.com>
25652 Jim Blandy <jimb@codesourcery.com>
25653
25654 * Makeconfig (run-via-rtld-prefix): New variable.
25655 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
25656 (built-program-cmd): Likewise.
25657
b4b4c296
AJ
256582012-10-22 Andreas Jaeger <aj@suse.de>
25659
25660 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
25661 __O_RSYNC if it exists, otherwise to O_SYNC.
25662
6fb54a22
JB
256632012-10-22 Jim Blandy <jimb@codesourcery.com>
25664 Joseph Myers <joseph@codesourcery.com>
25665
25666 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
25667 /dev/null.
25668 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
25669 from /dev/null
25670 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
25671 /dev/null.
25672
481b90b9
AJ
256732012-10-22 Andreas Jaeger <aj@suse.de>
25674
2a0e2669
AJ
25675 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
25676 Define always.
25677 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
25678
76e38f9a
AJ
25679 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25680 bits/fcntl-linux.h.
25681
7cd37b43
AJ
25682 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
25683 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
25684
481b90b9
AJ
25685 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
25686 to __O_LARGEFILE.
25687 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
25688 to __O_LARGEFILE.
25689
aba75984
JB
256902012-10-21 Jim Blandy <jimb@codesourcery.com>
25691 Joseph Myers <joseph@codesourcery.com>
25692
25693 * config.make.in (NM): New variable.
25694
88d4247f
AJ
256952012-10-21 Andreas Jaeger <aj@suse.de>
25696
25697 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
25698 definitions and declarations that are provided by
25699 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25700
f2eed205
L
257012012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25702
25703 [BZ #14683]
25704 * elf/Makefile (tests-static): Add tst-leaks1-static.
25705 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
25706 ($(objpfx)tst-leaks1-static): New rule.
25707 ($(objpfx)tst-leaks1-static-mem): Likewise.
25708 (tst-leaks1-static-ENV): New macro.
25709 * elf/dl-open.c (dl_open_worker): Check the main application
25710 only if SHARED is defined.
25711 * elf/tst-leaks1-static.c: New file.
25712
335e6931
AJ
257132012-10-20 Andreas Jaeger <aj@suse.de>
25714
25715 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
25716 generic values for Linux.
25717 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
25718 and declarations that are provided by <bits/fcntl-linux.h> and
25719 include <bits/fcntl-linux.h>.
25720 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25721 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25722
ac5c94d3
RM
257232012-10-20 Roland McGrath <roland@hack.frob.com>
25724
25725 * io/fcntl.h: Move include of <bits/types.h> to the top and
25726 include it unconditionally.
25727
de54b33a
L
257282012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25729
228cfb01
L
25730 * wcsmbs/Makefile (tests-ifunc): New variable.
25731 (tests): Add $(tests-ifunc).
25732 * wcsmbs/test-wcschr-ifunc.c: New file.
25733 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25734 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25735 * wcsmbs/test-wcslen-ifunc.c: Likewise.
25736 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25737 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25738
69f07e5f
L
25739 * string/Makefile (tests-ifunc): New variable.
25740 (tests): Add $(tests-ifunc).
25741 * string/test-memccpy.c (TEST_NAME): New macro.
25742 * string/test-memchr.c (TEST_NAME): Likewise.
25743 * string/test-memcmp.c (TEST_NAME): Likewise.
25744 * string/test-memcpy.c (TEST_NAME): Likewise.
25745 * string/test-memmem.c (TEST_NAME): Likewise.
25746 * string/test-memmove.c (TEST_NAME): Likewise.
25747 * string/test-memset.c (TEST_NAME): Likewise.
25748 * string/test-rawmemchr.c (TEST_NAME): Likewise.
25749 * string/test-stpcpy.c (TEST_NAME): Likewise.
25750 * string/test-stpncpy.c (TEST_NAME): Likewise.
25751 * string/test-strcasecmp.c (TEST_NAME): Likewise.
25752 * string/test-strcasestr.c (TEST_NAME): Likewise.
25753 * string/test-strcat.c (TEST_NAME): Likewise.
25754 * string/test-strchr.c (TEST_NAME): Likewise.
25755 * string/test-strcmp.c(TEST_NAME): Likewise.
25756 * string/test-strcpy.c (TEST_NAME): Likewise.
25757 * string/test-strcspn.c (TEST_NAME): Likewise.
25758 * string/test-strlen.c (TEST_NAME): Likewise.
25759 * string/test-strncasecmp.c (TEST_NAME): Likewise.
25760 * string/test-strncmp.c (TEST_NAME): Likewise.
25761 * string/test-strncpy.c (TEST_NAME): Likewise.
25762 * string/test-strnlen.c (TEST_NAME): Likewise.
25763 * string/test-strpbrk.c (TEST_NAME): Likewise.
25764 * string/test-strrchr.c (TEST_NAME): Likewise.
25765 * string/test-strspn.c (TEST_NAME): Likewise.
25766 * string/test-strstr.c (TEST_NAME): Likewise.
25767 * string/test-bcopy-ifunc.c: New file.
25768 * string/test-bzero-ifunc.c: Likewise.
25769 * string/test-memccpy-ifunc.c: Likewise.
25770 * string/test-memchr-ifunc.c: Likewise.
25771 * string/test-memcmp-ifunc.c: Likewise.
25772 * string/test-memcpy-ifunc.c: Likewise.
25773 * string/test-memmem-ifunc.c: Likewise.
25774 * string/test-memmove-ifunc.c: Likewise.
25775 * string/test-mempcpy-ifunc.c: Likewise.
25776 * string/test-memset-ifunc.c: Likewise.
25777 * string/test-rawmemchr-ifunc.c: Likewise.
25778 * string/test-stpcpy-ifunc.c: Likewise.
25779 * string/test-stpncpy-ifunc.c: Likewise.
25780 * string/test-strcasecmp-ifunc.c: Likewise.
25781 * string/test-strcasestr-ifunc.c: Likewise.
25782 * string/test-strcat-ifunc.c: Likewise.
25783 * string/test-strchr-ifunc.c: Likewise.
25784 * string/test-strchrnul-ifunc.c: Likewise.
25785 * string/test-strcmp-ifunc.c: Likewise.
25786 * string/test-strcpy-ifunc.c: Likewise.
25787 * string/test-strcspn-ifunc.c: Likewise.
25788 * string/test-strlen-ifunc.c: Likewise.
25789 * string/test-strncasecmp-ifunc.c: Likewise.
25790 * string/test-strncat-ifunc.c: Likewise.
25791 * string/test-strncmp-ifunc.c: Likewise.
25792 * string/test-strncpy-ifunc.c: Likewise.
25793 * string/test-strnlen-ifunc.c: Likewise.
25794 * string/test-strpbrk-ifunc.c: Likewise.
25795 * string/test-strrchr-ifunc.c: Likewise.
25796 * string/test-strspn-ifunc.c: Likewise.
25797 * string/test-strstr-ifunc.c: Likewise.
25798
de54b33a
L
25799 * debug/Makefile (tests-ifunc): New variable.
25800 (tests): Add $(tests-ifunc).
25801 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
25802 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
25803 * debug/test-stpcpy_chk-ifunc.c: New file.
25804 * debug/test-strcpy_chk-ifunc.c: Likewise.
25805
88481c16
SP
258062012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25807
25808 [BZ #13601]
25809 * elf/dl-load.c (open_verify): Retry read if the entire ELF
25810 header is not read in.
25811
135948bd
JM
258122012-10-19 Joseph Myers <joseph@codesourcery.com>
25813
89f1c388
JM
25814 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
25815 script to $(SHELL) as $<. Pass $(common-objpfx) to script
25816 directly. Pass built executable to script as
25817 $(built-program-cmd).
25818 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
25819 $testprogram without using LD_LIBRARY_PATH and $ldso.
25820
e40a0d21
JM
25821 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
25822 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
25823 $(rtld-installed-name).
25824 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
25825 (rtld_installed_name): Likewise.
25826 (library_path): Likewise.
25827 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
25828 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
25829 $(run-program-prefix) to tst-tables.sh.
25830 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
25831 it to run tst-table-from and tst-table-to.
25832 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
25833 Pass it to tst-table.sh.
25834 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
25835 $(run-program-prefix) to tst-gettext.sh.
25836 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
25837 tst-translit.sh.
25838 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
25839 tst-gettext2.sh.
25840 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
25841 to run tst-gettext.
25842 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
25843 to run tst-gettext2.
25844 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
25845 to run tst-translit.
25846 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
25847 $(run-program-prefix) to tst-mtrace.sh.
25848 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
25849 to run tst-mtrace.
25850 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
25851 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
25852 $(rtld-installed-name).
25853 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
25854 (rtld_installed_name): Likewise.
25855 (run_program_prefix): New variable. Use it to run wordexp-test.
25856
728e272a
JM
25857 * Makeconfig (ARCH): Remove all definitions.
25858 (machine): Likewise.
25859 [ARCH]: Remove conditional code.
25860 [!objdir]: Give error.
25861 [!objdir] (objpfx): Remove.
25862 [!objdir] (common-objpfx): Likewise.
25863 [!objdir] (common-objdir): Likewise.
25864 * configure.in (config_makefile): Remove. Hardcode Makefile in
25865 AC_CONFIG_FILES call.
25866 * configure: Regenerated.
25867
d528cdcf
JM
25868 [BZ #13888]
25869 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
25870 or TMPDIR.
25871 (testout): Likewise.
25872
135948bd
JM
25873 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
25874 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
25875 $(rtld-installed-name).
25876 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
25877 (rtld_installed_name): Likwise.
25878 (runit): Remove function.
25879 (run_getconf): New variable, Use it for running getconf binary.
25880
38c78296
L
258812012-10-18 H.J. Lu <hongjiu.lu@intel.com>
25882
25883 [BZ #14716]
25884 * string/test-memmem.c (check_result): New function.
25885 (do_one_test): Use it.
25886 (check1): New function.
25887 (test_main): Use it.
25888
d077f65f
MT
258892012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
25890
25891 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
25892
ced52c71
JM
258932012-10-18 Joseph Myers <joseph@codesourcery.com>
25894
25895 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
25896 (_G_LSEEK64): Likewise.
25897 (_G_MMAP64): Likewise.
25898 (_G_FSTAT64): Likewise.
25899 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
25900 (_G_LSEEK64): Likewise.
25901 (_G_MMAP64): Likewise.
25902 (_G_FSTAT64): Likewise.
25903 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
25904 unconditional. Call __mmap64 directly.
25905 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
25906 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
25907 __lseek64 directly.
25908 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
25909 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
25910 __mmap64 directly.
25911 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
25912 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
25913 __lseek64 directly.
25914 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
25915 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
25916 __lseek64 directly.
25917 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
25918 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
25919 __lseek64 directly.
25920 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
25921 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
25922 __fxstat64 directly.
25923 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
25924 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
25925 unconditional.
25926 (freopen64) [!_G_OPEN64]: Remove conditional code.
25927 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
25928 unconditional.
25929 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
25930 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
25931 unconditional.
25932 (ftello64) [!_G_LSEEK64]: Remove conditional code.
25933 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
25934 unconditional.
25935 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25936 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
25937 unconditional.
25938 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
25939 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
25940 unconditional.
25941 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25942 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
25943 unconditional.
25944 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25945 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
25946 unconditional.
25947 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25948
b741de23
SP
259492012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25950
25951 [BZ #12140]
25952 * manual/memory.texi (Malloc Tunable Parameters): Add note
25953 about free list pointers overwriting some perturb bytes.
25954 Wording suggested by Roland McGrath.
25955
f9b9d9c9
JM
259562012-10-17 Joseph Myers <joseph@codesourcery.com>
25957
25958 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
25959 (lgamma_test): Likewise.
25960 (tgamma_test): Likewise.
25961
172a631a
FW
259622012-10-16 Florian Weimer <fweimer@redhat.com>
25963
25964 [BZ #14700]
25965 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
25966 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
25967
e9f37252
MK
259682012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
25969
25970 * NEWS: Mention BZ #14716.
25971 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
25972 when removing AVAILABLE1_USES_J macro.
25973
d394eb74
L
259742012-10-12 H.J. Lu <hongjiu.lu@intel.com>
25975
25976 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
25977 (__bswap_64): __uint64_t for unsigned 64-bit int.
25978
ca38dc17
AS
259792012-10-12 Andreas Schwab <schwab@linux-m68k.org>
25980
25981 * include/string.h (memmem): Declare libc hidden alias.
25982 * string/memmem.c (memmem): Define libc hidden alias.
25983 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
25984 __read, __close instead of open, read, close.
25985
9a387d1f
L
259862012-10-11 H.J. Lu <hongjiu.lu@intel.com>
25987
ac49ecaf
L
25988 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
25989 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
25990 global and hidden.
25991 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
25992 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
25993 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
25994 Likewise.
25995 (__rawmemchr_sse2): Likewise.
25996 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
25997 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
25998 (__strchr_sse2): Likewise.
25999 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26000 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26001 (__strcasecmp_sse2): Likewise.
26002 (__strncasecmp_sse2): Likewise.
26003 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26004 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26005 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26006 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26007 (__strrchr_sse2): Likewise.
26008 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26009 ifunc-impl-list.c.
26010 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26011 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26012 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26013 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26014 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26015 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26016 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26017 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26018 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26019 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26020 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26021 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26022 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26023 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26024 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26025 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26026 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26027 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26028 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26029 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26030 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26031 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26032 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26033 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26034 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26035 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26036 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26037 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26038 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26039 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26040
b090e8ea
L
26041 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26042 global and hidden.
26043 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26044 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26045 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26046 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26047 Likewise.
26048 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26049 Likewise.
26050 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26051 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26052 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26053 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26054 ifunc-impl-list.c.
26055 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26056 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26057 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26058 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26059 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26060 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26061 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26062 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26063 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26064 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26065 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26066 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26067 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26068 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26069 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26070 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26071 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26072 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26073 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26074 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26075 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26076 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26077 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26078 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26079 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26080 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26081 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26082 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26083 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26084 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26085 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26086 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26087 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26088 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26089 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26090 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26091 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26092 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26093 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26094 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26095 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26096
11dd4af6
L
26097 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26098 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26099 * include/ifunc-impl-list.h: New file.
26100 * misc/ifunc-impl-list.c: Likewise.
26101 * misc/Makefile (routines): Add ifunc-impl-list.
26102 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26103 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
26104 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26105 TEST_NAME]: New variables.
11dd4af6
L
26106 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26107 are defined.
26108 (test_init): Call __libc_ifunc_impl_list to initialize
26109 func_list if TEST_IFUNC and TEST_NAME are defined.
26110
9a387d1f
L
26111 * string/Makefile (strop-tests): Add bcopy and bzero.
26112 * string/test-bcopy.c: New file.
26113 * string/test-bzero.c: Likewise.
26114 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26115 defined.
26116 * string/test-memset.c: Support bzero test if TEST_BZERO is
26117 defined.
26118 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26119 __libc_memmove.
26120 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26121 __libc_memset.
26122 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26123 of memset.
26124
472371b9
JM
261252012-10-10 Joseph Myers <joseph@codesourcery.com>
26126
1e4a9536
JM
26127 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26128 * configure: Regenerated.
26129
d173d12e
JM
26130 * Makeconfig (+link-static-before-libc): Don't include
26131 $(link-static-libc).
26132
472371b9
JM
26133 * libio/libio.h (_IO_pos_t): Remove.
26134
89a3ad0b
AO
261352012-10-10 Alexandre Oliva <aoliva@redhat.com>
26136
26137 * NEWS: Add note about FIPS mode. Wording suggested by Roland
26138 McGrath.
26139
e7451425
AO
261402012-10-10 Alexandre Oliva <aoliva@redhat.com>
26141
26142 * crypt/crypt-entry.c: Include fips-private.h.
26143 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26144 * crypt/md5c-test.c (main): Tolerate disabled MD5.
26145 * sysdeps/unix/sysv/linux/fips-private.h: New file.
26146 * sysdeps/generic/fips-private.h: New file, dummy fallback.
26147
4ba74a35
AO
261482012-10-10 Alexandre Oliva <aoliva@redhat.com>
26149
26150 * crypt/crypt-private.h: Include stdbool.h.
26151 (_ufc_setup_salt_r): Return bool.
26152 * crypt/crypt-entry.c: Include errno.h.
26153 (__crypt_r): Return NULL with EINVAL for bad salt.
26154 * crypt/crypt_util.c (bad_for_salt): New.
26155 (_ufc_setup_salt_r): Check that salt is long enough and within
26156 the specified alphabet.
26157 * crypt/badsalttest.c: New file.
26158 * crypt/Makefile (tests): Add it.
26159 ($(objpfx)badsalttest): New.
26160
f96f1242
MK
261612012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
26162
26163 * NEWS: Add entry for BZ #14602.
26164
0e8e0c1c
JM
261652012-10-09 Joseph Myers <joseph@codesourcery.com>
26166
26167 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26168 type-generic.
26169 * math/libm-test.inc: Update comment listing what functions and
26170 macros are tested.
26171 (isgreater_test): New function.
26172 (isgreaterequal_test): Likewise.
26173 (isless_test): Likewise.
26174 (islessequal_test): Likewise.
26175 (islessgreater_test): Likewise.
26176 (isunordered_test): Likewise.
26177 (main): Call the new functions.
26178
273edc5e
RM
261792012-10-09 Roland McGrath <roland@hack.frob.com>
26180
b8493de0
RM
26181 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26182 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26183 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26184 * sysdeps/i386/configure: Regenerated.
26185 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26186 * sysdeps/mach/configure: Regenerated.
26187 * sysdeps/mach/hurd/configure: Regenerated.
26188 * sysdeps/powerpc/configure: Regenerated.
26189 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26190 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26191 * sysdeps/s390/s390-32/configure: Regenerated.
26192 * sysdeps/s390/s390-64/configure: Regenerated.
26193 * sysdeps/sh/configure: Regenerated.
26194 * sysdeps/sparc/configure: Regenerated.
26195 * sysdeps/unix/sysv/linux/configure: Regenerated.
26196 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26197 * sysdeps/x86_64/configure: Regenerated.
26198
273edc5e
RM
26199 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26200 defined. Don't check if MAP is NULL.
26201
c8450f70
JM
262022012-10-09 Joseph Myers <joseph@codesourcery.com>
26203
26204 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26205 (_G_stat64): Likewise.
26206 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26207 (_G_stat64): Likewise.
26208 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26209 instead of struct _G_stat64.
26210 * libio/fileops.c (mmap_remap_check): Likewise.
26211 (decide_maybe_mmap): Likewise.
26212 (_IO_new_file_seekoff): Likewise.
26213 (_IO_file_stat): Likewise.
26214 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26215 _G_off64_t.
26216 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26217 instead of struct _G_stat64.
26218 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26219
57e605ba
MK
262202012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
26221
26222 [BZ #14602]
26223 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26224 Replace with ...
26225 (CHECK_EOL): New macro.
26226 (two_way_short_needle): Check beginning of haystack for EOL. Use
26227 CHECK_EOL.
26228 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26229 Replace with CHECK_EOL.
26230 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26231 Replace with CHECK_EOL.
26232
ef1bb361
JM
262332012-10-08 Joseph Myers <joseph@codesourcery.com>
26234
26235 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26236 type-generic.
26237 * math/libm-test.inc: Update comment listing what functions and
26238 macros are tested.
26239 (finite_test): New function.
26240 (isinf_test): Likewise.
26241 (isnan_test): Likewise.
26242 (fpclassify_test): Test subnormal input.
26243 (isfinite_test): Likewise.
26244 (isnormal_test): Likewise.
26245 (main): Call the new functions.
26246
55f11534
JN
262472012-10-08 Jonathan Nieder <jrnieder@gmail.com>
26248
26249 [BZ #14660]
26250 * Makerules (%.dynsym): Force C locale when running
26251 $(OBJDUMP) --dynamic-syms.
26252
1ab29350
AS
262532012-10-08 Andreas Schwab <schwab@linux-m68k.org>
26254
26255 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26256 <stdint.h>.
26257
f1ecb7ef
DM
262582012-10-06 David S. Miller <davem@davemloft.net>
26259
26260 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26261 upper 32-bits of the length value in %o2 since we use branch-on-register
26262 tests which consider the entire 64-bit register.
26263
5d41d91a
L
262642012-10-06 H.J. Lu <hongjiu.lu@intel.com>
26265
26266 * string/test-strstr.c (check2): Add a test for page boundary.
26267
3baddb72
DM
262682012-10-05 David S. Miller <davem@davemloft.net>
26269
26270 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26271 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26272 file.
26273 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26274 sysdep_routines.
26275 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26276 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26277 and bzero when HWCAP_SPARC_CRYPTO is present.
26278
9cee5585
L
262792012-10-05 H.J. Lu <hongjiu.lu@intel.com>
26280
d7e0dab9
L
26281 [BZ #14602]
26282 * string/test-strstr.c (check2): New function.
26283 (test_main): Call check2.
26284
03759f47
L
26285 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26286 and bug-strchr1.
26287 * string/bug-strcasestr1.c (do_test): Moved to ...
26288 * string/test-strcasestr.c (check1): Here. New function.
26289 (do_one_test): Break out result checking code into ...
26290 (check_result): This. New function.
26291 (do_one_test): Call check_result.
26292 (test_main): Call check1.
26293 * string/bug-strchr1.c (do_test): Moved to ...
26294 * string/test-strchr.c (check1): Here. New function.
26295 (do_one_test): Break out result checking code into ...
26296 (check_result): This. New function.
26297 (do_one_test): Call check_result.
26298 (test_main): Call check1.
26299 * string/bug-strstr1.c (main): Moved to ...
046f153e 26300 * string/test-strstr.c (check1): Here. New function.
03759f47
L
26301 (do_one_test): Break out result checking code into ...
26302 (check_result): This. New function.
26303 (do_one_test): Call check_result.
26304 (test_main): Call check1.
26305 * string/bug-strcasestr1.c: Removed.
26306 * string/bug-strchr1.c: Likewise.
26307 * string/bug-strstr1.c: Likewise.
26308
53cea63e
L
26309 * elf/Makefile (dl-routines): Add hwcaps.
26310 * elf/dl-support.c (_dl_important_hwcaps): Removed.
26311 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26312 (_dl_important_hwcaps): Moved to ...
26313 * elf/dl-hwcaps.c: Here. New file.
26314 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26315
9cee5585 26316 [BZ #14557]
bb859b06
L
26317 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26318 if IS_IN_rtld isn't defined.
26319
9cee5585
L
26320 * elf/dl-support.c (_dl_sysinfo_map): New.
26321 Include "get-dynamic-info.h" and "setup-vdso.h".
26322 (_dl_non_dynamic_init): Call setup_vdso.
26323 * elf/dynamic-link.h: Don't include <assert.h>.
26324 (elf_get_dynamic_info): Moved to ...
26325 * elf/get-dynamic-info.h: Here. New file.
26326 * elf/dynamic-link.h: Include "get-dynamic-info.h".
26327 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26328 * elf/setup-vdso.h: Here. New file.
26329 * elf/rtld.c: Include "setup-vdso.h".
26330 (dl_main): Call setup_vdso.
26331
23c31b76
JM
263322012-10-05 Joseph Myers <joseph@codesourcery.com>
26333
28234b07
JM
26334 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26335 creal in comment listing functions tested. List finite, isinf,
26336 isnan, isless, islessequal, isgreater, isgreaterequal,
26337 islessgreater, isunordered, lgamma_r and pow10 as functions and
26338 macros not tested. Mention which functions not tested are aliases
26339 for other functions. Fix typo. Note that signs of NaNs are not
26340 tested.
26341
23c31b76
JM
26342 * scripts/config.guess: Update from config.git.
26343 * scripts/config.sub: Likewise.
26344
9043e228
RM
263452012-10-04 Roland McGrath <roland@hack.frob.com>
26346
26347 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26348 * misc/madvise.c (madvise): Renamed to __madvise.
26349 Make madvise a weak alias.
26350 * include/sys/mman.h: Declare __madvise.
26351 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26352 * sysdeps/unix/syscalls.list
26353 (madvise): Make __madvise the strong name, and madvise a weak alias.
26354 * sysdeps/unix/sysv/linux/syscalls.list
26355 (madvise, mmap): Remove redundant entries.
26356 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26357 * malloc/malloc.c (mtrim): Likewise.
26358 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26359
f57f8055
RM
263602012-10-03 Roland McGrath <roland@hack.frob.com>
26361
26362 * sysdeps/mach/hurd/dl-cache.c: File removed.
26363 * config.h.in (USE_LDCONFIG): New #undef.
26364 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26365 * configure: Regenerated.
26366 * elf/Makefile (dl-routines): Add dl-cache only under
26367 [$(use-ldconfig) = yes].
26368 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26369 cache on [USE_LDCONFIG].
26370 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26371 [USE_LDCONFIG].
26372 * elf/rtld.c (dl_main): Likewise.
26373
5bb0c10a
PT
263742012-10-03 Pino Toscano <toscano.pino@tiscali.it>
26375
26376 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26377 _SC_LEVEL4_CACHE_LINESIZE.
26378
010188c6
RM
263792012-10-03 Roland McGrath <roland@hack.frob.com>
26380
26381 * sysdeps/unix/bsd/confstr.h: File removed.
26382
b6c5ec07
AO
263832012-10-02 Alexandre Oliva <aoliva@redhat.com>
26384
26385 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26386 sys/sdt-config.h.
26387
408223d4
RM
263882012-10-02 Roland McGrath <roland@hack.frob.com>
26389
26390 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26391 Make 'mapoff' field ElfW(Off) rather than off_t.
26392
bb9510dc
DL
263932012-10-02 Dmitry V. Levin <ldv@altlinux.org>
26394
fc997c6e
DL
26395 * nscd/Makefile: Remove nscd-cflags and all its users.
26396 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26397 (CFLAGS-nonlib): Add compiler flags for nscd modules.
26398
bb9510dc
DL
26399 [BZ #10631]
26400 * malloc.c (malloc_printerr): Clarify error message.
26401
05699367
L
264022012-10-02 H.J. Lu <hongjiu.lu@intel.com>
26403
26404 [BZ #14648]
26405 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26406 Set bit_FMA_Usable if FMA is supported.
26407 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26408 macro.
26409 (bit_FMA4_Usable): Updated.
26410 (index_FMA_Usable): New macro.
26411 (CPUID_FMA): Likewise
26412 (HAS_FMA): Defined with bit_FMA_Usable.
26413
51367701
RM
264142012-10-01 Roland McGrath <roland@hack.frob.com>
26415
26416 * bits/types.h (__swblk_t): Type removed.
26417 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26418 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26419 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26420 (__SWBLK_T_TYPE): Likewise.
26421 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26422 (__SWBLK_T_TYPE): Likewise.
26423 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26424 (__SWBLK_T_TYPE): Likewise.
26425 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26426 (__SWBLK_T_TYPE): Likewise.
26427
4d57bf63 264282012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 26429 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
26430
26431 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26432 (xdr_mapname): Use YPMAXMAP as maxsize.
26433 (xdr_peername): Use YPMAXPEER as maxsize.
26434 (xdr_keydat): Use YPAXRECORD as maxsize.
26435 (xdr_valdat): Use YPMAXRECORD as maxsize.
26436
93c65d43
RM
264372012-10-01 Roland McGrath <roland@hack.frob.com>
26438
497a03d6
RM
26439 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26440
93c65d43
RM
26441 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26442 * csu/init-first.c: ... here.
26443 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26444 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26445 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26446 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26447 * sysdeps/i386/init-first.c: File removed.
26448 * sysdeps/sh/init-first.c: File removed.
26449
bec749fd
JM
264502012-10-01 Joseph Myers <joseph@codesourcery.com>
26451
26452 [BZ #14645]
26453 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26454 if x * y might underflow to zero and z is zero.
26455 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26456 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26457 * math/libm-test.inc (min_subnorm_value): New variable.
26458 (fma_test): Add more tests.
26459 (fma_test_towardzero): Likewise.
26460 (fma_test_downward): Likewise
26461 (fma_test_upward): Likewise.
26462 (initialize): Set min_subnorm_value.
26463
8ec5b013
JM
264642012-09-29 Joseph Myers <joseph@codesourcery.com>
26465
26466 [BZ #14638]
26467 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26468 0 + 0.
26469 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26470 mode for addition resulting in exact zero.
26471 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26472 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26473 exact 0 + 0.
26474 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26475 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26476 * math/libm-test.inc (fma_test): Add more tests.
26477 (fma_test_towardzero): New function.
26478 (fma_test_downward): Likewise.
26479 (fma_test_upward): Likewise.
26480 (main): Call the new functions.
26481
b1fa802e
DM
264822012-09-28 David S. Miller <davem@davemloft.net>
26483
26484 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26485
d3b9fd9e
RM
264862012-09-28 Roland McGrath <roland@hack.frob.com>
26487
ea4d37b3
RM
26488 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26489 instead of SIGALRM.
26490
ac51c949
RM
26491 * sysdeps/gnu/_G_config.h: Moved to ...
26492 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
26493 * sysdeps/mach/hurd/_G_config.h: Moved to ...
26494 * sysdeps/generic/_G_config.h: ... here.
26495
28c195f7
RM
26496 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
26497
848917f9
RM
26498 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
26499
6bacf05b
RM
26500 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
26501 Conditionalize target on [libnss_test1.so-version].
26502
91363dbb
RM
26503 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
26504
cc87f7d8
RM
26505 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
26506 (elfobjdir): Move out of conditionals.
26507
b1c608fe
RM
26508 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
26509 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
26510 (__nss_lookup_function): Conditionalize label remove_from_tree on
26511 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 26512
1d9a6d96
DM
265132012-09-28 David S. Miller <davem@davemloft.net>
26514
26515 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
26516 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
26517 file.
26518 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26519 sysdep_routines.
26520 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26521 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
26522 when HWCAP_SPARC_CRYPTO is present.
26523
72581615
PT
265242012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26525
26526 * io/tst-mknodat.c: Create a FIFO instead of a socket.
26527
715a900c
JL
265282012-09-28 Andreas Schwab <schwab@linux-m68k.org>
26529
26530 [BZ #6530]
26531 * stdio-common/vfprintf.c (process_string_arg): Revert
26532 2000-07-22 change.
26533
265342011-09-28 Jonathan Nieder <jrnieder@gmail.com>
26535
26536 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
26537 for testcase.
26538 * stdio-common/tst-sprintf.c: Include <locale.h>
26539 (main): Test sprintf's handling of incomplete multibyte
26540 characters.
26541
9bac1d86
L
265422012-09-28 H.J. Lu <hongjiu.lu@intel.com>
26543
26544 * elf/dl-runtime.c (VERSYMIDX): Removed.
26545 * elf/dl-version.c (VERSYMIDX): Likewise.
26546 * elf/do-rel.h (VERSYMIDX): Likewise.
26547 (VALIDX): Likewise.
26548 * elf/dynamic-link.h (VERSYMIDX): Likewise.
26549 * elf/rtld.c (VALIDX): Likewise.
26550 (ADDRIDX): Likewise.
9bac1d86
L
26551 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
26552 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
26553 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
26554 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
26555 (VALIDX): Likewise.
26556 (ADDRIDX): Likewise.
9bac1d86 26557
b31606c0
PT
265582012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26559
26560 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
26561
11541177
JL
265622012-09-28 Dmitry V. Levin <ldv@altlinux.org>
26563
26564 [BZ #11438]
26565 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
26566 to global scope.
26567 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
26568 addresses are in the same scope as 192.0.2/24.
26569 * posix/gai.conf: Document new scope table defaults.
26570
adb26fae
SP
265712012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26572
26573 [BZ #5298]
26574 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
26575 for ftell. Compute offsets from write pointers instead.
26576 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26577
4573c6b0
SP
265782012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26579
26580 [BZ #14543]
26581 * libio/Makefile (tests): New test case tst-fseek.
26582 * libio/tst-fseek.c: New test case to verify that fseek/ftell
26583 combination works in wide mode.
26584 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
26585 state when the external buffer state changes.
26586
aa9bbfe6
DM
265872012-09-27 David S. Miller <davem@davemloft.net>
26588
26589 [BZ #14376]
26590 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
26591 pass reloc->r_addend in as the 'high' argument to
26592 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
26593
784421e7
DM
26594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26595
c39bc8b8
PT
265962012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26597
26598 * rt/tst-aio2.c: Include <pthread.h>.
26599 * rt/tst-aio3.c: Likewise.
26600
1ccc2399
SE
266012012-09-27 Steve Ellcey <sellcey@mips.com>
26602
26603 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
26604
31ed4153
L
266052012-09-27 H.J. Lu <hongjiu.lu@intel.com>
26606
25f5f885
L
26607 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
26608 contents on [SHARED].
31ed4153 26609
b7bfe116
MP
266102012-09-26 Marek Polacek <polacek@redhat.com>
26611
26612 [BZ #14530]
26613 [BZ #13741]
26614 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
26615 for C++ and GCC <4.3 as well as for non GCC compilers.
26616
43c4edba
MT
266172012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
26618
26619 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26620
6a1bf82f
RM
266212012-09-25 Roland McGrath <roland@hack.frob.com>
26622
26623 * Makefile.in (all, install): Declare with .PHONY.
26624 Reported by Michael Hope <michael.hope@linaro.org>.
26625
8ad11b9a
TMQMF
266262012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26627
26628 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
26629 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
26630 system header.
26631 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
26632 Likewise.
26633 (sydep_routines): Add the new and the internal functions.
26634 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
26635 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
26636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
26637 (GLIBC_2.17): Add the new function.
26638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26639 (GLIBC_2.17): Likewise.
26640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
26641 (GLIBC_2.17): Likewise.
26642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
26643 (GLIBC_2.17): Likewise.
26644 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
26645
7e2fca8d
AM
266462012-09-25 Alan Modra <amodra@gmail.com>
26647
26648 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
26649 Add release barrier before setting once_control to say
26650 initialisation is done. Add hints on lwarx. Use macro in
26651 place of isync.
26652 (clear_once_control): Add release barrier.
26653
b87c4b24
JM
266542012-09-25 Joseph Myers <joseph@codesourcery.com>
26655
d032e0d2
JM
26656 [BZ #13629]
26657 * math/s_clog.c (__clog): Handle more values close to |z| = 1
26658 specially.
26659 * math/s_clog10.c (__clog10): Likewise.
26660 * math/s_clog10f.c (__clog10f): Likewise.
26661 * math/s_clog10l.c (__clog10l): Likewise.
26662 * math/s_clogf.c (__clogf): Likewise.
26663 * math/s_clogl.c (__clogl): Likewise.
26664 * math/Makefile (libm-calls): Add x2y2m1.
26665 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
26666 (__x2y2m1): Likewise.
26667 (__x2y2m1l): Likewise.
26668 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
26669 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
26670 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
26671 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26672 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
26673 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
26674 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
26675 * sysdeps/i386/fpu/libm-test-ulps: Update.
26676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26677
b87c4b24
JM
26678 [BZ #14621]
26679 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
26680 int as type of variable DEPTH.
26681 (glob): Use size_t instead of int as type of variables NEWCOUNT
26682 and OLD_PATHC.
26683
6d3bf199
LD
266842012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26685
22bf5c17
LD
26686 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26687 Add s_sincosf-sse2.
26688 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
26689 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
26690 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
26691 macros for using routine as __sincosf_ia32.
26692 Use macro for function declaration and weak_alias.
26693 * sysdeps/i386/fpu/libm-test-ulps: Update.
26694
26695 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
26696 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26697
26698 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
26699 subnormal argument.
26700 * math/s_cexpf.c (__cexpf): Likewise.
26701 * math/s_csinf.c (__csinf): Likewise.
26702 * math/s_csinhf.c (__csinhf): Likewise.
26703 * math/s_ctanf.c (__ctanf): Likewise.
26704 * math/s_ctanhf.c (__ctanhf): Likewise.
26705 * math/s_ccosh.c (__ccoshf): Likewise.
26706 * math/s_cexp.c (__cexpl): Likewise.
26707 * math/s_csin.c (__csin): Likewise.
26708 * math/s_csinh.c (__csinh): Likewise.
26709 * math/s_ctan.c (__ctan): Likewise.
26710 * math/s_ctanh.c (ctanh): Likewise.
26711 * math/s_ccoshl.c (__ccoshl): Likewise.
26712 * math/s_cexpl.c (__cexpl): Likewise.
26713 * math/s_csinl.c (__csinl): Likewise.
26714 * math/s_csinhl.c (__csinhl): Likewise.
26715 * math/s_ctanl.c (__ctanl): Likewise.
26716 * math/s_ctanhl.c (__ctanhl): Likewise.
26717
203e5603
JM
267182012-09-25 Joseph Myers <joseph@codesourcery.com>
26719
26720 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
26721 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
26722 (_IO_off_t): Define to __off_t, not _G_off_t.
26723 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
26724 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
26725 (_IO_wint_t): Define to wint_t, not _G_wint_t.
26726 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
26727 type of __dummy and __dummy2 fields.
26728 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
26729 (_G_ssize_t): Likewise.
26730 (_G_off_t): Likewise.
26731 (_G_pid_t): Likewise.
26732 (_G_uid_t): Likewise.
26733 (_G_wchar_t): Likewise.
26734 (_G_wint_t): Likewise.
26735 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
26736 (_G_ssize_t): Likewise.
26737 (_G_off_t): Likewise.
26738 (_G_pid_t): Likewise.
26739 (_G_uid_t): Likewise.
26740 (_G_wchar_t): Likewise.
26741 (_G_wint_t): Likewise.
26742 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
26743 (_G_ssize_t): Likewise.
26744 (_G_off_t): Likewise.
26745 (_G_pid_t): Likewise.
26746 (_G_uid_t): Likewise.
26747 (_G_wchar_t): Likewise.
26748 (_G_wint_t): Likewise.
26749
9fab36eb
SP
267502012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26751
26752 * malloc/arena.c: Include malloc-sysdep.h.
26753 (shrink_heap): Use check_may_shrink_heap to decide if madvise
26754 is sufficient to shrink the heap or an unmap is needed.
26755 * sysdeps/generic/malloc-sysdep.h: New file. Define
26756 new function check_may_shrink_heap.
26757 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
26758 new function check_may_shrink_heap.
26759
2b4f00d1
SP
267602012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26761
26762 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
26763 comments.
26764
9a9028b1
DL
267652012-09-24 Dmitry V. Levin <ldv@altlinux.org>
26766
57c69bef
DL
26767 * catgets/test-gencat.sh: Add "set -e".
26768 * elf/tst-pathopt.sh: Likewise.
26769 * grp/tst_fgetgrent.sh: Likewise.
26770 * iconvdata/run-iconv-test.sh: Likewise.
26771 * intl/tst-gettext.sh: Likewise.
26772 * intl/tst-gettext2.sh: Likewise.
26773 * intl/tst-gettext4.sh: Likewise.
26774 * intl/tst-gettext6.sh: Likewise.
26775 * intl/tst-translit.sh: Likewise.
26776 * io/ftwtest-sh: Likewise.
26777 * libio/test-freopen.sh: Likewise.
26778 * malloc/tst-mtrace.sh: Likewise.
26779 * posix/globtest.sh: Likewise.
26780 * posix/tst-getconf.sh: Likewise.
26781 * posix/wordexp-tst.sh: Likewise.
26782 * stdio-common/tst-printf.sh: Likewise.
26783 * stdio-common/tst-unbputc.sh: Likewise.
26784 * stdlib/tst-fmtmsg.sh: Likewise.
26785 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26786 * catgets/Makefile: Do not specify -e option when running
26787 testsuite shell scripts.
26788 * elf/Makefile: Likewise.
26789 * grp/Makefile: Likewise.
26790 * iconvdata/Makefile: Likewise.
26791 * intl/Makefile: Likewise.
26792 * io/Makefile: Likewise.
26793 * libio/Makefile: Likewise.
26794 * malloc/Makefile: Likewise.
26795 * posix/Makefile: Likewise.
26796 * stdio-common/Makefile: Likewise.
26797 * stdlib/Makefile: Likewise.
26798 * sysdeps/x86_64/Makefile: Likewise.
26799
9a9028b1
DL
26800 * io/ftwtest-sh: Add copyright header.
26801 * posix/globtest.sh: Likewise.
26802 * posix/tst-getconf.sh: Likewise.
26803 * posix/wordexp-tst.sh: Likewise.
26804 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26805
ced6f16e
L
268062012-09-24 H.J. Lu <hongjiu.lu@intel.com>
26807
94b32c39
L
26808 [BZ #13679]
26809 * Makeconfig (+link): Defined as $(+link-static) if
26810 $(build-shared) isn't yes.
26811 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
26812 isn't yes.
26813 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
26814
189e935b
L
26815 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
26816
ced6f16e
L
26817 [BZ #14562]
26818 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
26819 new chunk size with MALLOC_ALIGN_MASK.
26820
a9f8e53a
JM
268212012-09-24 Joseph Myers <joseph@codesourcery.com>
26822
26823 [BZ #5044]
26824 * stdio-common/printf_fphex.c: Include <stdbool.h> and
26825 <rounding-mode.h>.
26826 (__printf_fphex): Determine rounding using get_rounding_mode and
26827 round_away.
26828 * stdio-common/tst-printf-round.c (struct hex_test): New
26829 structure.
26830 (hex_tests): New variable.
26831 (test_hex_in_one_mode): New function.
26832 (do_test): Also run tests for hex float output.
26833
43153109
JM
268342012-09-21 Joseph Myers <joseph@codesourcery.com>
26835
26836 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26837 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26838 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
26839 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26840 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26841 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
26842 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26843 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26844
8a26625d
JM
268452012-09-20 Joseph Myers <joseph@codesourcery.com>
26846
26847 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
26848 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
26849 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
26850 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
26851
f3fd569c
DL
268522012-09-19 Dmitry V. Levin <ldv@altlinux.org>
26853
26854 [BZ #14579]
26855 * elf/rtld.c (dl_main): Limit the check for self loading to normal
26856 mode only.
26857 * elf/tst-rtld-load-self.sh: New test.
26858 * elf/Makefile: Run it.
26859
63bbedd4
JM
268602012-09-18 Joseph Myers <joseph@codesourcery.com>
26861
26862 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
26863 (tst-writev-ENV): Remove.
26864 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
26865
626f8b6a
CM
268662012-09-17 Chris Metcalf <cmetcalf@tilera.com>
26867
26868 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
26869
b7aaa4d6
JM
268702012-09-17 Joseph Myers <joseph@codesourcery.com>
26871
26872 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
26873 unconditional.
26874 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
26875 Likewise.
26876 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
26877 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
26878 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
26879 Likewise.
26880
65513990
L
268812012-09-14 H.J. Lu <hongjiu.lu@intel.com>
26882
26883 [BZ #14587]
26884 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
26885 * config.make.in (have-cpp-asm-debuginfo): Removed.
26886 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
26887 * configure: Regenerated.
26888
784761be
JM
268892012-09-14 Joseph Myers <joseph@codesourcery.com>
26890
26891 [BZ #5044]
26892 * stdio-common/printf_fp.c: Include <stdbool.h> and
26893 <rounding-mode.h>.
26894 (___printf_fp): Determine rounding using get_rounding_mode and
26895 round_away.
26896 * stdio-common/tst-printf-round.c: New file.
26897 * stdio-common/Makefile (tests): Add tst-printf-round.
26898 (link-libm): New variable.
26899 ($(objpfx)tst-printf-round): Depend in $(link-libm).
26900
9503345f
L
269012012-09-13 H.J. Lu <hongjiu.lu@intel.com>
26902
26903 [BZ #14576]
26904 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
26905 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
26906 Likewise.
26907 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
26908 Likewise.
26909
ad35fc00
JM
269102012-09-13 Joseph Myers <joseph@codesourcery.com>
26911
26912 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
26913 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26914 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26915 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26916
6c9b0f68
JM
269172012-09-12 Joseph Myers <joseph@codesourcery.com>
26918
26919 [BZ #14518]
26920 * include/rounding-mode.h: New file.
26921 * sysdeps/generic/get-rounding-mode.h: Likewise.
26922 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
26923 * stdlib/strtod_l.c: Include <rounding-mode.h>.
26924 (MAX_VALUE): New macro.
26925 (MIN_VALUE): Likewise.
26926 (overflow_value): New function.
26927 (underflow_value): Likewise.
26928 (round_and_return): Use overflow_value and underflow_value to
26929 determine return values in overflow and underflow cases. Use
26930 round_away to determine rounding depending on rounding mode.
26931 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
26932 determine return values in overflow and underflow cases.
26933 * stdlib/tst-strtod-round.c: Include <fenv.h>.
26934 (struct test_results): New structure.
26935 (struct test): Use struct test_results to store expected results
26936 for all rounding modes.
26937 (TEST): Include expected results for all rounding modes.
26938 (test_in_one_mode): New function.
26939 (do_test): Use test_in_one_mode to compute and check results.
26940 Check results for all rounding modes.
26941 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
26942 $(link-libm).
26943
19fcedd5
AM
269442012-12-09 Allan McRae <allan@archlinux.org>
26945
1e9d84cd 26946 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 26947
8bbfd2f1
JM
269482012-09-11 Joseph Myers <joseph@codesourcery.com>
26949
26950 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
26951 (_G_int32_t): Likewise.
26952 (_G_uint16_t): Likewise.
26953 (_G_uint32_t): Likewise.
26954 (_G_HAVE_BOOL): Likewise.
26955 (_G_HAVE_ATEXIT): Likewise.
26956 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26957 (_G_HAVE_IO_FILE_OPEN): Likewise.
26958 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
26959 (_G_int32_t): Likewise.
26960 (_G_uint16_t): Likewise.
26961 (_G_uint32_t): Likewise.
26962 (_G_HAVE_BOOL): Likewise.
26963 (_G_HAVE_ATEXIT): Likewise.
26964 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26965 (_G_HAVE_IO_FILE_OPEN): Likewise.
26966 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
26967 (_G_int32_t): Likewise.
26968 (_G_uint16_t): Likewise.
26969 (_G_uint32_t): Likewise.
26970 (_G_HAVE_BOOL): Likewise.
26971 (_G_HAVE_ATEXIT): Likewise.
26972 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26973 (_G_HAVE_IO_FILE_OPEN): Likewise.
26974
b1dc5912
L
269752012-09-11 H.J. Lu <hongjiu.lu@intel.com>
26976
26977 * csu/libc-tls.c: Update copyright years.
26978
0e886ef9
JM
269792012-09-10 Joseph Myers <joseph@codesourcery.com>
26980
28361c5e
JM
26981 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
26982 [!_G_USING_THUNKS]: Remove conditional code.
26983 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
26984 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
26985
0e886ef9
JM
26986 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
26987 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
26988 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26989 (_G_VTABLE_LABEL_PREFIX): Likewise.
26990 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26991 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26992 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26993 (_G_VTABLE_LABEL_PREFIX): Likewise.
26994 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26995 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26996 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26997 (_G_VTABLE_LABEL_PREFIX): Likewise.
26998 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26999
bcba7aa2
L
270002012-09-10 H.J. Lu <hongjiu.lu@intel.com>
27001
27002 * libio/Makefile: Include ../Makeconfig before tests.
27003 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27004 only if $(build-shared) is yes.
27005
06585ee8
L
27006 * iconv/gconv_db.c: Update copyright years.
27007
80ccd52c
LD
270082012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27009
27010 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27011 unwind info if defined PIC. Fix special cases description.
27012 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27013
27014 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27015 DP_HI_MASK entry.
27016 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27017
691bc9c1
L
270182012-09-07 H.J. Lu <hongjiu.lu@intel.com>
27019
3d9b46b3
L
27020 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27021
de2139a9
L
27022 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27023 is NULL.
27024
5ca78dd0
L
27025 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27026 (LDLIBS-tst-chk4): This.
27027 (LDFLAGS-tst-chk5): Renamed to ...
27028 (LDLIBS-tst-chk5): This.
27029 (LDFLAGS-tst-chk6): Renamed to ...
27030 (LDLIBS-tst-chk6): This.
27031 (LDFLAGS-tst-lfschk4): Renamed to ...
27032 (LDLIBS-tst-lfschk4): This.
27033 (LDFLAGS-tst-lfschk5): Renamed to ...
27034 (LDLIBS-tst-lfschk5): This.
27035 (LDFLAGS-tst-lfschk6): Renamed to ...
27036 (LDLIBS-tst-lfschk6): This.
27037
691bc9c1
L
27038 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27039 on $(common-objpfx)soversions.mk.
27040
65cafb1c
JM
270412012-09-07 Joseph Myers <joseph@codesourcery.com>
27042
27043 [BZ #10014]
27044 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27045 example host name.
27046
c78ab094
SP
270472012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27048
27049 * malloc/arena.c (arena_get_retry): New function that gets
27050 another arena for the caller to try its request on.
27051 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27052 current arena cannot fulfill the request.
27053 (__libc_memalign): Likewise.
27054 (__libc_memalign): Likewise.
27055 (__libc_pvalloc): Likewise.
27056 (__libc_calloc): Likewise.
27057
01f49f59
JT
270582012-09-05 John Tobey <john.tobey@gmail.com>
27059
27060 [BZ #13542]
27061 * manual/arith.texi (Operations on Complex): Fix description
27062 of carg branch cut.
27063
4c23fed5
JM
270642012-09-06 Joseph Myers <joseph@codesourcery.com>
27065
1d3c8572
JM
27066 [BZ #10014]
27067 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27068 host name.
27069
4c23fed5
JM
27070 [BZ #10038]
27071 * manual/memory.texi (Memory): Make order of menu items match
27072 order of sections.
27073
04570aaa
L
270742012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27075
27076 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27077 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
27078 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27079
b80af2f4
L
270802012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27081
27082 * csu/libc-tls.c (static_dtv): Renamed to ...
27083 (_dl_static_dtv): This. Make it global.
27084 (_dl_initial_dtv): Removed.
27085 (__libc_setup_tls): Updated.
27086 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27087 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27088 DL_INITIAL_DTV.
27089
2abe9f15
PM
270902012-09-06 Petr Machata <pmachata@redhat.com>
27091
27092 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27093 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27094 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27095 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27096
0948c3af
L
270972012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27098
27099 [BZ #14545]
27100 * csu/libc-tls.c (_dl_initial_dtv): New variable.
27101 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27102 freeing dtv[-1].
27103
a5055ad1
L
271042012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27105
27106 [BZ #14544]
27107 * Makeconfig (link-static-before-libc): Replace $(+prector)
27108 with $(+prectorT).
27109 (link-static-after-libc): Replace $(+postctor) with
27110 $(+postctorT).
27111 (link-bounded): Replace $(+prector)/$(+postctor) with
27112 $(+prectorT)/$(+postctorT).
27113 (+prectorT): New macro.
27114 (+postctorT): Likewise.
27115
ed8c2ecd
JM
271162012-09-06 Joseph Myers <joseph@codesourcery.com>
27117
27118 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27119 (round_str): Handle values above the maximum for IBM long double
27120 as inexact.
27121 * stdlib/tst-strtod-round.c (tests): Regenerated.
27122
14c996c8
AK
271232012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27124
27125 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27126 assembler flag.
27127 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27128 zarch_nohighgprs around the zarch optimized routines.
27129 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27130 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27131 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27132 for zarch.
27133
430d6ce6
DM
271342012-09-05 David S. Miller <davem@davemloft.net>
27135
27136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27137
57f41c40
AS
27138 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27139 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
27140 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27141 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27142 entries.
27143
24d4e01b
AO
271442012-09-05 Alexandre Oliva <aoliva@redhat.com>
27145
27146 * malloc/arena.c: Fold copyright years.
27147 * malloc/mcheck.c, malloc/memusage.c: Likewise.
27148
61d58174
AO
271492012-09-05 Alexandre Oliva <aoliva@redhat.com>
27150
27151 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27152
20196a5e
AO
271532012-09-05 Alexandre Oliva <aoliva@redhat.com>
27154
27155 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
27156
5c447383
AO
271572012-09-05 Alexandre Oliva <aoliva@redhat.com>
27158
27159 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27160 change internal state upon failure.
27161
fad64255
AO
271622012-09-05 Alexandre Oliva <aoliva@redhat.com>
27163
27164 * malloc/mcheck.c (mcheck_check_all): Fix typo.
27165 * malloc/memusage.c (mmap): Likewise.
27166 (mmap64, mremap): Likewise. Adjust name in comment.
27167
1ffb8c90
SP
271682012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27169
27170 * libio/fileops.c: Fix typos in comments.
27171 * libio/oldfileops.c: Likewise.
27172 * libio/wfileops.c: Likewise.
27173
6ef9cc37
SP
271742012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27175
27176 [BZ #1349]
27177 * malloc/Makefile (tests): Add tst-malloc-usable test case.
27178 (tst-malloc-usable-ENV): Set environment for test case.
27179 * malloc/hooks.c (malloc_check_get_size): New function to get
27180 requested size.
27181 * malloc/malloc.c (musable): Use malloc_check_get_size.
27182 * malloc/tst-malloc-usable.c: New test case.
27183
4d038ae3
AS
271842012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27185
27186 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27187
c4e85184
AM
271882012-09-05 Allan McRae <allan@archlinux.org>
27189
b9dafc56 27190 [BZ #13966]
c4e85184
AM
27191 * configure.in (CXX_SYSINCLUDES): Use compiler output to
27192 determine header location.
27193 * configure: Regenerated.
27194
e1343020
AS
271952012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27196
27197 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27198 float format.
27199 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
27200 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27201 format.
e1343020
AS
27202 (test): Regenerate.
27203
0a9f1987
DM
272042012-09-04 David S. Miller <davem@davemloft.net>
27205
27206 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27207 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27208 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27209
29237804
FW
272102012-09-04 Florian Weimer <fweimer@redhat.com>
27211
27212 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27213 failures.
27214
edb3cb88
FW
27215 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27216
60160d83
JM
272172012-09-04 Joseph Myers <joseph@codesourcery.com>
27218
27219 [BZ #9914]
27220 * libio/iogetdelim.c: Include <limits.h>.
27221 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27222 + len + 1 would overflow.
27223
bcd6c8dc
AJ
272242012-09-03 Andreas Jaeger <aj@suse.de>
27225
27226 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27227 * sysdeps/i386/fpu/libm-test-ulps: Update.
27228
4ffffbd2
LD
272292012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27230
27231 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27232 Add s_sinf-sse2, s_conf-sse2.
27233
27234 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27235 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27236 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27237 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27238
27239 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27240 for using routine as __sinf_ia32.
27241 Use macro for function declaration and weak_alias.
27242 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27243 for using routine as __cosf_ia32.
27244 Use macro for function declaration and weak_alias.
27245
27246 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27247 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27248
27249 * sysdeps/x86_64/fpu/s_sinf.S: New file.
27250 * sysdeps/x86_64/fpu/s_cosf.S: New file.
27251 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27252
27253 * math/libm-test.inc (cos_test): Add more test cases.
27254 (sin_test): Likewise.
27255 (sincos_test): Likewise.
27256
511fa286
AK
272572012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27258
27259 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27260 (IFUNC_RESOLVE): Make pointers to the specialized implementations
27261 hidden.
27262 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27263
5f30cfec
L
272642012-09-02 H.J. Lu <hongjiu.lu@intel.com>
27265
27266 [BZ #14538]
27267 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27268 first element of the GOT.
27269 (elf_machine_load_address): Return the difference between
27270 the runtime address of _DYNAMIC and elf_machine_dynamic ().
27271
0786794f
AM
272722012-09-01 Allan McRae <allan@archlinux.org>
27273
5f30cfec
L
27274 [BZ #13412]
27275 * configure.in (AWK): Require gawk version 3.0 or later.
27276 * configure: Regenerated.
0786794f 27277
26889eac
JM
272782012-09-01 Joseph Myers <joseph@codesourcery.com>
27279
27280 * sysdeps/unix/sysv/linux/kernel-features.h
27281 (__ASSUME_POSIX_CPU_TIMERS): Remove.
27282 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27283 [__NR_clock_getres]: Make code unconditional.
27284 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27285 (clock_getcpuclockid): Remove code left unreachable by removal of
27286 conditionals.
27287 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27288 code unconditional.
27289 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27290 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27291 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27292 Make code unconditional.
27293 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27294 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27295 * sysdeps/unix/sysv/linux/clock_settime.c
27296 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27297 conditional code.
27298 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27299 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27300
d22e28b0
L
273012012-08-29 H.J. Lu <hongjiu.lu@intel.com>
27302
27303 [BZ #14476]
27304 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27305 scripts/test-installation.pl.
27306
27307 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27308 and $ld_so_version if it is set.
27309
050af9c4
SP
273102012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27311
27312 [BZ #14516]
27313 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27314 failure if reading from procfs failed.
27315 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27316
ad845c0b
JM
273172012-08-27 Joseph Myers <joseph@codesourcery.com>
27318
27319 * sysdeps/unix/sysv/linux/kernel-features.h
27320 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27321 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27322 Remove conditional code.
27323 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27324 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27325 Remove conditional code.
27326 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27327 * sysdeps/unix/sysv/linux/i386/fxstat.c
27328 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27329 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27330 * sysdeps/unix/sysv/linux/i386/fxstatat.c
27331 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27332 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27333 * sysdeps/unix/sysv/linux/i386/lxstat.c
27334 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27335 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27336 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27337 Remove conditional code.
27338 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27339 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27340 Remove conditional code.
27341 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27342 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27343 <kernel-features.h>.
27344 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27345 Remove.
27346 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27347 Remove conditional code.
27348 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27349 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27350 Remove conditional.
27351
5dbf56af
MF
273522012-08-27 Mike Frysinger <vapier@gentoo.org>
27353
27354 [BZ #5400]
27355 * NEWS: Add fixed bug number.
27356
d6e70f43
JM
273572012-08-27 Joseph Myers <joseph@codesourcery.com>
27358
7efb4737
JM
27359 [BZ #14519]
27360 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27361 underflowing exponent in case of negative sign.
27362 * stdlib/tst-strtod-round-data: Add more tests.
27363 * stdlib/tst-strtod-round.c (tests): Regenerated.
27364
af92131a
JM
27365 [BZ #3479]
27366 * stdlib/strtod_l.c (NDIG): Remove.
27367 (HEXNDIG): Likewise.
27368 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27369 smallest representable value.
27370 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27371 lie within an exact representation of 1/2 ulp of the result.
27372 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27373 unconditionally.
27374 (TENS_P9_IDX): Define unconditionally.
27375 (TENS_P9_SIZE): Likewise.
27376 (TENS_P10_IDX): Likewise.
27377 (TENS_P10_SIZE): Likewise.
27378 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27379 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27380 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27381 entries for 10^2^13 and 10^2^14.
27382 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27383 (TENS_P13_IDX): Define.
27384 (TENS_P13_SIZE): Likewise.
27385 (TENS_P14_IDX): Likewise.
27386 (TENS_P14_SIZE): Likewise.
27387 (_fpioconst_pow10): Change array size to
27388 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
27389 unconditional.
27390 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27391 1024]: Add entries for 10^2^13 and 10^2^14.
27392 [LAST_POW10 > _LAST_POW10]: Remove #error.
27393 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27394 (_fpioconst_pow10): Change array size to
27395 FPIOCONST_POW10_ARRAY_SIZE.
27396 * stdlib/gen-fpioconst.c: New file.
27397 * stdlib/gen-tst-strtod-round.c: Likewise.
27398 * stdlib/tst-strtod-round-data: Likewise.
27399 * stdlib/tst-strtod-round.c: Likewise.
27400 * stdlib/Makefile (tests): Add tst-strtod-round.
27401
d6e70f43
JM
27402 [BZ #14459]
27403 * stdlib/strtod_l.c: Include <stdint.h>.
27404 (NDEBUG): Do not define.
27405 (round_and_return): Change EXPONENT parameter to type intmax_t.
27406 Rearrange calculations to avoid internal overflow possibilities.
27407 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27408 Rearrange calculations to avoid internal overflow possibilities.
27409 Assert that number fits inside MPNSIZE limbs.
27410 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27411 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
27412 calculations and add assertions to avoid internal overflow
27413 possibilities. Add casts to avoid signed/unsigned operations.
27414 * stdlib/tst-strtod-overflow.c: New file.
27415 * stdlib/Makefile (tests): Add tst-strtod-overflow.
27416
1f529f7d
MP
274172012-08-25 Marek Polacek <polacek@redhat.com>
27418
27419 * time/time.h: Fix some typos in comments.
27420
59a629f1
RM
274212012-08-23 Roland McGrath <roland@hack.frob.com>
27422
27423 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27424 * posix/tst-rfc3484-2.c: Likewise.
27425 * posix/tst-rfc3484-3.c: Likewise.
27426
d3bafbc9
SM
274272012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
27428
27429 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27430 (EF_ARM_ABI_FLOAT_HARD): Likewise.
27431
4efcc022
JM
274322012-08-23 Joseph Myers <joseph@codesourcery.com>
27433
27434 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27435 #include of fxstatat64.c.
27436
3cc3ef96
RM
274372012-08-22 Roland McGrath <roland@hack.frob.com>
27438
f04e2132
RM
27439 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27440 * shadow/getspent_r.c: Likewise.
27441 * shadow/getspnam.c: Likewise.
27442 * shadow/getspnam_r.c: Likewise.
27443 * gshadow/getsgent.c: Likewise.
27444 * gshadow/getsgent_r.c: Likewise.
27445 * gshadow/getsgnam.c: Likewise.
27446 * gshadow/getsgnam_r.c: Likewise.
27447 * inet/getnetbyad.c: Likewise.
27448 * inet/getnetbyad_r.c: Likewise.
27449 * inet/getnetbynm.c: Likewise.
27450 * inet/getnetbynm_r.c: Likewise.
27451 * inet/getnetent.c: Likewise.
27452 * inet/getnetent_r.c: Likewise.
27453 * inet/getproto.c: Likewise.
27454 * inet/getproto_r.c: Likewise.
27455 * inet/getprtent.c: Likewise.
27456 * inet/getprtent_r.c: Likewise.
27457 * inet/getprtname.c: Likewise.
27458 * inet/getprtname_r.c: Likewise.
27459 * inet/getrpcbyname.c: Likewise.
27460 * inet/getrpcbyname_r.c: Likewise.
27461 * inet/getrpcbynumber.c: Likewise.
27462 * inet/getrpcbynumber_r.c: Likewise.
27463 * inet/getrpcent.c: Likewise.
27464 * inet/getrpcent_r.c: Likewise.
27465 * inet/getaliasent.c: Likewise.
27466 * inet/getaliasent_r.c: Likewise.
27467 * inet/getaliasname.c: Likewise.
27468 * inet/getaliasname_r.c: Likewise.
27469 * nscd/getgrgid_r.c: Likewise.
27470 * nscd/getgrnam_r.c: Likewise.
27471 * nscd/gethstbyad_r.c: Likewise.
27472 * nscd/gethstbynm3_r.c: Likewise.
27473 * nscd/getpwnam_r.c: Likewise.
27474 * nscd/getpwuid_r.c: Likewise.
27475 * nscd/getsrvbynm_r.c: Likewise.
27476 * nscd/getsrvbypt_r.c: Likewise.
27477 * nscd/gai.c: Likewise.
27478
c53d909c
RM
27479 * configure.in (build_nscd): New substituted variable, set
27480 by --disable-build-nscd and defaults to $use_nscd.
27481 * configure: Regenerated.
27482 * config.make.in (build-nscd): New substituted variable.
27483 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27484 Change conditional to require [$(build-nscd) = yes] as well.
27485 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27486
3cc3ef96
RM
27487 [BZ# 13696]
27488 * configure.in (use_nscd): New substituted variable, set by
27489 --disable-nscd. If enabled, define USE_NSCD.
27490 * configure: Regenerated.
27491 * config.h.in: Add USE_NSCD.
27492 * config.make.in (use-nscd): New substituted variable.
27493 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
27494 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
27495 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
27496 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
27497 (CFLAGS-getgrnam_r.c): Likewise.
27498 (CFLAGS-initgroups.c): Likewise.
27499 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
27500 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
27501 Variables removed.
27502 * inet/getnetgrent_r.c
27503 (nscd_setnetgrent): New function, broken out of ...
27504 (setnetgrent): ... here. Call it.
27505 (innetgr): Conditionalize nscd bits on [USE_NSCD].
27506 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
27507 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
27508 * nscd/Makefile (routines, aux): Move definitions after include of
27509 Makeconfig. Conditionalize on [$(use-nscd) != no].
27510 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
27511 Conditionalize on [USE_NSCD].
27512 (is_nscd, nscd_init_cb): Likewise.
27513 (nss_load_library): Conditionalize init callback on [USE_NSCD].
27514 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
27515 * nss/nss_db/db-init.c: Likewise.
27516 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
27517 [USE_NSCD].
27518 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
27519 (make_request): Use it.
27520 (cache_valid_p): New function.
27521 (__check_pf): Use it.
27522 * NEWS: Add item for --disable-nscd.
27523
07e51550
DL
275242012-08-22 Dmitry V. Levin <ldv@altlinux.org>
27525
27526 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
27527 to support sed >= 4.2.1-20-ga9bf076.
27528 * configure: Regenerated.
27529
35a5b08b
RM
275302012-08-22 Roland McGrath <roland@hack.frob.com>
27531
27532 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
27533 Conditionalize whole body on [IREL].
27534
8479f23a
JL
275352012-08-22 Jeff Law <law@redhat.com>
27536
27537 [BZ #14505]
27538 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
27539 if the family is PF_UNSPEC.
27540
48da0b21
MF
275412012-08-22 Mike Frysinger <vapier@gentoo.org>
27542
27543 * Makerules (lib-version): Rename from V.
27544 (install-lib-nosubdir): Change V to lib-version.
27545
15d0da8c
WS
275462012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
27547
27548 [BZ #14252]
27549 * powerpc32/power6/wcschr.c: New file.
27550 * powerpc32/power6/wcscpy.c: New file.
27551 * powerpc32/power6/wcsrchr.c: New file.
27552 * powerpc64/power6/wcschr.c: New file.
27553 * powerpc64/power6/wcscpy.c: New file.
27554 * powerpc64/power6/wcsrchr.c: New file.
27555
bcca0895
MK
275562012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27557
27558 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
27559 (two_way_short_needle): Use it.
5a4aaa33
RM
27560 * string/strstr.c (AVAILABLE1_USES_J): Define.
27561 * string/strcasestr.c: Likewise.
99677e57
MK
27562
27563 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
27564 array references.
27565 * string/strcasestr.c (TOLOWER): Make side-effect safe.
27566
400726de
MK
27567 [BZ #11607]
27568 * NEWS: Add an entry.
27569 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
27570 define their defaults.
27571 (two_way_short_needle): Detect end-of-string on-the-fly.
27572 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
27573 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
27574 * string/bug-strcasestr1.c: New test.
27575 * string/Makefile: Run it.
27576
20a71f2c
MK
275772012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27578
27579 [BZ #11607]
27580 * string/str-two-way.h (two_way_short_needle): Optimize matching of
27581 the first character.
27582
21ad0558
RM
275832012-08-21 Roland McGrath <roland@hack.frob.com>
27584
27585 * csu/elf-init.c (__libc_csu_irel): Function removed.
27586 * csu/libc-start.c (apply_irel): New function.
27587 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
27588
0e1d9911
JM
275892012-08-21 Joseph Myers <joseph@codesourcery.com>
27590
27591 * sysdeps/unix/sysv/linux/kernel-features.h
27592 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
27593 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27594 <kernel-features.h>.
27595 [__NR_fadvise64_64]: Make code unconditional.
27596 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
27597 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27598 !__NR_fadvise64_64)]: Likewise.
27599 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27600 !__NR_fadvise64_64))]: Likewise.
27601 [__NR_fadvise64]: Make code unconditional.
27602 [!__NR_fadvise64]: Remove conditional code.
27603 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
27604 <kernel-features.h>.
27605 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27606 unconditional.
27607 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27608 conditional code.
27609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
27610 not include <kernel-features.h>.
27611 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27612 unconditional.
27613 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27614 conditional code.
27615 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
27616 include <kernel-features.h>.
27617 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27618 unconditional.
27619 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27620 conditional code.
27621
14a50c9d
WS
276222012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27623
27624 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
27625 slight instruction rearrangements per scrollpipe analysis.
27626 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27627
c0f4faf0
RM
276282012-08-20 Roland McGrath <roland@hack.frob.com>
27629
696da859
RM
27630 * manual/syslog.texi (syslog; vsyslog, closelog):
27631 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
27632 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
27633
c0f4faf0
RM
27634 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
27635 DSOCAPS to match condition on defining it.
27636
348363b2
JM
276372012-08-20 Joseph Myers <joseph@codesourcery.com>
27638
a35cbf28
JM
27639 * sysdeps/unix/sysv/linux/kernel-features.h
27640 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
27641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
27642 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27643 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
27645 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27646 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
27648 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27649 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27650
445f7ecd
JM
27651 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
27652 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
27653
348363b2
JM
27654 * sysdeps/unix/sysv/linux/kernel-features.h
27655 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
27656 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
27657 unconditional.
27658 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27659 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
27660 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27661 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27662 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
27663 Make code unconditional.
27664 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27665 (__mmap64) [!__NR_mmap2]: Likewise.
27666 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
27667 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27668 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27669 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
27670 [__NR_mmap2]: Make code unconditional.
27671 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27672 (__mmap64) [!__NR_mmap2]: Likewise.
27673
bc5bc0e5
AK
276742012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27675
27676 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
27677
88d506de
AJ
276782012-08-18 Andreas Jaeger <aj@suse.de>
27679
27680 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
27681
493387d2
MF
276822012-08-18 Mike Frysinger <vapier@gentoo.org>
27683
27684 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
27685 * include/unistd.h (__have_sock_cloexec): Likewise.
27686 (__have_pipe2): Likewise.
27687 (__have_dup3): Likewise.
27688
a277af22
MF
276892012-08-18 Mike Frysinger <vapier@gentoo.org>
27690
27691 [BZ #9685]
27692 * include/unistd.h (__have_pipe2): Change define into an extern int.
27693 (__have_dup3): Likewise.
27694 * socket/have_sock_cloexec.c: Include fcntl.h.
27695 (__have_pipe2): New variable.
27696 (__have_dup3): Likewise.
27697
fdab8fd3
MF
276982012-08-17 Mike Frysinger <vapier@gentoo.org>
27699
27700 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
27701
31035e80
MP
277022012-08-17 Marek Polacek <polacek@redhat.com>
27703
27704 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
27705 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
27706
3bd9e993
RM
277072012-08-17 Roland McGrath <roland@hack.frob.com>
27708
c91c505f
RM
27709 * configure.in: Add AC_SUBST for sysheaders.
27710 * configure: Regenerated.
27711 * config.make.in (sysheaders): New substituted variable.
27712
7c6f9d53
RM
27713 * sysdeps/unix/mkfifo.c: Moved ...
27714 * sysdeps/posix/mkfifo.c: ... here.
27715 * sysdeps/unix/mkfifoat.c: Moved ...
27716 * sysdeps/posix/mkfifoat.c: ... here.
27717
27718 * sysdeps/unix/utime.c: Moved ...
27719 * sysdeps/posix/utime.c: ... here.
27720
27721 * sysdeps/unix/time.c: Moved ...
27722 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
27723 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
27724 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
27725
27726 * sysdeps/unix/nice.c: Moved ...
27727 * sysdeps/posix/nice.c: ... here.
27728
27729 * sysdeps/unix/alarm.c: Moved ...
27730 * sysdeps/posix/alarm.c: ... here.
27731
3bd9e993
RM
27732 * intl/Makefile ($(codeset_mo)): Depend on the input file.
27733
d1f09384
JL
277342012-08-17 Jeff Law <law@redhat.com>
27735
27736 * intl/Makefile (codeset_mo): New variable.
27737 ($(codeset_mo)): New target.
27738 (tst-codeset.out): Depend on that. Remove explicit rule.
27739 (tst-gettext3.out, tst-gettext5.out): Likewise.
27740 (LOCPATH-ENV, tst-codeset-ENV): New variables.
27741 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
27742 * intl/tst-codeset.sh: Remove.
27743 * intl/tst-gettext3.sh: Likewise.
27744 * intl/tst-gettext5.sh: Likewise.
27745
2ae1ae5c
RM
277462012-08-17 Roland McGrath <roland@hack.frob.com>
27747
c31fdb83
RM
27748 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
27749 * sysdeps/unix/syscalls.list: ... here.
27750
a0844057
RM
27751 * sysdeps/posix/getaddrinfo.c
27752 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
27753 (gaiconf_init, gaiconf_reload): Use them.
27754 [!_STATBUF_ST_NSEC]
27755 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
27756 Define using time_t rather than struct timespec.
27757
750c1f2a
RM
27758 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
27759 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
27760 Macros removed.
27761 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
27762 [!NO_THREADS].
27763 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
27764 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
27765 Likewise.
27766
2ae1ae5c
RM
27767 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
27768 __libc_cleanup_push argument.
27769
e66a42f5
RM
27770 * bits/param.h: New file.
27771 * misc/sys/param.h: New file.
27772 * include/sys/param.h: New file.
27773 * misc/Makefile (headers): Add bits/param.h.
27774 * sysdeps/generic/sys/param.h: File removed.
27775 * sysdeps/unix/sysv/linux/bits/param.h: New file.
27776 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
27777 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 27778 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 27779
b7c08a66
RM
27780 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
27781 last change.
27782
b2e1c562
RM
27783 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
27784 [_IO_MTSAFE_IO].
27785 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
27786 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
27787 New macros.
27788
c75ccd4c
RM
27789 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
27790 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
27791 rather than -D_IO_MTSAFE_IO conditionally.
27792 * stdio-common/Makefile (CPPFLAGS): Likewise.
27793 * wcsmbs/Makefile (CPPFLAGS): Likewise.
27794 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
27795 Use $(libio-mtsafe).
27796 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
27797 of -D_IO_MTSAFE_IO.
27798 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
27799 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
27800 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
27801 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
27802 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
27803 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
27804 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
27805 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
27806 (CFLAGS-fread_u_chk.c): Likewise.
27807 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
27808 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
27809 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
27810 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
27811 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
27812 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
27813 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
27814 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
27815 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
27816
27817 * libio/Makefile: Test [$(libc-reentrant) = yes]
27818 instead of [$(filter %REENTRANT, $(defines)) nonempty].
27819
27820 * Makeconfig
27821 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
27822 * sysdeps/pthread/configure: File removed.
27823 * sysdeps/pthread/Makeconfig: New file.
27824 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
27825 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
27826
d9195db8
GB
278272012-08-16 Gary Benson <gbenson@redhat.com>
27828
27829 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
27830 unmapping the first object in a namespace.
27831
86466cd9
RM
278322012-08-16 Roland McGrath <roland@hack.frob.com>
27833
27834 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
27835 (__internal_setnetgrent): ... this. Add internal_function to
27836 definition. Add libc_hidden_def.
27837 (setnetgrent): Update caller.
27838 (internal_endnetgrent): Renamed to ...
27839 (__internal_endnetgrent): ... this. Add internal_function to
27840 definition. Add libc_hidden_def.
27841 (endnetgrent): Update caller.
27842 (internal_getnetgrent_r): Renamed to ...
27843 (__internal_getnetgrent_r): ... this. Add internal_function to
27844 definition. Add libc_hidden_def.
27845 (__getnetgrent_r): Update caller.
27846 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
27847
c3c8283c
JM
278482012-08-16 Joseph Myers <joseph@codesourcery.com>
27849
27850 * stdlib/longlong.h: Update from GCC.
27851
db1ee0a8
RM
278522012-08-16 Roland McGrath <roland@hack.frob.com>
27853
27854 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
27855 on _QL, which is set by umul_ppmm but never used.
27856 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
27857 variables, which are set by GMP macros but never used.
27858 * stdio-common/_itowa.c (_itowa): Likewise.
27859 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
27860 * stdlib/mod_1.c (mpn_mod_1): Likewise.
27861
30f69637
CD
278622012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
27863
27864 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
27865 struct La_sh_regs is not constant.
27866 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
27867 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
27868 and struct La_sparc64_regs are not constant.
27869
93a78ac4
JM
278702012-08-16 Joseph Myers <joseph@codesourcery.com>
27871
27872 * sysdeps/unix/sysv/linux/kernel-features.h
27873 (__ASSUME_POSIX_TIMERS): Remove.
27874 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27875 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27876 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
27877 Make code unconditional.
27878 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27879 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
27880 Make code unconditional.
27881 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27882 * sysdeps/unix/sysv/linux/clock_nanosleep.c
27883 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
27884 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27885 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
27886 Make code unconditional.
27887 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27888 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
27889 (__libc_missing_posix_timers): Remove.
27890
dd924cd7
RM
278912012-08-15 Roland McGrath <roland@hack.frob.com>
27892
4b4f2771
RM
27893 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
27894 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
27895
601c888b
RM
27896 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
27897
176790a7
RM
27898 * elf/dl-sym.c: Include <stdlib.h>.
27899
329bc018
RM
27900 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
27901 constants, which avoids warnings in 32-bit builds.
27902
e04e272d
RM
27903 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
27904 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
27905
952bf94a
RM
27906 * misc/lseek.c: File moved to ...
27907 * io/lseek.c: ... here.
27908
7c99b50a
RM
27909 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
27910
dd924cd7
RM
27911 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
27912 shifting LEN more than 31 bits at once.
27913
b3f479a8
LD
279142012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27915
27916 [BZ #14195]
8c4ae0d4
RM
27917 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
27918 segmentation fault for a case of two empty input strings.
b3f479a8
LD
27919 * string/test-strncasecmp.c (check1): Renamed to...
27920 (bz12205): ...this.
27921 (bz14195): Add new testcase for two empty input strings and N > 0.
27922 (test_main): Call new testcase, adapt for renamed function.
27923
9c55864e
AJ
279242012-08-15 Andreas Jaeger <aj@suse.de>
27925
27926 [BZ #14090]
27927 * crypt/md5test2.c: New test, based on test supplied by Serge
27928 Belyshev <belyshev@depni.sinp.msu.ru>.
27929 * crypt/Makefile (xtests): Add md5test-giant..
27930 * crypt/Makefile ($(objpfx)md5test-giant): Add.
27931
02dcb6c5
PE
279322012-08-15 Paul Eggert <eggert@cs.ucla.edu>
27933
27934 [BZ #14090]
27935 * crypt/md5.c (md5_process_block): Don't assume the buffer
27936 length is less than 2**32.
27937 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
27938 length is less than 2**64.
27939
a3f95dcc
RM
279402012-08-15 Roland McGrath <roland@hack.frob.com>
27941
be75d758
RM
27942 * string/str-two-way.h: Include <sys/param.h>.
27943 (MAX): Macro removed.
27944
7312ca90
RM
27945 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
27946 Move #define and #undef of memmove to just before and after
27947 including <string.h>.
27948
9a0a5486
RM
27949 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
27950 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
27951 and after including <string.h>. Move declarations of
27952 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
27953 to before #include "string/memmove.c".
27954
67cc348d
RM
27955 * include/dirent.h: Declare __getdirentries.
27956
a3f95dcc
RM
27957 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
27958 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
27959
ca98e171
MF
279602012-08-14 Mike Frysinger <vapier@gentoo.org>
27961
27962 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
27963 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
27964 * sysdeps/i386/configure: Regenerated.
27965 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
27966 STABS_CURRENT_FILE, and STABS_FUN.
27967 (END): Remove call to STABS_FUN_END.
27968 (STABS_CURRENT_FILE1): Delete.
27969 (STABS_CURRENT_FILE): Likewise.
27970 (STABS_FUN): Likewise.
27971 (STABS_FUN_END): Likewise.
27972 (STABS_FUN2): Likewise.
27973 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
27974 * sysdeps/x86_64/configure: Regenerated.
27975
5908bf46
RM
279762012-08-14 Roland McGrath <roland@hack.frob.com>
27977
27978 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 27979 * elf/dl-lookup.c: Likewise.
5908bf46 27980
f2c05b9e
JM
279812012-08-14 Joseph Myers <joseph@codesourcery.com>
27982
27983 * sysdeps/unix/sysv/linux/kernel-features.h
27984 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
27985 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
27986 unconditionally.
27987 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
27988 unconditionally.
27989 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
27990 condition on __ASSUME_CLONE_THREAD_FLAGS.
27991
e11f5155
AJ
279922012-08-14 Andreas Jaeger <aj@suse.de>
27993
27994 * sysdeps/i386/fpu/libm-test-ulps: Update.
27995
51a9ba86
MK
279962012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
27997
2fdd4f78
AJ
27998 * include/atomic.h (atomic_exchange_and_add): Split into ...
27999 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28000 New atomic macros.
51a9ba86 28001
ba6cba9e
MT
280022012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
28003
28004 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28005
42443a47
JL
280062012-08-13 Jeff Law <law@redhat.com>
28007
28008 * manual/stdio.texi (snprintf): Clarify handling of the trailing
28009 null byte in the output string.
28010
121dce05
JM
280112012-08-10 Joseph Myers <joseph@codesourcery.com>
28012
28013 * sysdeps/unix/sysv/linux/kernel-features.h
28014 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28015 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28016 (__ASSUME_ARG_MAX_STACK_BASED): Define.
28017 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28018 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28019 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
28020 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28021
bf51f568
JL
280222012-08-09 Jeff Law <law@redhat.com>
28023
28024 [BZ #13939]
28025 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28026 When avoid_arena is set, don't retry in the that arena. Pick the
28027 next one, whatever it might be.
28028 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28029 (arena_lock): Pass in new parameter to arena_get2.
28030 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28031 arena_get2.
28032 (__libc_malloc): Unify retrying after main arena failure with
28033 __libc_memalign version.
28034 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28035
f85fa270
L
280362012-08-09 H.J. Lu <hongjiu.lu@intel.com>
28037
28038 [BZ #14166]
28039 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28040 to __redirect_strstr.
28041 (__strstr_sse42): Use typeof __redirect_strstr.
28042 (__strstr_ia32): Likewise.
28043 (__libc_strstr): New prototype.
28044 (strstr): Renamed to ...
28045 (__libc_strstr): This.
28046 (strstr): New strong alias of __libc_strstr.
28047 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28048 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28049 __redirect_time.
28050 Include <time.h>.
28051 (__libc_time): New prototype.
28052 (time_ifunc): Replace time with __libc_time.
28053 (time): New strong alias and hidden definition of __libc_time.
28054 (__GI_time): Remove strong alias.
28055 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28056 Include <stddef.h>.
28057 (memmove): Redefined to __redirect_memmove.
28058 (__memmove_sse2): Use typeof __redirect_memmove.
28059 (__memmove_ssse3): Likewise.
28060 (__memmove_ssse3_back): Likewise.
28061 (__libc_memmove): New prototype.
28062 (memmove): Renamed to ...
28063 (__libc_memmove): This.
28064 (memmove): New strong alias of __libc_memmove.
28065
33b4a91e
MS
280662012-08-08 Mark Salter <msalter@redhat.com>
28067
28068 * elf/elf.h
28069 (R_MN10300_TLS_GD): Define.
28070 (R_MN10300_TLS_LD): Likewise.
28071 (R_MN10300_TLS_LDO): Likewise.
28072 (R_MN10300_TLS_GOTIE): Likewise.
28073 (R_MN10300_TLS_IE): Likewise.
28074 (R_MN10300_TLS_LE): Likewise.
28075 (R_MN10300_TLS_DTPMOD): Likewise.
28076 (R_MN10300_TLS_DTPOFF): Likewise.
28077 (R_MN10300_TLS_TPOFF): Likewise.
28078 (R_MN10300_SYM_DIFF): Likewise.
28079 (R_MN10300_ALIGN): Likewise.
28080 (R_MN10300_NUM): Update.
28081
b36137f1
JM
280822012-08-08 Joseph Myers <joseph@codesourcery.com>
28083
28084 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28085 Remove.
28086
cdd915fd
RM
280872012-08-08 Roland McGrath <roland@hack.frob.com>
28088
a2433aac
RM
28089 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28090
cdd915fd
RM
28091 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28092 sysdeps/unix -> sysdeps/posix move.
28093 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28094
bf9b740a
AM
280952012-08-07 Allan McRae <allan@archlinux.org>
28096
28097 [BZ #14303]
28098 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28099 (SUNOS_CPP): Likewise.
28100 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28101 not found.
28102 (open_input): Call CPP using execvp.
28103
93df14ee
JM
281042012-08-07 Joseph Myers <joseph@codesourcery.com>
28105
28106 * sysdeps/unix/sysv/linux/kernel-features.h
28107 (__ASSUME_PROT_GROWSUPDOWN): Remove.
28108 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28109 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28110 (__ASSUME_WAITID_SYSCALL): Likewise.
28111 * sysdeps/unix/sysv/linux/dl-execstack.c
28112 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28113 code unconditional.
28114 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28115 conditional code.
28116 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28117 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28118 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28119 code.
28120 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28121 unconditional.
28122 [__ASSUME_WAITID_SYSCALL]: Likewise.
28123 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28124
d34689de
RM
281252012-08-07 Roland McGrath <roland@hack.frob.com>
28126
a281decc
RM
28127 * sysdeps/unix/closedir.c: Renamed to ...
28128 * sysdeps/posix/closedir.c: ... here.
28129 * sysdeps/unix/dirfd.c: Renamed to ...
28130 * sysdeps/posix/dirfd.c: ... here.
28131 * sysdeps/unix/dirstream.h: Renamed to ...
28132 * sysdeps/posix/dirstream.h: ... here.
28133 * sysdeps/unix/fdopendir.c: Renamed to ...
28134 * sysdeps/posix/fdopendir.c: ... here.
28135 * sysdeps/unix/opendir.c: Renamed to ...
28136 * sysdeps/posix/opendir.c: ... here.
28137 * sysdeps/unix/readdir.c: Renamed to ...
28138 * sysdeps/posix/readdir.c: ... here.
28139 * sysdeps/unix/readdir_r.c: Renamed to ...
28140 * sysdeps/posix/readdir_r.c: ... here.
28141 * sysdeps/unix/rewinddir.c: Renamed to ...
28142 * sysdeps/posix/rewinddir.c: ... here.
28143 * sysdeps/unix/seekdir.c: Renamed to ...
28144 * sysdeps/posix/seekdir.c: ... here.
28145 * sysdeps/unix/telldir.c: Renamed to ...
28146 * sysdeps/posix/telldir.c: ... here.
28147 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28148 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28149 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28150 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28151
22895b47
RM
28152 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28153 * bits/fcntl.h: ... here.
28154
707a53b6
RM
28155 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28156 not 0.
28157 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28158 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28159 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28160 (struct flock): Move l_start, l_len to the beginning.
28161 Use __pid_t for l_pid.
28162 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28163 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28164 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28165 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28166 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28167 [__USE_LARGEFILE64] (struct flock64): New type.
28168 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28169
f0bd3e25
RM
28170 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28171 * bits/dirent.h: ... here.
28172
d34689de
RM
28173 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28174 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28175
6dad2c06
JM
281762012-08-07 Joseph Myers <joseph@codesourcery.com>
28177
28178 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28179 Change from 2.6.0 to 2.6.16.
28180 * sysdeps/unix/sysv/linux/configure: Regenerated.
28181 * sysdeps/unix/sysv/linux/kernel-features.h
28182 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28183 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28184 version.
28185 (__ASSUME_UTIMES): Likewise.
28186 (__ASSUME_CLONE_STOPPED): Remove.
28187 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28188 architectures, not kernel version.
28189 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28190 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28191 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28192 (__ASSUME_WAITID_SYSCALL): Likewise.
28193 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28194 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28195 * README: State 2.6.16 as minimum Linux kernel version. Do not
28196 refer to older versions.
28197
03af9520
RM
281982012-08-06 Roland McGrath <roland@hack.frob.com>
28199
8e49df1d
RM
28200 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28201 Define alphasort64 as an alias.
28202 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28203 Define versionsort64 as an alias.
28204 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28205 Define scandir64 as an alias.
28206 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28207 Define scandirat64 as an alias.
28208 * dirent/alphasort64.c (alphasort64):
28209 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28210 * dirent/versionsort64.c: Likewise.
28211 * dirent/scandir64.c: Likewise.
28212 * dirent/scandirat64.c: Likewise.
28213 * sysdeps/wordsize-64/alphasort.c: File removed.
28214 * sysdeps/wordsize-64/alphasort64.c: File removed.
28215 * sysdeps/wordsize-64/scandir.c: File removed.
28216 * sysdeps/wordsize-64/scandir64.c: File removed.
28217 * sysdeps/wordsize-64/scandirat.c: File removed.
28218 * sysdeps/wordsize-64/scandirat64.c: File removed.
28219 * sysdeps/wordsize-64/versionsort.c: File removed.
28220 * sysdeps/wordsize-64/versionsort64.c: File removed.
28221 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28222 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28223 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28224 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28225 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28226 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28227 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28228 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28229
28230 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28231 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28232 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28233 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28234 [defined __arch64__ || defined __sparcv9]
28235 (__INO_T_MATCHES_INO64_T): New macro.
28236 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28237 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28238 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28239 * sysdeps/unix/sysv/linux/bits/dirent.h
28240 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28241 (_DIRENT_MATCHES_DIRENT64): New macro.
28242
03af9520
RM
28243 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28244 Define lockf64 as an alias.
28245 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28246 Define fseeko64 as an alias.
28247 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28248 Define ftello64 as an alias.
28249 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28250 Define _IO_fgetpos64 and fgetpos64 as aliases.
28251 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28252 Define _IO_fsetpos64 and fsetpos64 as aliases.
28253 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28254 Conditionalize body on this.
28255 * libio/fseeko64.c: Likewise.
28256 * libio/ftello64.c: Likewise.
28257 * libio/iofgetpos64.c: Likewise.
28258 * libio/iofsetpos64.c: Likewise.
28259 * sysdeps/wordsize-64/lockf.c: File removed.
28260 * sysdeps/wordsize-64/lockf64.c: File removed.
28261 * sysdeps/wordsize-64/fseeko.c: File removed.
28262 * sysdeps/wordsize-64/fseeko64.c: File removed.
28263 * sysdeps/wordsize-64/ftello.c: File removed.
28264 * sysdeps/wordsize-64/ftello64.c: File removed.
28265 * sysdeps/wordsize-64/iofgetpos.c: File removed.
28266 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28267 * sysdeps/wordsize-64/iofsetpos.c: File removed.
28268 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28269 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28270 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28271 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28272 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28273 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28274 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28275 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28276 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28277 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28278 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28279
28280 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28281 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28282 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28283 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28284 [defined __arch64__ || defined __sparcv9]
28285 (__OFF_T_MATCHES_OFF64_T): New macro.
28286 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28287 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28288 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28289 (__OFF_T_MATCHES_OFF64_T): New macro.
28290
c5757acd
L
282912012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28292
28293 * stdlib/secure-getenv.c (__secure_getenv): Replace
28294 GLIBC_2_16 with GLIBC_2_17.
28295
3a31811e
L
282962012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28297
28298 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28299 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28300
faa2bccb
DM
283012012-08-03 David S. Miller <davem@davemloft.net>
28302
28303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28304
85fe1997
JM
283052012-08-03 Joseph Myers <joseph@codesourcery.com>
28306
28307 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28308 Remove.
28309 (__ASSUME_CORRECT_SI_PID): Likewise.
28310 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28311 (__ASSUME_TMPFS_NAME): Likewise.
28312 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28313 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28314 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28315 (HAVE_AUX_SECURE): Make definition unconditional.
28316 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28317 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28318
4f75b7a0
RM
283192012-08-03 Roland McGrath <roland@hack.frob.com>
28320
28321 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28322 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28323 * sysdeps/mach/hurd/eloop-threshold.h: New file.
28324 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28325 __eloop_threshold instead of SYMLOOP_MAX.
28326
28327 * sysdeps/generic/eloop-threshold.h: New file.
28328 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28329 of MAXSYMLINKS.
28330 * elf/chroot_canon.c (chroot_canon): Likewise.
28331
7aab07e4
JM
283322012-08-03 Joseph Myers <joseph@codesourcery.com>
28333
28334 [BZ #13717]
28335 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28336 Change to 2.6.0 everywhere.
28337 * sysdeps/unix/sysv/linux/configure: Regenerated.
28338 * sysdeps/unix/sysv/linux/kernel-features.h
28339 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28340 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28341 kernel versions.
28342 (__ASSUME_POSIX_TIMERS): Define unconditionally.
28343 (__ASSUME_FUTEX_REQUEUE): Remove.
28344 (__ASSUME_STATFS64): Define unconditionally.
28345 (__ASSUME_AT_SECURE): Likewise.
28346 (__ASSUME_CORRECT_SI_PID): Likewise.
28347 (__ASSUME_TGKILL): Define without depending on kernel version for
28348 i386.
28349 (__ASSUME_UTIMES): Likewise.
28350 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28351 kernel version.
28352 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28353 (__ASSUME_TMPFS_NAME): Likewise.
28354 * README: Update reference to Linux kernel versions.
28355
b67e9372
MP
283562012-08-02 Marek Polacek <polacek@redhat.com>
28357
1f529f7d 28358 [BZ# 14150]
b67e9372
MP
28359 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
28360 libc_cv_asm_type_prefix with %.
28361 * configure: Regenerated.
d2441631
RM
28362 * include/libc-symbols.h: Remove comment about
28363 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
28364 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28365 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28366 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28367 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28368 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28369 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28370 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28371 * elf/tst-unique2mod1.c: Likewise.
28372 * elf/tst-unique1mod2.c: Likewise.
28373 * elf/tst-unique1mod1.c: Likewise.
28374 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28375 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28376 Replace ASM_TYPE_DIRECTIVE with .type.
28377 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28378 * sysdeps/i386/sysdep.h: Likewise.
28379 * sysdeps/x86_64/sysdep.h: Likewise.
28380 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
28381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28382 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 28383 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
28384 * sysdeps/powerpc/powerpc32/sysdep.h:
28385 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
28386 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28387 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28388 * sysdeps/i386/fpu/e_powf.S: Likewise.
28389 * sysdeps/i386/fpu/e_expl.S: Likewise.
28390 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28391 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28392 * sysdeps/i386/fpu/e_pow.S: Likewise.
28393 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28394 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28395 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28396 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28397 * sysdeps/i386/fpu/e_log2.S: Likewise.
28398 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28399 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28400 * sysdeps/i386/fpu/e_powl.S: Likewise.
28401 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28402 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28403 * sysdeps/i386/fpu/e_logl.S: Likewise.
28404 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28405 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28406 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28407 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28408 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28409 * sysdeps/i386/fpu/e_log.S: Likewise.
28410 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28411 * sysdeps/i386/fpu/e_logf.S: Likewise.
28412 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28413 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28414 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28415 * sysdeps/i386/fpu/e_log10.S: Likewise.
28416 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28417 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28418 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28419 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28420 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28421 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28422 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28423 * sysdeps/i386/i686/strtok.S: Likewise.
28424 * sysdeps/i386/i386-mcount.S: Likewise.
28425 * sysdeps/i386/strtok.S: Likewise.
28426 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28427 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28428 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28429 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28430 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28431 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28432 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28433 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28434 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28435 * sysdeps/x86_64/_mcount.S: Likewise.
28436 * sysdeps/x86_64/strtok.S: Likewise.
28437 * sysdeps/sh/_mcount.S: Likewise.
28438
2747bf9a
RM
284392012-08-01 Roland McGrath <roland@hack.frob.com>
28440
28441 * libio/iofopen.c: Include <fcntl.h>.
28442 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28443 (_IO_fopen64, fopen64): Define as aliases.
28444 * libio/iofopen64.c: Include <fcntl.h>.
28445 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28446 Conditionalize body on this.
28447 * sysdeps/wordsize-64/iofopen.c: File removed.
28448 * sysdeps/wordsize-64/iofopen64.c: File removed.
28449
3fb791b8
MP
284502012-08-01 Marek Polacek <polacek@redhat.com>
28451
28452 * libc/Makeconfig: Use elf in place of binfmt-subdir.
28453 Use dlfcn directly instead of a variable.
28454 (binfmt-subdir): Do not define.
28455 (dlfcn): Likewise.
28456
a9f1039f
JM
284572012-08-01 Joseph Myers <joseph@codesourcery.com>
28458
23bddc06
JM
28459 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28460 Remove all definitions.
28461 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28462 <kernel-features.h>.
28463 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28464 (miss_F_GETOWN_EX): Remove all definitions.
28465 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28466 macro definition.
28467 [!__ASSUME_FCNTL64]: Remove conditional code.
28468 [__ASSUME_FCNTL64]: Make code unconditional.
28469 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28470 <kernel-features.h>.
28471 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28472 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28473 (lockf64) [__NR_fcntl64]: Make code unconditional.
28474 (lockf64) [__ASSUME_FCNTL64]: Likewise.
28475
a9f1039f
JM
28476 * sysdeps/unix/sysv/linux/kernel-features.h
28477 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28478 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28479 Make code unconditional.
28480 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28481 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28483 [__NR_vfork]: Make code unconditional.
28484 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28485 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28487 [__NR_vfork]: Make code unconditional.
28488 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28489 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28490
09c0ee5f
RM
284912012-08-01 Roland McGrath <roland@hack.frob.com>
28492
48aec5b9
RM
28493 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
28494 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
28495
cd97c966
RM
28496 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28497 Define mkstemp64 as an alias.
3f55550c
RM
28498 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28499 Define mkstemps64 as an alias.
cd97c966
RM
28500 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28501 Define mkostemp64 as an alias.
b8625cfc
RM
28502 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28503 Define mkostemps64 as an alias.
cd97c966
RM
28504 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
28505 Conditionalize body on this.
28506 * misc/mkostemp64.c: Likewise.
b8625cfc 28507 * misc/mkostemps64.c: Likewise.
3f55550c 28508 * misc/mkstemps64.c: Likewise.
cd97c966
RM
28509 * sysdeps/wordsize-64/mkstemp64.c: File removed.
28510 * sysdeps/wordsize-64/mkostemp64.c: File removed.
28511 * sysdeps/wordsize-64/mkostemp.c: File removed.
28512 * sysdeps/wordsize-64/mkstemp.c: File removed.
28513 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
28514 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
28515 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
28516 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
28517
09c0ee5f
RM
28518 [BZ #14138]
28519 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
28520 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
28521 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
28522 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
28523
28524 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
28525 compat_symbol macros from <shlib-compat.h> rather than the underlying
28526 default_symbol_version and symbol_version macros, so that DEFAULT
28527 lines in shlib-versions are respected.
28528 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
28529
7e66ee51
FW
285302012-08-01 Florian Weimer <fweimer@redhat.com>
28531
28532 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
28533 Declare with warn_unused_result.
28534 (setgid, setregid, setegid, setresgid): Likewise.
28535 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
28536 Likewise.
28537 * WUR-REPORT: Remove set*id functions.
28538
d2a54255
PT
285392012-07-31 Pino Toscano <toscano.pino@tiscali.it>
28540
28541 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
28542
7ecdb005
RM
285432012-07-31 Roland McGrath <roland@hack.frob.com>
28544
b4180a5e 28545 [BZ #10191]
789bd351
RM
28546 * include/sys/socket.h (__libc_accept, __libc_accept4):
28547 Add attribute_hidden.
28548 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
28549
40ce302d
RM
28550 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
28551 use of PTR_MANGLE.
28552 * inet/getnetgrent_r.c (setup): Likewise.
28553
7ecdb005
RM
28554 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
28555
e2eabb2c
DM
285562012-07-31 David S. Miller <davem@davemloft.net>
28557
28558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28559
d0419dbf
JM
285602012-07-31 Joseph Myers <joseph@codesourcery.com>
28561
28562 [BZ #13629]
28563 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
28564 value between 1.0 and 2.0 and smaller part has absolute value less
28565 than 1.0.
28566 * math/s_clog10.c (__clog10): Likewise.
28567 * math/s_clog10f.c (__clog10f): Likewise.
28568 * math/s_clog10l.c (__clog10l): Likewise.
28569 * math/s_clogf.c (__clogf): Likewise.
28570 * math/s_clogl.c (__clogl): Likewise.
28571 * math/libm-test.inc (clog_test): Add more tests.
28572 (clog10_test): Likewise.
28573 * sysdeps/i386/fpu/libm-test-ulps: Update.
28574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28575
2bc13872
FW
285762012-07-31 Florian Weimer <fweimer@redhat.com>
28577
28578 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
28579 Exit with zero in case no suitable GID is found, and write a
28580 message to standard error.
28581
bea9b193
RM
285822012-07-30 Roland McGrath <roland@hack.frob.com>
28583
28584 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
28585 rather than to 1.
28586 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
28587 (MAXPATHLEN): Removed.
28588 (NOGROUP, NODEV): New macros.
28589 (setbit, clrbit, isset, isclr): New macros.
28590 (howmany, roundup, powerof2): New macros.
28591 (DEV_BSIZE): New macro.
28592
28593 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
28594 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
28595
28596 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
28597 definition on [!__NO_LONG_DOUBLE_MATH].
28598
28599 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
28600 PTR_MANGLE and PTR_DEMANGLE.
28601
28602 * socket/accept4.c (accept4): Rename to __libc_accept4.
28603 Define accept4 as a weak alias.
28604
28605 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
28606 on [_DIRENT_HAVE_D_TYPE].
28607 * io/ftw.c (ftw_dir): Likewise.
28608
28609 * io/xmknod.c (__xmknod): Don't check PATH for being null.
28610
28611 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
28612
28613 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
28614 Use the BSD numbers rather than the arbitrary ones we had.
28615 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
28616 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
28617 (SIGXCPU, SIGXFSZ): New macros.
28618 (_NSIG): Now 32.
28619
28620 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
28621 initializer on [_LIBC_REENTRANT].
28622
28623 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
28624 definitions inside [_POSIX_MAPPED_FILES].
28625
28626 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
28627
28628 * dirent/opendir.c: Include <fcntl.h>.
28629
28630 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
28631 (__libc_getspecific): Likewise.
28632 (__libc_key_create): Likewise.
28633
28634 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
28635 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
28636 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
28637 (tmpfile64): Define as alias.
28638 * sysdeps/wordsize-64/tmpfile.c: File removed.
28639 * sysdeps/wordsize-64/tmpfile64.c: File removed.
28640 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
28641 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
28642
28643 * stdio-common/vfscanf.c: Include <stdbool.h>.
28644 * nss/makedb.c: Likewise.
28645 * stdio-common/_i18n_number.h: Likewise.
28646 * argp/argp-help.c: Likewise.
28647 * posix/wordexp.c: Likewise.
28648 * sysdeps/posix/spawni.c: Likewise.
28649 * nss/nss_files/files-initgroups.c: Likewise.
28650 * stdio-common/reg-modifier.c: Include <stdlib.h>.
28651 * nss/nss_files/files-initgroups.c: Likewise.
28652 * nss/nss_db/db-netgrp.c: Likewise.
28653 * nss/nss_db/db-initgroups.c: Likewise.
28654 * io/fchmodat.c: Include <sys/stat.h>.
28655
28656 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
28657 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
28658
28659 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
28660 [HAVE_MMAP].
28661
28662 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
28663 Add multiple inclusion protection.
28664
e5abc686
DM
286652012-07-27 David S. Miller <davem@davemloft.net>
28666
28667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28668
815e6fa3
GB
286692012-07-27 Gary Benson <gbenson@redhat.com>
28670
28671 [BZ #14298]
28672 * elf/rtld.c: Include <stap-probe.h>.
28673 (dl_main): Added static probes "init_start" and "init_complete".
28674 * elf/dl-load.c: Include <stap-probe.h>.
28675 (lose): Take new parameter "nsid".
28676 Added static probe "map_failed".
28677 (_dl_map_object_from_fd): Pass namespace id to lose.
28678 Added static probe "map_start".
28679 (open_verify): Pass namespace id to lose.
28680 * elf/dl-open.c: Include <stap-probe.h>.
28681 (dl_open_worker) Added static probes "map_complete", "reloc_start"
28682 and "reloc_complete".
28683 * elf/dl-close.c: Include <stap-probe.h>.
28684 (_dl_close_worker): Added static probes "unmap_start" and
28685 "unmap_complete".
28686 * elf/rtld-debugger-interface.txt: New file documenting the above.
28687
9f98c16c
RM
286882012-07-26 Roland McGrath <roland@hack.frob.com>
28689
28690 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
28691 rather than a string variable.
28692 * sunrpc/rpc_main.c (h_output): Likewise.
28693 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
28694
f3c22df3
PT
286952012-07-26 Pino Toscano <toscano.pino@tiscali.it>
28696
28697 * inet/check_native.c: New file.
28698
3129cfc6
JM
286992012-07-26 Joseph Myers <joseph@codesourcery.com>
28700
da865e95
JM
28701 [BZ #13629]
28702 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
28703 if larger part has absolute value 1.0.
28704 * math/s_clog10.c (__clog10): Likewise.
28705 * math/s_clog10f.c (__clog10f): Likewise.
28706 * math/s_clog10l.c (__clog10l): Likewise.
28707 * math/s_clogf.c (__clogf): Likewise.
28708 * math/s_clogl.c (__clogl): Likewise.
28709 * math/libm-test.inc (clog_test): Add more tests.
28710 (clog10_test): Likewise.
28711 * sysdeps/i386/fpu/libm-test-ulps: Update.
28712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28713
3129cfc6
JM
28714 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
28715 (pltexit): Likewise.
28716 (La_regs): Likewise.
28717 (La_retval): Likewise.
28718 (int_retval): Likewise.
28719 Update #error for removed macros to refer only to definitions in
28720 tst-audit.h.
28721 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
28722 macro.
28723 (pltexit): Likewise.
28724 (La_regs): Likewise.
28725 (La_retval): Likewise.
28726 (int_retval): Likewise.
28727 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
28728 macro.
28729 (pltexit): Likewise.
28730 (La_regs): Likewise.
28731 (La_retval): Likewise.
28732 (int_retval): Likewise.
28733 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
28734 macro.
28735 (pltexit): Likewise.
28736 (La_regs): Likewise.
28737 (La_retval): Likewise.
28738 (int_retval): Likewise.
28739 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
28740 macro.
28741 (pltexit): Likewise.
28742 (La_regs): Likewise.
28743 (La_retval): Likewise.
28744 (int_retval): Likewise.
28745 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
28746 macro.
28747 (pltexit): Likewise.
28748 (La_regs): Likewise.
28749 (La_retval): Likewise.
28750 (int_retval): Likewise.
28751 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
28752 macro.
28753 (pltexit): Likewise.
28754 (La_regs): Likewise.
28755 (La_retval): Likewise.
28756 (int_retval): Likewise.
28757 * sysdeps/generic/tst-audit.h: Update comment to refer only to
28758 macro definitions in tst-audit.h.
28759 * sysdeps/i386/tst-audit.h: New file.
28760 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
28761 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
28762 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
28763 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
28764 * sysdeps/sh/tst-audit.h: Likewise.
28765 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
28766 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
28767 * sysdeps/x86_64/tst-audit.h: Likewise.
28768
bfc07087
AJ
287692012-07-26 Andreas Jaeger <aj@suse.de>
28770
b1b2aaf8
AJ
28771 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
28772 ptrace.
28773
28774 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
28775 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
28776 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
28777 PTRACE_O_MASK.
28778 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
28779 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
28780 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
28781
bfc07087
AJ
28782 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
28783 value.
28784
28785 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
28786 _sigsys.
28787 (si_call_addr, si_syscall, si_arch): Define new macro.
28788 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
28789 _sigsys.
28790 (si_call_addr, si_syscall, si_arch): Define new marcro.
28791 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
28792 _sigsys.
28793 (si_call_addr, si_syscall, si_arch): Define new macro.
28794 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
28795 _sigsys.
28796 (si_call_addr, si_syscall, si_arch): Define new macro.
28797
89b4b02f
JM
287982012-07-25 Joseph Myers <joseph@codesourcery.com>
28799
28800 [BZ #13717]
28801 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28802 Change to 2.4.21 where previously 2.4.1.
28803 * sysdeps/unix/sysv/linux/configure: Regenerated.
28804 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
28805 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
28806 Linux kernel version.
28807 (__ASSUME_STD_AUXV): Remove.
28808 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
28809 kernel version.
28810 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
28811 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
28812 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
28813 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
28814 (__ASSUME_NETLINK_SUPPORT): Likewise.
28815 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
28816 (__no_netlink_support): Remove conditional definition.
28817 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
28818 Remove.
28819 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28820 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
28821 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
28822 (if_nameindex_ioctl): Remove.
28823 (if_nameindex_netlink): Do not handle __no_netlink_support.
28824 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28825 code.
28826 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
28827 Remove conditional code.
28828 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28829 code.
28830 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
28831 unconditional.
28832 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28833 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
28834 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
28835 Remove.
28836 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
28837 [!__ASSUME_STD_AUXV]: Remove conditional code.
28838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
28839 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
28840 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
28841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
28842 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
28843 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28844 code.
28845 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28847 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
28848 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28849 conditional code.
28850 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28852 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28853 code.
28854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28855 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28856 conditional code.
28857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
28858 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28859 code unconditional.
28860 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28861 conditional code.
28862 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28863 unconditional.
28864 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28865 conditional code.
28866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28867 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28868 unconditional.
28869 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28870 conditional code.
28871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28872 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28873 code unconditional.
28874 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28875 conditional code.
28876 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28877 unconditional.
28878 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28879 conditional code.
28880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28881 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28882 code unconditional.
28883 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28884 conditional code.
28885 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28886 unconditional.
28887 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28888 conditional code.
28889
842a39cd
AS
288902012-07-25 Andreas Schwab <schwab@linux-m68k.org>
28891
28892 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
28893 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
28894 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28895 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
28896 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
28897 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28898 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28899 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
28900 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
28901 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
28902 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
28903 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
28904 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
28905 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28906 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
28907 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
28908 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
28909 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
28910 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
28911 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
28912 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
28913 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
28914 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28915
84b3fd84
FW
289162012-07-25 Florian Weimer <fweimer@redhat.com>
28917
28918 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
28919 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
28920 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
28921 Introduce __libc_secure_getenv.
0c7936d5
FW
28922 * stdlib/Versions (2.17): Add secure_getenv
28923 (GLIBC_PRIVATE): Add __libc_secure_getenv.
28924 * stdlib/secure-getenv.c: Rename __secure_getenv to
28925 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
28926 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
28927 * stdlib/tst-secure-getenv.c: New.
28928 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
28929 * manual/startup.texi (Environment Access): Document
28930 secure_getenv.
84b3fd84
FW
28931 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
28932 __libc_secure_getenv.
28933 * inet/ruserpass.c (ruserpass): Likewise.
28934 * malloc/mtrace.c (mtrace): Likewise.
28935 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 28936 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
28937 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
28938 * sysdeps/posix/tempname.c: Likewise. Evaluate
28939 HAVE_SECURE_GETENV.
28940 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 28941 __secure_getenv to __libc_secure_getenv.
84b3fd84 28942 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
28943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28944 Likewise.
28945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28946 Likewise.
28947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28949 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28952 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 28954
56e49b71
JM
289552012-07-25 Joseph Myers <joseph@codesourcery.com>
28956
28957 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
28958 (struct La_i86_retval): Likewise.
28959 (struct La_x86_64_regs): Likewise.
28960 (struct La_x86_64_retval): Likewise.
28961 (struct La_x32_regs): Likewise.
28962 (struct La_x32_retval): Likewise.
28963 (struct La_ppc32_regs): Likewise.
28964 (struct La_ppc32_retval): Likewise.
28965 (struct La_ppc64_regs): Likewise.
28966 (struct La_ppc64_retval): Likewise.
28967 (struct La_sh_regs): Likewise.
28968 (struct La_sh_retval): Likewise.
28969 (struct La_s390_32_regs): Likewise.
28970 (struct La_s390_32_retval): Likewise.
28971 (struct La_s390_64_regs): Likewise.
28972 (struct La_s390_64_retval): Likewise.
28973 (struct La_sparc32_regs): Likewise.
28974 (struct La_sparc32_retval): Likewise.
28975 (struct La_sparc64_regs): Likewise.
28976 (struct La_sparc64_retval): Likewise.
28977 (struct audit_ifaces): Remove architecture-specific pltenter and
28978 pltexit members.
28979 * sysdeps/i386/ldsodefs.h: New file.
28980 * sysdeps/powerpc/ldsodefs.h: Likewise.
28981 * sysdeps/s390/ldsodefs.h: Likewise.
28982 * sysdeps/sh/ldsodefs.h: Likewise.
28983 * sysdeps/sparc/ldsodefs.h: Likewise.
28984 * sysdeps/x86_64/ldsodefs.h: Likewise.
28985
354691b7
MP
289862012-07-25 Marek Polacek <polacek@redhat.com>
28987
28988 [BZ #6808]
28989 * math/libm-test.inc (yn_test): Add another test.
28990 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
28991 to ERANGE when the result is +-Inf.
28992 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28993 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28994 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
28995 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
28996
bf9e2071
JM
289972012-07-24 Joseph Myers <joseph@codesourcery.com>
28998
28999 * conform/data/time.h-data (NULL): Use macro-constant. Require
29000 equal to 0.
29001 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
29002 clock_t.
29003 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
29004
57633811
TS
290052012-07-23 Thomas Schwinge <thomas@codesourcery.com>
29006
29007 * configure.in <sysdeps resolving>: Correct printing
29008 Implies_before.
29009 * configure: Regenerate.
29010
c23c33b0
TS
290112012-07-22 Thomas Schwinge <thomas@codesourcery.com>
29012
29013 * math/w_ilogb.c: Include <limits.h>.
29014 * math/w_ilogbl.c: Likewise.
29015
b5982523
JM
290162012-07-20 Joseph Myers <joseph@codesourcery.com>
29017
29018 * manual/lang.texi (__va_copy): Document primarily as ISO C99
29019 va_copy. Document allowing for unavailable va_copy only as
29020 pre-C99 compatibility.
29021 * manual/string.texi (Copying and Concatenation): Use va_copy
29022 instead of __va_copy in concat example.
29023
ac4ea442
PT
290242012-07-20 Pino Toscano <toscano.pino@tiscali.it>
29025
29026 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29027 (__sendto): Use create_address_port. Initialize APORT and deallocate
29028 it if not null.
29029
f98eafbd
PT
29030 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29031 with O_NOLINK passed to __file_name_lookup.
29032
898c7aab
PT
29033 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29034 with O_NOLINK passed to __file_name_lookup.
29035
0ced335a
PT
29036 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29037 negative N or less than NGIDS.
29038
b3404dbd
PT
29039 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29040 type to string_t. Set ERANGE as errno and return it if NAME is not big
29041 enough. Use memcpy instead of strncpy.
29042
0f48659e
JM
290432012-07-20 Joseph Myers <joseph@codesourcery.com>
29044
29045 * elf/Makefile (check-data): Remove.
29046 (localplt.data): New vpath directive.
29047 ($(objpfx)check-localplt.out): Use localplt.data from vpath
29048 instead of $(check-data).
29049 * scripts/data/localplt-generic.data: Move to ...
29050 * sysdeps/generic/localplt.data: ... here.
29051 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29052 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29053 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29055 ... here.
29056 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29058 ... here.
29059 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29061 ... here.
29062 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29064 ... here.
29065 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29067 ... here.
29068 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29070 ... here.
29071
d37cbdaa
AZ
290722012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29073
29074 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29075 PPC32 and PPC64 files.
29076 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29077 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29078
46f85fc2
AK
290792012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29080
29081 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29082 __makecontext_ret to ...
29083 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29084 ... here and call exit if uc_link is NULL. New file.
29085 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29086 __makecontext_ret.S.
29087 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29088 __makecontext_ret to ...
29089 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29090 ... here and call exit if uc_link is NULL. New file.
29091 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29092 __makecontext_ret.S.
29093
08f43f9b
AK
290942012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29095
29096 * elf/elf.h (R_390_IRELATIVE): New definition.
29097 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29098 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
29099 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29100 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29101 (elf_machine_lazy_rel): Likewise.
29102 * sysdeps/s390/dl-irel.h: New file.
29103 * sysdeps/s390/s390-64/memcpy.S: New asm code.
29104 * sysdeps/s390/s390-64/memset.S: New asm code.
29105 * sysdeps/s390/s390-64/memcmp.S: New asm code.
29106 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29107 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29108 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29109 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29110 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29111 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29112 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29113 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29114 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29115 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29116 * sysdeps/s390/s390-32/memcpy.S: New asm code.
29117 * sysdeps/s390/s390-32/memset.S: New asm code.
29118 * sysdeps/s390/s390-32/memcmp.S: New asm code.
29119
3b05db33
MP
291202012-07-17 Marek Polacek <polacek@redhat.com>
29121
29122 [BZ #14349]
29123 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29124 * sysdeps/s390/s390-64/configure.in: Likewise.
29125 * sysdeps/sparc/configure.in: Likewise.
29126 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29127 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29128 * sysdeps/i386/configure.in: Likewise.
29129 * sysdeps/x86_64/configure.in: Likewise.
29130 * sysdeps/sh/configure.in: Likewise.
29131 * sysdeps/s390/s390-32/configure: Regenerated.
29132 * sysdeps/s390/s390-64/configure: Likewise.
29133 * sysdeps/x86_64/configure: Likewise.
29134 * sysdeps/sh/configure: Likewise.
29135 * sysdeps/powerpc/powerpc64/configure: Likewise.
29136 * sysdeps/powerpc/powerpc32/configure: Likewise.
29137 * sysdeps/sparc/configure: Likwise.
29138 * sysdeps/i386/configure: Likewise.
29139
a66877c6
MP
29140 * elf/dl-open.c: Comment fixes.
29141
cfc82fd8
JM
291422012-07-17 Joseph Myers <joseph@codesourcery.com>
29143
bd29910a
JM
29144 * Makefile [CXX] (check-data): Remove.
29145 [CXX] (c++-types.data): New vpath directive.
29146 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29147 vpath. Do not allow for C++ type data being missing.
29148 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29149 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29150 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29151 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29152 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29153 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29154 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29156 ... here.
29157 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29159 ... here.
29160 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29162 ... here.
29163 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29165 ... here.
29166 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29167 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29168 ... here.
29169 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29171 ... here.
29172 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29173 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29174 ... here.
29175 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29177
cfc82fd8
JM
29178 * elf/tls-macros.h (TLS_LE): Move architecture-specific
29179 definitions to architecture-specific files.
29180 (TLS_IE): Likewise.
29181 (TLS_LD): Likewise.
29182 (TLS_GD): Likewise.
29183 * sysdeps/i386/tls-macros.h: New file.
29184 * sysdeps/powerpc/tls-macros.h: Likewise.
29185 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29186 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29187 * sysdeps/sh/tls-macros.h: Likewise.
29188 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29189 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29190 * sysdeps/x86_64/tls-macros.h: Likewise.
29191
f7db3170
TS
291922012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29193
07cbfc23
TS
29194 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29195 zero value for regular exit case.
29196
f7db3170
TS
29197 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29198 (__start_context): Preserve zero value for regular exit case.
29199
dc97c227
TS
292002012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29201 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29202
29203 * manual/setjmp.texi (setcontext): Clarify normal process
29204 termination when uc_link is the null pointer.
29205 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29206 exit call.
29207
d0cd7d02
AS
292082012-07-16 Andreas Schwab <schwab@linux-m68k.org>
29209
29210 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29211 preprocessor. Test for each exception mask separately.
29212
dd318934
AJ
292132012-07-16 Andreas Jaeger <aj@suse.de>
29214
29215 * po/ru.po: Update from translation team.
29216
8048311a
JM
292172012-07-15 Joseph Myers <joseph@codesourcery.com>
29218
29219 * conform/data/string.h-data (NULL): Use macro-constant. Require
29220 equal to 0.
29221 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29222 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29223 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29224 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29225 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29226
b637d46e
AJ
292272012-07-13 Andreas Jaeger <aj@suse.de>
29228
29229 * po/fr.po: Update from translation team.
29230
541428fe
MP
292312012-07-12 Marek Polacek <polacek@redhat.com>
29232
29233 [BZ #14173]
29234 * math/libm-test.inc (yn_test): Add test for BZ #14173.
29235 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29236 loop condition.
29237
ec332e94
JM
292382012-07-12 Joseph Myers <joseph@codesourcery.com>
29239
29240 [BZ #13717]
29241 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29242 Change to 2.4.1 where previously 2.4.0.
29243 * sysdeps/unix/sysv/linux/configure: Regenerated.
29244 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29245 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29246 version.
29247 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29248 (__ASSUME_AT_CLKTCK): Remove.
29249 (__ASSUME_AT_PAGESIZE): Likewise.
29250 (__ASSUME_AT_XID): Likewise.
29251 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29252 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29253 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29254 unconditionally.
29255 (HAVE_AUX_PAGESIZE): Likewise.
29256 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29257 [__ASSUME_AT_CLKTCK]: Make code unconditional.
29258 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29259
7b6e99be
JB
292602012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
29261
29262 [BZ #14307]
29263 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29264 the temporary buffer used to invoke __gethostbyname2_r,
29265 __gethostbyaddr_r and gethostbyname4_r to make room for struct
29266 host_data / struct gaih_addrtuple.
29267 * resolv/nss_dns/dns-host.c (global scope): Move definition of
29268 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29269 header file nss/nsswitch.h.
29270 * nss/nsswitch.h (global scope): Add definition of implementation
29271 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29272 resolv/nss_dns/dns-host.c).
29273
608404eb
AJ
292742012-07-11 Andreas Jaeger <aj@suse.de>
29275
29276 * po/fr.po: Update from translation team.
29277
71220aca
AJ
29278 * po/sv.po: Update from translation team
29279 * po/fr.po: Another update from translation team.
29280
28cfe843
AZ
292812012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29282
29283 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29284 for subnormals or multiply small sinh result by itself.
29285 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29287
6b90f981
DM
292882012-07-11 David S. Miller <davem@davemloft.net>
29289
29290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29291
c6825772
AS
292922012-07-10 Andreas Schwab <schwab@linux-m68k.org>
29293
29294 [BZ #14347]
29295 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29296 (INTERNAL_MARK): Shift it here.
29297
7b8e0d49
MP
292982012-07-10 Marek Polacek <polacek@redhat.com>
29299
29300 [BZ #14151]
29301 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
29302 libc_cv_asm_global_directive with .globl.
29303 * configure: Regenerated.
29304 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29305 with .globl.
29306 * sysdeps/i386/configure: Regenerated.
29307 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29308 with .globl.
29309 * sysdeps/x86_64/configure: Regenerated.
29310 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29311 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29312 * elf/tst-unique2mod2.c: Likewise.
29313 * elf/tst-unique2mod1.c: Likewise.
29314 * elf/tst-unique1mod2.c: Likewise.
29315 * elf/tst-unique1mod1.c: Likewise.
29316 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29317 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29318 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29319 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29320 * sysdeps/mach/sysdep.h: Likewise.
29321 * sysdeps/i386/sysdep.h: Likewise.
29322 * sysdeps/i386/i386-mcount.S: Likewise.
29323 * sysdeps/x86_64/_mcount.S: Likewise.
29324 * sysdeps/x86_64/sysdep.h: Likewise.
29325 * sysdeps/sh/_mcount.S: Likewise.
29326 * sysdeps/sh/sysdep.h: Likewise.
29327 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29328 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29329 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29330 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29331 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29332 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29333 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29334 * locale/localeinfo.h: Likewise.
29335 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29336 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29337
6c55cda3
RM
293382012-07-09 Roland McGrath <roland@hack.frob.com>
29339
29340 [BZ #14336]
29341 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29342 system".
29343 * manual/message.texi (The Uniforum approach): Likewise.
29344 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29345 (glibc iconv Implementation): Likewise.
29346
638a572e
JM
293472012-07-09 Joseph Myers <joseph@codesourcery.com>
29348
29349 [BZ #14337]
29350 * math/s_clog.c (__clog): Avoid scaling a value down where that
29351 could result in underflow.
29352 * math/s_clog10.c (__clog10): Likewise.
29353 * math/s_clog10f.c (__clog10f): Likewise.
29354 * math/s_clog10l.c (__clog10l): Likewise.
29355 * math/s_clogf.c (__clogf): Likewise.
29356 * math/s_clogl.c (__clogl): Likewise.
29357 * math/libm-test.inc (clog_test): Add more tests.
29358 (clog10_test): Likewise.
29359 * sysdeps/i386/fpu/libm-test-ulps: Update.
29360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29361
261f4859
AS
293622012-07-06 Andreas Schwab <schwab@linux-m68k.org>
29363
0abaf3e4
AS
29364 [BZ #14283]
29365 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29366 by 7 not 8 to examine high bit of fractional part.
29367
261f4859
AS
29368 [BZ #14042]
29369 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29370 for call to __mcount_internal.
29371 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29372 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29373 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29374
f17ac40d
JM
293752012-07-06 Joseph Myers <joseph@codesourcery.com>
29376
9ad63c23
JM
29377 [BZ #14154]
29378 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29379 approximation for values within 0x1p-13f of an odd multiple of
29380 pi/4.
29381 * math/libm-test.inc (tan_test): Do not allow spurious underflow
29382 exception. Add more tests.
29383 * sysdeps/i386/fpu/libm-test-ulps: Update.
29384
f17ac40d
JM
29385 [BZ #6778]
29386 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29387 inputs and return -1 for them. Do not check for +Inf in case not
29388 reachable for +Inf.
29389 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29390 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29391 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29392 and return -1 for them. Do not check for +Inf in case not
29393 reachable for +Inf.
29394 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29395 define.
29396 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29397 and return -1 for them. Do not check for +Inf in case not
29398 reachable for +Inf.
29399 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
29400 spurious underflow.
29401 * sysdeps/i386/fpu/libm-test-ulps: Update.
29402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29403
fb21f89b
MF
294042012-07-06 Mike Frysinger <vapier@gentoo.org>
29405
29406 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29407
cdfe2c5e
JM
294082012-07-05 Joseph Myers <joseph@codesourcery.com>
29409
29410 [BZ #14157]
29411 [BZ #14331]
29412 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29413 could result in spurious underflow. Scale down values above
29414 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29415 * math/s_csqrtf.c (__csqrtf): Likewise.
29416 * math/s_csqrtl.c (__csqrtl): Likewise.
29417 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
29418 spurious underflow.
29419 * sysdeps/i386/fpu/libm-test-ulps: Update.
29420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29421
70d35b67
AS
294222012-07-04 Andreas Schwab <schwab@linux-m68k.org>
29423
704bc459
AS
29424 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29425 xopen-msg.sed.
29426 * catgets/xopen-msg.awk: New file.
29427 * catgets/xopen-msg.sed: Removed.
29428
70d35b67
AS
29429 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29430 po2text.sed.
29431 * intl/po2test.awk: New file.
29432 * intl/po2test.sed: Removed.
29433
ca61cf32
JM
294342012-07-04 Joseph Myers <joseph@codesourcery.com>
29435
29436 [BZ #14328]
29437 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29438 or multiply small sinh result by itself.
29439 * math/s_ctanf.c (__ctanf): Likewise.
29440 * math/s_ctanh.c (__ctanh): Likewise.
29441 * math/s_ctanhf.c (__ctanhf): Likewise.
29442 * math/s_ctanhl.c (__ctanhl): Likewise.
29443 * math/s_ctanl.c (__ctanl): Likewise.
29444 * math/libm-test.inc (ctan_test_tonearest): New function.
29445 (ctan_test_towardzero): Likewise.
29446 (ctan_test_downward): Likewise.
29447 (ctan_test_upward): Likewise.
29448 (ctanh_test_tonearest): Likewise.
29449 (ctanh_test_towardzero): Likewise.
29450 (ctanh_test_downward): Likewise.
29451 (ctanh_test_upward): Likewise.
29452 (main): Call these new functions.
29453 * sysdeps/i386/fpu/libm-test-ulps: Update.
29454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29455
ca48a46a
MF
294562012-07-03 Mike Frysinger <vapier@gentoo.org>
29457
29458 * .gitignore: Delete /ports entry.
29459
9d63d37d
AJ
294602012-07-03 Andreas Jaeger <aj@suse.de>
29461
29462 * po/bg.po: Update from translation team.
29463 * po/cs.po: Likewise.
29464 * po/de.po: Likewise.
29465 * po/hr.po: Likewise.
29466 * po/nl.pl: Likewise.
29467 * po/pl.po: Likewise.
29468 * po/vi.po: Likewise.
29469
370ca3d2
JM
294702012-07-03 Joseph Myers <joseph@codesourcery.com>
29471
95f5a9a8
JM
29472 * Makeconfig [!+link] (+link-before-libc): New variable.
29473 [!+link] (+link-after-libc): Likewise.
29474 [!+link] (+link-tests): Likewise.
29475 [!+link] (+link): Define in terms of $(+link-before-libc) and
29476 $(+link-after-libc).
29477 [!+link-static] (+link-static-before-libc): New variable.
29478 [!+link-static] (+link-static-after-libc): Likewise.
29479 [!+link-static] (+link-static-tests): Likewise.
29480 [!+link-static] (+link-static): Define in terms of
29481 $(+link-static-before-libc) and $(+link-static-after-libc).
29482 [build-shared] (link-libc-before-gnulib): New variable.
29483 [build-shared] (link-libc-tests): Likewise.
29484 [build-shared] (link-libc): Define in terms of
29485 $(link-libc-before-gnulib).
29486 [!build-shared] (link-libc-tests): New variable.
29487 (link-libc-static-tests): New variable.
29488 [!gnulib] (gnulib-arch): New variable.
29489 [!gnulib] (gnulib-tests): Likewise.
29490 [!gnulib] (static-gnulib-arch): Likewise.
29491 [!gnulib] (static-gnulib-tests): Likewise.
29492 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
29493 Define with "=" instead of ":=".
29494 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
29495 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
29496 * Rules (binaries-all-notests): New variable.
29497 (binaries-all-tests): Likewise.
29498 (binaries-static-notests): Likewise.
29499 (binaries-static-tests): Likewise.
29500 (binaries-all): Define using $(binaries-all-notests) and
29501 $(binaries-all-tests).
29502 (binaries-static): Define using $(binaries-static-notests) and
29503 $(binaries-static-tests).
29504 (binaries-shared-tests): New variable.
29505 (binaries-shared-notests): Likewise.
29506 (binaries-shared): Remove variable.
29507 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
29508 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
29509 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
29510 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
29511 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
29512 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
29513 * elf/Makefile (sln-modules): New variable.
29514 (extra-objs): Add $(sln-modules:=.o).
29515 (ldconfig-modules): Add static-stubs.
29516 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
29517 * elf/static-stubs.c: New file.
29518
7a845b2c
JM
29519 [BZ #14283]
29520 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
29521 by 7 not 8 to examine high bit of fractional part. Use volatile
29522 variables when splitting into final array of floats if
29523 __FLT_EVAL_METHOD__ != 0.
29524 * math/libm-test.inc (cos_test): Add another test.
29525 (sin_test): Likewise.
29526 * sysdeps/i386/fpu/libm-test-ulps: Update.
29527
e2283f38
JM
29528 [BZ #14273]
29529 * math/libm-test.inc (cosh_test): Add more tests.
29530
370ca3d2
JM
29531 * version.h (RELEASE): Set to "development".
29532 (VERSION): Set to "2.16.90".
29533
ee9247c3
CD
295342012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
29535
29536 * NEWS: Update copyright. Remove last-updated date.
29537 Mention math library bug fixes and timezone data changes.
29538 * README: Mention GNU/Hurd, x32, and HPPA support status.
29539
4648c381
TS
295402012-06-28 Thomas Schwinge <thomas@codesourcery.com>
29541
29542 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
29543
aac78a43
AJ
295442012-06-27 Andreas Jaeger <aj@suse.de>
29545
29546 * manual/contrib.texi (Contributors): Add Samuel Thibault.
29547
ed3dbfad
AJ
295482012-06-25 Andreas Jaeger <aj@suse.de>
29549
29550 * sysdeps/s390/fpu/libm-test-ulps: Update.
29551
4d0ee855
AS
295522012-06-23 Andreas Schwab <schwab@linux-m68k.org>
29553 Thomas Schwinge <thomas@codesourcery.com>
29554
29555 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
29556 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
29557 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
29558 fanotify_mark.
29559
af1bce34
TS
295602012-06-23 Thomas Schwinge <thomas@codesourcery.com>
29561
a9fa33ba
TS
29562 * sysdeps/mach/start.c: Remove file.
29563 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
29564 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
29565 * sysdeps/sh/init-first.c: Likewise.
29566
58f902b8
TS
29567 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
29568 registers for frame unwinding purposes, add CFI directives.
29569 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29570 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
29571 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
29572 Likewise.
29573
1518f58b
TS
29574 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
29575 __fortify_fail returning.
29576 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29577
db9b5059
TS
29578 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
29579 sysdeps/sh/____longjmp_chk.S.
29580 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
29581 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
29582 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
29583 (gen-as-const-headers): Append sigaltstack-offsets.sym.
29584
967705fe
TS
29585 * sysdeps/sh/abort-instr.h: New file.
29586 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
29587 process in case exit returns.
29588
a9def8c4
TS
29589 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
29590 initialize the GOT register before use.
29591
2a649725
TS
29592 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
29593 calculation of ARGC > 4.
29594
af1bce34
TS
29595 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
29596 meaningful names to some local labels.
29597
d230f50a
KK
295982012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29599 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29600
29601 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
29602 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
29603 (__arch_compare_and_exchange_val_16_acq): Likewise.
29604 (__arch_compare_and_exchange_val_32_acq): Likewise.
29605 (atomic_exchange_and_add): Fix gUSA sequence.
29606 (atomic_add): Likewise.
29607 (atomic_add_negative): Likewise.
29608 (atomic_add_zero): Likewise.
29609 (atomic_bit_test_set): Likewise.
29610
0479b305
AS
296112012-06-22 Andreas Schwab <schwab@redhat.com>
29612
29613 [BZ #13579]
29614 * include/link.h (struct link_map): Add l_free_initfini.
29615 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
29616 l_initfini.
29617 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
29618 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
29619 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
29620 set.
29621
0e3933b9
CD
296222012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
29623
29624 * configure.in: Use AC_LANG_SOURCE.
29625 * configure: Regenerate.
29626
4248b1b1
RM
296272012-06-22 Roland McGrath <roland@hack.frob.com>
29628
29629 * configure.in (libc_cv_localstatedir): New substituted variable.
29630 * configure: Regenerated.
29631 * config.make.in (localstatedir): New variable, substituted from
29632 libc_cv_localstatedir.
29633 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
29634 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
29635 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
29636 * sysdeps/gnu/configure: Regenerated.
29637
006dd861
JL
296382012-06-21 Jeff Law <law@redhat.com>
29639
29640 [BZ #14277]
29641 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
29642 free. Simplify list management for _LIBC case.
29643
79662d42
JM
296442012-06-21 Joseph Myers <joseph@codesourcery.com>
29645
b7abb4bf
JM
29646 [BZ #14273]
29647 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29648 Clear sign bit of 64-bit integer value before comparing against
29649 overflow value.
29650
79662d42
JM
29651 * sysdeps/mach/configure: Regenerated.
29652
1f150908
L
296532012-06-21 H.J. Lu <hongjiu.lu@intel.com>
29654
29655 [BZ #14278]
29656 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
29657
28363bbf
JL
296582012-06-21 Jeff Law <law@redhat.com>
29659
29660 [BZ #13882]
29661 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
29662 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 29663 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
29664 * elf/dl-open.c (dl_open_worker): Likewise.
29665
09615db4
CD
296662012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
29667
29668 * scripts/list-sources.sh: Scan PORTS for translations.
29669 * po/libc.pot: Regenerated.
29670
2174c6dd
AJ
296712012-06-21 Andreas Jaeger <aj@suse.de>
29672
29673 [BZ #12194]
29674 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
29675 warning.
29676 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
29677 * bits/byteswap-16.h (__bswap_16): Likewise.
29678 * bits/byteswap.h (__bswap_constant_16): Likewise.
29679
3ee947b1
L
296802012-06-18 H.J. Lu <hongjiu.lu@intel.com>
29681
29682 [BZ #14117]
a2f34833
L
29683 * sysdeps/i386/fpu_control.h: Removed.
29684 * sysdeps/x86_64/fpu_control.h: Moved to ...
29685 * sysdeps/x86/fpu_control.h: Here.
29686
3ee947b1
L
29687 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
29688 (_FPU_SETCW): Likewise.
29689
ed1825f8
L
296902012-06-15 H.J. Lu <hongjiu.lu@intel.com>
29691
25f1282a
L
29692 [BZ #14117]
29693 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
29694 * sysdeps/x86/fpu/bits/mathinline.h: This.
29695 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
29696
ed1825f8
L
29697 [BZ #14050]
29698 [BZ #14117]
29699 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
29700 functions if __x86_64__ is defined.
29701
36d54b74
CLT
297022012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
29703
29704 * string/endian.h: Add !__ASSEMBLER__ condition for including
29705 conversion interfaces.
29706
10285c21
JM
297072012-06-15 Joseph Myers <joseph@codesourcery.com>
29708
29709 [BZ #14241]
29710 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
29711 of ABS(x) in calculating zero to negative powers other than odd
29712 integers.
29713 * math/libm-test.inc (pow_test): Add more tests.
29714
06c5abbd
AJ
297152012-06-15 Andreas Jaeger <aj@suse.de>
29716
29717 * manual/contrib.texi (Contributors): Update entry of Liubov
29718 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
29719 Machado Filho.
29720
a3aeac40
CH
297212012-06-15 Cyril Hrubis <metan@ucw.cz>
29722
29723 * string/string.h: Add __wur to GNU version of strerror_r.
29724
49bdf4c1
L
297252012-06-14 H.J. Lu <hongjiu.lu@intel.com>
29726
29727 [BZ #14229]
29728 * string/Makefile (tests): Add tst-strtok_r.
29729 * string/tst-strtok_r.c: New file.
29730 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
29731 RAX_LP/RDX_LP on SAVE_PTR.
29732
834f9b8d
RM
297332012-06-14 Roland McGrath <roland@hack.frob.com>
29734
29735 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
29736
75fa1921
JM
297372012-06-14 Joseph Myers <joseph@codesourcery.com>
29738
29739 * libm_test.inc (csqrt_test): Allow more spurious underflow
29740 exceptions.
29741 (j0_test): Likewise.
29742 (j1_test): Likewise.
29743 (y0_test): Likewise.
29744 (y1_test): Likewise.
29745
771766df
CD
297462012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
29747
29748 * po/Makefile (libc.pot): Use UTF-8 charset.
29749
ceb9e56b
PP
297502012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
29751
29752 [BZ #14210]
29753 Suppress sign-conversion warning from FD_SET.
29754 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
29755 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
29756 not unsigned long int.
29757 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
29758
ddb28975
L
297592012-06-12 H.J. Lu <hongjiu.lu@intel.com>
29760
29761 [BZ #14050]
29762 [BZ #14117]
29763 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
29764 __extern_always_inline instead of __extern_inline.
29765 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
29766 (__signbit): Likewise.
29767 (__signbitl): Support C++ namespace.
29768 (lrintf): New inline function.
29769 (lrint): Likewise.
29770 (llrintf): Likewise.
29771 (llrint): Likewise.
29772 (fmaxf): Likewise.
29773 (fmax): Likewise.
29774 (fminf): Likewise.
29775 (fmin): Likewise.
29776 (rint): Likewise.
29777 (rintf): Likewise.
29778 (ceil): Likewise.
29779 (ceilf): Likewise.
29780 (floor): Likewise.
29781 (floorf): Likewise.
29782 (nearbyint): Likewise.
29783 (nearbyintf): Likewise.
29784
d7b4fb26
TS
297852012-06-12 Thomas Schwinge <thomas@codesourcery.com>
29786
29787 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
29788 non-default versions.
29789
eb55f5c2
RM
297902012-06-11 Roland McGrath <roland@hack.frob.com>
29791
29792 [BZ #14218]
29793 * manual/argp.texi (Argp): Reword argp_parse description slightly.
29794
366af02c
TS
297952012-06-09 Thomas Schwinge <thomas@codesourcery.com>
29796
99ff6e5c
TS
29797 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
29798 (FE_UPWARD, FE_DOWNWARD): Don't define.
29799 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
29800 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29801
366af02c
TS
29802 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
29803 reading it.
29804 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29805 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29806
793ea851
KK
298072012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29808
29809 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29810 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
29811 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
29812 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
29813
a728a38f
L
298142012-06-06 H.J. Lu <hongjiu.lu@intel.com>
29815
29816 [BZ #14117]
c08010c7
L
29817 * sysdeps/i386/fpu/bits/fenv.h: Removed.
29818 * sysdeps/i386/fpu/Implies: New file.
29819 * sysdeps/x86_64/fpu/Implies: Likewise.
29820 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
29821 * sysdeps/x86/fpu/bits/fenv.h: This.
29822
a728a38f
L
29823 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
29824 __SSE_MATH__.
29825
6e230d11
SP
298262012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29827
29828 [BZ #14134]
29829 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
29830 character 0xffff that matches the last element of the
29831 conversion table.
29832
1b671feb
AZ
298332012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29834
29835 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
29836 fmodl commit.
29837
6043738b
AZ
298382012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29839
29840 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
29841 values higher than 25.6283.
29842
34ae0b32
AZ
298432012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29844
29845 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
29846 subnormal exponent extraction and add some __builtin_expect.
29847 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
29848 Fix for subnormal mantissa calculation.
29849
1214ec8f
MF
298502012-06-04 Mike Frysinger <vapier@gentoo.org>
29851
29852 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
29853 cpu2 is -1 and errno is not ENOSYS.
29854
f3d1f93c
L
298552012-06-04 H.J. Lu <hongjiu.lu@intel.com>
29856
29857 [BZ #14117]
0e4a3cd7
L
29858 * sysdeps/i386/i486/bits/string.h: Renamed to ...
29859 * sysdeps/x86/bits/string.h: This.
29860 * sysdeps/x86_64/bits/string.h: Removed.
29861
6704c645
L
29862 * sysdeps/i386/i486/bits/string.h: Define inline functions only
29863 if not compiling for x86-64, but compiling for >= i486.
29864
48495318
L
29865 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
29866 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
29867
14adcbfc
L
29868 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
29869 New macro from Linux kernel 3.4.0.
29870 (FP_XSTATE_MAGIC2): Likewise.
29871 (FP_XSTATE_MAGIC2_SIZE): Likewise.
29872 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
29873 (struct _fpx_sw_bytes): New struct.
29874 (struct _xsave_hdr): Likewise.
29875 (struct _ymmh_state): Likewise.
29876 (struct _xstate): Likewise.
29877
68e408ab
L
29878 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
29879 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
29880 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
29881 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
29882 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
29883 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
29884
f3d1f93c
L
29885 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
29886 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
29887 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
29888 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
29889 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
29890 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
29891
d9dc34cd
TMQMF
298922012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29893
29894 [BZ #13743]
29895 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
29896 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
29897 (sysdep_headers): Include sys/platform/ppc.h.
29898 * sysdeps/powerpc/test-gettimebase.c: Test for
29899 __ppc_get_timebase() to catch future ISA opcode/insn changes.
29900 * manual/Makefile (appendices): Include platform.texi.
29901 * manual/contrib.texi (Contributors): Update @node pointers.
29902 * manual/maint.texi (Maintenance): Likewise.
29903 (Platform): New node.
29904 * manual/platform.texi: New file. Document the new features.
29905
4af3879c
SP
299062012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29907 Jakub Jelinek <jakub@redhat.com>
29908
29909 [BZ #14188]
29910 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
29911 where __builtin_expect is unavailable.
29912
2fd6ff13
DM
299132012-06-03 David S. Miller <davem@davemloft.net>
29914
29915 * stdlib/longlong.h: Updated from GCC.
29916
173f7220
AS
299172012-06-02 Andreas Schwab <schwab@linux-m68k.org>
29918
29919 [BZ #14042]
29920 * sysdeps/powerpc/powerpc32/mcount.c: New file.
29921 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
29922 __mcount_internal.
29923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29924 (GLIBC_2.16): Likewise.
29925
f34a1c6f
L
299262012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29927
29928 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
29929
88a4576f
JM
299302012-06-01 Joseph Myers <joseph@codesourcery.com>
29931
ea32bcdd
JM
29932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
29933 (default-abi): New variable.
29934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
29935 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
29936 variable.
29937 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
29938 Likewise.
29939 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
29940 Likewise.
29941 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
29942 Likewise.
29943
88a4576f
JM
29944 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
29945 definition. Document in comment.
29946
402fe938
DM
299472012-06-01 David S. Miller <davem@davemloft.net>
29948
29949 * stdlib/longlong.h: Updated from GCC.
29950
3553723f
L
299512012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29952
29953 [BZ #14117]
3bd872c4
L
29954 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
29955 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
29956 sys/debugreg.h sys/io.h here.
29957 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
29958 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
29959 sys/io.h.
29960 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
29961 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
29962 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
29963 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
29964 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
29965 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
29966
3553723f
L
29967 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
29968 Define only if __x86_64__ is defined.
29969
4842e4fe
JM
299702012-06-01 Joseph Myers <joseph@codesourcery.com>
29971
c5bfe3d5
JM
29972 [BZ #14048]
29973 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
29974 Use int64_t for variable i.
29975 * math/libm-test.inc (fmod_test): Add more tests.
29976
4842e4fe
JM
29977 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
29978 z computation is not scheduled after fetestexcept.
29979 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
29980 Use math_force_eval instead of asm to ensure calculation scheduled
29981 before exception test.
29982 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
29983 Ensure a1 + u.d computation is not scheduled after fetestexcept.
29984
efb73488
AJ
299852012-06-01 Aurelien Jarno <aurelien@aurel32.net>
29986
29987 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
29988 computation is not scheduled after fetestexcept.
29989
29bcce7c
L
299902012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29991
29992 [BZ #14117]
29993 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
29994 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
29995
73a68f94
AZ
299962012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29997
29998 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
29999 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30000
67b6df78
L
300012012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30002
edf2933a 30003 [BZ #14117]
ebc64a18
L
30004 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30005 <bits/wordsize.h>.
30006 (__WCHAR_MIN): Support __WORDSIZE == 64.
30007 (__WCHAR_MAX): Likewise.
30008
edf2933a
L
30009 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30010 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30011
57c6cf40
L
30012 [BZ #14183]
30013 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30014 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30015
67b6df78 30016 [BZ #14117]
8eb6281e
L
30017 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30018 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30019
aac639f4
L
30020 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30021 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30022
67b6df78
L
30023 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30024 Defined to 1 if __x86_64__ isn't defined.
30025 (_STAT_VER_LINUX_OLD): New.
30026 (st_atime): Remove duplicate.
30027 (st_mtime): Likewise.
30028 (st_ctime): Likewise.
30029
1c2cfe81
DM
300302012-05-31 David S. Miller <davem@davemloft.net>
30031
30032 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30033 entries.
30034
5be8418c
AS
300352012-06-01 Andreas Schwab <schwab@linux-m68k.org>
30036
e7725326
AS
30037 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30038 gen-libm-test.pl.
30039
5be8418c
AS
30040 [BZ #14132]
30041 * elf/dl-reloc.c: Include <_itoa.h>.
30042 (_dl_reloc_bad_type): Remove use of INTUSE.
30043 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30044 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30045 * stdio-common/psiginfo.c (psiginfo): Likewise.
30046 * stdio-common/psignal.c (psignal): Likewise.
30047 * string/strsignal.c (strsignal): Likewise.
30048 * include/signal.h (_sys_siglist): Declare hidden proto.
30049 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
30050 INTVARDEF with libc_hidden_data_def.
30051 * stdio-common/itoa-udigits.c: Likewise.
30052 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30053 (_itoa_lower_digits_internal): Remove declaration.
30054 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30055 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30056 (_sys_sigabbrev_internal): Remove aliases.
30057 (_sys_siglist): Define hidden alias.
30058
507352f1
MT
300592012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
30060
30061 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30062 bits/sysctl.h.
30063
42bbb1c3
L
300642012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30065
30066 [BZ #14117]
6bd784b6
L
30067 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30068 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30069
8bca20f0
L
30070 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30071 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30072 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30073 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30074 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30075 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30076
f9e890a9
L
30077 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30078 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30079 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30080
471101a1
L
30081 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30082 with __addr.
30083 (insw): Likewise.
30084 (insl): Likewise.
30085 (outsb): Likewise.
30086 (outsw): Likewise.
30087 (outsl): Likewise.
30088
6451c862
L
30089 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30090 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30091 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30092
a254b8c9
L
30093 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30094 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30095 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30096 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30097 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30098 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30099
b8dfdd92
L
30100 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30101 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30102
578cd270
L
30103 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30104 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30105
de662f5f
L
30106 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30107 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30108 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30109
25653439
L
30110 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30111 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30112 to ...
30113 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30114
6bad24a0
L
30115 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30116 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30117 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30118
42bbb1c3
L
30119 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30120 for x86-64.
30121 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30122
2d10d547
JM
301232012-05-31 Joseph Myers <joseph@codesourcery.com>
30124
30125 * math/math.h (M_El): Use two more decimal places.
30126 (M_LOG2El): Likewise.
30127 (M_LOG10El): Likewise.
30128 (M_LN2l): Likewise.
30129 (M_LN10l): Likewise.
30130 (M_PIl): Likewise.
30131 (M_PI_2l): Likewise.
30132 (M_PI_4l): Likewise.
30133 (M_1_PIl): Likewise.
30134 (M_2_PIl): Likewise.
30135 (M_2_SQRTPIl): Likewise.
30136 (M_SQRT2l): Likewise.
30137 (M_SQRT1_2l): Likewise.
30138
f230c29b
DM
301392012-05-31 David S. Miller <davem@davemloft.net>
30140
30141 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30142 values between float registers.
30143 * sysdeps/sparc/sparc64/memset.S: Likewise.
30144 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30145
fed806c3
MF
301462012-05-31 Mike Frysinger <vapier@gentoo.org>
30147
30148 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30149 -D_FORTIFY_SOURCE=1.
30150 (CPPFLAGS-tst-longjmp_chk.c): Define.
30151 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30152 (CPPFLAGS-tst-longjmp_chk2.c): Define.
30153 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30154 CFLAGS-tst-wchar-h.c.
30155
30917259
MP
301562012-05-31 Marek Polacek <polacek@redhat.com>
30157
30158 [BZ #14132]
30159 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30160 __endmntent_internal): Remove declaration.
30161 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30162 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30163 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30164
1c58d5dc
DM
301652012-05-30 David S. Miller <davem@davemloft.net>
30166
30167 * sysdeps/sparc/sparc32/soft-fp/q_util.c
30168 (___Q_simulate_exceptions): Use real FP ops rather than writing
30169 into the %fsr.
30170 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30171 Likewise.
30172
7dc00e0d
L
301732012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30174
30175 [BZ #14117]
0bd53985
L
30176 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30177 * sysdeps/x86/bits/xtitypes.h: This.
30178
3a257e66
L
30179 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30180 * sysdeps/x86/bits/wordsize.h: This.
30181
62f62904
L
30182 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30183 * sysdeps/x86/bits/huge_vall.h: This.
30184
404fe9d9
L
30185 * sysdeps/i386/bits/select.h: Removed.
30186 * sysdeps/x86_64/bits/select.h: Renamed to ...
30187 * sysdeps/x86/bits/select.h: This.
30188
d48d0446
L
30189 * sysdeps/i386/bits/setjmp.h: Removed.
30190 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30191 * sysdeps/x86/bits/setjmp.h: This.
30192
7dc00e0d
L
30193 * sysdeps/i386/bits/mathdef.h: Removed.
30194 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30195 * sysdeps/x86/bits/mathdef.h: This.
30196
03277f8f
AS
301972012-05-30 Andreas Schwab <schwab@linux-m68k.org>
30198
30199 [BZ #14132]
30200 * include/sys/socket.h (__connect_internal)
30201 (__libc_sa_len_internal): Remove declaration.
30202 (__connect, __libc_sa_len): Declare hidden_proto.
30203 (SA_LEN): Remove use of INTUSE.
30204 * socket/connect.c: Add libc_hidden_def.
30205 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30206 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30207 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30208 alias.
30209 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30210 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30211 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30212 of adding _internal alias.
30213
13764867
L
302142012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30215
30216 [BZ #14117]
6bd97696
L
30217 * sysdeps/i386/bits/link.h: Removed.
30218 * sysdeps/i386/bits/linkmap.h: Likewise.
30219 * sysdeps/x86_64/bits/link.h: Renamed to ...
30220 * sysdeps/x86/bits/link.h: This.
30221 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30222 * sysdeps/x86/bits/linkmap.h: This.
30223
f726f0bb
L
30224 * sysdeps/i386/bits/endian.h: Removed.
30225 * sysdeps/x86_64/bits/endian.h: Renamed to ...
30226 * sysdeps/x86/bits/endian.h: This.
30227
13764867
L
30228 * sysdeps/i386/bits/byteswap.h: Removed.
30229 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30230 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30231 * sysdeps/x86/bits/byteswap.h: This.
30232 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30233 * sysdeps/x86/bits/byteswap-16.h: This.
30234 * sysdeps/i386/Implies: Add x86.
30235 * sysdeps/x86_64/Implies: Likewise.
30236
ae251b0b
DM
302372012-05-30 David S. Miller <davem@davemloft.net>
30238
30239 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30240 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30241 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30242 (FP_TRAPPING_EXCEPTIONS): Define.
30243 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30244 (FP_TRAPPING_EXCEPTIONS): Define.
30245 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30246 subnormals only when inexact has been signalled or underflow
30247 exceptions are enabled.
30248 (_FP_PACK_CANONICAL): Likewise.
30249
d5c90867
L
302502012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30251
30252 [BZ #14183]
30253 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30254 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30255
63f1549e
RH
302562012-05-30 Richard Henderson <rth@twiddle.net>
30257
8d8f2279
RH
30258 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30259 with #ifndef NOT_IN_libc.
30260
63f1549e
RH
30261 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
30262 marked to avoid plt entry.
30263
0ab0291b
L
302642012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30265
30266 [BZ #14112]
30267 * Makeconfig (default-abi): New macro.
30268 (abi-includes): Likewise.
30269 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
30270 $(abi-$(default-abi)-lib-soname) for soname if defined.
30271 ($(common-objpfx)gnu/lib-names.stmp): Generate from
30272 abi-variants.
30273 * Makefile (installed-stubs): Likewise.
30274 * include/stubs-biarch.h: Removed.
30275 * scripts/lib-names.awk: Only handle one library at a time.
30276 * scripts/soversions.awk: Remove WORDSIZE support.
30277 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30278 entries.
30279 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30280 Removed.
30281 (syscall-list-default-condition): Likewise.
30282 (syscall-list-default-condition): Likewise.
30283 (syscall-list-includes): Likewise.
30284 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30285 syscall-list-* with abi-*. Handle undefined abi-variants.
30286 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30287 * sysdeps/unix/sysv/linux/i386/Implies: New file.
30288 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30289 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30290 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30291 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30292 Removed.
30293 (syscall-list-32-options): Likewise.
30294 (syscall-list-32-condition): Likewise.
30295 (syscall-list-64-options): Likewise.
30296 (syscall-list-64-condition): Likewise.
30297 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30298 macro.
30299 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30300 Renamed to ...
30301 (abi-*): This.
30302 (abi-64-ld-soname): New macro.
30303 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30304 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30305 Renamed to ...
30306 (abi-*): This.
30307 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30308 * sysdeps/x86_64/x32/shlib-versions: Likewise.
30309
4da0431d
JM
303102012-05-30 Joseph Myers <joseph@codesourcery.com>
30311
3a85279c
JM
30312 * sysdeps/unix/sysv/linux/kernel-features.h
30313 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30314 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30315 include <kernel-features.h>.
30316 [!__NR_ftruncate64]: Remove conditional code.
30317 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30318 [__NR_ftruncate64]: Make code unconditional.
30319 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30320 * sysdeps/unix/sysv/linux/truncate64.c: Do not
30321 include <kernel-features.h>.
30322 [!__NR_ftruncate64]: Remove conditional code.
30323 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30324 [__NR_ftruncate64]: Make code unconditional.
30325 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30327 include <kernel-features.h>.
30328 [!__NR_ftruncate64]: Remove conditional code.
30329 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30330 [__NR_ftruncate64]: Make code unconditional.
30331 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30333 include <kernel-features.h>.
30334 [!__NR_ftruncate64]: Remove conditional code.
30335 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30336 [__NR_ftruncate64]: Make code unconditional.
30337 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30338
4da0431d
JM
30339 * configure.in (libc_cv_fpie): Weaken to a compile test using
30340 LIBC_TRY_CC_OPTION.
30341 * configure: Regenerated.
30342
11ef492c
AK
303432012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30344
30345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30349 Refreshed.
30350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30356 Refreshed.
30357
d66ef399
DM
303582012-05-27 David S. Miller <davem@davemloft.net>
30359
30360 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30361 (___Q_zero): New.
30362 (__Q_simulate_exceptions): Return void. Change to simulate
30363 exceptions by writing into the %fsr.
30364 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30365 (__Qp_handle_exceptions): Likewise.
30366 (numbers): Delete.
30367 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30368 __Qp_handle_exceptions.
30369 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30370 __Qp_handle_exceptions.
30371 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30372 as unused and give dummy FP_RND_NEAREST initializer.
30373 (FP_INHIBIT_RESULTS): Define.
30374 (___Q_simulate_exceptions): Update declaration.
30375 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30376 formatting.
30377 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30378 as unused and give dummy FP_RND_NEAREST initializer.
30379 (__Qp_handle_exceptions): Update declaration.
30380 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30381 formatting.
30382
04fb54b5
TS
303832012-05-27 Thomas Schwinge <thomas@codesourcery.com>
30384
30385 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30386 the temporary FPU control word.
30387 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30388 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30389 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30390 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30391 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30392 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30393 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30394 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30395 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30396 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30397 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30398
3f99608f
KK
303992012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30400
30401 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30402 fields.
30403
65a4de4e
CLT
304042012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
30405
30406 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30407 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30408 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30409 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30410 Likewise.
30411 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30412 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30413 Likewise.
30414
15749d40
UD
304152012-05-27 Ulrich Drepper <drepper@gmail.com>
30416
30417 * po/h.po: Update from translation team.
30418
25dbcb27
AS
304192012-05-26 Andreas Schwab <schwab@linux-m68k.org>
30420
3d3f8e55
AS
30421 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30422
25dbcb27
AS
30423 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30424 handling of denormals.
30425 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30426 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30427 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30428 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30429 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30430 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30431 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30432 Likewise.
30433
7ad47a80 304342012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
30435
30436 [BZ #14152]
30437 * math/libm-test.inc (fma_test): Don't always expect underflow
30438 exception.
30439
9c6ea9fa
SP
304402012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30441
30442 [BZ #12416]
30443 * elf/tst-execstack.c: Include stackinfo.h.
30444 (do_test): Adjust test case to ensure that pthread_getattr_np
30445 behaviour remains the same after marking stack executable.
30446
a8239222
JM
304472012-05-25 Joseph Myers <joseph@codesourcery.com>
30448
30449 * sysdeps/unix/sysv/linux/kernel-features.h
30450 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30451 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30452 kernel-features.h.
30453 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30454 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30455 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30456 kernel-features.h.
30457 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30458 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30459
918b5606
L
304602012-05-25 H.J. Lu <hongjiu.lu@intel.com>
30461
30462 * configure.in: Define the default includes to being none.
30463 * configure: Regenerated.
30464
3a097cc7
RM
304652012-05-25 Roland McGrath <roland@hack.frob.com>
30466
8422c9a5
RM
30467 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30468 * sysdeps/x86_64/setjmp.S: Likewise.
30469 * sysdeps/i386/bsd-setjmp.S: Likewise.
30470 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30471 * sysdeps/i386/setjmp.S: Likewise.
30472 * sysdeps/i386/__longjmp.S: Likewise.
30473 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30474 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30475
3a097cc7
RM
30476 * include/stap-probe.h: New file.
30477 * configure.in: Handle --enable-systemtap.
30478 * configure: Regenerated.
30479 * config.h.in (USE_STAP_PROBE): New #undef.
30480 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30481 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30482 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30483
21708942
JM
304842012-05-25 Joseph Myers <joseph@codesourcery.com>
30485
30486 [BZ #13717]
30487 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30488 to 2.4.0 where earlier.
30489 * sysdeps/unix/sysv/linux/configure: Regenerated.
30490 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30491 <kernel-features.h>.
30492 [__ASSUME_32BITUIDS]: Make code unconditional.
30493 [!__ASSUME_32BITUIDS]: Remove conditional code.
30494 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
30495 <kernel-features.h>.
30496 [__ASSUME_32BITUIDS]: Make code unconditional.
30497 [!__ASSUME_32BITUIDS]: Remove conditional code.
30498 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
30499 [__ASSUME_32BITUIDS]: Make code unconditional.
30500 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
30501 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
30502 <kernel-features.h>.
30503 [__ASSUME_32BITUIDS]: Make code unconditional.
30504 [!__ASSUME_32BITUIDS]: Remove conditional code.
30505 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
30506 <kernel-features.h>.
30507 [__ASSUME_32BITUIDS]: Make code unconditional.
30508 [!__ASSUME_32BITUIDS]: Remove conditional code.
30509 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
30510 <kernel-features.h>.
30511 [__ASSUME_32BITUIDS]: Make code unconditional.
30512 [!__ASSUME_32BITUIDS]: Remove conditional code.
30513 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
30514 <kernel-features.h>.
30515 [__ASSUME_32BITUIDS]: Make code unconditional.
30516 [!__ASSUME_32BITUIDS]: Remove conditional code.
30517 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30518 <kernel-features.h>.
30519 [__ASSUME_32BITUIDS]: Make code unconditional.
30520 [!__ASSUME_32BITUIDS]: Remove conditional code.
30521 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30522 <kernel-features.h>.
30523 [__ASSUME_32BITUIDS]: Make code unconditional.
30524 [!__ASSUME_32BITUIDS]: Remove conditional code.
30525 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
30526 <kernel-features.h>.
30527 [__ASSUME_32BITUIDS]: Make code unconditional.
30528 [!__ASSUME_32BITUIDS]: Remove conditional code.
30529 * sysdeps/unix/sysv/linux/i386/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
30542 <kernel-features.h>.
30543 [__NR_setresgid] (__setresgid): Do not declare.
30544 [__ASSUME_32BITUIDS]: Make code unconditional.
30545 [!__ASSUME_32BITUIDS]: Remove conditional code.
30546 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
30547 <kernel-features.h>.
30548 [__NR_setresuid] (__setresuid): Do not declare.
30549 [__ASSUME_32BITUIDS]: Make code unconditional.
30550 [!__ASSUME_32BITUIDS]: Remove conditional code.
30551 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
30552 <kernel-features.h>.
30553 [__ASSUME_32BITUIDS]: Make code unconditional.
30554 [!__ASSUME_32BITUIDS]: Remove conditional code.
30555 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
30556 <kernel-features.h>.
30557 [__ASSUME_32BITUIDS]: Make code unconditional.
30558 [!__ASSUME_32BITUIDS]: Remove conditional code.
30559 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
30560 <kernel-features.h>.
30561 [__ASSUME_32BITUIDS]: Make code unconditional.
30562 [!__ASSUME_32BITUIDS]: Remove conditional code.
30563 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
30564 <kernel-features.h>.
30565 [__ASSUME_32BITUIDS]: Make code unconditional.
30566 [!__ASSUME_32BITUIDS]: Remove conditional code.
30567 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
30568 <kernel-features.h>.
30569 [__ASSUME_32BITUIDS]: Make code unconditional.
30570 [!__ASSUME_32BITUIDS]: Remove conditional code.
30571 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
30572 <kernel-features.h>.
30573 [__ASSUME_32BITUIDS]: Make code unconditional.
30574 [!__ASSUME_32BITUIDS]: Remove conditional code.
30575 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
30576 <kernel-features.h>.
30577 [__ASSUME_32BITUIDS]: Make code unconditional.
30578 [!__ASSUME_32BITUIDS]: Remove conditional code.
30579 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
30580 <kernel-features.h>.
30581 [__ASSUME_32BITUIDS]: Make code unconditional.
30582 [!__ASSUME_32BITUIDS]: Remove conditional code.
30583 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
30584 <kernel-features.h>.
30585 [__ASSUME_32BITUIDS]: Make code unconditional.
30586 [!__ASSUME_32BITUIDS]: Remove conditional code.
30587 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30588 <kernel-features.h>.
30589 [__ASSUME_32BITUIDS]: Make code unconditional.
30590 [!__ASSUME_32BITUIDS]: Remove conditional code.
30591 * sysdeps/unix/sysv/linux/kernel-features.h
30592 (__ASSUME_SETRESUID_SYSCALL): Remove.
30593 (__ASSUME_SETRESGID_SYSCALL): Likewise.
30594 (__ASSUME_32BITUIDS): Likewise.
30595 (__ASSUME_LDT_WORKS): Likewise.
30596 (__ASSUME_O_DIRECTORY): Likewise.
30597 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
30598 architecture but not kernel version.
30599 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30600 (__ASSUME_MMAP2_SYSCALL): Likewise.
30601 (__ASSUME_STAT64_SYSCALL): Likewise.
30602 (__ASSUME_IPC64): Likewise.
30603 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
30604 <kernel-features.h>.
30605 [__ASSUME_32BITUIDS]: Make code unconditional.
30606 [!__ASSUME_32BITUIDS]: Remove conditional code.
30607 * sysdeps/unix/sysv/linux/opendir.c: Do not include
30608 <kernel-features.h>.
30609 [__ASSUME_O_DIRECTORY]: Make code unconditional.
30610 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
30611 132096]: Remove conditional code.
30612 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
30613 * sysdeps/unix/sysv/linux/s390/s390-32/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/s390/s390-32/lchown.c: Do not include
30618 <kernel-features.h>.
30619 [__ASSUME_32BITUIDS]: Make code unconditional.
30620 [!__ASSUME_32BITUIDS]: Remove conditional code.
30621 * sysdeps/unix/sysv/linux/setegid.c: Do not include
30622 <kernel-features.h>.
30623 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
30624 unconditional.
30625 (__setresgid): Do not declare.
30626 [__ASSUME_32BITUIDS]: Make code unconditional.
30627 [!__ASSUME_32BITUIDS]: Remove conditional code.
30628 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
30629 <kernel-features.h>.
30630 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
30631 unconditional.
30632 (__setresuid): Do not declare.
30633 [__ASSUME_32BITUIDS]: Make code unconditional.
30634 [!__ASSUME_32BITUIDS]: Remove conditional code.
30635 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30636 <kernel-features.h>.
30637 [__ASSUME_32BITUIDS]: Make code unconditional.
30638 [!__ASSUME_32BITUIDS]: Remove conditional code.
30639 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
30640 <kernel-features.h>.
30641 [__ASSUME_32BITUIDS]: Make code unconditional.
30642 [!__ASSUME_32BITUIDS]: Remove conditional code.
30643
a386f1cc
RH
306442012-05-25 Richard Henderson <rth@twiddle.net>
30645
30646 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
30647 dl_hwcap to ifunc resolver.
30648 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
30649 elf_ifunc_invoke.
30650 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
30651 dl_hwcap to ifunc resolver.
30652 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
30653
b6550497
JM
306542012-05-24 Joseph Myers <joseph@codesourcery.com>
30655
30656 [BZ #14153]
30657 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
30658 for |x| <= 2**-26, not 2**-57.
30659 * math/libm-test.inc (acos_test): Do not allow spurious underflow
30660 exception.
30661
b0bc23a1
JL
306622012-05-24 Jeff Law <law@redhat.com>
30663
30664 * stdio-common/Makefile (tests): Add bug25.
30665 * stdio-common/bug25.c: New test.
30666
347c92e9
L
306672012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30668
30669 [BZ #13576]
30670 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
30671 multiple of MALLOC_ALIGNMENT in size.
30672 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
30673
6bcc8b3f
JM
306742012-05-24 Joseph Myers <joseph@codesourcery.com>
30675
30676 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
30677 Require >= 256.
30678 (FILENAME_MAX): Use macro-int-constant.
30679 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
30680 (_IOFBF): Use macro-int-constant.
30681 (_IOLBF): Likewise.
30682 (_IONBF): Likewise.
30683 (SEEK_CUR): Likewise.
30684 (SEEK_END): Likewise.
30685 (SEEK_SET): Likewise.
30686 (TMP_MAX): Likewise.
30687 (EOF): Use macro-int-constant. Require < 0.
30688 (NULL): Use macro-constant. Require == 0.
30689 (stdin): Require type to be FILE *.
30690 (stdout): Likewise.
30691 (stderr): Likewise.
30692 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
30693 macro-int-constant.
30694 (EXIT_SUCCESS): Likewise.
30695 (NULL): Use macro-constant. Require == 0.
30696 (RAND_MAX): Use macro-int-constant.
30697 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
30698 [C99-based standards] (strtof): Require function.
30699 [C99-based standards] (strtold): Likewise.
30700 [C99-based standards] (strtoll): Likewise.
30701 [C99-based standards] (strtoull): Likewise.
30702 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30703 [ISO || ISO99 || ISO11] (limits.h): Likewise.
30704 [ISO || ISO99 || ISO11] (math.h): Likewise.
30705 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
30706 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30707 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30708
d18ea0c5
AS
307092012-05-24 Andreas Schwab <schwab@linux-m68k.org>
30710
30711 [BZ #14132]
56d25bb8
AS
30712 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
30713 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
30714 * intl/dgettext.c (DCGETTEXT): Likewise.
30715 * intl/gettext.c (DCGETTEXT): Likewise.
30716 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
30717 * posix/regex_internal.h (gettext): Likewise.
30718 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
30719 Remove declaration.
30720 * include/argz.h (__argz_count_internal)
30721 (__argz_stringify_internal): Remove declaration.
30722 (__argz_count, __argz_stringify): Declare hidden proto.
30723 * intl/dcgettext.c: Remove use of INTDEF.
30724 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
30725 * string/argz-stringify.c: Likewise.
30726 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30727 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30728 Declare hidden proto.
d18ea0c5
AS
30729 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30730 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30731 Declare hidden proto.
30732 * include/stdio.h (__asprintf_internal): Don't declare.
30733 (__asprintf): Don't define as macro. Declare hidden proto.
30734 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
30735 (__fsetlocking): Declare hidden proto.
30736 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
30737 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
30738 hidden proto.
30739 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
30740 (_IO_setlinebuf): Remove use of INTUSE.
30741 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
30742 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
30743 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
30744 Remove declaration.
30745 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
30746 (_IO_do_flush): Remove use of INTUSE.
30747 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
30748 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
30749 (_IO_adjust_column, _IO_least_wmarker)
30750 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
30751 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
30752 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
30753 (_IO_default_doallocate, _IO_wdefault_doallocate)
30754 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
30755 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
30756 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
30757 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
30758 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
30759 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
30760 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
30761 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
30762 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
30763 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
30764 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
30765 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
30766 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
30767 proto.
30768 (_IO_flush_all_internal, _IO_adjust_column_internal)
30769 (_IO_default_uflow_internal, _IO_default_finish_internal)
30770 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
30771 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
30772 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
30773 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
30774 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
30775 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
30776 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
30777 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
30778 (_IO_file_close_internal, _IO_file_close_it_internal)
30779 (_IO_file_underflow_internal, _IO_file_overflow_internal)
30780 (_IO_file_init_internal, _IO_file_attach_internal)
30781 (_IO_file_fopen_internal, _IO_file_read_internal)
30782 (_IO_file_sync_internal, _IO_file_seek_internal)
30783 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
30784 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
30785 (_IO_str_underflow_internal, _IO_str_overflow_internal)
30786 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
30787 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
30788 (_IO_list_all_internal, _IO_link_in_internal)
30789 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
30790 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
30791 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
30792 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
30793 (_IO_do_write_internal, _IO_padn_internal)
30794 (_IO_getline_info_internal, _IO_getline_internal)
30795 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
30796 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
30797 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
30798 (_IO_vfscanf_internal, _IO_vfprintf_internal)
30799 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
30800 (_IO_init_internal, _IO_un_link_internal): Don't declare.
30801 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
30802 with libc_hidden_ver, remove use of INTUSE.
30803 * libio/genops.c: Likewise.
30804 * libio/freopen.c: Likewise.
30805 * libio/freopen64.c: Likewise.
30806 * libio/iofclose.c: Likewise.
30807 * libio/iofdopen.c: Likewise.
30808 * libio/iofflush.c: Likewise.
30809 * libio/iofflush_u.c: Likewise.
30810 * libio/iofgets.c: Likewise.
30811 * libio/iofgets_u.c: Likewise.
30812 * libio/iofopen.c: Likewise.
30813 * libio/iofopncook.c: Likewise.
30814 * libio/iofread.c: Likewise.
30815 * libio/iofread_u.c: Likewise.
30816 * libio/ioftell.c: Likewise.
30817 * libio/iofwrite.c: Likewise.
30818 * libio/iogetline.c: Likewise.
30819 * libio/iogets.c: Likewise.
30820 * libio/iogetwline.c: Likewise.
30821 * libio/iopadn.c: Likewise.
30822 * libio/iopopen.c: Likewise.
30823 * libio/ioseekoff.c: Likewise.
30824 * libio/ioseekpos.c: Likewise.
30825 * libio/iosetbuffer.c: Likewise.
30826 * libio/iosetvbuf.c: Likewise.
30827 * libio/ioungetc.c: Likewise.
30828 * libio/ioungetwc.c: Likewise.
30829 * libio/iovdprintf.c: Likewise.
30830 * libio/iovsprintf.c: Likewise.
30831 * libio/iovsscanf.c: Likewise.
30832 * libio/memstream.c: Likewise.
30833 * libio/obprintf.c: Likewise.
30834 * libio/oldfileops.c: Likewise.
30835 * libio/oldiofclose.c: Likewise.
30836 * libio/oldiofdopen.c: Likewise.
30837 * libio/oldiofopen.c: Likewise.
30838 * libio/oldiopopen.c: Likewise.
30839 * libio/oldstdfiles.c: Likewise.
30840 * libio/putc.c: Likewise.
30841 * libio/setbuf.c: Likewise.
30842 * libio/setlinebuf.c: Likewise.
30843 * libio/stdfiles.c: Likewise.
30844 * libio/strops.c: Likewise.
30845 * libio/vasprintf.c: Likewise.
30846 * libio/vscanf.c: Likewise.
30847 * libio/vsnprintf.c: Likewise.
30848 * libio/vswprintf.c: Likewise.
30849 * libio/wfiledoalloc.c: Likewise.
30850 * libio/wfileops.c: Likewise.
30851 * libio/wgenops.c: Likewise.
30852 * libio/wmemstream.c: Likewise.
30853 * libio/wstrops.c: Likewise.
30854 * libio/__fpurge.c: Likewise.
30855 * libio/__fsetlocking.c: Likewise.
30856 * assert/assert.c: Likewise.
30857 * debug/fgets_chk.c: Likewise.
30858 * debug/fgets_u_chk.c: Likewise.
30859 * debug/fread_chk.c: Likewise.
30860 * debug/fread_u_chk.c: Likewise.
30861 * debug/gets_chk.c: Likewise.
30862 * debug/obprintf_chk.c: Likewise.
30863 * debug/vasprintf_chk.c: Likewise.
30864 * debug/vdprintf_chk.c: Likewise.
30865 * debug/vsnprintf_chk.c: Likewise.
30866 * debug/vsprintf_chk.c: Likewise.
30867 * malloc/mtrace.c: Likewise.
30868 * misc/error.c: Likewise.
30869 * misc/syslog.c: Likewise.
30870 * stdio-common/asprintf.c: Likewise.
30871 * stdio-common/fxprintf.c: Likewise.
30872 * stdio-common/getw.c: Likewise.
30873 * stdio-common/isoc99_fscanf.c: Likewise.
30874 * stdio-common/isoc99_scanf.c: Likewise.
30875 * stdio-common/isoc99_vfscanf.c: Likewise.
30876 * stdio-common/isoc99_vscanf.c: Likewise.
30877 * stdio-common/isoc99_vsscanf.c: Likewise.
30878 * stdio-common/printf-prs.c: Likewise.
30879 * stdio-common/printf_fp.c: Likewise.
30880 * stdio-common/printf_fphex.c: Likewise.
30881 * stdio-common/printf_size.c: Likewise.
30882 * stdio-common/putw.c: Likewise.
30883 * stdio-common/scanf.c: Likewise.
30884 * stdio-common/sprintf.c: Likewise.
30885 * stdio-common/tmpfile.c: Likewise.
30886 * stdio-common/vfprintf.c: Likewise.
30887 * stdio-common/vfscanf.c: Likewise.
30888 * stdlib/strfmon_l.c: Likewise.
30889 * sunrpc/openchild.c: Likewise.
30890 * sunrpc/xdr_stdio.c: Likewise.
30891 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
30892 * sysdeps/mach/hurd/tmpfile.c: Likewise.
30893
d6c33fda
RM
308942012-05-24 Roland McGrath <roland@hack.frob.com>
30895
c1487492
RM
30896 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30897
30898 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
30899 in the third column, to generate for the shared library an IFUNC
30900 that uses _dl_vdso_vsym.
30901 * Makerules (COMPILE.c, compile-stdin.c): New variables.
30902 * Makeconfig (object-suffixes-noshared): New variable.
30903
30904 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
30905 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
30906 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
30907 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
30908
d6c33fda
RM
30909 [BZ #14132]
30910 * include/sys/time.h (__gettimeofday): Remove macro.
30911 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
30912 * time/gettimeofday.c (__gettimeofday): Remove #undef.
30913 Remove INTDEF.
30914 (__gettimeofday): Add libc_hidden_def.
30915 (gettimeofday): Add libc_hidden_weak.
30916 * sysdeps/mach/gettimeofday.c: Likewise.
30917 * sysdeps/posix/gettimeofday.c: Likewise.
30918 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30919 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30920 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
30921 (__gettimeofday_internal): Remove strong_alias.
30922 (__gettimeofday): Add libc_hidden_def.
30923 (gettimeofday): Add libc_hidden_weak.
30924 * sysdeps/unix/syscalls.list (gettimeofday):
30925 Remove __gettimeofday_internal alias.
30926
b5a2bbe6
L
309272012-05-24 Daniel Jacobowitz <drow@false.org>
30928 H.J. Lu <hongjiu.lu@intel.com>
30929
30930 [BZ #12495]
30931 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
30932 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
30933 (largebin_index_32_big): New.
30934 (largebin_index): Use it for 16-byte alignment.
30935 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
30936 correction with front_misalign.
30937
cfba4fda
L
309382012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30939
7f907421
L
30940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
30941 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
30942 Likewise.
30943 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
30944 Likewise.
30945 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30946 Likewise.
30947 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
30948 Likewise.
30949 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
30950 Likewise.
30951 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
30952 Likewise.
30953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
30954 Likewise.
30955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30956 Likewise.
30957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
30958 Likewise.
30959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
30960 Likewise.
30961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
30962 Likewise.
30963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
30964 Likewise.
30965
cfba4fda
L
30966 * scripts/data/c++-types-x32-linux-gnu.data: New file.
30967 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
30968
80bad0cc
JM
309692012-05-24 Joseph Myers <joseph@codesourcery.com>
30970
7a25eb06
JM
30971 [BZ #10846]
30972 [BZ #14036]
30973 * math/libm-test.inc (exp_test): Add test from bug 14036.
30974 (pow_test): Add test from bug 10846.
30975
795405f9
JM
30976 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
30977 and other flags.
30978 (special_function): Do not include flags in test name.
30979 (parse_args): Likewise.
30980 * sysdeps/i386/fpu/libm-test-ulps: Update.
30981 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30982 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30983 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30985
80bad0cc
JM
30986 * math/gen-libm-test.pl (%beautify): Add entries for underflow
30987 exceptions.
30988 * math/libm-test.inc ("Philosophy"): Update comment about
30989 exception testing.
30990 (UNDERFLOW_EXCEPTION): New macro.
30991 (UNDERFLOW_EXCEPTION_OK): Likewise.
30992 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
30993 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
30994 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
30995 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
30996 (INVALID_EXCEPTION_OK): Update value.
30997 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30998 (OVERFLOW_EXCEPTION_OK): Likewise.
30999 (IGNORE_ZERO_INF_SIGN): Likewise.
31000 (test_exceptions): Handle underflow exceptions.
31001 (acos_test): Update for underflow exception expectations.
31002 (cexp_test): Likewise.
31003 (clog_test): Likewise.
31004 (clog10_test): Likewise.
31005 (csqrt_test): Likewise.
31006 (ctan_test): Likewise.
31007 (ctanh_test): Likewise.
31008 (exp_test): Likewise.
31009 (exp10_test): Likewise.
31010 (exp2_test): Likewise.
31011 (expm1_test): Likewise.
31012 (fma_test): Likewise.
31013 (j0_test): Likewise.
31014 (jn_test): Likewise.
31015 (nexttoward_test): Likewise.
31016 (pow_test): Likewise.
31017 (scalbn_test): Likewise.
31018 (scalbln_test): Likewise.
31019 (tan_test): Likewise.
31020 (y1_test): Likewise.
31021 * sysdeps/i386/fpu/libm-test-ulps: Update.
31022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31023
9e0e3d0b
DM
310242012-05-23 David S. Miller <davem@davemloft.net>
31025
31026 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31027 (__libc_sigaction): Remove unused local variables.
31028
ccd0a08f
L
310292012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31030
31031 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31032
62bdf9a6
PE
310332012-05-23 Paul Eggert <eggert@cs.ucla.edu>
31034
f8591f80
PE
31035 mktime: avoid signed integer overflow
31036 * time/mktime.c (__mktime_internal): Do not mishandle the case
31037 where diff == INT_MIN.
31038
94c7d826
PE
31039 mktime: simplify computation of average
31040 * time/mktime.c (ranged_convert): Use new time_t_avg function
31041 instead of rolling our own (probably-slower) code.
31042
ce73d683
PE
31043 mktime: do not assume signed right shift propagates sign bit
31044 * time/mktime.c (isdst_differ): New static function.
31045 (__mktime_internal): No need to normalize tm_isdst now.
31046 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31047 tm_isdst values.
31048
72a22e59
PE
31049 mktime: merge another wrapv change from gnulib
31050 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31051 from some compilers.
31052
68605433
PE
31053 mktime: remove incorrect attempt at unusual arithmetics
31054 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31055 The code didn't really work on such machines anyway.
31056 (TYPE_MINIMUM): Assume two's complement.
31057 (twos_complement_arithmetic): Verify that long_int and time_t
31058 are two's complement (or unsigned, in the latter case).
31059
03cf7fe3
PE
31060 mktime: check signed shifts on long_int and time_t, too
31061 * time/mktime.c (SHR): Check that shifts work as desired
31062 on the types long_int and time_t too, as SHR is used on
31063 such types.
31064
f04dfbc2
PE
31065 mktime: do not assume 'long' is wide enough
31066 * time/mktime.c (verify): Move decl up.
31067 (long_int): New type.
31068 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31069 to remove assumption in the code that 'long' is wide enough to
31070 store year values. This assumption is not true on x32 and on
31071 some non-glibc platforms.
31072
62bdf9a6
PE
31073 mktime: merge wrapv change from gnulib
31074 * time/mktime.c (WRAPV): New macro.
31075 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31076 (guess_time_tm, __mktime_internal): Do not assume that signed
31077 integer overflow wraps around; modern compilers generate code
31078 where this assumption is no longer valid.
31079
5e292e4f
L
310802012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31081
31082 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31083 Replace "jmp L(pseudo_end)" with "ret".
31084 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31085 Likewise.
31086
8caf8c87
AJ
310872012-05-23 Andreas Jaeger <aj@suse.de>
31088
31089 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31090 * sysdeps/unix/sysv/linux/poll.c: Remove file.
31091
1a09dc56
AJ
310922012-05-23 Andreas Jaeger <aj@suse.de>
31093 Maximilian Attems <max@stro.at>
31094
31095 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31096 New macros.
31097
1c87aba0
L
310982012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31099
31100 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31101 code so that pseudo_end is just ret and the stack pointer is
31102 correct also for static library in error case.
31103
40e45bd5
JM
311042012-05-23 Joseph Myers <joseph@codesourcery.com>
31105
c2670533
JM
31106 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31107 move to syscalls.list.
31108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31112
40e45bd5
JM
31113 * manual/install.texi (Running make install): Do not mention Linux
31114 kernel version for which pt_chown is not needed.
31115 (Linux): Do not mention problems with nscd with 2.0 kernels.
31116 * INSTALL: Regenerated.
31117
be08eda5
AJ
311182012-05-23 Andreas Jaeger <aj@suse.de>
31119
31120 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31121 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31122 macro.
31123 * sysdeps/unix/sysv/linux/s390/bits/mman.h
31124 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31125 * sysdeps/unix/sysv/linux/sh/bits/mman.h
31126 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31127 * sysdeps/unix/sysv/linux/i386/bits/mman.h
31128 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31129 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31130 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31131 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31132 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31133 * sysdeps/unix/sysv/linux/bits/in.h
31134 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31135
a6a056bb
RM
311362012-05-22 Roland McGrath <roland@hack.frob.com>
31137
31138 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31139 (PREPARE_VERSION): Just use assert instead, it will be elided
31140 under [NDEBUG] anyway.
31141
c9009328
L
311422012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31143
31144 * sysdeps/unix/sysv/linux/Makefile: Include
31145 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 31146 (sysdep_routines): Remove sysctl.
c9009328
L
31147 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31148 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31149 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31150 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31151 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31152
73338355
AJ
311532012-05-22 Andreas Jaeger <aj@suse.de>
31154
31155 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31156 that pseudo_end is just ret and the stack pointer is correct also
31157 for static library in error case.
31158
d44638b0
PP
311592012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
31160
31161 [BZ #14122]
31162 * nss/nsswitch.c (defconfig_entries): New variable.
31163 (__nss_database_lookup): Don't leak defconfig entries.
31164 (nss_parse_service_list): Don't leak on error paths.
31165 (free_database_entries): New function.
31166 (free_defconfig): New function.
31167 (free_mem): Move common code to free_database_entries.
31168
31a39bd8
L
311692012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31170
da0331a8
L
31171 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31172 Add arch_prctl.
31173 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31174
31a39bd8
L
31175 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31176 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31177 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31178 New macro.
31179 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31180 (INTERNAL_SYSCALL_TYPES): Likewise.
31181 (LOAD_ARGS_TYPES_[1-6]): Likewise.
31182 (LOAD_REGS_TYPES_[1-6]): Likewise.
31183 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31184 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31185
45470df3
AZ
311862012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31187
31188 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31189 copysignl for GLIBC_2_0.
31190 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31191 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31192 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31193 logbl for GLIBC_2_0.
31194 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31195 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31196
98a61bcb
L
311972012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31198
a4f6e481
L
31199 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31200 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31201
f63d5db6
L
31202 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31203 Use "neg %eax".
31204
98a61bcb
L
31205 * time/mktime.c: Update copyright years.
31206
95770f14
PE
312072012-05-22 Paul Eggert <eggert@cs.ucla.edu>
31208
6226efbd
PE
31209 mktime: merge comment-quoting-style change from gnulib
31210 * time/mktime.c: Quote 'like this' in comments.
31211 The GNU coding standards suggest that we no longer quote `like this',
31212 as "`" and "'" are typically rendered asymmetrically nowadays.
31213 The typical gnulib style is to quote 'like this' when quoting
31214 code, and "like this" when quoting English.
31215
b99e4f78
PE
31216 * time/mktime.c (compile-command): Add "-I.".
31217
643e01e6
PE
31218 mktime: merge mktime-internal.h change from gnulib
31219 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31220
2554247d
PE
31221 mktime: merge time_r change from gnulib
31222 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31223
826dd0ab
PE
31224 mktime: merge DEBUG change from gnulib
31225 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31226 case system <time.h> has a #define.
31227
bd83aabe
PE
31228 mktime: merge <sys/types.h> change from gnulib
31229 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31230 since <time.t> is now guaranteed to define time_t.
31231
95770f14
PE
31232 mktime: merge HAVE_CONFIG_H change from gnulib
31233 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31234
5e1a27a9
L
312352012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31236
0e44a77e
L
31237 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31238 Use "neg %eax".
31239
5e1a27a9
L
31240 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31241 __rlim_t cast.
31242 (struct rusage): Use anonymous union to pad each field to
31243 __syscall_slong_t.
31244
46259bec
DM
312452012-05-21 David S. Miller <davem@davemloft.net>
31246
31247 * Makefules (o-iterator): Remove .s cases.
31248 (compile-command.s): Delete.
31249 (COMPILE.s): Delete.
31250 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31251
59f0c22e
JM
312522012-05-21 Joseph Myers <joseph@codesourcery.com>
31253
31254 * configure.in (libc_cv_predef_stack_protector): Only consider
31255 "foobar" and "__stack_chk_fail" lines in libc_undefs.
31256 * configure: Regenerated.
31257
20c07380
L
312582012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31259
bbb3154b
L
31260 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31261 New macro. Use R*LP on int and pointer.
31262 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
31263 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31264 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
31265 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31266
20c07380
L
31267 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31268 [__WORDSIZE_TIME64_COMPAT32] instead of
31269 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31270 (struct utmp): Likewise.
31271 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31272 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31273 Renamed to ...
31274 (__WORDSIZE_TIME64_COMPAT32): This.
31275 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31276 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31277 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31278 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31279 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31280 (__WORDSIZE_TIME64_COMPAT32): New macro.
31281
d8d1017e
AJ
312822012-05-21 Andreas Jaeger <aj@suse.de>
31283
31284 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31285 only if [SHARED]. Add prototype for __wcschr_ia32.
31286
6c7fb145
RM
312872012-05-21 Roland McGrath <roland@hack.frob.com>
31288
31289 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31290 of %rbp unmolested in the jmp_buf while mangling the low bits.
31291 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31292 unmolested high bits of %rbp while demangling the low bits.
31293 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31294
66274218
AJ
312952012-05-21 Andreas Jaeger <aj@suse.de>
31296
07c58f8f
AJ
31297 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31298 * sunrpc/svc_simple.c: Use it for registerrpc.
31299 * sunrpc/xcrypt.c: Use it for passwd2des.
31300
66274218
AJ
31301 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31302
61f65140
L
313032012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31304
31305 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31306 Don't define if [__SYSCALL_WORDSIZE != 32].
31307 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31308 New macro.
31309
5fefb436
AJ
313102012-05-21 Bruno Haible <bruno@clisp.org>
31311 Andreas Jaeger <aj@suse.de>
31312
31313 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31314 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31315 inptr and inend for must_buffer_ch.
31316 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31317 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31318 * stdio-common/Makefile (tests): Remove bug15.
31319 (bug15-ENV): Remove macro.
31320 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31321 anymore.
31322
d8e272ab
AJ
313232012-05-19 Andreas Jaeger <aj@suse.de>
31324 Roland McGrath <roland@hack.frob.com>
31325
31326 * manual/contrib.texi: Completely rewritten. It contains now an
31327 alphabetical list of contributors and their contributions.
31328
4a56a162
RH
313292012-05-21 Richard Henderson <rth@twiddle.net>
31330
31331 * misc/getauxval.c (__getauxval): Use unsigned long int.
31332 * misc/sys/auxv.h: Include <sys/cdefs.h>.
31333 (getauxval): Use unsigned long int.
31334
d024d23c
L
313352012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31336
31337 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31338
cbc00a03
RM
313392012-05-21 Roland McGrath <roland@hack.frob.com>
31340
31341 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31342 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31343 __alignof__ (long double).
31344
478143fa
AZ
313452012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31346
31347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31348
c7683a6d
RH
313492012-05-20 Richard Henderson <rth@twiddle.net>
31350
31351 * misc/getauxval.c: New file.
31352 * misc/sys/auxv.h: New file.
31353 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31354 (routines): Add getauxval.
31355 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31356 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31357 * elf/dl-sysdep.c (_dl_auxv): Remove.
31358 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31359 * elf/dl-support.c (_dl_auxv): New variable.
31360 (_dl_aux_init): Initialize it.
31361 * manual/startup.texi (Auxiliary Vector): New node.
31362 * sysdeps/generic/bits/hwcap.h: New file.
31363 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31364 * sysdeps/powerpc/sysdep.h: ... here. Include it.
31365 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31366 * sysdeps/sparc/sysdep.h: ... here. Include it.
31367 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31368 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
31369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31370 Update.
c7683a6d
RH
31371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31374 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31375 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31376 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31379
a6f1845d
AZ
313802012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31381
31382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31383
cbcbe830
DM
313842012-05-19 David S. Miller <davem@davemloft.net>
31385
31386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31387
e0b16cc2
JM
313882012-05-19 Joseph Myers <joseph@codesourcery.com>
31389
31390 [BZ #14123]
31391 * math/s_ccosh.c: Include <float.h>
31392 (__ccosh): Avoid internal overflow calculating sinh and cosh
31393 values before multiplying by sin and cos values.
31394 * math/s_ccoshf.c: Likewise.
31395 * math/s_ccoshl.c: Likewise.
31396 * math/s_csin.c: Likewise.
31397 * math/s_csinf.c: Likewise.
31398 * math/s_csinl.c: Likewise.
31399 * math/s_csinh.c: Likewise.
31400 * math/s_csinhf.c: Likewise.
31401 * math/s_csinhl.c: Likewise.
31402 * math/libm-test.inc (ccos_test): Add more tests.
31403 (ccosh_test): Likewise.
31404 (csin_test): Likewise.
31405 (csinh_test): Likewise.
31406 * sysdeps/i386/fpu/libm-test-ulps: Update.
31407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31408
6ad13e08
L
314092012-05-19 H.J. Lu <hongjiu.lu@intel.com>
31410
f66f0ce8
L
31411 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31412 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31413
6ad13e08
L
31414 * sysdeps/x86_64/x32/_itoa.h: Add comment.
31415
b1d072a7
JM
314162012-05-19 Joseph Myers <joseph@codesourcery.com>
31417
31418 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31419 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31420 * sysdeps/powerpc/soft-fp/Versions: Likewise.
31421 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31422 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31423 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31424 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31425 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31426 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31427 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31428 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31429 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31430 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31431 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31432 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31433 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31434 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31435 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31436 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31437 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31438 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31439 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31440 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31441 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31442 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31443 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31444 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31445 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31446 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31447 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31448 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31449
9eae47cb
AJ
314502012-05-18 Andreas Jaeger <aj@suse.de>
31451
31452 * csu/.gitignore: Delete.
31453
bb07f69f
L
314542012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31455
31456 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31457 (timex): Use __syscall_slong_t.
31458
e6bdb741
AJ
314592012-05-18 Andreas Jaeger <aj@suse.de>
31460 Carlos O'Donell <carlos_odonell@mentor.com>
31461
31462 * manual/install.texi (Configuring and compiling): Update
31463 description about files modified in the source directory.
d6c33fda 31464 * INSTALL: Regenerated.
e6bdb741 31465
1b74487e
L
314662012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31467
31468 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31469 value. Use "or" to set return value to -1.
31470 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31471 negate return value.
31472
a88b64b9
TMQMF
314732012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31474
57f41c40
AS
31475 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31476 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
31477 failure if the compiler has Graphite support disabled.
31478 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31479 Likewise.
57f41c40
AS
31480 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31481 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
31482 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31483 Likewise.
31484
3707636e
L
314852012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31486
610b8622
L
31487 * sysdeps/x86_64/x32/_itoa.h: New file.
31488
7cd195df
L
31489 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31490 getdents system call only if kernel and user dirents have the
31491 same d_ino and d_off.
31492
94b07d20
L
31493 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31494 LLONG_MAX != LONG_MAX.
31495 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31496 (_fitoa_word): Likewise.
31497
18298070
L
31498 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
31499 years.
31500 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
31501 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
31502 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
31503
553c7ea4
L
31504 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
31505 include <bits/wordsize.h>. Check __x86_64__ instead of
31506 __WORDSIZE.
31507 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
31508 if __x86_64__ is defined. Use anonymous union on fpstate.
31509
3707636e
L
31510 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
31511 anonymous union.
31512
b53ef01a
AS
315132012-05-18 Andreas Schwab <schwab@linux-m68k.org>
31514
37fb1dc0
AS
31515 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31516 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
31517 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
31518 Refer to _rtld_local_ro instead of _rtld_global_ro.
31519 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
31520 Likewise.
31521 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
31522 Likewise.
31523 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
31524 Likewise.
31525 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
31526 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
31527 of _rtld_global, and rtld_progname instead of _dl_argv[0].
31528
b53ef01a
AS
31529 * sysdeps/powerpc/powerpc32/dl-machine.c
31530 (__elf_machine_runtime_setup) [PROF]: Don't reference
31531 _dl_prof_resolve.
31532
7a185db2
AJ
315332012-05-18 Andreas Jaeger <aj@suse.de>
31534
31535 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
31536 function only available for GCCs before 3.4 since GCC 3.4
31537 introduced a builtin.
31538 (lrint): Likewise.
31539 (llrintf): Likewise.
31540 (llrint): Likewise.
31541 (fmaxf): Likewise.
31542 (fmax): Likewise.
31543 (fminf): Likewise.
31544 (fmin): Likewise.
31545 (rint): Likewise.
31546 (rintf): Likewise.
31547 (nearbyint): Likewise.
31548 (nearbyintf): Likewise.
31549 (ceil): Likewise.
31550 (ceilf): Likewise.
31551 (floor): Likewise.
31552 (floorf): Likewise.
31553
3e5aef87
L
315542012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31555
428bd707
L
31556 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
31557 on both fields and cast pointer to __syscall_ulong_t.
31558
3e5aef87
L
31559 * bits/types.h (__fsword_t): New type.
31560 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
31561 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
31562 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31563 (__FSWORD_T_TYPE): Likewise.
31564 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31565 (__FSWORD_T_TYPE): Likewise.
31566 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31567 (__FSWORD_T_TYPE): Likewise.
31568 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
31569 (__FSWORD_T_TYPE): Likewise.
31570 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
31571 __SWORD_TYPE with __fsword_t.
31572 (statfs64): Likewise.
31573
1ba7c3dc
DM
315742012-05-17 David S. Miller <davem@davemloft.net>
31575
31576 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
31577
59910343
AJ
315782012-05-17 Andreas Jaeger <aj@suse.de>
31579
31580 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
31581 warning.
31582
2e4c1e9e
L
315832012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31584
31585 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
31586
de7f5ce7
AJ
315872012-05-17 Andreas Jaeger <aj@suse.de>
31588
31589 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
31590 when it is used.
31591
286abc3d
CM
315922012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31593
31594 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
31595
477cc68e
L
315962012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31597
31598 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
31599 * sysdeps/x86_64/tst-mallocalign1.c: New file.
31600
1a0994f5
CD
316012012-05-17 Andreas Jaeger <aj@suse.de>
31602 Carlos O'Donell <carlos_odonell@mentor.com>
31603
31604 [BZ #14059]
31605 * sysdeps/x86_64/multiarch/init-arch.h
31606 (bit_YMM_Usable): Rename to...
31607 (bit_AVX_Usable): ... this.
31608 (bit_FMA4_Usable): New macro.
31609 (bit_XMM_state): New macro.
31610 (bit_YMM_state): New macro.
31611 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
31612 [__ASSEMBLER__] (index_AVX_Usable): ... this.
31613 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
31614 (CPUID_OSXSAVE): New macro.
31615 (CPUID_AVX): New macro.
31616 (CPUID_FMA4): New macro.
31617 (index_YMM_Usable): Rename to...
31618 (index_AVX_Usable): ... this.
31619 (HAS_AVX): Use HAS_ARCH_FEATURE.
31620 (HAS_FMA4): Likewise.
31621 (HAS_YMM_USABLE): Remove.
31622 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31623 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
31624 are present.
31625 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
31626 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
31627 * sysdeps/x86_64/multiarch/Makefile: Likewise.
31628 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
31629 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
31630
0af797de
CM
316312012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31632
31633 * math/libm-test.c: Support platforms without multiple rounding modes.
31634 * math/bug-nextafter.c: Support platforms without FP exceptions.
31635 * math/bug-nexttoward.c: Likewise.
31636 * math/test-fenv.c: Likewise.
31637 * math/test-misc.c: Likewise.
31638 * stdlib/bug-getcontext.c: Likewise.
31639
e39745ff
AJ
316402012-05-17 Andreas Jaeger <aj@suse.de>
31641
31642 * manual/examples/search.c (critter_cmp): Change signature to
31643 avoid warnings.
31644 * manual/string.texi (Collation Functions): Likewise.
31645
48970aba
L
316462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31647
31648 * bits/types.h: Fold copyright years.
31649 * bits/typesizes.h: Likewise.
31650 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
31651 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31652 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
31653 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
31654 * time/time.h: Likewise.
31655
bedee953
PP
316562012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
31657
31658 [BZ #208]
31659 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
31660 in instead of returning them. Return void.
31661 (__libc_mallinfo): Accumulate over all arenas.
31662 (__malloc_stats): Adjust for change in int_mallinfo interface.
31663
61653dfb
RM
316642012-05-16 Roland McGrath <roland@hack.frob.com>
31665
30b99d79
RM
31666 [BZ #10375]
31667 * configure.in (NM): Add AC_CHECK_TOOL for it.
31668 (libc_extra_cflags): New substituted variable.
31669 Check for -fstack-protector being used implicitly.
31670 * configure: Regenerated.
31671 * config.make.in (config-extra-cflags): New variable,
31672 gets @libc_extra_cflags@.
31673 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
31674
61653dfb
RM
31675 [BZ #10375]
31676 * configure.in: Check for _FORTIFY_SOURCE being predefined.
31677 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
31678 * configure: Regenerated.
31679 * config.make.in (CPPUNDEFS): New substituted variable.
31680 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
31681 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
31682 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
31683
661768bb
L
316842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31685
31686 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
31687 (mq_attr): Use __syscall_slong_t.
31688
d4261567
L
316892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31690
31691 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
31692 Check __x86_64__ instead of __WORDSIZE.
31693 (_STAT_VER_LINUX): Likewise.
31694 (stat): Check __x86_64__ instead of __WORDSIZE. Use
31695 __syscall_ulong_t and __syscall_slong_t.
31696 (stat64): Likewise.
31697
cf3ff365
L
316982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31699
31700 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
31701
76cf3e4d
L
317022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31703
31704 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
31705
a637753a
L
317062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31707
31708 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
31709 __syscall_ulong_t.
31710
d5e05119
L
31711 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
31712 include <bits/wordsize.h>. Check __x86_64__ instead of
31713 __WORDSIZE.
31714 (greg_t): Use "__extension__ long long int" if __x86_64__ is
31715 defined.
31716 (mcontext_t): Replace "unsigned long" with "unsigned long long".
31717
f62ee380
L
31718 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
31719 include <bits/wordsize.h>. Check __x86_64__ instead of
31720 __WORDSIZE.
31721 (user_regs_struct): Use "__extension__ unsigned long long"
31722 instead of "unsigned long" if __x86_64__ is defined.
31723 (user): Likewise. Pad after pointer field if __ILP32__ is
31724 defined.
31725
4e124ced
JM
317262012-05-16 Joseph Myers <joseph@codesourcery.com>
31727
6a3951a0
JM
31728 * configure.in (makeinfo): Require version 4.5 or later. Allow
31729 versions 5 to 9.
31730 * configure: Regenerated.
31731 * manual/install.texi (texinfo): Increase version requirement to
31732 4.5 or later.
31733 * INSTALL: Regenerated.
31734
4e124ced
JM
31735 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
31736
953ca31a
L
317372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31738
31739 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
31740
617aca05
L
31741 * sysdeps/x86_64/x32/ffs.c: New file.
31742
5762f7ae
L
31743 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
31744 __syscall_ulong_t.
31745 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
31746 defined. Use __syscall_ulong_t.
31747 (shminfo): Use __syscall_ulong_t.
31748 (shm_info): Likewise.
31749
a26b6856
L
31750 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
31751 __syscall_ulong_t.
31752
cb2b9ef7
L
31753 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
31754 <bits/wordsize.h>.
31755 (msgqnum_t): Use __syscall_ulong_t.
31756 (msglen_t): Likewise.
31757 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
31758 __syscall_ulong_t.
31759
34683bb0
L
31760 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
31761 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31762
84a68786
L
31763 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
31764
48baa5f1
L
31765 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
31766 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
31767
180be88b
L
31768 * sysvipc/sys/msg.h (msgbuf): Replace long int with
31769 __syscall_slong_t.
31770
5e90c8ad
L
31771 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
31772 include <bits/wordsize.h>. Check __x86_64__ instead of
31773 __WORDSIZE.
31774
23dfb58b
L
31775 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
31776 "unsigned long long int" if __x86_64__ is defined.
31777 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
31778
ce5d54b0
L
31779 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
31780 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31781 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
31782
13dc9eac
L
31783 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
31784 <stdint.h>.
31785 (GET_PC): Cast to uintptr_t first.
31786 (GET_FRAME): Likewise.
31787 (GET_STACK): Likewise.
31788
a7895d15
L
31789 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
31790 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
31791 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
31792 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
31793 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
31794 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
31795 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
31796 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
31797 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31798 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
31799 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
31800 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
31801 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31802 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
31803 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
31804 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
31805 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
31806 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
31807 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
31808 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
31809 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
31810 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
31811 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
31812 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
31813 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
31814 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
31815 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
31816 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
31817 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
31818
656416c9
AS
318192012-05-16 Andreas Schwab <schwab@linux-m68k.org>
31820
5bd66283
AS
31821 * Makerules (+depfiles): Also collect depfiles from .oS in
31822 $(extra-objs).
31823 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
31824 .oS, $(libnldbl-routines)).
31825
656416c9
AS
31826 * Makerules (native-compile-mkdep-flags): Define.
31827 * sunrpc/Makefile (extra-objs): Add $(addprefix
31828 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
31829 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
31830 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
31831 calling $(make-target-directory).
31832
a46f2169
L
318332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31834
31835 * bits/types.h (__snseconds_t): Removed.
31836 * time/time.h (struct timespec): Replace __snseconds_t with
31837 __syscall_slong_t.
31838 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
31839 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
31840 Likewise.
31841 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31842 (__SNSECONDS_T_TYPE): Likewise.
31843 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31844 (__SNSECONDS_T_TYPE): Likewise.
31845 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31846 (__SNSECONDS_T_TYPE): Likewise.
31847
6af6528b
L
318482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31849
31850 * sysdeps/mach/hurd/bits/typesizes.h
31851 (__SYSCALL_SLONG_TYPE): New macro.
31852 (__SYSCALL_ULONG_TYPE): Likewise.
31853
de986b56
L
318542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31855
31856 * bits/types.h (__syscall_slong_t): New type.
31857 (__syscall_ulong_t): Likewise.
31858
31859 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
31860 (__SYSCALL_ULONG_TYPE): Likewise.
31861 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31862 (__SYSCALL_SLONG_TYPE): Likewise.
31863 (__SYSCALL_ULONG_TYPE): Likewise.
31864 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31865 (__SYSCALL_SLONG_TYPE): Likewise.
31866 (__SYSCALL_ULONG_TYPE): Likewise.
31867 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31868 (__SYSCALL_SLONG_TYPE): Likewise.
31869 (__SYSCALL_ULONG_TYPE): Likewise.
31870
85736dc7
L
318712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31872
31873 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
31874 Add sigaltstack-offsets.sym.
31875 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
31876 <sigaltstack-offsets.h>.
31877 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
31878 longjmp_msg pointer.
31879 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
31880 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
31881 signal stack.
31882 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
31883
cc03b296
JM
318842012-05-15 Joseph Myers <joseph@codesourcery.com>
31885
a9538892
JM
31886 * elf/stackguard-macros.h: Remove file.
31887 * sysdeps/generic/stackguard-macros.h: New file.
31888 * sysdeps/i386/stackguard-macros.h: Likewise.
31889 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31890 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31891 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31892 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31893 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31894 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31895 * sysdeps/x86_64/stackguard-macros.h: Likewise.
31896 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
31897 <elf/stackguard-macros.h>.
31898
cc03b296
JM
31899 [BZ #14109]
31900 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
31901 __aligned__ in attribute.
31902 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
31903 (gregset_t): Likewise.
31904
93171016
L
319052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31906
31907 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
31908 * sysdeps/x86_64/64/Implies-after: Here. New file.
31909 * sysdeps/x86_64/x32/Implies-after: New file.
31910
d86813a0
L
319112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31912
31913 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
31914 and access return value for _dl_profile_fixup. Use R10_LP to
31915 load frame size.
31916
2953ec75
L
319172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31918
31919 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
31920
3b550e9e
L
319212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31922
31923 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
31924 * sysdeps/x86_64/x32/sysdep.h: New file.
31925
eda41706
L
319262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31927
31928 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
31929 * sysdeps/x86_64/setjmp.S: Likewise.
31930
9ea01d93
AZ
319312012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31932
31933 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
31934 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
31935 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
31936 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
31937 remove unused global constant.
31938
02a91938
CM
319392012-05-15 Chris Metcalf <cmetcalf@tilera.com>
31940
31941 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
31942 include of <not-cancel.h>.
31943
6540185f
RM
319442012-05-15 Roland McGrath <roland@hack.frob.com>
31945
31946 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
31947
509072a0
AJ
319482012-05-15 Jeff Law <law@redhat.com>
31949 Andreas Jaeger <aj@suse.de>
31950
31951 [BZ #13594]
31952 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
31953 out from...
31954 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
31955 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
31956 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
31957 code changing __hst_map_handle.map.
31958
ba75122d
RM
319592012-05-15 Roland McGrath <roland@hack.frob.com>
31960
31961 * configure.in (sysnames): Look for Implies-before and Implies-after
31962 files.
31963 * configure: Regenerated.
31964
890d8bd8
L
319652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31966
31967 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
31968 8-byte data alignment with LP_SIZE alignment.
31969
f6ee6623
L
319702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31971
31972 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
31973 into R10_LP.
31974
ea2626f6
L
319752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31976
31977 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
31978
085f715e
L
319792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31980
31981 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
31982 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
31983 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
31984 Likewise.
31985 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31986
be8498fc
L
319872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31988
31989 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
31990 (stackinfo_sub_sp): Likewise.
31991
70bc83b9
L
319922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31993
31994 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
31995 RAX_LP.
31996
9bc0b730
L
319972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31998
31999 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32000 into R*_LP.
32001
6d2850e7
L
320022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32003
32004 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32005 sizes into R*_LP.
32006
3cb84561
L
320072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32008
32009 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32010
54e2ed81
L
320112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32012
32013 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32014 into R11_LP and load __x86_64_shared_cache_size_half into
32015 R8_LP.
32016
8a17f349
L
320172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32018
32019 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32020 R8_LP.
32021
777b1eea
AZ
320222012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32023
32024 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32025 logb for POWER7.
32026 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32027 logbf for POWER7.
32028 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32029 logbl for POWER7.
32030 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32031 powerpc32/power7/fpu/s_logb.c via #include.
32032 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32033 powerpc32/power7/fpu/s_logbf.c via #include.
32034 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32035 powerpc32/power7/fpu/s_logbl.c via #include.
32036
d20d4ac2
JM
320372012-05-15 Joseph Myers <joseph@codesourcery.com>
32038
32039 * README.libm: Remove file.
32040
6cdef1ab
L
320412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32042
32043 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32044 count for x32. Use R*_LP and omit operand-size suffix.
32045
0b254d8f
L
320462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32047
32048 * shlib-versions: Move x86_64-.*-linux.* entries to ...
32049 * sysdeps/x86_64/64/shlib-versions: Here. New file.
32050 * sysdeps/x86_64/x32/shlib-versions: New file.
32051
ceb809dc
RM
320522012-05-14 Roland McGrath <roland@hack.frob.com>
32053
32054 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32055 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32056 Use _dl_fatal_printf instead.
32057
37f1abd4
JM
320582012-05-14 Joseph Myers <joseph@codesourcery.com>
32059
32060 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32061 set if not set by the user. Do not allow for being unset.
32062 * sysdeps/unix/sysv/linux/configure: Regenerated.
32063
11de3a33
L
320642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32065
32066 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32067 the `q' suffix from lea and replace .quad with ASM_ADDR.
32068
e02f153a
L
320692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32070
32071 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32072 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
32073 instead of $17.
32074 (PTR_DEMANGLE): Likewise.
32075
520ae0fd
L
320762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32077
32078 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32079 (LP_OP): Likewise.
32080 (ASM_ADDR): Likewise.
32081 (RAX_LP): Likewise.
32082 (RBP_LP): Likewise.
32083 (RBX_LP): Likewise.
32084 (RCX_LP): Likewise.
32085 (RDI_LP): Likewise.
32086 (RSI_LP): Likewise.
32087 (RSP_LP): Likewise.
32088 (R8_LP): Likewise.
32089 (R9_LP): Likewise.
32090 (R10_LP): Likewise.
32091 (R10_LP): Likewise.
32092 (R11_LP): Likewise.
32093 (R12_LP): Likewise.
32094 (R13_LP): Likewise.
32095 (R14_LP): Likewise.
32096 (R15_LP): Likewise.
32097
b985be81
L
320982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32099
32100 * sysdeps/x86_64/x32/dl-machine.h: New file.
32101
6a4888ff
AJ
321022012-05-14 Andreas Jaeger <aj@suse.de>
32103
32104 * manual/Makefile (subdir): Remove export of subdir.
32105 (all): Remove target.
32106 (.PHONY): Remove all from list.
32107 (mkinstalldirs): Remove.
32108 (.PHONY): Remove installdirs from list.
32109 ($(inst_infodir)/libc.info): Use make-target-directory.
32110 (installdirs): Remove.
32111 (subdir_%): Remove.
32112 (glibc-targets): Remove.
32113 (lib): Remove.
32114 (stubs): Remove.
32115 ($(objpfx)stubs ../po/manual.pot): Remove.
32116 ($(objpfx)stamp%): Remove.
32117 (make-target-directory): Remove.
32118 (subdir_install): Remove.
32119 (routines): Remove.
32120 (aux): Remove.
32121 (sources): Remove.
32122 (objects): Remove.
32123 (headers): Remove.
32124
32125 [BZ #13750]
32126 * manual/.gitignore: Remove, it's not needed anymore.
32127 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32128 all files in it.
32129 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32130 directory.
32131 (texis): Renamed to $(objpfx)texis.
32132 (texis-path): New, contains path to generated files.
32133 (chapters.%): Use texis-path for complete path, add extra argument
32134 libc-texinfo.sh.
32135 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32136 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32137 (summary,texi, stamp-summary): Use complete path of
32138 files. Generate files in build dir.
32139 (dir-add.texi): Build in build dir.
32140 (libm-err.texi,stamp-libm-err): Likewise.
32141 (version.texi, stamp-version): Likewise.
32142 (.%c.texi): Likewise.
32143 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32144 (mostlyclean): Remove target.
32145 (realclean): Remove target.
32146 (generated): Add new variable with contents from mostlyclean and
32147 realclean, remove entries duplicated in common-mostlyclean, add
32148 stamp-libm-err and stamp-version.
32149 (generated-dirs): Add libc directory.
32150 ($(inst_infodir)/libc.info): Install files from build dir.
32151
32152 * manual/install.texi (Configuring and compiling): Adjust since
32153 the info files are not part of the tar ball anymore.
32154
7ac77294
AJ
321552012-05-14 Andreas Jaeger <aj@suse.de>
32156
32157 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32158 variable.
32159
ffb7875d
JM
321602012-05-14 Joseph Myers <joseph@codesourcery.com>
32161
32162 [BZ #13717]
32163 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32164 to 2.2.0 where earlier.
32165 * sysdeps/unix/sysv/linux/configure: Regenerated.
32166 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32167 Remove conditional code.
32168 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32169 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32170 Remove conditional code.
32171 [!__NR_lchown]: Likewise.
32172 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32173 [__NR_lchown]: Likewise.
32174 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32175 comment referencing __ASSUME_LCHOWN_SYSCALL.
32176 * sysdeps/unix/sysv/linux/i386/sigaction.c
32177 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32178 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32179 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32180 Remove conditional code.
32181 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32182 (__protocol_available): Remove #if 0 code.
32183 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32184 conditional code.
32185 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32186 * sysdeps/unix/sysv/linux/kernel-features.h
32187 (__ASSUME_GETCWD_SYSCALL): Don't define.
32188 (__ASSUME_REALTIME_SIGNALS): Likewise.
32189 (__ASSUME_PREAD_SYSCALL): Likewise.
32190 (__ASSUME_PWRITE_SYSCALL): Likewise.
32191 (__ASSUME_POLL_SYSCALL): Likewise.
32192 (__ASSUME_LCHOWN_SYSCALL): Likewise.
32193 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32194 non-SPARC.
32195 (__ASSUME_SIOCGIFNAME): Don't define.
32196 (__ASSUME_MSG_NOSIGNAL): Likewise.
32197 (__ASSUME_SENDFILE): Define unconditionally.
32198 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32199 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32200 conditional code.
32201 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32202 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32203 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32204 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32205 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32206 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32207 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32209 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32210 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32212 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32213 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32215 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32216 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32218 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32219 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32221 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32222 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32224 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32225 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32227 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32228 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32230 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32231 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32232 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32233 Remove conditional code.
32234 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32235 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32236 Remove conditional code.
32237 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32238 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32239 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32240 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32241 Remove conditional code.
32242 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32243 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32244 Remove conditional code.
32245 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32246 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32247 Remove conditional code.
32248 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32249 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32250 Remove conditional code.
32251 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32252 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32253 Remove conditional code.
32254 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32255 * sysdeps/unix/sysv/linux/sh/pwrite64.c
32256 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32257 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32258 * sysdeps/unix/sysv/linux/sigaction.c
32259 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32260 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32261 * sysdeps/unix/sysv/linux/sigpending.c
32262 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32263 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32264 * sysdeps/unix/sysv/linux/sigprocmask.c
32265 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32266 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32267 * sysdeps/unix/sysv/linux/sigsuspend.c
32268 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32269 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32270 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32271 (__libc_missing_rt_sigs): Remove.
32272 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32273 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32274 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32275 Remove conditional code.
32276 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32277 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32278 return 1.
32279 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32280 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32281 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32282 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32283
1bfb7291
AJ
322842012-05-14 Andreas Jaeger <aj@suse.de>
32285
caae5a81
AJ
32286 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32287 it's not used in glibc.
32288 (__coshm1): Likewise.
32289 (__acosh1p): Likewise.
32290 (__sgn): Likewise.
32291
1bfb7291
AJ
32292 * manual/string.texi (Copying and Concatenation): Add missing
32293 variable in concat example.
32294 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32295
c044d724
L
322962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32297
144c5467 32298 [BZ #14103]
c044d724
L
32299 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32300 __builtin_clzl with __builtin_clzll.
32301
2523c62b
L
323022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32303
32304 [BZ #14104]
32305 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32306 libc_freeres_ptr.
32307
d7bb4c42
LD
323082012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32309
32310 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32311 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32312 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32313 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32314
9dc4e1fb
MF
323152012-05-14 Mike Frysinger <vapier@gentoo.org>
32316
32317 * NEWS: Update ia64 info.
32318
c7df0112
AS
323192012-05-12 Andreas Schwab <schwab@linux-m68k.org>
32320
32321 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32322 used as bcopy.
32323
dc70356c
TS
323242012-05-12 Thomas Schwinge <thomas@codesourcery.com>
32325
32326 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32327 * sysdeps/unix/syscalls.list (dup3): Likewise.
32328 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32329 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32330
9fb1a21f
L
323312012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32332
32333 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32334 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32335
4822a2a5
L
323362012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32337
32338 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32339 thread pointer.
32340 (TLS_IE): Use mov/add instead of movq/addq to load thread
32341 pointer.
32342 (TLS_GD_PREFIX): New.
32343 (TLS_GD): Use it.
32344
842b81d6
DM
323452012-05-11 David S. Miller <davem@davemloft.net>
32346
32347 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32348 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32349 (_FPU_SETCW): Likewise.
32350
1cf463cd
L
323512012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32352
32353 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32354 is 32-byte aligned.
32355
60cc4a18
AS
323562012-05-11 Andreas Schwab <schwab@linux-m68k.org>
32357
32358 [BZ #11837]
32359 * iconvdata/gb18030.c: Update tables.
32360 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
32361 characters specially.
32362 (BODY for TO_LOOP): Add encoding of missing ranges.
32363
febb44a4
TS
323642012-05-11 Thomas Schwinge <thomas@codesourcery.com>
32365
32366 [BZ #13673]
32367 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32368 * sysdeps/mach/hurd/dup3.c: Likewise.
32369 * sysdeps/mach/hurd/readlinkat.c: Likewise.
32370 * sysdeps/powerpc/memmove.c:: Likewise.
32371
0a10fb9e
L
323722012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32373
32374 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32375 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32376
df8a552f
L
323772012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32378
32379 * elf/elf.h (R_X86_64_RELATIVE64): New.
32380 (R_X86_64_NUM): Updated.
32381 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32382 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
32383 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32384 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32385 tst-quad1pie tst-quad2pie
32386 (modules-names): Add tst-quadmod1 tst-quadmod2.
32387 ($(objpfx)tst-quad1): New dependency.
32388 ($(objpfx)tst-quad2): Likewise.
32389 ($(objpfx)tst-quad1pie): Likewise.
32390 ($(objpfx)tst-quad2pie): Likewise.
32391 * sysdeps/x86_64/tst-quad1.c: New file.
32392 * sysdeps/x86_64/tst-quad1pie.c: New file.
32393 * sysdeps/x86_64/tst-quad2.c: Likewise.
32394 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32395 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32396 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32397 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32398 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32399
f34d6f84
ST
324002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32401
f42d41d1
ST
32402 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32403 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32404 * streams/stropts.h (t_scalar_t): Define type.
32405
3c3571fc
ST
32406 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32407 (_PATH_PRESERVE): Set to "/var/lib".
32408 (_PATH_RWHODIR): Set to "/var/spool/rwho".
32409
61f06bd3
ST
32410 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32411 instead of int.
32412
918d4d71
ST
32413 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32414 if __dir_mkfile succeeded.
32415
f34d6f84
ST
32416 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32417 checking for _hurd_dtablesize. Unlock it right after having
32418 finished _hurd_dtable allocation.
32419
10589b4a
TS
324202012-05-10 Thomas Schwinge <thomas@schwinge.name>
32421
674cdbc7
TS
32422 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32423 * sysdeps/mach/hurd/configure: Regenerated.
32424 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32425 special-casing to...
32426 * sysdeps/gnu/configure.in: ... this new file.
32427 * sysdeps/unix/sysv/linux/configure: Regenerated.
32428 * sysdeps/gnu/configure: New generated file.
32429
8e41b99f
TS
32430 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32431 for Linux: use nsec instead of usec, as well as:
32432 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32433 members of type struct timespec.
32434 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32435 New macros.
32436 (struct stat64): Likewise.
32437 (_STATBUF_ST_NSEC): New macro.
32438 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32439
10589b4a
TS
32440 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32441 __strtoul_internal rather than strtoul.
32442
63643c85
PT
324432012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32444
32445 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32446 and reject them.
32447
3faebe6a
ST
324482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32449
32450 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32451 which preserves existing values.
32452 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32453
c6474b07
PT
324542012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32455
32456 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32457 TIMEOUT values. Return EINVAL for NFDS values either negative or
32458 greater than FD_SETSIZE.
32459
1043890b
ST
324602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32461
32462 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32463 allocated, call __vm_protect to finish enabling the existing space, and
32464 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32465 allocate the remainder.
32466
37ed8b9b
PT
324672012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32468
32469 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32470 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
32471
db653660
ST
324722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32473
37ed8b9b
PT
32474 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32475 sysdeps/mach/hurd/readlink.c.
b29d4053 32476
db653660
ST
32477 * posix/tst-sysconf.c (posix_options): Only use
32478 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32479 _POSIX_SYNCHRONIZED_IO when they are defined
32480 * sysdeps/mach/hurd/bits/posix_opt.h:
32481 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32482 (_XOPEN_REALTIME): Undefine macro.
32483 (_XOPEN_REALTIME_THREADS): Undefine macro.
32484 (_XOPEN_SHM): Undefine macro.
32485 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32486 macro to -1.
32487 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32488 macro to -1.
32489 (_POSIX_ASYNC_IO): Undefine macro.
32490 (_POSIX_PRIORITIZED_IO): Undefine macro.
32491 (_POSIX_SPIN_LOCKS): Define macro to -1.
32492
ee16e894
ST
32493 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
32494 SA_NODEFER, SA_RESETHAND.
32495 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
32496 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
32497 F_DUPFD_CLOEXEC.
32498
6103ae3b
TS
324992012-05-10 Thomas Schwinge <thomas@schwinge.name>
32500
32501 * elf/Makefile (pldd-modules): Define unconditionally.
32502
80b4e5f3
TS
325032012-05-10 Thomas Schwinge <thomas@schwinge.name>
32504
32505 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
32506
edadcbd6
ST
325072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32508
32509 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
32510 Return ENOENT when name is empty.
32511 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
32512
80694780
TS
325132012-05-10 Thomas Schwinge <thomas@schwinge.name>
32514
1792c087
TS
32515 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
32516
80694780
TS
32517 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
32518
6b645f0d
ST
325192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32520
80694780
TS
32521 Fix mlock in all cases except non-readable pages.
32522 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
32523 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 32524
6b645f0d
ST
32525 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
32526 (__mkdir): When path is `/', just fail with EEXIST.
32527 * sysdeps/mach/hurd/mkdirat.c: Likewise.
32528
e468f8a3
TS
325292012-05-10 Thomas Schwinge <thomas@schwinge.name>
32530
32531 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
32532 <sys/uio.h> (for writev).
32533 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
32534 and <sys/param.h> (for MIN).
32535
a4186cff
PT
325362012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32537
32538 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
32539 REQUESTED_TIME. Properly set the remaining time and return EINTR
32540 if interrupted.
32541
510bbf14
TS
325422012-05-10 Thomas Schwinge <thomas@schwinge.name>
32543
32544 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
32545 Depend on against $(link-rpcuserlibs).
32546
5d5722e8
ST
325472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32548
a4186cff
PT
32549 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
32550 (__libc_stack_end): Do not use attribute_relro.
32551 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
32552 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 32553 to libthread-provided value.
a4186cff
PT
32554 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
32555 attribute_relro.
5d5722e8 32556
37233df9
TS
325572012-05-10 Thomas Schwinge <thomas@schwinge.name>
32558
be971a2b
TS
32559 [BZ #3748]
32560 * bits/libc-lock.h (__libc_once_get): New macro.
32561 * sysdeps/mach/bits/libc-lock.h: Likewise.
32562 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
32563 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
32564 instead of using implementation details.
32565
37233df9
TS
32566 * libio/fileops.c: Unconditionally include <kernel-features.h>.
32567 * libio/freopen.c: Likewise.
32568 * libio/freopen64.c: Likewise.
32569 * misc/syslog.c: Likewise.
32570 * nscd/connections.c: Likewise.
32571 * nscd/netgroupcache.c: Likewise.
32572 * sysdeps/posix/getcwd.c: Likewise.
32573
38de94a5
RM
325742012-05-10 Roland McGrath <roland@hack.frob.com>
32575
32576 * math/w_ilogbf.c: Add #include <limits.h>.
32577
67530489
ST
325782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32579
a4186cff 32580 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
32581 path instead of returning without unlocking.
32582
67530489
ST
32583 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
32584 immediate-write ioctls.
32585 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
32586
5aa3a74a
TS
325872012-05-10 Thomas Schwinge <thomas@schwinge.name>
32588
18bad2ae
TS
32589 * sysdeps/mach/hurd/i386/init-first.c (init): Use
32590 __builtin_frame_address instead of making assumptions about the
32591 location of the return address relative to DATA. Force early load of
32592 the return address.
32593 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
32594 __builtin_frame_address.
32595
5aa3a74a
TS
32596 dup3 for GNU Hurd.
32597 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
32598 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
32599 implement dup3 and do some further code clean-ups.
32600 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
32601 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
32602
ecd0de9a
ST
326032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32604
cd9fa985
ST
32605 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
32606
a4186cff
PT
32607 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
32608 HURD_CRITICAL_END around holding _hurd_dtable_lock.
32609 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
32610 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
32611 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
32612 d->port.lock.
802ca5a5 32613
a4186cff
PT
32614 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
32615 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
32616 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 32617
bcf55240
TS
326182012-05-10 Thomas Schwinge <thomas@schwinge.name>
32619
6960eb42
TS
32620 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
32621 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
32622 definitions.
32623
eb43375f
TS
32624 accept4 for GNU Hurd.
32625 * include/sys/socket.h (__libc_accept4): New prototype.
32626 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
32627 to implement __libc_accept4.
32628 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
32629 __libc_accept4.
32630 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
32631
bcf55240
TS
32632 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
32633 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
32634 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
32635 signal-defines.sym.
32636
6178c55b
ST
326372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32638
a4186cff 32639 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 32640
6f080c2f
TS
326412012-05-10 Thomas Schwinge <thomas@schwinge.name>
32642
32643 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
32644 assertion on O_CLOEXEC flag.
32645 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
32646 * hurd/intern-fd.c: Likewise.
32647 * hurd/port2fd.c: Likewise.
32648
bcfe3a54
ST
326492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32650
32651 [BZ #3906]
32652 * bits/in.h (IPV6_PKTINFO): Define new macro.
32653 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
32654
89c9aa49
AZ
326552012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32656
32657 [BZ #13954]
32658 [BZ #13955]
32659 [BZ #13956]
32660 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
32661 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32662 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
32663 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32664 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32665 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32666 * math/libm-test.inc (logb_test) : Additional logb tests.
32667
021db4be
AJ
326682012-05-09 Andreas Schwab <schwab@linux-m68k.org>
32669 Andreas Jaeger <aj@suse.de>
32670
32671 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
32672 * configure: Regenerated.
32673 * config.h.in (LINK_OBSOLETE_RPC): New macro.
32674 * config.make.in (link-obsolete-rpc): New substituted variable.
32675 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
32676 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
32677 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32678 (shared-only-routines): Don't set it under [link-obsolete-rpc],
32679 so that libc.a contains the symbols.
32680 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32681 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
32682 * sunrpc/auth_none.c: Likewise.
32683 * sunrpc/auth_unix.c: Likewise.
32684 * sunrpc/authdes_prot.c: Likewise.
32685 * sunrpc/authuxprot.c: Likewise.
32686 * sunrpc/clnt_gen.c: Likewise.
32687 * sunrpc/clnt_perr.c: Likewise.
32688 * sunrpc/clnt_raw.c: Likewise.
32689 * sunrpc/clnt_simp.c: Likewise.
32690 * sunrpc/clnt_tcp.c: Likewise.
32691 * sunrpc/clnt_udp.c: Likewise.
32692 * sunrpc/clnt_unix.c: Likewise.
32693 * sunrpc/des_crypt.c: Likewise.
32694 * sunrpc/des_soft.c: Likewise.
32695 * sunrpc/get_myaddr.c: Likewise.
32696 * sunrpc/key_call.c: Likewise.
32697 * sunrpc/key_prot.c: Likewise.
32698 * sunrpc/netname.c: Likewise.
32699 * sunrpc/pm_getmaps.c: Likewise.
32700 * sunrpc/pm_getport.c: Likewise.
32701 * sunrpc/pmap_clnt.c: Likewise.
32702 * sunrpc/pmap_prot.c: Likewise.
32703 * sunrpc/pmap_prot2.c: Likewise.
32704 * sunrpc/pmap_rmt.c: Likewise.
32705 * sunrpc/publickey.c: Likewise.
32706 * sunrpc/rpc_cmsg.c: Likewise.
32707 * sunrpc/rpc_common.c: Likewise.
32708 * sunrpc/rpc_dtable.c: Likewise.
32709 * sunrpc/rpc_prot.c: Likewise.
32710 * sunrpc/rpc_thread.c: Likewise.
32711 * sunrpc/rtime.c: Likewise.
32712 * sunrpc/svc.c: Likewise.
32713 * sunrpc/svc_auth.c: Likewise.
32714 * sunrpc/svc_raw.c: Likewise.
32715 * sunrpc/svc_run.c: Likewise.
32716 * sunrpc/svc_tcp.c: Likewise.
32717 * sunrpc/svc_udp.c: Likewise.
32718 * sunrpc/svc_unix.c: Likewise.
32719 * sunrpc/svcauth_des.c: Likewise.
32720 * sunrpc/xcrypt.c: Likewise.
32721 * sunrpc/xdr.c: Likewise.
32722 * sunrpc/xdr_array.c: Likewise.
32723 * sunrpc/xdr_float.c: Likewise.
32724 * sunrpc/xdr_intXX_t.c: Likewise.
32725 * sunrpc/xdr_mem.c: Likewise.
32726 * sunrpc/xdr_rec.c: Likewise.
32727 * sunrpc/xdr_ref.c: Likewise.
32728 * sunrpc/xdr_sizeof.c: Likewise.
32729 * sunrpc/xdr_stdio.c: Likewise.
32730
b5c086a2
RM
327312012-05-10 Roland McGrath <roland@hack.frob.com>
32732
32733 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
32734 change. Update copyright years.
32735
6d74dd09
JM
327362012-05-10 Joseph Myers <joseph@codesourcery.com>
32737
32738 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
32739
28e72501
MK
327402012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
32741 Joseph Myers <joseph@codesourcery.com>
32742 Paul Pluzhnikov <ppluzhnikov@google.com>
32743
32744 [BZ #14012]
32745 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
32746 requiring rpcgen.
32747 [cross-compiling] (extra-libs): Likewise.
32748 [cross-compiling] (extra-libs-others): Likewise.
32749 [cross-compiling] (librpcsvc-routines): Likewise.
32750 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
32751 [cross-compiling] (omit-deps): Likewise.
32752 (sunrpc-CPPFLAGS): New variable.
32753 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
32754 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
32755 (cross-rpcgen-objs): New variable.
32756 (extra-objs): Append $(cross-rpcgen-objs).
32757 ($(cross-rpcgen-objs)): New rule.
32758 ($(objpfx)cross-rpcgen): Likewise.
32759 (rpcgen-cmd): Define to use $(built-program-file). Expand
32760 comment.
32761 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
32762 ($(objpfx)x%.stmp): Likewise.
32763 * sunrpc/proto.h [IS_IN_build] (_): Define.
32764 [IS_IN_build] (_libc_intl_domainname): Likewise.
32765
c8c59454
L
327662012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32767
32768 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
32769 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
32770 and R_X86_64_TPOFF64.
32771
6f27cd16
JM
327722012-05-10 Joseph Myers <joseph@codesourcery.com>
32773
32774 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
32775 sysdeps/unix/sysv/syscalls.list.
32776 (stime): Likewise.
32777 (utime): Likewise.
32778 * sysdeps/unix/sysv/syscalls.list: Remove file.
32779
02467e1c
PE
327802012-05-10 Paul Eggert <eggert@cs.ucla.edu>
32781
32782 [BZ #3440]
32783 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
32784 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
32785 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
32786 (__LC_IDENTIFICATION): Make these macros useful in #if
32787 expressions, as required by C99.
32788
da392631
AS
327892012-05-10 Andreas Schwab <schwab@linux-m68k.org>
32790
32791 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
32792 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
32793 after this.
32794
8115f29b
L
327952012-05-09 H.J. Lu <hongjiu.lu@intel.com>
32796
32797 * stdlib/longlong.h: Updated from GCC.
32798
bdd74070
AJ
327992012-05-09 Andreas Jaeger <aj@suse.de>
32800
edfe0dbe
AJ
32801 * nscd/nscd.c (run_modes): Make named enum, reorder so that
32802 default is first entry.
32803 (run_mode): Set type.
32804 (main): Remove informal message about syslog.
32805 (options): Fix typo.
32806
bcfe3a54
ST
32807 [BZ #14053]
32808 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 32809 to asm.
bcfe3a54
ST
32810 (lrint): Likewise.
32811 (llrintf): Likewise.
32812 (llrint): Likewise.
32813 (rint): Likewise.
32814 (rintf): Likewise.
32815 (nearbyint): Likewise.
32816 (nearbyintf): Likewise.
bdd74070 32817
91d8d69e
AJ
328182012-05-09 Andreas Jaeger <aj@suse.de>
32819 Pedro Alves <palves@redhat.com>
32820
32821 * nscd/nscd.c (run_mode): Use enum.
32822 (main): Cleanup coding style issue.
32823
bb90b80b
AJ
328242012-05-09 Alexandre Oliva <aoliva@redhat.com>
32825 Andreas Jaeger <aj@suse.de>
32826
bcfe3a54
ST
32827 * nscd/nscd.c (go_background): Replaced with...
32828 (run_mode): ... this.
bb90b80b 32829 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
32830 (options): Add -F --foreground.
32831 (main): Implement it.
32832 (parse_opt): Parse it.
bb90b80b 32833
1a4b75a1
AJ
328342012-05-09 Andreas Jaeger <aj@suse.de>
32835
32836 [BZ #14083]
32837 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
32838 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
32839 -Wconversion warning.
32840 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
32841 Likewise.
32842
b1cc2472
JM
328432012-05-09 Joseph Myers <joseph@codesourcery.com>
32844
32845 * conform/data/locale.h-data (NULL): Use macro-constant. Require
32846 == 0.
32847 (LC_ALL): Use macro-int-constant.
32848 (LC_COLLATE): Likewise.
32849 (LC_CTYPE): Likewise.
32850 (LC_MESSAGES): Likewise.
32851 (LC_MONETARY): Likewise.
32852 (LC_NUMERIC): Likewise.
32853 (LC_TIME): Likewise.
32854 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
32855 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32856 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32857 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
32858 Specify type.
32859 [C99-based standards] (float_t): Expect type.
32860 [C99-based standards] (double_t): Expect type.
32861 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
32862 type.
32863 [C99-based standards] (HUGE_VALL): Likewise.
32864 [C99-based standards] (INFINITY): Likewise.
32865 [C99-based standards] (NAN): Likewise.
32866 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
32867 [C99-based standards] (FP_NAN): Likewise.
32868 [C99-based standards] (FP_NORMAL): Likewise.
32869 [C99-based standards] (FP_SUBNORMAL): Likewise.
32870 [C99-based standards] (FP_ZERO): Likewise.
32871 [C99-based standards] (FP_FAST_FMA): Use
32872 optional-macro-int-constant. Specify type. Require == 1.
32873 [C99-based standards] (FP_FAST_FMAF): Likewise.
32874 [C99-based standards] (FP_FAST_FMAL): Likewise.
32875 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
32876 [C99-based standards] (FP_ILOGBNAN): Likewise.
32877 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
32878 Specify type.
32879 [C99-based standards] (MATH_ERREXCEPT): Likewise.
32880 [C99-based standards] (math_errhandling): Specify type.
32881 [ISO99 || ISO11] (signgam): Do not allow.
32882 [non-C99-based standards] (copysignf): Do not allow.
32883 [non-C99-based standards] (exp2f): Likewise.
32884 [non-C99-based standards] (log2f): Likewise.
32885 [non-C99-based standards] (modff): Allow.
32886 [non-C99-based standards] (erff): Do not allow.
32887 [non-C99-based standards] (erfcf): Likewise.
32888 [non-C99-based standards] (gammaf): Likewise.
32889 [non-C99-based standards] (hypotf): Likewise.
32890 [non-C99-based standards] (j0f): Likewise.
32891 [non-C99-based standards] (j1f): Likewise.
32892 [non-C99-based standards] (jnf): Likewise.
32893 [non-C99-based standards] (lgammaf): Likewise.
32894 [non-C99-based standards] (tgammaf): Likewise.
32895 [non-C99-based standards] (y0f): Likewise.
32896 [non-C99-based standards] (y1f): Likewise.
32897 [non-C99-based standards] (ynf): Likewise.
32898 [non-C99-based standards] (isnanf): Likewise.
32899 [non-C99-based standards] (acoshf): Likewise.
32900 [non-C99-based standards] (asinhf): Likewise.
32901 [non-C99-based standards] (atanhf): Likewise.
32902 [non-C99-based standards] (cbrtf): Likewise.
32903 [non-C99-based standards] (expm1f): Likewise.
32904 [non-C99-based standards] (ilogbf): Likewise.
32905 [non-C99-based standards] (log1pf): Likewise.
32906 [non-C99-based standards] (logbf): Likewise.
32907 [non-C99-based standards] (nextafterf): Likewise.
32908 [non-C99-based standards] (remainderf): Likewise.
32909 [non-C99-based standards] (rintf): Likewise.
32910 [non-C99-based standards] (scalbf): Likewise.
32911 [non-C99-based standards] (copysignl): Likewise.
32912 [non-C99-based standards] (exp2l): Likewise.
32913 [non-C99-based standards] (log2l): Likewise.
32914 [non-C99-based standards] (modfl): Allow.
32915 [non-C99-based standards] (erfl): Do not allow.
32916 [non-C99-based standards] (erfcl): Likewise.
32917 [non-C99-based standards] (gammal): Likewise.
32918 [non-C99-based standards] (hypotl): Likewise.
32919 [non-C99-based standards] (j0l): Likewise.
32920 [non-C99-based standards] (j1l): Likewise.
32921 [non-C99-based standards] (jnl): Likewise.
32922 [non-C99-based standards] (lgammal): Likewise.
32923 [non-C99-based standards] (tgammal): Likewise.
32924 [non-C99-based standards] (y0l): Likewise.
32925 [non-C99-based standards] (y1l): Likewise.
32926 [non-C99-based standards] (ynl): Likewise.
32927 [non-C99-based standards] (isnanl): Likewise.
32928 [non-C99-based standards] (acoshl): Likewise.
32929 [non-C99-based standards] (asinhl): Likewise.
32930 [non-C99-based standards] (atanhl): Likewise.
32931 [non-C99-based standards] (cbrtl): Likewise.
32932 [non-C99-based standards] (expm1l): Likewise.
32933 [non-C99-based standards] (ilogbl): Likewise.
32934 [non-C99-based standards] (log1pl): Likewise.
32935 [non-C99-based standards] (logbl): Likewise.
32936 [non-C99-based standards] (nextafterl): Likewise.
32937 [non-C99-based standards] (remainderl): Likewise.
32938 [non-C99-based standards] (rintl): Likewise.
32939 [non-C99-based standards] (scalbl): Likewise.
32940 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32941 [non-C99-based standards] (FP_*): Do not allow.
32942 [C99-based standards] (FP_*): Change to
32943 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32944 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32945 allow.
32946 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
32947 (SIG_ERR): Likewise.
32948 [X/Open-based standards] (SIG_HOLD): Likewise.
32949 (SIG_IGN): Likewise.
32950 (SIGABRT): Use macro-int-constant. Specify type. Require
32951 positive value.
32952 (SIGFPE): Likewise.
32953 (SIGILL): Likewise.
32954 (SIGINT): Likewise.
32955 (SIGSEGV): Likewise.
32956 (SIGTER): Likewise.
32957 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
32958 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
32959 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
32960 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
32961 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
32962 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
32963 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
32964 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
32965 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
32966 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
32967 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
32968 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
32969 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
32970 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
32971 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
32972 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
32973 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
32974 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
32975 [X/Open-based standards] (SIGTRAP): Likewise.
32976 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
32977 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
32978 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
32979 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
32980 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32981 allow.
32982
b9f1922d
IW
329832012-05-08 Ian Wienand <ianw@vmware.com>
32984
32985 [BZ #14080]
32986 * time/tzset.c (__tzset_parse_tz): Update default rules for
32987 daylight time changes in the Energy Policy Act of 2005.
32988
1db86e88
AJ
329892012-05-09 Andreas Jaeger <aj@suse.de>
32990
32991 [BZ #13983]
32992 * elf/ldconfig.c (parse_conf): Change string to make clear that
32993 ldconfig only issued a warning if ld.so.conf does not exist.
32994
dee4a4e3
DM
329952012-05-08 David S. Miller <davem@davemloft.net>
32996
ee0db190
DM
32997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
32998 movxtod instead of popping the value on the stack.
32999
dee4a4e3
DM
33000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33001
6a43ec98
CD
330022012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
33003
33004 * config.h.in: Add HAVE_ARM_PCS_VFP.
33005
05c2c961
RMG
330062012-05-08 Roland Mc Grath <roland@hack.frob.com>
33007
bcfe3a54
ST
33008 [BZ #13979]
33009 * include/features.h: Warn if user requests __FORTIFY_SOURCE
33010 checking but the checks are disabled for any reason.
05c2c961 33011
4b30f61a
L
330122012-05-08 H.J. Lu <hongjiu.lu@intel.com>
33013
33014 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33015 and ELF64_R_TYPE with ELFW(R_TYPE).
33016
eee2bc67
JM
330172012-05-08 Joseph Myers <joseph@codesourcery.com>
33018
7ea5391a
JM
33019 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33020 (ulimit): Likewise.
33021
eee2bc67
JM
33022 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33023 (settimeofday): Likewise.
33024
abb66a67
MF
330252012-05-08 Mike Frysinger <vapier@gentoo.org>
33026
33027 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
33028 a struct th_u2 inside the union, and move tu_block/tu_code into
33029 a new th_u3 union of tu_block/tu_code inside of that. Move
33030 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
33031 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
33032 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33033 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33034 (th_stuff): Change to th_u1.tu_stuff.
33035 (th_data): Define.
33036 (th_msg): Change to th_u1.th_u2.tu_data.
33037
7f18b530
DM
330382012-05-07 David S. Miller <davem@davemloft.net>
33039
05760585
DM
33040 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33041
7f18b530
DM
33042 [BZ #14074]
33043 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33044 (SETUP_PIC_REG): Use it.
33045 (SETUP_PIC_REG_LEAF): Use it.
33046
495fd99f
JM
330472012-05-07 Joseph Myers <joseph@codesourcery.com>
33048
33049 [BZ #13885]
33050 [BZ #13923]
33051 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33052 USE_AS_EXPM1L.
33053 (EXPL_FINITE): Likewise.
33054 (FLDLOG): Likewise.
33055 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33056 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33057 e_expl.S.
33058 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33059 USE_AS_EXPM1L.
33060 (EXPL_FINITE): Likewise.
33061 (FLDLOG): Likewise.
33062 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33063 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33064 e_expl.S.
33065 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
33066 test of -max_value argument for long double.
33067 * sysdeps/i386/fpu/libm-test-ulps: Update.
33068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33069
6693d694
DM
330702012-05-06 David S. Miller <davem@davemloft.net>
33071
33072 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33073 quad soft-float symbols whose references which are compiler
33074 generated.
33075 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33076
6c23e11c
JM
330772012-05-06 Joseph Myers <joseph@codesourcery.com>
33078
d8b82cad
JM
33079 [BZ #13884]
33080 [BZ #13914]
33081 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33082 USE_AS_EXP10L.
33083 (EXPL_FINITE): Likewise.
33084 (FLDLOG): Likewise.
33085 (c0): Likewise.
33086 (c1): Likewise.
33087 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33088 Adjust comments for base varying.
33089 (__expl_finite): Change alias to EXPL_FINITE.
33090 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33091 e_expl.S.
33092 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33093 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33094 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33095 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33096 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33097 USE_AS_EXP10L.
33098 (EXPL_FINITE): Likewise.
33099 (FLDLOG): Likewise.
33100 (c0): Likewise.
33101 (c1): Likewise.
33102 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33103 Adjust comments for base varying.
33104 (__expl_finite): Change alias to EXPL_FINITE.
33105 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
33106 tests for bugs.
33107 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33108
6c23e11c
JM
33109 [BZ #14064]
33110 * math/libm-test.inc (check_float_internal): Correct ulp
33111 calculation for subnormal expected results.
33112
29ba805c
AJ
331132012-05-06 Andreas Jaeger <aj@suse.de>
33114
33115 * Makeconfig (+math-flags): New, set to -frounding-math.
33116 (+cflags): Add +math-flags so that all of glibc gets compiled with
33117 it.
33118
33119 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33120
7b17aeda
JM
331212012-05-05 Joseph Myers <joseph@codesourcery.com>
33122
5779f134
JM
33123 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33124 Disable one test.
33125
41498f4d
JM
33126 [BZ #13787]
33127 [BZ #13922]
33128 [BZ #14036]
33129 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33130 (__ieee754_expl): Allow for and saturate large arguments.
33131 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33132 (u_threshold): Likewise.
33133 (__exp): Call __ieee754_exp before checking for overflow and
33134 underflow.
33135 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33136 (u_threshold): Likewise.
33137 (__expf): Call __ieee754_expf before checking for overflow and
33138 underflow.
33139 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33140 (u_threshold): Likewise.
33141 (__expl): Call __ieee754_expl before checking for overflow and
33142 underflow.
33143 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33144 (__ieee754_expl): Allow for and saturate large arguments.
33145 * math/libm-test.inc (exp_test): Add another test. Do not allow
33146 missing overflow exception on overflow.
33147 (expm1_test): Do not allow missing overflow exception on overflow.
33148
6698b8bf
JM
33149 * sysdeps/i386/fpu/e_expl.c: Move to ...
33150 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
33151 rather than using inline asm.
33152 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33153 * sysdeps/x86_64/fpu/e_expl.S: Copy from
33154 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33155
7b17aeda
JM
33156 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33157 (nice): Likewise.
33158 (poll): Likewise.
33159 (signal): Likewise.
33160 (time): Likewise.
33161 (times): Likewise.
33162
f7c85819
JM
331632012-05-04 Joseph Myers <joseph@codesourcery.com>
33164
33165 * sysdeps/unix/syscalls.list (adjtime): Add entry from
33166 sysdeps/unix/common/syscalls.list.
33167 (fchmod): Likewise.
33168 (fchown): Likewise.
33169 (ftruncate): Likewise.
33170 (getrusage): Likewise.
33171 (gettimeofday): Likewise.
33172 (setpgid): Likewise.
33173 (setregid): Likewise.
33174 (setreuid): Likewise.
33175 (sigaction): Likewise.
33176 (truncate): Likewise.
33177 (vhangup): Likewise.
33178 * sysdeps/unix/common/syscalls.list: Remove file.
33179 * sysdeps/unix/bsd/Implies: Don't include unix/common.
33180 * sysdeps/unix/sysv/linux/Implies: Likewise.
33181
336270d0
L
331822012-05-04 H.J. Lu <hongjiu.lu@intel.com>
33183
33184 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33186 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33187 Moved to ...
33188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33189 Here.
33190 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33191 to ...
33192 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33193 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33194 to ...
33195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33196 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33197 to ...
33198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33199 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33200 to ...
33201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33202 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33203 to ...
33204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33205 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33206 to ...
33207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33208 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33209 to ...
33210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33211 Here.
33212 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33213 to ...
33214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33215 Here.
33216 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33217 to ...
33218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33219 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33220 Moved to ...
33221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33222 Here.
33223 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33224 to ...
33225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33226
d128e450
JM
332272012-05-04 Joseph Myers <joseph@codesourcery.com>
33228
fa8ee516
JM
33229 * sysdeps/unix/common/bits/dirent.h: Remove file.
33230 * sysdeps/unix/common/bits/fcntl.h: Likewise.
33231
d128e450
JM
33232 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33233 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33234 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33235 * sysdeps/unix/bsd/isatty.c: Likewise.
33236 * sysdeps/unix/bsd/tcdrain.c: Likewise.
33237 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33238 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33239
ff8faaf0 332402012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 33241
62881be4 33242 [BZ #13563]
31dc8730
AZ
33243 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33244 long double comparison inaccuracies.
33245 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33247
6fef930c
AS
332482012-05-04 Andreas Schwab <schwab@linux-m68k.org>
33249
33250 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33251 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33252
8f203e6c
JM
332532012-05-04 Joseph Myers <joseph@codesourcery.com>
33254
33255 [BZ #14049]
33256 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33257 nonzero digits before rounding a hex value.
33258 * stdlib/tst-strtod.c (tests): Add another test.
33259
5197d9c2
AK
332602012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33261
33262 * sysdeps/s390/fpu/libm-test-ulps: Update.
33263
f0c1dedf
AJ
332642012-05-03 Andreas Jaeger <aj@suse.de>
33265
33266 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33267 does not get optimized out.
33268 (malloc_opt_barrier): New.
33269
a65ef2ae 332702012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 33271 Roland McGrath <roland@hack.frob.com>
a65ef2ae 33272
2b942cb7 33273 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 33274 intermediate file deletion.
2b942cb7 33275 (generated): Add .symlist files.
a65ef2ae 33276
54b71e02
JM
332772012-05-03 Joseph Myers <joseph@codesourcery.com>
33278
33279 [BZ #13775]
33280 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33281 Redirect under this condition.
33282 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33283 [__USE_GNU] (__dprintf_chk): Not under this condition.
33284 [__USE_GNU] (__vdprintf_chk): Likewise.
33285 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33286 under this condition.
33287 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33288 [__USE_XOPEN2K8] (dprintf): Define under this condition.
33289 [__USE_XOPEN2K8] (vdprintf): Likewise.
33290 [__USE_GNU] (__dprintf_chk): Not under this condition.
33291 [__USE_GNU] (__vdprintf_chk): Likewise.
33292 [__USE_GNU] (dprintf): Likewise.
33293 [__USE_GNU] (vdprintf): Likewise.
33294
d3dfcc41
RM
332952012-05-03 Roland McGrath <roland@hack.frob.com>
33296
33297 * elf/Makefile (common-generated): Set this instead of generated for
33298 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
33299 $(all-built-dso)-derived lists.
33300
7ac30cc5
AJ
333012012-05-03 Andreas Jaeger <aj@suse.de>
33302
0c51e550
AJ
33303 * sysdeps/i386/fpu/libm-test-ulps: Update.
33304
7ac30cc5
AJ
33305 * FAQ: Removed.
33306 * FAQ.in: Likewise.
33307 * scripts/gen-FAQ.pl: Likewise.
33308 * manual/install.texi (Installation): Point to online location of
33309 FAQ.
33310 * Makefile (files-for-dist): Remove FAQ.
33311 (FAQ): Remove.
33312
d4c2917f
AM
333132012-05-02 Allan McRae <allan@archlinux.org>
33314
33315 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33316 (LDFLAGS-reldepmod5.so): Likewise.
33317 (LDFLAGS-reldep6mod1.so): Likewise.
33318 (LDFLAGS-reldep6mod4.so): Likewise.
33319 (LDFLAGS-reldep8mod3.so): Likewise.
33320 (LDFLAGS-unload4mod1.so): Likewise.
33321 (LDFLAGS-unload4mod2.so): Likewise.
33322 (LDFLAGS-tst-initorder): Likewise.
33323 (LDFLAGS-tst-initordera2.so): Likewise.
33324 (LDFLAGS-tst-initordera3.so): Likewise.
33325 (LDFLAGS-tst-initordera4.so): Likewise.
33326 (LDFLAGS-tst-initorderb2.so): Likewise.
33327 (LDFLAGS-noload): Likewise.
33328 (LDFLAGS-next): Likewise.
33329 (LDFLAGS-order2mod1.so): Likewise.
33330 (LDFLAGS-order2mod2.so): Likewise.
33331 (LDFLAGS-tst-initorder2): Likewise.
33332 (LDFLAGS-tst-initorder2a.so): Likewise.
33333 (LDFLAGS-tst-initorder2b.so): Likewise.
33334 (LDFLAGS-tst-initorder2c.so): Likewise.
33335 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33336
d77f993f
DM
333372012-05-02 David S. Miller <davem@davemloft.net>
33338
33339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33340
171a70b4
PP
333412012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
33342
33343 [BZ #14055]
33344 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33345
0be196ad
AJ
333462012-05-02 Andreas Jaeger <aj@suse.de>
33347
33348 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33349 since we manipulate rounding mode.
33350 (CPPFLAGS-test-idouble.c): Likewise.
33351 (CPPFLAGS-test-ifloat.c): Likewise.
33352 (CFLAGS-test-ldouble.c): Likewise.
33353 (CFLAGS-test-double.c): Likewise.
33354 (CFLAGS-test-float.c): Likewise.
33355 (CFLAGS-test-misc.c): Likewise.
33356 (CFLAGS-test-test-fenv.c): Likewise.
33357
4f9d04aa
AZ
333582012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33359
2b942cb7
RM
33360 [BZ #2550]
33361 [BZ #2570]
33362 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33363 comparisons to determine direction to adjust input.
4f9d04aa 33364
82a79e7d
RM
333652012-05-01 Roland McGrath <roland@hack.frob.com>
33366
f5a01ca9
RM
33367 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33368 output to the target.
33369
90fe4186
RM
33370 * scripts/localplt.awk: New file.
33371 * elf/Makefile ($(objpfx)check-localplt): Target removed.
33372 (check-localplt-CFLAGS): Variable removed.
33373 ($(all-built-dso:=.jmprel)): New static pattern rule.
33374 (generated): Add those targets.
33375 (localplt-built-dso): New variable.
33376 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33377
33378 * elf/check-localplt.c: File removed.
33379
82397ed6
RM
33380 * scripts/check-execstack.awk: New file.
33381 * elf/Makefile ($(objpfx)check-execstack): Target removed.
33382 (check-execstack-CFLAGS): Variable removed.
33383 ($(objpfx)check-execstack.h): Target removed.
33384 ($(objpfx)execstack-default): New target.
33385 (generated): Add that instead of check-execstack.h.
33386 ($(all-built-dso:=.phdr)): New static pattern rule.
33387 (generated): Add those targets.
33388 * elf/check-execstack.c: File removed.
33389
82a79e7d
RM
33390 * scripts/check-textrel.awk: New file.
33391 * elf/Makefile ($(objpfx)check-textrel): Target removed.
33392 (check-textrel-CFLAGS): Variable removed.
33393 (all-built-dso): Use := to define.o
33394 ($(all-built-dso:=.dyn)): New static pattern rule.
33395 (generated): Add those targets.
33396 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33397 * config.make.in (READELF): New substituted variable.
33398 * elf/check-textrel.c: File removed.
33399
62fde54f 334002012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 33401
615605c9
JM
33402 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33403 allow.
33404 * conform/data/ctype.h-data [C99-based standards] (isblank):
33405 Expect function.
33406 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33407 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33408 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33409 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33410 Specify type. Require positive value.
33411 (EILSEQ): Likewise.
33412 (ERANGE): Likewise.
33413 [ISO || POSIX] (EILSEQ): Do not expect.
33414 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33415 Specify type. Require positive value.
33416 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33417 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33418 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33419 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33420 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33421 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33422 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33423 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33424 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33425 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33426 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33427 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33428 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33429 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33430 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33431 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33432 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33433 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33434 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33435 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33436 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33437 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33438 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33439 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33440 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33441 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33442 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33443 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33444 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33445 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33446 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33447 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33448 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33449 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33450 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33451 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33452 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33453 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33454 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33455 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33456 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33457 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33458 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33459 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33460 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33461 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33462 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33463 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33464 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33465 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33466 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33467 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33468 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33469 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33470 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33471 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33472 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33473 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33474 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33475 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33476 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33477 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33478 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33479 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33480 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33481 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33482 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33483 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33484 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33485 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33486 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33487 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33488 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33489 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33490 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
33491 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
33492 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
33493 Require >= 2.
33494 (FLT_ROUNDS): Expect as macro, not constant.
33495 (FLT_MANT_DIG): Use macro-int-constant.
33496 (DBL_MANT_DIG): Likewise.
33497 (LDBL_MANT_DIG): Likewise.
33498 (FLT_DIG): Likewise.
33499 (DBL_DIG): Likewise.
33500 (LDBL_DIG): Likewise.
33501 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
33502 (DBL_MIN_EXP): Likewise.
33503 (LDBL_MIN_EXP): Likewise.
33504 (FLT_MAX_EXP): Use macro-int-constant.
33505 (DBL_MAX_EXP): Likewise.
33506 (LDBL_MAX_EXP): Likewise.
33507 (FLT_MAX_10_EXP): Likewise.
33508 (DBL_MAX_10_EXP): Likewise.
33509 (LDBL_MAX_10_EXP): Likewise.
33510 (FLT_MAX): Use macro-constant.
33511 (DBL_MAX): Likewise.
33512 (LDBL_MAX): Likewise.
33513 (FLT_EPSILON): Use macro-constant. Give upper bound.
33514 (DBL_EPSILON): Likewise.
33515 (LDBL_EPSILON): Likewise.
33516 (FLT_MIN): Likewise.
33517 (DBL_MIN): Likewise.
33518 (LDBL_MIN): Likewise.
33519 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
33520 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
33521 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
33522 [ISO11] (FLT_HAS_SUBNORM): Likewise.
33523 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
33524 [ISO11] (DBL_DECIMAL_DIG): Likewise.
33525 [ISO11] (FLT_DECIMAL_DIG): Likewise.
33526 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
33527 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
33528 [ISO11] (FLT_TRUE_MIN): Likewise.
33529 [ISO11] (LDBL_TRUE_MIN): Likewise.
33530 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33531 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
33532 (SCHAR_MIN): Use macro-int-constant. Specify type.
33533 (SCHAR_MAX): Likewise.
33534 (UCHAR_MAX): Likewise.
33535 (CHAR_MIN): Likewise.
33536 (CHAR_MAX): Likewise.
33537 (MB_LEN_MAX): Use macro-int-constant.
33538 (SHRT_MIN): Use macro-int-constant. Specify type.
33539 (SHRT_MAX): Likewise.
33540 (USHRT_MAX): Likewise.
33541 (INT_MAX): Likewise.
33542 (INT_MIN): Use macro-int-constant. Specify type. Make upper
33543 bound negative.
33544 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
33545 bound with "U".
33546 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33547 bound with "L".
33548 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
33549 bound negative. Suffix upper bound with "L".
33550 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33551 bound with "UL".
33552 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
33553 Specify type.
33554 [C99-based standards] (LLONG_MAX): Likewise.
33555 [C99-based standards] (ULLONG_MAX): Likewise.
33556 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
33557 == 0.
33558 [ISO11] (max_align_t): Require type.
33559 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33560
c9140a62
JM
33561 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
33562 from $CFLAGS, without defining away __attribute__ calls.
33563 (checknamespace): Use $CFLAGS_namespace.
33564
9af0bf29
JM
33565 * conform/conformtest.pl (@keywords): Only include C99 keywords
33566 for standards based on C99 or C11.
33567
343222a2
JM
33568 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
33569 Disable tests.
33570 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
33571 UNIX98]: Likewise.
33572
661f8cf0
JM
33573 * conform/conformtest.pl: Handle "macro-int-constant" and test for
33574 usability of symbols in #if.
33575
ee74b9cb
JM
33576 * conform/conformtest.pl: If macro or constant types start
33577 "promoted:", expect the symbol to be of the following type
33578 promoted by the integer promotions.
62fde54f 33579
aafc49b3
JM
33580 * conform/conformtest.pl: Parse all "constant" and "macro" lines
33581 in one place. Also handle "macro-constant".
33582
fefdf574
JM
33583 * conform/conformtest.pl: Only accept expected macro values with
33584 "==". Parse all "macro" lines in one place.
33585 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
33586
f2d922fe
JM
33587 * conform/conformtest.pl: Handle braced types on "constant" lines
33588 instead of handling "typed-constant".
33589 * conform/data/signal.h-data: Use "constant" instead of
33590 "typed-constant".
33591
d22956c9
JM
33592 * conform/conformtest.pl: Handle "optional-" at start of lines in
33593 one place rather than duplicating several cases. Handle each
33594 format of "macro" line with initial "optional-".
33595
028e2e38
JM
33596 * conform/conformtest.pl: Only accept expected constant or
33597 optional-constant values with "==". Parse all "constant" lines in
33598 one place. Parse all "optional-constant" lines in one place.
33599 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
33600 * conform/data/fmtmsg.h-data: Likewise.
33601 * conform/data/netinet/in.h-data: Likewise.
33602 * conform/data/tar.h-data: Likewise.
33603 * conform/data/limits.h-data: Use "==" form on "constant" and
33604 "optional-constant" lines.
33605
1b8f2850
JM
33606 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
33607 Use -std=c99 for XOPEN2K.
33608 (@knownproblems): Remove.
33609 (newtoken): Don't check %isknown.
33610
a05a144b
JM
33611 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
33612 Do not expect macro.
33613 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
33614 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
33615 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
33616 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
33617 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
33618 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
33619 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
33620 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
33621 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
33622 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
33623 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
33624 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
33625 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
33626 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
33627 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
33628 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
33629 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
33630 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
33631 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
33632 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
33633 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
33634 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
33635 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
33636 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
33637 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
33638 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
33639 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
33640 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
33641 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
33642 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
33643 [XPG3] (acosh): Likewise.
33644 [XPG3] (asinh): Likewise.
33645 [XPG3] (atanh): Likewise.
33646 [XPG3] (cbrt): Likewise.
33647 [XPG3] (expm1): Likewise.
33648 [XPG3] (ilogb): Likewise.
33649 [XPG3] (log1p): Likewise.
33650 [XPG3] (logb): Likewise.
33651 [XPG3] (nextafter): Likewise.
33652 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
33653 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
33654 [XPG3] (remainder): Likewise.
33655 [XPG3] (rint): Likewise.
33656 [XPG3 || XPG4 || UNIX98] (round): Likewise.
33657 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
33658 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
33659 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
33660 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
33661 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
33662 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
33663 [UNIX98 || XOPEN2K] (scalb): Expect.
33664 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
33665 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
33666 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
33667 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
33668 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
33669 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
33670 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
33671 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
33672 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
33673 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
33674 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
33675 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
33676 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
33677 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
33678 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
33679 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
33680 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
33681 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
33682 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
33683 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
33684 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
33685 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
33686 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
33687 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
33688 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
33689 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
33690 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
33691 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
33692 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
33693 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
33694 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
33695 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
33696 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
33697 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
33698 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
33699 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
33700 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
33701 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
33702 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
33703 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
33704 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
33705 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
33706 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
33707 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
33708 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
33709 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
33710 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
33711 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
33712 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
33713 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
33714 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
33715 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
33716 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
33717 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
33718 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
33719 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
33720 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
33721 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
33722 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
33723 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
33724 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
33725 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
33726 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
33727 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
33728 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
33729 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
33730 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
33731 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
33732 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
33733 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
33734 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
33735 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
33736 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
33737 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
33738 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
33739 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
33740 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
33741 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
33742 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
33743 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
33744 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
33745 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
33746 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
33747 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
33748 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
33749 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
33750 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
33751 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
33752 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
33753 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
33754 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
33755 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
33756 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
33757 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
33758 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
33759 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
33760 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
33761 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
33762 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
33763 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
33764 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
33765 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
33766 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
33767 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
33768 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
33769 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
33770 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
33771 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
33772 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
33773 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
33774 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
33775 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
33776 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
33777 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
33778 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
33779 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
33780 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
33781 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
33782 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
33783 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
33784 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
33785 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
33786 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
33787 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
33788 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
33789 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
33790 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
33791 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
33792 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
33793 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
33794 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
33795 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
33796 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
33797 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
33798 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
33799 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
33800 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
33801
73c5ebe3
JM
33802 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
33803 _XOPEN_SOURCE_EXTENDED for XPG4.
33804
39c33b6c
JM
33805 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
33806
62fde54f
JM
33807 * Makeconfig (localtime): Remove variable.
33808 (inst_localtime-file): Likewise.
33809
0741d64c
AS
338102012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33811
33812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33813 Update.
33814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33815 Update.
33816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33817 Update.
33818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33819 Update.
33820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33821 Update.
33822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
33823 Update.
33824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33825 Update.
33826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
33827 Update.
33828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33829 Update.
33830
7cb029ee
JM
338312012-05-01 Joseph Myers <joseph@codesourcery.com>
33832
33833 [BZ #2550]
33834 [BZ #2570]
33835 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
33836 comparisons to determine direction to adjust input.
33837 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33838 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
33839 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33840 Likewise.
33841 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33842 Likewise.
33843 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33844 Likewise.
33845 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33846 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33847 Likewise.
33848 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33849 Likewise.
33850 * math/libm-test.inc (nexttoward_test): Add more tests.
33851
412bd966
AS
338522012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33853
33854 [BZ #14040]
33855 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
33856 in version GLIBC_2.1, not GLIBC_2.0.
33857 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
33858 Likewise.
33859
9568c0c2
JM
338602012-04-30 Joseph Myers <joseph@codesourcery.com>
33861
adfbc8ac
JM
33862 [BZ #13942]
33863 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
33864 (1 - x) * (1 + x).
33865 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33866 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
33867 * math/libm-test.inc (acos_test): Add more tests.
33868 (asin_test): Likewise.
33869 * sysdeps/i386/fpu/libm-test-ulps: Update.
33870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33871
5ba3cc69
JM
33872 [BZ #14034]
33873 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
33874 of square root.
33875 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
33876 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33877 * math/libm-test.inc (acos_test_tonearest): New function.
33878 (acos_test_towardzero): Likewise.
33879 (acos_test_downward): Likewise.
33880 (acos_test_upward): Likewise.
33881 (asin_test_tonearest): Likewise.
33882 (asin_test_towardzero): Likewise.
33883 (asin_test_downward): Likewise.
33884 (asin_test_upward): Likewise.
33885 (main): Call the new functions.
33886 * sysdeps/i386/fpu/libm-test-ulps: Update.
33887 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33888
9568c0c2
JM
33889 [BZ #13884]
33890 [BZ #13924]
33891 * math/e_exp10.c: Include <float.h>.
33892 (__ieee754_exp10): Handle underflow here rather than multiplying
33893 large negative argument by M_LN10.
33894 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
33895 of __ieee754_expf.
33896 * math/e_exp10l.c: Include <float.h>.
33897 (__ieee754_exp10l): Handle underflow here rather than multiplying
33898 large negative argument by M_LN10l.
33899 * math/libm-test.inc (exp10_test): Add another test. Do not allow
33900 spurious overflow exception on underflow.
33901
5ac3ea17
MP
339022012-04-29 Marek Polacek <polacek@redhat.com>
33903
33904 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
33905 (__fortify_function): New macro.
33906 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
33907 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
33908 __extern_always_inline.
33909 * libio/bits/stdio2.h: Likewise.
33910 * libio/bits/stdio.h: Likewise.
33911 * string/string.h: Likewise.
33912 * string/bits/string3.h: Likewise.
33913 * include/stdio.h: Likewise.
33914 * stdlib/bits/stdlib.h: Likewise.
33915 * stdlib/stdlib.h: Likewise.
33916 * rt/bits/mqueue2.h: Likewise.
33917 * rt/mqueue.h: Likewise.
33918 * posix/bits/unistd.h: Likewise.
33919 * posix/unistd.h: Likewise.
33920 * io/bits/poll2.h: Likewise.
33921 * io/bits/fcntl2.h: Likewise.
33922 * io/fcntl.h: Likewise.
33923 * io/sys/poll.h: Likewise.
33924 * misc/bits/syslog.h: Likewise.
33925 * misc/bits/syslog-ldbl.h: Likewise.
33926 * misc/sys/syslog.h: Likewise.
33927 * socket/bits/socket2.h: Likewise.
33928 * socket/sys/socket.h: Likewise.
33929 * debug/tst-chk1.c: Likewise.
33930 * wcsmbs/bits/wchar2.h: Likewise.
33931 * wcsmbs/bits/wchar-ldbl.h: Likewise.
33932 * wcsmbs/wchar.h: Likewise.
33933
ecf0ebfb
AJ
339342012-04-29 Andreas Jaeger <aj@suse.de>
33935
33936 * Makerules (tests): Remove enable-check-abi protection.
33937 (check-abi-warn): Remove.
33938 (check-abi-%): Remove check-abi-warn usage.
33939
33940 * configure.in: Remove check-abi configure option.
33941 * configure: Regenerated.
33942 * config.make.in (enable-check-abi): Remove.
33943
6d5c57fa
AS
339442012-04-28 Andreas Schwab <schwab@linux-m68k.org>
33945
24c5d07e 33946 [BZ #14033]
ded5180a
AS
33947 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
33948 double functions to double *_finite functions.
33949
7e0d315d
AS
33950 [BZ #13941]
33951 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
33952 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
33953 LDBL_MIN_EXP.
33954 * stdio-common/Makefile (tests): Add tst-sprintf3.
33955 * stdio-common/tst-sprintf3.c: New file.
33956
6d5c57fa
AS
33957 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
33958 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
33959
0749ff8b
JM
339602012-04-28 Joseph Myers <joseph@codesourcery.com>
33961
33962 * conform/conformtest.pl: Remove duplicate typed-constant
33963 handling.
33964
8dbd5d7b
DM
339652012-04-28 David S. Miller <davem@davemloft.net>
33966
33967 * Makerules (%.abilist): Add vpath on sysdep_dirs.
33968 (check-abi-%): Remove AWK script prerequisite and explicit
33969 abilist directory.
33970 (check-abi): Rewrite to just diff the symlist with the abilist.
33971 (config-tls, config-abi-config): Delete, no longer used.
33972 (update-abi-%): Remove AWK script and explicit abilist directory.
33973 (update-abi): Rewrite to simply compare and conditionally copy the
33974 symlist and the sysdep abilist file. Remove update-abi-config
33975 checks.
33976 * abilist/ld.abilist: Remove.
33977 * abilist/libBrokenLocale.abilist: Remove.
33978 * abilist/libanl.abilist: Remove.
33979 * abilist/libcrypt.abilist: Remove.
33980 * abilist/libdl.abilist: Remove.
33981 * abilist/librt.abilist: Remove.
33982 * abilist/libthread_db.abilist: Remove.
33983 * abilist/libutil.abilist: Remove.
33984 * scripts/extract-abilist.awk: Remove.
33985 * scripts/merge-abilist.awk: Remove.
33986 * sysdeps/generic/libcidn.abilist: New file.
33987 * sysdeps/generic/libnss_compat.abilist: New file.
33988 * sysdeps/generic/libnss_db.abilist: New file.
33989 * sysdeps/generic/libnss_dns.abilist: New file.
33990 * sysdeps/generic/libnss_files.abilist: New file.
33991 * sysdeps/generic/libnss_hesiod.abilist: New file.
33992 * sysdeps/generic/libnss_nis.abilist: New file.
33993 * sysdeps/generic/libnss_nisplus.abilist: New file.
33994 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
33995 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
33996 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
33997 file.
33998 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
33999 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34000 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34001 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34002 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34003 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34004 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34005 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34006 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34007 file.
34008 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34009 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34010 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34011 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34012 file.
34013 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34014 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34015 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34016 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34017 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34018 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34019 file.
34020 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34021 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34022 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34023 file.
34024 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34025 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34026 New file.
34027 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34028 New file.
34029 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34030 New file.
34031 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34032 New file.
34033 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34034 New file.
34035 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34036 New file.
34037 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34038 New file.
34039 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34040 New file.
34041 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34042 New file.
34043 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34044 New file.
34045 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34046 New file.
34047 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34048 New file.
34049 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34050 New file.
34051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34052 file.
34053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34054 New file.
34055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34056 New file.
34057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34058 file.
34059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34060 New file.
34061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34062 New file.
34063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34064 file.
34065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34066 New file.
34067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34068 New file.
34069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34070 New file.
34071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34072 New file.
34073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34074 New file.
34075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34076 New file.
34077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34078 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34079 file.
34080 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34081 New file.
34082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34083 file.
34084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34085 file.
34086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34087 file.
34088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34089 file.
34090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34091 file.
34092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34093 New file.
34094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34095 file.
34096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34097 file.
34098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34099 New file.
34100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34101 file.
34102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34103 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34104 file.
34105 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34106 New file.
34107 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34108 file.
34109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34110 file.
34111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34112 file.
34113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34114 file.
34115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34116 file.
34117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34118 New file.
34119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34120 file.
34121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34122 file.
34123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34124 New file.
34125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34126 file.
34127 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34128 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34129 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34130 file.
34131 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34132 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34133 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34134 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34135 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34136 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34137 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34138 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34139 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34140 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34142 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34143 file.
34144 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34145 New file.
34146 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34147 file.
34148 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34149 file.
34150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34151 file.
34152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34153 file.
34154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34155 file.
34156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34157 New file.
34158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34159 New file.
34160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34161 file.
34162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34163 New file.
34164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34165 file.
34166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34167 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34168 file.
34169 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34170 New file.
34171 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34172 file.
34173 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34174 file.
34175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34176 file.
34177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34178 file.
34179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34180 file.
34181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34182 New file.
34183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34184 New file.
34185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34186 file.
34187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34188 New file.
34189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34190 file.
34191
41d73a1b
JM
341922012-04-28 Joseph Myers <joseph@codesourcery.com>
34193
34194 * conform/conformtest.pl: Fix typo in handling typed-constant from
34195 allow-header.
34196
28aeeda4
JM
341972012-04-27 Joseph Myers <joseph@codesourcery.com>
34198
adae8f5e
JM
34199 * README: Cut down references to pre-2.6 Linux kernels and
34200 Linuxthreads. Update lists of configurations in libc and ports
34201 and sort alphabetically. Say "or newer" with Linux kernel version
34202 requirements.
34203
28aeeda4
JM
34204 * config.h.in [IS_IN_build]: Allow compiling without optimization.
34205
a462cb63
RA
342062012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34207
34208 [BZ #887]
34209 * math/libm-test.inc (logb_test_downward): New test to expose
34210 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34211 rounding mode.
34212
6ad3493e
JM
342132012-04-27 Joseph Myers <joseph@codesourcery.com>
34214
34215 [BZ #14027]
34216 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34217 to be done.
34218 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34219 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34220
2ce4f015
JM
342212012-04-26 Joseph Myers <joseph@codesourcery.com>
34222
5aeb141a
JM
34223 * sysdeps/unix/i386/brk.S: Remove file.
34224 * sysdeps/unix/i386/dl-brk.S: Likewise.
34225 * sysdeps/unix/i386/pipe.S: Likewise.
34226 * sysdeps/unix/i386/sigreturn.S: Likewise.
34227 * sysdeps/unix/i386/syscall.S: Likewise.
34228 * sysdeps/unix/i386/vfork.S: Likewise.
34229 * sysdeps/unix/i386/wait.S: Likewise.
34230
7143acae
JM
34231 * sysdeps/unix/common/tcsendbrk.c: Move to ...
34232 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34233
2ce4f015
JM
34234 * configure.in (arm*-none*): Do not allow without
34235 --enable-hacker-mode.
34236 (netbsd*): Remove case setting base_os.
34237 (386bsd*): Likewise.
34238 (freebsd*): Likewise.
34239 (bsdi*): Likewise.
34240 (osf*): Likewise.
34241 (sunos*): Likewise.
34242 (ultrix*): Likewise.
34243 (newsos*): Likewise.
34244 (dynix*): Likewise.
34245 (*bsd*): Likewise.
34246 (sysv*): Likewise.
34247 (isc*): Likewise.
34248 (esix*): Likewise.
34249 (sco*): Likewise.
34250 (minix*): Likewise.
34251 (irix4*): Likewise.
34252 (irix6*): Likewise.
34253 (solaris[2-9]*): Likewise.
34254 (none): Likewise.
34255 * configure: Regenerated.
34256
0ac229c8
AZ
342572012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34258
34259 [BZ #11521]
34260 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34261 overflow or cancellation in calculating denominator.
34262 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34263 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34264 down expression to avoid unexpected rounding in newer GCCs.
34265 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34266
33f244f4
DM
342672012-04-26 David S. Miller <davem@davemloft.net>
34268
34269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34270 long-double compat symbols.
34271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34284
cfa1f3e8
DM
342852012-04-25 David S. Miller <davem@davemloft.net>
34286
34287 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34288 HWCAP_* values only after the memory barriers have been defined.
34289 (atomic_full_barrier): Define.
34290 (atomic_read_barrier): Define.
34291 (atomic_write_barrier): Define.
34292
6e236b92
SP
342932012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34294
34295 * shlib-versions: Add libgcc_s version information.
34296 * sysdeps/generic/libgcc_s.h: Remove.
34297 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34298 libgcc_s.h.
34299 * sysdeps/gnu/unwind-resume.c: Likewise.
34300 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34301
aab39a09
DM
343022012-04-25 David S. Miller <davem@davemloft.net>
34303
34304 * sysdeps/unix/sparc/brk.S: Delete.
34305 * sysdeps/unix/sparc/dl-brk.S: Delete.
34306 * sysdeps/unix/sparc/pipe.S: Delete.
34307 * sysdeps/unix/sparc/sysdep.S: Delete.
34308 * sysdeps/unix/sparc/sysdep.h: Delete.
34309 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
34310 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34311 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34312 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34313 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
34314 (JUMPTARGET): Remove.
34315 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34316 sysdeps/unix/sparc/sysdep.h
34317 (ENTRY, END): Remove.
34318 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34319
a3cc4f48
JM
343202012-04-25 Joseph Myers <joseph@codesourcery.com>
34321
2ed8cda2
JM
34322 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34323 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34324 -DIS_IN_build.
34325
35d76d59
JM
34326 * timezone/README: Update upstream location and email address for
34327 tzcode and tzdata.
34328 * timezone/zdump.c: Update from tzcode 2012b.
34329 * timezone/zic.c: Likewise.
34330
a3cc4f48
JM
34331 * configure.in (libc_cv_as_needed): Remove test.
34332 * configure: Regenerated.
34333 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34334 conditional definition.
34335 [$(have-as-needed) != yes] (no-as-needed): Likewise.
34336 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34337 * config.make.in (have-as-needed): Remove variable.
34338
ceab42c3
SP
343392012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34340 Paul Pluzhnikov <ppluzhnikov@google.com>
34341
34342 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34343 strings correctly.
34344
3ce2865f
CLT
343452012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
34346
34347 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34348 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34349 * sysdeps/sh/strlen.S: Likewise.
34350
f37e0d68
JM
343512012-04-24 Joseph Myers <joseph@codesourcery.com>
34352
ae186e9a
JM
34353 * sysdeps/unix/fork.S: Remove file.
34354 * sysdeps/unix/i386/fork.S: Likewise.
34355 * sysdeps/unix/sparc/fork.S: Likewise.
34356
b96914af
JM
34357 * sysdeps/unix/system.c: Remove file.
34358 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34359
f37e0d68
JM
34360 * sysdeps/unix/getegid.S: Remove file.
34361 * sysdeps/unix/geteuid.S: Likewise.
34362
87ef29ca
RM
343632012-04-24 Roland McGrath <roland@hack.frob.com>
34364
83bcd236
RM
34365 * scripts/check-localplt.awk: New file.
34366 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34367 of diff.
34368 * scripts/data/localplt-generic.data: Add a comment.
34369
87ef29ca
RM
34370 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34371 NODE when __dir_mkfile failed.
34372 * sysdeps/mach/hurd/symlinkat.c: Likewise.
34373 Reported by Ludovic Courtès <ludo@gnu.org>.
34374
e5a6e567
AJ
343752012-04-24 Andreas Jaeger <aj@suse.de>
34376
34377 * Makerules (common-clean): Also remove gen-as-const-headers
34378 files.
34379
c1820385
JM
343802012-04-24 Joseph Myers <joseph@codesourcery.com>
34381
34382 * Makerules (native-compile): Do not change working directory for
34383 build. Use $(OUTPUT_OPTION) in command.
34384 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34385
94e02fc4
AZ
343862012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34387
34388 [BZ #13886]
34389 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34390 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34391 * math/libm-test.inc (floor_test): Add more tests.
34392 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34393
3a533ca3
JM
343942012-04-24 Joseph Myers <joseph@codesourcery.com>
34395
940ab4b3
JM
34396 * sysdeps/unix/getdents.c: Remove file.
34397 * sysdeps/unix/sysv/getdents.c: Likewise.
34398 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34399
90e037bd
JM
34400 * sysdeps/unix/syscalls.list (madvise): Add syscall from
34401 sysdeps/unix/mman/syscalls.list.
34402 (mmap): Likewise.
34403 (mprotect): Likewise.
34404 (msync): Likewise.
34405 (munmap): Likewise.
34406 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34407 * sysdeps/unix/mman/syscalls.list: Remove.
34408 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34409
3a533ca3
JM
34410 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34411 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34412 * configure: Regenerated.
34413 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34414 $(libgcc_s_suffix).
34415 * config.make.in (libgcc_s_suffix): Remove variable.
34416
1ad743de
JM
344172012-04-23 Joseph Myers <joseph@codesourcery.com>
34418
4ad451e2
JM
34419 * sysdeps/unix/sysv/gethostname.c: Move to ...
34420 * sysdeps/posix/gethostname.c: ... here.
34421
5e37ce39
JM
34422 * sysdeps/unix/execve.S: Remove file.
34423
1ad743de
JM
34424 * sysdeps/unix/_exit.S: Remove file.
34425
4e681b5b
AJ
344262012-04-23 Andreas Jaeger <aj@suse.de>
34427
34428 [BZ #13739]
34429 * manual/Makefile: Remove make dist support, there's no
34430 need for a stand-alone documentation tar ball.
34431 (TEXI2DVI): Define always, it's not in Makeconfig.
34432 (dist): Removed.
34433 (tar-it): Removed.
34434 (edition): Removed.
34435 (glibc-doc-$(edition).tar): Removed
34436 (%.Z): Removed.
34437 (%.gz): Removed.
34438 (%.uu): Removed.
34439 (ETAGS): Remove, it's in Makeconfig.
34440 (move-if-change): Remove, it's in Makeconfig.
34441
38686a03 344422012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
34443
34444 [BZ #13970]
34445 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34446 (strtod, strtof, strtold, strtol, strtoul, strtoq)
34447 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34448 (strtod_l, strtof_l, strtold_l): Remove __wur.
34449 It is not necessarily an error to ignore strtol's return value.
34450 One can reliably look at the stored endptr to decide whether
34451 the number had valid syntax.
34452
7c0616fa
AJ
344532012-04-21 Andreas Jaeger <aj@suse.de>
34454
803cb6b7 34455 [BZ #13739]
7c0616fa
AJ
34456 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34457
b0fe253f
JM
344582012-04-21 Joseph Myers <joseph@codesourcery.com>
34459
34460 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34461 * sysdeps/unix/sysv/Versions: Remove file.
34462
8280f22d
MT
344632012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
34464
34465 [BZ #13927]
34466 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34467
75ce411f 344682012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
34469
34470 [BZ #7064]
34471 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34472 version from __vm86.
34473
097d59fa
JM
344742012-04-20 Joseph Myers <joseph@codesourcery.com>
34475
a90f3bcb
JM
34476 * sysdeps/unix/common/lxstat.c: Remove file.
34477 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34478
edc7ea78
JM
34479 * sysdeps/unix/sysv/Makefile: Remove file.
34480
cb78c221
JM
34481 * sysdeps/unix/sysv/direct.h: Remove file.
34482
efa6a45f
JM
34483 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34484 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34485 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34486 * sysdeps/unix/sysv/bits/signum.h: Likewise.
34487 * sysdeps/unix/sysv/bits/stat.h: Likewise.
34488 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34489 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34490
9c9f2d0c
JM
34491 * sysdeps/unix/sysv/setrlimit.c: Remove file.
34492
4541c83b
JM
34493 * sysdeps/unix/xmknod.c: Remove file.
34494 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
34495
f5d153a0
JM
34496 * sysdeps/unix/sysv/settimeofday.c: Remove file.
34497
aa746595
JM
34498 * sysdeps/unix/sysv/i386/time.S: Remove file.
34499
cce5905e
JM
34500 * sysdeps/unix/fxstat.c: Remove file.
34501 * sysdeps/unix/xstat.c: Likewise.
34502 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
34503
37fa3841
JM
34504 * sysdeps/unix/sysv/sigaction.c: Remove file.
34505
ff1962a3
JM
34506 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
34507 (sysdep_headers): Remove variable.
34508 [termio.h not in sysdep_headers] (generated): Likewise.
34509 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
34510 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
34511 * sysdeps/unix/sysv/tcdrain.c: Likewise.
34512 * sysdeps/unix/sysv/tcflow.c: Likewise.
34513 * sysdeps/unix/sysv/tcflush.c: Likewise.
34514 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
34515 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
34516 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
34517 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
34518 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
34519
e7740d31
JM
34520 * sysdeps/unix/siglist.c: Remove file.
34521
ee06f18b
JM
34522 * sysdeps/unix/getppid.S: Remove file.
34523
097d59fa
JM
34524 * sysdeps/unix/mkdir.c: Remove file.
34525 * sysdeps/unix/rmdir.c: Likewise.
34526
ff3d51ec
AS
345272012-04-19 Andreas Schwab <schwab@linux-m68k.org>
34528
34529 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
34530 ERR_MAX value.
34531 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
34532 errlist-compat value.
34533
50f81fd7
DM
345342012-04-18 David S. Miller <davem@davemloft.net>
34535
34536 * sysdeps/generic/memcopy.h (reg_char): Delete.
34537 * debug/strcat_chk.c: Use char, not reg_char.
34538 * debug/strcpy_chk.c: Likewise.
34539 * debug/strncat_chk.c: Likewise.
34540 * debug/strncpy_chk.c: Likewise.
34541 * string/memchr.c: Likewise.
34542 * string/memrchr.c: Likewise.
34543 * string/rawmemchr.c: Likewise.
34544 * string/strcat.c: Likewise.
34545 * string/strchr.c: Likewise.
34546 * string/strchrnul.c: Likewise.
34547 * string/strcmp.c: Likewise.
34548 * string/strcpy.c: Likewise.
34549 * string/strncat.c: Likewise.
34550 * string/strncmp.c: Likewise.
34551 * string/strncpy.c: Likewise.
34552
8ff41c46
WS
345532012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34554
34555 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
34556 __builtin_memcopy is called when src and dest ranges are known to not
34557 overlap.
34558
6b652f46
WS
345592012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34560
34561 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
34562 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
34563 fwd_align_merge macro call.
34564 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
34565 bwd_align_merge macro call.
34566 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34567
b282631e
WS
345682012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34569
34570 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
34571 bwd_align_merge macros.
34572 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
34573 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
34574 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34575
95aa737c
DM
345762012-04-18 David S. Miller <davem@davemloft.net>
34577
34578 * sysdeps/sparc/sparc64/memcopy.h: Delete.
34579
7a99a614
AJ
345802012-04-18 Andreas Jaeger <aj@suse.de>
34581
34582 [BZ# 6794]
34583 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
34584 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
34585 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34586
34587 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
34588 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
34589 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34590
34591 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
34592 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
34593 Adjust for changed ldbl-128 files.
34594
34595 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
34596 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
34597 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34598
e5270c23
DM
345992012-04-17 David S. Miller <davem@davemloft.net>
34600
34601 * sysdeps/sparc/sparc32/memcopy.h: Delete.
34602
fb5e92c9
AS
346032012-04-17 Andreas Schwab <schwab@linux-m68k.org>
34604
34605 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
34606 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
34607 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
34608 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
34609 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34610 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
34611
76da7265
AZ
346122012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34613
34614 [BZ #6794]
34615 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
34616 * math/libm-test.inc: Add ilogb errno and exception tests.
34617 * math/w_ilogb.c: New file: ilogb wrapper.
34618 * math/w_ilogbf.c: New file: ilogbf wrapper.
34619 * math/w_ilogbl.c: New file: ilogbl wrapper.
34620 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
34621 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
34622 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
34623 exception being thrown with 0.0 as argument.
34624 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
34625 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
34626 exception being thrown with 0.0 as argument.
34627 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
34628 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34629 exception being thrown with 0.0 as argument.
34630 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
34631 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34632 exception being thrown with 0.0 as argument.
34633 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
34634 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 34635 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
34636 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
34637 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
34638 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
34639 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
34640 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
34641 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
34642
0396e69d
PB
346432012-04-17 Petr Baudis <pasky@ucw.cz>
34644
34645 * include/sys/uio.h: Change __vector to __iovec to avoid clash
34646 with altivec.
34647
750b5926
MP
346482012-04-16 Marek Polacek <polacek@redhat.com>
34649
34650 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
34651
751728a1
MP
346522012-04-16 Marek Polacek <polacek@redhat.com>
34653
34654 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
34655 operands of fdivp instruction.
34656
34a27407
L
346572012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34658
34659 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
34660 * elf/tst-auditmod3b.c: Likewise.
34661 * elf/tst-auditmod4b.c: Likewise.
34662 * elf/tst-auditmod5b.c: Likewise.
34663 * elf/tst-auditmod6b.c: Likewise.
34664 * elf/tst-auditmod6c.c: Likewise.
34665 * elf/tst-auditmod7b.c: Likewise.
34666 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
34667 * sysdeps/x86_64/preconfigure.in: Likewise.
34668 * sysdeps/x86_64/preconfigure: Regenerated.
34669
7e73e17d
L
346702012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34671
34672 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
34673 __ILP32__.
34674
c7a6ab72
AB
346752012-04-13 Antoine Balestrat <merkil33@gmail.com>
34676
34677 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34678 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
34679
a9e8e0e0
CL
346802012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
34681
34682 [BZ #13973]
34683 * locale/iso-639.def: Fix gl language name. Spotted by
34684 Yaron Shahrabani.
34685
ec98af7d
RM
346862012-04-12 Roland McGrath <roland@hack.frob.com>
34687
34688 [BZ #2074]
34689 * libio/libio.h (__io_write_fn): Update comment.
34690
247c3ede
PB
346912012-04-12 Petr Baudis <pasky@ucw.cz>
34692
34693 [BZ #2074]
34694 * stdio.texi (Hook Functions): The user provided writer function
34695 is not allowed to return -1.
34696
55939d6d
DM
346972012-04-11 David S. Miller <davem@davemloft.net>
34698
34699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34700
90020f5a
MF
347012012-04-11 Mike Frysinger <vapier@gentoo.org>
34702
34703 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
34704 Add a leading slash to rtkaio.
34705
288f9098
JM
347062012-04-11 Jim Meyering <meyering@redhat.com>
34707
90020f5a
MF
34708 [BZ #11959]
34709 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
34710 It is not necessarily an error to ignore fwrite's return
34711 value. One can reliably use ferror to test for errors after
34712 the fact.
288f9098 34713
4be2b570
L
347142012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34715
34716 * bits/types.h (__snseconds_t): New type.
34717 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
34718
34719 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
34720 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34721 (__SNSECONDS_T_TYPE): Likewise.
34722 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34723 (__SNSECONDS_T_TYPE): Likewise.
34724 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34725 (__SNSECONDS_T_TYPE): Likewise.
34726
288f9098 347272012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
34728
34729 [BZ #2636]
34730 * manual/time.texi (Processor Time): Return type of times is
34731 elapsed real time since an arbitrary point in the past.
34732 (CPU Time): Move CLK_TCK from here...
34733 (Processor Time): ...to here. Correct description.
34734 * manual/conf.texi (Constants for Sysconf): Correct description of
34735 _SC_CLK_TCK.
34736
d7dd4413
DM
347372012-04-10 David S. Miller <davem@davemloft.net>
34738
34739 [BZ #13967]
34740 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
34741 where the is a gap between DT_REL(A) and DT_JMPREL.
34742
b46068fc
L
347432012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34744
34745 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
34746 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34747 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34748
73d65cc3
SP
347492012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34750
34751 * elf/dl-support.c (_dl_inhibit_cache): New variable.
34752 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
34753 (dl_main): Handle --inhibit-cache.
34754 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
34755 _dl_inhibit_cache.
34756 * elf/dl-load.c (_dl_map_object): Use it.
34757 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
34758
bcc8d661
JM
347592012-04-09 Joseph Myers <joseph@codesourcery.com>
34760
8f9a2fae
JM
34761 [BZ #13872]
34762 * sysdeps/i386/fpu/e_powl.S (p78): New object.
34763 (__ieee754_powl): Saturate large exponents rather than testing for
34764 overflow of y*log2(x).
34765 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34766 * math/libm-test.inc (pow_test): Do not permit spurious overflow
34767 exceptions.
34768
bcc8d661
JM
34769 [BZ #11521]
34770 * math/s_ctan.c: Include <float.h>.
34771 (__ctan): Avoid internal overflow or cancellation in calculating
34772 denominator.
34773 * math/s_ctanf.c: Likewise.
34774 * math/s_ctanl.c: Likewise.
34775 * math/s_ctanh.c: Likewise.
34776 * math/s_ctanhf.c: Likewise.
34777 * math/s_ctanhl.c: Likewise.
34778 * math/libm-test.inc (ctan_test): Add more tests.
34779 (ctanh_test): Likewise.
34780 * sysdeps/i386/fpu/libm-test-ulps: Update.
34781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34782
823fbbb4
AJ
347832012-04-09 Andreas Jaeger <aj@suse.de>
34784
03879793
AJ
34785 [BZ #6894]
34786 * manual/filesys.texi (Directory Entries): Mention that d_namlen
34787 is an optional BSD extension.
34788
823fbbb4
AJ
34789 [BZ #10254]
34790 * manual/stdio.texi (Opening Streams): Document additional fopen
34791 parameters.
34792
8de131cb
RM
347932012-04-09 Roland McGrath <roland@hack.frob.com>
34794
34795 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
34796 %eax without telling the compiler.
34797
c0ed9d7d
CD
347982012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
34799
34800 [BZ # 13963]
34801 * manual/install.texi: Use sourceware.org.
34802
c483f6b4
JM
348032012-04-09 Joseph Myers <joseph@codesourcery.com>
34804
d7dd9453
JM
34805 [BZ #13873]
34806 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
34807 (__ieee754_pow): Generate overflow and underflow using huge*huge
34808 and tiny*tiny rather than just returning constant infinity or zero
34809 for large exponents.
34810 * math/libm-test.inc (pow_test): Require overflow exceptions for
34811 applicable cases of large exponents.
34812
c483f6b4
JM
34813 [BZ #706]
34814 * sysdeps/i386/fpu/e_pow.S (p10): New object.
34815 (__ieee754_pow): Use iterative multiplication algorithm only for
34816 integer exponents with absolute value below 1024. Check for odd
34817 integer exponents when using algorithm for real exponents.
34818 * math/libm-test.inc (pow_test): Add more tests.
34819 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34820
d2de7579
JM
348212012-04-08 Joseph Myers <joseph@codesourcery.com>
34822
34823 [BZ #13705]
34824 * math/libm-test.inc (exp_test): Do not allow overflow exception
34825 on underflow test.
34826
f77f1232
AJ
348272012-04-08 Aurelien Jarno <aurelien@aurel32.net>
34828
34829 [BZ #13705]
34830 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
34831 instead of __kernel_standard_f.
34832
3884932b
MF
348332012-04-08 Mike Frysinger <vapier@gentoo.org>
34834
34835 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
34836 * sysdeps/x86_64/memset_chk.S: Likewise.
34837
54472e9c
AJ
348382012-04-08 Andreas Jaeger <aj@suse.de>
34839
6ab0fbfc
AJ
34840 [BZ #10153]
34841 * manual/startup.texi (Environment Access): Describe return value
34842 for putenv and setenv.
34843
61efba8c
AJ
34844 [BZ #6895]
34845 * manual/filesys.texi (Directory Entries): Add description for
34846 DT_LNK.
34847
95c3f29a
AJ
34848 [BZ #6890]
34849 * manual/filesys.texi (Directory Entries): Clarify that it's file
34850 system not operating system in the description of DT_UNKNOWN.
34851
54472e9c
AJ
34852 [BZ #6578]
34853 * manual/syslog.texi (closelog): Fix reference, it's openlog.
34854
624254b1
SC
348552012-04-08 Stephen Compall <s11@member.fsf.org>
34856
34857 [BZ #6649]
34858 * manual/llio.texi (Opening and Closing Files): Add cross
34859 reference to explain mode argument.
34860
1e4920e0
MF
348612012-04-07 Mike Frysinger <vapier@gentoo.org>
34862
34863 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
34864 * sysdeps/x86_64/memset_chk.S: Likewise.
34865
5ed848f3
DM
348662012-04-07 David S. Miller <davem@davemloft.net>
34867
34868 * elf/elf.h (R_SPARC_WDISP10): Define.
34869 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
34870 R_SPARC_SIZE32.
34871 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
34872 R_SPARC_SIZE64 and R_SPARC_H34.
34873
96154cd8
CD
348742012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
34875
34876 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
34877 conditions and remove no longer applicable assertion.
34878
9904dc47
L
348792012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34880
34881 * bits/byteswap.h: Include <features.h>.
34882 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34883 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34884
f8887d0a
L
348852012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34886
34887 * bits/byteswap.h (__bswap_16): Removed.
34888 Include <bits/byteswap-16.h> to get __bswap_16.
34889 * sysdeps/i386/bits/byteswap.h: Likewise.
34890 * sysdeps/s390/bits/byteswap.h: Likewise.
34891 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34892 * bits/byteswap-16.h: New file.
34893 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34894 * sysdeps/s390/bits/byteswap-16.h: Likewise.
34895 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
34896 * string/Makefile (headers): Add bits/byteswap-16.h.
34897
62470f60
PP
348982012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34899
34900 [BZ #13895]
34901 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
34902 extra indirection.
34903 * nss/Makefile (tests-static, tests): Add tst-nss-static.
34904 * nss/tst-nss-static.c: New.
34905
4dad7bab
RM
349062012-04-06 Robert Millan <rmh@gnu.org>
34907
34908 [BZ #6486]
34909 * manual/llio.texi (File Position Primitive): lseek
34910 refers to WHENCE when it really means OFFSET.
34911
e9142a17
AJ
349122012-04-06 Andreas Jaeger <aj@suse.de>
34913
2c040eff
AJ
34914 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
34915 strncmp declarations.
34916
e9142a17
AJ
34917 * abilist/libc.abilist: Add __poll and __ppoll.
34918
ff9f1c5f
DM
349192012-04-05 David S. Miller <davem@davemloft.net>
34920
dcd2ae90
DM
34921 * scripts/check-local-headers.sh: Accept a host triplet in the
34922 path matched by the exclude regexp.
34923
993eb054
DM
34924 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
34925 definition.
34926 * sysdeps/powerpc/powerpc32/dl-machine.h
34927 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
34928 * sysdeps/s390/s390-32/dl-machine.h
34929 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34930 * sysdeps/sparc/sparc32/dl-machine.h
34931 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34932 * sysdeps/sparc/sparc64/dl-machine.h
34933 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34934
ff9f1c5f
DM
34935 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
34936 lazy binding.
48e2e132 34937 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
34938 undefined symbol errors.
34939
48e2e132 34940 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
34941 DT_NEEDED entries.
34942
e80d6f94
MM
349432012-04-05 Michael Matz <matz@suse.de>
34944
34945 [BZ #13592]
34946 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
34947
349fa79f
AJ
349482012-04-05 Andreas Jaeger <aj@suse.de>
34949
34950 [BZ #13908]
34951 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
34952 comment.
34953
f402708f
KK
349542012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34955
34956 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
34957 which ROUND is no valid rounding mode.
34958
2ecccfc9
KK
349592012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34960
34961 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
34962 read again.
34963 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
34964
8a53f50f
KK
349652012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34966
34967 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
34968 an exception using FPU order intentionally.
34969
349702012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34971
34972 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
34973 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
34974 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
34975 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
34976
d653abb7
SJ
349772012-04-05 Simon Josefsson <simon@josefsson.org>
34978
34979 [BZ #12340]
34980 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
34981 EINVAL when BUFLEN is too smal.
34982
c3b1bf7d
TS
349832012-04-05 Thomas Schwinge <thomas@codesourcery.com>
34984
34985 [BZ #13553]
34986 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
34987 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
34988
b1aa60f3
AJ
349892012-04-03 Andreas Jaeger <aj@suse.de>
34990
c3b1bf7d 34991 [BZ #13938]
67f60a26
AJ
34992 * manual/setjmp.texi (System V contexts): Fix sentence.
34993
b1aa60f3
AJ
34994 [BZ #13926]
34995 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
34996 New macro for this case.
34997 [!__GNUC__] (__bswap_64): New inline function for this case.
34998 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34999 * bits/byteswap.h: Likewise.
35000 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35001 ull, guard with __GLIBC_HAVE_LONG_LONG.
35002
35003 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35004 __GLIBC_HAVE_LONG_LONG.
35005
35006 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35007 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35008
39c59c35
TMQMF
350092012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35010
35011 [BZ #13691]
35012 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35013 inptr and inend, rather than using last_ch.
35014
135ffda8
DM
350152012-04-02 David S. Miller <davem@davemloft.net>
35016
35017 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35018 * stdio-common/printf-parse.h (read_int): Change return type to
35019 'int', return -1 on INT_MAX overflow.
35020 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35021 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
35022 overflows INT_MAX. Check for overflow of in-format-string precision
35023 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
35024 SIZE_MAX not INT_MAX for integer overflow test.
35025 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35026 skip the construct in the format string but do not record anything.
35027 * stdio-common/bug22.c: Adjust to test both width/prevision
35028 INT_MAX overflow as well as total length INT_MAX overflow. Check
35029 explicitly for proper errno values.
35030
228c019e
TS
350312012-04-02 Thomas Schwinge <thomas@codesourcery.com>
35032
302cadd3
TS
35033 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35034 CHAR_MAX.
35035 * string/test-strcmp.c [! WIDE]: Likewise.
35036 * time/tst-mktime2.c: Likewise for INT_MAX.
35037 * string/test-string.h: #include <sys/param.h> for MIN.
35038
228c019e
TS
35039 * csu/init-first.c (__libc_init_first): Call __ctype_init.
35040 * sysdeps/i386/init-first.c (init): Likewise.
35041 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35042 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35043 * sysdeps/sh/init-first.c (init): Likewise.
35044
cfa633f5
UD
350452012-04-01 Ulrich Drepper <drepper@gmail.com>
35046
35047 * po/ru.po: Update from translation team.
d1635ef8 35048 * po/vi.po: Likewise.
cfa633f5 35049
6cd0a5ea
SP
350502012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35051
35052 * resolv/nss_dns/dns-host.c: Merge copyright years.
35053
4b43400f
LD
350542012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35055
35056 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35057 Optimize memcpy with prefetch if
35058 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
35059 src, dst pointers have unequal 16 byte alignments.
35060
48c41d04
SP
350612012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35062
35063 [BZ #13928]
35064 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35065 from a CNAME entry and return the minimum ttl for the query.
35066 (gaih_getanswer_slice): Likewise.
35067
b8dc394d
JL
350682012-03-30 Jeff Law <law@redhat.com>
35069
35070 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35071 due to long keys.
35072 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35073 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35074
2f5a5ed0
JL
35075 * resolv/nss_dns/dns-host.c: Update copyright year.
35076
1d39e359
UD
350772012-03-30 Ulrich Drepper <drepper@gmail.com>
35078
c030f70c 35079 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 35080 requests to save a system call. Fix check that all bytes are sent.
c030f70c 35081
1d39e359
UD
35082 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35083 comments for sendmmsg.
35084
350852012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
35086
35087 [BZ #13691]
35088 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35089 with only 1 character between 0x0041 and 0x01b0.
35090 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35091 * wcsmbs/tst-mbsnrtowcs.c: New file.
35092
20fde227
DM
350932012-03-29 David S. Miller <davem@davemloft.net>
35094
35095 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35096 small copies by hand.
35097
984a4237
JL
350982012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35099
35100 [BZ #13761]
57f41c40
AS
35101 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35102 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35103 group memberships.
984a4237 35104
18c9d62b
DM
351052012-03-28 David S. Miller <davem@davemloft.net>
35106
88d85d4f
DM
35107 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35108 that branches into memcpy.
35109 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35110 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35111 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35112 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35113 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35114 bits.
35115 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35116 implementation too.
35117 * sysdeps/sparc/mempcpy.S: New file.
35118
e5aa83e1
DM
35119 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35120 the IFUNC routine in the libc case.
35121 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35122
88570753
DM
35123 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35124 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35125 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35126 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35127 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35128 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35129 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35130 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35131
249d7567
DM
35132 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35133 loop to 256 bytes instead of 64 bytes and fix test signedness.
35134
18c9d62b
DM
35135 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35136 * sysdeps/sparc/sparc32/Makefile: rather than here...
35137 * sysdeps/sparc/sparc64/Makefile: and here.
35138
05f3d1f6
UD
351392012-03-28 Ulrich Drepper <drepper@gmail.com>
35140
35141 * malloc/mallocbug.c: Avoid warnings about unused variables.
35142
86ae07a8
JL
351432012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35144
35145 [BZ #13760]
35146 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35147 in the right place. Discard and retry query if response is
35148 larger than input buffer size.
35149
41bf21a1
JM
351502012-03-28 Joseph Myers <joseph@codesourcery.com>
35151
d6270972
JM
35152 [BZ #369]
35153 [BZ #2678]
35154 [BZ #3866]
35155 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35156 x for large integer exponent.
35157 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35158 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
35159 sign of result as needed afterwards.
35160 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35161 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35162 result for underflowing pow the same as for overflow.
35163 (__kernel_standard_l): Handle powl overflow and underflow here
35164 rather than calling __kernel_standard.
35165 * math/libm-test.inc (pow_test): Add more tests.
35166
414fca03 35167 [BZ #3868]
41bf21a1
JM
35168 [BZ #13879]
35169 [BZ #13910]
35170 [BZ #13911]
35171 [BZ #13912]
35172 [BZ #13913]
35173 [BZ #13915]
35174 [BZ #13916]
35175 [BZ #13917]
35176 [BZ #13918]
35177 [BZ #13919]
35178 [BZ #13920]
35179 [BZ #13921]
35180 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35181 * sysdeps/ieee754/k_standard.c: Include <float.h>.
35182 (__kernel_standard_l): New function.
35183 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35184 __kernel_standard.
35185 * math/w_acosl.c (__acosl): Likewise.
35186 * math/w_asinl.c (__asinl): Likewise.
35187 * math/w_atan2l.c (__atan2l): Likewise.
35188 * math/w_atanhl.c (__atanhl): Likewise.
35189 * math/w_coshl.c (__coshl): Likewise.
35190 * math/w_exp10l.c (__exp10l): Likewise.
35191 * math/w_exp2l.c (__exp2l): Likewise.
35192 * math/w_fmodl.c (__fmodl): Likewise.
35193 * math/w_hypotl.c (__hypotl): Likewise.
35194 * math/w_j0l.c (__j0l, __y0l): Likewise.
35195 * math/w_j1l.c (__j1l, __y1l): Likewise.
35196 * math/w_jnl.c (__jnl, __ynl): Likewise.
35197 * math/w_lgammal.c (__lgammal): Likewise.
35198 * math/w_log10l.c (__log10l): Likewise.
35199 * math/w_log2l.c (__log2l): Likewise.
35200 * math/w_logl.c (__logl): Likewise.
35201 * math/w_powl.c (__powl): Likewise.
35202 * math/w_remainderl.c (__remainderl): Likewise.
35203 * math/w_scalbl.c (sysv_scalbl): Likewise.
35204 * math/w_sinhl.c (__sinhl): Likewise.
35205 * math/w_sqrtl.c (__sqrtl): Likewise.
35206 * math/w_tgammal.c (__tgammal): Likewise.
35207 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35208 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35209 * math/libm-test.inc (acos_test): Add more tests.
35210 (acosh_test): Likewise.
35211 (asin_test): Likewise.
35212 (atanh_test): Likewise.
35213 (exp_test): Likewise.
35214 (exp10_test): Likewise.
35215 (exp2_test): Likewise.
35216 (expm1_test): Likewise.
35217 (lgamma_test): Likewise.
35218 (log_test): Likewise.
35219 (log10_test): Likewise.
35220 (log1p_test): Likewise.
35221 (log2_test): Likewise.
35222 (pow_test): Do not allow some spurious overflow exceptions.
35223 (sqrt_test): Add more tests.
35224 (tgamma_test): Likewise.
35225 (y0_test): Likewise.
35226 (y1_test): Likewise.
35227 (yn_test): Likewise.
35228
dd62fda6
AB
352292012-03-27 Anton Blanchard <anton@samba.org>
35230
35231 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35232 MAP_HUGETLB.
35233 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35234 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35235 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35236
1e3cdfda
AJ
352372012-03-27 David S. Miller <davem@davemloft.net>
35238
b855ab85
DM
35239 * conform/Makefile: Run run-conformtest.sh using $(BASH).
35240
1e3cdfda
AJ
35241 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35242 have-as-vis3 check.
35243
352442012-03-27 Andreas Jaeger <aj@suse.de>
35245
35246 * sysdeps/x86_64/elf/configure.in: Moved to ...
35247 * sysdeps/x86_64/configure.in: ... here.
35248 * sysdeps/x86_64/elf/start.S: Moved to ...
35249 * sysdeps/x86_64/start.S: ... here.
35250 * sysdeps/x86_64/elf/configure: Delete.
35251
35252 * sysdeps/x86_64/configure.in: Merge contents from
35253 sysdeps/i386/configure.in (without i686 check).
35254
35255 * sysdeps/i386/elf/Versions: Merge into ...
35256 * sysdeps/i386/Versions: ... this.
35257 * sysdeps/i386/elf/Versions: Delete file.
35258 * sysdeps/i386/elf/start.S: Moved to ...
35259 * sysdeps/i386/start.S: ...here.
35260 * sysdeps/i386/elf/configure.in: Merge into...
35261 * sysdeps/i386/configure.in: ...here.
35262 * sysdeps/i386/elf/configure.in: Delete file.
35263 * sysdeps/i386/elf/configure: Delete file.
35264
35265 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35266 * debug/backtracesyms.c: ... here.
35267 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35268 * debug/backtracesymsfd.c: ... here.
35269 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35270 * sysdeps/generic/ifunc-sel.h: ... here.
35271
35272 * sysdeps/unix/i386/start.c: Delete file.
35273 * sysdeps/unix/sparc/start.c: Delete file.
35274 * sysdeps/unix/start.c: Delete file.
35275
35276 * sysdeps/sh/elf/configure.in: Moved to ...
35277 * sysdeps/sh/configure.in: ... here.
35278 * sysdeps/sh/elf/start.S: Moved to ...
35279 * sysdeps/sh/start.S: ... here.
35280 * sysdeps/sh/elf/configure: Delete file.
35281
35282 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35283 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35284 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35285 * sysdeps/powerpc/powerpc64/entry.h: ... here.
35286 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35287 * sysdeps/powerpc/powerpc64/start.S: here.
35288 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35289 * sysdeps/powerpc/powerpc64/Makefile: ... this.
35290 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35291 * sysdeps/powerpc/powerpc64/configure.in: ... this.
35292 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35293
35294 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35295 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35296 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35297 * sysdeps/powerpc/powerpc32/start.S: ... here.
35298 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35299 * sysdeps/powerpc/powerpc32/configure.in: ... this.
35300 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35301
35302 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35303 * sysdeps/powerpc/ifunc-sel.h: ... here.
35304 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35305 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35306
35307 * sysdeps/sparc/elf/configure.in: Moved to ...
35308 * sysdeps/sparc/configure.in: ... here.
35309 * sysdeps/sparc/elf/configure: Delete file.
35310 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35311 * sysdeps/sparc/sparc32/start.S: ... here.
35312 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35313 * sysdeps/sparc/sparc64/start.S: ... here.
35314 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35315 * sysdeps/sparc/sparc32/Makefile: ... this.
35316 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35317 * sysdeps/sparc/sparc64/Makefile: ... this.
35318
35319 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35320 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35321 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35322 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35323 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35324 * sysdeps/s390/s390-32/setjmp.S: ... here.
35325 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35326 * sysdeps/s390/s390-32/configure.in: ... here.
35327 * sysdeps/s390/s390-32/elf/configure: Delete file.
35328 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35329 * sysdeps/s390/s390-32/start.S: ... here.
35330
35331 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35332 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35333 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35334 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35335 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35336 * sysdeps/s390/s390-64/setjmp.S: ... here.
35337 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35338 * sysdeps/s390/s390-64/configure.in: ... here
35339 * sysdeps/s390/s390-64/elf/configure: Delete file.
35340 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35341 * sysdeps/s390/s390-64/start.S: ... here.
35342 * sysdeps/s390/s390-64/elf/configure: Delete.
35343
35344 * configure.in: Remove support for elf directories in sysdeps.
35345
35346 * configure: Regenerated.
35347 * sysdeps/i386/configure: Regenerated.
35348 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35349 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35350 * sysdeps/s390/s390-32/configure: Regenerated.
35351 * sysdeps/s390/s390-64/configure: Regenerated.
35352 * sysdeps/sh/configure: Regenerated.
35353 * sysdeps/sparc/configure: Regenerated.
35354 * sysdeps/x86_64/configure: Regenerated.
35355
a3f61311
AS
353562012-03-26 Andreas Schwab <schwab@linux-m68k.org>
35357
c876e002
AS
35358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35359
a3f61311
AS
35360 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35361 denormal result into account.
35362
ac4c54f0
RM
353632012-03-25 Roland McGrath <roland@hack.frob.com>
35364
35365 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35366 Reported by Allan McRae <allan@archlinux.org>.
35367
6a9b9c02
JL
353682012-03-23 Jeff Law <law@redhat.com>
35369
35370 * nss/getnssent.c (__nss_getent): Fix typo.
35371
4c42a0c1
DM
353722012-03-23 David S. Miller <davem@davemloft.net>
35373
35374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35375
1532c7ac
L
353762012-03-23 H.J. Lu <hongjiu.lu@intel.com>
35377
35378 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35379 to pad to uint64_t for each field.
35380 (dl_tls_index): Replace unsigned long with uint64_t.
35381
3ff42526
PP
353822012-03-23 Daniel Jacobowitz <dmj@google.com>
35383 Paul Pluzhnikov <ppluzhnikov@google.com>
35384
35385 [BZ #6528]
35386 * grp/Makefile (otherlibs): Don't set it.
35387 * inet/Makefile (otherlibs): Likewise.
35388 * login/Makefile (otherlibs): Likewise.
35389 * nscd/Makefile (otherlibs): Likewise.
35390 * posix/Makefile (otherlibs): Likewise.
35391 * pwd/Makefile (otherlibs): Likewise.
35392 * rt/Makefile (otherlibs): Likewise.
35393 * sunrpc/Makefile (otherlibs): Likewise.
35394 * nss/Makefile (otherlibs): Likewise.
35395 Add libnss_files to routines and static-only-routines.
35396 ($(objpfx)getent): Remove rule.
35397 * resolv/Makefile: Add libnss_dns and libresolv to routines and
35398 static-only-routines.
35399
7c69cd14
JM
354002012-03-22 Joseph Myers <joseph@codesourcery.com>
35401
35402 [BZ #13892]
35403 * math/s_cexp.c: Include <float.h>.
35404 (__cexp): Handle exp result overflowing not necessarily
35405 overflowing both real and imaginary parts of result.
35406 * math/s_cexpf.c: Likewise.
35407 * math/s_cexpl.c: Likewise.
35408 * math/libm-test.inc (cexp_test): Add more tests.
35409 * sysdeps/i386/fpu/libm-test-ulps: Update.
35410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35411
81b035fe
L
354122012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35413
35414 * include/link.h (ELFW): New macro.
35415 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35416 Replace ELF64_R_TYPE with ELFW(R_TYPE).
35417
1da7940c
L
354182012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35419
35420 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35421 with uint64_t.
35422
b749dbb9
L
354232012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35424
35425 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35426 declaration.
35427 (struct La_x32_retval): Likewise.
35428
2ff87f3f
L
354292012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35430
35431 * sysdeps/x86_64/preconfigure.in: New file.
35432 * sysdeps/x86_64/preconfigure: New generated file.
35433
c0df8e69
JM
354342012-03-22 Joseph Myers <joseph@codesourcery.com>
35435
48e44791
JM
35436 [BZ #13824]
35437 * math/e_exp2l.c: Include <float.h>.
35438 (__ieee754_exp2l): Handle overflow and underflow cases
35439 separately. Only pass fractional part of argument to
35440 __ieee754_expl.
35441 * math/libm-test.inc (exp2_test): Add more tests.
35442
c0df8e69
JM
35443 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35444 negating x to take absolute value.
35445 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35446 Likewise.
35447 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35448 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35449 Likewise.
35450 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35451 computing low part if x was negated.
35452 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35453
c8e43ba7
L
354542012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35455
35456 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35457 la_x32_gnu_pltexit.
35458 (pltexit): Cast int_retval to ptrdiff_t.
35459 * elf/tst-auditmod3b.c: Likewise.
35460 * elf/tst-auditmod4b.c: Likewise.
35461 * elf/tst-auditmod5b.c: Likewise.
35462 * elf/tst-auditmod6b.c: Likewise.
35463 * elf/tst-auditmod6c.c: Likewise.
35464 * elf/tst-auditmod7b.c: Likewise.
35465
35466 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35467 and x32_gnu_pltexit.
35468
35469 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35470 __ELF_NATIVE_CLASS.
35471 (La_x32_regs): New macro.
35472 (La_x32_retval): Likewise.
35473 (la_x32_gnu_pltenter): New function prototype.
35474 (la_x32_gnu_pltexit): Likewise.
35475
7998fa78
AS
354762012-03-21 Andreas Schwab <schwab@linux-m68k.org>
35477
dcb33988
AS
35478 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35479 exponent.
35480
233fc563
AS
35481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35482
7998fa78
AS
35483 * configure.in (libc_cv_cc_nofma): Check for option to disable
35484 generation of FMA instructions.
35485 * configure: Regenerate.
35486 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35487 * sysdeps/ieee754/dbl-64/Makefile: New file.
35488 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35489 Remove brandred-fma4.
35490 (CFLAGS-brandred-fma4.c): Remove.
35491 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
35492 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
35493 define.
35494 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
35495 define.
35496
8e95c99a
L
354972012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35498
35499 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35500 LLONG_MAX != LONG_MAX.
35501 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35502 (_fitoa_word): Likewise.
35503 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
35504 LLONG_MAX != LONG_MAX.
35505 * stdio-common/_itowa.h: Include <_itoa.h>.
35506 (_itowa_word): Use _ITOA_WORD_TYPE on value.
35507 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
35508 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
35509 only if not defined.
35510 (_ITOA_WORD_TYPE): Likewise.
35511 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35512 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
35513
6f4db457
DM
355142012-03-21 David S. Miller <davem@davemloft.net>
35515
35516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35517
7785fe5a
L
355182012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35519
35520 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
35521 of x86_64 when setting libc_cv_slibdir, libdir and
35522 libc_cv_localedir.
35523 * sysdeps/unix/sysv/linux/configure: Regenerated.
35524
4535cd55
JM
355252012-03-21 Joseph Myers <joseph@codesourcery.com>
35526
35527 * manual/lang.texi (Old Varargs): Remove section.
35528 (How Variadic): Update menu.
35529 (va_start): Do not mention varargs.h.
35530
17228132
TS
355312012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35532 Joseph Myers <joseph@codesourcery.com>
35533
35534 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
35535 link test.
35536 * configure: Regenerated.
35537
8149f976
TS
355382012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35539
05f3d1f6
UD
35540 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
35541 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
35542 conformtest.pl
8149f976 35543
1a4ac776
JM
355442012-03-21 Joseph Myers <joseph@codesourcery.com>
35545
be22ce65
JM
35546 * NOTES: Remove.
35547 * Makefile (files-for-dist): Remove NOTES.
35548 (NOTES): Remove rule.
35549 * README: Don't refer to NOTES.
35550 * manual/creature.texi: Don't include macros.texi.
35551 * manual/intro.texi (creature.texi): Remove comment referring to
35552 NOTES.
35553
40b601fb
JM
35554 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
35555 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
35556 * configure: Regenerated.
35557 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
35558 LIBC_TRY_CC_OPTION.
35559 (libc_cv_as_i686): Likewise.
35560 (libc_cv_cc_avx): Likewise.
35561 (libc_cv_cc_sse2avx): Likewise.
35562 (libc_cv_cc_fma4): Likewise.
35563 (libc_cv_cc_novzeroupper): Likewise.
35564 * sysdeps/i386/configure: Regenerated.
35565
1a4ac776
JM
35566 [BZ #13883]
35567 * sysdeps/i386/fpu/s_cexp.S: Remove.
35568 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35569 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35570 * math/libm-test.inc (cexp_test): Add more tests.
35571 * sysdeps/i386/fpu/libm-test-ulps: Update.
35572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35573
a458e7fe
AM
355742012-03-21 Allan McRae <allan@archlinux.org>
35575
35576 * timezone/Makefile: Do not install iso3166.tab and zone.tab
35577
0cb7efc5
JM
355782012-03-21 Joseph Myers <joseph@codesourcery.com>
35579
35580 [BZ #13871]
35581 * math/w_exp2.c: Do not include <float.h>.
35582 (o_threshold, u_threshold): Remove.
35583 (__exp2): Calculate result before checking finiteness and calling
35584 __kernel_standard.
35585 * math/w_exp2f.c: Likewise.
35586 * math/w_exp2l.c: Likewise.
35587 * math/libm-test.inc (exp2_test): Require overflow exception for
35588 1e6 input.
2460d3aa
JM
35589
35590 [BZ #3866]
35591 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
35592 range of signed 64-bit integers before using fistpll. Remove
35593 checks for whether integers fit in mantissa bits.
35594 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
35595 the range of signed 32-bit integers before using fistpl. Remove
35596 checks for whether integers fit in mantissa bits.
35597 * sysdeps/i386/fpu/e_powl.S (p64): New object.
35598 (__ieee754_powl): Test for y outside the range of signed 64-bit
35599 integers before using fistpll. Reduce 64-bit values to 63-bit
35600 ones as needed.
35601 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
35602 divide-by-zero is raised for zero to large negative powers.
35603 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
35604 (__ieee754_powl): Test for y outside the range of signed 64-bit
35605 integers before using fistpll. Reduce 64-bit values to 63-bit
35606 ones as needed.
35607 * math/libm-test.inc (pow_test): Add more tests.
35608
eb96ffb0
L
356092012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35610
35611 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
35612 <stdio-common/_itoa.h>.
35613 * debug/segfault.c: Likewise.
35614 * elf/dl-cache.c: Likewise.
35615 * elf/dl-minimal.c: Likewise.
35616 * elf/dl-misc.c: Likewise.
35617 * elf/dl-sysdep.c: Likewise.
35618 * elf/dl-version.c: Likewise.
35619 * elf/rtld.c: Likewise.
35620 * hurd/hurdsock.c: Likewise.
35621 * hurd/lookup-retry.c: Likewise.
35622 * malloc/malloc.c: Likewise.
35623 * malloc/mtrace.c: Likewise.
35624 * nscd/nscd_getgr_r.c: Likewise.
35625 * nscd/nscd_getpw_r.c: Likewise.
35626 * nscd/nscd_getserv_r.c: Likewise.
35627 * posix/getopt_init.c: Likewise.
35628 * posix/wordexp.c: Likewise.
35629 * stdio-common/_itoa.c: Likewise.
35630 * stdio-common/printf_fphex.c: Likewise.
35631 * stdio-common/vfprintf.c: Likewise.
35632 * string/_strerror.c: Likewise.
35633 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
35634 * sysdeps/i386/i686/hp-timing.h: Likewise.
35635 * sysdeps/mach/_strerror.c: Likewise.
35636 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
35637 * sysdeps/mach/hurd/sethostid.c: Likewise.
35638 * sysdeps/mach/hurd/xmknodat.c: Likewise.
35639 * sysdeps/mach/xpg-strerror.c: Likewise.
35640 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35641 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35642 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
35643 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
35644 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35645 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
35646 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35647 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35648 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
35649 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
35650 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
35651 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
35652 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
35653 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35654 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35655 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
35656 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
35657 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
35658 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35659 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35660 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
35661
35662 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
35663
35664 * stdio-common/_itoa.h: Moved to ...
35665 * sysdeps/generic/_itoa.h: Here.
35666
35667 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
35668
35669 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
35670 instead of "_itoa.h" and "_itowa.h".
35671 * stdio-common/vfprintf.: Likewise.
35672
d1af992d
L
356732012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35674
35675 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
35676 <bits/wordsize.h>.
35677 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
35678 (__signbit): Likwise.
35679 (llrintf): Likwise.
35680 (llrint): Likwise.
35681
114883e0
L
356822012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35683
35684 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
35685 __WORDSIZE != 64.
35686
c135cc1b
JM
356872012-03-20 Joseph Myers <joseph@codesourcery.com>
35688
35689 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
35690 OVERFLOW_EXCEPTION_OK.
35691 * math/libm-test.inc ("Philosophy"): Update comment about
35692 exception testing.
35693 (OVERFLOW_EXCEPTION): Define.
35694 (OVERFLOW_EXCEPTION_OK): Likewise.
35695 (INVALID_EXCEPTION_OK): Renumber.
35696 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35697 (IGNORE_ZERO_INF_SIGN): Likewise.
35698 (test_exceptions): Handle FE_OVERFLOW.
35699 (exp10_test): Expect overflow exceptions.
35700 (exp2_test): Likewise.
35701 (expm1_test): Likewise.
35702 (nextafter_test): Likewise.
35703 (pow_test): Likewise.
35704 (scalbn_test): Likewise.
35705 (scalbln_test): Likewise.
35706
95443d88
L
357072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35708
35709 * sysdeps/x86_64/bits/atomic.h
35710 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
35711 64bit integer.
35712 (atomic_exchange_acq): Likewise.
35713 (__arch_exchange_and_add_body): Likewise.
35714 (__arch_add_body): Likewise.
35715 (atomic_add_negative): Likewise.
35716 (atomic_add_zero): Likewise.
35717
490df6c4
L
357182012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35719
c2722551 35720 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
35721 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
35722
5e52b189
L
357232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35724
35725 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
35726 Check __x86_64__ instead of __WORDSIZE.
35727
a9879d4c
L
357282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35729
35730 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
35731
5df98260
DM
357322012-03-19 David S. Miller <davem@davemloft.net>
35733
e1497744
DM
35734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35735
5df98260
DM
35736 * sysdeps/sparc/fpu/fenv_private.h: New file.
35737 * sysdeps/sparc/fpu/math_private.h: Use it.
35738 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
35739 Remove.
57f41c40 35740 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
35741 (libc_feholdexcept_setroundl): Remove.
35742 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
35743 Remove.
35744 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
35745 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
35746
b4c35121
L
357472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35748
35749 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
35750 int64_t instead of long int.
35751 (INSERT_WORDS64): Likwise.
35752
56965fd7
L
357532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35754
35755 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
35756 _Unwind_GetCFA return to _Unwind_Ptr first.
35757
83d1aec8
JM
357582012-03-19 Joseph Myers <joseph@codesourcery.com>
35759
1897ad44
JM
35760 [BZ #13629]
35761 * math/s_clog.c: Include <float.h>.
35762 (__clog): Scale large or subnormal inputs.
35763 * math/s_clogf.c: Likewise.
35764 * math/s_clogl.c: Likewise.
35765 * math/s_clog10.c: Include <float.h>.
35766 (M_LOG10_2): Define.
35767 (__clog10): Scale large or subnormal inputs.
35768 * math/s_clog10f.c: Likewise.
35769 * math/s_clog10l.c: Likewise.
35770 * math/libm-test.inc (clog_test): Add more tests.
35771 (clog10_test): Likewise.
35772 * sysdeps/i386/fpu/libm-test-ulps: Update.
35773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35774
7726d6a9
JM
35775 [BZ #11451]
35776 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
35777 x and y.
35778 * math/libm-test.inc (atan2_test): Add another test.
35779
83d1aec8
JM
35780 * Makerules (common-objdir-compile): Remove.
35781 * sysdeps/unix/Makefile (config-generated): Do not add
35782 $(unix-generated) to variable.
35783 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
35784 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
35785 Remove rule.
35786 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
35787 Likewise.
35788 [generic bits/local_lim.h] (before-compile): Do not append to
35789 variable.
35790 [generic bits/local_lim.h] (common-generated): Likewise.
35791 [generic sys/param.h] (before-compile): Do not append to variable.
35792 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
35793 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
35794 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
35795 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
35796 include.
35797 [generic sys/param.h] (sys/param.h-includes): Remove variable.
35798 [generic sys/param.h] (sys/param.h-includes): Remove rule.
35799 [generic sys/param.h] ($(addprefix
35800 $(common-objpfx),$(sys/param.h-includes))): Likewise.
35801 [generic sys/param.h] (common-generated): Do not append to
35802 variable.
35803 [generic sys/param.h] (sysdep_headers): Likewise.
35804 [generic bits/errno.h] (before-compile): Do not append to
35805 variable.
35806 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
35807 rule.
35808 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
35809 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
35810 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
35811 [generic bits/errno.h] (common-generated): Do not append to
35812 variable.
35813 [generic bits/ioctls.h] (before-compile): Do not append to
35814 variable.
35815 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
35816 rule.
35817 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
35818 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
35819 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
35820 rule.
35821 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
35822 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
35823 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
35824 [generic bits/ioctls.h] (common-generated): Do not append to
35825 variable.
35826 [generic sys/syscall.h] (syscall.h): Remove variable.
35827 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
35828 rule.
35829 [generic sys/syscall.h] (before-compile): Do not append to
35830 variable.
35831 [generic sys/syscall.h] (common-generated): Likewise.
35832 * sysdeps/unix/errnos-tmpl.c: Remove file.
35833 * sysdeps/unix/errnos.awk: Likewise.
35834 * sysdeps/unix/ioctls-tmpl.c: Likewise.
35835 * sysdeps/unix/ioctls.awk: Likewise.
35836 * sysdeps/unix/mk-local_lim.c: Likewise.
35837 * sysdeps/unix/snarf-ioctls: Likewise.
35838
4851a949
RH
358392012-03-19 Richard Henderson <rth@twiddle.net>
35840
bd37f2ee
RH
35841 * sysdeps/i386/fpu/fenv_private.h: New file.
35842 * sysdeps/i386/fpu/math_private.h: Use it.
35843 (math_opt_barrier, math_force_eval): Remove.
35844 (libc_feholdexcept_setround_53bit): Remove.
35845 (libc_feupdateenv_53bit): Remove.
35846 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35847 (math_opt_barrier, math_force_eval): Remove.
35848 (libc_feholdexcept): Remove.
35849 (libc_feholdexcept_setround): Remove.
35850 (libc_fetestexcept, libc_fesetenv): Remove.
35851 (libc_feupdateenv_test): Remove.
35852 (libc_feupdateenv, libc_feholdsetround): Remove.
35853 (libc_feresetround): Remove.
35854
d0adc922
RH
35855 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
35856 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35857
0fe0f1f8
RH
35858 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
35859 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
35860 (libc_feupdateenv_testl): New.
35861 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
35862 (libc_feupdateenv_testf): New.
35863 (libc_feupdateenv): Use libc_feupdateenv_test.
35864 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
35865 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
35866
eb92c487
RH
35867 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
35868 (libc_feholdsetroundf, libc_feholdsetroundl): New.
35869 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
35870 (libc_feresetround_noex): New.
35871 (libc_feresetround_noexf): New.
35872 (libc_feresetround_noexl): New.
35873 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
35874 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
35875 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
35876 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
35877 SET_RESTORE_ROUND.
35878 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35879 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
35880 (__cos): Likewise.
35881 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
35882 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
35883 SET_RESTORE_ROUND_NOEX.
35884 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
35885 SET_RESTORE_ROUND_NOEXF.
35886 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
35887 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
35888 (libc_feholdsetroundf): New.
35889 (libc_feresetround, libc_feresetroundf): New.
35890
7d2e8012
RH
35891 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
35892 (libc_feholdexcept_setround_53bit): Convert from macro to function.
35893 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
35894
b4dabbb4
RH
35895 * sysdeps/generic/math_private.h: Include <fenv.h>.
35896 (default_libc_feholdexcept): New.
35897 (default_libc_feholdexcept_setround): New.
35898 (default_libc_fesetenv, default_libc_feupdateenv): New.
35899 (libc_feholdexcept): Only define if undefined.
35900 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
35901 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
35902 (libc_feholdexcept_setroundl): Likewise.
35903 (libc_feholdexcept_setround_53bit): Likewise.
35904 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
35905 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
35906 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
35907 (libc_feupdateenv_53bit): Likewise.
35908 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
35909 (libc_feholdexcept): Convert from macro to inline function.
35910 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
35911 (libc_fesetenv, libc_feupdateenv): Likewise.
35912
4851a949
RH
35913 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
35914 not previously defined.
35915 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
35916 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
35917 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
35918 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
35919 * sysdeps/ieee754/flt-32/math_private.h: New file.
35920 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
35921 math_private.h below SET_FLOAT_WORD.
35922 (__isnan, __isinf_ns, __finite): Remove.
35923 (__isnanf, __isinf_nsf, __finitef): Remove.
35924
e79d442e
AS
359252012-03-18 Andreas Schwab <schwab@linux-m68k.org>
35926
35927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35928
90b80344
DM
359292012-03-17 David S. Miller <davem@davemloft.net>
35930
35931 [BZ #6471]
35932 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
35933 for 2.16.
35934
edc21804
DM
359352012-03-16 David S. Miller <davem@davemloft.net>
35936
77e927af
DM
35937 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
35938 warnings.
35939
374976dd
DM
35940 [BZ #6471]
35941 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
35942 properly.
35943 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
35944 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
35945 sysdep_routines when subdir is sysvipc.
35946 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
35947 __getshmlba helper.
35948
edc21804
DM
35949 * sysdeps/sparc/fpu/libm-test/ulps: Update.
35950
473c3ef3
L
359512012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35952
35953 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
35954 [__LP64__].
35955
eb0f39b6
L
359562012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35957
35958 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
35959 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
35960 (__lround): Renamed to ...
35961 (__llround): This. Replace long int with long long int.
35962 Define lround functions as aliases of llround functions.
35963 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
35964
6b6cd74b
L
359652012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35966
35967 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
35968 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
35969 adresses to uintptr_t. Replace "long int" and "unsigned long
35970 int" with "greg_t" on va_arg.
35971
f1a77b01
L
359722012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35973
35974 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
35975 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
35976
35977 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
35978 Move e_machine check before EI_CLASS check. Handle x32
35979 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
35980 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
35981 SKIP_EM_IA_64 and include
35982 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
35983
35984 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
35985 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
35986 (add_system_dir): New macro.
35987
35988 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
35989 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
35990
11b90b9f
JM
359912012-03-16 Joseph Myers <joseph@codesourcery.com>
35992
c36e1d23
JM
35993 [BZ #2551]
35994 [BZ #2552]
35995 [BZ #2553]
35996 [BZ #2554]
35997 [BZ #2562]
35998 [BZ #2563]
35999 [BZ #2565]
36000 [BZ #2566]
36001 [BZ #2576]
36002 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36003 (y0): Likewise.
36004 * math/w_j0f.c (j0f): Likewise.
36005 (y0f): Likewise.
36006 * math/w_j0l.c (__j0l): Likewise.
36007 (__y0l): Likewise.
36008 * math/w_j1.c (j1): Likewise.
36009 (y1): Likewise.
36010 * math/w_j1f.c (j1f): Likewise.
36011 (y1f): Likewise.
36012 * math/w_j1l.c (__j1l): Likewise.
36013 (__y1l): Likewise.
36014 * math/w_jn.c (jn): Likewise.
36015 (yn): Likewise.
36016 * math/w_jnf.c (jnf): Likewise.
36017 (ynf): Likewise.
36018 * math/w_jnl.c (__jnl): Likewise.
36019 (__ynl): Likewise.
36020 * math/libm-test.inc (j0_test): Add more tests.
36021 (j1_test): Likewise.
36022 (jn_test): Likewise. Add trailing semicolon to existing test.
36023 (y0_test): Likewise.
36024 (y1_test): Likewise.
36025 * sysdeps/i386/fpu/libm-test-ulps: Update.
36026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36027
11b90b9f
JM
36028 [BZ #13851]
36029 [BZ #13854]
36030 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36031 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36032 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36033 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36034 (__tanl): Set errno for infinite argument.
36035 * sysdeps/i386/fpu/mptan.c: Remove.
36036 * sysdeps/i386/fpu/s_tan.S: Likewise.
36037 * sysdeps/i386/fpu/s_tanl.S: Likewise.
36038 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36039 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36040 * math/libm-test.inc (tan_test): Add more tests and enable more
36041 tests for double and long double.
36042 * sysdeps/i386/fpu/libm-test-ulps: Update.
36043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36044
6a1bd2a1
JK
360452012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
36046
36047 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36048 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36049
10a803e0
RM
360502012-03-16 Roland McGrath <roland@hack.frob.com>
36051
36052 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36053 * configure.in: Use it for both main tree and add-ons.
36054 * configure: Regenerated.
36055
f196c7f7
L
360562012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36057
36058 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36059
8848d99d
JM
360602012-03-16 Joseph Myers <joseph@codesourcery.com>
36061
96cbe7f4
JM
36062 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36063 in comment.
36064
8848d99d
JM
36065 [BZ #13851]
36066 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36067 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36068 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36069 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36070 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36071 infinite argument.
36072 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36073 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36074 != 0 for prec == 2.
36075 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36076 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36077 * sysdeps/i386/fpu/s_cosl.S: Likewise.
36078 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36079 * sysdeps/i386/fpu/s_sinl.S: Likewise.
36080 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36081 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36082 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36083 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36084 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36085 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36086 * math/libm-test.inc (cos_test): Add more tests and enable more
36087 tests for long double.
36088 (sin_test): Likewise.
36089 (sincos_test): Likewise.
36090 * sysdeps/i386/fpu/libm-test-ulps: Update.
36091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36092
dd7f4703
DM
360932012-03-16 David S. Miller <davem@davemloft.net>
36094
36095 * sysdeps/sparc/fpu/math_private.h: New file.
36096
006f1daa
DM
360972012-03-15 David S. Miller <davem@davemloft.net>
36098
c0c83bc8
DM
36099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36100 file.
e6a62e18 36101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
36102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36103 file.
e6a62e18
DM
36104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36105 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36106 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36107 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36108 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36109 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36110 sysdep routines.
36111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36112
88cb87d9
DM
36113 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36114 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36115
006f1daa 36116 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
36117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36118 sparc-ifunc.h
006f1daa 36119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
36120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36121 Likewise.
36122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36123 Likewise.
006f1daa
DM
36124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
36127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36128 Likewise.
006f1daa
DM
36129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
36133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36134 Likewise.
36135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36136 Likewise.
006f1daa
DM
36137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36141 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36142 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36143 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36144 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36145 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36146 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36147 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36148 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36149 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36150 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36151 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36152 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36153 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36154 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36155 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36156 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36157 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36158 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36159 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36160 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36161
11e0098e
AS
361622012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36163
36164 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36165 scaling.
36166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36167
e85b09d0
AJ
361682012-03-15 Andreas Jaeger <aj@suse.de>
36169
36170 [BZ #13852]
36171 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36172 ieee754/flt-32 implementation for sin, cos and sincos.
36173 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36174 * sysdeps/i386/fpu/s_cosf.S: Likewise.
36175 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36176 * sysdeps/i386/fpu/s_sinf.S: Likewise.
36177 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36178 ieee754/flt-32 implementation for tan.
36179
36180 * math/libm-test.inc (cos_test): Enable some large input tests for
36181 float as well
36182 (sin_test): Likewise.
36183 (sincos_test): Likewise.
36184 (tan_test): Add tests for large input.
36185
36186 * sysdeps/i386/fpu/libm-test-ulps: Update.
36187
81c64153
AJ
361882012-03-15 Andreas Jaeger <aj@suse.de>
36189
36190 [BZ #13658]
36191 * math/libm-test.inc (cos_test): Add more test cases.
36192 (sin_test): Likewise.
36193 (sincos_test): Likewise.
36194
7bbfa5c6
AJ
361952012-03-15 Andreas Jaeger <aj@suse.de>
36196
36197 [BZ #13837]
36198 * math/libm-test.inc (cos_test): Add a test case for large input
36199 value.
36200 (sin_test): Likewise.
36201 (sincos_test): Likewise.
36202
57f41c40
AS
362032012-03-15 Andreas Jaeger <aj@suse.de>
36204 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
36205
36206 [BZ #13658]
0671f479 36207 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
36208 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36209 * sysdeps/i386/fpu/branred.c: Likewise.
36210 * sysdeps/i386/fpu/dosincos.c: Likewise.
36211 * sysdeps/i386/fpu/mpa.c: Likewise.
36212 * sysdeps/i386/fpu/s_cos.S: Likewise.
36213 * sysdeps/i386/fpu/s_sin.S: Likewise.
36214 * sysdeps/i386/fpu/s_sincos.S: Likewise.
36215 * sysdeps/i386/fpu/sincos32.c: Likewise.
36216
36217 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36218 Define.
36219 (libc_feupdateenv_53bit): Define.
36220 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36221 Define.
36222 (libc_feupdateenv_53bit): Define.
36223
36224 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36225 53 bit (without extend i386 double precision).
36226
36227 * math/libm-test.inc (sincos_test): Add tests for large input.
36228 (sin): Likewise.
36229 (cos): Likewise.
36230
36231 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36232
9cad04ea
AS
362332012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36234
36235 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36236
f7062b9a
DM
362372012-03-15 David S. Miller <davem@davemloft.net>
36238
36239 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36240 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36241 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36242 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36247 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36248 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36249 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36250 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36251 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36252 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36253 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
36254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36255 file.
f7062b9a 36256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
36257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36258 file.
f7062b9a 36259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
36260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36261 file.
f7062b9a 36262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
36263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36264 file.
f7062b9a
DM
36265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36266 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36267 fmin/fmax sysdep routines.
36268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36269
7bd951ff
DM
362702012-03-14 David S. Miller <davem@davemloft.net>
36271
559398ab
DM
36272 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36273 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36274 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36275 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36276 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36277 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36278 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36279 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36280 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36281 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36282 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36283 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36284 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36285 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36286 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36287 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36288 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36289 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36290 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36291 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36292 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36293 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36294 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36295 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36296 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36297 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36298 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36299 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
36300 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36301 routines.
36302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36303 file.
559398ab 36304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
36305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36306 file.
559398ab 36307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
36308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36309 file.
559398ab 36310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
36311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36312 file.
559398ab 36313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
36314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36315 file.
559398ab 36316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
36317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36318 file.
36319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36320 file.
36321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36322 file.
36323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36324 file.
36325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36326 New file.
36327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36328 file.
36329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36330 file.
559398ab 36331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
36332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36333 file.
559398ab 36334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
36335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36336 file.
559398ab 36337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
36338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36339 file.
559398ab 36340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
36341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36342 VIS3 routines.
559398ab
DM
36343
36344 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36345 New file.
36346
5a1c1e32
DM
36347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36348
eae47a36
DM
36349 * sysdeps/sparc/configure.in: New file.
36350 * sysdeps/sparc/configure: Generate.
36351 * configure.in (libc_cv_sparc_as_vis3): Substitute.
36352 * configure: Regenerate.
36353 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36354 * config.make.in (have-as-vis3): New.
36355 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36356 available use -Av9d instead of -Av9a.
36357 * sysdeps/sparc/sparc64/Makefile: Likewise.
36358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
36359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36360 New file.
36361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36362 file.
36363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36364 New file.
36365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36366 file.
eae47a36
DM
36367 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36368 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36369 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36370 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36371 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36372
c0c83bc8
DM
36373 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36374 fzeros/fnegs to load 0x80000000 into a float register instead of
36375 using the stack.
7bd951ff
DM
36376 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36377
bd951ccb
JM
363782012-03-14 Joseph Myers <joseph@codesourcery.com>
36379
36380 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36381 bits/syscall.h.
36382 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36383 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36384 ($(inst_includedir)/bits/syscall.h): Remove rule.
36385 ($(objpfx)bits/syscall.d): Include instead of
36386 $(objpfx)syscall-list.d.
36387 (generated): Change syscall-list.h and syscall-list.d to
36388 bits/syscall.h and bits/syscall.d.
36389
bb4e6db2
RM
363902012-03-14 Roland McGrath <roland@hack.frob.com>
36391
36392 [BZ #13846]
36393 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36394
aa4a2ae1
JM
363952012-03-14 Joseph Myers <joseph@codesourcery.com>
36396
e456826d
JM
36397 [BZ #13841]
36398 * math/s_csqrt.c: Include <float.h>.
36399 (__csqrt): Scale large or subnormal inputs.
36400 * math/s_csqrtf.c: Likewise.
36401 * math/s_csqrtl.c: Likewise.
36402 * math/libm-test.inc (csqrt_test): Add more tests.
36403 * sysdeps/i386/fpu/libm-test-ulps: Update.
36404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36405
aa4a2ae1
JM
36406 [BZ #13840]
36407 * math/libm-test.inc (hypot_test): Add more tests.
36408
7c10fd35
DM
364092012-03-13 David S. Miller <davem@davemloft.net>
36410
36411 [BZ #13840]
36412 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36413 double-precision for the calculation instead of scaling.
36414
f453b98b
JM
364152012-03-13 Joseph Myers <joseph@codesourcery.com>
36416
36417 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36418 manipulate bits before adding and subtracting TWO52[sx].
36419 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36420 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36421 Likewise.
36422 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36423
09a3453f
DM
364242012-03-13 David S. Miller <davem@davemloft.net>
36425
8e59da90
DM
36426 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36427 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36428 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36429 rtld-global-offsets.h
36430 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36431
2a8ab7f2
DM
36432 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36433 large parameters.
36434
10f62770
DM
36435 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36436
5f0bdb18
DM
36437 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36438 'err' in the ifdef scope in which it is actually used.
36439
09a3453f
DM
36440 * nss/nss_db/db-init.c: Include string.h
36441
b4b2eb5e
DM
364422012-03-12 David S. Miller <davem@davemloft.net>
36443
98bb2f1c
DM
36444 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36445 masking out of the most significant byte of random value used.
36446 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36447 Fix coding style in previous change.
36448
b4b2eb5e
DM
36449 * sysdeps/unix/sysv/linux/kernel-features.h
36450 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36451 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36452 expression.
36453 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36454 later.
36455
6e226b09
DM
364562012-03-11 David S. Miller <davem@davemloft.net>
36457
a1bcbd40
DM
36458 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36459 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36460 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36461 for 'resultvar' otherwise things get truncated on 64-bit.
36462
cb9d6174
DM
36463 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36464 Fix masking out of the most significant byte of random value used.
36465
6e226b09
DM
36466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36467
058c132d
AS
364682012-03-10 Andreas Schwab <schwab@linux-m68k.org>
36469
36470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36471
2d2cd515
DM
364722012-03-09 David S. Miller <davem@davemloft.net>
36473
36474 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36475 variables with appropriate CPP guards.
57f41c40
AS
36476 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36477 from the frame pointer, not the stack pointer. Correct layout
36478 comments. Fix test on resulting framesize and the management of
36479 the outregs buffer for pltexit. Preserve floating point return
36480 values across _dl_call_pltexit call.
2d2cd515
DM
36481 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36482 framesize and the management of the outregs buffer for pltexit.
36483 Preserve floating point return values across _dl_call_pltexit
36484 call.
57f41c40
AS
36485 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36486 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36487 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
36488 (print_exit): Fix format string for return register value.
36489
9a07f9d0
JM
364902012-03-10 Joseph Myers <joseph@codesourcery.com>
36491
36492 * sunrpc/Makefile (others): Add rpcgen.
36493 ($(objpfx)rpcgen): Remove special build rule and dependency on
36494 libc.
36495 * sunrpc/rpcgen.c: New file.
36496
547b5e30
PE
364972012-03-09 Paul Eggert <eggert@cs.ucla.edu>
36498
c524201a
PE
36499 [BZ #13673]
36500 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
36501 * stdio-common/bug-vfprintf-nargs.c: Likewise.
36502 * sysdeps/i386/crti.S: Likewise.
36503 * sysdeps/i386/crtn.S: Likewise.
36504 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
36505 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
36506 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
36507 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
36508 * sysdeps/sh/crti.S: Likewise.
36509 * sysdeps/sh/crtn.S: Likewise.
36510 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36511
7b6235f2
PE
36512 [BZ #13673]
36513 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
36514 with URL.
36515 * locale/programs/locfile-kw.gperf: Likewise.
36516 * locale/programs/charmap-kw.h: Regenerated.
36517 * locale/programs/locfile-kw.h: Likewise.
36518
547b5e30
PE
36519 [BZ #13673]
36520 * intl/plural.y: Replace FSF snail mail address with URL.
36521 * intl/plural.c: Regenerated.
36522
5f0a5dae
RH
365232012-03-09 Richard Henderson <rth@twiddle.net>
36524
36525 * include/math_private.h: Remove file.
36526 * math/math_private.h: Move file ...
36527 * sysdeps/generic/math_private.h: ... here.
36528
b8c03620
RH
36529 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
36530 * sysdeps/powerpc/fpu/math_private.h: Likewise.
36531 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36532
4e234f5d 36533 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
36534 and <math_private.h>.
36535 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36536 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36537 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36538 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36539 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36540 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
36541 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36542 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36543 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36544 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36545 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36546 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36547 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36548 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36549 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36550 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36551 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36552 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36553 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36554 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36555 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36556 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36557 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36558 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36559 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36560 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36561 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36562 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36563 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36564 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36565 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36566 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36567 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36568 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36569 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36570 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36571 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36572 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36573 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36574 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36575 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
36576 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36577 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36578 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36579 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36580 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36581 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
36582 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36583 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36584 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36585 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36586 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
36587 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36588 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36589 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36590 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36591 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36592 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36593 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36594 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
36595 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36596 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36597 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36598 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36599 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
36600 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36601 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36602 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36603 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
36604 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
36605 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36606 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36607 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36608 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36609 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
36610 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
36611 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
36612 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36613 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
36614 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
36615 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36616 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
36617 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36618 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36619 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36620 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36621 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
36622 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
36623 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36624 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36625 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36626 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36627 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36628 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36629 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36630 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36631 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36632 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36633 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36634 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36635 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36636 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36637 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36638 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36639 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36640 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36641 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36642 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36643 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36644 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36645 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36646 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36647 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36648 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36649 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
36650 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36651 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36652 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36653 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36654 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36655 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36656 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36657 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36658 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
36659 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36660 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36661 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36662 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
36663 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36664 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
36665 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
36666 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36667 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36668 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
36669 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
36670 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36671 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36672 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36673 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
36674 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36675 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36676 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36677 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36678 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
36679 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
36680 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36681 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36682 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36683 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
36684 * sysdeps/ieee754/k_standard.c: Likewise.
36685 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36686 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36687 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36688 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36689 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36690 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36691 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36692 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36693 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36694 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36695 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36696 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36697 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36698 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36699 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36700 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36701 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36702 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36703 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36704 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
36705 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
36706 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
36707 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36708 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36709 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36710 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36711 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36712 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36713 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36714 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36715 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36716 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36717 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36718 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36719 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36720 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36721 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36722 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
36723 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
36724 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36725 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36726 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36727 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36728 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36729 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36730 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36731 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36732 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36733 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36734 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36735 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36736 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36737 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36738 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
36739 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36740 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36741 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
36742 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
36743 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36744 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36745 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36746 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36747 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36748 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36749 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36750 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36751 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36752 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36753 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36754 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36755 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36756 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36757 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36758 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36759 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36760 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36761 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
36762 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36763 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36764 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36765 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36766 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36767 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36768 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36769 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
36770 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36771 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36772 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36773 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36774 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36775 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
36776 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36777 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36778 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36779 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36780 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36781 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
36782 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36783 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36784 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
36785 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36786 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36787 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36788 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36789 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
36790 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36791 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36792 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36793 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
36794 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36795 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36796 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36797 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36798 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36799 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36800 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36801 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36802 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36803 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36804 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36805 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36806 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36807 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36808 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36809 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36810 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
36811 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36812 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36813 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36814 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36815 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36816 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36817 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36818 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36819 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36820 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36821 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
36822 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36823 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36824 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
36825 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
36826 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36827 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
36828 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
36829 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36830 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36831 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36832 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36833 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36834 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
36835 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36836 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36837 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36838 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36839 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
36840 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
36841 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36842 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36843 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36844 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36845 * sysdeps/ieee754/s_lib_version.c: Likewise.
36846 * sysdeps/ieee754/s_matherr.c: Likewise.
36847 * sysdeps/ieee754/s_signgam.c: Likewise.
36848 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36849 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36850 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
36851 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
36852 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
36853 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36854 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
36855 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
36856 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
36857 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
36858 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36859 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
36860 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36861 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36862 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
36863 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36864 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36865 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36866 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36867 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36868 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 36869
1991fa03
JM
368702012-03-09 Joseph Myers <joseph@codesourcery.com>
36871
36872 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
36873 * sunrpc/rpc_main.c: Likewise.
36874 * sunrpc/rpc_svcout.c: Likewise.
36875
60d6f5a6
DM
368762012-03-09 David S. Miller <davem@davemloft.net>
36877
36878 * include/math_private.h: New file.
36879
4962050e
JM
368802012-03-09 Joseph Myers <joseph@codesourcery.com>
36881
02a6f887
JM
36882 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
36883 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
36884 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
36885 from <bits/socket_type.h>.
36886 (enum __socket_type): Don't define here.
36887 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
36888 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36889 bits/socket_type.h.
36890
c6e013c1
JM
36891 [BZ #13566]
36892 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
36893 checking __USE_GNU.
36894
4962050e
JM
36895 * Makerules ($(inst_includedir)/%.h): New rule.
36896 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
36897 (install-others): Remove variable setting.
36898 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
36899
38842f45
RH
369002012-03-08 Richard Henderson <rth@twiddle.net>
36901
67bb6da6
RH
36902 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
36903 from macro to inline function; merge with the
36904 !__LIBC_INTERNAL_MATH_INLINES version.
36905 (__ieee754_sqrtf): Likewise.
36906
15194b4b
RH
36907 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
36908 to inline function.
36909 (__rintf, __floor, __floorf): Likewise.
36910
64e21ede
RH
36911 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
36912 macro to inline function.
36913 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
36914
38842f45
RH
36915 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
36916 not <math/math_private.h>.
36917
c64bf5fe
DM
369182012-03-08 David S. Miller <davem@davemloft.net>
36919
36920 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
36921 copyright year.
36922 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
36923
82d86f28
TS
369242012-03-08 Thomas Schwinge <thomas@codesourcery.com>
36925
36926 * resolv/gai_misc.c (handle_requests): Fix struct timespec
36927 normalization.
36928 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
36929 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36930
aea5d727
UD
369312012-03-08 Ulrich Drepper <drepper@gmail.com>
36932
36933 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
36934 be defined individually, they must be defined as a block. Define
36935 S for printing a string instead of hidint the different by using a
36936 macro for adding the 'l'.
36937 * stdio-common/tst-fphex-wide.c: Adjust.
36938
70bca0a3
MP
369392012-03-07 Marek Polacek <polacek@redhat.com>
36940
36941 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
36942
65b81130
MP
369432012-03-08 Marek Polacek <polacek@redhat.com>
36944
36945 [BZ #13806]
36946 * stdio-common/Makefile (tests): Add tst-fphex-wide.
36947 * stdio-common/tst-fphex.c: Define a few macros to make the
36948 test reusable. Use them.
36949 * stdio-common/tst-fphex-wide.c: New file.
36950
07037eeb
JM
369512012-03-08 Joseph Myers <joseph@codesourcery.com>
36952
a7a93d50
JM
36953 [BZ #6911]
36954 * manual/macros.texi (gnusystems): New macro.
36955 (nongnusystems): Likewise.
36956 (gnulinuxhurdsystems): Likewise.
36957 (gnuhurdsystems): Likewise..
36958 (gnulinuxsystems): Likewise.
36959 * manual/charset.texi: Use new macros or @theglibc{} to refer to
36960 variants of the GNU system, not "GNU system".
36961 * manual/conf.texi: Likewise.
36962 * manual/errno.texi: Likewise. Update example of errno macro
36963 expansion.
36964 * manual/filesys.texi: Likewise.
36965 (getumask): Document as specific to GNU/Hurd.
36966 * manual/install.texi: Likewise. Reword some references to
36967 GNU/Linux.
36968 * manual/intro.texi: Likewise.
36969 * manual/io.texi: Likewise.
36970 (File Name Portability): Detail which constraints are inapplicable
36971 to all GNU systems and which are only inapplicable to GNU/Hurd.
36972 * manual/job.texi: Likewise.
36973 * manual/llio.texi: Likewise.
36974 (O_NOCTTY): Document as present on GNU/Linux.
36975 * manual/maint.texi: Likewise.
36976 * manual/memory.texi: Likewise.
36977 * manual/pattern.texi: Likewise.
36978 * manual/pipe.texi: Likewise.
36979 * manual/process.texi: Likewise.
36980 * manual/resource.texi: Likewise.
36981 (RUSAGE_CHILDREN): Remove statement about specifying a particular
36982 child on GNU/Hurd.
36983 * manual/setjmp.texi: Likewise.
36984 * manual/signal.texi: Likewise.
36985 * manual/startup.texi: Likewise.
36986 * manual/stdio.texi: Likewise.
36987 * manual/terminal.texi: Likewise.
36988 (ONLCR): Document as POSIX.
36989 (OXTABS): Document availability on GNU/Linux as XTABS.
36990 (ONOEOT): Document availability separately from other bits.
36991 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
36992 * manual/time.texi: Likewise.
36993 * manual/users.texi: Likewise.
36994 * INSTALL: Regenerated.
36995 * sysdeps/gnu/errlist.c: Regenerated.
36996
07037eeb
JM
36997 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
36998 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
36999 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
37000 puts.
37001 * configure: Regenerated.
37002
d1d3431a
JM
370032012-03-07 Joseph Myers <joseph@codesourcery.com>
37004
af6a1e37
JM
37005 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37006 default includes instead of AC_HEADER_CHECK.
37007 * sysdeps/i386/configure: Regenerated.
37008
d1d3431a
JM
37009 [BZ #10716]
37010 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37011 * math/s_cacoshf.c (__cacoshf): Likewise.
37012 * math/s_cacoshl.c (__cacoshl): Likewise.
37013 * math/s_casinh.c (__casinh): Set signs of result from argument.
37014 * math/s_casinhf.c (__casinhf): Likewise.
37015 * math/s_casinhl.c (__casinhl): Likewise.
37016 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37017 (casinh_test): Add more tests.
37018 * sysdeps/i386/fpu/libm-test-ulps: Update.
37019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37020
482ff4da
UD
370212012-03-07 Ulrich Drepper <drepper@gmail.com>
37022
872fda05
UD
37023 * po/zh_TW.po: Update from translation team.
37024
a4300c7a
UD
37025 * login/Makefile (distribute): Remove variable.
37026 * catgets/Makefile: Likewise.
37027 * mach/Makefile: Likewise.
37028 * malloc/Makefile: Likewise.
37029 * misc/Makefile: Likewise.
37030 * iconv/Makefile: Likewise.
37031 * nscd/Makefile: Likewise.
37032 * hurd/Makefile: Likewise.
37033 * manual/Makefile: Likewise.
37034 * locale/Makefile: Likewise.
37035 * intl/Makefile: Likewise.
37036 * conform/Makefile: Likewise.
37037 * nss/Makefile: Likewise.
37038 * time/Makefile: Likewise.
37039 * soft-fp/Makefile: Likewise.
37040 * dirent/Makefile: Likewise.
37041 * gmon/Makefile: Likewise.
37042 * po/Makefile: Likewise.
37043 * rt/Makefile: Likewise.
37044 * socket/Makefile: Likewise.
37045 * math/Makefile: Likewise.
37046 * signal/Makefile: Likewise.
37047 * debug/Makefile: Likewise.
37048 * elf/Makefile: Likewise.
37049 * timezone/Makefile: Likewise.
37050 * stdlib/Makefile: Likewise.
37051 * iconvdata/Makefile: Likewise.
37052 * sunrpc/Makefile: Likewise.
37053 * io/Makefile: Likewise.
37054 * argp/Makefile: Likewise.
37055 * inet/Makefile: Likewise.
37056 * hesiod/Makefile: Likewise.
37057 * grp/Makefile: Likewise.
37058 * csu/Makefile: Likewise.
37059 * wctype/Makefile: Likewise.
37060 * crypt/Makefile: Likewise.
37061 * libio/Makefile: Likewise.
37062 * string/Makefile: Likewise.
37063 * nis/Makefile: Likewise.
37064 * resolv/Makefile: Likewise.
37065 * stdio-common/Makefile: Likewise.
37066 * wcsmbs/Makefile: Likewise.
37067 * dlfcn/Makefile: Likewise.
37068 * posix/Makefile: Likewise.
37069
3b7c4e74 37070 [BZ #6959]
482ff4da
UD
37071 * timezone/Makefile: Don't install timezone files, just the programs
37072 and scripts.
37073
f72ed77d
UD
370742012-03-06 Ulrich Drepper <drepper@gmail.com>
37075
a000466f
UD
37076 * nss/databases.def: Add missing gshadow entry.
37077
f72ed77d
UD
37078 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
37079
a53b7a4e
MP
370802012-03-06 Marek Polacek <polacek@redhat.com>
37081
37082 [BZ #13726]
37083 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37084 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37085 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37086 * stdio-common/tst-long-dbl-fphex.c: New file.
37087
e9258400
DM
370882012-03-06 David S. Miller <davem@davemloft.net>
37089
37090 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37091 (set_obp_int): New function.
37092 (get_obp_int): New function.
37093 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
37094 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37095 Avoid unused variable warnings on 'val' and use builtin_expect.
37096 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37097 __builtin_expect.
e9258400
DM
37098 (INLINE_CLONE_SYSCALL): Likewise.
37099
3bd2c723
DM
371002012-03-05 David S. Miller <davem@davemloft.net>
37101
37102 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37103
bbb78d03
AS
371042012-03-05 Andreas Schwab <schwab@linux-m68k.org>
37105
884c5db4
AS
37106 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37107
bbb78d03
AS
37108 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37109 only for |x| >= 40.
37110 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37111
1c9f702a 371122012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
37113
37114 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37115 Replace gettimeofday with __vdso_gettimeofday.
37116
7be16f82
RM
37117 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37118 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37119 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
37120
37121 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37122 time with __vdso_time.
37123
ed58a00f
JM
371242012-03-05 Joseph Myers <joseph@codesourcery.com>
37125
37126 * manual/lang.texi (size_t): Note types to which size_t may be
37127 equivalent with the GNU C Library, but do not describe when
37128 differences between them are significant.
37129
30ee4ced
AJ
371302012-03-05 Andreas Jaeger <aj@suse.de>
37131
37132 * sysdeps/i386/fpu/libm-test-ulps: Update.
37133
b7cd39e8
JM
371342012-03-05 Joseph Myers <joseph@codesourcery.com>
37135
37136 [BZ #3976]
37137 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37138 (__ieee754_pow): Save and restore rounding mode and use
37139 round-to-nearest for main computations.
37140 * math/libm-test.inc (pow_test_tonearest): New function.
37141 (pow_test_towardzero): Likewise.
37142 (pow_test_downward): Likewise.
37143 (pow_test_upward): Likewise.
37144 (main): Call the new functions.
37145 * sysdeps/i386/fpu/libm-test-ulps: Update.
37146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
37147
37148 [BZ #3976]
37149 * math/libm-test.inc (cosh_test_tonearest): New function.
37150 (cosh_test_towardzero): Likewise.
37151 (cosh_test_downward): Likewise.
37152 (cosh_test_upward): Likewise.
37153 (sinh_test_tonearest): Likewise.
37154 (sinh_test_towardzero): Likewise.
37155 (sinh_test_downward): Likewise.
37156 (sinh_test_upward): Likewise.
37157 (main): Call the new functions.
37158 * sysdeps/i386/fpu/libm-test-ulps: Update.
37159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37160
6c6a98c9
TV
371612012-03-05 Tom de Vries <tom@codesourcery.com>
37162
37163 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37164 default stack guard is set in last bytes.
37165 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37166
21bb2d2e 371672012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 37168
21bb2d2e 37169 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 37170
21bb2d2e
AJ
37171 [BZ #13656]
37172 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37173 possibly allocate from heap instead of stack.
37174 * stdio-common/bug-vfprintf-nargs.c: New file.
37175 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 37176
c6922934
AS
371772012-03-03 Andreas Schwab <schwab@linux-m68k.org>
37178
37179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37180
bc957d53
MP
371812012-03-03 Marek Polacek <polacek@redhat.com>
37182
37183 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37184 * math/math_private.h: Likewise.
37185 * stdlib/tst-strtod.c: Likewise.
37186 * sysdeps/i386/i486/bits/atomic.h: Likewise.
37187 * sysdeps/x86_64/bits/atomic.h: Likewise.
37188
6358490d
DM
371892012-03-02 David S. Miller <davem@davemloft.net>
37190
37191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37195 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37196 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37197 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37198 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37199
01ae168d
RM
372002012-03-02 Roland McGrath <roland@hack.frob.com>
37201
d9a17c07
RM
37202 [BZ #13792]
37203 * manual/examples/README: New file, says the example source files
37204 can be used under GPL>=2.
37205 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37206 line containing just "*/".
37207 * manual/examples/add.c: Add copyright header (GPL>=2).
37208 * manual/examples/argp-ex1.c: Likewise.
37209 * manual/examples/argp-ex2.c: Likewise.
37210 * manual/examples/argp-ex3.c: Likewise.
37211 * manual/examples/argp-ex4.c: Likewise.
37212 * manual/examples/atexit.c: Likewise.
37213 * manual/examples/db.c: Likewise.
37214 * manual/examples/dir.c: Likewise.
37215 * manual/examples/dir2.c: Likewise.
37216 * manual/examples/execinfo.c: Likewise.
37217 * manual/examples/filecli.c: Likewise.
37218 * manual/examples/filesrv.c: Likewise.
37219 * manual/examples/fmtmsgexpl.c: Likewise.
37220 * manual/examples/genpass.c: Likewise.
37221 * manual/examples/inetcli.c: Likewise.
37222 * manual/examples/inetsrv.c: Likewise.
37223 * manual/examples/isockad.c: Likewise.
37224 * manual/examples/longopt.c: Likewise.
37225 * manual/examples/memopen.c: Likewise.
37226 * manual/examples/memstrm.c: Likewise.
37227 * manual/examples/mkfsock.c: Likewise.
37228 * manual/examples/mkisock.c: Likewise.
37229 * manual/examples/mygetpass.c: Likewise.
37230 * manual/examples/pipe.c: Likewise.
37231 * manual/examples/popen.c: Likewise.
37232 * manual/examples/rprintf.c: Likewise.
37233 * manual/examples/search.c: Likewise.
37234 * manual/examples/select.c: Likewise.
37235 * manual/examples/setjmp.c: Likewise.
37236 * manual/examples/sigh1.c: Likewise.
37237 * manual/examples/sigusr.c: Likewise.
37238 * manual/examples/stpcpy.c: Likewise.
37239 * manual/examples/strdupa.c: Likewise.
37240 * manual/examples/strftim.c: Likewise.
37241 * manual/examples/strncat.c: Likewise.
37242 * manual/examples/subopt.c: Likewise.
37243 * manual/examples/swapcontext.c: Likewise.
37244 * manual/examples/termios.c: Likewise.
37245 * manual/examples/testopt.c: Likewise.
37246 * manual/examples/testpass.c: Likewise.
37247 * manual/examples/timeval_subtract.c: Likewise.
37248
01ae168d
RM
37249 [BZ #13792]
37250 * manual/time.texi (Elapsed Time): Move timeval_subtract example
37251 function to ...
37252 * manual/timeval_subtract.c.texi: ... here, new file.
37253
49efa33d
DM
372542012-03-02 David S. Miller <davem@davemloft.net>
37255
37256 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37257
28afd92d
JM
372582012-03-02 Joseph Myers <joseph@codesourcery.com>
37259
804360ed
JM
37260 [BZ #3976]
37261 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37262 (__sin): Save and restore rounding mode and use round-to-nearest
37263 for all computations.
37264 (__cos): Save and restore rounding mode and use round-to-nearest
37265 for all computations.
37266 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37267 <fenv.h>.
37268 (tan): Save and restore rounding mode and use round-to-nearest for
37269 all computations.
37270 * math/libm-test.inc (cos_test_tonearest): New function.
37271 (cos_test_towardzero): Likewise.
37272 (cos_test_downward): Likewise.
37273 (cos_test_upward): Likewise.
37274 (sin_test_tonearest): Likewise.
37275 (sin_test_towardzero): Likewise.
37276 (sin_test_downward): Likewise.
37277 (sin_test_upward): Likewise.
37278 (tan_test_tonearest): Likewise.
37279 (tan_test_towardzero): Likewise.
37280 (tan_test_downward): Likewise.
37281 (tan_test_upward): Likewise.
37282 (main): Call the new functions.
37283 * sysdeps/i386/fpu/libm-test-ulps: Update.
37284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37285
a6d06d7b
JM
37286 [BZ #10135]
37287 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37288 small n, then large n, before computing and testing k+n.
37289 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37290 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37291 Likewise.
37292 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37293 Likewise.
37294 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37295 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37296 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37297 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37298 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37299 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37300 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37301 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37302 * math/libm-test.inc (scalbn_test): Add more tests.
37303 (scalbln_test): Likewise.
37304
07e12bb3
JM
37305 * manual/filesys.texi (mode_t): Describe constraints on size and
37306 signedness, not exact equivalence to a particular type.
37307 (ino_t): Likewise.
37308 (ino64_t): Likewise.
37309 (dev_t): Likewise.
37310 (nlink_t): Likewise.
37311 (blkcnt_t): Likewise.
37312 (blkcnt64_t): Likewise.
37313 * manual/llio.texi (off_t): Likewise.
37314
28afd92d
JM
37315 [BZ #3976]
37316 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37317 (__ieee754_exp): Save and restore rounding mode and use
37318 round-to-nearest for all computations.
37319 * math/libm-test.inc (exp_test_tonearest): New function.
37320 (exp_test_towardzero): Likewise.
37321 (exp_test_downward): Likewise.
37322 (exp_test_upward): Likewise.
37323 (main): Call the new functions.
37324 * sysdeps/i386/fpu/libm-test-ulps: Update.
37325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37326
b1eeb65d
CD
373272012-03-01 Chris Demetriou <cgd@google.com>
37328
37329 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37330 have predictable order.
37331
53362a4b
DM
373322012-03-01 David S. Miller <davem@davemloft.net>
37333
3c969083
DM
37334 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37335
759707de
DM
37336 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37337 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37338 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37339 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37340
dfdb8ff2
DM
37341 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37342 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37343 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37345 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37346 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37347 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37348 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37349 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37350
ead89f96
DM
37351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37352
7f66bd07
DM
37353 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37354 * sysdeps/sparc/fpu/libm-test-ulps: to here.
37355 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37356
53362a4b
DM
37357 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37358 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37359 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37360 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37361 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37362 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37363 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37364 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37365 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37366 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37367 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37368 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37369 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37370 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37371 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37372 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37373 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37374 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37375 * sysdeps/sparc/elf/configure: Regenerated.
37376
7b1902cb
JM
373772012-03-01 Joseph Myers <joseph@codesourcery.com>
37378
bec039bc
JM
37379 * configure.in (AS, LD): Require binutils 2.20 or later.
37380 * configure: Regenerated.
37381 * manual/install.texi (Tools for Compilation): Give binutils 2.20
37382 as required minimum version.
37383 * INSTALL: Regenerated.
37384
7b1902cb
JM
37385 [BZ #2541]
37386 [BZ #4108]
37387 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37388 before squaring exponent.
37389 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37390 bottom long double and 27 bits of top long double before squaring
37391 exponent.
37392 * math/libm-test.inc (erfc_test): Add more tests.
37393 * sysdeps/i386/fpu/libm-test-ulps: Update.
37394 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37396
f775c276
KT
373972012-03-01 Kai Tietz <ktietz@redhat.com>
37398
37399 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37400 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37401 containing bit-fields.
37402 * soft-fp/extended.h (_FP_UNION_E): Likewise.
37403 * soft-fp/single.h (_FP_UNION_S): Likewise.
37404 * soft-fp/double.h (_FP_UNION_D): Likewise.
37405
5b8a4d4a
JM
374062012-02-29 Joseph Myers <joseph@codesourcery.com>
37407
0bab47b6
JM
37408 [BZ #13786]
37409 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37410 not include ../strcmp.S.
37411 [USE_AS_STRNCASECMP_L]: Likewise.
37412 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37413 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37414 * sysdeps/i386/i686/multiarch/strncase_l-c.c
37415 (__strncasecmp_l_ia32): Define as alias to
37416 __strncasecmp_l_nonascii.
37417
0fcad3e2
JM
37418 [BZ #5794]
37419 * math/libm-test.inc (expm1_test): Add test for bug 5794.
37420 * sysdeps/i386/fpu/libm-test-ulps: Update.
37421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37422
5b8a4d4a
JM
37423 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37425
8fdceb2e
JL
374262012-02-29 Jeff Law <law@redhat.com>
37427
37428 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37429 out of bounds read.
37430
1f393a11
MP
374312012-02-29 Marek Polacek <polacek@redhat.com>
37432
37433 [BZ #13706]
37434 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37435 * elf/Makefile: Add rules to run tst-unused-dep.out.
37436
8847f037
DM
374372012-02-28 David S. Miller <davem@davemloft.net>
37438
37439 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37440 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37441 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37442 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37443 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37444 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37445
169d7f11
JM
374462012-02-29 Joseph Myers <joseph@codesourcery.com>
37447
37448 * math/libm-test.inc (llround_test): Move one test from
37449 lround_test. Use TEST_f_L in moved test.
37450 (lround_test): Move misplaced test to llround_test. Add testcase
37451 from bug 2561.
37452
39adf059
UD
374532012-02-28 Ulrich Drepper <drepper@gmail.com>
37454
37455 * sysdeps/x86_64/fpu/e_expf.S: New file.
37456 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37457
71b5d1c5
SB
374582012-02-28 Stanislav Brabec <sbrabec@suse.cz>
37459
37460 [BZ #13637]
37461 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37462 of remain_len that may cause incomplete multi-byte character and
37463 false match.
37464 * posix/bug-regex33.c: New file.
37465 * posix/Makefile (tests): Add bug-regex33.
37466
1f77f049
JM
374672012-02-28 Joseph Myers <joseph@codesourcery.com>
37468
37469 * manual/macros.texi: New file.
37470 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37471 * manual/libc.texinfo: Include macros.texi.
37472 * manual/creatute.texi: Likewise.
37473 * manual/install.texi: Likewise.
37474 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37475 @glibcadj{} in references to the GNU C Library.
37476 * manual/charset.texi: Likewise.
37477 * manual/conf.texi: Likewise.
37478 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
37479 when not using those macros.
37480 * manual/creature.texi: Likewise.
37481 * manual/crypt.texi: Likewise.
37482 * manual/errno.texi: Likewise.
37483 * manual/filesys.texi: Likewise.
37484 * manual/header.texi: Likewise.
37485 * manual/install.texi: Likewise.
37486 * manual/intro.texi: Likewise.
37487 * manual/io.texi: Likewise.
37488 * manual/job.texi: Likewise.
37489 * manual/lang.texi: Likewise.
37490 * manual/libc.texiinfo: Likewise.
37491 * manual/llio.texi: Likewise.
37492 * manual/locale.texi: Likewise.
37493 * manual/maint.texi: Likewise.
37494 * manual/math.texi: Likewise.
37495 * manual/memory.texi: Likewise.
37496 * manual/message.texi: Likewise.
37497 * manual/nss.texi: Likewise.
37498 * manual/pattern.texi: Likewise.
37499 * manual/process.texi: Likewise.
37500 * manual/resource.texi: Likewise.
37501 * manual/search.texi: Likewise.
37502 * manual/setjmp.texi: Likewise.
37503 * manual/signal.texi: Likewise.
37504 * manual/socket.texi: Likewise.
37505 * manual/startup.texi: Likewise.
37506 * manual/stdio.texi: Likewise.
37507 * manual/string.texi: Likewise.
37508 * manual/sysinfo.texi: Likewise.
37509 * manual/syslog.texi: Likewise.
37510 * manual/terminal.texi: Likewise.
37511 * manual/time.texi: Likewise.
37512 * manual/users.texi: Likewise.
37513 * INSTALL: Regenerated.
37514 * NOTES: Regenerated.
d40c5d54 37515 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 37516
450bf206
AS
375172012-02-28 Andreas Schwab <schwab@linux-m68k.org>
37518
37519 * include/dirent.h: Include <dirstream.h> before
37520 <dirent/dirent.h>.
37521
741a235b
DM
375222012-02-28 David S. Miller <davem@davemloft.net>
37523
37524 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
37525 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
37526 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
37527 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
37528
d6b5aa58
DM
375292012-02-27 David S. Miller <davem@davemloft.net>
37530
1aff59a3
DM
37531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
37532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
37533 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
37534 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
37535
d6b5aa58
DM
37536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
37537 frame pointer instead of stack pointer relative arg slot.
37538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37539 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37540 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37541
433f48bf
CD
375422012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
37543
37544 [BZ #3992]
37545 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
37546
d674b76d
DM
375472012-02-27 David S. Miller <davem@davemloft.net>
37548
37549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
37550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
37553 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37554 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37555 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
37556 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
37557
0e7727f7
JM
375582012-02-27 Joseph Myers <joseph@codesourcery.com>
37559
37560 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
37561 later. Allow versions 5-9.
43be4ca2 37562 * configure: Regenerated.
0e7727f7
JM
37563 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
37564 required minimum version and 4.6 as recommended version. Do not
37565 mention bugs in GCC 2.7 and 2.8.
43be4ca2 37566 * INSTALL: Regenerated.
0e7727f7 37567
a78bc654
DM
375682012-02-27 David S. Miller <davem@davemloft.net>
37569
428d5830
DM
37570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
37571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
37572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
37573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
37574 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
37575 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
37576 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
37577 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
37578
a78bc654
DM
37579 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
37580 manipulate bits before adding and subtracting TWO112[sx].
37581 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37582
4579f81c
RM
375832012-02-27 Roland McGrath <roland@hack.frob.com>
37584
36c8acb4
RM
37585 [BZ #13775]
37586 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
37587 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
37588 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
37589 being in POSIX, because they are in 1003.1-2008.
37590
84ad622b
RM
37591 * rt/tst-aio.c: Include <fcntl.h>.
37592 * rt/tst-aio7.c: Likewise.
37593 * rt/tst-aio64.c: Likewise.
37594
4579f81c
RM
37595 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
37596
abd923db
JM
375972012-02-27 Joseph Myers <joseph@codesourcery.com>
37598
37599 * manual/install.texi (--with-headers): Describe headers as
37600 interface headers, not private headers.
37601 (Specific advice for GNU/Linux systems): Describe use of headers
37602 from "make headers_install", not private headers from older
37603 kernels.
43be4ca2 37604 * INSTALL: Regenerated.
abd923db
JM
37605 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
37606 Change to 2.6.19.
37607 * sysdeps/unix/sysv/linux/configure: Regenerated.
37608
6664049b
JM
37609 * manual/llio.texi (fclean): Remove documentation.
37610
bb8b6697
JM
37611 * manual/Makefile (libc-texi-generated): New variable. Include
37612 version.texi.
37613 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
37614 $(libc-texi-generated), not duplicated list of files.
37615 (version.texi, stamp-version): New rules.
37616 (realclean): Remove $(libc-texi-generated), not individual files
37617 from that list. Do not remove dir-add.texinfo.
37618 * manual/libc.texinfo: Comment out uses of edition numbers and
37619 references to printed manual. Remove last-updated dates.
37620 (EDITION): Comment out.
37621 (ISBN): Likewise.
37622 (VERSION, UPDATED): Remove.
37623 (version.texi): Include.
37624
12e5c3b9
AS
376252012-02-27 Andreas Schwab <schwab@linux-m68k.org>
37626
37627 * sysdeps/posix/spawni.c: Include <signal.h>.
37628 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
37629 * sysdeps/pthread/aio_fsync.c: Likewise.
37630
4efeffc1 376312012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 37632
ba63ba08
UD
37633 * conform/Makefile (tests): Run only when not cross-compiling and
37634 when fast-check is not defined.
37635
d94a4670
UD
37636 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
37637 * conform/data/limits.h-data: Fixes for POSIX2008.
37638 * conform/run-conformtest.sh: Run all tests.
37639 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
37640 headers.
37641 * include/bits/dlfcn.h: Likewise.
37642 * include/langinfo.h: Likewise.
37643 * include/monetary.h: Likewise.
37644 * include/sys/poll.h: Likewise.
37645
37646 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
37647 for __USE_GNU.
37648 * posix/spawn.h: Define __need_sigset_t.
37649 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
37650 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
37651 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
37652 to get sigevent_t only.
37653 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
37654 only for __USE_GNU.
37655 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37656 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37657 process_vm_writev only for __USE_GNU.
37658 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
37659
37660 * conform/Makefile: For now ignore errors from run-conformtest.
37661 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
37662 POSIX to avoid namespace pollution. Don't prepend headers.
37663 * conform/data/aio.h-data: Fixes for POSIX testing.
37664 * conform/data/fcntl.h-data: Likewise.
37665 * conform/data/glob.h-data: Likewise.
37666 * conform/data/grp.h-data: Likewise.
37667 * conform/data/pthread.h-data: Likewise.
37668 * conform/data/pwd.h-data: Likewise.
37669 * conform/data/signal.h-data: Likewise.
37670 * conform/data/spawn.h-data: Likewise.
37671 * conform/data/stdio.h-data: Likewise.
37672 * conform/data/stdlib.h-data: Likewise.
37673 * conform/data/stropts.h-data: Likewise.
37674 * conform/data/sys/mman.h-data: Likewise.
37675 * conform/data/sys/stat.h-data: Likewise.
37676 * conform/data/sys/types.h-data: Likewise.
37677 * conform/data/sys/wait.h-data: Likewise.
37678 * conform/data/time.h-data: Likewise.
37679 * conform/data/unistd.h-data: Likewise.
37680 * conform/data/utime.h-data: Likewise.
37681
37682 * io/sys/stat.h: fchmod was always in POSIX.
37683 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
37684 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
37685 * rt/aio.h: Define __need_timespec before including <time.h>.
37686 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
37687 struct. Add forward declaration of pthread_attr_t and use it in
37688 sigevent.
37689 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37690 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37691 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
37692 always remove CLK_TCK definition.
37693
c20105c3
AS
376942012-02-26 Andreas Schwab <schwab@linux-m68k.org>
37695
37696 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
37697
7a270350
UD
376982012-02-25 Ulrich Drepper <drepper@gmail.com>
37699
31341567
UD
37700 * conform/run-conformtest.sh: New file.
37701 * conform/Makefile: Run run-conformtest for tests.
37702 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
37703 support.
37704
37705 * conform/data/uchar.h-data: New file.
37706 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
37707 * conform/data/arpa/inet.h-data: Likewise.
37708 * conform/data/assert.h-data: Likewise.
37709 * conform/data/complex.h-data: Likewise.
37710 * conform/data/cpio.h-data: Likewise.
37711 * conform/data/ctype.h-data: Likewise.
37712 * conform/data/dirent.h-data: Likewise.
37713 * conform/data/dlfcn.h-data: Likewise.
37714 * conform/data/errno.h-data: Likewise.
37715 * conform/data/fcntl.h-data: Likewise.
37716 * conform/data/float.h-data: Likewise.
37717 * conform/data/fmtmsg.h-data: Likewise.
37718 * conform/data/fnmatch.h-data: Likewise.
37719 * conform/data/ftw.h-data: Likewise.
37720 * conform/data/glob.h-data: Likewise.
37721 * conform/data/grp.h-data: Likewise.
37722 * conform/data/iconv.h-data: Likewise.
37723 * conform/data/inttypes.h-data: Likewise.
37724 * conform/data/langinfo.h-data: Likewise.
37725 * conform/data/libgen.h-data: Likewise.
37726 * conform/data/limits.h-data: Likewise.
37727 * conform/data/locale.h-data: Likewise.
37728 * conform/data/math.h-data: Likewise.
37729 * conform/data/monetary.h-data: Likewise.
37730 * conform/data/mqueue.h-data: Likewise.
37731 * conform/data/ndbm.h-data: Likewise.
37732 * conform/data/net/if.h-data: Likewise.
37733 * conform/data/netdb.h-data: Likewise.
37734 * conform/data/netinet/in.h-data: Likewise.
37735 * conform/data/nl_types.h-data: Likewise.
37736 * conform/data/poll.h-data: Likewise.
37737 * conform/data/pthread.h-data: Likewise.
37738 * conform/data/pwd.h-data: Likewise.
37739 * conform/data/regex.h-data: Likewise.
37740 * conform/data/sched.h-data: Likewise.
37741 * conform/data/search.h-data: Likewise.
37742 * conform/data/semaphore.h-data: Likewise.
37743 * conform/data/setjmp.h-data: Likewise.
37744 * conform/data/signal.h-data: Likewise.
37745 * conform/data/spawn.h-data: Likewise.
37746 * conform/data/stdarg.h-data: Likewise.
37747 * conform/data/stdio.h-data: Likewise.
37748 * conform/data/stdlib.h-data: Likewise.
37749 * conform/data/string.h-data: Likewise.
37750 * conform/data/strings.h-data: Likewise.
37751 * conform/data/stropts.h-data: Likewise.
37752 * conform/data/sys/ipc.h-data: Likewise.
37753 * conform/data/sys/mman.h-data: Likewise.
37754 * conform/data/sys/msg.h-data: Likewise.
37755 * conform/data/sys/resource.h-data: Likewise.
37756 * conform/data/sys/select.h-data: Likewise.
37757 * conform/data/sys/sem.h-data: Likewise.
37758 * conform/data/sys/shm.h-data: Likewise.
37759 * conform/data/sys/socket.h-data: Likewise.
37760 * conform/data/sys/stat.h-data: Likewise.
37761 * conform/data/sys/statvfs.h-data: Likewise.
37762 * conform/data/sys/time.h-data: Likewise.
37763 * conform/data/sys/timeb.h-data: Likewise.
37764 * conform/data/sys/times.h-data: Likewise.
37765 * conform/data/sys/types.h-data: Likewise.
37766 * conform/data/sys/uio.h-data: Likewise.
37767 * conform/data/sys/un.h-data: Likewise.
37768 * conform/data/sys/utsname.h-data: Likewise.
37769 * conform/data/sys/wait.h-data: Likewise.
37770 * conform/data/syslog.h-data: Likewise.
37771 * conform/data/tar.h-data: Likewise.
37772 * conform/data/termios.h-data: Likewise.
37773 * conform/data/utime.h-data: Likewise.
37774 * conform/data/utmpx.h-data: Likewise.
37775 * conform/data/varargs.h-data: Likewise.
37776 * conform/data/wchar.h-data: Likewise.
37777 * conform/data/wctype.h-data: Likewise.
37778 * conform/data/wordexp.h-data: Likewise.
37779
37780 * include/stropts.h: New file.
37781 * include/uchar.h: New file.
37782 * include/aio.h: Changes to allow conformtest.pl to use the headers.
37783 * include/assert.h: Likewise.
37784 * include/ctype.h: Likewise.
37785 * include/dirent.h: Likewise.
37786 * include/dlfcn.h: Likewise.
37787 * include/fcntl.h: Likewise.
37788 * include/fnmatch.h: Likewise.
37789 * include/glob.h: Likewise.
37790 * include/grp.h: Likewise.
37791 * include/libio.h: Likewise.
37792 * include/locale.h: Likewise.
37793 * include/math.h: Likewise.
37794 * include/net/if.h: Likewise.
37795 * include/netdb.h: Likewise.
37796 * include/netinet/in.h: Likewise.
37797 * include/pthread.h: Likewise.
37798 * include/pwd.h: Likewise.
37799 * include/regex.h: Likewise.
37800 * include/sched.h: Likewise.
37801 * include/search.h: Likewise.
37802 * include/setjmp.h: Likewise.
37803 * include/signal.h: Likewise.
37804 * include/stdio.h: Likewise.
37805 * include/stdlib.h: Likewise.
37806 * include/string.h: Likewise.
37807 * include/sys/cdefs.h: Likewise.
37808 * include/sys/mman.h: Likewise.
37809 * include/sys/msg.h: Likewise.
37810 * include/sys/resource.h: Likewise.
37811 * include/sys/select.h: Likewise.
37812 * include/sys/socket.h: Likewise.
37813 * include/sys/stat.h: Likewise.
37814 * include/sys/statvfs.h: Likewise.
37815 * include/sys/time.h: Likewise.
37816 * include/sys/times.h: Likewise.
37817 * include/sys/uio.h: Likewise.
37818 * include/sys/utsname.h: Likewise.
37819 * include/sys/wait.h: Likewise.
37820 * include/termios.h: Likewise.
37821 * include/time.h: Likewise.
37822 * include/ulimit.h: Likewise.
37823 * include/unistd.h: Likewise.
37824 * include/utime.h: Likewise.
37825 * include/wchar.h: Likewise.
37826 * include/wctype.h: Likewise.
37827 * include/wordexp.h: Likewise.
37828
37829 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
37830
7a270350
UD
37831 * time/time.h: TIME_UTC must be a macro.
37832 Make timespec_get available for ISO C11 only as well.
37833
7724defc
UD
378342012-02-24 Ulrich Drepper <drepper@gmail.com>
37835
37836 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
37837 Reported by Peng Haitao <penght@cn.fujitsu.com>.
37838
6b1d1d46
JM
378392012-02-24 Joseph Myers <joseph@codesourcery.com>
37840
37841 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 37842
0f8bbd69
JM
378432012-02-24 Joseph Myers <joseph@codesourcery.com>
37844
37845 * manual/texinfo.tex: Update to version 2012-01-19.16.
37846
66ab80bc
JM
378472012-02-24 Joseph Myers <joseph@codesourcery.com>
37848
37849 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
37850
74981cc5
RM
378512012-02-24 Roland McGrath <roland@hack.frob.com>
37852
ee968201
RM
37853 [BZ #13738]
37854 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
37855 * manual/fdl-1.3.texi: New file.
37856 * manual/fdl-1.1.texi: File removed.
37857
74981cc5
RM
37858 [BZ #13738]
37859 * manual/libc.texinfo (FDL_VERSION): New @set.
37860 Use it for mention of FDL in cover text.
37861 (Documentation License): Use it in @include file name.
37862
7bb764bc
JM
378632012-02-22 Joseph Myers <joseph@codesourcery.com>
37864 Roland McGrath <roland@hack.frob.com>
37865
37866 [BZ #5461]
57f41c40
AS
37867 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
37868 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
37869 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
37870 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
37871 name.
37872 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
37873
6cbeae47
JM
378742012-02-22 Joseph Myers <joseph@codesourcery.com>
37875
37876 [BZ #2547]
37877 [BZ #11365]
37878 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
37879 manipulate bits before adding and subtracting TWO23[sx].
37880 * math/libm-test.inc (nearbyint_test): Add more tests.
37881
fe45ce09
JM
378822012-02-22 Joseph Myers <joseph@codesourcery.com>
37883
37884 [BZ #2548]
37885 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
37886 bits before adding and subtracting TWO23[sx].
37887 * math/libm-test.inc (rint_test): Add more tests.
37888 (rint_test_tonearest): Likewise.
37889 (rint_test_towardzero): Likewise.
37890 (rint_test_downward): Likewise.
37891 (rint_test_upward: Likewise.
37892
ff3b3d82
JM
378932012-02-22 Joseph Myers <joseph@codesourcery.com>
37894
37895 [BZ #10110]
37896 * include/stdc-predef.h: New file. Extracted from features.h.
37897 * include/features.h: Include stdc-predef.h.
37898 * Makefile (headers): Add stdc-predef.h.
37899 * CONFORMANCE (Compiler limitations): Update.
37900
ef0aab35
JM
379012012-02-22 Joseph Myers <joseph@codesourcery.com>
37902
37903 * manual/libc.texinfo (VERSION, UPDATED): Revert.
37904
58639409
DM
379052012-02-21 David S. Miller <davem@davemloft.net>
37906
37907 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
37908 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37909
c0e70b25
DM
379102012-02-20 David S. Miller <davem@davemloft.net>
37911
37912 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
37913 using a normal save/restore sequence, rather than allocating a
37914 dummy stack frame just to store a frame pointer and restore.
37915 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37916
fb06851d
JM
379172012-02-21 Joseph Myers <joseph@codesourcery.com>
37918
37919 * manual/install.texi: Fix stray word in line-wrapped comment.
37920
7a8b71c3
DM
379212012-02-20 David S. Miller <davem@davemloft.net>
37922
d510c123
DM
37923 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
37924 both binutils and gcc support GOTDATA.
37925
0722d7c2
DM
37926 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
37927 "rd %pc" in the PIC register setup sequences.
37928
3d2b3019
DM
37929 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
37930 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37931 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37932 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37933 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37934 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37935 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37936 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37937 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
37938 (SYSCALL_ERROR_HANDLER): Likewise.
37939 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37940 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37941 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
37942 (SYSCALL_ERROR_HANDLER): Likewise.
37943
c80098a9
DM
37944 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
37945 (HAVE_GCC_GOTDATA): New.
37946 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
37947 relocation support in both binutils and gcc.
37948 * sysdeps/sparc/elf/configure: Regenerate.
37949
3a2545a0
DM
37950 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
37951 * sysdeps/sparc/sparc32/elf/configure: Delete.
37952 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
37953 * sysdeps/sparc/sparc64/elf/configure: Delete.
37954 * sysdeps/sparc/elf/configure.in: New file.
37955 * sysdeps/sparc/elf/configure: Generate.
37956
7a8b71c3
DM
37957 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
37958 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
37959 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37960 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
37961 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
37962
f1e86fca
JM
379632012-02-21 Joseph Myers <joseph@codesourcery.com>
37964
37965 * manual/install.texi: Do not mention specific glibc version
37966 numbers.
37967 * manual/libc.texinfo (VERSION, UPDATED): Update.
37968 (@copying): Use @copyright{} and range of years.
37969
0e7dfaef
JM
379702012-02-21 Joseph Myers <joseph@codesourcery.com>
37971
37972 [BZ #13695]
37973 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
37974 [crti.S not in sysdirs] (generated): Do not append.
37975 [crti.S not in sysdirs] (omit-deps): Likewise.
37976 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
37977 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
37978 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
37979 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
37980 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
37981 Likewise.
37982 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
37983 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
37984 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
37985 * csu/defs.awk: Remove file.
37986 * sysdeps/generic/initfini.c: Likewise.
37987 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
37988 variable.
37989 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
37990 Likewise.
37991
599af3ca
JM
379922012-02-20 Joseph Myers <joseph@codesourcery.com>
37993
37994 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
37995 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
37996 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
37997 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
37998 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37999 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38000 <bits/epoll.h>.
38001 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38002 (__EPOLL_PACKED): Define to empty if not defined by
38003 <bits/epoll.h>.
38004 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38005 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38006 bits/epoll.h.
38007
0e499750
JM
380082012-02-20 Joseph Myers <joseph@codesourcery.com>
38009
38010 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38011 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38012 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38013 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38014 <bits/timerfd.h>.
38015 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38016 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38017 bits/timerfd.h.
38018
5ad91f6e
JM
380192012-02-20 Joseph Myers <joseph@codesourcery.com>
38020
38021 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38022 in C locale.
38023 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38024 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38025 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38027
06b99b02
AJ
380282012-02-20 Aurelien Jarno <aurelien@aurel32.net>
38029
38030 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38031 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38032
7638c0fd
AS
380332012-02-19 Andreas Schwab <schwab@linux-m68k.org>
38034
38035 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38036 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38037 defined.
38038 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38039 Likewise.
38040 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38041 entry for 2.16.
38042
92221550
AJ
380432012-02-19 Aurelien Jarno <aurelien@aurel32.net>
38044
38045 * math/w_acos.c: Use non-signaling floating-point comparisons.
38046 * math/w_acosf.c: Likewise.
38047 * math/w_acosh.c: Likewise.
38048 * math/w_acoshf.c: Likewise.
38049 * math/w_acoshl.c: Likewise.
38050 * math/w_acosl.c: Likewise.
38051 * math/w_asin.c: Likewise.
38052 * math/w_asinf.c: Likewise.
38053 * math/w_asinl.c: Likewise.
38054 * math/w_atanh.c: Likewise.
38055 * math/w_atanhf.c: Likewise.
38056 * math/w_atanhl.c: Likewise.
38057 * math/w_exp2.c: Likewise.
38058 * math/w_exp2f.c: Likewise.
38059 * math/w_exp2l.c: Likewise.
38060 * math/w_j0.c: Likewise.
38061 * math/w_j0f.c: Likewise.
38062 * math/w_j0l.c: Likewise.
38063 * math/w_j1.c: Likewise.
38064 * math/w_j1f.c: Likewise.
38065 * math/w_j1l.c: Likewise.
38066 * math/w_jn.c: Likewise.
38067 * math/w_jnf.c: Likewise.
38068 * math/w_log.c: Likewise.
38069 * math/w_log10.c: Likewise.
38070 * math/w_log10f.c: Likewise.
38071 * math/w_log10l.c: Likewise.
38072 * math/w_log2.c: Likewise.
38073 * math/w_log2f.c: Likewise.
38074 * math/w_log2l.c: Likewise.
38075 * math/w_logf.c: Likewise.
38076 * math/w_logl.c: Likewise.
38077 * math/w_sqrt.c: Likewise.
38078 * math/w_sqrtf.c: Likewise.
38079 * math/w_sqrtl.c: Likewise.
38080 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38081 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38082 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38083 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38084 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38085
ebaf36eb
JM
380862012-02-19 Joseph Myers <joseph@codesourcery.com>
38087
38088 [BZ #9739]
38089 * manual/string.texi (strnlen): Use correct parameter name in
38090 equivalent expression.
38091
71c254a6
JM
380922012-02-19 Joseph Myers <joseph@codesourcery.com>
38093
38094 [BZ #11174]
38095 * manual/users.texi (seteuid): Consistently use neweuid for
38096 argument name.
38097
16d2c631
JM
380982012-02-19 Joseph Myers <joseph@codesourcery.com>
38099
38100 [BZ #13704]
38101 * manual/nss.texi (Services in the NSS configuration): Correct
38102 list of services in example configuration file.
38103
cd837b09
NB
381042012-02-19 Nick Bowler <nbowler@draconx.ca>
38105
38106 [BZ #11322]
38107 * manual/arith.texi: Remove statements about negative zero
38108 behaving identically to zero.
38109
02c4bbad
JM
381102012-02-18 Joseph Myers <joseph@codesourcery.com>
38111
38112 [BZ #5993]
38113 * manual/install.texi: Do not document upgrading from libc5.
38114
366842e7
JM
381152012-02-18 Joseph Myers <joseph@codesourcery.com>
38116
38117 [BZ #4596]
38118 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38119
dd54084d
DM
381202012-02-18 David S. Miller <davem@davemloft.net>
38121
38122 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38123 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38124 %o7 across the call.
38125 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38126 instead.
38127 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38128 SETUP_PIC_REG_LEAF.
38129 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38130 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38131 * sysdeps/sparc/crtn.S: Likewise.
38132
2bcc53a3
UD
381332012-02-17 Ulrich Drepper <drepper@gmail.com>
38134
38135 * aout/Makefile: Remove.
38136
09c093b5
RK
381372012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
38138
38139 [BZ #13058]
38140 * manual/examples/argp-ex1.c (main): Format definition in GNU
38141 style.
38142 * manual/examples/argp-ex2.c (main): Likewise.
38143 * manual/examples/argp-ex3.c (main): Likewise.
38144 * manual/examples/argp-ex4.c (main): Likewise.
38145 * manual/examples/longopt.c (main): Use new-style prototype
38146 definition.
38147 * manual/examples/strncat.c (main): Specify return type and use
38148 (void) for arguments.
38149 * manual/examples/subopt.c (main): Use char **argv argument.
38150
2ee633a2
JM
381512012-02-17 Joseph Myers <joseph@codesourcery.com>
38152
38153 [BZ #5077]
38154 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38155 rounding modes.
38156
0520adde
FB
381572012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
38158
38159 [BZ #6907]
38160 * manual/string.texi (strchr): Change when strchrnul is
38161 recommended.
38162
3f4081cd
DGM
381632012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
38164
38165 [BZ #174]
38166 * manual/locale.texi (setlocale): Document LOCPATH.
38167
d1b10e78
JM
381682012-02-17 Joseph Myers <joseph@codesourcery.com>
38169
38170 [BZ #10210]
38171 * manual/process.texi (execle): Move @dots{} before last argument.
38172
79c6869c
PB
381732012-02-17 Paul Bolle <pebolle@tiscali.nl>
38174
38175 [BZ #12047]
38176 * manual/charset.texi (Generic Charset Conversion): Fix typo
38177 (LC_TYPE -> LC_CTYPE).
38178
cc6e48bc
NB
381792012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
38180
38181 [BZ #5805]
38182 * manual/arith.texi (scalbn): Use @var{} on parameter names.
38183 (scalbnf): Likewise.
38184 (scalbnl): Likewise.
38185 (scalbln): Likewise.
38186 (scalblnf): Likewise.
38187 (scalblnl): Likewise.
38188 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38189 (vwarnx): Likewise.
38190 (verr): Likewise.
38191 (verrx): Likewise.
38192 * manual/filesys.texi (telldir): Use braces around return type.
38193 * manual/llio.texi (mmap): Add space after comma.
38194 (mmap64): Likewise.
38195 * manual/math.texi (jn): Use @var{} on parameter names.
38196 (jnf): Likewise.
38197 (jnl): Likewise.
38198 (yn): Likewise.
38199 (ynf): Likewise.
38200 (ynl): Likewise.
38201 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38202 line.
38203 * manual/resource.texi (ulimit): Use @dots{} instead of literal
38204 "...".
38205 (sched_get_priority_min): Remove semicolon on @deftypefun line.
38206 (sched_get_priority_max): Likewise.
38207 * manual/signal.texi (sigvec): Add space after comma.
38208 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38209 names.
38210 (if_indextoname): Likewise.
38211 (if_freenameindex): Likewise.
38212 (sendto): Use ',' instead of '.' in prototype.
38213 * manual/startup.texi (syscall): Use @dots{} instead of literal
38214 "...".
38215 * manual/stdio.texi (__fpending): Separate initial words of
38216 paragraph from @deftypefun line.
38217 * manual/syslog.texi (syslog): Use @dots{} instead of literal
38218 "...".
38219 (vsyslog): Use @var{} on parameter names.
38220 * manual/terminal.texi (stty): Use @var{} on parameter names.
38221 * manual/users.texi (getutmp): Use @var{} on parameter names.
38222 (getutmpx): Likewise.
38223
5b23062f
JM
382242012-02-17 Joseph Myers <joseph@codesourcery.com>
38225
38226 [BZ #6884]
38227 * manual/stdio.texi (fopen): Fix typos in description of
38228 ",ccs=STRING".
38229
8dee4833
AJ
382302012-02-17 Aurelien Jarno <aurelien@aurel32.net>
38231
38232 [BZ #4026]
38233 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38234 get clock_id definition.
38235
9078ce93
TS
382362012-02-17 Thomas Schwinge <thomas@schwinge.name>
38237
38238 [BZ #4822]
38239 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38240 (madvise): Cast every argument to void on its own.
38241
3835c55f
JM
382422012-02-17 Joseph Myers <joseph@codesourcery.com>
38243
38244 [BZ #9902]
38245 * manual/startup.texi (Exit Status): Fix typo.
38246
35c47e37
JM
382472012-02-17 Joseph Myers <joseph@codesourcery.com>
38248
38249 [BZ #10140]
38250 * manual/examples/argp-ex1.c: Include <stdlib.h>.
38251 * manual/examples/argp-ex2.c: Likewise.
38252 * manual/examples/argp-ex3.c: Likewise.
38253
e3b69ca7
RH
382542012-02-16 Richard Henderson <rth@redhat.com>
38255
38256 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38257 * sysdeps/s390/s390-32/initfini.c: Remove.
38258 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38259 * sysdeps/s390/s390-64/initfini.c: Remove.
38260
df83af67
KK
382612012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38262
38263 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38264 compiler output for sysdeps/generic/initfini.c.
38265 * sysdeps/sh/elf/initfini.c: Remove file.
38266
f63f3380
DM
382672012-02-16 David S. Miller <davem@davemloft.net>
38268
fb59b3a4
DM
38269 [BZ #11494]
38270 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38271
f63f3380
DM
38272 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38273 * sysdeps/sparc/crti.S: New file.
38274 * sysdeps/sparc/crtn.S: New file.
38275 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38276 * sysdeps/sparc/sparc64/Makefile: Likewise.
38277
df6a4a4a
MF
382782012-02-15 Mike Frysinger <vapier@gentoo.org>
38279
6dd8f3dc 38280 [BZ #3335]
df6a4a4a
MF
38281 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38282
1cac7236
RM
382832012-02-15 Roland McGrath <roland@hack.frob.com>
38284
d2c736f8
RM
38285 [BZ #4822]
38286 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38287
1cac7236
RM
38288 * mach/devstream.c (cookie_io_functions_t): Macro removed.
38289 (write, read, close): Likewise.
38290 Patch by Aurelien Jarno <aurelien@aurel32.net>.
38291
8e475601
JM
382922012-02-15 Joseph Myers <joseph@codesourcery.com>
38293
38294 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38295 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38296 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38297 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38298 <bits/signalfd.h>.
38299 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38300 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38301 bits/signalfd.h.
38302
ed656b40
MP
383032012-02-14 Marek Polacek <polacek@redhat.com>
38304
38305 * sysdeps/x86_64/crti.S: New file.
38306 * sysdeps/x86_64/crtn.S: New file.
38307 * sysdeps/x86_64/elf/initfini.c: Remove file.
38308
2a979d3a
JM
383092012-02-13 Joseph Myers <joseph@codesourcery.com>
38310
38311 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38312 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38313 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38314 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38315 <bits/inotify.h>.
38316 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38317 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38318 bits/inotify.h.
38319
2a418ac3
JM
383202012-02-13 Joseph Myers <joseph@codesourcery.com>
38321
38322 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38323 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38324 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38325 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38326 <bits/eventfd.h>.
38327 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38328 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38329 bits/eventfd.h.
38330
fb779be7
TS
383312012-02-10 Thomas Schwinge <thomas@codesourcery.com>
38332
e19e83c5
RM
38333 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38334 __feraiseexcept instead of feraiseexcept.
7c35ffed 38335
fb779be7
TS
38336 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38337 nanosleep invocations.
38338 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38339 strings, and add error checking for a nanosleep invocations.
38340
59ba27a6
PE
383412012-02-09 Paul Eggert <eggert@cs.ucla.edu>
38342
38343 Replace FSF snail mail address with URLs, as per GNU coding standards.
38344 Most of the snail mail addresses were wrong anyway, and omitting
38345 them makes the source code easier to maintain. Almost all of the
38346 changes are to license notices and to locale LC_IDENTIFICATION
38347 addresses, except for this one:
38348 * manual/libc.texinfo: In "Published by", give the FSF's URL,
38349 not its snail mail address.
38350
57b957eb
RH
383512012-02-09 Richard Henderson <rth@twiddle.net>
38352
af850b1c
RH
38353 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38354 of kernel-features.h.
38355
57b957eb
RH
38356 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38357
6b73181a
MP
383582012-02-08 Marek Polacek <polacek@redhat.com>
38359
38360 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38361 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38362 * sysdeps/gnu/_G_config.h: Likewise.
38363 * sysdeps/generic/_G_config.h: Likewise.
38364
26ecc33a
AS
383652012-02-08 Andreas Schwab <schwab@linux-m68k.org>
38366
6c6dbc63
AS
38367 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38368 tests.
38369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38370
e216c012
AS
38371 * sysdeps/powerpc/powerpc32/crti.S: New file.
38372 * sysdeps/powerpc/powerpc32/crtn.S: New file.
38373 * sysdeps/powerpc/powerpc64/crti.S: New file.
38374 * sysdeps/powerpc/powerpc64/crtn.S: New file.
38375
26ecc33a
AS
38376 * Makeconfig (have-initfini): Don't set.
38377 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38378 * configure.in (nopic_initfini): Don't substitute.
38379 * config.h.in (HAVE_INITFINI): Don't #undef.
38380 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38381 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38382
3add8e13
JM
383832012-02-08 Joseph Myers <joseph@codesourcery.com>
38384
38385 Support crti.S and crtn.S provided directly by architectures.
38386 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38387 [crti.S in sysdirs] (omit-deps): Likewise.
38388 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38389 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38390 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38391 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38392 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38393 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38394 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38395 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38396 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38397 compiler output for sysdeps/generic/initfini.c.
38398 * sysdeps/i386/elf/Makefile: Remove file.
38399 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38400
a22f12b4
MP
384012012-02-07 Marek Polacek <polacek@redhat.com>
38402
38403 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38404 * sysdeps/gnu/_G_config.h: Likewise.
38405 * sysdeps/mach/hurd/_G_config.h: Likewise.
38406
148cf100
MP
384072012-02-07 Marek Polacek <polacek@redhat.com>
38408
38409 * math/Makefile (tests): Add tst-CMPLX2.
38410 * math/tst-CMPLX2.c: New file.
38411
cfdc0dd7
AS
384122012-02-07 Andreas Schwab <schwab@linux-m68k.org>
38413
84ba42c4
AS
38414 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38415
cfdc0dd7
AS
38416 * math/libm-test.inc (jn_test): Add missing L suffix.
38417
622c86f4
MP
384182012-02-06 Marek Polacek <polacek@redhat.com>
38419
38420 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38421 * sysdeps/i386/fpu/e_powf.S: Likewise.
38422 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38423 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38424 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38425 * sysdeps/i386/fpu/e_pow.S: Likewise.
38426 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38427 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38428 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38429 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38430 * sysdeps/i386/fpu/e_log2.S: Likewise.
38431 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38432 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38433 * sysdeps/i386/fpu/e_powl.S: Likewise.
38434 * sysdeps/i386/fpu/s_log1p.S: Likewise.
38435 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38436 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38437 * sysdeps/i386/fpu/e_logl.S: Likewise.
38438 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38439 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38440 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38441 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38442 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38443 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38444 * sysdeps/i386/fpu/e_log.S: Likewise.
38445 * sysdeps/i386/fpu/s_cexp.S: Likewise.
38446 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38447 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38448 * sysdeps/i386/fpu/e_logf.S: Likewise.
38449 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38450 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38451 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38452 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38453 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38454 * sysdeps/i386/fpu/e_log10.S: Likewise.
38455 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38456 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38457 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38458 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38459 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38460 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38461 * sysdeps/i386/asm-syntax.h: Likewise.
38462 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38463 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38464 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38465 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38466 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38467 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38468 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38469 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38470 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38471 * sysdeps/powerpc/sysdep.h: Likewise.
38472 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38473 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38474
d4a54ac6
JM
384752012-02-06 Joseph Myers <joseph@codesourcery.com>
38476
38477 [BZ #411]
38478 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38479
314054ea
JM
384802012-02-06 Joseph Myers <joseph@codesourcery.com>
38481
38482 * sysdeps/i386/sysdep.h: Include <features.h>.
38483 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38484 version.
38485
d8e0ca50
JM
384862012-02-05 Joseph Myers <joseph@codesourcery.com>
38487
38488 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38489 Define.
38490 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
38491 LOAD_PIC_REG_STR.
38492
b1da7dd9
JM
384932012-02-03 Joseph Myers <joseph@codesourcery.com>
38494
38495 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
38496 (SETUP_PIC_REG): Use GET_PC_THUNK.
38497 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
38498 macro.
38499
9a1d9254
JM
385002012-02-03 Joseph Myers <joseph@codesourcery.com>
38501
38502 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
38503 for non-PIC compilation.
38504 (SETUP_PIC_REG): Add .p2align directive.
38505 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
38506 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38507 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38508 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38509 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38510 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38511 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38512 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38513 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38514 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38515 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38516 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38517 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38518 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38519 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38520 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38521 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38522 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38523 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38524 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38525 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38526 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38527 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38528 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38529 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38530 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38531 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38532 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38533 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38534 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38535 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38536 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38537 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38538 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38539 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38540 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38541 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38542 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38543 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38544 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38545 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38546
65dc3b75
JM
385472012-02-03 Joseph Myers <joseph@codesourcery.com>
38548
38549 * math/tst-CMPLX.c: Include <stdio.h>.
38550
d55bf177
JM
385512012-01-31 Joseph Myers <joseph@codesourcery.com>
38552
38553 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
38554 float.
38555 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38556 * sysdeps/sparc/bits/mathdef.h: Likewise.
38557
69db4f8f
MP
385582012-01-31 Marek Polacek <polacek@redhat.com>
38559
38560 * libio/libio.h: Don't define _PARAMS.
38561 * locale/programs/config.h: Don't define PARAMS.
38562 * stdlib/strtol_l.c: Likewise.
38563 (__strtol_l): Remove PARAMS from the prototype.
38564
41b81892
UD
385652012-01-31 Ulrich Drepper <drepper@gmail.com>
38566
3b49edc0
UD
38567 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
38568 names. Just use the correct names. Remove unnecessary wrapper
38569 functions.
38570 * malloc/arena.c: Likewise.
38571 * malloc/hooks.c: Likewise.
38572
41b81892
UD
38573 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
38574 ARENA_TEST says not to. Simplify test for creation of a new arena.
38575 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
38576
27a25b6e
UD
385772012-01-30 Ulrich Drepper <drepper@gmail.com>
38578
38579 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
38580 into tail calls.
38581 (update_get_addr): New function.
38582 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
38583 GET_ADDR_MODULE parameter.
38584
c8a89e7d
JM
385852012-01-30 Joseph Myers <joseph@codesourcery.com>
38586
38587 * crypt/cert.c: Remove __STDC__ conditionals.
38588 * crypt/crypt-entry.c: Likewise.
38589 * crypt/crypt_util.c: Likewise.
38590 * libio/filedoalloc.c: Likewise.
38591 * libio/fileops.c: Likewise.
38592 * libio/genops.c: Likewise.
38593 * libio/iofclose.c: Likewise.
38594 * libio/iofdopen.c: Likewise.
38595 * libio/iofopen.c: Likewise.
38596 * libio/iofopen64.c: Likewise.
38597 * libio/iogetdelim.c: Likewise.
38598 * libio/iopopen.c: Likewise.
38599 * libio/obprintf.c: Likewise.
38600 * libio/oldfileops.c: Likewise.
38601 * libio/oldiofclose.c: Likewise.
38602 * libio/oldiofdopen.c: Likewise.
38603 * libio/oldiofopen.c: Likewise.
38604 * libio/oldiopopen.c: Likewise.
38605 * libio/wfiledoalloc.c: Likewise.
38606 * libio/wgenops.c: Likewise.
38607 * locale/programs/xmalloc.c: Likewise.
38608 * misc/syslog.c: Likewise.
38609 * stdio-common/xbug.c: Likewise.
38610 * string/memchr.c: Likewise.
38611 * string/memcmp.c: Likewise.
38612 * string/memrchr.c: Likewise.
38613 * string/rawmemchr.c: Likewise.
38614 * sysdeps/posix/getcwd.c: Likewise.
38615 * time/strftime_l.c: Likewise.
38616
3b100462
JM
386172012-01-30 Joseph Myers <joseph@codesourcery.com>
38618
38619 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
38620 * config.make.in (config-cflags-sse2avx): Define.
38621 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
38622 Fix typo.
38623
607998af
CM
386242012-01-29 Chris Metcalf <cmetcalf@tilera.com>
38625
38626 * scripts/config.guess: Update from upstream config git repository.
38627 * scripts/config.sub: Likewise.
38628
3601428f
CM
386292012-01-28 Chris Metcalf <cmetcalf@tilera.com>
38630
3ac8b282
CM
38631 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
38632 (EM_NUM): Update.
38633 (R_TILEPRO_*, R_TILEGX_*): New macros.
38634
e034841e
CM
38635 * scripts/firstversions.awk: Fix bug in version range handling.
38636
540d7568
CM
38637 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
38638
3601428f
CM
38639 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
38640
463de862
CM
38641 * include/sys/epoll.h: New file.
38642 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
38643 libc_hidden_def.
38644
73139a76
UD
386452012-01-28 Ulrich Drepper <drepper@gmail.com>
38646
96bc5b45
UD
38647 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
38648 Avoid unnecessary __WORDSIZE == 64 test.
38649 (fmaxf): Use VEX format if possible.
38650 (fmax): Likewise.
38651 (fminf): Likewise.
38652 (fmin): Likewise.
38653
56f6f6a2
UD
38654 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
38655 * math/math_private.h: Remove libc_fegetround* and
38656 libc_fesetround*.
38657 * sysdeps/i386/configure.in: Check for -msse2avx.
38658 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
38659 also if SSE2AVX is defined.
38660 Remove libc_fegetround* and libc_fesetround*.
38661 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
38662 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
38663 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
38664 of HAS_YMM_USABLE.
38665 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38666 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38667 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38668 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38669 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38670
73139a76
UD
38671 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
38672
d73f93a4
AZ
386732012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38674
38675 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
38676 size is not set.
38677 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38678
6ee65ed6
UD
386792012-01-27 Ulrich Drepper <drepper@gmail.com>
38680
38681 [BZ #13618]
38682 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
38683 relocation.
38684 * Makeconfig (libm): Define.
38685 * elf/Makefile: Add rules to build and run tst-relsort1.
38686 * elf/tst-relsort1.c: New file.
38687 * elf/tst-relsort1mod1.c: New file.
38688 * elf/tst-relsort1mod2.c: New file.
38689
8db21882
JM
386902012-01-27 Joseph Myers <joseph@codesourcery.com>
38691
38692 * math/s_ldexp.c: Remove __STDC__ conditionals.
38693 * math/s_ldexpf.c: Likewise.
38694 * math/s_ldexpl.c: Likewise.
38695 * math/s_nextafter.c: Likewise.
38696 * math/s_nexttowardf.c: Likewise.
38697 * math/s_significand.c: Likewise.
38698 * math/s_significandf.c: Likewise.
38699 * math/s_significandl.c: Likewise.
38700 * math/w_jnl.c: Likewise.
38701 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38702 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38703 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38704 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38705 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38706 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38707 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
38708 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38709 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38710 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38711 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38712 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38713 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38714 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38715 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38716 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38717 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38718 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38719 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38720 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38721 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38722 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38723 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38724 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38725 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38726 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38727 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38728 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38729 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38730 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38731 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38732 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38733 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38734 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38735 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38736 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38737 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38738 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38739 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38740 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38741 * sysdeps/ieee754/k_standard.c: Likewise.
38742 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38743 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38744 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38745 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38746 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38747 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38748 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38749 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38750 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38751 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38752 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38753 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38754 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38755 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38756 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38757 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38758 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38759 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38760 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38761 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38762 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38763 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38764 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38765 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38766 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38767 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38768 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38769 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38770 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38771 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38772 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38773 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
38774 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38775 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38776 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38777 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38778 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
38779 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38780 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38781 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
38782 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
38783 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38784 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38785 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
38786 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38787 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38788 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38789 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38790 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38791 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38792 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
38793 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38794 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38795 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38796 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38797 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38798 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
38799 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38800 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38801 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38802 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38803 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38804 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38805 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38806 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38807 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38808 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38809 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38810 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38811 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38812 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38813 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38814 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38815 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38816 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38817 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38818 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38819 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38820 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38821 * sysdeps/ieee754/s_matherr.c: Likewise.
38822 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38823 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38824 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38825 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38826
965a54a4
JM
388272012-01-26 Joseph Myers <joseph@codesourcery.com>
38828
38829 * crypt/md5.h: Remove __STDC__ conditionals.
38830 * libio/libioP.h: Likewise.
38831 * locale/programs/config.h: Likewise.
38832 * sysdeps/generic/sysdep.h: Likewise.
38833 * sysdeps/i386/asm-syntax.h: Likewise.
38834 * sysdeps/s390/asm-syntax.h: Likewise.
38835 * sysdeps/unix/sysdep.h: Likewise.
38836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38838
7071ad79
JM
388392012-01-26 Joseph Myers <joseph@codesourcery.com>
38840
38841 * libio/libio.h: Remove __STDC__ conditionals.
38842 * malloc/obstack.h: Likewise.
38843 * math/complex.h: Likewise.
38844 * math/math.h: Likewise.
38845 * sysdeps/generic/_G_config.h: Likewise.
38846 * sysdeps/gnu/_G_config.h: Likewise.
38847 * sysdeps/mach/hurd/_G_config.h: Likewise.
38848 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38849 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38850 * sysdeps/sparc/bits/mathdef.h: Likewise.
38851
afc5ed09
UD
388522012-01-26 Ulrich Drepper <drepper@gmail.com>
38853
38854 [BZ #13583]
38855 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 38856 Clean up HAS_* macros.
afc5ed09 38857 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
38858 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
38859 possible.
38860 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
38861 HAS_AVX.
38862 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38863 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38864 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38865 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38866 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 38867
bdb6de1d
JM
388682012-01-25 Joseph Myers <joseph@codesourcery.com>
38869
38870 * elf/tst-unique3.cc (gets): Remove declaration.
38871 * elf/tst-unique3lib.cc (gets): Likewise.
38872 * elf/tst-unique3lib2.cc (gets): Likewise.
38873 * elf/tst-unique4.cc (gets): Likewise.
38874
b15549e6
UD
388752012-01-24 Ulrich Drepper <drepper@gmail.com>
38876
38877 * include/stdio.h: Add C++ protection. Add gets declarations and
38878 definitions.
38879 * debug/tst-chk1.c: Don't declare gets here.
38880 * stdio-common/tst-gets.c: Likewise.
38881
a037381f
JM
388822012-01-24 Joseph Myers <joseph@codesourcery.com>
38883
38884 * posix/glob: Remove directory.
38885
f1d4aa75
JM
388862012-01-24 Joseph Myers <joseph@codesourcery.com>
38887
38888 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
38889
81c0c964
PT
388902012-01-22 Pino Toscano <toscano.pino@tiscali.it>
38891
38892 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
38893 of the non-standard EPFNOSUPPORT.
38894
0ea698ae
ST
388952011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
38896
38897 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
38898 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
38899 ANYWHERE set to 1 only on KERN_NO_SPACE error.
38900
d220b117
UD
389012012-01-21 Ulrich Drepper <drepper@gmail.com>
38902
38903 * wcsmbs/uchar.h: Test __STDC_VERSION__.
38904
3e1aa84e
UD
389052012-01-20 Ulrich Drepper <drepper@gmail.com>
38906
38907 * nscd/aicache.c (addhstaiX): Do not cache negative results of
38908 transient errors.
38909 * nscd/grpcache.c (cache_addgr): Likewise.
38910 * nscd/hstcache.c (cache_addhst): Likewise.
38911 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38912 * nscd/pwdcache.c (cache_addpw): Likewise.
38913 * nscd/servicescache.c (cache_addserv): Likewise.
38914
400aa020
UD
389152012-01-16 Ulrich Drepper <drepper@gmail.com>
38916
d77e7869
UD
38917 * malloc/malloc.c: Various cleanups.
38918 * malloc/hooks.c: Likewise.
38919
400aa020
UD
38920 * stdlib/Makefile (tests): Add bug-fmtmsg1.
38921 * stdlib/bug-fmtmsg1.c: New file.
38922
38923 * stdlib/fmtmsg.c (init): Add missing unlock.
38924 Patch by Peng Haitao <penght@cn.fujitsu.com>.
38925
e0a309cf
MP
389262012-01-12 Marek Polacek <polacek@redhat.com>
38927
38928 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
38929 and _GNU_SOURCE.
38930
929d11c7
WS
389312012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38932
38933 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
38934 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
38935 macro to ensure uniqueness of label name.
38936 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38937 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38938
41d0e869
UD
389392012-01-11 Ulrich Drepper <drepper@gmail.com>
38940
0cc5ed3b
UD
38941 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
38942
41d0e869
UD
38943 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
38944 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38945 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38946 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
38947
a47a831a
UD
389482012-01-10 Ulrich Drepper <drepper@gmail.com>
38949
daa891c0
UD
38950 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
38951
38952 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
38953 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38954 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38955
e58ef0f2
UD
38956 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
38957
a47a831a 38958 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
38959 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38960 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 38961 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
38962
38963 * math/bits/math-finite.h: Add ldexp support.
38964
a0bfc9c7
MP
389652012-01-10 Marek Polacek <polacek@redhat.com>
38966
38967 * locale/programs/localedef.h (show_archive_content): Add noreturn
38968 attribute.
38969
d6e97a1d
UD
389702012-01-09 Ulrich Drepper <drepper@gmail.com>
38971
38972 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
38973
d5835c26
UD
389742012-01-08 Ulrich Drepper <drepper@gmail.com>
38975
e5f484c6
UD
38976 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
38977
d5835c26
UD
38978 * io/Makefile (headers): Add bits/poll2.h.
38979
d1f741e9
WS
389802011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
38981
38982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
38983 typo #include statement.
38984
ec09c1c4
UD
389852012-01-08 Ulrich Drepper <drepper@gmail.com>
38986
38987 * include/sys/cdefs.h: Define __attribute_alloc_size.
38988 * catgets/gencat.c: Add alloc_size attribute and apply consistently
38989 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
38990 * elf/pldd.c: Likewise.
38991 * iconv/iconv_charmap.c: Likewise.
38992 * iconv/iconvconfig.c: Likewise.
38993 * iconv/strtab.c: Likewise.
38994 * locale/programs/locale.c: Likewise.
38995 * locale/programs/localedef.h: Likewise.
38996 * locale/programs/simple-hash.c: Likewise.
38997 * nscd/nscd.h: Likewise.
38998 * nss/makedb.c: Likewise.
38999 * sysdeps/generic/ldconfig.h: Likewise.
39000 * locale/programs/localedef.c: Remove xmalloc prototype.
39001 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39002
20b38e03
PP
390032012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39004
39005 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39006 appropriate.
39007
a0da5fe1
UD
390082012-01-08 Ulrich Drepper <drepper@gmail.com>
39009
1d5a644a 39010 * math/Makefile (tests): Add tst-CMPLX.
669704fd 39011 * math/tst-CMPLX.c: New file.
1d5a644a 39012
8784a6db
UD
39013 * math/complex.h (CMPLXL): Fix typo.
39014
d9a216c0
UD
39015 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39016 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39017 GLIBC_2.16.
39018 * debug/tst-chk1.c: Add poll and ppoll tests.
39019 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39020 * include/sys/poll.h: Add hidden proto for ppoll.
39021 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39022 * sysdeps/mach/hurd/ppoll.c: Likewise.
39023 * io/ppoll.c: Likewise.
39024 * debug/poll_chk.c: New file.
39025 * debug/ppoll_chk.c: New file.
39026 * include/bits/poll2.h: New file.
39027 * io/bits/poll2.h: New file.
39028
ac097f5c
UD
39029 [BZ #1350]
39030 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39031
2119dcfa
UD
39032 * configure.in: static is always set to yes. Remove.
39033 * config.make.in: Don't set build-static.
39034 * Makeconfig: Remove use of build-static.
39035 * dlfcn/Makefile: Likewise.
39036 * elf/Makefile: Likewise.
39037 * math/Makefile: Likewise.
39038 * misc/Makefile: Likewise.
39039 * nptl/Makefile: Likewise.
39040 * sysdeps/mach/hurd/Makefile: Likewise.
39041
121766a9
UD
39042 * configure.in: PWD_P is not used anymore.
39043 * config.make.in: Remove PWD_P entry.
39044
51a1d39c 39045 * configure.in: Remove last remnants of RANLIB.
8720d066 39046 No need to check for signed size_t anymore.
215f4bdc
UD
39047 Don't set libc_commonpagesize and libc_relro_required here for Alpha
39048 and IA-64.
3857022a 39049 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
39050 * aclocal.m4: Likewise.
39051
d3ed7225
UD
39052 * wcsmbs/mbrtoc16.c: Implement using towc function.
39053 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39054 * wcsmbs/wcsmbsload.c: Likewise.
39055 * iconv/gconv_simple.c: Likewise.
39056 * iconv/gconv_int.h: Likewise.
39057 * iconv/gconv_builtin.h: Likewise.
39058 * iconv/iconv_prog.c: Remove CHAR16 handling.
39059
39060 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39061
39062 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39063
a0da5fe1
UD
39064 * configure.in: Remove --with-elf and --enable-bounded options.
39065 Dont set base_machine for ia64. More non-ELF conditions removed.
39066 Remove testing and setting of leading underscore information.
39067 * config.make.in (build-bounded): Set to no.
39068 * config.h.in: Remove NO_UNDERSCORES entry.
39069 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
39070 them.
39071 * csu/start.c: Remove !NO_UNDERSCORE code.
39072 * locale/localeinfo.h: Likewise.
39073 * sysdeps/generic/machine-gmon.h: Likewise.
39074 * sysdeps/generic/sysdep.h: Likewise.
39075 * sysdeps/i386/sysdep.h: Likewise.
39076 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39077 * sysdeps/mach/sysdep.h: Likewise.
39078 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39079 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39080 * sysdeps/sh/sysdep.h: Likewise.
39081 * sysdeps/sparc/sparc32/alloca.S: Likewise.
39082 * sysdeps/unix/i386/sysdep.S: Likewise.
39083 * sysdeps/unix/sparc/start.c: Likewise.
39084 * sysdeps/unix/sparc/sysdep.S: Likewise.
39085 * sysdeps/unix/sparc/sysdep.h: Likewise.
39086 * sysdeps/unix/start.c: Likewise.
39087 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39088 * sysdeps/x86_64/sysdep.h: Likewise.
39089
df78418a
UD
390902012-01-07 Ulrich Drepper <drepper@gmail.com>
39091
a784e502
UD
39092 [BZ #13553]
39093 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39094 for non-gcc.
39095 * argp/argp-fmtstream.h: Use const instead __const.
39096 * argp/argp.h: Likewise.
39097 * assert/assert.h: Likewise.
39098 * bits/fenv.h: Likewise.
39099 * bits/sched.h: Likewise.
39100 * bits/sigset.h: Likewise.
39101 * bits/sigthread.h: Likewise.
39102 * catgets/nl_types.h: Likewise.
39103 * conform/data/pthread.h-data: Likewise.
39104 * crypt/crypt-private.h: Likewise.
39105 * crypt/crypt.h: Likewise.
39106 * crypt/crypt_util.c: Likewise.
39107 * ctype/ctype.h: Likewise.
39108 * debug/execinfo.h: Likewise.
39109 * debug/mbsnrtowcs_chk.c: Likewise.
39110 * debug/mbsrtowcs_chk.c: Likewise.
39111 * debug/wcsnrtombs_chk.c: Likewise.
39112 * debug/wcsrtombs_chk.c: Likewise.
39113 * debug/wcstombs_chk.c: Likewise.
39114 * dirent/dirent.h: Likewise.
39115 * dlfcn/dlfcn.h: Likewise.
39116 * elf/neededtest4.c: Likewise.
39117 * grp/grp.h: Likewise.
39118 * gshadow/gshadow.h: Likewise.
39119 * iconv/gconv.h: Likewise.
39120 * iconv/gconv_int.h: Likewise.
39121 * iconv/gconv_simple.c: Likewise.
39122 * iconv/iconv.h: Likewise.
39123 * iconv/loop.c: Likewise.
39124 * iconv/skeleton.c: Likewise.
39125 * include/aio.h: Likewise.
39126 * include/aliases.h: Likewise.
39127 * include/argz.h: Likewise.
39128 * include/arpa/inet.h: Likewise.
39129 * include/assert.h: Likewise.
39130 * include/dirent.h: Likewise.
39131 * include/dlfcn.h: Likewise.
39132 * include/execinfo.h: Likewise.
39133 * include/fcntl.h: Likewise.
39134 * include/fenv.h: Likewise.
39135 * include/glob.h: Likewise.
39136 * include/grp.h: Likewise.
39137 * include/libintl.h: Likewise.
39138 * include/mntent.h: Likewise.
39139 * include/netdb.h: Likewise.
39140 * include/pwd.h: Likewise.
39141 * include/rpc/netdb.h: Likewise.
39142 * include/sched.h: Likewise.
39143 * include/search.h: Likewise.
39144 * include/shadow.h: Likewise.
39145 * include/signal.h: Likewise.
39146 * include/stdio.h: Likewise.
39147 * include/stdlib.h: Likewise.
39148 * include/string.h: Likewise.
39149 * include/sys/socket.h: Likewise.
39150 * include/sys/stat.h: Likewise.
39151 * include/sys/statfs.h: Likewise.
39152 * include/sys/statvfs.h: Likewise.
39153 * include/sys/syslog.h: Likewise.
39154 * include/sys/time.h: Likewise.
39155 * include/sys/uio.h: Likewise.
39156 * include/time.h: Likewise.
39157 * include/unistd.h: Likewise.
39158 * include/utmp.h: Likewise.
39159 * include/wchar.h: Likewise.
39160 * include/wctype.h: Likewise.
39161 * inet/aliases.h: Likewise.
39162 * inet/arpa/inet.h: Likewise.
39163 * inet/netinet/ether.h: Likewise.
39164 * inet/netinet/in.h: Likewise.
39165 * intl/libintl.h: Likewise.
39166 * io/bits/fcntl2.h: Likewise.
39167 * io/fcntl.h: Likewise.
39168 * io/ftw.h: Likewise.
39169 * io/sys/poll.h: Likewise.
39170 * io/sys/stat.h: Likewise.
39171 * io/sys/statfs.h: Likewise.
39172 * io/sys/statvfs.h: Likewise.
39173 * io/utime.h: Likewise.
39174 * libio/bits/stdio.h: Likewise.
39175 * libio/bits/stdio2.h: Likewise.
39176 * libio/libio.h: Likewise.
39177 * libio/libioP.h: Likewise.
39178 * libio/stdio.h: Likewise.
39179 * locale/lc-ctype.c: Likewise.
39180 * locale/locale.h: Likewise.
39181 * login/utmp.h: Likewise.
39182 * malloc/arena.c: Likewise.
39183 * malloc/malloc.c: Likewise.
39184 * malloc/malloc.h: Likewise.
39185 * malloc/mcheck.c: Likewise.
39186 * malloc/mtrace.c: Likewise.
39187 * math/bits/mathcalls.h: Likewise.
39188 * math/fenv.h: Likewise.
39189 * math/math_private.h: Likewise.
39190 * misc/bits/error.h: Likewise.
39191 * misc/bits/syslog.h: Likewise.
39192 * misc/err.h: Likewise.
39193 * misc/error.h: Likewise.
39194 * misc/fstab.h: Likewise.
39195 * misc/mntent.h: Likewise.
39196 * misc/regexp.h: Likewise.
39197 * misc/search.h: Likewise.
39198 * misc/sgtty.h: Likewise.
39199 * misc/sys/mman.h: Likewise.
39200 * misc/sys/syslog.h: Likewise.
39201 * misc/sys/uio.h: Likewise.
39202 * misc/sys/xattr.h: Likewise.
39203 * misc/ttyent.h: Likewise.
39204 * nis/rpcsvc/ypclnt.h: Likewise.
39205 * nss/nss.h: Likewise.
39206 * posix/bits/unistd.h: Likewise.
39207 * posix/fnmatch.h: Likewise.
39208 * posix/glob.h: Likewise.
39209 * posix/sched.h: Likewise.
39210 * posix/spawn.h: Likewise.
39211 * posix/sys/wait.h: Likewise.
39212 * posix/unistd.h: Likewise.
39213 * posix/wordexp.h: Likewise.
39214 * pwd/pwd.h: Likewise.
39215 * resolv/netdb.h: Likewise.
39216 * resource/sys/resource.h: Likewise.
39217 * rt/aio.h: Likewise.
39218 * rt/bits/mqueue2.h: Likewise.
39219 * rt/mqueue.h: Likewise.
39220 * shadow/shadow.h: Likewise.
39221 * signal/signal.h: Likewise.
39222 * socket/send.c: Likewise.
39223 * socket/sendto.c: Likewise.
39224 * socket/sys/socket.h: Likewise.
39225 * stdio-common/printf.h: Likewise.
39226 * stdlib/bits/stdlib.h: Likewise.
39227 * stdlib/fmtmsg.h: Likewise.
39228 * stdlib/monetary.h: Likewise.
39229 * stdlib/stdlib.h: Likewise.
39230 * stdlib/ucontext.h: Likewise.
39231 * streams/stropts.h: Likewise.
39232 * string/argz.h: Likewise.
39233 * string/bits/string2.h: Likewise.
39234 * string/string.h: Likewise.
39235 * string/strings.h: Likewise.
39236 * sunrpc/rpc/auth.h: Likewise.
39237 * sunrpc/rpc/auth_des.h: Likewise.
39238 * sunrpc/rpc/clnt.h: Likewise.
39239 * sunrpc/rpc/netdb.h: Likewise.
39240 * sunrpc/rpc/pmap_clnt.h: Likewise.
39241 * sunrpc/rpc/xdr.h: Likewise.
39242 * sysdeps/generic/inttypes.h: Likewise.
39243 * sysdeps/generic/net/if.h: Likewise.
39244 * sysdeps/generic/sys/swap.h: Likewise.
39245 * sysdeps/gnu/net/if.h: Likewise.
39246 * sysdeps/gnu/utmpx.h: Likewise.
39247 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39248 * sysdeps/i386/i486/bits/string.h: Likewise.
39249 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39250 * sysdeps/s390/bits/string.h: Likewise.
39251 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39252 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39253 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39254 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39255 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39256 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39257 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39258 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39259 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39260 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39261 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39262 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39263 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39264 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39265 * sysdeps/unix/sysv/linux/readv.c: Likewise.
39266 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39267 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39268 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39269 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39270 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39271 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39272 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39273 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39274 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39275 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39276 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39277 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39278 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39279 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39280 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39281 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39282 * sysvipc/sys/ipc.h: Likewise.
39283 * sysvipc/sys/msg.h: Likewise.
39284 * sysvipc/sys/sem.h: Likewise.
39285 * sysvipc/sys/shm.h: Likewise.
39286 * termios/termios.h: Likewise.
39287 * time/sys/time.h: Likewise.
39288 * time/time.h: Likewise.
39289 * wcsmbs/bits/wchar2.h: Likewise.
39290 * wcsmbs/uchar.h: Likewise.
39291 * wcsmbs/wchar.h: Likewise.
39292 * wctype/wctype.h: Likewise.
39293
0269750c
UD
39294 [BZ #13551]
39295 * Makeconfig: Remove all but ELF support including AIX support.
39296 * Makerules: Likewise.
39297 * config.h.in: Likewise.
39298 * config.make.in: Likewise.
39299 * configure: Likewise.
39300 * configure.in: Likewise.
39301 * csu/Makefile: Likewise.
39302 * csu/version.c: Likewise.
39303 * debug/Makefile: Likewise.
39304 * dlfcn/Makefile: Likewise.
39305 * elf/Makefile: Likewise.
39306 * extra-lib.mk: Likewise.
39307 * iconv/Makefile: Likewise.
39308 * include/libc-symbols.h: Likewise.
39309 * include/shlib-compat.h: Likewise.
39310 * resolv/Makefile: Likewise.
39311 * resolv/res_libc.c: Likewise.
39312 * rt/Makefile: Likewise.
39313 * sysdeps/i386/asm-syntax.h: Likewise.
39314 * sysdeps/i386/sysdep.h: Likewise.
39315 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39316 * sysdeps/mach/sysdep.h: Likewise.
39317 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39318 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39319 * sysdeps/s390/asm-syntax.h: Likewise.
39320 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39321 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39322 * sysdeps/sh/sysdep.h: Likewise.
39323 * sysdeps/unix/sparc/sysdep.h: Likewise.
39324 * sysdeps/wordsize-32/divdi3.c: Likewise.
39325 * sysdeps/x86_64/sysdep.h: Likewise.
39326
00bbd29b
UD
39327 * argp/Versions: Remove _argp_unlock_xxx.
39328
39329 [BZ #13559]
39330 * abilist/ld.abilist: Update. Adjust for removal of tls option.
39331 * abilist/libBrokenLocale.abilist: Likewise.
39332 * abilist/libanl.abilist: Likewise.
39333 * abilist/libc.abilist: Likewise.
39334 * abilist/libcrypt.abilist: Likewise.
39335 * abilist/libdl.abilist: Likewise.
39336 * abilist/libm.abilist: Likewise.
39337 * abilist/libnsl.abilist: Likewise.
39338 * abilist/libpthread.abilist: Likewise.
39339 * abilist/libresolv.abilist: Likewise.
39340 * abilist/librt.abilist: Likewise.
39341 * abilist/libthread_db.abilist: Likewise.
39342 * abilist/libutil.abilist: Likewise.
39343 * abilist/libnss_db.abilist: New file.
39344
39345 * scripts/abilist.awk: Add support for indirect functions.
39346
a2693a0e
UD
39347 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39348
3f05895f
UD
39349 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39350
ecb6fb48
UD
39351 * shlib-versions: Remove entries for ports architectures.
39352
664f8cb9
UD
39353 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
39354 files in ports.
39355 * elf/stackguard-macros.h: Remove support for IA-64.
39356 * elf/tst-auditmod1.c: Likewise.
39357 * sysdeps/generic/ldsodefs.h: Likewise.
39358
7ae81d88
UD
39359 * sysdeps/unix/sysv/linux/configure.in: Ports should define
39360 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39361 configure files.
39362
bdeba135
UD
39363 [BZ #13552]
39364 * configure.in: Remove --enable-omitfp support.
39365 * FAQ.in: Adjust.
39366 * config.make.in: Likewise.
39367 * Makeconfig: Likewise.
39368 * manual/install.texi: Likewise.
39369
d75a0a62
UD
39370 In case anyone cares, the IA-64 architecture could move to ports.
39371 * sysdeps/ia64/*: Removed.
39372 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 39373 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 39374
dcc9756b
UD
39375 [BZ #13555]
39376 * configure.in: Remove entries for unsupported architectures.
39377
d3761ebc 39378 [BZ #13533]
9954432e
UD
39379 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39380 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
39381 routines.
39382 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39383 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39384 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
39385 fall back to using wcrtomb.
39386 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39387 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
39388 renaming.
39389 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39390 * wcsmbs/tst-c16c32-1.c: New file.
39391
39392 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39393 local variable.
39394
c3a87236
UD
39395 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39396
28926a1b
UD
39397 * elf/tst-unique3.cc: Add explicit declaration of gets.
39398 * elf/tst-unique3lib.cc: Likewise.
39399 * elf/tst-unique3lib2.cc: Likewise.
39400 * elf/tst-unique4.cc: Likewise.
39401
df78418a
UD
39402 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39403
8ecd6b2a
JM
394042012-01-06 Joseph Myers <joseph@codesourcery.com>
39405
39406 [BZ #13566]
39407 * assert/assert.h (static_assert): Don't define for C++.
39408 * libio/stdio.h (gets): Do declare for C++ <= C++11.
39409 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39410
9f115170
UD
394112012-01-03 Ulrich Drepper <drepper@gmail.com>
39412
5e0d0300
UD
39413 * iconv/loop.c (single loop): Fix assertion in storing of
39414 remaining bytes.
39415
9f115170
UD
39416 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39417
81fb02b0
UD
394182012-01-01 Ulrich Drepper <drepper@gmail.com>
39419
39420 * posix/getconf.c: Update copyright year.
39421 * nss/getent.c: Likewise.
a316c1f6 39422 * nss/makedb.c: Likewise.
81fb02b0
UD
39423 * iconv/iconvconfig.c: Likewise.
39424 * iconv/iconv_prog.c: Likewise.
39425 * elf/ldconfig.c: Likewise.
a316c1f6
UD
39426 * elf/pldd.c: Likewise.
39427 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
39428 * catgets/gencat.c: Likewise.
39429 * csu/version.c: Likewise.
39430 * elf/ldd.bash.in: Likewise.
39431 * elf/sprof.c (print_version): Likewise.
39432 * locale/programs/locale.c: Likewise.
39433 * locale/programs/localedef.c: Likewise.
a316c1f6 39434 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
39435 * nscd/nscd.c (print_version): Likewise.
39436 * debug/xtrace.sh: Likewise.
39437 * malloc/memusage.sh: Likewise.
39438 * malloc/mtrace.pl: Likewise.
39439 * debug/catchsegv.sh: Likewise.
39440
2ba92745
JJ
394412011-12-30 Jakub Jelinek <jakub@redhat.com>
39442
39443 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39444 pure attribute.
39445
dadebdae
UD
394462011-12-24 Ulrich Drepper <drepper@gmail.com>
39447
d3761ebc 39448 [BZ #13533]
db6af3eb
UD
39449 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39450 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39451 transformations.
39452 * iconv/gconv_int.h: Likewise.
39453 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39454 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39455 from libc for GLIBC_2.16.
39456 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39457 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39458 * wcsmbs/uchar.h: Really define mbstate_t.
39459 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39460 * wcsmbs/c16rtomb.c: New file.
39461 * wcsmbs/mbrtoc16.c: New file.
39462 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39463 for C/POSIX locale.
39464 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39465 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39466
dadebdae
UD
39467 * wcsmbs/wchar.h: Add missing __restrict.
39468
67371b56
UD
394692011-12-23 Ulrich Drepper <drepper@gmail.com>
39470
74033a25
UD
39471 [BZ #13532]
39472 * time/Makefile (routines): Add timespec_get.
39473 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39474 * time/time.h: Define TIME_UTC and declare timespec_get. Define
39475 timespec for ISO C11.
39476 * time/timespec_get.c: New file.
39477 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39478 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39479
380d7e87
UD
39480 [BZ #13531]
39481 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39482 * stdlib/stdlib.h: Declare aligned_alloc.
39483 * Versions.def: Add GLIBC_2.16 for libc.
39484 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39485
4e9e7a35
UD
39486 [BZ 13527]
39487 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39488 ISO C11.
39489
380d7e87 39490 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
39491 code.
39492
03a71829
UD
39493 [BZ #13528]
39494 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
39495
839e283e
UD
39496 [BZ #13529]
39497 * assert/assert.h (static_assert): Define.
39498
ce5294e2 39499 * version.h: Update for 2.16 development version.
90fa7312 39500
8d44e150 39501 [BZ #13526]
d7809905
UD
39502 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
39503 _ISOC11_SOURCE.
39504
c0da14cd
UD
39505 * version.h (RELEASE): Bump for 2.15 release.
39506 * include/features.h (__GLIBC_MINOR__): Bump to 15.
39507
530a3249
MP
39508 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
39509 Patch by Marek Polacek <mpolacek@redhat.com>.
39510
67371b56
UD
39511 * bits/byteswap.h: Protect long long constants with __extension__.
39512 * sysdeps/i386/bits/byteswap.h: Likewise.
39513 * sysdeps/ia64/bits/byteswap.h: Likewise.
39514 * sysdeps/s390/bits/byteswap.h: Likewise.
39515 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39516
15db4de1
LD
395172011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39518
39519 [BZ #13540]
bbe315ea
LD
39520 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
39521 destination buffer.
15db4de1
LD
39522 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39523
2b2596b1
MP
395242011-12-23 Marek Polacek <polacek@redhat.com>
39525
39526 * elf/dl-addr.c (determine_info): Add inline keyword.
39527 * elf/tst-auditmod4b.c (check_avx): Likewise.
39528 * elf/tst-auditmod6b.c (check_avx): Likewise.
39529 * elf/tst-auditmod6c.c (check_avx): Likewise.
39530 * elf/tst-auditmod7b.c (check_avx): Likewise.
39531
70c6c246
UD
395322011-12-23 Ulrich Drepper <drepper@gmail.com>
39533
39534 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
39535 !__SSE_MATH__.
39536
c044cf14
LD
395372011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39538
15db4de1 39539 [BZ #13540]
c044cf14
LD
39540 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
39541 processing for last bytes.
39542
6b13d9d9
BH
395432011-08-06 Bruno Haible <bruno@clisp.org>
39544
d455f537
BH
39545 [BZ #13061]
39546 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
39547 U+0385, not to U+1FEE.
39548
6b13d9d9
BH
39549 [BZ #13062]
39550 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
39551 entry for U+00A5 U+0301.
39552
db910efd
UD
395532011-12-22 Ulrich Drepper <drepper@gmail.com>
39554
27deeafc
UD
39555 [BZ #13166]
39556 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
39557 buffer for the output is too small.
39558
aed9d171
UD
39559 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
39560 optimization.
39561
db910efd
UD
39562 [BZ #13185]
39563 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
39564 SSE flags if possible.
39565
2bd779ae
LD
395662011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39567
e7f9dac3 39568 [BZ #13540]
2bd779ae
LD
39569 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
39570 processing for last bytes.
39571
154bfc16
JM
395722011-12-22 Joseph Myers <joseph@codesourcery.com>
39573
39574 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
39575 (syscall-list-default-options, syscall-list-default-condition)
39576 (syscall-list-includes): Define.
39577 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
39578 list of ABIs and options and #if conditions for each ABI. Do not
39579 handle common syscalls between ABIs specially.
39580 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
39581 Remove.
39582 (syscall-list-variants, syscall-list-32bit-options)
39583 (syscall-list-32bit-condition, syscall-list-64bit-options)
39584 (syscall-list-64bit-condition): Define.
39585 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
39586 (syscall-list-variants, syscall-list-32bit-options)
39587 (syscall-list-32bit-condition, syscall-list-64bit-options)
39588 (syscall-list-64bit-condition): Define.
39589 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
39590 Remove.
39591 (syscall-list-variants, syscall-list-32bit-options)
39592 (syscall-list-32bit-condition, syscall-list-64bit-options)
39593 (syscall-list-64bit-condition): Define.
39594 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
39595 Remove.
39596 (syscall-list-variants, syscall-list-32bit-options)
39597 (syscall-list-32bit-condition, syscall-list-64bit-options)
39598 (syscall-list-64bit-condition): Define.
39599
21eaf3a5
UD
396002011-12-22 Ulrich Drepper <drepper@gmail.com>
39601
16c6f992
UD
39602 * locale/iso-639.def: Add brx entry.
39603
41043168
UD
39604 [BZ #13328]
39605 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
39606 Proposed by Mariusz_Cukr <marcukr@op.pl>.
39607
21eaf3a5
UD
39608 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
39609 __feraiseexcept_renamed.
39610
e3a851a2
UD
396112011-12-21 Ulrich Drepper <drepper@gmail.com>
39612
4920765e
UD
39613 [BZ #13538]
39614 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
39615 EPOLLET with unsigned values.
39616 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39617 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39618
e3a851a2
UD
39619 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
39620 to large cancellation.
39621 * math/s_cacoshf.c: Likewise.
39622 * math/s_cacoshl.c: Likewise.
39623
b27e24b8
RK
396242011-11-18 Richard B. Kreckel <kreckel@ginac.de>
39625
39626 [BZ #13305]
aebefeee 39627 [BZ #12786]
b27e24b8
RK
39628 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
39629 * math/s_cacoshf.c: Likewise.
39630 * math/s_cacoshl.c: Likewise.
39631
ee190f67
UD
396322011-12-21 Ulrich Drepper <drepper@gmail.com>
39633
39634 [BZ #13439]
39635 * iconv/gconv.h: Define __GCONV_SWAP.
39636 * iconvdata/unicode.c: The swap bit must be stored in __flags.
39637 * iconvdata/utf-16.c: Likewise.
39638 * iconvdata/utf-32.c: Likewise.
39639
707f25df
AS
396402011-12-21 Andreas Schwab <schwab@linux-m68k.org>
39641
39642 [BZ #13524]
39643 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
39644 numerator after shifting it by one limb.
39645
d2daaa1e
RÁE
396462011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
39647
39648 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
39649 under [__USE_EXTERN_INLINES].
39650
a4647e72
UD
396512011-12-17 Ulrich Drepper <drepper@gmail.com>
39652
39653 [BZ #13446]
39654 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
39655
f0b264f1
AZ
396562011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39657
39658 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
39659 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
39660 optimized code.
39661 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
39662 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
39663 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
39664 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
39665 for strncasecmp/strncasecmp_l compilation.
39666 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
39667 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
39668
8ef4f244
MP
396692011-12-08 Marek Polacek <mpolacek@redhat.com>
39670
39671 [BZ #13484]
39672 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
39673 of __asm__.
39674
97ac2654
UD
396752011-12-17 Ulrich Drepper <drepper@gmail.com>
39676
39677 [BZ #13506]
39678 * time/tzfile.c (__tzfile_read): Check values from file header.
39679
91d2a845
WS
396802011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39681
39682 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
39683 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
39684 * powerpc/powerpc32/dl-start.S: Likewise.
39685 * powerpc/powerpc32/elf/start.S: Likewise.
39686 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39687 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
39688 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
39689 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
39690 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39691 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
39692 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
39693 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39694 * powerpc/powerpc32/fpu/s_round.S: Likewise.
39695 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39696 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39697 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39698 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39699 * powerpc/powerpc32/memset.S: Likewise.
39700 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39701 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39702 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39703 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39704 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39705 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39706 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39707 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39708 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
39709 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
39710 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
39711 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39712 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39713
a1267ba1
AZ
397142011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39715
39716 * math/libm-test.inc: Added more nearbyint tests.
39717 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
39718 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
39719 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
39720 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
39721
ad8ac1bd
RL
397222011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
39723
39724 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
39725 FD_CLOEXEC.
39726
1d3e4b61
UD
397272011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39728
39729 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
39730 Add wcscpy-ssse3 wcscpy-c.
39731 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
39732 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
39733 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
39734 * sysdeps/x86_64/wcschr.S: New file.
39735 * sysdeps/x86_64/wcsrchr.S: New file.
39736 * string/test-strcmp.c: Remove checking of wcscmp function for
39737 wrong alignments.
39738 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
39739 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
39740 wcsrchr-sse2 wcsrchr-c.
39741 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
39742 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
39743 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
39744 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
39745 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
39746 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
39747 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
39748 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
39749 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
39750 * wcsmbc/wcschr.c (WCSCHR): New macro.
39751
5b330a2d
UD
397522011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39753
39754 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
39755 * wcsmbs/test-wcsrchr.c: New file.
39756 * string/test-strrchr.c: Add wcsrchr support.
39757 (WIDE): New macro.
39758 * wcsmbs/test-wcscpy.c: New file.
39759 * string/test-strcpy.c: Add wcscpy support.
39760 (WIDE): New macro.
26428b7c 39761
f039c043
UD
397622011-12-10 Ulrich Drepper <drepper@gmail.com>
39763
39764 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
39765 the inner loop.
39766
850fb039
AS
397672011-12-06 Andreas Schwab <schwab@linux-m68k.org>
39768
39769 [BZ #13472]
39770 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
39771
4efbd5cb
UD
397722011-12-04 Ulrich Drepper <drepper@gmail.com>
39773
52ff5dd0 39774 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 39775 Minor optimizations.
52ff5dd0 39776
4efbd5cb
UD
39777 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
39778 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
39779 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
39780
8a426e12
UD
397812011-12-03 Ulrich Drepper <drepper@gmail.com>
39782
aff2453d
UD
39783 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
39784 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
39785 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
39786 for gcc to avoid warnings.
39787 * inet/Makefile (tests): Add tst-checks.
39788 * inet/tst-checks.c: New file.
39789
39790 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
39791 warning.
39792
39793 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
39794 __wmemcmp_sse2.
39795
39796 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
39797 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
39798
8a426e12
UD
39799 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
39800
9bea3473
UD
398012011-12-02 Ulrich Drepper <drepper@gmail.com>
39802
3a965496
UD
39803 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
39804 problem.
39805
9bea3473
UD
39806 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
39807
f101631b
UD
398082011-11-29 Joseph Myers <joseph@codesourcery.com>
39809
39810 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
39811 conditional on GCC version.
39812 (__arch_compare_and_exchange_val_8_acq)
39813 (__arch_compare_and_exchange_val_16_acq)
39814 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
39815 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
39816 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
39817
a98275aa
UD
398182011-12-02 Joseph Myers <joseph@codesourcery.com>
39819
39820 * sysdeps/sh/backtrace.c: New file.
39821
d4cc29a2
AS
398222011-12-02 Andreas Schwab <schwab@redhat.com>
39823
39824 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
39825 parenthesis.
39826
6257af2d
AS
398272011-12-01 Andreas Schwab <schwab@redhat.com>
39828
39829 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
39830 falling back to utime.
39831
b5f44c1a
AS
398322011-11-30 Andreas Schwab <schwab@redhat.com>
39833
39834 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
39835 expectations for float.
39836
f3a6cc0a
AS
398372011-11-29 Andreas Schwab <schwab@redhat.com>
39838
39839 * locale/weight.h (findidx): Add parameter len.
39840 * locale/weightwc.h (findidx): Likewise.
39841 * posix/fnmatch_loop.c (FCT): Adjust caller.
39842 * posix/regcomp.c (build_equiv_class): Likewise.
39843 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
39844 * posix/regexec.c (check_node_accept_bytes): Likewise.
39845 * string/strcoll_l.c (STRCOLL): Likewise.
39846 * string/strxfrm_l.c (STRXFRM): Likewise.
39847
9d65ea3a
UD
398482011-11-17 Ulrich Drepper <drepper@gmail.com>
39849
39850 * Makefile.in: Remove CVSOPT handling.
39851 * configure.in: Remove use of AC_REVISION.
39852 * iconvdata/Makefile (distribute): No need to filter out CVS.
39853 * scripts/list-sources.sh: Remove CVS, subversion and monotone
39854 handling.
39855
5583a086
AS
398562011-11-16 Andreas Schwab <schwab@redhat.com>
39857
39858 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
39859 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
39860 [USE_AS_STRNCASECMP_L]: Likewise.
39861 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
39862 NO_TLS_DIRECT_SEG_REFS.
39863 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
39864 Fix argument offsets for non-PIC.
39865 [USE_AS_STRNCASECMP_L]: Likewise.
39866 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
39867 NO_TLS_DIRECT_SEG_REFS.
39868
d62a8200
UD
398692011-11-15 Ulrich Drepper <drepper@gmail.com>
39870
9d65ea3a 39871 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
39872 O_CLOEXEC.
39873 * locale/loadlocale.c (_nl_load_locale): Likewise.
39874
09f93bd3
AS
398752011-11-15 Andreas Schwab <schwab@redhat.com>
39876
446514f9
AS
39877 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
39878 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
39879 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
39880 (SYSCALL_GETTIME): Set errno on error.
39881
09f93bd3
AS
39882 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
39883 count references to noai6ai_cached.
39884
312be3f9
UD
398852011-11-15 Ulrich Drepper <drepper@gmail.com>
39886
39887 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
39888
39889 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
39890 FD_CLOEXEC for /proc/self/maps.
39891
39892 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
39893 FD_CLOEXEC for /proc/meminfo.
39894
39895 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
39896 gai.conf.
39897
39898 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
39899 FD_CLOEXEC for given file.
39900
39901 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
39902
39903 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
39904 FD_CLOEXEC for /etc/hosts.
39905 (_gethtent): Likewise.
39906
39907 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
39908
39909 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
39910 cancellation and set FD_CLOEXEC for /etc/netgroup.
39911
39912 * nss/nss_files/files-key.c (search): Don't allow cancellation when
39913 reading /etc/publickey.
39914
39915 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
39916 allow cancellation when reading /etc/group.
39917
39918 * nss/nss_files/files-alias.c (internal_setent): Don't allow
39919 cancellation.
39920 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
39921
39922 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
39923 when using data file.
39924
39925 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
39926
39927 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
39928 (write_nis_obj): Use "c" and "e" in fopen.
39929
39930 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
39931
39932 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
39933
39934 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
39935
39936 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
39937
39938 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
39939 locale.alias.
39940
39941 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
39942
39943 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
39944
39945 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
39946
39947 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
39948 file parsing and set FD_CLOEXEC.
39949
82af0fa8
UD
399502011-11-14 Ulrich Drepper <drepper@gmail.com>
39951
39952 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
39953
a5fb313c
AS
399542011-11-14 Andreas Schwab <schwab@redhat.com>
39955
39956 * malloc/arena.c (arena_get2): Don't call reused_arena when
39957 _int_new_arena failed.
39958
6abf3465
UD
399592011-11-14 Ulrich Drepper <drepper@gmail.com>
39960
39961 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
39962 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
39963 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
39964 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39965 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39966 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
39967 to compile strcasecmp and strncasecmp.
39968 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
39969 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
39970
39971 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
39972
76e3966e
UD
399732011-11-13 Ulrich Drepper <drepper@gmail.com>
39974
39975 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
39976 locale-defines.sym to gen-as-const-headers.
39977 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
39978 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
39979 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
39980 to compile strcasecmp and strncasecmp.
39981 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
39982 strcasecmp_l and strncasecmp_l.
39983 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
39984 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
39985 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
39986 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
39987 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
39988 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
39989 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
39990 * sysdeps/i386/i686/multiarch/strncase.S: New file.
39991 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
39992 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
39993 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
39994
ab26144e
UD
399952011-11-12 Ulrich Drepper <drepper@gmail.com>
39996
7edb22ef
UD
39997 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
39998 result of SYSDEP_GETTIME_CPU to retval.
39999 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40000 parameter list to macro. Remove trailing semicolon. Adjust users.
40001
9694fc44
UD
40002 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40003 variable.
40004
8ad89ef8
UD
40005 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40006 mantissa words.
40007 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40008
0c822ef9
UD
40009 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40010 from unused variable.
40011
874e0564
UD
40012 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40013 DWARF definitions.
40014 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40015 for assembling.
40016
3a2edc79
UD
40017 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40018 over namespaces.
40019
f3c2577f
UD
40020 * sunrpc/rpc_prot.c (rejected): Fix case value.
40021
294ce126
UD
40022 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40023 unsigned long long int to avoid warnings in shift.
40024
5e2b63c6
UD
40025 * posix/regex_internal.c (re_string_reconstruct): Actually use result
40026 of use of trans.
40027 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40028 variable tmp.
40029
e7f4b08e
UD
40030 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40031 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40032 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40033
ab26144e
UD
40034 * nis/nis_table.c (nis_list): Use variable of correct type for
40035 result of __follow_path call.
40036
8a6d5255
AZ
400372011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40038
40039 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40040 of math functions ceil, trunc, floor, round, and sqrt, when
40041 avaliable on the platform.
40042 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40043 name clash.
40044 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40045 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40046 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40047
aaddc98c
MP
400482011-10-30 Marek Polacek <mpolacek@redhat.com>
40049
40050 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40051 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40052
95b7042b
RM
400532011-11-11 Roland McGrath <roland@hack.frob.com>
40054
40055 * include/unistd.h: Fix __readlink return type.
40056 Reported by Chris Metcalf <cmetcalf@tilera.com>.
40057
57769839
UD
400582011-11-11 Ulrich Drepper <drepper@gmail.com>
40059
40060 * stdlib/ucontext.h: Undo last change for makecontext.
40061
edc5984d
AS
400622011-11-11 Andreas Schwab <schwab@redhat.com>
40063
98591e58
AS
40064 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40065
edc5984d
AS
40066 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40067 * setjmp/setjmp.h: Mark functions as non-leaf.
40068 * setjmp/bits/setjmp2.h: Likewise.
40069 * stdlib/ucontext.h: Likewise.
40070
77cdc054
AS
400712011-11-10 Andreas Schwab <schwab@redhat.com>
40072
40073 * malloc/arena.c (_int_new_arena): Don't increment narenas.
40074 (reused_arena): Don't check arena limit.
40075 (arena_get2): Atomically check arena limit.
40076
fe72eebd
UD
400772011-11-08 Ulrich Drepper <drepper@gmail.com>
40078
5f078c32
UD
40079 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40080 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40081
fe72eebd
UD
40082 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40083 instructions.
40084
ae1bc2fa
AS
400852011-11-07 Andreas Schwab <schwab@redhat.com>
40086
7583a88d
AS
40087 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40088 handler when locking.
40089
ae1bc2fa
AS
40090 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40091 Fix size of allocated buffer.
40092
10fb0bfa
AS
400932011-11-04 Andreas Schwab <schwab@redhat.com>
40094
998832a4
AS
40095 [BZ #10103]
40096 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40097 declarations for long double functions.
40098 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40099
10fb0bfa
AS
40100 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40101
3d7ba52b
AS
401022011-11-03 Andreas Schwab <schwab@redhat.com>
40103
a9ae54a1
AS
40104 * nscd/nscd.c (main): Don't start AVC thread until credentials are
40105 installed.
40106
3d7ba52b
AS
40107 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40108 is disabled.
40109
bc8db248
ST
401102011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
40111
40112 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40113
45b96dd6
AS
401142011-11-01 Andreas Schwab <schwab@linux-m68k.org>
40115
647776f6
AS
40116 * include/alloca.h (stackinfo_alloca_round): Define.
40117 (extend_alloca): Use it.
40118 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40119 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40120 here.
40121
d91a8b93
AS
40122 * scripts/check-local-headers.sh: Ignore libaudit.h.
40123
45b96dd6
AS
40124 * nscd/Makefile (extra-objs): Make recursively expanded.
40125
432d41ce
UD
401262011-11-01 Ulrich Drepper <drepper@gmail.com>
40127
34372fc6
UD
40128 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40129 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40130
fadb59f8
UD
40131 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40132 * posix/tst-rfc3484-2.c: Likewise.
40133 * posix/tst-rfc3484-3.c: Likewise.
40134
78239589
UD
40135 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40136 process_vm_writev.
40137 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40138 process_vm_writev.
40139 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40140 process_vm_writev from libc using GLIBC_2.15 version.
40141
432d41ce
UD
40142 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40143
02f9c6cf
PP
401442011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
40145
40146 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40147 stack usage.
40148
3a2c0242
UD
401492011-10-31 Ulrich Drepper <drepper@gmail.com>
40150
f4ec4833
UD
40151 [BZ #13367]
40152 * nss/getent.c (initgroups_keys): Show error message in case no group
40153 names are given.
40154
3a2c0242
UD
40155 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40156 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40157 __bump_nl_timestamp.
40158 * nscd/connections (nscd_init): When host database is served open
40159 netlink socket and request notification about configuration changes.
40160 (main_loop_poll): Track netlink file descriptor and bump timestamp
40161 in case data becomes available.
40162 (main_loop_epoll): Likewise.
40163 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40164 (database_pers_head): Add extra_data fileds.
40165 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40166 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40167 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40168 Adjust caller.
40169 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40170 in6ai data, call __free_in6ai.
40171 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40172 Add -DHAVE_NETLINK.
40173 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
40174 interface information. Reuse previous data if netlink timestamp
40175 is not changed.
40176 (__bump_nl_timestamp): New function.
40177 (__free_in6ai): New function.
40178
636064eb
UD
401792011-10-30 Ulrich Drepper <drepper@gmail.com>
40180
40181 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40182 close_not_cancel_no_status here.
40183 (__check_pf): Reorganize code a bit to not call close twice if OOM.
40184
9beb2334
UD
401852011-10-29 Ulrich Drepper <drepper@gmail.com>
40186
6ef76f3b
UD
40187 [BZ #13276]
40188 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40189 return value.
40190
0ffc4f3e 40191 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
40192 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40193 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40194
cb95113e
UD
401952011-07-03 Andreas Jaeger <aj@suse.de>
40196
40197 [BZ #10709]
40198 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40199 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40200 * math/libm-test.inc (sin_test): Add test case.
40201
a1b560ff
UD
402022011-10-29 Ulrich Drepper <drepper@gmail.com>
40203
c9aaface
UD
40204 [BZ #13337]
40205 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40206 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40207
d272e7f1
UD
40208 * elf/chroot_canon.c (chroot_canon): Cleanups.
40209
1bc33071
UD
40210 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40211
1760874d
TJ
40212 [BZ #13335]
40213 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40214 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40215
51d91b18
UD
40216 * string/test-strchr.c: Make usable for strchrnul testing.
40217 * string/test-strchrnul.c: New file.
40218 * string/Makefile (strop-tests): Add strchrnul.
40219
a1b560ff 40220 * po/it.po: Update from translation team.
b611fb81 40221 * po/es.po: Likewise.
a1b560ff 40222
a5b81e1f
UD
402232011-10-28 Ulrich Drepper <drepper@gmail.com>
40224
fd52bc6d
UD
40225 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40226 the three constants needed as parameters. Drop the others.
40227 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40228 __m128i_strloadu_tolower.
52e4b9eb
UD
40229 Create and initialize variable zero and use it in all the places
40230 where _mm_setzero_si128 was used.
fd52bc6d 40231
a5b81e1f
UD
40232 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40233 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40234 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40235 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40236 anymore.
40237 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40238 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40239 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40240 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40241 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40242 __mpranred, __mptan.
40243 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40244 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40245 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40246 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40247 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40248 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40249 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40250 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40251 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40252
b4343346
AS
402532011-10-28 Andreas Schwab <schwab@redhat.com>
40254
0c92d8a8
AS
40255 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40256 redefine if SHARED.
40257 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40258
b4343346
AS
40259 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40260 wide char related routines to wcsmbs subdir.
40261
3871f58f
AS
402622011-10-27 Andreas Schwab <schwab@redhat.com>
40263
40264 [BZ #13344]
40265 * misc/sys/cdefs.h (__THROWNL): Define.
40266 * posix/unistd.h: Use __THREADNL instead of __THREAD
40267 for memory synchronization functions.
40268
94d44d9f
RM
402692011-10-26 Roland McGrath <roland@hack.frob.com>
40270
21b64b15 40271 [BZ #13349]
94d44d9f
RM
40272 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40273 doesn't exist.
40274 * manual/stdio.texi (Obstack Streams): Node removed.
40275
f6ce9294
AS
402762011-10-26 Andreas Schwab <schwab@redhat.com>
40277
80479147
AS
40278 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40279 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40280 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40281
f6ce9294
AS
40282 * math/math_private.h (math_force_eval): Allow non-addressable
40283 arguments.
40284 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40285
618280a1
UD
402862011-10-25 Ulrich Drepper <drepper@gmail.com>
40287
e0016b11
UD
40288 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40289 file is not needed.
40290
40291 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40292 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40293 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40294 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40295 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40296 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40297 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40298 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40299 Add AVX variants.
40300 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40301 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40302 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40303 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40304 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40305 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40306 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40307 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40308 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40309 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40310 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40311 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40312 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40313 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40314 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40315 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40316 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40317 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40318 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40319
40320 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40321 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
40322
618280a1
UD
40323 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40324 place. Use VEX encoding when compiling for AVX.
40325
37822576
AS
403262011-10-25 Andreas Schwab <schwab@redhat.com>
40327
1f1e1947
AS
40328 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40329 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40330
37822576
AS
40331 * string/test-strchr.c (do_test): Don't generate NUL bytes.
40332
31ea014d
UD
403332011-10-25 Ulrich Drepper <drepper@gmail.com>
40334
d7826aa1 40335 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 40336 useless if() expression.
d7826aa1
UD
40337 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40338 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40339 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40340 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40341 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40342 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40343 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40344 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40345 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40346 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40347 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40348 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40349 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40350 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40351 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40352 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40353 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40354 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40355 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40356
31ea014d
UD
40357 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40358
16437fec
AS
403592011-10-25 Andreas Schwab <schwab@redhat.com>
40360
40361 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40362 condition.
40363 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40364
31d3cc00
UD
403652011-10-25 Ulrich Drepper <drepper@gmail.com>
40366
40367 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40368 .text section. Avoid duplicate constants.
40369 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40370 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40371 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40372 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40373 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40374 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40375 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40376 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40377 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40378 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40379 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40380 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40381 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40382 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40383 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40384 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40385 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40386 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40387 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40388 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40389 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40390 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40391 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40392 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40393 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40394 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40395 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40396 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40397 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40398 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40399 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40400 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40401 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40402 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40403 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40404 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40405 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40406 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40407 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40408 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40409 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40410 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40411 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40412 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40413 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40414
58985aa9
UD
404152011-10-24 Ulrich Drepper <drepper@gmail.com>
40416
202c9deb
UD
40417 * sysdeps/x86_64/dla.h: Move to ...
40418 * sysdeps/x86_64/fpu/dla.h: ...here.
40419 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40420 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 40421
af968f62
UD
40422 * config.make.in: Add have-mfma4 entry.
40423 * configure.in: Substitute libc_cv_cc_fma4.
40424 * math/Makefile (dbl-only-routines): Add sincostab.
40425 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40426 Use __sincostab not sincos.
40427 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40428 name is a macro.
40429 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40430 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40431 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40432 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
40433 using __copysign.
40434 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
40435 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
40436 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40437 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40438 and __inv.
40439 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40440 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40441 __copysign.
40442 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
40443 define aliases when function name is a macro.
40444 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40445 sysdeps/ieee754/dbl-64/sincos.tbl.
40446 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40447 fma4-enabled routines.
40448 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40449 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40450 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40451 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40452 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40453 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40454 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40455 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40456 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40457 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40458 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40459 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40460 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40461 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40462 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40463 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40464 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40465 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40466 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40467 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40468 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40469 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40470 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40471 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40472 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40473 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40474 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40475 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40476 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40477 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40478
58985aa9
UD
40479 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40480 rename.
40481 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40482 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40483 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40484 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40485 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40486 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40487 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40488 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40489
a201fbcf
AS
404902011-10-24 Andreas Schwab <schwab@redhat.com>
40491
40492 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
40493
fc2ee42a
LD
404942011-10-23 Ulrich Drepper <drepper@gmail.com>
40495
bb3129bd
UD
40496 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
40497
0275fff8
UD
40498 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
40499 prediction.
40500 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
40501
2fa2ae85
UD
40502 * string/strnlen.c: Don't define STRNLEN, reverse logic.
40503 Remove unused variable magic_bits.
40504 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
40505
fc2ee42a
LD
40506 * string/strnlen.c: Define and use STRNLEN macro.
40507 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
40508 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
40509 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
40510 * wcsmbs/wcslen.c: Define and use WCSLEN.
40511 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
40512 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
40513 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
40514 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
40515 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
40516 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
40517 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40518
ce7dd29f
LD
405192011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40520
40521 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40522 strnlen-sse2-no-bsf.
40523 Rename strlen-no-bsf to strlen-sse2-no-bsf.
40524 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
40525 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
40526 Add strnlen support.
40527 (USE_AS_STRNLEN): New macro.
40528 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
40529 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
40530 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
40531 * sysdeps/x86_64/wcslen.S: New file.
40532
979c70a3
MZ
405332011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
40534
40535 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40536 XMM-moves are used for copying on small sizes.
40537
2d09f82f
LD
405382011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40539
40540 * wcsmbs/Makefile (strop-tests): Add wcschr.
40541 * wcsmbs/test-wcschr.c: New file.
40542 * string/test-strchr.c: Update.
40543 Add wcschr support.
40544 (WIDE): New macro.
40545
619fccca
LD
405462011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40547
2d09f82f 40548 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
40549 * wcsmbs/test-wcslen.c: New file.
40550 * string/test-strlen.c: Update.
40551 Add wcslen support.
40552 (WIDE): New macro.
40553
09f699ea
UD
405542011-10-23 Ulrich Drepper <drepper@gmail.com>
40555
40556 * po/it.po: Update from translation team.
40557
95584d3b
LD
405582011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40559
40560 * sysdeps/x86_64/wcscmp.S: Update.
40561 Fix wrong comparison semantics.
40562 wcscmp shall use signed comparison not unsigned.
40563 Don't use substraction to avoid overflow bug.
40564 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40565 * wcsmbc/wcscmp.c: Likewise.
40566 * string/test-strcmp.c: Likewise.
40567 Add new tests to check cases with negative values.
40568
c8b3296b
UD
405692011-10-23 Ulrich Drepper <drepper@gmail.com>
40570
40571 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
40572 * sysdeps/x86_64/dla.h: ...here. New file.
40573 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
40574 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40575 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40576 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40577 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40578 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40579 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40580 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40581 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40582
246ad57a
AS
405832011-10-23 Andreas Schwab <schwab@linux-m68k.org>
40584
40585 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
40586 __ynl_finite aliases.
40587
a1a87169
UD
405882011-10-22 Ulrich Drepper <drepper@gmail.com>
40589
0d355eb7
UD
40590 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40591
a1a87169
UD
40592 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
40593 define DLA_FMA.
40594 [DLA_FMA] (EMULV): Use DLA_FMA.
40595 [DLA_FMA] (MUL12): Use EMULV.
40596 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
40597 that are not needed.
40598 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40599 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40600 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40601 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40602 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40603 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40604 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40605
ee2aafe0
AS
406062011-10-22 Andreas Schwab <schwab@linux-m68k.org>
40607
40608 * math/s_nan.c: Undef __nan.
40609 * math/s_nanf.c: Undef __nanf.
40610 * math/s_nanl.c: Undef __nanl.
40611 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
40612 "math_private.h".
40613
bc62c2fb
UD
406142011-10-22 Ulrich Drepper <drepper@gmail.com>
40615
77425c63
UD
40616 * math/s_catan.c: Add branch predictions.
40617 * math/s_catanf.c: Likewise.
40618 * math/s_catanh.c: Likewise.
40619 * math/s_catanhf.c: Likewise.
40620 * math/s_catanhl.c: Likewise.
40621 * math/s_catanl.c: Likewise.
40622 * math/s_cexp.c: Likewise.
40623 * math/s_cexpf.c: Likewise.
40624 * math/s_cexpl.c: Likewise.
40625 * math/s_clog.c: Likewise.
40626 * math/s_clog10.c: Likewise.
40627 * math/s_clog10f.c: Likewise.
40628 * math/s_clog10l.c: Likewise.
40629 * math/s_clogf.c: Likewise.
40630 * math/s_clogl.c: Likewise.
40631 * math/s_csqrt.c: Likewise.
40632 * math/s_csqrtf.c: Likewise.
40633 * math/s_csqrtl.c: Likewise.
40634 * math/s_ctanf.c: Likewise.
40635 * math/s_ctanh.c: Likewise.
40636 * math/s_ctanhf.c: Likewise.
40637 * math/s_ctanhl.c: Likewise.
40638 * math/s_ctanl.c: Likewise.
40639
bc62c2fb
UD
40640 * math/math_private.h: Define __nan, __nanf, __nanl.
40641 * math/s_cacosh.c: Include <math_private.h>.
40642 * math/s_cacoshl.c: Likewise.
40643 * math/s_casinh.c: Likewise.
40644 * math/s_casinhf.c: Likewise.
40645 * math/s_casinhl.c: Likewise.
40646 * math/s_ccos.c: Rely entire on ccosh.
40647 * math/s_ccosf.c: Rely entire on ccoshf.
40648 * math/s_ccosl.c: Rely entirely on ccoshl.
40649 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
40650 Remove tests for FE_INVALID.
40651 * math/s_ccoshf.c: Likewise.
40652 * math/s_ccoshl.c: Likewise.
40653 * math/s_csin.c: Likewise.
40654 * math/s_csinf.c: Likewise.
40655 * math/s_csinh.c Likewise.
40656 * math/s_csinhf.c: Likewise.
40657 * math/s_csinhl.c: Likewise.
40658 * math/s_csinl.c: Likewise.
40659 * math/s_ctan.c: Likewise.
40660 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
40661 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
40662 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
40663
8ec250a4
UD
406642011-10-21 Ulrich Drepper <drepper@gmail.com>
40665
c196fed8
UD
40666 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
40667 compilation problems.
40668
8ec250a4
UD
40669 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
40670 __builtin_expect.
40671
8d4f46c6
UD
406722011-10-20 Ulrich Drepper <drepper@gmail.com>
40673
ed72b654
UD
40674 * sysdeps/i386/configure.in: Test for -mfma4 option.
40675 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
40676 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
40677 COMMON_CPUID_INDEX_80000001.
40678 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
40679 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
40680 use it if FMA3 is not supported.
40681 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
40682
8d4f46c6
UD
40683 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
40684 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40685
d45c60c2
AS
406862011-10-20 Andreas Schwab <schwab@redhat.com>
40687
40688 [BZ #12892]
40689 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
40690 it would create a cycle with a link time dependency.
40691
d9a4d2ab
UD
406922011-10-19 Ulrich Drepper <drepper@gmail.com>
40693
855d1560
UD
40694 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
40695 instruction.
40696 * string/Makefile (strop-tests): Add rawmemchr.
40697 * string/test-rawmemchr.c: New file.
40698
d9a4d2ab
UD
40699 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
40700 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
40701 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
40702 when compiling str{,n}casecmp and when AVX is available. Hook up
40703 new optimized code in initializers.
40704
8f3b1ffe
AS
407052011-10-19 Andreas Schwab <schwab@redhat.com>
40706
40707 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
40708 __feraiseexcept instead of feraiseexcept.
40709
d38f1dba
UD
407102011-10-18 Ulrich Drepper <drepper@gmail.com>
40711
d9a8d0ab
UD
40712 * math/math_private.h: Define defaults for libc_fetestexcept and
40713 libc_feupdateenv.
40714 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
40715 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
40716 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40717 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40718 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40719 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40720 libc_fetestexcept and libc_feupdateenv.
40721
4855e3dd
UD
40722 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
40723 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
40724 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
40725 * sysdeps/x86_64/fpu/math_private.h: Define special version of
40726 libc_feholdexcept_setround.
40727
581d30e3
UD
40728 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
40729 Add s_nearbyint-c and s_nearbyintf-c.
40730 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
40731 nearbyintf inlines.
40732 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
40733 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
40734 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
40735 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
40736
d38f1dba
UD
40737 * math/math_private.h: Define defaults for libc_fegetround,
40738 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
40739 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
40740 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
40741 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
40742 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
40743 standard functions.
40744 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40745 Remove comments and hacks for old compiler versions.
40746 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40747 libc_fegetround, libc_fesetround, libc_feholdexcept, and
40748 libc_feholdexceptl.
40749
caa6c9d8
AS
407502011-10-18 Andreas Schwab <schwab@redhat.com>
40751
40752 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
40753 (__feraiseexcept_renamed): Add __NTH.
40754 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
40755 namespace violations.
40756
97c066e6
UD
407572011-10-17 Ulrich Drepper <drepper@gmail.com>
40758
99ce7b04
UD
40759 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
40760
1004d182
UD
40761 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
40762
228a984d
UD
40763 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
40764 recently added interfaces.
40765 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
40766
c8553a6a
UD
40767 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
40768 about macro parameter expansion.
40769
ed22dcf6
UD
40770 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
40771 __NO_MATH_INLINES is defined. Cleanups.
40772
40773 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
40774 and __floorf is target has SSE4.1.
40775 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
40776 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
40777 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
40778 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
40779
b171c137
UD
40780 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
40781 name.
40782 (floorf): Likewise.
40783
97c066e6
UD
40784 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
40785
629f62ef
AS
407862011-10-17 Andreas Schwab <schwab@redhat.com>
40787
49a43d80
AS
40788 * misc/sys/cdefs.h: Fix last change.
40789
629f62ef
AS
40790 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
40791 database lookup.
40792
e453f6cd
UD
407932011-10-16 Ulrich Drepper <drepper@gmail.com>
40794
aa78043a
UD
40795 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
40796
ad0f5cad
UD
40797 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
40798 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40799 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40800 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40801 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40802 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40803 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40804 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40805 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40806 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
40807 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
40808 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
40809 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
40810 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
40811 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
40812 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
40813 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
40814 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
40815 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
40816 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
40817 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
40818 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
40819
40820 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
40821 ceil, ceilf, floor, floorf.
40822
40823 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
40824 Perform IRELATIVE relocations last.
40825
e453f6cd
UD
40826 * elf/do-rel.h: Add another parameter nrelative, replacing the
40827 local variable with the same name. Change name of the function
40828 to end in Rel or Rela (uppercase).
40829 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
40830 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
40831 elf_dynamic_do_##reloc function.
40832
fd5bdc09
UD
408332011-10-15 Ulrich Drepper <drepper@gmail.com>
40834
79b195b5
UD
40835 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
40836 is sufficient, at least on modern CPUs.
40837
d4a28569
UD
40838 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
40839
b61099b5
UD
40840 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
40841 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
40842
bcf01e6d
UD
40843 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
40844 __expl_finite.
40845 * math/bits/math-finite.h: Add entries for exp.
40846 * math/e_expl.c: Add __*_finite alias.
40847 * sysdeps/i386/fpu/e_exp.S: Likewise.
40848 * sysdeps/i386/fpu/e_expf.S: Likewise.
40849 * sysdeps/i386/fpu/e_expl.c: Likewise.
40850 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40851 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40852 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40853 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40854 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
40855 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40856 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40857
ba1a0d59
UD
40858 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
40859 is sufficient, at least on modern CPUs.
40860
fd5bdc09
UD
40861 * ctype/ctype-info.c (__ctype_init): Define.
40862 * include/ctype.h (__ctype_init): Declare.
40863 (__ctype_b_loc): The variable is always initialized.
40864 (__ctype_toupper_loc): Likewise.
40865 (__ctype_tolower_loc): Likewise.
40866 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
40867 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
40868
7872cfb0
AS
408692011-10-15 Andreas Schwab <schwab@linux-m68k.org>
40870
b468825a
AS
40871 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
40872
7872cfb0
AS
40873 * configure.in: Also look in $cxxmachine/include for C++ system
40874 headers.
40875
be13f7bf
LD
408762011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40877
40878 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
40879 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
40880 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
40881 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
40882 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
40883 (USE_AS_WMEMCMP): New macro.
40884 Fixing indents.
40885 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
40886 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
40887 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
40888 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
40889 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40890 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
40891 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
40892 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
40893 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
40894 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
40895 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
40896 (USE_AS_WMEMCMP): New macro.
40897 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
40898 * sysdeps/string/test-memcmp.c: Update.
40899 Fix simple_wmemcmp.
40900 Add new tests.
40901 * wcsmbs/wmemcmp.c: Update.
40902 (WMEMCMP): New macro.
40903 Fix overflow bug.
40904
556a2007
AJ
409052011-10-12 Andreas Jaeger <aj@suse.de>
40906
40907 [BZ #13268]
40908 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
40909
538faaa7
UD
409102011-10-15 Ulrich Drepper <drepper@gmail.com>
40911
ab6737ff
UD
40912 * libio/iofwide.c (do_length): Avoid warning.
40913
538faaa7
UD
40914 * ctype/ctype.h (__isctype_f): Add missing __THROW.
40915
396a21b1
UD
409162011-10-14 Ulrich Drepper <drepper@gmail.com>
40917
cdf2901f
UD
40918 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
40919
38ad40ce
UD
40920 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
40921 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
40922 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
40923 * sysdeps/i386/i686/fpu/e_log.S: New file.
40924 * sysdeps/i386/i686/fpu/e_logf.S: New file.
40925 * sysdeps/i386/i686/fpu/e_logl.S: New file.
40926
396a21b1
UD
40927 * ctype/ctype.h: Add support for inlined isXXX functions when
40928 compiling C++ code.
40929
6b1f68c9
AS
409302011-10-14 Andreas Schwab <schwab@redhat.com>
40931
349290c0
AS
40932 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40933
6b1f68c9
AS
40934 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
40935
f2282d42
RM
409362011-10-13 Roland McGrath <roland@hack.frob.com>
40937
40938 [BZ #13291]
40939 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
40940
5298ffa8
AS
409412011-10-13 Andreas Schwab <schwab@redhat.com>
40942
714fad23
AS
40943 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
40944 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
40945 feraiseexcept.
40946
81dcc7fb
AS
40947 * sysdeps/x86_64/memrchr.S: Check for zero size.
40948
5298ffa8
AS
40949 * string/stratcliff.c: Add memrchr tests.
40950
951fbcec
LD
409512011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40952
40953 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40954 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
40955 rawmemchr-sse2 rawmemchr-sse2-bsf.
40956 * sysdeps/i386/i686/multiarch/memchr.S: New file.
40957 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
40958 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
40959 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
40960 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
40961 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
40962 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
40963 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
40964 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
40965 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
40966 * string/memrchr.c (MEMRCHR): New macro.
40967
0ac5ae23
UD
409682011-10-12 Ulrich Drepper <drepper@gmail.com>
40969
40970 Add integration with gcc's -ffinite-math-only and optimize wrapper
40971 functions in libm.
40972 * Versions.def: Define GLIBC_2.15 version for libm.
40973 * math/Makefile (headers): Add bits/math-finite.h.
40974 * math/bits/math-finite.h: New file.
40975 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
40976 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
40977 * math/e_acoshl.c: Add __*_finite alias.
40978 * math/e_acosl.c: Likewise.
40979 * math/e_asinl.c: Likewise.
40980 * math/e_atan2l.c: Likewise.
40981 * math/e_atanhl.c: Likewise.
40982 * math/e_coshl.c: Likewise.
40983 * math/e_exp10.c: Likewise.
40984 * math/e_exp10f.c: Likewise.
40985 * math/e_exp10l.c: Likewise.
40986 * math/e_exp2l.c: Likewise.
40987 * math/e_fmodl.c: Likewise.
40988 * math/e_gammal_r.c: Likewise.
40989 * math/e_hypotl.c: Likewise.
40990 * math/e_j0l.c: Likewise.
40991 * math/e_j1l.c: Likewise.
40992 * math/e_jnl.c: Likewise.
40993 * math/e_lgammal_r.c: Likewise.
40994 * math/e_log10l.c: Likewise.
40995 * math/e_log2l.c: Likewise.
40996 * math/e_logl.c: Likewise.
40997 * math/e_powl.c: Likewise.
40998 * math/e_sinhl.c: Likewise.
40999 * math/e_sqrtl.c: Likewise.
41000 * math/e_scalb.c: Completely rewritten and optimized.
41001 * math/e_scalbf.c: Likewise.
41002 * math/e_scalbl.c: Likewise.
41003 * math/w_acos.c: Likewise.
41004 * math/w_acosf.c: Likewise.
41005 * math/w_acosl.c: Likewise.
41006 * math/w_acosh.c: Likewise.
41007 * math/w_acoshf.c: Likewise.
41008 * math/w_acoshl.c: Likewise.
41009 * math/w_asin.c: Likewise.
41010 * math/w_asinf.c: Likewise.
41011 * math/w_asinl.c: Likewise.
41012 * math/w_atan2.c: Likewise.
41013 * math/w_atan2f.c: Likewise.
41014 * math/w_atan2l.c: Likewise.
41015 * math/w_atanh.c: Likewise.
41016 * math/w_atanhf.c: Likewise.
41017 * math/w_atanhl.c: Likewise.
41018 * math/w_exp10.c: Likewise.
41019 * math/w_exp10f.c: Likewise.
41020 * math/w_exp10l.c: Likewise.
41021 * math/w_fmod.c: Likewise.
41022 * math/w_fmodf.c: Likewise.
41023 * math/w_fmodl.c: Likewise.
41024 * math/w_j0.c: Likewise.
41025 * math/w_j0f.c: Likewise.
41026 * math/w_j0l.c: Likewise.
41027 * math/w_j1.c: Likewise.
41028 * math/w_j1f.c: Likewise.
41029 * math/w_j1l.c: Likewise.
41030 * math/w_jn.c: Likewise.
41031 * math/w_jnf.c: Likewise.
41032 * math/w_log.c: Likewise.
41033 * math/w_logf.c: Likewise.
41034 * math/w_logl.c: Likewise.
41035 * math/w_log10.c: Likewise.
41036 * math/w_log10f.c: Likewise.
41037 * math/w_log10l.c: Likewise.
41038 * math/w_log2.c: Likewise.
41039 * math/w_log2f.c: Likewise.
41040 * math/w_log2l.c: Likewise.
41041 * math/w_pow.c: Likewise.
41042 * math/w_powf.c: Likewise.
41043 * math/w_powl.c: Likewise.
41044 * math/w_remainder.c: Likewise.
41045 * math/w_remainderf.c: Likewise.
41046 * math/w_remainderl.c: Likewise.
41047 * math/w_scalb.c: Likewise.
41048 * math/w_scalbf.c: Likewise.
41049 * math/w_scalbl.c: Likewise.
41050 * math/w_sqrt.c: Likewise.
41051 * math/w_sqrtf.c: Likewise.
41052 * math/w_sqrtl.c: Likewise.
41053 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41054 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
41055 used.
41056 * math/math_private.h: Declare __kernel_standard_f.
41057 * math/w_cosh.c: Remove cruft and optimize a bit.
41058 * math/w_coshf.c: Likewise.
41059 * math/w_coshl.c: Likewise.
41060 * math/w_exp2.c: Likewise.
41061 * math/w_exp2f.c: Likewise.
41062 * math/w_exp2l.c: Likewise.
41063 * math/w_hypot.c: Likewise.
41064 * math/w_hypotf.c: Likewise.
41065 * math/w_hypotl.c: Likewise.
41066 * math/w_lgamma.c: Likewise.
41067 * math/w_lgamma_r.c: Likewise.
41068 * math/w_lgammaf.c: Likewise.
41069 * math/w_lgammaf_r.c: Likewise.
41070 * math/w_lgammal.c: Likewise.
41071 * math/w_lgammal_r.c: Likewise.
41072 * math/w_sinh.c: Likewise.
41073 * math/w_sinhf.c: Likewise.
41074 * math/w_sinhl.c: Likewise.
41075 * math/w_tgamma.c: Likewise.
41076 * math/w_tgammaf.c: Likewise.
41077 * math/w_tgammal.c: Likewise.
41078 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41079 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41080 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41081 Minor optimizations. Pretty printing. Remove cruft.
41082 * sysdeps/i386/fpu/e_acosf.S: Likewise.
41083 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41084 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41085 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41086 * sysdeps/i386/fpu/e_acosl.c: Likewise.
41087 * sysdeps/i386/fpu/e_asin.S: Likewise.
41088 * sysdeps/i386/fpu/e_asinf.S: Likewise.
41089 * sysdeps/i386/fpu/e_atan2.S: Likewise.
41090 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41091 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41092 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41093 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41094 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41095 * sysdeps/i386/fpu/e_exp10.S: Likewise.
41096 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41097 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41098 * sysdeps/i386/fpu/e_exp2.S: Likewise.
41099 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41100 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41101 * sysdeps/i386/fpu/e_fmod.S: Likewise.
41102 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41103 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41104 * sysdeps/i386/fpu/e_hypot.S: Likewise.
41105 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41106 * sysdeps/i386/fpu/e_log.S: Likewise.
41107 * sysdeps/i386/fpu/e_log10.S: Likewise.
41108 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41109 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41110 * sysdeps/i386/fpu/e_log2.S: Likewise.
41111 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41112 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41113 * sysdeps/i386/fpu/e_logf.S: Likewise.
41114 * sysdeps/i386/fpu/e_logl.S: Likewise.
41115 * sysdeps/i386/fpu/e_pow.S: Likewise.
41116 * sysdeps/i386/fpu/e_powf.S: Likewise.
41117 * sysdeps/i386/fpu/e_powl.S: Likewise.
41118 * sysdeps/i386/fpu/e_remainder.S: Likewise.
41119 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41120 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41121 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41122 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41123 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41124 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41125 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41126 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41127 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41128 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41129 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41130 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41131 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41132 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41133 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41134 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41135 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41136 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41137 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41138 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41139 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41140 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41141 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41142 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41143 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41144 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41145 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41146 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41147 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41148 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41149 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41150 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41151 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41152 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41153 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41154 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41155 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41156 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41157 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41158 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41159 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41160 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41161 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41162 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41163 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41164 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41165 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41166 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41167 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41168 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41169 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41170 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41171 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41172 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41173 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41174 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41175 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41176 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41177 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41178 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41179 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41180 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41181 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41182 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41183 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41184 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41185 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41186 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41187 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41188 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41189 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41190 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41191 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41192 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41193 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41194 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41195 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41196 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41197 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41198 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41199 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41200 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41201 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41202 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41203 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41204 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41205 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41206 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41207 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41208 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41209 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41210 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41211 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41212 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41213 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41214 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41215 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41216 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41217 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41218 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41219 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41220 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41221 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41222 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41223 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41224 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41225 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41226 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41227 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41228 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41229 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41230 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41231 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41232 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41233 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41234 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41235 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41236 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41237 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
41238 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41239 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41240 (__isnanf): Likewise.
41241 (__isinf_ns): Likewise.
41242 (__isinf_nsf): Likewise.
41243 (__finite): Likewise.
41244 (__finitef): Likewise.
41245 (__ieee754_sqrt): Define as macro.
41246 (__ieee754_sqrtf): Define as macro.
41247 (__ieee754_sqrtl): Define as macro.
41248 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41249 inlined copy.
41250 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41251 __FINITE_MATH_ONLY__ consistent.
41252 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41253
12cc2fcd
AS
412542011-10-10 Andreas Schwab <schwab@linux-m68k.org>
41255
a843a204
AS
41256 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41257 of rawmemchr.
41258
12cc2fcd
AS
41259 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41260
c853acd5
UD
412612011-10-09 Ulrich Drepper <drepper@gmail.com>
41262
41263 * po/ja.po: Update from translation team.
41264
c658d255
RM
412652011-10-08 Roland McGrath <roland@hack.frob.com>
41266
110946e4
RM
41267 * locale/programs/locarchive.c (prepare_address_space): New function.
41268 (create_archive, enlarge_archive, open_archive): Use it.
41269
50604220
RM
41270 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41271 inside [SHARED], where it is used.
41272
c658d255
RM
41273 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41274
41275 * nss/getent.c (netgroup_keys): Remove unused variable.
41276 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41277
6a621eb7
UD
412782011-10-08 Ulrich Drepper <drepper@gmail.com>
41279
7edb55ce
UD
41280 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41281 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41282 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41283 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41284 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41285 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41286 * math/Makefile (libm-calls): Add s_isinf_ns.
41287 * math/divtc3.c: Use __isinf_nsl instead of isinf.
41288 * math/multc3.c: Likewise.
41289 * math/s_casin.c: Likewise.
41290 * math/s_casinf.c: Likewise.
41291 * math/s_casinl.c: Likewise.
41292 * math/s_ccos.c: Likewise.
41293 * math/s_ccosf.c: Likewise.
41294 * math/s_ccosl.c: Likewise.
41295 * math/s_ctan.c: Likewise.
41296 * math/s_ctanf.c: Likewise.
41297 * math/s_ctanh.c: Likewise.
41298 * math/s_ctanhf.c: Likewise.
41299 * math/s_ctanhl.c: Likewise.
41300 * math/s_ctanl.c: Likewise.
41301 * math/w_fmod.c: Likewise.
41302 * math/w_fmodf.c: Likewise.
41303 * math/w_fmodl.c: Likewise.
41304 * math/w_remainder.c: Likewise.
41305 * math/w_remainderf.c: Likewise.
41306 * math/w_remainderl.c: Likewise.
41307 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41308 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41309 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41310 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41311 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41312 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41313 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41314 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41315
187da0ae
UD
41316 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41317 of the number.
41318 * stdio-common/printf_fphex.c: Likewise.
41319 * stdio-common/printf_size.c: Likewise.
41320
9277c064
UD
41321 * math/e_exp10.c: Include math_private.h using <...> not "...".
41322 * math/e_exp10f.c: Likewise.
41323 * math/e_exp10l.c: Likewise.
41324 * math/e_exp2l.c: Likewise.
41325 * math/e_j0l.c: Likewise.
41326 * math/e_j1l.c: Likewise.
41327 * math/e_jnl.c: Likewise.
41328 * math/e_lgammal_r.c: Likewise.
41329 * math/e_rem_pio2l.c: Likewise.
41330 * math/e_scalb.c: Likewise.
41331 * math/e_scalbf.c: Likewise.
41332 * math/e_scalbl.c: Likewise.
41333 * math/k_cosl.c: Likewise.
41334 * math/k_sinl.c: Likewise.
41335 * math/k_tanl.c: Likewise.
41336 * math/s_cacoshf.c: Likewise.
41337 * math/s_catan.c: Likewise.
41338 * math/s_catanf.c: Likewise.
41339 * math/s_catanh.c: Likewise.
41340 * math/s_catanhf.c: Likewise.
41341 * math/s_catanhl.c: Likewise.
41342 * math/s_catanl.c: Likewise.
41343 * math/s_ccosh.c: Likewise.
41344 * math/s_ccoshf.c: Likewise.
41345 * math/s_ccoshl.c: Likewise.
41346 * math/s_cexp.c: Likewise.
41347 * math/s_cexpf.c: Likewise.
41348 * math/s_cexpl.c: Likewise.
41349 * math/s_clog.c: Likewise.
41350 * math/s_clog10.c: Likewise.
41351 * math/s_clog10f.c: Likewise.
41352 * math/s_clog10l.c: Likewise.
41353 * math/s_clogf.c: Likewise.
41354 * math/s_clogl.c: Likewise.
41355 * math/s_csin.c: Likewise.
41356 * math/s_csinf.c: Likewise.
41357 * math/s_csinh.c: Likewise.
41358 * math/s_csinhf.c: Likewise.
41359 * math/s_csinhl.c: Likewise.
41360 * math/s_csinl.c: Likewise.
41361 * math/s_csqrt.c: Likewise.
41362 * math/s_csqrtf.c: Likewise.
41363 * math/s_csqrtl.c: Likewise.
41364 * math/s_ctan.c: Likewise.
41365 * math/s_ctanf.c: Likewise.
41366 * math/s_ctanh.c: Likewise.
41367 * math/s_ctanhf.c: Likewise.
41368 * math/s_ctanhl.c: Likewise.
41369 * math/s_ctanl.c: Likewise.
41370 * math/s_ldexp.c: Likewise.
41371 * math/s_ldexpf.c: Likewise.
41372 * math/s_ldexpl.c: Likewise.
41373 * math/s_significand.c: Likewise.
41374 * math/s_significandf.c: Likewise.
41375 * math/s_significandl.c: Likewise.
41376 * math/w_acos.c: Likewise.
41377 * math/w_acosf.c: Likewise.
41378 * math/w_acosh.c: Likewise.
41379 * math/w_acoshf.c: Likewise.
41380 * math/w_acoshl.c: Likewise.
41381 * math/w_acosl.c: Likewise.
41382 * math/w_asin.c: Likewise.
41383 * math/w_asinf.c: Likewise.
41384 * math/w_asinl.c: Likewise.
41385 * math/w_atan2.c: Likewise.
41386 * math/w_atan2f.c: Likewise.
41387 * math/w_atan2l.c: Likewise.
41388 * math/w_atanh.c: Likewise.
41389 * math/w_atanhf.c: Likewise.
41390 * math/w_atanhl.c: Likewise.
41391 * math/w_cosh.c: Likewise.
41392 * math/w_coshf.c: Likewise.
41393 * math/w_coshl.c: Likewise.
41394 * math/w_dremf.c: Likewise.
41395 * math/w_exp10.c: Likewise.
41396 * math/w_exp10f.c: Likewise.
41397 * math/w_exp10l.c: Likewise.
41398 * math/w_exp2.c: Likewise.
41399 * math/w_exp2f.c: Likewise.
41400 * math/w_fmod.c: Likewise.
41401 * math/w_fmodf.c: Likewise.
41402 * math/w_fmodl.c: Likewise.
41403 * math/w_hypot.c: Likewise.
41404 * math/w_hypotf.c: Likewise.
41405 * math/w_hypotl.c: Likewise.
41406 * math/w_j0.c: Likewise.
41407 * math/w_j0f.c: Likewise.
41408 * math/w_j0l.c: Likewise.
41409 * math/w_j1.c: Likewise.
41410 * math/w_j1f.c: Likewise.
41411 * math/w_j1l.c: Likewise.
41412 * math/w_jn.c: Likewise.
41413 * math/w_jnf.c: Likewise.
41414 * math/w_jnl.c: Likewise.
41415 * math/w_lgamma.c: Likewise.
41416 * math/w_lgamma_r.c: Likewise.
41417 * math/w_lgammaf.c: Likewise.
41418 * math/w_lgammaf_r.c: Likewise.
41419 * math/w_lgammal.c: Likewise.
41420 * math/w_lgammal_r.c: Likewise.
41421 * math/w_log.c: Likewise.
41422 * math/w_log10.c: Likewise.
41423 * math/w_log10f.c: Likewise.
41424 * math/w_log10l.c: Likewise.
41425 * math/w_log2.c: Likewise.
41426 * math/w_log2f.c: Likewise.
41427 * math/w_log2l.c: Likewise.
41428 * math/w_logf.c: Likewise.
41429 * math/w_logl.c: Likewise.
41430 * math/w_pow.c: Likewise.
41431 * math/w_powf.c: Likewise.
41432 * math/w_powl.c: Likewise.
41433 * math/w_remainder.c: Likewise.
41434 * math/w_remainderf.c: Likewise.
41435 * math/w_remainderl.c: Likewise.
41436 * math/w_scalb.c: Likewise.
41437 * math/w_scalbf.c: Likewise.
41438 * math/w_scalbl.c: Likewise.
41439 * math/w_sinh.c: Likewise.
41440 * math/w_sinhf.c: Likewise.
41441 * math/w_sinhl.c: Likewise.
41442 * math/w_sqrt.c: Likewise.
41443 * math/w_sqrtf.c: Likewise.
41444 * math/w_sqrtl.c: Likewise.
41445 * math/w_tgamma.c: Likewise.
41446 * math/w_tgammaf.c: Likewise.
41447 * math/w_tgammal.c: Likewise.
41448
6a621eb7
UD
41449 * po/ja.po: Update from translation team.
41450
bf582445
AJ
414512011-09-29 Andreas Jaeger <aj@suse.de>
41452
f9efbf3a
AJ
41453 [BZ #13179]
41454 * sunrpc/netname.c (netname2host): Fix logic.
41455
bf582445
AJ
41456 [BZ #6779]
41457 [BZ #6783]
41458 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41459 correctly.
41460 * math/w_remainder.c (__remainder): Likewise.
41461 * math/w_remainderf.c (__remainderf): Likewise.
41462 * math/libm-test.inc (remainder_test): Add test cases.
41463
48693bea
AK
414642011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41465
41466 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
41467 sdiv_qrnnd.
41468
42622229
LD
414692011-10-07 Ulrich Drepper <drepper@gmail.com>
41470
41471 * string/test-memcmp.c: Avoid unncessary #defines.
41472 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41473
093ecf92
LD
414742011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41475
41476 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41477 Use new sse2 version for core i3 - i7 as it's faster
41478 than sse42 version.
41479 (bit_Prefer_PMINUB_for_stringop): New.
41480 * sysdeps/x86_64/rawmemchr.S: Update.
41481 Replace with faster SSE2 version.
41482 * sysdeps/x86_64/memrchr.S: New file.
41483 * sysdeps/x86_64/memchr.S: Update.
41484 Replace with faster SSE2 version.
41485
fde56e5c
MP
414862011-09-12 Marek Polacek <mpolacek@redhat.com>
41487
41488 * elf/dl-load.c (lose): Add cast to avoid warning.
41489
21fd49a9
UD
414902011-10-07 Ulrich Drepper <drepper@gmail.com>
41491
5a06e643
UD
41492 * po/ca.po: Update from translation team.
41493
684ae515
UD
41494 * inet/getnetgrent_r.c: Hook up nscd.
41495 * nscd/Makefile (routines): Add nscd_netgroup.
41496 (nscd-modules): Add netgroupcache.
41497 (CFLAGS-netgroupcache.c): Define.
41498 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
41499 (cache_search): Add const to second parameter.
41500 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
41501 INNETGR.
41502 (dbs): Add netgrdb entry.
41503 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
41504 (verify_persistent_db): Handle netgrdb.
41505 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
41506 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
41507 GETFDNETGR.
41508 (netgroup_response_header): Define.
41509 (innetgroup_response_header): Define.
41510 (datahead): Add netgroup_response_header and innetgroup_response_header
41511 elements.
41512 * nscd/nscd.conf: Add entries for netgroup cache.
41513 * nscd/nscd.h (dbtype): Add netgrdb.
41514 (_PATH_NSCD_NETGROUP_DB): Define.
41515 (netgroup_iov_disabled): Declare.
41516 (xmalloc, xcalloc, xrealloc): Move declarations here.
41517 (cache_search): Adjust prototype.
41518 Add netgroup-related prototypes.
41519 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
41520 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
41521 (__nscd_innetgr): Declare.
41522 * nscd/selinux.c (perms): Use access_vector_t as element type and
41523 add netgroup-related initializers.
41524 * nscd/netgroupcache.c: New file.
41525 * nscd/nscd_netgroup.c: New file.
41526 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
41527 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
41528 For four parameters use innetgr.
41529 * nss/nss_files/files-init.c: Add definition and callback for netgr.
41530 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
41531 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
41532 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
41533
21fd49a9
UD
41534 * nscd/connections.c (register_traced_file): Don't register file
41535 for disabled databases.
41536
054c0457
UD
415372011-10-06 Ulrich Drepper <drepper@gmail.com>
41538
32b63198
UD
41539 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
41540
054c0457
UD
41541 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
41542 from tree and freeing node.
41543
64031225
JO
415442011-09-25 Jiri Olsa <jolsa@redhat.com>
41545
41546 * nss/nsswitch.c (__nss_database_lookup): Handle
41547 nss_parse_service_list out of memory case.
41548
0490345c
JO
415492011-09-15 Jiri Olsa <jolsa@redhat.com>
41550
41551 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
41552 out of memory case.
41553
3a62d00d
AS
415542011-10-04 Andreas Schwab <schwab@redhat.com>
41555
41556 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
41557 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
41558 pass it down.
41559 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
41560 elf_machine_rela, elf_machine_lazy_rel.
41561 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
41562 (ELF_DYNAMIC_DO_REL): Likewise.
41563 (ELF_DYNAMIC_DO_RELA): Likewise.
41564 (ELF_DYNAMIC_RELOCATE): Likewise.
41565 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
41566 to ELF_DYNAMIC_DO_REL.
41567 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
41568 (dl_main): In trace mode always set __RTLD_NOIFUNC.
41569 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
41570 elf_machine_rela.
41571 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
41572 skip_ifunc, don't call ifunc function if non-zero.
41573 (elf_machine_rela): Likewise.
41574 (elf_machine_lazy_rel): Likewise.
41575 (elf_machine_lazy_rela): Likewise.
41576 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
41577 (elf_machine_lazy_rel): Likewise.
41578 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
41579 Likewise.
41580 (elf_machine_lazy_rel): Likewise.
41581 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41582 Likewise.
41583 (elf_machine_lazy_rel): Likewise.
41584 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
41585 (elf_machine_lazy_rel): Likewise.
41586 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
41587 (elf_machine_lazy_rel): Likewise.
41588 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41589 (elf_machine_lazy_rel): Likewise.
41590 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
41591 (elf_machine_lazy_rel): Likewise.
41592 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
41593 (elf_machine_lazy_rel): Likewise.
41594 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41595 (elf_machine_lazy_rel): Likewise.
41596
68577918
UD
415972011-09-28 Ulrich Drepper <drepper@gmail.com>
41598
41599 * nss/nss_files/files-init.c (_nss_files_init): Use static
41600 initialization for all the *_traced_file variables.
41601
68822d74
AS
416022011-09-28 Andreas Schwab <schwab@redhat.com>
41603
41604 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41605
2056100b
RM
416062011-09-27 Roland McGrath <roland@hack.frob.com>
41607
41608 [BZ #13226]
41609 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
41610
32c76b63
AS
416112011-09-27 Andreas Schwab <schwab@redhat.com>
41612
41613 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41614 Reread the line before reparsing it.
41615
bf972c9d
AS
416162011-09-26 Andreas Schwab <schwab@redhat.com>
41617
41618 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
41619
e057a1b5
JM
416202011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
41621 Maxim Kuvyrkov <maxim@codesourcery.com>
41622 Joseph Myers <joseph@codesourcery.com>
41623
41624 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
41625 if needed for __stack_chk_guard.
41626
bc7e1c36
RM
416272011-09-19 Roland McGrath <roland@hack.frob.com>
41628
ecb1482f
RM
41629 * sysdeps/posix/spawni.c (script_execute): Always define it.
41630 It will be optimized away if unused.
41631 (maybe_script_execute): New function.
41632 (__spawni): Call it.
41633
bc7e1c36
RM
41634 * Makerules: Don't include tls.make.
41635 (config-tls): Always set to thread.
41636 * tls.make.c: File removed.
41637
1c3b002b
MF
416382011-09-19 Mike Frysinger <vapier@gentoo.org>
41639
41640 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
41641 * config.make.in (CPPFLAGS-config): New substituted variable.
41642
2840865d
UD
416432011-09-15 Ulrich Drepper <drepper@gmail.com>
41644
88738eb6
UD
41645 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
41646
cbf645a6 41647 [BZ #13192]
2840865d
UD
41648 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
41649 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
41650
b402e91a
RM
416512011-09-15 Roland McGrath <roland@hack.frob.com>
41652
41653 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
41654 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
41655 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41656 (CALL_FAIL): Likewise.
41657 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
41658 (CALL_FAIL): Macro removed.
41659 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
41660
4c1a1f71
UD
416612011-09-15 Ulrich Drepper <drepper@gmail.com>
41662
41663 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
41664 for __FINITE_MATH_ONLY__ == 1.
41665
edc121be
AS
416662011-09-15 Andreas Schwab <schwab@redhat.com>
41667
41668 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
41669 __ieee754_sqrt instead of sqrt.
41670 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
41671 __ieee754_sqrtf instead of sqrtf.
41672 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
41673 __floorf instead of floorf.
41674 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
41675 __floorf, __truncf instead of floorf, truncf.
41676
cd205654
UD
416772011-09-14 Ulrich Drepper <drepper@gmail.com>
41678
ee4d0315
UD
41679 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
41680
cd205654
UD
41681 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
41682 __extern_always_inline.
41683 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
41684 32-bit.
41685
48b67d71
AS
416862011-09-14 Andreas Schwab <schwab@redhat.com>
41687
41688 * elf/rtld.c (dl_main): Also relocate in dependency order when
41689 doing symbol dependency testing.
41690
1ae12c75
AS
416912011-09-13 Andreas Schwab <schwab@linux-m68k.org>
41692
41693 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41694 Always define `refsym'.
41695
995a80df
AS
416962011-09-13 Andreas Schwab <schwab@redhat.com>
41697
e529793b
AS
41698 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
41699 (__FD_ELT): Renamed from __FDELT.
41700 * misc/bits/select2.h (__FD_ELT): Likewise.
41701 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
41702 __FD_MASK instead of __FDELT, __FDMASK.
41703 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41704 Likewise.
41705 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41706 Likewise.
41707
52d4fef8
AS
41708 * elf/Makefile (gen-ldd): Fix pattern.
41709
995a80df
AS
41710 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
41711 (init_tls): Likewise.
41712
8682f8b0
UD
417132011-09-12 Ulrich Drepper <drepper@gmail.com>
41714
41715 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
41716
de82006d
AS
417172011-09-12 Andreas Schwab <schwab@redhat.com>
41718
a7c8e6a1
AS
41719 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
41720 `struct cmsghdr *' instead of `void *'.
41721 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
41722 Likewise.
41723
0f31fe77
AS
417242011-09-11 Andreas Schwab <schwab@linux-m68k.org>
41725
41726 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
41727 if non-absolute.
41728 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
41729 ldd_rewrite_script.
0f31fe77 41730
32b4c839
UD
417312011-09-11 Ulrich Drepper <drepper@gmail.com>
41732
83cd1420
UD
41733 * configure.in: Remove --with-tls option.
41734 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
41735 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
41736 out in case it is missing.
41737 * sysdeps/ia64/elf/configure.in: Likewise.
41738 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
41739 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
41740 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
41741 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
41742 * sysdeps/sh/elf/configure.in: Likewise.
41743 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
41744 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41745 * sysdeps/x86_64/elf/configure.in: Likewise.
41746 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
41747 * sysdeps/mach/hurd/tls.h: Likewise.
41748
633f745d
UD
41749 [BZ #13067]
41750 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
41751
f318beb8
UD
41752 [BZ #13090]
41753 * configure.in: Fix use of AC_INIT.
41754
32b4c839
UD
41755 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
41756
3ce1f295
UD
417572011-09-10 Ulrich Drepper <drepper@gmail.com>
41758
bb016596
UD
41759 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
41760 __set_errno.
8e58439c
UD
41761 * malloc/hooks.c: Likewise.
41762
aebae053 41763 [BZ #11929]
02d46fc4
UD
41764 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
41765 variables statically.
41766 (narenas): Initialize.
41767 (list_lock): Initialize.
bb016596
UD
41768 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
41769 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
41770 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
41771 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
41772 Add initializers to main_arena and mp_.
41773 (malloc_state): Remove pagesize member. Change all users to use
41774 GLRO(dl_pagesize).
41775
41776 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
41777 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
41778 is always initialized.
41779
22a89187
UD
41780 * malloc/malloc.c: Removed unused configurations and dead code.
41781 * malloc/arena.c: Likewise.
41782 * malloc/hooks.c: Likewise.
02d46fc4 41783 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 41784
d063d164
UD
41785 * include/tls.h: Removed. USE___THREAD must always be defined.
41786 * bits/libc-tsd.h: Don't handle !USE___THREAD.
41787 * elf/dl-libc.c: Likewise.
41788 * elf/dl-tsd.c: Likewise.
41789 * include/errno.h: Likewise.
41790 * include/netdb.h: Likewise.
41791 * include/resolv.h: Likewise.
41792 * inet/herrno-loc.c: Likewise.
41793 * inet/herrno.c: Likewise.
41794 * malloc/arena.c: Likewise.
41795 * malloc/hooks.c: Likewise.
41796 * malloc/malloc.c: Likewise.
41797 * resolv/res-state.c: Likewise.
41798 * resolv/res_libc.c: Likewise.
41799 * sysdeps/i386/dl-machine.h: Likewise.
41800 * sysdeps/ia64/dl-machine.h: Likewise.
41801 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41802 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41803 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41804 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41805 * sysdeps/sh/dl-machine.h: Likewise.
41806 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41807 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41808 * sysdeps/unix/i386/sysdep.S: Likewise.
41809 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41810 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41811 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41812 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41813 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41814 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41815 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41816 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41817 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41818 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41819 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41820 * sysdeps/x86_64/dl-machine.h: Likewise.
41821 * tls.make.c: Likewise.
41822
3ce1f295
UD
41823 * configure.in: Remove --with-__thread option. Make tests for
41824 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
41825 tls_model attribute fail if no support is available. Remove
41826 USE_IN_LIBIO.
41827 * Makeconfig: Adjust for dropped configure option. All features are
41828 now mandatory.
41829 * Makerules: Likewise.
41830 * Versions.def: Likewise.
41831 * argp/argp-fmtstream.c: Likewise.
41832 * argp/argp-fmtstream.h: Likewise.
41833 * argp/argp-help.c: Likewise.
41834 * assert/assert.c: Likewise.
41835 * config.h.in: Likewise.
41836 * config.make.in: Likewise.
41837 * configure: Likewise.
41838 * configure.in: Likewise.
41839 * csu/Versions: Likewise.
41840 * csu/init.c: Likewise.
41841 * elf/tst-audit2.c: Likewise.
41842 * elf/tst-tls10.c: Likewise.
41843 * elf/tst-tls10.h: Likewise.
41844 * elf/tst-tls11.c: Likewise.
41845 * elf/tst-tls12.c: Likewise.
41846 * elf/tst-tls14.c: Likewise.
41847 * elf/tst-tlsmod11.c: Likewise.
41848 * elf/tst-tlsmod12.c: Likewise.
41849 * elf/tst-tlsmod13.c: Likewise.
41850 * elf/tst-tlsmod13a.c: Likewise.
41851 * elf/tst-tlsmod14a.c: Likewise.
41852 * elf/tst-tlsmod15b.c: Likewise.
41853 * elf/tst-tlsmod16a.c: Likewise.
41854 * elf/tst-tlsmod16b.c: Likewise.
41855 * elf/tst-tlsmod7.c: Likewise.
41856 * elf/tst-tlsmod8.c: Likewise.
41857 * elf/tst-tlsmod9.c: Likewise.
41858 * gmon/gmon.c: Likewise.
41859 * grp/fgetgrent_r.c: Likewise.
41860 * grp/putgrent.c: Likewise.
41861 * hurd/fopenport.c: Likewise.
41862 * include/libc-symbols.h: Likewise.
41863 * include/tls.h: Likewise.
41864 * intl/gettextP.h: Likewise.
41865 * intl/loadinfo.h: Likewise.
41866 * locale/global-locale.c: Likewise.
41867 * locale/localeinfo.h: Likewise.
41868 * mach/devstream.c: Likewise.
41869 * malloc/arena.c: Likewise.
41870 * malloc/set-freeres.c: Likewise.
41871 * misc/err.c: Likewise.
41872 * misc/getttyent.c: Likewise.
41873 * misc/mntent_r.c: Likewise.
41874 * posix/getopt.c: Likewise.
41875 * posix/wordexp.c: Likewise.
41876 * pwd/fgetpwent_r.c: Likewise.
41877 * resolv/Versions: Likewise.
41878 * resolv/res_hconf.c: Likewise.
41879 * shadow/fgetspent_r.c: Likewise.
41880 * shadow/putspent.c: Likewise.
41881 * stdio-common/printf_fphex.c: Likewise.
41882 * stdio-common/tmpfile.c: Likewise.
41883 * stdlib/abort.c: Likewise.
41884 * stdlib/fmtmsg.c: Likewise.
41885 * sunrpc/auth_unix.c: Likewise.
41886 * sunrpc/clnt_perr.c: Likewise.
41887 * sunrpc/clnt_tcp.c: Likewise.
41888 * sunrpc/clnt_udp.c: Likewise.
41889 * sunrpc/clnt_unix.c: Likewise.
41890 * sunrpc/openchild.c: Likewise.
41891 * sunrpc/svc_simple.c: Likewise.
41892 * sunrpc/svc_tcp.c: Likewise.
41893 * sunrpc/svc_udp.c: Likewise.
41894 * sunrpc/svc_unix.c: Likewise.
41895 * sunrpc/xdr.c: Likewise.
41896 * sunrpc/xdr_array.c: Likewise.
41897 * sunrpc/xdr_rec.c: Likewise.
41898 * sunrpc/xdr_ref.c: Likewise.
41899 * sunrpc/xdr_stdio.c: Likewise.
41900
1248c1c4
PB
419012011-09-09 Ulrich Drepper <drepper@gmail.com>
41902
41903 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41904
419052011-07-03 Andreas Jaeger <aj@suse.de>
41906
41907 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
41908 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
41909 regenerate with gen-libm-tests.pl.
41910
419112010-05-12 Petr Baudis <pasky@suse.cz>
41912
41913 [BZ #11589]
41914 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
41915 around j0() zero points by switching to j1().
41916 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41917 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41918 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41919 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41920
f22e1074
UD
419212011-09-09 Ulrich Drepper <drepper@gmail.com>
41922
f19009c1
UD
41923 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
41924 instead of 0.
41925 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 41926 instead of 0.
f19009c1
UD
41927 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41928 Patch in part by Pavel Roskin <proski@gnu.org>.
41929
3f8cc204
UD
41930 [BZ #13138]
41931 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
41932 realloc.
41933 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
41934 Free memory block if necessary.
41935
f22e1074
UD
41936 [BZ #12847]
41937 * libio/genops.c (INTDEF): For string streams the _lock pointer can
41938 be NULL. Don't lock in this case.
41939
0a2349f9
RM
419402011-09-09 Roland McGrath <roland@hack.frob.com>
41941
41942 * elf/elf.h (ELFOSABI_GNU): New macro.
41943 (ELFOSABI_LINUX): Define to that.
41944
f3cdd467
DZ
419452011-07-29 Denis Zaitceff <zaitceff@gmail.com>
41946
41947 * string/strncat.c (strncat): Undef the symbol in case it has been
41948 defined in bits/string.h.
41949
74718d13
UD
419502011-09-09 Ulrich Drepper <drepper@gmail.com>
41951
633e9e0f
UD
41952 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
41953
0a2349f9 41954 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
41955 link map.
41956
f9924780
AJ
419572011-08-17 Andreas Jaeger <aj@suse.de>
41958
41959 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
41960
7f5517aa
PP
419612011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
41962 Ian Lance Taylor <iant@google.com>
41963
41964 * math/libm-test.inc (lround_test): New testcase.
41965 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
41966
762011fe
UD
419672011-09-08 Ulrich Drepper <drepper@gmail.com>
41968
92963737
UD
41969 * Makefile: Remove support for automatic cvs check-ins.
41970 * Makerules: Likewise.
41971 * config.make.in: Likewise.
41972 * configure.in: Likewise.
41973 * intl/Makefile: Likewise.
41974 * locale/Makefile: Likewise.
41975 * po/Makefile: Likewise.
41976 * posix/Makefile: Likewise.
41977 * sysdeps/gnu/Makefile: Likewise.
41978 * sysdeps/mach/hurd/Makefile: Likewise.
41979 * sysdeps/sparc/sparc32/Makefile: Likewise.
41980
b0727fd8
JS
41981 [BZ #13118]
41982 * posix/Makefile (bug-regex32-ENV): Define.
41983 Patch by John Stanley <jpsinthemix@verizon.net>.
41984
a0f33f99
UD
41985 * misc/Makefile (headers): Add bits/select2.h.
41986 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
41987 * misc/bits/select2.h: New file.
41988 * include/bits/select2.h: New file.
41989 * debug/Makefile (routines): Add fdelt_chk.
41990 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
41991 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
41992 FD_ISSET.
41993 * debug/fdelt_chk.c: New file.
41994
762011fe
UD
41995 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
41996 * wcsmbs/test-wmemcmp.c: Likewise.
41997 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 41998 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
41999
420002011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42001
42002 * string/Makefile (strop-tests): Add memcmp.
42003 * string/test-wmemcmp.c: New file.
42004 * string/test-memcmp.c: Add wmemcmp support.
42005
7f513ec8
RM
420062011-09-08 Roland McGrath <roland@hack.frob.com>
42007
0442afb4
RM
42008 [BZ #13153]
42009 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42010 2011-07-19 change.
42011
7f513ec8
RM
42012 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42013 garbage value in a __mach_port_mod_refs call in the cases of the
42014 task-self and thread-self ports.
42015
a12b2239
ST
420162011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42017
42018 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42019
610f9ab4
AS
420202011-09-08 Andreas Schwab <schwab@redhat.com>
42021
7f513ec8 42022 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 42023
48882a1a
LD
420242011-09-07 Ulrich Drepper <drepper@gmail.com>
42025
b49865be
UD
42026 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42027
fdc86bc9
UD
42028 * elf/dl-libc.c (dlerror_run): Pass back error code from
42029 dl_catch_error.
42030
c966526a
UD
42031 [BZ #13123]
42032 * elf/dl-load.c (lose): Free l_origin if it is valid.
42033
48882a1a
LD
42034 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42035 names.
42036 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42037 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42038 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42039 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42040 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42041 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42042
77a2a8b4
AZ
420432011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42044
42045 * sysdeps/powerpc/fpu/e_hypot.c: New file.
42046 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42047 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42048 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42049 * sysdeps/powerpc/fpu/k_cosf.c: New file.
42050 * sysdeps/powerpc/fpu/k_sinf.c: New file.
42051 * sysdeps/powerpc/fpu/s_cosf.c: New file.
42052 * sysdeps/powerpc/fpu/s_sinf.c: New file.
42053 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42054 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42055
24f579d8
AM
420562011-08-15 Alan Modra <amodra@gmail.com>
42057
42058 [BZ #13092]
42059 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42060 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42061 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
42062 ppc_mcount to static-only-routines.
42063 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42064 __mcount_internal.
42065 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42066 __mcount_internal with usual JUMPTARGET. Remove useless nop.
42067
3d4837df
UD
420682011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
42069
42070 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42071 for finite and infinity parameters.
42072
22700377
WS
420732011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42074
42075 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42076 and add nop instructions for throughput optimization.
42077 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42078
5025581e
WS
420792011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
42080
42081 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42082 aligned copy for power7 with vector-scalar instructions.
42083 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42084
08a300c9
L
420852011-07-24 H.J. Lu <hongjiu.lu@intel.com>
42086
42087 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42088 AVX check.
42089
59178ef9
AS
420902011-09-07 Andreas Schwab <schwab@redhat.com>
42091
42092 [BZ #13144]
42093 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42094 last change.
42095
e38ba7ab
UD
420962011-09-07 Ulrich Drepper <drepper@gmail.com>
42097
42098 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42099 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42100 syscall wrapper around clock_gettime in __vdso_clock_gettime.
42101 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42102 clock_gettime.
42103
d53a73ac
UD
421042011-09-06 Ulrich Drepper <drepper@gmail.com>
42105
fc8bffcc
UD
42106 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42107 Forgot to demangle the pointer.
42108
ceaa0c5d
UD
42109 * sysdeps/i386/sysdep.h: Define atom_text_section.
42110 * sysdeps/x86_64/sysdep.h: Likewise.
42111 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42112 section with atom_text_section.
42113 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42114 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42115 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42116 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42117 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42118
a77d3c17
UD
42119 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42120 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42121 already be defined. Change to take two parameters and don't assign
42122 result to variable. Adjust all users.
42123 Define INTERNAL_GETTIME if not already defined.
42124 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42125 call.
42126 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42127 HAVE_CLOCK_GETTIME_VSYSCALL.
42128 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42129
d53a73ac
UD
42130 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42131 gettimeofday vsyscall, just use time.
42132
a8f84144
AS
421332011-09-06 Andreas Schwab <schwab@redhat.com>
42134
42135 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42136 <errno.h>.
42137
ef606249
UD
421382011-09-06 Ulrich Drepper <drepper@gmail.com>
42139
42140 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42141 syscall on x86-64.
42142 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42143 syscall.
42144 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42145 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42146 syscall if possible.
42147
6585cb60
UD
421482011-09-05 Ulrich Drepper <drepper@gmail.com>
42149
42150 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42151 e_ident. Don't pass to find_mapsXX.
42152 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42153
a5f524e4
LD
421542011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42155
42156 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42157 strchr-sse2-no-bsf strrchr-sse2-no-bsf
42158 * sysdeps/x86_64/multiarch/strchr.S: Update.
42159 Check bit_slow_BSF bit.
42160 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42161 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42162 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42163
554881ef
UD
421642011-09-05 Ulrich Drepper <drepper@gmail.com>
42165
d96de963
UD
42166 [BZ #13134]
42167 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42168 before glibc 2.15.
42169 (tryshell): Define.
42170 (__spawni): Change last parameter to be flag. Test
42171 SPAWN_XFLAGS_USE_PATH flag to use path or not.
42172 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42173 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42174 * posix/spawni.c: Likewise.
42175 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42176 * posix/spawnp.c: Likewise. Change normal version to use
42177 SPAWN_XFLAGS_USE_PATH.
42178 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42179 SPAWN_XFLAGS_TRY_SHELL.
42180
d48e5868
UD
42181 [BZ #13150]
42182 * posix/glob.h: Remove gcc 1.x support.
42183
554881ef
UD
42184 [BZ #13068]
42185 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42186
693fb948
LD
421872011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42188
42189 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42190 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42191 strrchr-sse2-bsf
42192 * sysdeps/i386/i686/multiarch/strchr.S: New file.
42193 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42194 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42195 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42196 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42197 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42198
1b48c537
UD
421992011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42200
49d42c37
UD
42201 * sysdeps/x86_64/wcscmp.S: New file.
42202
1b48c537
UD
42203 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42204 wcscmp-c wcscmp-sse2
42205 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42206 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42207 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42208 * wcsmbs/wcscmp.c: Allow renaming.
42209
15c95c5d
DM
422102011-09-05 David S. Miller <davem@davemloft.net>
42211
42212 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42213 stack slot, rather than the struct return pointer slot.
42214 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42215 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42217 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42218
2f0ad8f3
UD
422192011-09-05 Ulrich Drepper <drepper@gmail.com>
42220
d88ae418
UD
42221 * po/ja.po: Update from translation team.
42222
2f0ad8f3
UD
42223 [BZ #13144]
42224 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42225 kernel in 64-bit binaries.
42226
5f4318d1
DM
422272011-09-01 David S. Miller <davem@davemloft.net>
42228
42229 * elf/elf.h (HWCAP_SPARC_*): Move to..
42230 * sysdeps/sparc/sysdep.h: this new file and add new values.
42231 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42232 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42233 _DL_HWCAP_COUNT to 24.
42234 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42235 entries.
42236 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42237 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42238 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42239 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42240 instead of magic constants.
42241 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42242
3ba57516
DM
422432011-08-31 David S. Miller <davem@davemloft.net>
42244
42245 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42246 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42247 Reimplement to do errno handling inline.
42248 (SYSCALL_ERROR_HANDLER): New macro.
42249 (__SYSCALL_STRING): Do not do errno handling in asm.
42250 (__CLONE_SYSCALL_STRING): Delete.
42251 (__INTERNAL_SYSCALL_STRING): Delete.
42252 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42253 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42254 (PSEUDO): Reimplement to do errno handling inline.
42255 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42256 (SYSCALL_ERROR_HANDLER): New macro.
42257 (__SYSCALL_STRING): Do not do errno handling in asm.
42258 (__CLONE_SYSCALL_STRING): Delete.
42259 (__INTERNAL_SYSCALL_STRING): Delete.
42260 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42261 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42262 i386.
42263 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42264 (inline_syscall*): Add 'err' argument.
42265 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42266 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42267 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42268 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42269
42270 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42271 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42272
2bc17433
AS
422732011-08-30 Andreas Schwab <schwab@redhat.com>
42274
42275 * elf/rtld.c (dl_main): Relocate objects in dependency order.
42276
fbeb5f4d
JO
422772011-08-29 Jiri Olsa <jolsa@redhat.com>
42278
42279 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42280 directive.
42281
ad69cc26
DM
422822011-08-24 David S. Miller <davem@davemloft.net>
42283
42284 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42285
39dd69df
AS
422862011-08-24 Andreas Schwab <schwab@redhat.com>
42287
42288 * elf/Makefile: Add rules to build and run unload8 test.
42289 * elf/unload8.c: New file.
42290 * elf/unload8mod1.c: New file.
42291 * elf/unload8mod1x.c: New file.
42292 * elf/unload8mod2.c: New file.
42293 * elf/unload8mod3.c: New file.
42294
42295 * elf/dl-close.c (_dl_close_worker): Reset private search list if
42296 it wasn't used.
42297
2c0b250a
DM
422982011-08-23 David S. Miller <davem@davemloft.net>
42299
42300 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42301 subtract stack bias.
42302 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42303 %sp not %fp in calculations.
42304 (_JMPBUF_UNWINDS_ADJ): Likewise.
42305
22044b48
DM
42306 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42307 (aio_suspend): Call it to force an exception region around the
42308 AIO_MISC_WAIT() invocation.
42309
2cae4995
AS
423102011-08-23 Andreas Schwab <schwab@redhat.com>
42311
42312 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42313 backslash.
42314
873a772e
AJ
423152011-07-04 Aurelien Jarno <aurelien@aurel32.net>
42316
42317 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42318 protection macro.
42319 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42320 and <dl-machine.h>.
42321 (Elf64_FuncDesc): Remove.
42322
25ad0df1
DM
423232011-08-22 David S. Miller <davem@davemloft.net>
42324
42325 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42326 sigaltstack check, add missing cfi directives.
42327 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42328 missing cfi directives, and sigaltstack handling.
42329
e888bcbe
AS
423302011-08-16 Andreas Schwab <schwab@redhat.com>
42331
42332 [BZ #11724]
42333 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42334 object is seen twice.
42335 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42336
42337 * elf/Makefile (distribute): Add tst-initorder2.c.
42338 (tests): Add tst-initorder2.
42339 (modules-names): Add tst-initorder2a tst-initorder2b
42340 tst-initorder2c tst-initorder2d. Add rules to build them.
42341 ($(objpfx)tst-initorder2.out): New rule.
42342 * elf/tst-initorder2.c: New file.
42343 * elf/tst-initorder2.exp: New file.
42344
87162f46
AS
423452011-08-22 Andreas Schwab <schwab@redhat.com>
42346
70538b7f
AS
42347 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42348
f55ffe58
AS
42349 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42350 dependencies back to end of function.
42351
87162f46
AS
42352 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42353 $(elfobjdir)/ld.so.
42354
91b392a4
UD
423552011-08-21 Ulrich Drepper <drepper@gmail.com>
42356
42357 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42358 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42359 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42360 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42361 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42362 of __vdso_gettimeofday.
42363 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42364 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
42365 attribute_hidden.
42366 (_libc_vdso_platform_setup): Remove initialization of
42367 __vdso_gettimeofday and __vdso_time.
42368
5c43483f
UD
423692011-08-20 Ulrich Drepper <drepper@gmail.com>
42370
775a77e7
UD
42371 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42372 and fgetc_unlocked.
42373 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42374 getc_unlocked.
89f447ed 42375
49c74ba9
UD
42376 * elf/dl-open.c (add_to_global): Report additions to the global scope
42377 for LD_DEBUG=scopes.
42378 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 42379 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 42380
5c43483f
UD
42381 [BZ #13114]
42382 * stdio-common/Makefile (tests): Add bug24.
42383 * stdio-common/bug24.c: New file.
42384
a101b025
AJ
423852011-08-19 Andreas Jaeger <aj@suse.de>
42386
42387 [BZ #13114]
42388 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42389 non-existant file when using close-on-exec mode.
42390
c88f1766
UD
423912011-08-20 Ulrich Drepper <drepper@gmail.com>
42392
0276a718
UD
42393 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42394 the very first instruction.
42395
c88f1766
UD
42396 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42397 the CFI state in the end.
42398 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42399 inclusion of dl-trampoline.h.
42400 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42401
51ccffa0
AS
424022011-08-19 Andreas Schwab <schwab@redhat.com>
42403
94d7165f
AS
42404 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42405 expectations for long double.
42406
51ccffa0
AS
42407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42408 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42409
fd708658 424102011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
42411
42412 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42413 artificual limit depends upon the system page size.
42414
44f0a71e
UD
424152011-08-17 Ulrich Drepper <drepper@gmail.com>
42416
42417 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42418 * resolv/Makefile: Define CFLAGS-libresolv.
42419
8de79a24
AS
424202011-08-17 Andreas Schwab <schwab@redhat.com>
42421
42422 * nss/makedb.c (compute_tables): Make variables used in nested
42423 function static.
42424
27724598
UD
424252011-08-17 Ulrich Drepper <drepper@gmail.com>
42426
c5305d88
UD
42427 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42428 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42429 if buffer was too small.
42430
27724598
UD
42431 * elf/pldd.c (main): Attach to all threads in the process.
42432 Rewrite /proc handling to use *at functions.
42433
076fe015
UD
424342011-08-16 Ulrich Drepper <drepper@gmail.com>
42435
174baab3
UD
42436 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42437 specifies first scope to show.
42438 (dl_open_worker): Update callers. Move printing scope of new
42439 object to before the relocation.
44f0a71e 42440 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
42441 * sysdeps/generic/ldsodefs.h: Update declaration.
42442
076fe015
UD
42443 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42444 string for the scope number.
42445
a60df2c3
UD
424462011-08-14 Ulrich Drepper <drepper@gmail.com>
42447
42448 * nscd/servicescache.c (cache_addserv): Make sure written is always
42449 initialized.
42450
5e4287d1
RM
424512011-08-14 Roland McGrath <roland@hack.frob.com>
42452
85ae0589
RM
42453 * sysdeps/i386/i486/bits/atomic.h
42454 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42455 statement expression, so as to suppress "set but not used" warning.
42456 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42457
69f63097
RM
42458 * string/strncat.c (STRNCAT): Use prototype definition.
42459
675456ef
RM
42460 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42461 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42462 -Iprograms here.
42463 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42464 (localedef-modules): Add localedef.
42465 (locale-modules): Add locale.
42466
5e4287d1
RM
42467 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42468 * elf/rtld.c (dl_main): Invert order of assignment in last change,
42469 to avoid a warning.
42470
9c96ff23
DM
424712011-08-14 David S. Miller <davem@davemloft.net>
42472
42473 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42474 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42475
f9ddf089
UD
424762011-08-13 Ulrich Drepper <drepper@gmail.com>
42477
44f0a71e 42478 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
42479 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42480 * elf/rtld.c (dl_main): Set l_name of vDSO.
42481 Call _dl_show_scope when DL_DEBUG_SCOPES.
42482 (process_dl_debug): Recognize scopes flag and also set it for all.
42483 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42484 Declare _dl_show_scope.
42485
1dc27704
UD
42486 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42487 (do_dlopen): Pass caller_dlopen to dl_open.
42488 (__libc_dlopen_mode): Initialize caller_dlopen.
42489
f9ddf089
UD
42490 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
42491 of libc. Make tolower call locale-independent. Optimize a bit by
42492 using isdigit instead of isalnum.
42493 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
42494
9ac533d3
UD
424952011-08-12 Ulrich Drepper <drepper@gmail.com>
42496
42497 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
42498 was a dependency or dynamically loaded.
42499
89edf2e9
UD
425002011-08-11 Ulrich Drepper <drepper@gmail.com>
42501
8e999d29
UD
42502 * intl/l10nflist.c: Allow architecture-specific pop function.
42503 * sysdeps/x86_64/l10nflist.c: New file.
42504
89edf2e9
UD
42505 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
42506 classification.
42507
14d96785
AS
425082011-08-10 Andreas Schwab <schwab@redhat.com>
42509
42510 * include/dirent.h: Add libc_hidden_proto for scandirat and
42511 scandirat64. Don't declare __scandirat64.
42512 * dirent/scandirat.c: Add libc_hidden_def.
42513 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
42514 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
42515
6761ac04
DM
425162011-08-10 David S. Miller <davem@davemloft.net>
42517
42518 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
42519 enum.
42520 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42521 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42522 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42523
c55fbd1e
UD
425242011-08-09 Ulrich Drepper <drepper@gmail.com>
42525
42526 * Versions.def [libc]: Add GLIBC_2.15.
42527 * dirent/Makefile (routines): Add scandirat and scandirat64.
42528 * dirent/Versions [libc]: Export scandirat and scandirat64 for
42529 GLIBC_2.15.
42530 * dirent/dirent.h: Declare scandirat and scandirat64.
42531 * dirent/scandirat.c: New file.
42532 * dirent/scandirat64.c: New file.
42533 * sysdeps/wordsize-64/scandirat.c: New file.
42534 * sysdeps/wordsize-64/scandirat64.c: New file.
42535 * dirent/opendir.c: Define opendirat.
42536 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
42537 using scandirat.
42538 * dirent/scandir64.c: Adjust for scandir.c change.
42539 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
42540 __scandirat64, and __scandir_cancel_handler.
42541 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
42542 additional parameter and use openat instead of open (outside of ld.so).
42543 Add new __opendir as wrapper around __opendirat.
42544 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
42545 here without requiring old scandirat implementation.
42546
879165f2
UD
425472011-08-08 Ulrich Drepper <drepper@gmail.com>
42548
42549 * dirent/scandir.c (cancel_handler): Renamed to
42550 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
42551 defined. Adjust users.
42552 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
42553 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
42554
cb7e923b
UD
425552011-08-04 Ulrich Drepper <drepper@gmail.com>
42556
16292edd
UD
42557 * string/test-string.h (IMPL): Use __STRING to expand name and then
42558 stringify it.
42559
cb7e923b
UD
42560 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
42561 of cleanups.
42562
cff82933
LD
425632011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42564
42565 * string/Makefile: Update.
42566 (strop-tests): Append strncat.
42567 * string/test-wcscmp.c: New file.
42568 New comprehensive test for wcscmp.
42569 * string/test-strcmp.c: Update.
42570 (WIDE): New define.
42571
9be9bfcc
AS
425722011-07-22 Andreas Schwab <schwab@redhat.com>
42573
42574 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
42575 line.
42576
2e96f1c7
AS
425772011-07-26 Andreas Schwab <schwab@redhat.com>
42578
42579 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42580 encoding to ACE if AI_IDN.
42581
85188888
JJ
425822011-08-01 Jakub Jelinek <jakub@redhat.com>
42583
42584 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
42585 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
42586
5fa16e9b
LD
425872011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42588
42589 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
42590 Fix overflow bug in strncat.
42591 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42592
42593 * string/test-strncat.c: Update.
42594 Add new tests for checking overflow bugs.
42595
425962011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42597
42598 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42599 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
42600 * sysdeps/i386/i686/multiarch/strcat.S: New file.
42601 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
42602 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
42603 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
42604 * sysdeps/i386/i686/multiarch/strncat.S: New file.
42605 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
42606 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
42607
42608 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
42609 (USE_AS_STRCAT): Define.
42610 Add strcat and strncat support.
42611 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42612
8c1a459f
AS
426132011-07-25 Andreas Schwab <schwab@redhat.com>
42614
42615 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
42616 __n bigger than INT_MAX+1.
42617 (__strncmp_g): Likewise.
42618
bba33c28
UD
426192011-07-23 Ulrich Drepper <drepper@gmail.com>
42620
798be72d
UD
42621 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
42622 * libio/stido.h: Likewise.
42623
8accd4dc
UD
42624 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
42625 (AF_NFC): Define.
42626 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
42627 (AF_NFC): Define.
42628
cbff0d96
UD
42629 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
42630 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42631 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42632 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
42633 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42634
9191c04a
UD
42635 [BZ #13021]
42636 * scripts/test-installation.pl: Don't expect libnss_test1 to be
42637 installed.
42638
bba33c28
UD
42639 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
42640 typo.
42641 (_dl_x86_64_save_sse): Likewise.
42642
90f139dd
UD
426432011-07-22 Ulrich Drepper <drepper@gmail.com>
42644
1aae088a
UD
42645 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
42646 OSXSAVE.
42647 (_dl_x86_64_save_sse): Likewise.
42648
8e2045f5
UD
42649 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
42650
90f139dd
UD
42651 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
42652
1d002f25
AS
426532011-07-21 Andreas Schwab <schwab@redhat.com>
42654
42655 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
42656 change.
42657 (_dl_x86_64_save_sse): Use correct AVX check.
42658
21137f89
UD
426592011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42660
42661 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
42662 bug in strncpy/strncat.
42663 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42664
a65c0b7a
UD
426652011-07-21 Ulrich Drepper <drepper@gmail.com>
42666
42667 * string/tester.c (test_strcat): Add tests for different alignments
42668 of source and destination.
42669 (test_strncat): Likewise.
42670
6986b98a
UD
426712011-07-20 Ulrich Drepper <drepper@gmail.com>
42672
90bb2039
UD
42673 [BZ #12852]
42674 * posix/glob.c (glob): Check passed in values before using them in
42675 expressions to avoid some overflows.
42676 (glob_in_dir): Likewise.
42677
5644ef54
UD
42678 [BZ #13007]
42679 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
42680 check for AVX enablement so that we don't crash with old kernels and
42681 new hardware.
42682 * elf/tst-audit4.c: Add same checks here.
42683 * elf/tst-audit6.c: Likewise.
42684
42685 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 42686
bfc9dc9b
AS
426872011-07-09 Andreas Schwab <schwab@linux-m68k.org>
42688
42689 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
42690
702e64bb
UD
426912011-07-20 Ulrich Drepper <drepper@gmail.com>
42692
42693 * po/cs.po: Update from translation team.
42694 * po/bg.po: Likewise.
42695
295e904f
MP
426962011-07-12 Marek Polacek <mpolacek@redhat.com>
42697
42698 * misc/sys/cdefs.h: Add support for const attribute.
42699 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
42700 to gnu_dev_{major,minor,makedev} functions.
42701
3ff94596
MP
427022011-07-20 Marek Polacek <mpolacek@redhat.com>
42703
42704 * intl/dcigettext.c (get_output_charset): Add missing bracket.
42705
28b59fca
AS
427062011-07-20 Andreas Schwab <schwab@redhat.com>
42707
42708 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
42709 strlen results.
42710
19df733e
AK
427112011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42712
42713 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
42714 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
42715 register in order to avoid conflicts with the soft frame pointer
42716 being held in r11 when necessary.
42717 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
42718 (INTERNAL_VSYSCALL_NCS): Likewise.
42719
c8835729
MP
427202011-07-14 Marek Polacek <mpolacek@redhat.com>
42721
42722 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
42723 * elf/dl-fini.c (_dl_fini): Adjust caller.
42724 * elf/dl-close.c (_dl_close_worker): Likewise.
42725 * sysdeps/generic/ldsodefs.h: Adjust declaration.
42726
b902330c
MP
427272011-07-15 Marek Polacek <mpolacek@redhat.com>
42728
8991e135
MP
42729 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
42730 "aux_cache->nlibs < 0".
42731
b902330c
MP
42732 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
42733 in the reload-count case.
42734
99710781
LD
427352011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42736
42737 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42738 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
42739 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
42740 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
42741 * sysdeps/x86_64/multiarch/strcat.S: New file.
42742 * sysdeps/x86_64/multiarch/strncat.S: New file.
42743 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
42744 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
42745 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
42746 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
42747 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
42748 (USE_AS_STRCAT): Define.
42749 Add strcat and strncat support.
42750 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42751 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42752 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
42753 * string/strncat.c: Update.
42754 (USE_AS_STRNCAT): Define.
42755 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42756 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
42757 and i7.
42758 * sysdeps/x86_64/multiarch/init-arch.h
42759 (bit_Prefer_PMINUB_for_stringop): New.
42760 (index_Prefer_PMINUB_for_stringop): Likewise.
42761 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
42762 bit_Prefer_PMINUB_for_stringop.
42763
7dc6bd90
UD
427642011-07-19 Ulrich Drepper <drepper@gmail.com>
42765
42766 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
42767 buffer64.
42768 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
42769 of casting of buffer.
42770 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
42771 buffer32 and buffer64.
42772 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
42773 writes instead of casting of buffer.
42774 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
42775 buffer32.
42776 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
42777 casting of buffer.
42778
e0e72284
AS
427792011-07-19 Andreas Schwab <schwab@redhat.com>
42780
42781 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
42782
feb1eb0b
UD
427832011-07-19 Ulrich Drepper <drepper@gmail.com>
42784
42785 * nscd/nscd.c (termination_handler): Don't do anything for a database
42786 if it has not yet been initialized.
42787
298711ff
UD
427882011-07-18 Ulrich Drepper <drepper@gmail.com>
42789
42790 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42791
427922011-07-15 Marek Polacek <mpolacek@redhat.com>
42793
42794 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42795
f9d68389
UD
427962011-07-18 Ulrich Drepper <drepper@gmail.com>
42797
42798 * po/nl.po: Update from translation team.
42799 * po/sv.po: Likewise.
42800
db290cf5
RM
428012011-07-16 Roland McGrath <roland@hack.frob.com>
42802
42803 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
42804 now disallowed by GCC.
5c550700 42805
fd5e21c7
RM
42806 * configure.in (use-default-link): Default to yes if a test -shared
42807 link meets our qualifications.
42808 * configure: Regenerated.
42809
5c550700
RM
42810 * config.make.in (output-format): New variable.
42811 * configure.in: Check for ld --print-output-format support.
42812 * configure: Regenerated.
42813 * Makerules ($(common-objpfx)format.lds)
42814 [$(output-format) != unknown]: Just use $(output-format),
42815 instead of the linker-script munging.
42816
9fa2c032
RM
428172011-07-14 Roland McGrath <roland@hack.frob.com>
42818
a6928d51
RM
42819 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
42820 of $(common-objpfx)shlib.lds.
42821 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
42822
661607b3
RM
42823 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
42824 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
42825
9fa2c032
RM
42826 * configure.in (-z relro check): Adjust test code to add a large
42827 writable data section after it.
42828 * configure: Regenerated.
42829
defe9061
RM
428302011-07-11 Roland McGrath <roland@hack.frob.com>
42831
42832 * configure.in (-z relro check): Fix test code to make the variable
42833 truly const.
42834 * configure: Regenerated.
42835
319b9ad4
UD
428362011-07-11 Ulrich Drepper <drepper@gmail.com>
42837
42838 * nscd/nscd.h (struct traced_file): Define.
42839 (struct database_dyn): Remove inotify_descr, reset_res, and filename
42840 elements. Add traced_files.
42841 (inotify_fd): Declare.
42842 (register_traced_file): Declare.
42843 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
42844 (inotify_fd): Export.
42845 (resolv_conf_descr): Remove.
42846 (nscd_init): Move inotify descriptor creation to main.
42847 Don't register files for notification here.
42848 (register_traced_file): New function.
42849 (invalidate_cache): Don't use reset_res to determine whether to call
42850 res_init, go through the list of registered files.
42851 (main_loop_poll): The inotify descriptors are now stored in the
42852 structures for the traced files.
42853 (main_loop_epoll): Likewise
42854 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
42855 to __nss_disable_nscd.
42856 * nscd/cache.c (prune_cache): There is no single inotify descriptor
42857 for a database anymore. Check the records for all the registered
42858 files instead.
42859 * nss/Makefile (libnss_files-routines): Add files-init.
42860 (libnss_db-routines): Add db-init.
42861 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
42862 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
42863 * nss/nss_db/db-init.c: New file.
42864 * nss/nss_files/files-init.c: New file.
42865 * nss/nsswitch.c (nss_load_library): New function. Broken out of
42866 __nss_lookup_function.
42867 (__nss_lookup_function): Call nss_load_library.
42868 (nss_load_all_libraries): New function.
42869 (__nss_disable_nscd): Take parameter with callback function for files
42870 to register. Set is_nscd. Load all the DSOs for the NSS modules
42871 used for the cached services.
42872 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
42873 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
42874 options for features to all the files in nscd.
42875
42876 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
42877
23bee3e8
RM
428782011-07-10 Roland McGrath <roland@hack.frob.com>
42879
42880 * csu/elf-init.c (__libc_csu_init): Comment typo.
42881
46a5b7f0
UD
428822011-07-09 Ulrich Drepper <drepper@gmail.com>
42883
42884 * po/pl.po: Update from translation team.
42885 * po/ja.po: Likewise.
42886 * po/ru.po: Likewise.
42887 * po/ko.po: Likewise.
42888 * po/fr.po: Likewise.
42889
d30cf5bb
RM
428902011-07-09 Roland McGrath <roland@hack.frob.com>
42891
113ddea4
RM
42892 * configure.in (.ctors/.dtors header and trailer check):
42893 Use an empirical test on a built program.
42894 * configure: Regenerated.
42895
574920b4
RM
42896 * configure.in (-z relro check): Use an empirical test on a built DSO.
42897 Detect, but do not require, on ia64.
42898 * configure: Regenerated.
42899
d30cf5bb
RM
42900 * configure.in (READELF): Find it with AC_CHECK_TOOL.
42901 Update tests that use readelf to use $READELF instead.
42902 * configure: Regenerated.
42903
8538fdb3
UD
429042011-07-08 Ulrich Drepper <drepper@gmail.com>
42905
42906 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
42907 if the result is not used.
42908
04d08991
AJ
429092011-07-05 Andreas Jaeger <aj@suse.de>
42910
42911 [BZ#9696]
42912 * stdlib/tst-strtod.c: Add testcase.
42913
de283087
AD
429142011-07-07 Ulrich Drepper <drepper@gmail.com>
42915
4e5f31c8 42916 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 42917 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
42918 The latter has a higher limit. Take additional parameter to pass to
42919 the new function.
42920 (__pathconf): Pass file to __statfs_link_max.
42921 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
42922 __statfs_link_max.
42923 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
42924 __statfs_link_max.
42925
de283087
AD
42926 [BZ #12868]
42927 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
42928 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42929 Handle Lustre.
42930 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
42931 (__statfs_filesize_max): Likewise.
42932 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
42933
c75fa153
AJ
429342011-07-05 Andreas Jaeger <aj@suse.de>
42935
42936 * resolv/res_comp.c (dn_skipname): Remove unused variable.
42937
1a544854
UD
429382011-07-06 Marek Polacek <mpolacek@redhat.com>
42939
42940 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
42941 `status' variable.
42942 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
42943 Likewise.
42944
6f0eec67
UD
429452011-07-04 H.J. Lu <hongjiu.lu@intel.com>
42946
42947 * Makefile (strop-tests): Add strncat.
42948 * string/test-strncat.c: New file.
42949
aae30307
UD
429502011-06-30 Marek Polacek <mpolacek@redhat.com>
42951
42952 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
42953
c0cfb5eb
UD
429542011-06-21 Andreas Jaeger <aj@suse.de>
42955
42956 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
42957 Copy rule from iconvdata/Makefile.
42958
01636b21
UD
429592011-07-06 Ulrich Drepper <drepper@gmail.com>
42960
42961 [BZ #12922]
42962 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
42963 but no long options are defined, just return 'W'.
42964
9895c8bc
UD
429652011-06-22 Marek Polacek <mpolacek@redhat.com>
42966
42967 [BZ #9696]
42968 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
42969
5d4cf042
UD
429702011-07-06 Ulrich Drepper <drepper@gmail.com>
42971
42972 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
42973 netgroups to read.
960e5535 42974 (innetgr): Likewise.
5d4cf042 42975
751eb97e
RM
429762011-07-05 Roland McGrath <roland@hack.frob.com>
42977
42978 * config.make.in (install_root): Default to $(DESTDIR).
42979
f15f1e45
UD
429802011-07-05 Ulrich Drepper <drepper@gmail.com>
42981
42982 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
42983
4e34ac6a
RM
429842011-07-02 Roland McGrath <roland@hack.frob.com>
42985
5e9b6af4
RM
42986 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
42987
84f9ea0f
RM
42988 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
42989 containing directory rather than embedding absolute directory names.
42990
ea5ee9f7
RM
42991 * scripts/check-local-headers.sh: Rewritten using awk.
42992 Match by word, not by line. Print error messages for matches.
42993 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
42994
1b74661a
RM
42995 * Makerules [shlib-lds-flags empty]:
42996 ($(common-objpfx)libc_pic.opts): New target.
42997 ($(common-objpfx)libc_pic.os.clean): New target.
42998 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
42999
43000 * config.make.in (OBJCOPY): New variable.
43001 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43002 * configure: Regenerated.
43003
f781ef40
RM
43004 * config.make.in (use-default-link): New variable.
43005 * configure.in (use_default_link): Grok --with-default-link to set it.
43006 * configure: Regenerated.
43007 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43008 (shlib-lds, shlib-lds-flags): Define to empty.
43009
2d4fa81e
RM
43010 * Makerules (shlib-lds): New variable.
43011 (shlib-lds-flags): New variable.
43012 (build-shlib, build-moduile, build-module-asneeded): Use it.
43013 ($(common-objpfx)libc.so): Use $(shlib-lds).
43014 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43015 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43016
31fffa6b
RM
43017 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43018 DT_FLAGS/DT_FLAGS_1 with zero flags.
43019
4e34ac6a
RM
43020 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43021 linker script munging.
43022
fcfc776b
UD
430232011-07-02 Ulrich Drepper <drepper@gmail.com>
43024
43025 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43026 as 128-bit value.
43027 * crypt/sha512.c (sha512_process_block): Perform total addition using
43028 128-bit if possible.
43029 (__sha512_finish_ctx): Likewise.
43030 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43031 as 64-bit value.
43032 * crypt/sha256.c (SWAP64): Define.
43033 (sha256_process_block): Perform total addition using 64-bit if
43034 possible.
43035 (__sha256_finish_ctx): Likewise.
43036
99231d9a
UD
430372011-07-01 Ulrich Drepper <drepper@gmail.com>
43038
43039 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
43040 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43041 * nscd/hstcache.c (cache_addhst): Likewise.
43042 * nscd/grpcache.c (cache_addgr): Likewise.
43043 * nscd/aicache.c (addhstaiX): Likewise
43044 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43045
445b4a53
TK
430462011-07-01 Thorsten Kukuk <kukuk@suse.de>
43047
43048 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43049 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43050 * nscd/hstcache.c (cache_addhst): Likewise.
43051 * nscd/grpcache.c (cache_addgr): Likewise.
43052 * nscd/aicache.c (addhstaiX): Likewise
43053
6d4d8e8e
AS
430542011-07-01 Andreas Schwab <schwab@redhat.com>
43055
43056 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43057 domain only when needed.
43058
89f654c5
AS
430592011-06-30 Andreas Schwab <schwab@redhat.com>
43060
43061 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43062 is always restored.
43063
cf3b23ff
UD
430642011-06-29 Ulrich Drepper <drepper@gmail.com>
43065
43066 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43067 are re-adding the entry.
43068 * nscd/servicescache.c (cache_addserv): Likewise.
43069
751626f9
AJ
430702011-06-30 Aurelien Jarno <aurelien@aurel32.net>
43071
43072 * sysdeps/generic/dl-irel.h: fix protection against multiple
43073 inclusions.
43074 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43075
9113ea1f
UD
430762011-06-28 Ulrich Drepper <drepper@gmail.com>
43077
5c0b8d90
UD
43078 [BZ #12935]
43079 * malloc/memusage.sh: Fix quoting in message.
43080 * debug/xtrace.sh: Likewise.
43081
9113ea1f
UD
43082 * configure.in: Remove support for --experimental-malloc option, make
43083 it the default.
43084 * config.make.in: Likewise.
43085 * malloc/Makefile: Likewise.
43086
a4172181
AS
430872011-06-27 Andreas Schwab <schwab@redhat.com>
43088
43089 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43090 two-byte characters.
43091
78a7eee7
RM
430922011-06-27 Roland McGrath <roland@hack.frob.com>
43093
62bede13
RM
43094 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43095 AC_CACHE_CHECK invocation.
43096 * configure: Regenerated.
43097
78a7eee7
RM
43098 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43099
5ce33a62
UD
431002011-06-27 Ulrich Drepper <drepper@gmail.com>
43101
034807a9
UD
43102 [BZ #12350]
43103 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
43104 bit from old_res_options.
43105
4902da17
UD
43106 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43107
5ce33a62
UD
43108 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43109 value type for setfct.
43110
c2344f56
L
431112011-06-23 H.J. Lu <hongjiu.lu@intel.com>
43112
43113 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43114 __gettimeofday instead of gettimeofday.
43115
68468076
UD
431162011-06-26 Ulrich Drepper <drepper@gmail.com>
43117
43118 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43119
acb0d739
L
431202011-06-24 H.J. Lu <hongjiu.lu@intel.com>
43121
43122 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43123
43124 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43125 info.
43126
8912479f
L
431272011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43128
43129 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43130 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43131 strcpy-sse2-unaligned strncpy-sse2-unaligned
43132 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43133 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43134 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43135 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43136 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43137 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43138 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43139 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43140 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43141 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43142 (STRCPY): Support SSE2 and SSSE3 versions.
43143
d5495a11
UD
431442011-06-24 Ulrich Drepper <drepper@gmail.com>
43145
43146 [BZ #12874]
43147 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43148 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43149 kernels which artificially limit size of requests.
43150
0b1cbaae
L
431512011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43152
43153 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43154 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43155 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43156 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43157 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43158 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43159 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43160 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43161 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43162 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43163 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43164 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43165 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43166 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43167 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43168 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43169 Enable unaligned load optimization for Intel Core i3, i5 and i7
43170 processors.
43171 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43172 Define.
43173 (index_Fast_Unaligned_Load): Define.
43174 (HAS_FAST_UNALIGNED_LOAD): Define.
43175
07f494a0
MP
431762011-06-23 Marek Polacek <mpolacek@redhat.com>
43177
43178 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43179
fa3fc0fe
UD
431802011-06-22 Ulrich Drepper <drepper@gmail.com>
43181
43182 [BZ #12907]
43183 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43184 until it is clear that the information is realy needed.
43185 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43186
e12df166
AS
431872011-06-22 Andreas Schwab <schwab@redhat.com>
43188
43189 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43190
852eb34d
UD
431912011-06-22 Ulrich Drepper <drepper@gmail.com>
43192
84e2a551
UD
43193 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43194 /sys/devices/system/cpu/online if it is usable.
43195
852eb34d
UD
43196 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43197 reading the information from the /proc filesystem to once a second.
43198
6e502e19
UD
431992011-06-21 Andreas Jaeger <aj@suse.de>
43200
43201 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43202 NULL after inclusion of kernel headers.
43203
75d39ff2
UD
432042011-06-21 Ulrich Drepper <drepper@gmail.com>
43205
51f9aa6a
UD
43206 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43207 calls to internal_setent.
43208
c0244a9d
UD
43209 [BZ #12885]
43210 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43211 addresses using gethostbyname4_r ignore IPv4 addresses.
43212
c5e3c2ae
UD
43213 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43214 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
43215
75d39ff2
UD
43216 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43217
42675c6f
DM
432182011-06-20 David S. Miller <davem@davemloft.net>
43219
43220 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43221 inclusions.
43222 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43223
43224 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43225 (elf_irel): Use it.
43226 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43227 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43228 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43229 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43230 * sysdeps/x86_64/dl-irel.h: Likewise.
43231
43232 * elf/dl-runtime.c: Use elf_ifunc_invoke.
43233 * elf/dl-sym.c: Likewise.
43234
57912a71
UD
432352011-06-15 Ulrich Drepper <drepper@gmail.com>
43236
43237 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
43238 need to dereference resplen2.
43239
ee22793d
AS
432402011-06-14 Andreas Schwab <schwab@redhat.com>
43241
43242 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43243
a9e836b0
UD
432442011-06-15 Ulrich Drepper <drepper@gmail.com>
43245
77fb9117
UD
43246 * Makeconfig: Define vardbdir and inst_vardbdir.
43247 * nss/Makefile: Add rules to install db-Makefile.
43248
40c1b22c
UD
43249 * nss/nss_db/db-XXX.c: Cleanup.
43250
9f2da732
UD
43251 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43252 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43253 GLIBC_PRIVATE.
43254 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43255 * nss/makedb.c: Implement -g option to specify that value strings
43256 are generated and should not be added to table iterated over for
43257 get*ent calls.
43258 * nss/nss_db/db-initgroups.c: New file.
43259
82e9a1f7
UD
43260 * nss/getent.c: Add support for initgroups lookups through getgrouplist
43261 interface.
43262
c41af17e
UD
43263 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43264 (internal_getgrouplist): Adjust to name change.
43265 Update use_initgroups_entry if this is not the first call.
43266 * nss/databases.def: Add initgroups entry.
43267
a9e836b0
UD
43268 * nss/makedb.c (compute_tables): Check result of multiple hash table
43269 sizes to minimize maximum chain length.
43270
2666d441
UD
432712011-06-14 Ulrich Drepper <drepper@gmail.com>
43272
43273 * Versions.def: Add entry for libnss_db.
43274 * shlib-versions: Likewise.
43275 * nss/Makefile: Add rules to build libnss_db.
43276 * nss/Versions: Add libnss_db information. Organize libnss_files
43277 entries better.
43278 * nss/db-Makefile: Add gshadow support. Change rules for the new
43279 makedb progra. Some minor improvements to generate smaller files.
43280 * nss/nss_db/nss_db.h: Move NSS database header data structures to
43281 here from...
43282 * nss/makedb.c: ...here.
43283 Improve database format to be smaller and require less memory at
43284 runtime.
43285 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
43286 db anymore.
43287 * nss/nss_db/db-netgrp.c: Likewise.
43288 * nss/nss_db/db-open.c: Likewise.
43289 * nss/nss_files/flies-XXX.x: Adjust comments.
43290 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43291 * nss/nss_files/files-grp.c: Likewise.
43292 * nss/nss_files/files-hosts.c: Likewise.
43293 * nss/nss_files/files-network.c: Likewise.
43294 * nss/nss_files/files-proto.c: Likewise.
43295 * nss/nss_files/files-pwd.c: Likewise.
43296 * nss/nss_files/files-rpc.c: Likewise.
43297 * nss/nss_files/files-service.c: Likewise.
43298 * nss/nss_files/files-sgrp.c: Likewise.
43299 * nss/nss_files/files-spwd.c: Likewise.
43300 * nss/nss_db/db-alias.c: Removed.
43301 * nss/nss_db/dummy-db.h: Removed.
43302
9ee76b5a
UD
433032011-06-02 Ulrich Drepper <drepper@gmail.com>
43304
43305 * nss/makedb.c: Rewritten to not use database library.
43306 * nss/Makefile: Update to build new makedb program.
43307
c71ca1f8
AJ
433082011-06-14 Andreas Jaeger <aj@suse.de>
43309
43310 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43311 memset declaration.
43312
3154bfb8
UD
433132011-06-10 Andreas Schwab <schwab@redhat.com>
43314
43315 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43316 tmpbuf.
43317
b350afab
RM
433182011-06-10 Roland McGrath <roland@hack.frob.com>
43319
decd4e50
RM
43320 * Makerules (shlib.lds): Fail if the linker script comes out empty.
43321 * elf/Makefile ($(objpfx)ld.so): Likewise.
43322
5615eaf2
RM
43323 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43324 Don't list ld.so twice in dependencies.
43325
43326 * posix/bug-regex31.c: Include <stdlib.h>.
43327
43328 * nscd/hstcache.c (cache_addhst): Remove unused variable.
43329
43330 * nis/nss_compat/compat-spwd.c
43331 (getspent_next_nss_netgr): Remove unused variable.
43332 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43333
43334 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43335 nonmembers" output to use the right array.
43336
43337 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43338
43339 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43340
43341 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43342 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43343 * catgets/gencat.c (read_input_file): Likewise.
43344 * locale/programs/locarchive.c (enlarge_archive): Likewise.
43345
43346 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43347 variable definition inside #if's controlling its use.
43348
43349 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43350
43351 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43352
43353 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43354
43355 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43356 unreachable code.
43357
43358 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43359
b68e08db
RM
43360 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43361 * configure: Regenerated.
43362
b350afab
RM
43363 * Makerules: Revert last change.
43364 * elf/Makefile: Likewise.
43365
28368601
RM
433662011-06-09 Roland McGrath <roland@hack.frob.com>
43367
43368 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43369 * elf/Makefile ($(objpfx)librtld.os): Likewise.
43370 (reloc-link): Likewise.
43371
11988f8f
UD
433722011-06-09 Ulrich Drepper <drepper@gmail.com>
43373
43374 * elf/Makefile: Add rules to build pldd.
43375 * elf/pldd.c: New file.
43376 * elf/pldd-xx.c: New file.
43377
e80fab37
UD
433782011-06-07 Ulrich Drepper <drepper@gmail.com>
43379
43380 * version.h: Update for 2.15 development version.
43381
9b849836
DM
433822011-06-07 David S. Miller <davem@davemloft.net>
43383
43384 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43385 ifuncs.
43386 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43387 elf_machine_lazy_rel): Likewise.
43388 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43389 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43390 elf_machine_lazy_rel): Likewise.
43391 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43392 dl_hwcap via passed in argument.
43393 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43394 Likewise.
43395
5a31b283
AK
433962011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43397
43398 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
43399
069e52f8
RM
434002011-06-06 Roland McGrath <roland@hack.frob.com>
43401
43402 [BZ #12849]
43403 * manual/fdl-1.1.texi: New file, verbatim from:
43404 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43405 * manual/lgpl-2.1.texi: New file, verbatim from:
43406 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43407 * manual/Makefile (licenses): New variable, list those new file names.
43408 (texis): Use it.
43409 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43410
43411 * manual/fdl.texi: File removed.
43412 * manual/lesser.texi: File removed.
43413 * manual/libc.texinfo (Copying, Documentation License):
43414 Use new @include file names, put @appendix directive before @include.
43415
f16846a5
JJ
434162011-06-04 Jakub Jelinek <jakub@redhat.com>
43417
43418 [BZ #12841]
43419 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43420 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43421 (mq_open): Add __NTH.
43422
3d29045b
L
434232011-06-02 H.J. Lu <hongjiu.lu@intel.com>
43424
43425 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43426 Assume Intel Core i3/i5/i7 processor if AVX is available.
43427
8c297311
UD
434282011-05-31 Ulrich Drepper <drepper@gmail.com>
43429
43430 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43431 typo.
43432
c8fc0c91
UD
434332011-05-31 Andreas Schwab <schwab@redhat.com>
43434
43435 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43436 memory. Use alloca_account. Fix memory leak when retrying.
43437
5b27a807
UD
434382011-05-31 Ulrich Drepper <drepper@gmail.com>
43439
356f8bc6
UD
43440 * version.h (RELEASE): Bump for 2.14 release.
43441 * include/features.h (__GLIBC_MINOR__): Bump to 14.
43442
5b27a807
UD
43443 * config.make.in (RANLIB): Remove entry.
43444
01f16ab0
UD
434452011-05-30 Ulrich Drepper <drepper@gmail.com>
43446
41fce8bd
UD
43447 * po/Makefile (po-sed-cmd): Add ksh to extensions.
43448 (libc.pot): Work around missing support for .ksh extension in xgettext.
43449
4769ae77
UD
43450 [BZ #12684]
43451 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43452 if both request failed.
43453 (send_dg): In case of server errors clear resplen or *resplen2.
43454
6b1e7d19
UD
43455 [BZ #12454]
43456 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43457 when there are multiple maps.
43458 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43459 (_dl_fini): Remove test here.
43460
01f16ab0
UD
43461 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43462
b1ebd700
UD
434632011-05-29 Ulrich Drepper <drepper@gmail.com>
43464
7ae22829
UD
43465 [BZ #12350]
43466 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43467 bit from old_res_options.
43468 (gaih_inet): Likewise.
43469
553149f6 43470 [BZ #11099]
18a84741 43471 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
43472 as signed.
43473
652ffab1
UD
43474 * resolv/res_init.c (res_setoptions): Make the code more compact.
43475
16985fd0
UD
43476 [BZ #11558]
43477 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43478 set RES_USEVC.
43479
0464f746
UD
43480 [BZ #11634]
43481 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43482
7d17596c
UD
43483 * malloc/malloc.h: Mark malloc hook variables as deprecated.
43484
cf6bbbd7
UD
43485 [BZ #11781]
43486 * malloc/malloc.h: Declare malloc hook variables as volatile.
43487
13f1ab36
UD
43488 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43489 in last patch.
43490
b1ebd700
UD
43491 [BZ #11799]
43492 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 43493 raise in the comment.
80e2212d
UD
43494 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43495 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43496 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 43497
ce67228d
UD
434982011-05-28 Ulrich Drepper <drepper@gmail.com>
43499
8887a920
UD
43500 [BZ #12811]
43501 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
43502 grow the buffers more if it already has to be sufficient.
43503 (build_wcs_upper_buffer): Likewise.
43504 * posix/regexec.c (check_matching): Likewise.
43505 (clean_state_log_if_needed): Likewise.
43506 (extend_buffers): Don't enlarge buffers beyond size of the input
43507 buffer.
43508 Patches mostly by Emil Wojak <emil@wojak.eu>.
43509 * posix/bug-regex32.c: New file.
43510 * posix/Makefile (tests): Add bug-regex32.
43511
4f031072
UD
43512 * locale/findlocale.c (_nl_find_locale): Return right away if
43513 _nl_explode_name failed.
43514 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
43515
d0478f0c
UD
43516 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
43517
de81b246
UD
43518 * debug/xtrace.sh: Unify messages.
43519 * malloc/memusage.sh: Likewise.
43520
c738465a
UD
43521 [BZ #12813]
43522 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
43523 time symbol from vDSO. Substitute with vsyscall if not available.
43524 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
43525 __vdso_time.
43526
f1f929d7
UD
43527 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
43528 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
43529 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
43530 Add sendmmsg and internal_sendmmsg.
43531 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
43532 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
43533 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
43534
ce67228d
UD
43535 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
43536 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
43537 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
43538
e57420c6
UD
435392011-05-27 Ulrich Drepper <drepper@gmail.com>
43540
a8509ca5
UD
43541 [BZ #12813]
43542 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
43543 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
43544 available.
43545 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
43546 __vdso_getcpu.
43547
e57420c6
UD
43548 [BZ #12814]
43549 * iconvdata/Makefile (tests): Add bug-iconv9.
43550 * iconvdata/bug-iconv9.c: New file.
43551
4d07db15
AS
435522011-05-27 Andreas Schwab <schwab@redhat.com>
43553
43554 [BZ #12814]
43555 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
43556
ea486f69
JJ
435572011-05-25 Jakub Jelinek <jakub@redhat.com>
43558
43559 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43560 (struct user_regs_struct): Change intcs field back to cs.
43561
6f038433
UD
435622011-05-25 Ulrich Drepper <drepper@gmail.com>
43563
43564 * po/ja.po: Update from translation team.
43565
67f86a25
UD
435662011-05-23 Ulrich Drepper <drepper@gmail.com>
43567
43568 [BZ #12795]
43569 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
43570 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
43571
def7fbd6
AS
435722011-05-20 Andreas Schwab <schwab@redhat.com>
43573
43574 * stdlib/longlong.h: Update from GCC.
43575
f50ef8f1
AS
435762011-05-23 Andreas Schwab <schwab@redhat.com>
43577
43578 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
43579 parameter name.
43580 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
43581 Add parameter name.
43582 (__sysconf): Pass it down.
43583
de7ce8f1
UD
435842011-05-22 Ulrich Drepper <drepper@gmail.com>
43585
f2962a71
UD
43586 [BZ #12671]
43587 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
43588 some situations.
43589 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43590 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
43591 add in in __libc_use_alloca calls. Adjust callers.
43592 (glob): Use malloc in some situations.
43593
de7ce8f1
UD
43594 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
43595 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
43596 pltexit.
43597
aec84f53
UD
435982011-05-21 Ulrich Drepper <drepper@gmail.com>
43599
05bb4a68
UD
43600 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
43601 and CLOCK_BOOTTIME_ALARM.
43602
7ea72f99
UD
43603 [BZ #12782]
43604 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
43605 is returned.
43606
7e4afad5
UD
43607 * string/_strerror.c (__strerror_r): Print negative errors as signed
43608 numbers.
43609
8e211fec
UD
43610 [BZ #12777]
43611 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
43612 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
43613 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
43614
f7d82dc9
UD
43615 * configure.in: Fix typo in redirection and correct removal of test
43616 files in two cases.
43617
cc9e536d
UD
43618 [BZ #12788]
43619 * locale/setlocale.c (new_composite_name): Fix test to check for
43620 identical name of all categories.
43621
aec84f53
UD
43622 [BZ #12792]
43623 * libio/filedoalloc.c (local_isatty): New function.
43624 (_IO_file_doallocate): Use local_isatty.
43625 * stdio-common/perror.c (perror): In case a new stream is used
43626 forward the stream error.
43627 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
43628 error flag.
43629
78e64fdc
RT
436302011-05-20 Ulrich Drepper <drepper@gmail.com>
43631
34a9094f
UD
43632 [BZ #11869]
43633 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
43634 alloca.
43635 * include/alloca.h (extend_alloca_account): Define.
43636
78e64fdc
RT
43637 [BZ #11857]
43638 * posix/regex.h: Fix comments with documentation of user-accessible
43639 fields after compilation and describe correct free'ing of pattern
43640 after re_compile_pattern.
43641 Patch by Reuben Thomas <rrt@sc3d.org>.
43642
457bddfc
RA
436432011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
43644
43645 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
43646 and -mno-altivec to prevent the compiler from using Altivec and/or
43647 VSX instructions when the corresponding registers are not available.
43648
a4527b51
AS
436492011-05-19 Andreas Schwab <schwab@redhat.com>
43650
43651 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
43652
ed690b2f
UD
436532011-05-19 Ulrich Drepper <drepper@gmail.com>
43654
43655 * libio/freopen.c (freopen): Use __dup2, not dup2.
43656 * libio/freopen64.c (freopen64): Likewise.
43657
8db73634
L
436582011-05-17 H.J. Lu <hongjiu.lu@intel.com>
43659
43660 [BZ #12775]
43661 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
43662 * math/Makefile (tests): Add test-powl.
43663 (CFLAGS-test-powl.c): Define.
43664 * math/test-powl.c: New file.
43665
0a197a9d
L
436662011-05-16 H.J. Lu <hongjiu.lu@intel.com>
43667
43668 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
43669
ee30c380
UD
436702011-05-17 Ulrich Drepper <drepper@gmail.com>
43671
43672 [BZ #11837]
43673 * iconvdata/gb18030.c: Update to GB18020-2005.
43674
6ce75379
UD
436752011-05-16 Ulrich Drepper <drepper@gmail.com>
43676
a4b89fd8
AR
43677 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
43678 RE_SYNTAX_POSIX_AWK): Update to match recent development.
43679 Patch by Aharon Robbins <arnold@skeeve.com>.
43680
ea389b12
UD
43681 [BZ #11892]
43682 * stdlib/putenv.c (putenv): Don't always create copy of the variable
43683 on the stack.
43684
68a3f91f
UD
43685 [BZ #11895]
43686 * misc/pselect.c (__pselect): Handle timeout value errors hidden
43687 through underflows.
43688
15cc7dd1
UD
43689 [BZ #12766]
43690 * misc/error.c (error_at_line): Ensure file_name and old_file_name
43691 point to strings before performing equality test for error_one_per_line
43692 mode.
43693
f3799213
UD
43694 [BZ #11697]
43695 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
43696
d79a9c94
UD
43697 [BZ #11820]
43698 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43699 (struct user_fpregs_struct): Avoid __uint*_t types.
43700
56e5eb46
UD
43701 [BZ #6420]
43702 * malloc/mtrace.c (tr_where): Add additional parameter to point to
43703 symbol info. Use it instead of calling _dl_addr locally.
43704 (lock_and_info): New function.
43705 (tr_freehook): Call lock_and_info and pass symbol info as additional
43706 parameter to tr_where.
43707 (tr_mallochook): Likewise.
43708 (tr_reallochook): Likewise.
43709 (tr_memalignhook): Likewise.
43710
6ce75379
UD
43711 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
43712 used and couldn't be at all thread-safe.
43713
f8a3b5bf
UD
437142011-05-15 Ulrich Drepper <drepper@gmail.com>
43715
94b7cc37
UD
43716 * libio/freopen.c (freopen): Don't close old file descriptor
43717 before the new one is opened. Instead dup the new file descriptor
43718 to the old one after the new stream is created.
43719 * libio/freopen64.c (freopen64): Likewise.
43720 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
43721 * libio/fileops.c (_IO_new_file_close_it): Handle new
43722 _IO_FLAGS2_NOCLOSE flag.
43723 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
43724 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
43725 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
43726 _IO_FLAGS2_NOCLOSE flag.
43727 * include/unistd.h: Add hidden_proto for dup3.
43728 Define __have_dup3.
43729 * io/dup3.c: Define hidden symbol.
43730 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
43731
bd25564e
UD
43732 [BZ #7101]
43733 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
43734 when an incomplete long option is used.
43735 * posix/tst-getopt_long1.c: New file.
43736 * posix/Makefile (tests): Add tst-getopt_long1.
43737
c84cfef4
UD
43738 [BZ #10138]
43739 * scripts/config.guess: Update from autoconf-2.68.
43740 * scripts/config.sub: Likewise.
43741
3b85df27
UD
43742 [BZ #10157]
43743 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
43744 tests into ...
43745 (has_cpuclock): ...this. New function.
43746 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
43747 macro here based on has_cpuclock code.
43748
15a856b1
UD
43749 [BZ #10149]
43750 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43751 First byte (not low byte) is now always NUL.
43752 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
43753
05f399e6
UD
43754 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43755 Use non-cancelable interfaces.
43756
10a52685 43757 [BZ #9809]
94ecc67d
UD
43758 * locale/iso-639.def: Add entry for Sorani.
43759
f8a3b5bf
UD
43760 [BZ #11901]
43761 * include/stdlib.h: Move include protection to the right place.
43762 Define abort_msg_s. Declare __abort_msg with it.
43763 * stdlib/abort.c (__abort_msg): Adjust type.
43764 * assert/assert.c (__assert_fail_base): New function. Majority
43765 of code from __assert_fail. Allocate memory for __abort_msg with
43766 mmap.
43767 (__assert_fail): Now call __assert_fail_base.
43768 * assert/assert-perr.c: Remove bulk of implementation. Use
43769 __assert_fail_base.
43770 * include/assert.hL Declare __assert_fail_base.
43771 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
43772 mmap.
43773 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
43774
1af4e298
UD
437752011-05-14 Ulrich Drepper <drepper@gmail.com>
43776
f8a3b5bf 43777 [BZ #11952]
d26dfc60
MG
43778 [BZ #12453]
43779 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
43780 until all modules are registered in the DTV.
43781 * elf/Makefile: Add rules to build and run tst-tls19.
43782 * elf/tst-tls19.c: New file.
43783 * elf/tst-tls19mod1.c: New file.
43784 * elf/tst-tls19mod2.c: New file.
43785 * elf/tst-tls19mod3.c: New file.
43786 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
43787
2fc54d6f
UD
43788 [BZ #12083]
43789 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
43790 correctly.
43791
98d76b46
UD
43792 [BZ #12601]
43793 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
43794 two-byte sequence errors.
43795 * iconvdata/Makefile (tests): Add bug-iconv8.
43796 * iconvdata/bug-iconv8.c: New file.
43797
da3c19ef
UD
43798 [BZ #12626]
43799 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
43800 buf2 definition.
43801
ca408c15
UD
43802 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
43803
d6f67f7d
UD
43804 [BZ #12432]
43805 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
43806 (dummy_getcfa): New function.
43807 (init): Get _Unwind_GetCFA address, use dummy if not found.
43808 (backtrace_helper): In recursion check, also check whether CFA changes.
43809 (__backtrace): Completely initialize arg.
43810
1af4e298 43811 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
43812 storing incomplete byte sequence in state object. Avoid testing for
43813 guaranteed too small input if we know there is enough data available.
1af4e298 43814
da62f81b
AS
438152011-05-11 Andreas Schwab <schwab@redhat.com>
43816
43817 * Makeconfig (+link-pie): Indent.
43818 * Rules (binaries-pie): Define if $(have-fpie) and
43819 $(build-shared).
43820 (binaries-shared): Also filter out $(binaries-pie).
43821 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
43822 * nscd/Makefile (others-pie): Add nscd.
43823 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
43824 ($(objpfx)nscd): Remove command override.
43825 * login/Makefile (others-pie): Add pt_chown.
43826 ($(objpfx)pt_chown): Remove command override.
43827 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
43828 remove command overrides.
43829
fcabc0f8
UD
438302011-05-13 Ulrich Drepper <drepper@gmail.com>
43831
20030ae6
UD
43832 * libio/tst_putwc.c: Fix error messages.
43833
fcabc0f8
UD
43834 [BZ #12724]
43835 * libio/fileops.c (_IO_new_file_close_it): Always flush when
43836 currently writing and seek to current position when not.
43837 * libio/Makefile (tests): Add bug-fclose1.
43838 * libio/bug-fclose1.c: New file.
43839
320a5dc0
PB
438402011-05-12 Ulrich Drepper <drepper@gmail.com>
43841
43842 [BZ #12511]
43843 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
43844 don't set DF_1_NODELETE here.
43845 (do_lookup_x): When entering new entry test for copy relocation
43846 and if necessary set DF_1_NODELETE flag.
43847 * elf/tst-unique4.cc: New file.
43848 * elf/tst-unique4.h: New file.
43849 * elf/tst-unique4lib.cc: New file.
43850 * elf/Makefile: Add rules to build and run tst-unique4.
43851 Patch by Piotr Bury <pbury@goahead.com>.
43852
22836f52
UD
438532011-05-11 Ulrich Drepper <drepper@gmail.com>
43854
f574184a
UD
43855 [BZ #12052]
43856 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
43857
e1fb097f
UD
43858 [BZ #12625]
43859 * misc/mntent_r.c (addmntent): Flush the stream after the output
43860
22836f52
UD
43861 [BZ #12393]
43862 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
43863 (is_trusted_path_normalize): Skip initial colon. Append slash
43864 to empty buffer. Duplicate is_trusted_path code but allow
43865 constructed patch to be prefix.
43866 (is_dst): Allow $ORIGIN followed by /.
43867 (_dl_dst_substitute): Correct clearing of check_for_trusted.
43868 Correct testing of result of is_trusted_path_normalize
43869 (decompose_rpath): Fix warning.
43870
7b3b0b2a
UD
438712011-05-10 Ulrich Drepper <drepper@gmail.com>
43872
43873 [BZ #11257]
43874 * grp/initgroups.c (internal_getgrouplist): When we found the service
43875 list through the initgroups entry in nsswitch.conf do not always
43876 continue on a successful lookup. Don't always use the
eac80ce2 43877 __nss_group_database value if it is set.
7b3b0b2a
UD
43878 * nss/nsswitch.conf (initgroups): Change action for successful db
43879 lookup to continue for compatibility.
43880
2a81eaa5
UD
438812011-05-09 Ulrich Drepper <drepper@gmail.com>
43882
be97a69e
UD
43883 [BZ #11532]
43884 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
43885 and CP774 modules.
43886 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
43887 and CP774 modules.
43888 * iconvdata/tst-tables.sh: Likewise.
43889 * iconvdata/cp770.c: New file.
43890 * iconvdata/cp771.c: New file.
43891 * iconvdata/cp772.c: New file.
43892 * iconvdata/cp773.c: New file.
43893 * iconvdata/cp774.c: New file.
43894 * iconvdata/testdata/CP770: New file.
43895 * iconvdata/testdata/CP770..UTF8: New file.
43896 * iconvdata/testdata/CP771: New file.
43897 * iconvdata/testdata/CP771..UTF8: New file.
43898 * iconvdata/testdata/CP772: New file.
43899 * iconvdata/testdata/CP772..UTF8: New file.
43900 * iconvdata/testdata/CP773: New file.
43901 * iconvdata/testdata/CP773..UTF8: New file.
43902 * iconvdata/testdata/CP774: New file.
43903 * iconvdata/testdata/CP774..UTF8: New file.
43904
43905 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
43906 END CHARMAP line.
43907 * iconvdata/gen-8bit-gap.sh: Likewise.
43908 * iconvdata/gen-8bit.sh: Likewise.
43909
c1e9e399
UD
43910 * locale/iso-639.def: Add ary entry.
43911
24c55fb3 43912 [BZ #11258]
96b4b1b0
UD
43913 * locale/C-translit.h.in: Add U20A1 transliteration.
43914
bdc2f971
KB
43915 [BZ #12178]
43916 * locale/iso-639.def: Add wae entry.
43917 Patch by Kevin Bortis <bortis@translate-wae.ch>.
43918
2952b117
UD
43919 [BZ #12545]
43920 * locale/programs/localedef.c (construct_output_path): Use ssize_t
43921 for n.
43922
2a81eaa5
UD
43923 [BZ #12711]
43924 * locale/C-translit.h.in: Add entry for U20B9.
43925 Patch by pravin.d.s@gmail.com.
43926
28377d1b
UD
439272011-05-08 Ulrich Drepper <drepper@gmail.com>
43928
7fb90fb8
UD
43929 [BZ #12713]
43930 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
43931 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
43932 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
43933 in rtld. Use *stat64.
7fb90fb8 43934 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 43935 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 43936 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
43937 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
43938 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
43939 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
43940 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
43941 __fstatat64 macros.
7fb90fb8
UD
43942 * include/dirent.h: Add libc_hidden_proto for rewinddir.
43943 * dirent/rewinddir.c: Add libc_hidden_def.
43944 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 43945 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 43946
28377d1b
UD
43947 * include/dirent.h (__alloc_dir): Add flags parameter.
43948 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
43949 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
43950 __alloc_dir.
43951 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
43952 from fdopendir if O_CLOEXEC is already set.
43953
66bdbaa4
AM
439542011-03-15 Alan Modra <amodra@gmail.com>
43955
43956 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
43957 l_tls_firstbyte_offset non-zero. Save padding offset in
43958 l_tls_firstbyte_offset for later use.
43959 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
43960 freeing static tls block.
43961
95721191
JN
439622011-03-05 Jonathan Nieder <jrnieder@gmail.com>
43963
43964 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
43965 where #ifdef was intended. The intent is to prevent ARG_MAX from
43966 being defined by the kernel headers.
43967
f87dfb1f
UD
439682011-05-07 Ulrich Drepper <drepper@gmail.com>
43969
43970 [BZ #12734]
43971 * resolv/resolv.h: Define RES_NOTLDQUERY.
43972 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
43973 no-tld-query and set RES_NOTLDQUERY.
43974 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
43975 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
43976 modern BIND to search name as TLD unless forbidden.
43977
47c3cd7a
UD
439782011-05-07 Petr Baudis <pasky@suse.cz>
43979 Ulrich Drepper <drepper@gmail.com>
43980
43981 [BZ #12393]
43982 * elf/dl-load.c (fillin_rpath): Move trusted path check...
43983 (is_trusted_path): ...to here.
c1e9ea35 43984 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 43985 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 43986 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 43987
8a35c912
PP
439882011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
43989
43990 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
43991 __BEGIN/__END_DECLS.
43992
acd41f47
UD
439932011-05-06 Ulrich Drepper <drepper@gmail.com>
43994
43995 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
43996 NSS_STATUS_NOTFOUND if no record was found.
43997
597df647
AS
439982011-05-05 Andreas Schwab <schwab@redhat.com>
43999
44000 * sunrpc/Makefile (headers): Add rpc/netdb.h.
44001 (headers-not-in-tirpc): Remove rpc/netdb.h
44002 * resolv/netdb.h: Revert last change.
44003
b9af1301
PP
440042011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44005
44006 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44007 circular dependency between libgcc.a and libc.a.
44008
4e34d5f5
AS
440092011-05-05 Andreas Schwab <schwab@redhat.com>
44010
44011 * resolv/netdb.h: Don't include <rpc/netdb.h>.
44012 * nis/Makefile: Don't install rpcsvc/*.
44013 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44014 instead of <rpc/types.h>.
44015 (MAXHOSTNAMELEN): Define.
44016
00ee369c
AS
440172011-05-03 Andreas Schwab <schwab@redhat.com>
44018
44019 * elf/ldconfig.c (add_dir): Don't crash on empty path.
44020
0b592a30
MB
440212011-04-28 Maciej Babinski <mbabinski@google.com>
44022
44023 [BZ #12714]
44024 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44025 gethostbyname4_r when IPv6 results are possible.
44026
6e04cbbe
UD
440272011-05-02 Ulrich Drepper <drepper@gmail.com>
44028
44029 [BZ #12723]
44030 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44031 _PC_PIPE_BUF handling.
44032
e4ecafe0
BH
440332011-04-30 Bruno Haible <bruno@clisp.org>
44034
44035 [BZ #12717]
44036 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44037 * resolv/netdb.h (getnameinfo): Change type of flags parameter
44038 to 'int'.
44039 * inet/getnameinfo.c (getnameinfo): Likewise.
44040
125ee683
UD
440412011-04-29 Ulrich Drepper <drepper@gmail.com>
44042
44043 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44044 to groups setting in database lookup.
44045 * nss/nsswitch.conf: Add initgroups entry.
44046
b722481a
EB
440472011-04-22 Ulrich Drepper <drepper@gmail.com>
44048
44049 [BZ #12685]
44050 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44051 mode string.
44052 Patch by Eric Blake <eblake@redhat.com>.
44053
4df46dbd
L
440542011-04-20 H.J. Lu <hongjiu.lu@intel.com>
44055
44056 * sunrpc/Makefile (need-export-routines): Add svc_run.
44057 (routines): Remove svc_run.
44058 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44059 * sunrpc/clnt_perr.c (clnt_perrno): Export.
44060 * sunrpc/svc_run.c (svc_run): Likewise.
44061 * sunrpc/svc_udp.c (svcudp_create): Likewise.
44062
e84142d2
UD
440632011-04-21 Ulrich Drepper <drepper@gmail.com>
44064
44065 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44066 problem in reallocation in last patch.
44067
877175d8
UD
440682011-04-20 Ulrich Drepper <drepper@gmail.com>
44069
44070 * sunrpc/Makefile: Move inclusion of Rules.
44071
ab8eed78
UD
440722011-04-19 Ulrich Drepper <drepper@gmail.com>
44073
44074 * nss/nss_files/files-initgroups.c: New file.
44075 * nss/Makefile (libnss_files-routines): Add files-initgroups.
44076 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44077 _nss_files_initgroups_dyn.
44078
e3d8f584
RS
440792011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
44080
44081 * elf/elf.h (R_ARM_IRELATIVE): Define.
44082
af190f45
UD
440832011-04-19 Ulrich Drepper <drepper@gmail.com>
44084
44085 * po/ru.po: Update from translation team.
44086
53cf59ef
UD
440872011-04-17 Ulrich Drepper <drepper@gmail.com>
44088
44089 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44090 dependencies.
44091
4c559bcd
MF
440922011-02-06 Mike Frysinger <vapier@gentoo.org>
44093
44094 [BZ #12653]
44095 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44096 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44097 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44098 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44099 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44100
4420675c
AS
441012011-03-28 Andreas Schwab <schwab@linux-m68k.org>
44102
44103 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44104 differing bytes.
44105 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44106 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44107 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44108
75ea32ab
UD
441092011-04-17 Ulrich Drepper <drepper@gmail.com>
44110
44111 [BZ #12420]
44112 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44113 storing it.
44114 * stdlib/bug-getcontext.c: New file.
44115 * stdlib/Makefile: Add rules to build and run bug-getcontext.
44116
27390476
AK
441172011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44118
44119 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44120 instructions into .machine "z9-109".
44121 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44122 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44123
10442705
AK
441242011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44125
44126 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44127 between environment variables and auxiliary vector.
44128
7b57bfe5
UD
441292011-04-16 Ulrich Drepper <drepper@gmail.com>
44130
44131 * Makefile: Add rules to build linkobj/libc.so.
44132 * include/libc-symbols.h: Define libc_hidden_nolink.
44133 * include/rpc/auth.h: Mark functions which are to be hidden.
44134 * include/rpc/auth_des.h: Likewise.
44135 * include/rpc/auth_unix.h: Likewise.
44136 * include/rpc/clnt.h: Likewise.
44137 * include/rpc/des_crypt.h: Likewise.
44138 * include/rpc/key_prot.h: Likewise.
44139 * include/rpc/pmap_clnt.h: Likewise.
44140 * include/rpc/pmap_prot.h: Likewise.
44141 * include/rpc/pmap_rmt.h: Likewise.
44142 * include/rpc/rpc_msg.h: Likewise.
44143 * include/rpc/svc.h: Likewise.
44144 * include/rpc/svc_auth.h: Likewise.
44145 * include/rpc/xdr.h: Likewise.
44146 * nis/Makefile: Link all DSOs against linkobj/libc.so.
44147 * nss/Makefile: Likewise.
44148 * sunrpc/Makefile: Don't install headers. Build library with normal
44149 entry points. Don't build rpcinfo. Link RPC tests appropriately.
44150 * sunrpc/auth_des.c: Hide exported symbols by default, export some
44151 for the compat linking library. Remove use of INTDEF/INTUSE.
44152 * sunrpc/auth_none.c: Likewise.
44153 * sunrpc/auth_unix.c: Likewise.
44154 * sunrpc/authdes_prot.c: Likewise.
44155 * sunrpc/authuxprot.c: Likewise.
44156 * sunrpc/clnt_gen.c: Likewise.
44157 * sunrpc/clnt_perr.c: Likewise.
44158 * sunrpc/clnt_raw.c: Likewise.
44159 * sunrpc/clnt_simp.c: Likewise.
44160 * sunrpc/clnt_tcp.c: Likewise.
44161 * sunrpc/clnt_udp.c: Likewise.
44162 * sunrpc/clnt_unix.c: Likewise.
44163 * sunrpc/des_crypt.c: Likewise.
44164 * sunrpc/des_soft.c: Likewise.
44165 * sunrpc/get_myaddr.c: Likewise.
44166 * sunrpc/key_call.c: Likewise.
44167 * sunrpc/key_prot.c: Likewise.
44168 * sunrpc/netname.c: Likewise.
44169 * sunrpc/pm_getmaps.c: Likewise.
44170 * sunrpc/pm_getport.c: Likewise.
44171 * sunrpc/pmap_clnt.c: Likewise.
44172 * sunrpc/pmap_prot.c: Likewise.
44173 * sunrpc/pmap_prot2.c: Likewise.
44174 * sunrpc/pmap_rmt.c: Likewise.
44175 * sunrpc/publickey.c: Likewise.
44176 * sunrpc/rpc_cmsg.c: Likewise.
44177 * sunrpc/rpc_common.c: Likewise.
44178 * sunrpc/rpc_dtable.c: Likewise.
44179 * sunrpc/rpc_prot.c: Likewise.
44180 * sunrpc/rpc_thread.c: Likewise.
44181 * sunrpc/rtime.c: Likewise.
44182 * sunrpc/svc.c: Likewise.
44183 * sunrpc/svc_auth.c: Likewise.
44184 * sunrpc/svc_authux.c: Likewise.
44185 * sunrpc/svc_raw.c: Likewise.
44186 * sunrpc/svc_run.c: Likewise.
44187 * sunrpc/svc_simple.c: Likewise.
44188 * sunrpc/svc_tcp.c: Likewise.
44189 * sunrpc/svc_udp.c: Likewise.
44190 * sunrpc/svc_unix.c: Likewise.
44191 * sunrpc/svcauth_des.c: Likewise.
44192 * sunrpc/xcrypt.c: Likewise.
44193 * sunrpc/xdr.c: Likewise.
44194 * sunrpc/xdr_array.c: Likewise.
44195 * sunrpc/xdr_float.c: Likewise.
44196 * sunrpc/xdr_intXX_t.c: Likewise.
44197 * sunrpc/xdr_mem.c: Likewise.
44198 * sunrpc/xdr_rec.c: Likewise.
44199 * sunrpc/xdr_ref.c: Likewise.
44200 * sunrpc/xdr_sizeof.c: Likewise.
44201 * sunrpc/xdr_stdio.c: Likewise.
44202
e6c61494
UD
442032011-04-10 Ulrich Drepper <drepper@gmail.com>
44204
44205 [BZ #12650]
44206 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44207 * sysdeps/ia64/dl-tls.h: Likewise.
44208 * sysdeps/powerpc/dl-tls.h: Likewise.
44209 * sysdeps/s390/dl-tls.h: Likewise.
44210 * sysdeps/sh/dl-tls.h: Likewise.
44211 * sysdeps/sparc/dl-tls.h: Likewise.
44212 * sysdeps/x86_64/dl-tls.h: Likewise.
44213 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44214
34fe483e
AS
442152011-03-14 Andreas Schwab <schwab@redhat.com>
44216
44217 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44218 rpath element also skip the following colon.
44219 (expand_dynamic_string_token): Add is_path parameter and pass
44220 down to DL_DST_REQUIRED and _dl_dst_substitute.
44221 (decompose_rpath): Call expand_dynamic_string_token with
44222 non-zero is_path. Ignore empty rpaths.
44223 (_dl_map_object_from_fd): Call expand_dynamic_string_token
44224 with zero is_path.
44225
f12a32e6
AS
442262011-04-08 Andreas Schwab <schwab@linux-m68k.org>
44227
44228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44229 Make cancelable.
44230
38a7d692
UD
442312011-04-09 Ulrich Drepper <drepper@gmail.com>
44232
44233 [BZ #12655]
44234 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44235 Patch by Filipe David Manana <fdmanana@apache.org>.
44236
e451d22b
AS
442372011-04-07 Andreas Schwab <schwab@redhat.com>
44238
44239 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44240 Maintain aligned stack.
44241 (CHECK_RSP): Remove unused macro.
44242
dedc7c7b
UD
442432011-04-03 Ulrich Drepper <drepper@gmail.com>
44244
44245 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44246 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44247
94521213
UD
442482011-04-02 Ulrich Drepper <drepper@gmail.com>
44249
44250 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44251
8cb700c0 44252 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 44253
0354e355
L
442542011-03-26 H.J. Lu <hongjiu.lu@intel.com>
44255
44256 [BZ #12518]
44257 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44258 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44259 * sysdeps/x86_64/memmove.c: New file.
44260 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44261 (memcpy): Renamed to ...
44262 (__new_memcpy): This.
44263 (memcpy): Provide GLIBC_2_14 memcpy.
44264 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44265 (memcpy): Provide GLIBC_2_2_5 memcpy.
44266
8593482f
UD
442672011-04-01 Ulrich Drepper <drepper@gmail.com>
44268
44269 [BZ #12631]
44270 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44271
81a5726b
AS
442722011-03-30 Andreas Schwab <schwab@redhat.com>
44273
44274 * misc/syncfs.c: New file.
44275 * misc/Makefile (routines): Add syncfs.
44276 * posix/unistd.h: Declare syncfs.
44277 * sysdeps/unix/syscalls.list: Add syncfs.
44278
00e5419f
AS
442792011-04-01 Andreas Schwab <schwab@redhat.com>
44280
44281 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44282 open_by_handle_at.
44283 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44284 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44285 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44286 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44287 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44288 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44289 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44290
748876bf
UD
442912011-04-01 Ulrich Drepper <drepper@gmail.com>
44292
658e451d
UD
44293 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44294 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44295 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44296 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44297 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44298 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44299 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44300
748876bf
UD
44301 * io/Makefile: Compile fallocate.c, fallocate64.c, and
44302 sync_file_range.c with -fexceptions.
44303 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44304 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44305 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44306 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44307 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44308 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44309 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
44310 sync_file_range as cancellation point
44311 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
44312 now a wrapper around __call_sync_file_range with cancellation handling.
44313 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44314 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
44315 function name to __call_sync_file_range.
44316 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44317 Add call_sync_file_range.
748876bf 44318
6e63d5e1
AS
443192011-04-01 Andreas Schwab <schwab@redhat.com>
44320
44321 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 44322 bits/timex.h.
6e63d5e1 44323
46998f74
UD
443242011-04-01 Ulrich Drepper <drepper@gmail.com>
44325
4c1423ed
UD
44326 * iconv/iconv.h: Fix typo in comment.
44327 * io/fcntl.h: Likewise.
44328 * libio/stdio.h: Likewise.
44329 * posix/spawn.h: Likewise.
44330 * posix/unistd.h: Likewise.
44331 * stdlib/stdlib.h: Likewise.
44332 * time/time.h: Likewise.
44333 * wcsmbs/wchar.h: Likewise.
44334
158648c0
UD
44335 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44336 open_by_handle): Add.
44337 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44338 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
44339 Augment a few comments.
44340 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44341 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44342 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44343 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44344 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44345 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44346 open_by_handle.
44347
46998f74
UD
44348 * io/fcntl.h (AT_EMPTY_PATH): Define.
44349
83fe108b
UD
443502011-03-30 Ulrich Drepper <drepper@gmail.com>
44351
44352 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44353 * sysdeps/unix/sysv/linux/bits/time.h: New file.
44354 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44355 to...
44356 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
44357 * Versions.def: Add GLIBC_2.14.
44358 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44359 Export.
83fe108b 44360
bb242059
UD
443612011-03-22 Ulrich Drepper <drepper@gmail.com>
44362
44363 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44364 round counter.
44365 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44366
c97a1282
L
443672011-03-20 H.J. Lu <hongjiu.lu@intel.com>
44368
44369 [BZ #12597]
44370 * string/test-strncmp.c (do_page_test): New function.
44371 (check2): Likewise.
44372 (test_main): Call check2.
44373 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44374
2a115601
UD
443752011-03-20 Ulrich Drepper <drepper@gmail.com>
44376
44377 [BZ #12587]
44378 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44379 Handle cache information in CPU leaf 4.
44380 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44381
8126d904
UD
443822011-03-18 Ulrich Drepper <drepper@gmail.com>
44383
042c49c6 44384 [BZ #12583]
8126d904
UD
44385 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44386 character representation.
44387 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44388
ccfe366e
RA
443892011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
44390
44391 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44392 END(__isnan) to END(__isnanf) to match function entry point/label
44393 EALIGN(__isnanf,...).
44394
c6e13027
JJ
443952011-03-10 Jakub Jelinek <jakub@redhat.com>
44396
44397 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44398
33f85a3f
UD
443992011-03-10 Ulrich Drepper <drepper@gmail.com>
44400
028478fa
UD
44401 [BZ #12510]
44402 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44403 copy from the symbol referenced in the relocation to initialize the
44404 used variable.
44405 Patch by Piotr Bury <pbury@goahead.com>.
44406 * elf/Makefile: Add rules to build and tst-unique3.
44407 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44408 * elf/tst-unique3.cc: New file.
44409 * elf/tst-unique3.h: New file.
44410 * elf/tst-unique3lib.cc: New file.
44411 * elf/tst-unique3lib2.cc: New file.
44412
33f85a3f
UD
44413 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44414
03592fc7
MF
444152011-03-10 Mike Frysinger <vapier@gentoo.org>
44416
44417 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44418 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
44419 to _start.
03592fc7 44420
6a5ee102
UD
444212011-03-06 Ulrich Drepper <drepper@gmail.com>
44422
44423 * elf/dl-load.c (_dl_map_object): If we are looking for the first
44424 to-be-loaded object along a path to loader is ld.so.
44425
7e4ba49c
HJ
444262011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44427 Ulrich Drepper <drepper@gmail.com>
44428
44429 * sysdeps/x86_64/memset.S: After aligning destination, code
44430 branches to different locations depending on the value of
44431 misalignment, when multiarch is enabled. Fix this.
44432
444332011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44434
44435 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44436 Set _x86_64_preferred_memory_instruction for AMD processsors.
44437 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44438 Set bit_Prefer_SSE_for_memop for AMD processors.
44439
13a804de
UD
444402011-03-04 Ulrich Drepper <drepper@gmail.com>
44441
44442 * libio/fmemopen.c (fmemopen): Optimize a bit.
44443
9d25c392
AS
444442011-03-03 Andreas Schwab <schwab@redhat.com>
44445
44446 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44447
a5543c6a
RM
444482011-03-03 Roland McGrath <roland@redhat.com>
44449
44450 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44451
012d35f7
DM
444522011-02-28 Aurelien Jarno <aurelien@aurel32.net>
44453
7e4ba49c 44454 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
44455 __bzero_ultra1 instead of __memset_ultra1.
44456
4bff6e01
AS
444572011-02-23 Andreas Schwab <schwab@redhat.com>
44458 Ulrich Drepper <drepper@gmail.com>
44459
44460 [BZ #12509]
44461 * include/link.h (struct link_map): Add l_orig_initfini.
44462 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44463 returning unsuccessfully.
44464 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44465 close of a file loaded at startup, restore the original l_initfini
44466 list.
44467 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44468 list, store the pointer.
44469 * elf/Makefile ($(objpfx)noload-mem): New rule.
44470 (noload-ENV): Define.
44471 (tests): Add $(objpfx)noload-mem.
44472 * elf/noload.c: Include <memcheck.h>.
44473 (main): Call mtrace. Close all opened handles.
44474
f2092faf
AS
444752011-02-17 Andreas Schwab <schwab@redhat.com>
44476
44477 [BZ #12454]
44478 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44479 dependencies are missing.
44480
6c8a2e88
ST
444812011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
44482
f2092faf 44483 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
44484 Hurd needs munmap.
44485 * sysdeps/mach/hurd/ifreq.h: New file.
44486
84a42118
PB
444872011-01-27 Petr Baudis <pasky@suse.cz>
44488 Ulrich Drepper <drepper@gmail.com>
44489
071f805e 44490 [BZ 12445]#
84a42118
PB
44491 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
44492 to extend_alloca().
44493 * stdio-common/bug23.c: New file.
44494 * stdio-common/Makefile (tests): Add bug23.
44495
e23fe25b
AS
444962010-09-28 Andreas Schwab <schwab@redhat.com>
44497 Ulrich Drepper <drepper@gmail.com>
44498
44499 [BZ #12489]
44500 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
44501 before performing relro protection. At old place add assertion
44502 to make sure nothing changed.
44503
d3f02e10
NS
445042011-02-17 Nathan Sidwell <nathan@codesourcery.com>
44505 Glauber de Oliveira Costa <glommer@gmail.com>
44506
44507 * elf/elf.h: Add new ARM TLS relocs.
44508
d55fd7a5
RA
445092011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
44510
44511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44512 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
44513 cast from r3.
44514 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
44515 'tests' variable.
44516 * sysdeps/wordsize-64/tst-writev.c: New file.
44517
2206397e
RA
445182011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
44519
44520 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
44521 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
44522 insns in _dl_start to prevent a TOC reference before relocs are
44523 resolved.
44524
e9433893
UD
445252011-02-15 Ulrich Drepper <drepper@gmail.com>
44526
44527 [BZ #12469]
44528 * Makeconfig: Remove RANLIB definition.
44529 * Makerules: Don't use RANLIB.
44530 * aclocal.m4: Remove ranlib test.
44531 * configure.in: No need to check for ranlib.
44532 * elf/rtld-Rules: Don't use RANLIB.
44533
f75286c6
ST
445342011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
44535
8e31c82d
ST
44536 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
44537 protection macro.
44538 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
44539 inclusion protection macro.
44540
f75286c6
ST
44541 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
44542 SIGRTMIN and SIGRTMAX and print information in that case only when
44543 SIGRTMIN is defined.
44544
c1d0e639
JJ
445452011-02-11 Jakub Jelinek <jakub@redhat.com>
44546
44547 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
44548 arginfo fn returning -1.
44549
44550 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
44551 and thousands string is zero terminated.
44552
edf9294e
AS
445532011-02-03 Andreas Schwab <schwab@redhat.com>
44554
44555 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
44556 sysdeps/unix/sysv/linux/bits/socket.h.
44557
2b7e92df
ST
445582011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
44559
edf9294e
AS
44560 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
44561 (__CPU_COUNT): Remove old macros.
44562 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
44563 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
44564 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
44565 (__sched_cpualloc, __sched_cpufree): Add declarations.
44566
a4c7ea7b
UD
445672011-02-05 Ulrich Drepper <drepper@gmail.com>
44568
44569 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
44570 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
44571 * nscd/aicache.c (addhstaiX): Return timeout of added value.
44572 (readdhstai): Return value of addhstaiX call.
44573 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
44574 (addgrbyX): Return value returned by cache_addgr.
44575 (readdgrbyname): Return value returned by addgrbyX.
44576 (readdgrbygid): Likewise.
44577 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
44578 (addpwbyX): Return value returned by cache_addpw.
44579 (readdpwbyname): Return value returned by addhstbyX.
44580 (readdpwbyuid): Likewise.
44581 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
44582 (addservbyX): Return value returned by cache_addserv.
44583 (readdservbyname): Return value returned by addservbyX:
44584 (readdservbyport): Likewise.
44585 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
44586 (addhstbyX): Return value returned by cache_addhst.
44587 (readdhstbyname): Return value returned by addhstbyX.
44588 (readdhstbyaddr): Likewise.
44589 (readdhstbynamev6): Likewise.
44590 (readdhstbyaddrv6): Likewise.
44591 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
44592 (readdinitgroups): Return value returned by addinitgroupsX.
44593 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
44594 (prune_cache): Keep track of timeout value of re-added entries.
44595 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
44596 * nscd/nscd.h: Adjust prototypes of readd* functions.
44597
a0bf67cc
RM
445982011-02-04 Roland McGrath <roland@redhat.com>
44599
44600 * nis/nis_server.c (nis_servstate): Use the right name for 0.
44601 (nis_stats): Likewise.
44602 * nis/nis_modify.c (nis_modify): Likewise.
44603 * nis/nis_remove.c (nis_remove): Likewise.
44604 * nis/nis_add.c (nis_add): Likewise.
44605
44606 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
44607
44608 * posix/fnmatch_loop.c: Add some consts.
44609
44610 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
44611
435b95eb
L
446122011-02-02 H.J. Lu <hongjiu.lu@intel.com>
44613
44614 [BZ #12460]
44615 * config.make.in (config-cflags-novzeroupper): Define.
44616 * configure.in: Substitute libc_cv_cc_novzeroupper.
44617 * elf/Makefile (AVX-CFLAGS): Define.
44618 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
44619 (CFLAGS-tst-auditmod4a.c): Likewise.
44620 (CFLAGS-tst-auditmod4b.c): Likewise.
44621 (CFLAGS-tst-auditmod6b.c): Likewise.
44622 (CFLAGS-tst-auditmod6c.c): Likewise.
44623 (CFLAGS-tst-auditmod7b.c): Likewise.
44624 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
44625
8517b15e
UD
446262011-02-02 Ulrich Drepper <drepper@gmail.com>
44627
44628 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
44629 function to the callback.
44630 Patch partly by Jiri Olsa <jolsa@redhat.com>.
44631
10a656fe
AS
446322011-02-02 Andreas Schwab <schwab@redhat.com>
44633
44634 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
44635 of errno.
44636
968dad0a
UD
446372011-01-19 Ulrich Drepper <drepper@gmail.com>
44638
9f94d2ea 44639 [BZ #11724]
968dad0a
UD
44640 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
44641 of constructors.
44642 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
44643 of destructors.
44644 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
44645
44646 [BZ #11724]
44647 * elf/Makefile: Add rules to build and run new test.
44648 * elf/tst-initorder.c: New file.
44649 * elf/tst-initorder.exp: New file.
44650 * elf/tst-initordera1.c: New file.
44651 * elf/tst-initordera2.c: New file.
44652 * elf/tst-initordera3.c: New file.
44653 * elf/tst-initordera4.c: New file.
44654 * elf/tst-initorderb1.c: New file.
44655 * elf/tst-initorderb2.c: New file.
44656 * elf/tst-order-a1.c: New file.
44657 * elf/tst-order-a2.c: New file.
44658 * elf/tst-order-a3.c: New file.
44659 * elf/tst-order-a4.c: New file.
44660 * elf/tst-order-b1.c: New file.
44661 * elf/tst-order-b2.c: New file.
44662 * elf/tst-order-main.c: New file.
44663 New test case by George Gensure <werkt0@gmail.com>.
44664
86e92359
UD
446652010-10-01 Andreas Schwab <schwab@redhat.com>
44666
44667 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44668 decoding ACE if AI_CANONIDN.
44669
5d5732b0
UD
446702011-01-18 Ulrich Drepper <drepper@gmail.com>
44671
44672 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
44673
a77e8cbc
UD
446742011-01-17 Ulrich Drepper <drepper@gmail.com>
44675
6392473f
UD
44676 * version.h (RELEASE): Bump for 2.13 release.
44677 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
44678
620a0529
UD
44679 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
44680
18ba70a5
UD
44681 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
44682 MADV_NOHUGEPAGE.
32465c3e
UD
44683 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
44684 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44685 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44686 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44687 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44688 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44689
c0dafcf1
UD
44690 * posix/getconf.c: Update copyright year.
44691 * catgets/gencat.c: Likewise.
44692 * csu/version.c: Likewise.
44693 * debug/catchsegv.sh: Likewise.
44694 * debug/xtrace.sh: Likewise.
44695 * elf/ldconfig.c: Likewise.
44696 * elf/ldd.bash.in: Likewise.
44697 * elf/sprof.c (print_version): Likewise.
44698 * iconv/iconv_prog.c: Likewise.
44699 * iconv/iconvconfig.c: Likewise.
44700 * locale/programs/locale.c: Likewise.
44701 * locale/programs/localedef.c: Likewise.
44702 * malloc/memusage.sh: Likewise.
44703 * malloc/mtrace.pl: Likewise.
44704 * nscd/nscd.c (print_version): Likewise.
44705 * nss/getent.c: Likewise.
44706
a77e8cbc
UD
44707 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
44708 PF_CAIF, and PF_ALG.
44709 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44710
77e8bddf
AS
447112011-01-16 Andreas Schwab <schwab@linux-m68k.org>
44712
1f20b93a
AS
44713 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
44714 (modules-names): Use them.
44715 (ifunc-test-modules, ifunc-pie-tests): Define.
44716 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
44717 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
44718 (test-extras): Likewise.
44719 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
44720 $(compile-command.c).
44721 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
44722 (all-built-dso): Define.
44723 (check-textrel.out, check-execstack.out): Depend on it.
44724
77e8bddf
AS
44725 * configure.in: Don't override --enable-multi-arch.
44726
bc425b33
UD
447272011-01-15 Ulrich Drepper <drepper@gmail.com>
44728
44729 [BZ #6812]
44730 * nscd/hstcache.c (tryagain): Define.
44731 (cache_addhst): Return tryagain not notfound for temporary errors.
44732 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
44733 failed.
44734
794c3ad3
UD
447352011-01-14 Ulrich Drepper <drepper@gmail.com>
44736
70181fdd
UD
44737 [BZ #10563]
44738 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
44739 to make the syscall.
44740 * sysdeps/unix/sysv/linux/setgroups.c: New file.
44741
794c3ad3
UD
44742 [BZ #12378]
44743 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
44744 and fall back to matching as normal character if the string ends before
44745 the matching ']' is found. This is what POSIX requires.
44746 * posix/testfnm.c: Adjust test result.
44747 * posix/globtest.sh: Adjust test result. Add new test.
44748 * posix/tst-fnmatch.input: Likewise.
44749 * posix/tst-fnmatch2.c: Add new test.
44750
68dc9497
AS
447512010-12-28 Andreas Schwab <schwab@linux-m68k.org>
44752
44753 * elf/Makefile (check-execstack): Revert last change. Depend on
44754 check-execstack.h.
44755 (check-execstack.h): New target.
44756 (generated): Add check-execstack.h.
44757 * elf/check-execstack.c: Include "check-execstack.h".
44758 (main): Revert last change.
44759 (handle_file): Return zero if GNU_STACK is absent and
44760 DEFAULT_STACK_PERMS doesn't include PF_X.
44761
451f001b
UD
447622011-01-13 Ulrich Drepper <drepper@gmail.com>
44763
cfa28e56
UD
44764 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
44765 in child fails because the descriptor is already closed.
8cf8ce17
UD
44766 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
44767 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
44768 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 44769
1086d70d
UD
44770 [BZ #12397]
44771 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
44772 syscall.
44773
451f001b
UD
44774 [BZ #10484]
44775 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
44776 temporary buffer used to handle multi lookups locally.
a85b5cb4 44777 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 44778
08769175
UD
447792011-01-12 Ulrich Drepper <drepper@gmail.com>
44780
44781 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
44782 loader is ld.so.
44783
5e49c52e
UD
447842011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
44785
44786 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
44787 alignment for SSE2.
44788
60522a5f
UD
447892011-01-12 Ulrich Drepper <drepper@gmail.com>
44790
44791 [BZ #12394]
44792 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
44793 characters. When rounding increased number of integer digits recompute
44794 number of groups.
44795 * stdio-common/tst-grouping.c: New file.
44796 * stdio-common/Makefile: Add rules to build and run tst-grouping.
44797
f257bbd7
UD
447982011-01-09 Ulrich Drepper <drepper@gmail.com>
44799
44800 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
44801 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
44802
44803 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
44804 void.
44805 * bits/select.h: Likewise.
44806
fa9c15cb
UD
448072011-01-08 Ulrich Drepper <drepper@gmail.com>
44808
44809 * po/ja.po: Update from translation team.
44810
16c2895f
DM
448112011-01-04 David S. Miller <davem@sunset.davemloft.net>
44812
44813 [BZ #11155]
44814 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
44815 implementation just like for lxstat, fxstatat, et al.
44816
2543fef2
JM
448172010-12-27 Jim Meyering <meyering@redhat.com>
44818
44819 [BZ #12348]
44820 * posix/regexec.c (build_trtable): Return failure indication upon
44821 calloc failure. Otherwise, re_search_internal could infloop on OOM.
44822
98727dbe
UD
448232010-12-25 Ulrich Drepper <drepper@gmail.com>
44824
5bd6dc5c
UD
44825 [BZ #12201]
44826 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
44827 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
44828 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
44829 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
44830
97983464
UD
44831 [BZ #12207]
44832 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
44833
98727dbe
UD
44834 [BZ #12204]
44835 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
44836 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
44837
4a531bb0
L
448382010-12-15 H.J. Lu <hongjiu.lu@intel.com>
44839
44840 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
44841 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
44842 script has SORT_BY_INIT_PRIORITY.
44843 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
44844 NO_CTORS_DTORS_SECTIONS is defined.
44845 * elf/soinit.c: Likewise.
44846 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
44847 NO_CTORS_DTORS_SECTIONS is defined.
44848 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
44849 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
44850 * sysdeps/sh/init-first.c: Likewise.
44851 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
44852
07eb4b71
UD
448532010-12-24 Ulrich Drepper <drepper@gmail.com>
44854
44855 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
44856 always use the slow path.
44857
30950a5f
RA
448582010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
44859
44860 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
44861 similar rule which adds the sysdep directories to the header search in
44862 order to pick up the correct platform stackinfo.h.
44863 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
44864 perform test if it is, otherwise return successfully without testing.
44865 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
44866 DEFAULT_STACK_PERMS define in stackinfo.h.
44867 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
44868 defined in stackinfo.h.
44869 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
44870 DEFAULT_STACK_PERMS defined in stackinfo.h.
44871 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
44872 * sysdeps/ia64/stackinfo.h: Likewise.
44873 * sysdeps/s390/stackinfo.h: Likewise.
44874 * sysdeps/sh/stackinfo.h: Likewise.
44875 * sysdeps/sparc/stackinfo.h: Likewise.
44876 * sysdeps/x86_64/stackinfo.h: Likewise.
44877 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
44878 PF_X for powerpc64. Retain PF_X for powerpc32.
44879
db753e2c
UD
448802010-12-19 Ulrich Drepper <drepper@gmail.com>
44881
14b697f7
UD
44882 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
44883 accurately.
db753e2c
UD
44884 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
44885 GETDENTS_64BIT_ALIGNED.
44886
28300719
UD
448872010-12-14 Ulrich Drepper <dreper@gmail.com>
44888
14b697f7 44889 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 44890
4f197237
AS
448912010-12-10 Andreas Schwab <schwab@redhat.com>
44892
dbb0472f
AS
44893 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
44894 _GNU_SOURCE.
44895
4f197237
AS
44896 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
44897 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
44898 Remove __restrict.
44899 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
44900 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
44901
fb88ac72
UD
449022010-12-09 Ulrich Drepper <drepper@gmail.com>
44903
44904 [BZ #11655]
44905 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
44906 are initialized.
44907
42acbb92
JJ
449082010-12-09 Jakub Jelinek <jakub@redhat.com>
44909
44910 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
44911
c038d98d
UD
449122010-12-03 Ulrich Drepper <drepper@gmail.com>
44913
44914 * po/it.po: Update from translation team.
44915
3a4a2499
L
449162010-12-01 H.J. Lu <hongjiu.lu@intel.com>
44917
44918 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
44919 unused codes.
44920
1e24cf6e
UD
449212010-11-30 Ulrich Drepper <drepper@gmail.com>
44922
44923 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
44924
a7690819
AS
449252010-11-24 Andreas Schwab <schwab@redhat.com>
44926
44927 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
44928 specially.
44929 (gaih_getanswer_slice): Likewise.
44930
3bf8d1b1
JJ
449312010-10-20 Jakub Jelinek <jakub@redhat.com>
44932
44933 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
44934
6db52fbb
PB
449352010-05-31 Petr Baudis <pasky@suse.cz>
44936
44937 [BZ #11149]
44938 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
44939 silently even in the chroot mode.
44940
eaca7569
UD
449412010-11-22 Ulrich Drepper <drepper@gmail.com>
44942
44943 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
44944 last patch a bit. Pretty printing
44945
3056dcdb
UD
449462010-05-31 Petr Baudis <pasky@suse.cz>
44947
44948 [BZ #10085]
44949 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
44950 initialization of skip_initgroups_dyn.
44951
cf7c9078
UD
449522010-11-19 Ulrich Drepper <drepper@gmail.com>
44953
44954 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
44955 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44956
a1fb5e3e
UD
449572010-11-16 Ulrich Drepper <drepper@gmail.com>
44958
44959 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
44960
3540d66b
AS
449612010-11-11 Andreas Schwab <schwab@redhat.com>
44962
44963 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
44964 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
44965 (tst-fnmatch-ENV): Set MALLOC_TRACE.
44966 ($(objpfx)tst-fnmatch-mem): New rule.
44967 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
44968 * posix/tst-fnmatch.c (main): Call mtrace.
44969
13b69574
L
449702010-11-11 H.J. Lu <hongjiu.lu@intel.com>
44971
44972 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44973 Support Intel processor model 6 and model 0x2c.
44974
da93d214
LM
449752010-11-10 Luis Machado <luisgpm@br.ibm.com>
44976
44977 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
44978 signed comparison.
44979
8ca52c6e
L
449802010-11-09 H.J. Lu <hongjiu.lu@intel.com>
44981
44982 [BZ #12205]
44983 * string/test-strncasecmp.c (check_result): New function.
44984 (do_one_test): Use it.
44985 (check1): New function.
44986 (test_main): Use it.
44987 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
44988 Support strcasecmp and strncasecmp.
44989
69da074d
UD
449902010-11-08 Ulrich Drepper <drepper@gmail.com>
44991
44992 [BZ #12194]
44993 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
44994 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44995
ff02d528
L
449962010-11-07 H.J. Lu <hongjiu.lu@intel.com>
44997
44998 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
44999 IFUNC support.
45000 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45001 memset-x86-64.
45002 * sysdeps/x86_64/multiarch/bzero.S: New file.
45003 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45004 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45005 * sysdeps/x86_64/multiarch/memset.S: New file.
45006 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45007 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45008 Set bit_Prefer_SSE_for_memop for Intel processors.
45009 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45010 Define.
45011 (index_Prefer_SSE_for_memop): Define.
45012 (HAS_PREFER_SSE_FOR_MEMOP): Define.
45013
344d0b54
LM
450142010-11-04 Luis Machado <luisgpm@br.ibm.com>
45015
45016 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45017 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45018
c0dde15b
UD
450192010-11-03 H.J. Lu <hongjiu.lu@intel.com>
45020
45021 [BZ #12191]
45022 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45023 (__x86_64_raw_data_cache_size_half): Likewise.
45024 (__x86_64_raw_shared_cache_size): Likewise.
45025 (__x86_64_raw_shared_cache_size_half): Likewise.
45026
45027 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45028 (__x86_64_raw_data_cache_size_half): Likewise.
45029 (__x86_64_raw_shared_cache_size): Likewise.
45030 (__x86_64_raw_shared_cache_size_half): Likewise.
45031 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45032 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45033 and __x86_64_raw_shared_cache_size_half. Round
45034 __x86_64_data_cache_size_half, __x86_64_data_cache_size
45035 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45036 to multiple of 256 bytes.
45037
0e516e0e
MS
450382010-11-03 Ulrich Drepper <drepper@gmail.com>
45039
45040 [BZ #12167]
45041 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45042 of inacessible symlinks. Verify result of symlink before returning it.
45043 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45044 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45045
0e012e87
ER
450462010-10-28 Erich Ritz <erichritz@gmail.com>
45047
45048 * math/math.h (isinf): Fix typo in comment.
45049
de0ff7bc
UD
450502010-11-01 Ulrich Drepper <drepper@gmail.com>
45051
45052 * po/da.po: Update from translation team.
45053
fa41c84d
UD
450542010-10-26 Ulrich Drepper <drepper@gmail.com>
45055
45056 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45057 is added to the list.
45058
f0967738
AK
450592010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45060 Ulrich Drepper <drepper@gmail.com>
45061
45062 * elf/dl-object.c (_dl_new_object): Don't append the new object to
45063 the global list here. Move code to...
45064 (_dl_add_to_namespace_list): ...here. New function.
45065 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45066 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45067 * elf/dl-load.c (lose): Don't remove the element from the list.
45068 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45069 (_dl_map_object): Likewise.
45070
450712010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
45072
45073 [BZ #12159]
45074 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45075 into all bytes of SSE register.
45076 Patch by Richard Li <richardpku@gmail.com>.
45077
f0967738 450782010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
45079
45080 [BZ #12140]
45081 * malloc/malloc.c (_int_free): Fill correct number of bytes when
45082 perturbing.
45083
d0b9e94f
MB
450842010-10-20 Michael B. Brutman <brutman@us.ibm.com>
45085
45086 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45087 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45088 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45089 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45091 submachine.
45092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45093
8e9f92e9
AS
450942010-10-22 Andreas Schwab <schwab@redhat.com>
45095
45096 * include/dlfcn.h (__RTLD_SECURE): Define.
45097 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
45098 mode & __RTLD_SECURE instead.
45099 (open_path): Rename preloaded parameter to secure.
45100 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45101 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45102 * elf/dl-deps.c (openaux): Likewise.
45103 * elf/rtld.c (struct map_args): Remove is_preloaded.
45104 (map_doit): Don't use it.
45105 (dl_main): Likewise.
45106 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45107 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45108
bc96fbda
AS
451092010-09-09 Andreas Schwab <schwab@redhat.com>
45110
45111 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45112 (sysd-rules-targets): Remove duplicates.
45113 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45114 rtld-%.$o dependency.
45115
22cd1c9b
AS
451162010-10-18 Andreas Schwab <schwab@redhat.com>
45117
45118 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45119 _dl_map_object do it.
45120
18edac48
UD
451212010-10-19 Ulrich Drepper <drepper@gmail.com>
45122
45123 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45124 fast fma builtins, define the macros in the C99 standard.
45125 (FP_FAST_FMAF): Likewise.
45126 (FP_FAST_FMAL): Likewise.
45127 * sysdeps/x86_64/bits/mathdef.h: Likewise.
45128
45129 * bits/mathdef.h: Update copyright year.
45130 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45131
d2050124
MM
451322010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
45133
45134 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45135 builtins, define the macros in the C99 standard.
45136 (FP_FAST_FMAF): Likewise.
45137 (FP_FAST_FMAL): Likewise.
45138 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45139 multiply/add.
45140 (FP_FAST_FMAF): Likewise.
45141
475facd1
JJ
451422010-10-15 Jakub Jelinek <jakub@redhat.com>
45143
45144 [BZ #3268]
45145 * math/libm-test.inc (fma_test): Some new testcases.
45146 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45147 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45148 y and infinite z. Do multiplication by C already in long double.
45149 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45150 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45151 y and infinite z. Do bitwise or of inexact bit into u.d.
45152 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45153 * sysdeps/i386/fpu/s_fmaf.S: Removed.
45154 * sysdeps/i386/fpu/s_fma.S: Removed.
45155 * sysdeps/i386/fpu/s_fmal.S: Removed.
45156
7c08a05c
JJ
451572010-10-16 Jakub Jelinek <jakub@redhat.com>
45158
45159 [BZ #3268]
45160 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45161 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45162 computation is not scheduled after fetestexcept. Fix value
45163 of minimum denormal long double.
45164
f3f7372d
JJ
451652010-10-14 Jakub Jelinek <jakub@redhat.com>
45166
45167 [BZ #3268]
45168 * math/libm-test.inc (fma_test): Add some more tests.
45169 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45170 correctly.
45171
14d43591
AS
451722010-10-15 Andreas Schwab <schwab@redhat.com>
45173
45174 * scripts/data/localplt-s390-linux-gnu.data: New file.
45175 * scripts/data/localplt-s390x-linux-gnu.data: New file.
45176
5e908464
JJ
451772010-10-13 Jakub Jelinek <jakub@redhat.com>
45178
45179 [BZ #3268]
45180 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45181 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45182 instead of dbl-64.
45183 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45184 inlines.
45185 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45186 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45187 if one of x and y is very large and the other is subnormal.
45188 * sysdeps/s390/fpu/s_fmaf.c: New file.
45189 * sysdeps/s390/fpu/s_fma.c: New file.
45190 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45191 * sysdeps/powerpc/fpu/s_fma.S: New file.
45192 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45193 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45194 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45195
451962010-10-12 Jakub Jelinek <jakub@redhat.com>
45197
45198 [BZ #3268]
45199 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45200 fma tests.
45201 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45202 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45203 * sysdeps/i386/i686/multiarch/s_fma.c: Include
45204 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45205 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45206 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45207 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45208
b833d51f
UD
452092010-10-12 Ulrich Drepper <drepper@redhat.com>
45210
45211 [BZ #12078]
45212 * posix/regcomp.c (parse_branch): One more memory leak plugged.
45213 * posix/bug-regex31.input: Add test case.
45214
1751705d
UD
452152010-10-11 Ulrich Drepper <drepper@gmail.com>
45216
e9b9cbf5
UD
45217 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45218 * posix/bug-regex31.input: New file.
45219
45220 [BZ #12078]
45221 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45222 (parse_sub_exp): Fix last change, use postorder.
45223
ef06edbe
UD
45224 * posix/bug-regex31.c: New file.
45225 * posix/Makefile: Add rules to build and run bug-regex31.
45226
a129c80d
UD
45227 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45228
45229 [BZ #12078]
45230 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45231
b76b818e
UD
45232 [BZ #12108]
45233 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45234 to have entries in sys_siglist.
45235
1751705d
UD
45236 [BZ #12093]
45237 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45238 be NULL.
45239
9ff8d36f
JJ
452402010-10-07 Jakub Jelinek <jakub@redhat.com>
45241
45242 [BZ #3268]
45243 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45244 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45245 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45246 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45247 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45248 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45249 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45250 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45251 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45252 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45253 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45254 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45255 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45256 * math/ftestexcept.c (fetestexcept): Likewise.
45257 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45258 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45259 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45260 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45261 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45262 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45263 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45264
af325969
UD
452652010-10-11 Ulrich Drepper <drepper@gmail.com>
45266
c579b202 45267 [BZ #12107]
af325969
UD
45268 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45269 newline.
45270
67a67b95
UD
452712010-10-06 Ulrich Drepper <drepper@gmail.com>
45272
45273 * string/bug-strstr1.c: New file.
45274 * string/Makefile: Add rules to build and run bug-strstr1.
45275
5fb308bc
EB
452762010-10-05 Eric Blake <eblake@redhat.com>
45277
45278 [BZ #12092]
45279 * string/str-two-way.h (two_way_long_needle): Always clear memory
45280 when skipping input due to the shift table.
45281
45db99c7
UD
452822010-10-03 Ulrich Drepper <drepper@gmail.com>
45283
3b111893
UD
45284 [BZ #12005]
45285 * malloc/mcheck.c: Handle large requests.
45286
45db99c7
UD
45287 [BZ #12077]
45288 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45289 for strncmp and strncasecmp.
45290 * string/stratcliff.c: Add tests for strcmp and strncmp.
45291 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45292
cf7a1eb8
NI
452932010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45294
45295 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45296 __set_fpscr.
45297
6484ba5e
AJ
452982010-09-30 Andreas Jaeger <aj@suse.de>
45299
45300 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45301 (CGROUP_SUPER_MAGIC): Define.
45302 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45303 Handle btrfs and cgroup file systems.
45304 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45305 Likewise.
45306
91c42559
LM
453072010-09-27 Luis Machado <luisgpm@br.ibm.com>
45308
45309 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45310 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45311
87a97932
AK
453122010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45313
45314 [BZ #12067]
45315 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45316 trying to locate the ELF header.
45317
c21cc9bc
AS
453182010-09-27 Andreas Schwab <schwab@redhat.com>
45319
45320 [BZ #11611]
45321 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45322 Mask out sign-bit copies when constructing f_fsid.
45323
315970f6
PB
453242010-09-24 Petr Baudis <pasky@suse.cz>
45325
45326 * debug/stack_chk_fail_local.c: Add missing licence exception.
45327 * debug/warning-nop.c: Likewise.
45328
1ac7a2c7
JM
453292010-09-15 Joseph Myers <joseph@codesourcery.com>
45330
45331 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45332 implementing getdents64 using getdents syscall, set d_type if
45333 __ASSUME_GETDENTS32_D_TYPE.
45334
56801c50
AS
453352010-09-16 Andreas Schwab <schwab@redhat.com>
45336
45337 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45338 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45339
dda51327
UD
453402010-09-21 Ulrich Drepper <drepper@redhat.com>
45341
45342 [BZ #12037]
45343 * posix/unistd.h: Undo change of feature selection for ftruncate from
45344 2010-01-11.
45345
8ffcee4a
UD
453462010-09-20 Ulrich Drepper <drepper@redhat.com>
45347
a545ecd9 45348 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
45349 detection.
45350
e24f0a8b
AS
453512010-09-20 Andreas Schwab <schwab@redhat.com>
45352
45353 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45354 fanotify_mark.
45355 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45356
7291c56f
AS
453572010-09-14 Andreas Schwab <schwab@redhat.com>
45358
45359 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45360 variables after CHECK_SP call.
45361 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45362
bc5fb037
AS
453632010-09-13 Andreas Schwab <schwab@redhat.com>
45364 Ulrich Drepper <drepper@redhat.com>
45365
45366 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45367 re-relocationg ld.so.
45368 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45369 _dl_init_paths call.
45370 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
45371 here anymore.
45372
e66e7419
UD
453732010-09-14 Ulrich Drepper <drepper@redhat.com>
45374
45375 * resolv/res_init.c (__res_vinit): Count the default server we added.
45376
c044aa75
CLT
453772010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
45378 Ulrich Drepper <drepper@redhat.com>
45379
45380 [BZ #11968]
45381 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45382 (____longjmp_chk): Use %ebx for saving value across system call.
45383 Add unwind info.
45384
32cf4069
AS
453852010-09-06 Andreas Schwab <schwab@redhat.com>
45386
45387 * manual/Makefile: Don't mix pattern rules with normal rules.
45388
817328ee
AS
453892010-09-05 Andreas Schwab <schwab@linux-m68k.org>
45390
45391 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45392 operation.
45393 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45394 * libio/iofopncook.c (_IO_cookie_init): Likewise.
45395 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45396 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45397 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45398 Likewise.
45399
29fddf61
UD
454002010-09-04 Ulrich Drepper <drepper@redhat.com>
45401
45402 [BZ #11979]
45403 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45404 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45405
0959ffc9
UD
454062010-09-02 Ulrich Drepper <drepper@redhat.com>
45407
45408 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45409 * sysdeps/x86_64/addmul_1.S: Likewise.
45410 * sysdeps/x86_64/lshift.S: Likewise.
45411 * sysdeps/x86_64/mul_1.S: Likewise.
45412 * sysdeps/x86_64/rshift.S: Likewise.
45413 * sysdeps/x86_64/sub_n.S: Likewise.
45414 * sysdeps/x86_64/submul_1.S: Likewise.
45415
ece29840
ST
454162010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
45417
0959ffc9
UD
45418 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45419 Define __sched_param instead of SCHED_* and sched_param when
ece29840 45420 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 45421 * bits/sched.h [__need_schedparam]
ece29840 45422 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
45423 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45424 (__defined_schedparam): Define to 1.
ece29840
ST
45425 (__sched_param): New structure, identical to sched_param.
45426 (__need_schedparam): Undefine.
45427
e53a31fe
MF
454282010-08-31 Mike Frysinger <vapier@gentoo.org>
45429
fdc0c10d
MF
45430 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45431 (epoll_create1): Declare.
45432
e53a31fe
MF
45433 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45434
a726d796
AS
454352010-08-31 Andreas Schwab <schwab@redhat.com>
45436
45437 [BZ #7066]
45438 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45439 shifting retval into place.
45440
2f3e3dc7
UD
454412010-09-01 Ulrich Drepper <drepper@redhat.com>
45442
f2933da9
UD
45443 * nis/rpcsvc/nis.h: Update copyright notice.
45444 * nis/rpcsvc/nis.x: Likewise.
45445 * nis/rpcsvc/nis_callback.h: Likewise.
45446 * nis/rpcsvc/nis_callback.x: Likewise.
45447 * nis/rpcsvc/nis_object.x: Likewise.
45448 * nis/rpcsvc/nis_tags.h: Likewise.
45449 * nis/rpcsvc/yp.h: Likewise.
45450 * nis/rpcsvc/yp.x: Likewise.
45451 * nis/rpcsvc/ypupd.h: Likewise.
45452 * nis/yp_xdr.c: Likewise.
45453 * nis/ypupdate_xdr.c: Likewise.
45454
2f3e3dc7
UD
45455 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
45456 mainly the body of pmap_getport. Add parameters to specify timeouts.
45457 (pmap_getport): Use __libc_rpc_getport.
45458 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45459 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45460 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45461
f3dcc2f9
AS
454622010-08-31 Andreas Schwab <schwab@linux-m68k.org>
45463
45464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45465 fanotify_mark.
45466
6d34eb5b
RM
454672010-08-27 Roland McGrath <roland@redhat.com>
45468
45469 * sysdeps/i386/i686/multiarch/Makefile
45470 (CFLAGS-varshift.c): New variable.
45471
9ea3de11
UD
454722010-08-27 Ulrich Drepper <drepper@redhat.com>
45473
c96d23fc
UD
45474 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45475 * sysdeps/i386/i686/multiarch/varshift.c: New file.
45476
9ea3de11
UD
45477 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45478
45479 * sysdeps/x86_64/strlen.S: Minimal code improvement.
45480
623aac7f
L
454812010-08-26 H.J. Lu <hongjiu.lu@intel.com>
45482
45483 * sysdeps/x86_64/strlen.S: Unroll the loop.
45484 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45485 strlen-sse2 strlen-sse2-bsf.
45486 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45487 __strlen_no_bsf if bit_Slow_BSF is set.
45488 (__strlen_sse42): Removed.
45489 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45490 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
45491
8b2b7715
RM
454922010-08-25 Roland McGrath <roland@redhat.com>
45493
45494 * sysdeps/x86_64/multiarch/varshift.S: File removed.
45495 * sysdeps/x86_64/multiarch/varshift.c: New file.
45496 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
45497 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
45498 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
45499 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45500
e73015f2
L
455012010-08-25 H.J. Lu <hongjiu.lu@intel.com>
45502
45503 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45504 strlen-sse2 strlen-sse2-bsf.
45505 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
45506 __strlen_sse2_bsf if bit_Slow_BSF is unset.
45507 (__strlen_sse2): Removed.
45508 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
45509 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
45510 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45511 bit_Slow_BSF for Atom.
45512 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
45513 (index_Slow_BSF): Define.
45514 (HAS_SLOW_BSF): Define.
45515
df24a73e
UD
455162010-08-25 Ulrich Drepper <drepper@redhat.com>
45517
45518 [BZ #10851]
45519 * resolv/res_init.c (__res_vinit): When no server address at all
45520 is given default to loopback.
45521
f2ac4868
RM
455222010-08-24 Roland McGrath <roland@redhat.com>
45523
09055553
RM
45524 * configure.in: Remove config-name.h generation.
45525 * configure: Regenerated.
45526 * config-name.in: File removed.
45527 * scripts/config-uname.sh: New file.
45528 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
45529 ($(objdir)config-name.h): New target.
45530
f2ac4868
RM
45531 * sunrpc/rpc_parse.h: Avoid nested comment.
45532
73f27d5e
RH
455332010-08-24 Richard Henderson <rth@redhat.com>
45534 Ulrich Drepper <drepper@redhat.com>
45535 H.J. Lu <hongjiu.lu@intel.com>
45536
45537 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
45538 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
45539 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
45540 Replace _mm_srli_si128 with __m128i_shift_right. Replace
45541 _mm_alignr_epi8 with _mm_loadu_si128.
45542 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
45543 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
45544 (__m128i_shift_right): Removed.
45545 * sysdeps/i386/i686/multiarch/varshift.h: New file.
45546 * sysdeps/i386/i686/multiarch/varshift.S: New file.
45547 * sysdeps/x86_64/multiarch/varshift.h: New file.
45548 * sysdeps/x86_64/multiarch/varshift.S: New file.
45549
84b9230c
MF
455502010-08-21 Mike Frysinger <vapier@gentoo.org>
45551
45552 * configure.in: Move assembler checks to before sysdep dir checking.
45553
9bbd0ddc
PB
455542010-08-20 Petr Baudis <pasky@suse.cz>
45555
45556 * LICENSES: Sync the sunrpc license.
45557
9da4bb31
UD
455582010-08-19 Ulrich Drepper <drepper@redhat.com>
45559
a7ab6ec8
UD
45560 * sunrpc/auth_des.c: Update copyright notice once again.
45561 * sunrpc/auth_none.c: Likewise.
45562 * sunrpc/auth_unix.c: Likewise.
45563 * sunrpc/authdes_prot.c: Likewise.
45564 * sunrpc/authuxprot.c: Likewise.
45565 * sunrpc/bindrsvprt.c: Likewise.
45566 * sunrpc/clnt_gen.c: Likewise.
45567 * sunrpc/clnt_perr.c: Likewise.
45568 * sunrpc/clnt_raw.c: Likewise.
45569 * sunrpc/clnt_simp.c: Likewise.
45570 * sunrpc/clnt_tcp.c: Likewise.
45571 * sunrpc/clnt_udp.c: Likewise.
45572 * sunrpc/clnt_unix.c: Likewise.
45573 * sunrpc/des_crypt.c: Likewise.
45574 * sunrpc/des_soft.c: Likewise.
45575 * sunrpc/get_myaddr.c: Likewise.
45576 * sunrpc/getrpcport.c: Likewise.
45577 * sunrpc/key_call.c: Likewise.
45578 * sunrpc/key_prot.c: Likewise.
45579 * sunrpc/openchild.c: Likewise.
45580 * sunrpc/pm_getmaps.c: Likewise.
45581 * sunrpc/pm_getport.c: Likewise.
45582 * sunrpc/pmap_clnt.c: Likewise.
45583 * sunrpc/pmap_prot.c: Likewise.
45584 * sunrpc/pmap_prot2.c: Likewise.
45585 * sunrpc/pmap_rmt.c: Likewise.
45586 * sunrpc/rpc/auth.h: Likewise.
45587 * sunrpc/rpc/auth_unix.h: Likewise.
45588 * sunrpc/rpc/clnt.h: Likewise.
45589 * sunrpc/rpc/des_crypt.h: Likewise.
45590 * sunrpc/rpc/key_prot.h: Likewise.
45591 * sunrpc/rpc/netdb.h: Likewise.
45592 * sunrpc/rpc/pmap_clnt.h: Likewise.
45593 * sunrpc/rpc/pmap_prot.h: Likewise.
45594 * sunrpc/rpc/pmap_rmt.h: Likewise.
45595 * sunrpc/rpc/rpc.h: Likewise.
45596 * sunrpc/rpc/rpc_des.h: Likewise.
45597 * sunrpc/rpc/rpc_msg.h: Likewise.
45598 * sunrpc/rpc/svc.h: Likewise.
45599 * sunrpc/rpc/svc_auth.h: Likewise.
45600 * sunrpc/rpc/types.h: Likewise.
45601 * sunrpc/rpc/xdr.h: Likewise.
45602 * sunrpc/rpc_clntout.c: Likewise.
45603 * sunrpc/rpc_cmsg.c: Likewise.
45604 * sunrpc/rpc_common.c: Likewise.
45605 * sunrpc/rpc_cout.c: Likewise.
45606 * sunrpc/rpc_dtable.c: Likewise.
45607 * sunrpc/rpc_hout.c: Likewise.
45608 * sunrpc/rpc_main.c: Likewise.
45609 * sunrpc/rpc_parse.c: Likewise.
45610 * sunrpc/rpc_parse.h: Likewise.
45611 * sunrpc/rpc_prot.c: Likewise.
45612 * sunrpc/rpc_sample.c: Likewise.
45613 * sunrpc/rpc_scan.c: Likewise.
45614 * sunrpc/rpc_scan.h: Likewise.
45615 * sunrpc/rpc_svcout.c: Likewise.
45616 * sunrpc/rpc_tblout.c: Likewise.
45617 * sunrpc/rpc_util.c: Likewise.
45618 * sunrpc/rpc_util.h: Likewise.
45619 * sunrpc/rpcinfo.c: Likewise.
45620 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
45621 * sunrpc/rpcsvc/key_prot.x: Likewise.
45622 * sunrpc/rpcsvc/klm_prot.x: Likewise.
45623 * sunrpc/rpcsvc/mount.x: Likewise.
45624 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
45625 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
45626 * sunrpc/rpcsvc/rex.x: Likewise.
45627 * sunrpc/rpcsvc/rstat.x: Likewise.
45628 * sunrpc/rpcsvc/rusers.x: Likewise.
45629 * sunrpc/rpcsvc/sm_inter.x: Likewise.
45630 * sunrpc/rpcsvc/spray.x: Likewise.
45631 * sunrpc/rpcsvc/yppasswd.x: Likewise.
45632 * sunrpc/rtime.c: Likewise.
45633 * sunrpc/svc.c: Likewise.
45634 * sunrpc/svc_auth.c: Likewise.
45635 * sunrpc/svc_authux.c: Likewise.
45636 * sunrpc/svc_raw.c: Likewise.
45637 * sunrpc/svc_run.c: Likewise.
45638 * sunrpc/svc_simple.c: Likewise.
45639 * sunrpc/svc_tcp.c: Likewise.
45640 * sunrpc/svc_udp.c: Likewise.
45641 * sunrpc/svc_unix.c: Likewise.
45642 * sunrpc/svcauth_des.c: Likewise.
45643 * sunrpc/xcrypt.c: Likewise.
45644 * sunrpc/xdr.c: Likewise.
45645 * sunrpc/xdr_array.c: Likewise.
45646 * sunrpc/xdr_float.c: Likewise.
45647 * sunrpc/xdr_mem.c: Likewise.
45648 * sunrpc/xdr_rec.c: Likewise.
45649 * sunrpc/xdr_ref.c: Likewise.
45650 * sunrpc/xdr_sizeof.c: Likewise.
45651 * sunrpc/xdr_stdio.c: Likewise.
45652
9da4bb31
UD
45653 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
45654 handling.
45655
bdaa77bc
AS
456562010-08-19 Andreas Schwab <schwab@redhat.com>
45657
45658 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
45659
fe2f79db
LM
456602010-08-19 Luis Machado <luisgpm@br.ibm.com>
45661
45662 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
45663 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
45664 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
45665 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
45666 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
45667 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
45668 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
45669 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
45670 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
45671 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
45672 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
45673 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
45674 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
45675 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
45676
b9b42ee0
AB
456772010-07-26 Anton Blanchard <anton@samba.org>
45678
45679 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
45680 * malloc/arena.c (heap_trim): Likewise.
45681
1c06ba31
UD
456822010-08-16 Ulrich Drepper <drepper@redhat.com>
45683
45684 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
45685 here. Not...
45686 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
45687 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
45688
f8392f40
L
456892010-08-12 H.J. Lu <hongjiu.lu@intel.com>
45690
45691 * sysdeps/i386/elf/Makefile: New file.
45692
3162f12e
AS
456932010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45694
45695 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
45696 from fanotify_init.
45697 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
45698 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45699
28c90b2c
UD
457002010-08-15 Ulrich Drepper <drepper@redhat.com>
45701
45702 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
45703 of strncasecmp_l.
1feccb6c 45704 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 45705
ca6bb004
UD
457062010-08-14 Ulrich Drepper <drepper@redhat.com>
45707
e9f82e0d
UD
45708 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45709 strncase_l-nonascii.
45710 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45711 Add strncase_l-ssse3.
45712 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
45713 * sysdeps/x86_64/strcmp.S: Likewise.
45714 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
45715 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
45716 * sysdeps/x86_64/strncase.S: New file.
45717 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
45718 * sysdeps/x86_64/strncase_l.S: New file.
45719 * string/Makefile (strop-tests): Add strncasecmp.
45720 * string/test-strncasecmp.c: New file.
45721
45722 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
45723 warning.
45724
ca6bb004
UD
45725 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
45726 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
45727
052fa7b3
AS
457282010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45729
45730 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
45731
962dba78
UD
457322010-08-12 Ulrich Drepper <drepper@redhat.com>
45733
45734 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
45735 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
45736 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
45737
bebff237
AM
457382010-05-01 Alan Modra <amodra@gmail.com>
45739
45740 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
45741 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
45742 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
45743 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
45744 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
45745 tidying. Don't tail-call __sigjmp_save for static lib.
45746 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
45747 save location.
45748 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
45749 (CALL_MCOUNT): Add eh info, and nop after bl.
45750 (TAIL_CALL_SYSCALL_ERROR): New macro.
45751 (PSEUDO_RET): Use it.
45752 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45753 Correct save location of integer regs and cr.
45754 (_dl_profile_resolve): Correct cr save location. Delete nops
45755 after bl when SHARED. Reduce cfi size a little by better
45756 placement of cfi directives.
45757 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
45758 make a stack frame. Instead use parm save area as a temp.
45759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
45760 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
45761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45762 Don't make a stack frame for parent, use parm save area.
45763 Increase child stack frame to 112 bytes. Don't save unused reg,
45764 and adjust reg usage. Set up cfi on error recovery and
45765 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
45766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45767 (__makecontext): Add dummy nop after jump to exit.
45768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
45769 Use correct parm save area and cr save, reduce stack frame.
45770 Correct cfi for possible PSEUDO_RET frame setup.
45771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
45772 Branch to local label emitted by PSEUDO_RET rather than
45773 __syscall_error.
45774
02637374
AS
457752010-08-12 Andreas Schwab <schwab@redhat.com>
45776
45777 [BZ #11904]
45778 * locale/programs/locale.c (print_assignment): New function.
45779 (show_locale_vars): Use it.
45780
c3e2f19b
UD
457812010-08-11 Ulrich Drepper <drepper@redhat.com>
45782
3cdaa6ad
UD
45783 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
45784 field.
45785 (struct statfs64): Likewise.
45786 (_STATFS_F_FLAGS): Define.
45787 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
45788 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45789 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
45790 (ST_VALID): Define locally.
45791 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
45792 __statvfs_getflags, use the provided value.
45793 * sysdeps/unix/sysv/linux/kernel-features.h: Define
45794 __ASSUME_STATFS_F_FLAGS.
45795
754f7da3
UD
45796 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
45797
10b3bedc
UD
45798 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
45799 Add sys/fanotify.h.
45800 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
45801 fanotify_mask for GLIBC_2.13.
45802 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
45803 fanotify_init and fanotify_mark.
45804 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45805 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
45806
c08fb0d7
UD
45807 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
45808 Add prlimit.
45809 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
45810 prlimit64 for GLIBC_2.13.
45811 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
45812 prlimit64.
45813 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
45814 syscall.
45815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
45816 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45817 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
45818 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
45819 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
45820 add prlimit alias.
45821 * sysdeps/unix/sysv/linux/prlimit.c: New file.
45822
15bac72b
UD
45823 [BZ #11903]
45824 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
45825 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
45826
c3e2f19b
UD
45827 * nss/Makefile: Add rules to build and run tst-nss-test1.
45828 * shlib-versions: Add entry for libnss_test1.
45829 * nss/nss_test1.c: New file.
45830 * nss/tst-nss-test1.c: New file.
45831
45832 * nss/nsswitch.c (__nss_database_custom): Define new variable.
45833 (__nss_configure_lookup): Set appropriate entry in
45834 __nss_configure_lookup to true.
45835 * nss/nsswitch.h: Define enum with indeces of databases in
45836 databases and __nss_database_custom arrays. Declare
45837 __nss_database_custom.
45838 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
45839 to avoid using nscd when custom rules are installed.
45840 * nss/getXXbyYY_r.c: Likewise.
45841 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45842
45843 * nss/nss_files/files-parse.c: Whitespace fixes.
45844
f15ce4d8
UD
458452010-08-09 Ulrich Drepper <drepper@redhat.com>
45846
45847 [BZ #11883]
45848 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
45849 * posix/fnmatch_loop.c: Likewise.
45850
d22e4cc9
AK
458512010-07-17 Andi Kleen <ak@linux.intel.com>
45852
45853 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
45854 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
45855 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
45856 * Versions.def [GLIBC_2.13]: Add.
45857
805bc17d
UD
458582010-08-06 Ulrich Drepper <drepper@redhat.com>
45859
45860 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45861 Also fail if tpwd after pwuid call is NULL.
45862
5a42321d
ST
458632010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
45864
45865 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
45866 when converting to ms.
45867
fd3ebeda
ST
458682010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45869
45870 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
45871 EOPNOTSUPP errors with ENOTTY.
45872 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
45873 EOPNOTSUPP errors with ENOTTY.
45874
73507d3a
UD
458752010-07-31 Ulrich Drepper <drepper@redhat.com>
45876
45877 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45878 Add strcasecmp_l-ssse3.
45879 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
45880 strcasecmp.
45881 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
45882 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
45883 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
45884
fe36dd02
UD
458852010-07-30 Ulrich Drepper <drepper@redhat.com>
45886
66f6765a
UD
45887 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
45888
42e08a54
UD
45889 * string/Makefile (strop-tests): Add strcasecmp.
45890 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45891 strcasecmp_l-nonascii.
45892 (gen-as-const-headers): Add locale-defines.sym.
45893 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
45894 * sysdeps/x86_64/strcasecmp.S: New file.
45895 * sysdeps/x86_64/strcasecmp_l.S: New file.
45896 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
45897 * sysdeps/x86_64/locale-defines.sym: New file.
45898 * string/test-strcasecmp.c: New file.
45899
fe36dd02
UD
45900 * string/test-strcasestr.c: Test both ends of the range of characters.
45901 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
45902
48cbc0d6
RM
459032010-07-29 Roland McGrath <roland@redhat.com>
45904
76e6d6bc 45905 [BZ #11856]
48cbc0d6
RM
45906 * manual/locale.texi (Yes-or-No Questions): Fix example code.
45907
880113d9
UD
459082010-07-27 Ulrich Drepper <drepper@redhat.com>
45909
45910 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
45911 for ld.so.
45912
deb9cabb
AS
459132010-07-27 Andreas Schwab <schwab@redhat.com>
45914
45915 * manual/memory.texi (Malloc Tunable Parameters): Document
45916 M_PERTURB.
45917
1c7570ff
RM
459182010-07-26 Roland McGrath <roland@redhat.com>
45919
45920 [BZ #11840]
45921 * configure.in (-fgnu89-inline check): Set and substitute
45922 gnu89_inline, not libc_cv_gnu89_inline.
45923 * configure: Regenerated.
45924 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
45925
24fb0f88
UD
459262010-07-26 Ulrich Drepper <drepper@redhat.com>
45927
45928 * string/test-strnlen.c: New file.
45929 * string/Makefile (strop-tests): Add strnlen.
45930 * string/tester.c (test_strnlen): Add a few more test cases.
45931 * string/tst-strlen.c: Better error reporting.
45932
45933 * sysdeps/x86_64/strnlen.S: New file.
45934
8e96b93a
UD
459352010-07-24 Ulrich Drepper <drepper@redhat.com>
45936
45937 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
45938 lower-latency instructions.
45939
dbc676d4
UD
459402010-07-23 Ulrich Drepper <drepper@redhat.com>
45941
45942 * string/test-strcasestr.c: New file.
45943 * string/test-strstr.c: New file.
45944 * string/Makefile (strop-tests): Add strstr and strcasestr.
45945 * string/str-two-way.h: Don't undefine MAX.
45946 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
45947
f6a31e0e
AS
459482010-07-21 Andreas Schwab <schwab@redhat.com>
45949
45950 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45951 strcasestr-nonascii.
45952 (CFLAGS-strcasestr-nonascii.c): Define.
45953 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
45954 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
45955 Remove unused attribute.
45956
5dbc3b6c
RM
459572010-07-20 Roland McGrath <roland@redhat.com>
45958
45959 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
45960 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
45961 ld.so.cache was broken. With it, there is no way to disable dsocaps
45962 like LD_HWCAP_MASK can disable hwcaps.
45963
23d101d8
EPM
459642010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45965
45966 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
45967
cc9f2e47
UD
459682010-07-16 Ulrich Drepper <drepper@redhat.com>
45969
45970 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
45971 call in strcasestr.
45972 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
45973 __strcasestr_sse42_nonascii.
45974 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
45975 strcasestr-nonascii.c.
45976 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
45977
77c1b069
LM
459782010-06-15 Luis Machado <luisgpm@br.ibm.com>
45979
45980 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
45981 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
45982 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
45983 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
45984
440566c3
UD
459852010-07-09 Ulrich Drepper <drepper@redhat.com>
45986
45987 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
45988 fcntl.
45989
5be9d05d
AS
459902010-07-06 Andreas Schwab <schwab@redhat.com>
45991
c30b7ee2 45992 [BZ #11577]
5be9d05d
AS
45993 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
45994 dl_signal_cerror.
45995
8a492a67
UD
459962010-07-06 Ulrich Drepper <drepper@redhat.com>
45997
45998 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
45999 _PC_PIPE_BUF using F_GETPIPE_SZ.
46000
713df3d5
RM
460012010-07-05 Roland McGrath <roland@redhat.com>
46002
46003 * manual/arith.texi (Rounding Functions): Fix rint description
46004 implicit in round description.
46005
702e8f14
UD
460062010-07-02 Ulrich Drepper <drepper@redhat.com>
46007
46008 * elf/Makefile: Fix linking for a few tests to make recent linker
46009 happy.
46010
52ed8be9
AS
460112010-06-30 Andreas Schwab <schwab@redhat.com>
46012
46013 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46014 $(common-objpfx)libc_nonshared.a.
46015
f47c9a11
LM
460162010-06-21 Luis Machado <luisgpm@br.ibm.com>
46017
46018 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46019 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46020 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46021 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46022 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46023 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46024 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46025 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46040 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46041 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46042 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46043 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46044 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46045 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46046 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46047 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46048 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46049 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46050 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46051 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46066
6fb8cbcb
L
460672010-06-25 H.J. Lu <hongjiu.lu@intel.com>
46068
46069 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46070 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
46071 * string/memmove.c (memmove): Renamed to ...
46072 (MEMMOVE): ...this. Default to memmove.
46073 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46074 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46075 (END_CHK): Define.
46076 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46077 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46078 mempcpy-ssse3-back memmove-ssse3-back.
46079 * sysdeps/x86_64/multiarch/bcopy.S: New file .
46080 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46081 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46082 * sysdeps/x86_64/multiarch/memcpy.S: New file.
46083 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46084 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46085 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46086 * sysdeps/x86_64/multiarch/memmove.c: New file.
46087 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46088 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46089 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46090 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46091 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46092 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46093 Define.
46094 (index_Fast_Copy_Backward): Define.
46095 (HAS_ARCH_FEATURE): Define.
46096 (HAS_FAST_REP_STRING): Define.
46097 (HAS_FAST_COPY_BACKWARD): Define.
46098
4e733bac 460992010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
46100
46101 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46102 Restore proper fallback handling.
46103
63c4ed22
UD
461042010-06-19 Ulrich Drepper <drepper@redhat.com>
46105
ac2b484c
UD
46106 [BZ #11701]
46107 * posix/group_member.c (__group_member): Correct checking loop.
46108
63c4ed22
UD
46109 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46110 OOM in getpwuid_r correctly. Return error number when the caller
46111 should return, otherwise -1.
46112 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46113 call returning > 0 value.
46114 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46115
765ade4b
AS
461162010-06-07 Andreas Schwab <schwab@redhat.com>
46117
46118 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46119 libc_nonshared.a from targets in modules-names.
46120
80da2e09
KS
461212010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
46122
46123 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46124 requires it.
46125
158db122
LM
461262010-06-10 Luis Machado <luisgpm@br.ibm.com>
46127
46128 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46129 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46130 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46131 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46132
caa78cf8
AS
461332010-06-02 Andreas Schwab <schwab@redhat.com>
46134
46135 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46136
b2ef2c01
UD
461372010-06-14 Ulrich Drepper <drepper@redhat.com>
46138
46139 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46140 and F_GETPIPE_SZ.
46141 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46142 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46143 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46144 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46145 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46146 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46147
fbd643b6
RM
461482010-06-14 Roland McGrath <roland@redhat.com>
46149
46150 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46151
f32f2869
JJ
461522010-06-07 Jakub Jelinek <jakub@redhat.com>
46153
46154 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46155 __REDIRECT followed by __THROW.
46156 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46157 * posix/getopt.h (getopt): Likewise.
46158
2a50c078
EPM
461592010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46160
46161 * hurd/lookup-at.c (__file_name_lookup_at): Accept
46162 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
46163 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46164 in AT_FLAGS.
46165 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46166 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46167
eb5ad2eb
LM
461682010-05-28 Luis Machado <luisgpm@br.ibm.com>
46169
46170 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46171
3c88fe1e
L
461722010-05-26 H.J. Lu <hongjiu.lu@intel.com>
46173
46174 [BZ #11640]
46175 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46176 Properly check family and model.
46177
d2f73151
TY
461782010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
46179
46180 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46181
ebd2e13d
LM
461822010-05-24 Luis Machado <luisgpm@br.ibm.com>
46183
46184 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46185
b32b8b45
UD
461862010-05-21 Ulrich Drepper <drepper@redhat.com>
46187
46188 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46189 symbol reference.
46190
9acbe24d
AS
461912010-05-19 Andreas Schwab <schwab@redhat.com>
46192
46193 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46194 symbol reference.
46195
f0ccf6ea
AS
461962010-05-21 Andreas Schwab <schwab@redhat.com>
46197
3d04ff3a
AS
46198 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46199 and internal_recvmmsg.
46200 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46201 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46202 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46203 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46204
f0ccf6ea
AS
46205 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46206 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46207 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46208
5b08ac57
AS
462092010-05-20 Andreas Schwab <schwab@redhat.com>
46210
46211 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46212
4828935d
LM
462132010-05-17 Luis Machado <luisgpm@br.ibm.com>
46214
46215 POWER7 optimizations.
46216 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46217 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46218
373d545e
UD
462192010-05-19 Ulrich Drepper <drepper@redhat.com>
46220
46221 * version.h: Update for 2.13 development version.
46222
21a2b1ae
AS
462232010-05-12 Andrew Stubbs <ams@codesourcery.com>
46224
46225 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46226 exceptions. Return 0.
46227
3f7dcb2b
RM
462282010-05-07 Roland McGrath <roland@redhat.com>
46229
46230 * elf/ldconfig.c (main): Add a const.
46231
5f24d53a 462322010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 46233
a160f8d8
UD
46234 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46235 (args_options): Add no-idn option.
46236 (ahosts_keys_int): Add idn_flags to ai_flags.
46237 (parse_option): Handle 'i' option to clear idn_flags.
46238
5f24d53a
UD
46239 * malloc/malloc.c (_int_free): Possible race in the most recently
46240 added check. Only act on the data if no current modification
46241 happened.
265bb1ce
UD
46242
46243See ChangeLog.17 for earlier changes.