]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
m68k: avoid pointer to integer conversion warning
[thirdparty/glibc.git] / ChangeLog
CommitLineData
f5d71e14
AS
12014-06-13 Andreas Schwab <schwab@linux-m68k.org>
2
3 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
4 __sp to uintptr_t.
5
b7aa8caa
AK
62014-06-13 Andi Kleen <ak@linux.intel.com>
7
8 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
9 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
12 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
13 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
14 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
15 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
16 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
17 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
18 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
19 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
20 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
21 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
22 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
23 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
24 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
25 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
26 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
27 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
28
8491ed6d
AK
292014-06-13 Andi Kleen <ak@linux.intel.com>
30
31 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
32 (pthread_rwlock_rdlock): Add elision.
33 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
34 (pthread_rwlock_wrlock): Add elision.
35 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
36 (pthread_rwlock_trywrlock): Add elision.
37 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
38 (pthread_rwlock_tryrdlock): Add elision.
39 * nptl/pthread_rwlock_unlock.c: Include elide.h.
40 (pthread_rwlock_tryrdlock): Add elision unlock.
41 * nptl/sysdeps/pthread/pthread.h:
42 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
43 (PTHREAD_RWLOCK_INITIALIZER,
44 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
45 Handle new elision field.
46 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
47 * sysdeps/arm/nptl/bits/pthreadtypes.h
48 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49 * sysdeps/sh/nptl/bits/pthreadtypes.h
50 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
51 * sysdeps/tile/nptl/bits/pthreadtypes.h
52 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
53 * sysdeps/a/nptl/bits/pthreadtypes.h
54 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
55 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
56 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
57 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
58 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
59 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
60 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
61 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
62 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
63 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
64 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
65 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
66 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
67 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
68 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
69 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
70 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
71 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
72 (elision_init): Set try_xbegin to zero when no RTM.
73 * sysdeps/x86/nptl/bits/pthreadtypes.h
74 (pthread_rwlock_t): Change __pad1 to __rwelision.
75 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
76
a832bdd3
AK
772014-06-13 Andi Kleen <ak@linux.intel.com>
78
79 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
80 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
81 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
82 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
83
995a46bb
MI
842014-06-13 Meador Inge <meadori@codesourcery.com>
85
86 [BZ #16996]
03ed7738 87 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
88 that the cached result has been set before returning it.
89
45262aee
RM
902014-06-12 Roland McGrath <roland@hack.frob.com>
91
febf6cc5
RM
92 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
93 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
94 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
95 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
96 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
97 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
98
e2682246
RM
99 * nptl/sysdeps/sparc/Makefile: Moved ...
100 * sysdeps/sparc/nptl/Makefile: ... here.
101 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
102 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
103 * nptl/sysdeps/sparc/tls.h: Moved ...
104 * sysdeps/sparc/nptl/tls.h: ... here.
105 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
106 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
107 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
108 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
109 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
110 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
111 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
112 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
113 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
114 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
115 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
116 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
117 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
118 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
119 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
120 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
121 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
122 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
123 Update #include.
124 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
125 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
126 Update #include.
127 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
128 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
129 Update #include.
130 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
131 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
132 Update #include.
133
b0725f43
RM
134 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
135
b14368b8
RM
136 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
137 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
138
c5620eb3
RM
139 * sysdeps/pthread/posix-timer.h: Include <list.h>.
140 (struct list_links): Type removed.
141 (struct thread_node, struct timer_node): Replace struct list_links
142 with struct list_head.
143 (list_unlink_ip): Likewise.
144 * sysdeps/pthread/timer_routines.c
145 (timer_free_list, thread_free_list, thread_active_list): Likewise.
146 (list_append, list_insbefore): Likewise.
147 (list_init): Function removed.
148 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
149 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
150 * sysdeps/pthread/Makefile: ... here, new file.
151
152 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
153 * sysdeps/nptl/Implies: ... here.
154 * sysdeps/unix/sysv/linux/Implies: Add nptl.
155 * nptl/sysdeps/pthread/list.h: Moved ...
156 * include/list.h: ... here.
157 * nptl/sysdeps/pthread/createthread.c: Moved ...
158 * nptl/createthread.c: ... here.
159 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
160 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
161 * nptl/pt-longjmp.c: ... here.
162 * nptl/sysdeps/pthread/Makefile: Moved ...
163 * sysdeps/nptl/Makefile: ... here.
164 * nptl/sysdeps/pthread/Subdirs: Moved ...
165 * sysdeps/nptl/Subdirs: ... here.
166 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
167 * sysdeps/nptl/aio_misc.h: ... here.
168 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
169 * sysdeps/nptl/bits/libc-lock.h: ... here.
170 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
171 * sysdeps/nptl/bits/libc-lockP.h: ... here.
172 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
173 * sysdeps/nptl/bits/stdio-lock.h: ... here.
174 * nptl/sysdeps/pthread/configure: Moved ...
175 * sysdeps/nptl/configure: ... here.
176 * nptl/sysdeps/pthread/configure.ac: Moved ...
177 * sysdeps/nptl/configure.ac: ... here.
178 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
179 * sysdeps/nptl/gai_misc.h: ... here.
180 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
181 * sysdeps/nptl/librt-cancellation.c: ... here.
182 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
183 * sysdeps/nptl/malloc-machine.h: ... here.
184 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
185 * sysdeps/nptl/pthread-functions.h: ... here.
186 * nptl/sysdeps/pthread/pthread.h: Moved ...
187 * sysdeps/nptl/pthread.h: ... here.
188 * nptl/sysdeps/pthread/setxid.h: Moved ...
189 * sysdeps/nptl/setxid.h: ... here.
190 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
191 * sysdeps/nptl/sigfillset.c: ... here.
192 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
193 * sysdeps/nptl/tcb-offsets.h: ... here.
194 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
195 * sysdeps/nptl/tst-mqueue8x.c: ... here.
196 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
197 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
198 * nptl/sysdeps/pthread/allocalim.h: Moved ...
199 * sysdeps/pthread/allocalim.h: ... here.
200 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
201 * sysdeps/pthread/bits/sigthread.h: ... here.
202 * nptl/sysdeps/pthread/flockfile.c: Moved ...
203 * sysdeps/pthread/flockfile.c: ... here.
204 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
205 * sysdeps/pthread/ftrylockfile.c: ... here.
206 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
207 * sysdeps/pthread/funlockfile.c: ... here.
208 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
209 * sysdeps/pthread/posix-timer.h: ... here.
210 * nptl/sysdeps/pthread/timer_create.c: Moved ...
211 * sysdeps/pthread/timer_create.c: ... here.
212 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
213 * sysdeps/pthread/timer_delete.c: ... here.
214 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
215 * sysdeps/pthread/timer_getoverr.c: ... here.
216 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
217 * sysdeps/pthread/timer_gettime.c: ... here.
218 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
219 * sysdeps/pthread/timer_routines.c: ... here.
220 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
221 * sysdeps/pthread/timer_settime.c: ... here.
222 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
223 * sysdeps/pthread/tst-timer.c: ... here.
224 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
225 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
226
e876b090
RM
227 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
228 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
229
f6b07b3d
RM
230 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
231 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
232 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
233 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
234 Update #include target.
235 * nptl/sysdeps/i386/i686/Makefile: Moved ...
236 * sysdeps/i386/i686/nptl/Makefile: ... here.
237 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
238 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
239 Update #include target.
240 * nptl/sysdeps/i386/i686/tls.h: Moved ...
241 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
242 * nptl/sysdeps/i386/Makefile: Moved ...
243 * sysdeps/i386/nptl/Makefile: ... here.
244 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
245 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
246 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
247 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
248 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
249 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
250 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
251 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
252 * sysdeps/i386/nptl/pthreaddef.h: ... here.
253 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
254 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
255 * nptl/sysdeps/i386/tls.h: Moved ...
256 * sysdeps/i386/nptl/tls.h: ... here.
257
45262aee
RM
258 * sysdeps/sh/Makefile [$(subdir) = csu]
259 (gen-as-const-headers): Add tcb-offsets.sym.
260 * nptl/sysdeps/sh/Makefile: File removed.
261 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
262 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
263 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
264 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
265 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
266 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
267 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
268 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
269 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
270 * sysdeps/sh/nptl/pthreaddef.h: ... here.
271 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
272 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
273 * nptl/sysdeps/sh/tls.h: Moved ...
274 * sysdeps/sh/nptl/tls.h: ... here.
275 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
276 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
277 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
278 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
279 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
280 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
281 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
282 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
283 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
284 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
285 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
286 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
287 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
288 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
289 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
290 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
291 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
292 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
293 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
294 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
295 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
296 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
297 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
298 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
299 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
300 Moved ...
301 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
302 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
303 Moved ...
304 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
305 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
306 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
307 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
308 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
309 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
310 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
311 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
312 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
313 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
314 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
315 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
316 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
317 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
318 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
319 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
320 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
321 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
322 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
323
35a5e3e3
SL
3242014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
325
326 * posix/spawn_faction_addopen.c: Include string.h.
327
14642b85
RM
3282014-06-11 Roland McGrath <roland@hack.frob.com>
329
330 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
331 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
332 * nptl/sysdeps/x86_64/Makefile: Moved ...
333 * sysdeps/x86_64/nptl/Makefile: ... here.
334 * nptl/sysdeps/x86_64/configure: Moved ...
335 * sysdeps/x86_64/nptl/configure: ... here.
336 * nptl/sysdeps/x86_64/configure.ac: Moved ...
337 * sysdeps/x86_64/nptl/configure.ac: ... here.
338 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
339 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
340 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
341 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
342 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
343 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
344 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
345 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
346 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
347 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
348 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
349 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
350 * nptl/sysdeps/x86_64/tls.h: Moved ...
351 * sysdeps/x86_64/nptl/tls.h: ... here.
352 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
353 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
354 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
355 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
356
357 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
358
31c44fea
AZ
3592014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
360
361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
362
e81a4f9a
JM
3632014-06-11 Joseph Myers <joseph@codesourcery.com>
364
365 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
366 type.
367 [POSIX] (off_t): Likewise.
368 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
369 [POSIX] (S_ISBLK): Require macro.
370 [POSIX] (S_ISCHR): Likewise.
371 [POSIX] (S_ISDIR): Likewise.
372 [POSIX] (S_ISFIFO): Likewise.
373 [POSIX] (S_ISREG): Likewise.
374 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
375 optional-macro.
376 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
377 type.
378 [POSIX] (time_t): Likewise.
379 [POSIX] (timer_t): Likewise.
380
89e435f3
FW
3812014-06-11 Florian Weimer <fweimer@redhat.com>
382
383 [BZ #17048]
384 * posix/spawn_int.h (struct __spawn_action): Make the path string
385 non-const to support deallocation.
386 * posix/spawn_faction_addopen.c
387 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
388 * posix/spawn_faction_destroy.c
389 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
390 path in all spawn_do_open actions.
391 * posix/tst-spawn.c (do_test): Exercise the copy operation in
392 posix_spawn_file_actions_addopen.
393
c3a2ebe1
CM
3942014-06-11 Chris Metcalf <cmetcalf@tilera.com>
395
396 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
397 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
398 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
399 conditional code always true.
400 (__libc_vfork): New alias.
401
9503784a
RM
4022014-06-11 Roland McGrath <roland@hack.frob.com>
403
c9cab3d2
RM
404 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
405 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
406
d3996c79
RM
407 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
408
ba5ec611
RM
409 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
410 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
411
f12b4814
RM
412 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
413 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
414
9503784a
RM
415 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
416 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
417
e23d3d26
VR
4182014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
419
420 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
421 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
422 multiarch strcmp for PPC64.
423 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
424 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
425 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
426 multiarch optimizations.
427 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
428 (__libc_ifunc_impl_list): Likewise.
429
42b1161e
SP
4302014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
431
432 * benchtests/scripts/validate_benchout.py: New script.
433 * benchtests/Makefile (bench-func): Call it.
434 * benchtests/scripts/benchout.schema.json: New file.
435
2d0fc4dc
CM
4362014-06-10 Chris Metcalf <cmetcalf@tilera.com>
437
4a594c34
AZ
438 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
439 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
440 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
441 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
442 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
443 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
444 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
445 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
446 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
447 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
448 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
449 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
450 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
451 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
452 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
453 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
454 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 455 Moved ...
4a594c34 456 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 457 ... here.
4a594c34 458 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 459 Moved ...
4a594c34
AZ
460 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
461 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 462 Moved ...
4a594c34 463 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 464 ... here.
4a594c34 465 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 466 Moved ...
4a594c34 467 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 468 ... here.
4a594c34 469 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 470 Moved ...
4a594c34
AZ
471 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
472 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 473 Moved ...
4a594c34 474 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 475 ... here.
4a594c34 476 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 477 Moved ...
4a594c34 478 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 479 ... here.
4a594c34 480 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 481 Moved ...
4a594c34
AZ
482 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
483 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 484 Moved ...
4a594c34 485 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 486 ... here.
4a594c34 487 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 488 Moved ...
4a594c34 489 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 490 ... here.
4a594c34 491 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 492 Moved ...
4a594c34 493 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 494 ... here.
4a594c34 495 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 496 Moved ...
4a594c34
AZ
497 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
498 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 499 Moved ...
4a594c34 500 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 501 ... here.
4a594c34 502 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 503 Moved ...
4a594c34 504 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 505 ... here.
4a594c34 506 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 507 Moved ...
4a594c34 508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 509 ... here.
4a594c34 510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 511 Moved ...
4a594c34
AZ
512 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
513 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 514 Moved ...
4a594c34 515 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 516 ... here.
4a594c34 517 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 518 Moved ...
4a594c34 519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 520 ... here.
4a594c34 521 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 522 Moved ...
4a594c34
AZ
523 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
524 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 525 Moved ...
4a594c34 526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 527 ... here.
4a594c34 528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 529 Moved ...
4a594c34
AZ
530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
531 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 532 Moved ...
4a594c34
AZ
533 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 535 Moved ...
4a594c34 536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 537 ... here.
4a594c34 538 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 539 Moved ...
4a594c34 540 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 541 ... here.
4a594c34 542 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 543 Moved ...
4a594c34 544 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 545 ... here.
4a594c34 546 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 547 Moved ...
4a594c34
AZ
548 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
549 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 550 Moved ...
4a594c34 551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 552 ... here.
4a594c34 553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 554 Moved ...
4a594c34 555 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 556 ... here.
4a594c34
AZ
557 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
558 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
559 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
560 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
561 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 562 Moved ...
4a594c34 563 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 564 ... here.
4a594c34
AZ
565 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
566 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
567 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
568 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
569 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
570 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
571 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
572 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
573 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
574 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
575 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
576 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
577 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 578 Moved ...
4a594c34
AZ
579 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
580 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 581 Moved ...
4a594c34
AZ
582 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
583 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
584 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
585 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 586 Moved ...
4a594c34
AZ
587 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
588 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
589 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
590 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
591 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
592 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
593 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 594
0570cfed
W
5952014-06-10 Wilco <wdijkstr@arm.com>
596
597 * math/test-fenv-return.c: New file.
598 * math/Makefile: Add new test test-fenv-return.
599
f8ba1b56
JM
6002014-06-10 Joseph Myers <joseph@codesourcery.com>
601
602 [BZ #17042]
603 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
604 when x - 1 is zero.
605 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
606 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
607 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
608 0.0L for an argument of 1.0L.
609 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
610 Likewise.
611 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
612 value when x - 1 is zero.
613 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
614 * sysdeps/i386/fpu/libm-test-ulps: Update.
615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
616
2c3520d9
BO
6172014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
618
619 [BZ #15119]
620 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
621
acaa4d24
RM
6222014-06-09 Roland McGrath <roland@hack.frob.com>
623
624 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
625 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
626
962b744d
RM
6272014-06-09 Roland McGrath <roland@hack.frob.com>
628
d752f0cc
RM
629 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
630 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
631
34eda6d1
RM
632 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
633 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
634
50f0a637
RM
635 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
636 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
637
08f41f04
RM
638 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
639 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
640
962b744d
RM
641 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
642 if not already defined.
643 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
644 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
645 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
646 (TLS_INIT_TP): Use it.
647 (TLS_DEFINE_INIT_TP): New macro.
648 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
649
09f19b05
JM
6502014-06-09 Joseph Myers <joseph@codesourcery.com>
651
652 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
653 constant.
654 [POSIX] (IXANY): Likewise.
655 [POSIX] (OLCUC): Likewise.
656 [POSIX || POSIX2008] (CBAUD): Do not allow.
657 [POSIX || POSIX2008] (DEFECHO): Likewise.
658 [POSIX || POSIX2008] (ECHOCTL): Likewise.
659 [POSIX || POSIX2008] (ECHOKE): Likewise.
660 [POSIX || POSIX2008] (ECHOPRT): Likewise.
661 [POSIX || POSIX2008] (EXTA): Likewise.
662 [POSIX || POSIX2008] (EXTB): Likewise.
663 [POSIX || POSIX2008] (FLUSHO): Likewise.
664 [POSIX || POSIX2008] (LOBLK): Likewise.
665 [POSIX || POSIX2008] (PENDIN): Likewise.
666 [POSIX || POSIX2008] (SWTCH): Likewise.
667 [POSIX || POSIX2008] (VDISCARD): Likewise.
668 [POSIX || POSIX2008] (VDSUSP): Likewise.
669 [POSIX || POSIX2008] (VLNEXT): Likewise.
670 [POSIX || POSIX2008] (VREPRINT): Likewise.
671 [POSIX || POSIX2008] (VSTATUS): Likewise.
672 [POSIX || POSIX2008] (VWERASE): Likewise.
673 (B*): Change to B[0123456789]*.
674 * conform/data/time.h-data [POSIX || UNIX98]
675 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
676 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
677 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
678 [POSIX] (tm_*): Do not allow.
679
686554bf
JM
6802014-06-07 Joseph Myers <joseph@codesourcery.com>
681
682 * Makefile (install): Don't set LANGUAGE.
683 * Makefile.in (install): Likewise.
684 * assert/Makefile (test-assert-ENV): Remove variable.
685 (test-assert-perr-ENV): Likewise.
686 * elf/Makefile (neededtest4-ENV): Likewise.
687 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
688 [$(cross-compiling) = no]: Don't set LANGUAGE.
689 * io/ftwtest-sh (LANG): Remove variable.
690 * libio/Makefile (tst-widetext-ENV): Likewise.
691 * manual/install.texi (Running make install): Don't refer to
692 environment settings for make install.
693 * INSTALL: Regenerated.
694 * nptl/tst-tls6.sh: Don't set LANG.
695 * posix/globtest.sh (LANG): Remove variable.
696 * string/Makefile (tester-ENV): Likewise.
697 (inl-tester-ENV): Likewise.
698 (noinl-tester-ENV): Likewise.
699 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
700 [$(cross-compiling) = no]: Don't set LANGUAGE.
701 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
702 without explicit environment settings.
703
68e6b6b1
RM
7042014-06-06 Roland McGrath <roland@hack.frob.com>
705
706 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
707 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
708 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
709 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
710
4d3ae034
CM
7112014-06-06 Chris Metcalf <cmetcalf@tilera.com>
712
713 * crypt/crypt-private.h [DOS]: Add some includes taken from the
714 other files in the crypt directory.
715 * crypt/crypt.c: Remove duplicate includes.
716 * crypt/crypt-entry.c: Likewise.
717 * crypt/crypt_util.c: Likewise.
718
8540f6d2
JM
7192014-06-06 Joseph Myers <joseph@codesourcery.com>
720
721 * Makeconfig (run-program-env): New variable.
722 (run-program-prefix-before-env): Likewise.
723 (run-program-prefix-after-env): Likewise.
724 (run-program-prefix): Define in terms of new variables.
725 (built-program-cmd-before-env): New variable.
726 (built-program-cmd-after-env): Likewise.
727 (built-program-cmd): Define in terms of new variables.
728 (test-program-prefix-before-env): New variable.
729 (test-program-prefix-after-env): Likewise.
730 (test-program-prefix): Define in terms of new variables.
731 (test-program-cmd-before-env): New variable.
732 (test-program-cmd-after-env): Likewise.
733 (test-program-cmd): Define in terms of new variables.
734 * Rules (make-test-out): Use $(run-program-env).
735 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
736 (help): Do not mention environment variables. Mention
737 --timeoutfactor option.
738 (timeoutfactor): New variable.
739 (blacklist_exports): Remove function.
740 (exports): Remove variable.
741 (command): Do not include ${exports}.
742 * manual/install.texi (Configuring and compiling): Do not mention
743 test wrappers preserving environment variables. Mention that last
744 assignment to a variable must take precedence.
745 * INSTALL: Regenerated.
746 * benchtests/Makefile (run-bench): Use $(run-program-env).
747 * catgets/Makefile ($(objpfx)test1.cat): Use
748 $(built-program-cmd-before-env), $(run-program-env) and
749 $(built-program-cmd-after-env).
750 ($(objpfx)test2.cat): Do not specify environment variables
751 explicitly.
752 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
753 $(run-program-env) and $(built-program-cmd-after-env).
754 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
755 $(run-program-env) and $(test-program-cmd-after-env).
756 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
757 explicitly.
758 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
759 run_program_env and test_program_cmd_after_env arguments.
760 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
761 * elf/tst-pathopt.sh: Use run_program_env argument.
762 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
763 $(test-wrapper-env) and $(run-program-env).
764 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
765 run_program_env arguments.
766 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
767 * intl/Makefile ($(objpfx)tst-gettext.out): Use
768 $(test-program-prefix-before-env), $(run-program-env) and
769 $(test-program-prefix-after-env).
770 ($(objpfx)tst-gettext2.out): Likewise.
771 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
772 run_program_env and test_program_prefix_after_env arguments.
773 * intl/tst-gettext2.sh: Likewise.
774 * intl/tst-gettext4.sh: Do not set environment variables
775 explicitly.
776 * intl/tst-gettext6.sh: Likewise.
777 * intl/tst-translit.sh: Likewise.
778 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
779 $(test-program-prefix-before-env), $(run-program-env) and
780 $(test-program-prefix-after-env).
781 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
782 run_program_env and test_program_prefix_after_env arguments.
783 * math/Makefile (run-regen-ulps): Use $(run-program-env).
784 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
785 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
786 explicitly with each use of ${test_wrapper_env}.
787 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
788 $(test-program-prefix-before-env), $(run-program-env) and
789 $(test-program-prefix-after-env).
790 * posix/tst-getconf.sh: Do not set environment variables
791 explicitly.
792 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
793 run_program_env and test_program_prefix_after_env arguments.
794 * stdio-common/tst-printf.sh: Do not set environment variables
795 explicitly.
796 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
797 $(test-program-prefix-before-env), $(run-program-env) and
798 $(test-program-prefix-after-env).
799 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
800 run_program_env and test_program_prefix_after_env arguments.
801 Split $test calls into $test_pre and $test.
802 * timezone/Makefile (build-testdata): Use
803 $(built-program-cmd-before-env), $(run-program-env) and
804 $(built-program-cmd-after-env).
805
ed36bfa1
AZ
8062014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
807
808 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
809 strlen for non SHARED builds.
810
fc75bf46
SP
8112014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
812
813 * nptl/allocatestack.c (check_list): Inlined function...
814 (__reclaim_stacks): ... here.
815
d89b3d80
OB
8162014-06-05 Ondřej Bílka <neleai@seznam.cz>
817
818 [BZ #15698]
819 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
820 memory overrun.
821
2bf18041
JM
8222014-06-05 Joseph Myers <joseph@codesourcery.com>
823
824 * Rules (make-test-out): Include
825 LOCPATH=$(common-objpfx)localedata in default environment.
826 * debug/Makefile (tst-chk1-ENV): Remove variable.
827 (tst-chk2-ENV): Likewise.
828 (tst-chk3-ENV): Likewise.
829 (tst-chk4-ENV): Likewise.
830 (tst-chk5-ENV): Likewise.
831 (tst-chk6-ENV): Likewise.
832 (tst-lfschk1-ENV): Likewise.
833 (tst-lfschk2-ENV): Likewise.
834 (tst-lfschk3-ENV): Likewise.
835 (tst-lfschk4-ENV): Likewise.
836 (tst-lfschk5-ENV): Likewise.
837 (tst-lfschk6-ENV): Likewise.
838 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
839 (tst-iconv7-ENV): Likewise.
840 * intl/Makefile (LOCPATH-ENV): Likewise.
841 (tst-codeset-ENV): Likewise.
842 (tst-gettext3-ENV): Likewise.
843 (tst-gettext5-ENV): Likewise.
844 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
845 (tst-fopenloc-ENV): Likewise.
846 (tst-fgetws-ENV): Remove variable.
847 (tst-ungetwc1-ENV): Likewise.
848 (tst-ungetwc2-ENV): Likewise.
849 (bug-ungetwc2-ENV): Likewise.
850 (tst-swscanf-ENV): Likewise.
851 (bug-ftell-ENV): Likewise.
852 (tst-fgetwc-ENV): Likewise.
853 (tst-fseek-ENV): Likewise.
854 (tst-ftell-partial-wide-ENV): Likewise.
855 (tst-ftell-active-handler-ENV): Likewise.
856 (tst-ftell-append-ENV): Likewise.
857 * posix/Makefile (tst-fnmatch-ENV): Likewise.
858 (tst-regexloc-ENV): Likewise.
859 (bug-regex1-ENV): Likewise.
860 (tst-regex-ENV): Likewise.
861 (tst-regex2-ENV): Likewise.
862 (bug-regex5-ENV): Likewise.
863 (bug-regex6-ENV): Likewise.
864 (bug-regex17-ENV): Likewise.
865 (bug-regex18-ENV): Likewise.
866 (bug-regex19-ENV): Likewise.
867 (bug-regex20-ENV): Likewise.
868 (bug-regex22-ENV): Likewise.
869 (bug-regex23-ENV): Likewise.
870 (bug-regex25-ENV): Likewise.
871 (bug-regex26-ENV): Likewise.
872 (bug-regex30-ENV): Likewise.
873 (bug-regex32-ENV): Likewise.
874 (bug-regex33-ENV): Likewise.
875 (bug-regex34-ENV): Likewise.
876 (bug-regex35-ENV): Likewise.
877 (tst-rxspencer-ENV): Likewise.
878 (tst-rxspencer-no-utf8-ENV): Likewise.
879 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
880 (tst-sscanf-ENV): Likewise.
881 (tst-swprintf-ENV): Likewise.
882 (tst-swscanf-ENV): Likewise.
883 (test-vfprintf-ENV): Likewise.
884 (scanf13-ENV): Likewise.
885 (bug14-ENV): Likewise.
886 (tst-grouping-ENV): Likewise.
887 * stdlib/Makefile (tst-strtod-ENV): Likewise.
888 (tst-strtod3-ENV): Likewise.
889 (tst-strtod4-ENV): Likewise.
890 (tst-strtod5-ENV): Likewise.
891 (testmb2-ENV): Likewise./
892 * string/Makefile (tst-strxfrm-ENV): Likewise.
893 (tst-strxfrm2-ENV): Likewise.
894 (bug-strcoll1-ENV): Likewise.
895 (test-strcasecmp-ENV): Likewise.
896 (test-strncasecmp-ENV): Likewise.
897 * time/Makefile (tst-strptime-ENV): Likewise.
898 (tst-ftime_l-ENV): Likewise.
899 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
900 (tst-mbrtowc-ENV): Likewise.
901 (tst-wcrtomb-ENV): Likewise.
902 (tst-mbrtowc2-ENV): Likewise.
903 (tst-c16c32-1-ENV): Likewise.
904 (tst-mbsnrtowcs-ENV): Likewise.
905
cd1fb604
OB
9062014-06-05 Ondřej Bílka <neleai@seznam.cz>
907
908 * manual/resource.texi (How to get information about the memory
909 subsystem?): Fix typo.
910 Reported by Peon de la Parra Ivan <peon@keba.com>
911
b42eca7d
GY
9122014-06-03 Guo Yixuan <culu.gyx@gmail.com>
913
914 [BZ #16882]
915 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
916 (pthread_spin_lock): Branch out of spin loop to proper location.
917 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
918 (pthread_spin_lock): Likewise.
919
902b71f9
DM
920 * nptl/tst-spin4.c: New test.
921 * nptl/Makefile (tests): Add tst-spin4.
922
f9d2d032
AS
9232014-06-03 Andreas Schwab <schwab@suse.de>
924
925 [BZ #15946]
926 * resolv/res_send.c (send_dg): Reload file descriptor after
927 calling reopen.
928
cf7bfd28
SL
9292014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
930
931 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
932
111cc714
RH
9332014-06-03 Richard Henderson <rth@redhat.com>
934
89b4bd6b
RH
935 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
936 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
937 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
938 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
939 in the SAVE_PID block.
940 (__libc_vfork): New alias.
71840409 941 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 942
111cc714
RH
943 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
944 child in registers, not on the stack. Remove RESET_PID conditionals.
945 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
946
ccc39911
MS
9472014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
948
949 * sysdeps/aarch64/libm-test-ulps: Regenerate.
950
693096cc
W
9512014-06-03 Wilco <wdijkstr@arm.com>
952
953 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
954 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
955 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
956 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
957 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
958 Likewise.
959
0b4366bc
W
9602014-06-03 Wilco <wdijkstr@arm.com>
961
962 * sysdeps/aarch64/fpu/math_private.h
963 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
964 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
965 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
966 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
967 Fix declarations.
968
8747cd03
KS
9692014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
970
971 * crypt/crypt-private.h: Include ufc-crypt.h.
972 (__b64_from_24bit): Declare extern.
973 * crypt/crypt_util.c(__b64_from_24bit): New function.
974 (b64t): New static const variable.
975 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
976 (b64t): Remove variable.
977 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
978 * crypt/sha256-crypt.c: Include crypt-private.h.
979 (b64t): Remove variable.
980 (__sha256_crypt_r): Remove b64_from_24bit and replace
981 with __b64_from_24bit.
982 * crypt/sha512-crypt.c: Likewise.
983
d936d379
RM
9842014-06-02 Roland McGrath <roland@hack.frob.com>
985
986 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
987 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
988 Label the code __libc_vfork rather than __vfork.
989 [!NOT_IN_libc] (vfork): Define as weak alias.
990 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
991 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
992 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
993
9fa76613
SP
9942014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
995
996 * malloc/malloc.c (malloc_info): Fix format specifier for
997 n_mmaps.
998
a88dadbe
W
9992014-06-02 Wilco <wdijkstr@arm.com>
1000
1001 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1002 FPCR write.
1003
c95b3011
W
10042014-06-02 Wilco <wdijkstr@arm.com>
1005
1006 [BZ #17009]
1007 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1008 Rewrite to reduce FPCR/FPSR accesses.
1009
6b4d7a90
DM
10102014-06-01 David S. Miller <davem@davemloft.net>
1011
1012 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1013
30f3d07c
DM
10142014-05-31 David S. Miller <davem@davemloft.net>
1015
1016 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1017 to occur in round to nearest mode when |x| >= 2.0
1018
74f31c18
RH
10192014-05-30 Richard Henderson <rth@twiddle.net>
1020
f0712b54
RH
1021 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1022 (PSEUDO_RET_NOERRNO): Remove.
1023 (ret): Don't redefine.
1024 (ret_NOERRNO): Define in terms of ret.
1025 (ret_ERRVAL): Likewise.
1026
74f31c18
RH
1027 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1028 use of PSEUDO_RET; perform the error check directly.
1029
30477995
MM
10302014-05-30 Marko Myllynen <myllynen@redhat.com>
1031
1032 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1033 with __int128_t.
1034
62a58816
SP
10352014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1036
1037 * malloc/malloc (malloc_info): Fix formatting.
1038
4d653a59
SP
10392014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1040 Roland McGrath <roland@hack.frob.com>
1041
1042 * malloc/malloc (malloc_info): Also print mmapped statistics.
1043
5190c17f
RM
10442014-05-30 Roland McGrath <roland@hack.frob.com>
1045
1046 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1047 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1048
987c0269
OB
10492014-05-30 Ondřej Bílka <neleai@seznam.cz>
1050
1051 * malloc/malloc.c (malloc_info): Inline mi_arena.
1052
af4e8ef9
RH
10532014-05-29 Richard Henderson <rth@twiddle.net>
1054
1670e207
RH
1055 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1056 Remove comma before expanding ASM_ARGS_##nr.
1057 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1058 Make _x0 a strict output; make _x8 a strict input; adjust expansion
1059 of ASM_ARGS_##nr.
1060 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1061 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1062 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1063 (ASM_ARGS_1): Add leading comma.
1064
11a28aee
RH
1065 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1066 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1067 to __errno_location.
1068 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1069 Remove the expected plt for __errno_location.
1070
a17e5ffb 1071 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 1072 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
1073 call to __read_tp.
1074
b5be4597
RH
1075 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1076 Always allocate 64 bytes of stack frame. Use ldp/stp to create
1077 it and break it down.
1078 (DOCARGS_0, DOCARGS_1): Do nothing.
1079 (DOCARGS_2): Update to store into the new stack frame.
1080 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1081 (UNDOCARGS_1): Update to restore from the new stack frame.
1082 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1083 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1084
645d44ab
RH
1085 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1086 (SINGLE_THREAD_P): New parameter for result regno.
1087 (PSEUDO): Update to match; use cbz instead of beq.
1088
a8b4f04a
RH
1089 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1090 Use ENTRY to define the _nocancel entry point. Share the syscall
1091 and syscall error check paths with the cancel path.
1092 (PSEUDO_END): New.
1093
af4e8ef9
RH
1094 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1095 whitespace; tabs before and after asm mnemonics.
1096
26b0d2e1
EW
10972014-05-29 Eric Wong <normalperson@yhbt.net>
1098
1099 [BZ #15132]
1100 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1101 Call fstat64 or stat64 internally, depending on arguments passed.
1102 Replace stat buffer argument with file descriptor argument.
1103 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1104 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1105 Pass fd to __internal_statvfs instead of calling fstat64.
1106 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1107 Pass fd to __internal_statvfs64 instead of calling fstat64.
1108 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1109 Pass -1 to __internal_statvfs instead of calling stat64.
1110 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1111 Pass -1 to __internal_statvfs64 instead of calling stat64.
1112
1efe2bd9
RM
11132014-05-28 Roland McGrath <roland@hack.frob.com>
1114
0d3b7a19
RM
1115 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1116 that was previously under [RESET_PID].
1117 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1118
1efe2bd9
RM
1119 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1120 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1121
a6bea3ca
RM
11222014-05-27 Roland McGrath <roland@hack.frob.com>
1123
30b6629e
RM
1124 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1125
a6bea3ca
RM
1126 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1127 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1128
3dfb9a5c
OB
11292014-05-27 Ondřej Bílka <neleai@seznam.cz>
1130
1131 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1132
774f9285
AS
11332014-05-27 Andreas Schwab <schwab@suse.de>
1134
1135 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1136 TLS_INIT_TP macro.
1137 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1138 * elf/rtld.c (init_tls, dl_main): Likewise.
1139 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1140 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1141 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1142 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1143 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1144 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1145 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1146 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1147 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1148 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1149 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1150 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1151 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1152 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1153 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1154 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1155 * sysdeps/generic/tls.h: Update description.
1156
36ffe739
WN
11572014-05-27 Will Newton <will.newton@linaro.org>
1158
1159 [BZ #16990]
1160 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1161 and restore r2 rather than just restoring.
1162
2482ae43
SP
11632014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1164
1165 [BZ #16724]
1166 * libio/tst-ftell-append.c: New test case.
1167 * libio/Makefile (tests): Add test case.
1168 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1169 append mode.
1170 * libio/wfileops.c (do_ftell_wide): Likewise.
1171
3d1024e8
AZ
11722014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1173
bab90016
AZ
1174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1175
c7a8d667
AZ
1176 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1177 ...
1178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1180 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1181 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1182 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1183 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1184 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1185 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1186 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1187 Moved ...
1188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1189 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1190 Moved ...
1191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1192 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1193 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1194 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1195 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1196 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1197 ...
1198 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1199 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1200 Moved ...
1201 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1202 here.
1203 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1204 ...
1205 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1206 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1207 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1208
daee7851
AZ
1209 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1210 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1211 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1212 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1213
50a40819
AZ
1214 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1215 merge into ...
1216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1217 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1218 ...
1219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1220 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1221 ...
1222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1223 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1224 Moved ...
1225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1226 here.
1227 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1228 Moved ...
1229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1230 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1231 Moved ...
1232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1233
8464c2a1
AZ
1234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1235 conditional [RESET_PID].
1236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1237 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1238 removed.
1239 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1240 removed.
1241
3d1024e8
AZ
1242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1243 <tcb-offsets.h>.
1244 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1245 (__libc_vfork): New strong alias.
1246 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1247 removed.
1248 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1249 Removed.
1250
1251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1252 <tcb-offsets.h>.
1253 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1254 (__libc_vfork): New strong alias.
1255 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1256 removed.
1257 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1258 removed.
1259
fdfd175d
CD
12602014-05-26 Carlos O'Donell <carlos@redhat.com>
1261
1262 * malloc/malloc.c (mi_arena): New function.
1263 (malloc_info): Remove nested function mi_arena. Call non-nosted
1264 function mi_arena.
1265
d298c416
AZ
12662014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1267
1268 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1269 by insrwi.
1270 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1271 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1272 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1273 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1274 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1275 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1276 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1277
b60ea6ff
AS
12782014-05-26 Andreas Schwab <schwab@suse.de>
1279
1280 [BZ #16984]
1281 * locale/programs/repertoire.c (repertoire_read): Add slash
1282 between I18NPATH element and file name.
1283 * locale/programs/locfile.c (locfile_read): Likewise.
1284
67365926
SL
12852014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1286
1287 * nptl/pthread_mutexattr_settype.c
1288 (__pthread_mutexattr_settype):
1289 Disable lock elision for PTHREAD_MUTEX_NORMAL.
1290
f8bdf1f0
SL
12912014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1292
1293 * nptl/tst-mutex5 (do_test):
1294 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1295
15eaf6ff
SP
12962014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1297
1298 * benchtests/README: Document 'init' directive.
1299 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1300 BENCH_INIT.
1301 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1302 (parse_file): Recognize 'init' directive.
1303
75f11331
KM
13042014-05-26 Kyle McMartin <kyle@redhat.com>
1305
1306 [BZ #16796]
1307 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1308 alignment of struct pthread.
1309
c3ec475c
SP
13102014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1311
1312 [BZ #16878]
1313 * nscd/netgroupcache.c (addgetnetgrentX): Look for
1314 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1315 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1316 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1317
82aab97c
RH
13182014-05-25 Richard Henderson <rth@twiddle.net>
1319
aa2f176d
RH
1320 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1321 (SINGLE_THREAD_P_PIC): Remove.
1322 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1323 (SINGLE_THREAD_P_PIC): Remove.
1324
ca3cfa40
RH
1325 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1326 branch to syscall error ...
1327 (PSEUDO): ... here.
1328 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1329 from __local_syscall_error to .Lsyscall_error.
1330 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1331 (SYSCALL_ERROR): Update label name.
1332
6e6c2d01
RH
1333 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1334 Do not use DOARGS/UNDOARGS.
1335 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1336 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1337 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1338 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1339 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1340
c69abcee
RH
1341 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1342 block comment.
1343
82aab97c
RH
1344 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1345 define if !NOT_IN_libc.
1346 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1347 define with non-default symbol versions.
1348
8820e3ac
RH
13492014-05-23 Richard Henderson <rth@twiddle.net>
1350
900e445f
RH
1351 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1352 (vfork, __vfork): Define via compat_symbol.
1353
8820e3ac
RH
1354 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1355 [!HAVE_IFUNC] (vfork_compat): Remove.
1356 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1357
e59252a5
JM
13582014-05-23 Joseph Myers <joseph@codesourcery.com>
1359
1360 [BZ #16978]
1361 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1362 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1363 variable.
1364
132c7f5f
RH
13652014-05-23 Richard Henderson <rth@twiddle.net>
1366
bc89e962
RH
1367 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1368 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1369 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1370 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1371
1372 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1373 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1374 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1375 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1376 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1377 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1378 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1379 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1380 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1381 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1382 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1383 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1384 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1385 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1386 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1387 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1388 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1389 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1390 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1391 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1392 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1393 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1394 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1395 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1396 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1397 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1398 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1399 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1400 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1401 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1402 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1403 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1404 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1405 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1406 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1407 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1408 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1409 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1410 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1411 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1412 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1413 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1414 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1415 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1416 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1417 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1418 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1419 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1420 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1421 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1422 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1423 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1424 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1425 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1426 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1427 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1428
e2fa4bc2
RH
1429 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1430 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1431 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
1432 before exiting on error.
1433 (__libc_vfork): New strong alias.
1434 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1435 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1436
279b24e2
RH
1437 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1438 that was previously under [RESET_PID].
1439 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1440
132c7f5f
RH
1441 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1442
b72592e7
JM
14432014-05-23 Joseph Myers <joseph@codesourcery.com>
1444
1445 [BZ #16977]
1446 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
1447 value when x - 1 is zero.
1448 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
1449 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1450 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
1451 0.0L for an argument of 1.0L.
1452 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
1453 Likewise.
1454 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
1455 value when x - 1 is zero.
1456 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
1457 * sysdeps/i386/fpu/libm-test-ulps: Update.
1458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1459
2302d679
RV
14602014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1461
1462 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
1463 alphasort and versionsort.
1464
32999d63
AZ
14652014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1466
1467 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
1468 macro.
1469 [copysignf]: Likewise.
1470
019324d0
SP
14712014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1472
1473 * crypt/md5-crypt.c: Fix formatting.
1474
34fff5c2
KS
14752014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1476
1477 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
1478 (b64_from_24bit): New function.
1479
3d2badac
AZ
14802014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1481
1482 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
1483 libc_hidden_builtin_def to ifunc.
1484 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1485 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
1486
f7bb179f 14872014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
1488
1489 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
1490 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
1491
4134b50d
JM
14922014-05-21 Joseph Myers <joseph@codesourcery.com>
1493
bb7d0337
JM
1494 * nscd/Depend (linuxthreads): Remove.
1495 (nptl): Add.
1496 * resolv/Depend (linuxthreads): Remove.
1497 * rt/Depend (linuxthreads): Remove.
1498
4134b50d
JM
1499 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
1500 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
1501 $(common-objpfx)elf/.
1502 (link-libc-before-gnulib): Likewise.
1503 (elfobjdir): Remove variable.
1504 * Makefile (install): Use $(elf-objpfx) instead of
1505 $(common-objpfx)elf/.
1506 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
1507 $(elfobjdir)/.
1508 (link-libc-deps): Likewise.
1509 ($(common-objpfx)libc.so): Likewise.
1510 ($(common-objpfx)linkobj/libc.so): Likewise.
1511 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
1512 instead of $(common-objpfx)elf/.
1513 (symbolic-link-list): Likewise.
1514 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1515 [$(cross-compiling) = no]: Likewise.
1516 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
1517 $(elfobjdir)/.
1518 (static-gnulib-arch): Likewise.
1519 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1520 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
1521 $(common-objpfx)elf/.
1522
3612eb8f
RH
15232014-05-21 Richard Henderson <rth@redhat.com>
1524
a6b3657b
RH
1525 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1526 (SINGLE_THREAD_P): Use the correct width load. Fold
1527 into the ldr offset.
1528
3612eb8f
RH
1529 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
1530 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
1531
175cef41
JM
15322014-05-20 Joseph Myers <joseph@codesourcery.com>
1533
1534 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
1535 (libgcc_s_resume): Use __attribute_used__.
1536 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
1537 Likewise.
1538
e13bccd3
AZ
15392014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1540
1541 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
1542 optimization when used with float constants.
1543
7c112a38
AZ
1544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1545
ae75a883
AJ
15462014-05-20 Aurelien Jarno <aurelien@aurel32.net>
1547
1548 [BZ #16915]
1549 * locale/nl_langinfo_l.c: Make direct reference to every
1550 _nl_current_CATEGORY symbol.
1551 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
1552 (tests-static): Add tst-langinfo-static.
1553 (tests-special): Add tst-langinfo-static.out.
1554 ($(objpfx)tst-langinfo.out): Redirect output.
1555 ($(objpfx)tst-langinfo-static.out): New.
1556 * localedata/tst-langinfo.sh: Send output to stdout.
1557 * localedata/tst-langinfo-static.c: New file.
1558
4406c41c
AJ
1559 [BZ #16965]
1560 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
1561 when the shift amount is modulo the limb size.
1562
4c0a1e63
RH
15632014-05-20 Richard Henderson <rth@redhat.com>
1564
de9d8f20
RH
1565 [BZ #16967]
1566 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
1567 Change type of sa_flags from unsigned int to int.
1568
4c0a1e63
RH
1569 [BZ #16966]
1570 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
1571
1572 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
1573
a60339aa
WN
15742014-05-20 Will Newton <will.newton@linaro.org>
1575
1576 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1577 Test the return value of the system call in the nocancel case.
1578
7d05a816
YR
15792014-05-20 Will Newton <will.newton@linaro.org>
1580 Yvan Roux <yvan.roux@linaro.org>
1581
1582 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
1583 #include of asm/ptrace.h.
1584 (PTRACE_GET_THREAD_AREA): Remove #undef.
1585 (PTRACE_GETHBPREGS): Likewise.
1586 (PTRACE_SETHBPREGS): Likewise.
1587 (struct user_regs_struct): New structure.
1588 (struct user_fpsimd_struct): New structure.
1589 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
1590 #include of asm/ptrace.h and second #include of sys/user.h.
1591 (PTRACE_GET_THREAD_AREA): Remove #undef.
1592 (PTRACE_GETHBPREGS): Likewise.
1593 (PTRACE_SETHBPREGS): Likewise.
1594 (ELF_NGREG): Use new struct user_regs_struct.
1595 (elf_fpregset_t): Use new struct user_fpsimd_struct.
1596
af121e37
AZ
15972014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1598
1599 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
1600 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
1601
834caf06
JM
16022014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1603
1604 [BZ #16958]
1605 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
1606 membar to avoid block loads/stores to overlap previous stores.
1607
e184a918
RH
16082014-05-17 Richard Henderson <rth@redhat.com>
1609
1610 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
1611 Create the __##syscall_name##_nocancel entry point.
1612 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
1613 Remove; let the sysdep-cancel.h code create it.
1614
f56c7a6a
DM
16152014-05-17 David S. Miller <davem@davemloft.net>
1616
1617 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
1618 Protect with __USE_GNU.
1619 (TIOCSET_TEMPT): Likewise.
1620 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1621 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
1622 these are already provided in bits/ioctl-types.h
1623
f75616b2
RM
16242014-05-16 Roland McGrath <roland@hack.frob.com>
1625
3edeca86
RM
1626 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
1627 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
1628
f75616b2
RM
1629 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
1630 Use wait4 regardless of [__NR_waitpid].
1631
deb0f7f6
MR
16322014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1633
1634 PR libgcc/60166
1635 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1636 (_FP_NANSIGN_Q): Set the quiet bit.
1637
79520f4b
JM
16382014-05-16 Joseph Myers <joseph@codesourcery.com>
1639
1640 * benchtests/Makefile
1641 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
1642 not $(common-objpfx)math/libm.so.
1643 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
1644 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
1645 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
1646 $(common-objpfx)dlfcn/libdl.so.
1647 ($(objpfx)tst-audit8): Depend on $(libm), not
1648 $(common-objpfx)math/libm.so.
1649 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
1650 not $(common-objpfx)dlfcn/libdl.so.
1651 * math/Makefile
1652 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1653 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
1654 [$(build-shared) = yes].
1655 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
1656 $(common-objpfx)nptl/libpthread.so.
1657 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
1658 $(common-objpfx)math/libm.so$(libm.so-version) or
1659 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
1660 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
1661 $(common-objpfx)dlfcn/libdl.so.
1662 * setjmp/Makefile (link-libm): Remove variable.
1663 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
1664 * stdio-common/Makefile (link-libm): Remove variable.
1665 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
1666 * stdlib/Makefile (link-libm): Remove variable.
1667 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
1668 ($(objpfx)tst-strtod-round): Likewise.
1669 ($(objpfx)tst-tininess): Likewise.
1670 ($(objpfx)tst-strtod-underflow): Likewise.
1671 ($(objpfx)tst-strtod6): Likewise.
1672 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
1673 $(libdl), not $(common-objpfx)nptl/libpthread.so and
1674 $(common-objpfx)dlfcn/libdl.so.
1675
026b0fe4
AZ
16762014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1677
1678 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
1679 BSD terminal modes definitions.
1680
def4bcb2
RM
16812014-05-16 Roland McGrath <roland@hack.frob.com>
1682
fe39b021
RM
1683 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
1684 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
1685
1d1fc46e 1686 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
1687 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
1688 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
1689 Don't do #include_next.
1690 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
1691 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
1692 Don't do #include_next.
1693 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
1694 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
1695 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
1696 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
1697
c72399fb
AM
16982014-05-16 Allan McRae <allan@archlinux.org>
1699
d51d659d
AM
1700 * po/sv.po: Update Swedish translation from translation project.
1701
c72399fb
AM
1702 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
1703 in sed expression.
1704
d0583c40
AJ
17052014-05-16 Aurelien Jarno <aurelien@aurel32.net>
1706
1707 [BZ #16917]
1708 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
1709 errno if the TIOCGPTN ioctl fails with an error different than
1710 EINVAL.
1711 * login/tst-ptsname.c: New file.
1712 * login/Makefile (tests): Add tst-ptsname.
1713
d16e6ec7
AJ
1714 [BZ #16943]
1715 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
1716 and prlimit64.
1717
cf26a0cb
SP
17182014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1719
1720 [BZ #16849]
1721 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
1722 herrno to return EAI_AGAIN.
1723
5675da1e
RM
17242014-05-14 Roland McGrath <roland@hack.frob.com>
1725
a5d87b3d
RM
1726 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
1727 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
1728 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
1729 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
1730 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
1731 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
1732 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
1733 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
1734 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
1735 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
1736 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
1737 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
1738 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
1739 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
1740 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
1741 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
1742 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
1743 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
1744 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
1745 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
1746 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
1747 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
1748 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
1749 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
1750 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
1751 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
1752 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
1753 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
1754 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
1755 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
1756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
1757 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
1758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
1759 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
1760 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1761 Moved ...
1762 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
1763 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
1764 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
1765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
1766 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
1767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
1768 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
1769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
1770 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
1771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
1772 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
1773 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
1774 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
1775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
1776 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
1777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
1778 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
1779 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
1780 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
1781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
1782 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
1783 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
1784 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
1785 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
1786 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
1787 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
1788 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
1789 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1790 Moved ...
1791 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
1792 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
1793 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
1794 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
1795 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
1796 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
1797 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
1798 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
1799 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
1800 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
1801 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
1802 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
1803 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
1804 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
1805 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
1806 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
1807 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
1808 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
1809 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
1810 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1811 Moved ...
1812 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
1813 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
1814 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
1815
039890a6
RM
1816 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
1817 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
1818 (libpthread-sysdep_routines): Add elision-related stuff here instead.
1819 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
1820 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
1821 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
1822 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
1823 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
1824 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
1825 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
1826 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
1827 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
1828 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
1829 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
1830 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
1831 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
1832 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
1833 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
1834 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
1835 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
1836 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
1837 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
1838 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
1839 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
1840 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
1841 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
1842 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
1843 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
1844 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
1845 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
1846 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
1847
65c89320
RM
1848 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
1849 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
1850
348f8e8c
RM
1851 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
1852 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
1853 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
1854 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
1855 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
1856 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
1857 Moved ...
1858 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
1859 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
1860 Moved ...
1861 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
1862 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
1863 Moved ...
1864 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
1865 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
1866 Moved ...
1867 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
1868 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
1869 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
1870 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
1871 Moved ...
1872 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
1873 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
1874 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
1875 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
1876 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
1877 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
1878 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
1879 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
1880 Moved ...
1881 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
1882 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1883 Moved ...
1884 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1885 ... here.
1886 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
1887 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
1888 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
1889 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
1890 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1891 Moved ...
1892 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1893 ... here.
1894 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
1895 Moved ...
1896 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
1897 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
1898 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
1899 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
1900 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
1901 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
1902 Moved ...
1903 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
1904 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
1905 Moved ...
1906 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
1907 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
1908 Moved ...
1909 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
1910 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
1911 Moved ...
1912 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
1913 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
1914 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
1915 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
1916 Moved ...
1917 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
1918 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
1919 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
1920 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
1921 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
1922 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
1923 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
1924 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
1925 Moved ...
1926 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
1927 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1928 Moved ...
1929 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1930 ... here.
1931 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
1932 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
1933 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
1934 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
1935 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1936 Moved ...
1937 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1938 ... here.
1939 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
1940 Moved ...
1941 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
1942 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
1943 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
1944 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
1945 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
1946 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
1947 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
1948 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
1949 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
1950 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
1951 Moved ...
1952 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
1953 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
1954 Moved ...
1955 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
1956 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
1957 Moved ...
1958 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
1959 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
1960 Moved ...
1961 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
1962 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
1963 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
1964 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
1965 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
1966 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
1967 Moved ...
1968 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
1969 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
1970 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
1971 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
1972 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
1973 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
1974 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
1975 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
1976 Moved ...
1977 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
1978 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1979 Moved ...
1980 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1981 ... here.
1982 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
1983 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
1984 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
1985 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
1986 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1987 Moved ...
1988 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1989 ... here.
1990 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
1991 Moved ...
1992 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
1993 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
1994 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
1995 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
1996 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
1997 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
1998 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
1999 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2000 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2001 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2002 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2003
5085af05
RM
2004 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2005 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2006
708f0813
RM
2007 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2008 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2009
c96067bc
RM
2010 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2011 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2012 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2013 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2014 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2015 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2016 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2017 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2018 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2019 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2020 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2021 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2022 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2023 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2024 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2025 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2026 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2027 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2028 Moved ...
2029 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2030 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2031 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2032 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2033 Moved ...
2034 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2035 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2036 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2037 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2038 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2039 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2040 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2041 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2042 Moved ...
2043 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2044 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2045 Moved ...
2046 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2047 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2048 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2049 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2050 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2051 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2052 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2053 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2054 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2055 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2056 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2057 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2058 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2059 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2060 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2061 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2062 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2063
ec136444
RM
2064 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2065 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2066 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2067 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2068 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2069
2fbdf533
RM
2070 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2071 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2072 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2073 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2074 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2075 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2076 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2077 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2078 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2079 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2080
4c68138b
RM
2081 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2082 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2083
4eaae765
RM
2084 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2085 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
2086 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2087 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2088 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2089 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2090 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2091 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2092 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2093 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2094 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2095 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2096 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2097 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2098 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2099 Update #include.
2100 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2101 Likewise.
2102 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2103 Likewise.
2104 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2105 Likewise.
2106 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2107 Likewise.
2108 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2109 Likewise.
2110 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2111 Likewise.
2112 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2113 Likewise.
2114 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2115 Likewise.
2116 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2117 Likewise.
4ef6befa
RM
2118 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2119 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2120 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2121 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2122 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
2123 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2124 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2125 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2126 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2127 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2128 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2129 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2130 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2131 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
2132 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 2133
941d7dfd
RM
2134 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2135 that was previously under [RESET_PID].
2136 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2137 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2138 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2139
1b731c35
RM
2140 * sysdeps/i386/nptl/Implies: New file.
2141 * sysdeps/x86_64/nptl/Implies: New file.
2142 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2143 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2144 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2145 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2146
e2787137
RM
2147 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2148 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2149 (__libc_vfork): New strong alias.
2150 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2151 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2152
2153 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2154 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2155 (__libc_vfork): New strong alias.
2156 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2157 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2158
5675da1e
RM
2159 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2160 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2161 (__libc_vfork): New strong alias.
2162 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2163 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2164 * nptl/pt-vfork.c: New file.
2165 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2166 (libpthread: GLIBC_2.20): New version set (empty).
2167
4f02e2b8
WN
21682014-05-14 Will Newton <will.newton@linaro.org>
2169
2170 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2171 rather than #if.
2172
0bf061d3
JM
21732014-05-14 Joseph Myers <joseph@codesourcery.com>
2174
1a84c3d6
JM
2175 [BZ #16564]
2176 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2177 arguments with exponent 65 or above.
2178 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2179 arguments 0x1p113L or above.
2180 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2181 to arguments 0x1p107L or above.
2182 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2183 positive arguments with exponent 65 or above.
2184 * math/auto-libm-test-in: Add more tests of log1p.
2185 * math/auto-libm-test-out: Regenerated.
2186
01dbacd2
JM
2187 [BZ #16928]
2188 * math/s_cacos.c (__cacos): Ensure zero real part of result from
2189 non-finite arguments is +0.
2190 * math/s_cacosf.c (__cacosf): Likewise.
2191 * math/s_cacosl.c (__cacosl): Likewise.
2192 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2193 * sysdeps/i386/fpu/libm-test-ulps: Update.
2194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2195
913d03c8
JM
2196 [BZ #16927]
2197 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2198 value.
2199 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2200 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2201 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2202 for explicit high bit of mantissa when testing for argument equal
2203 to 1.
2204 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2205 * sysdeps/i386/fpu/libm-test-ulps: Update.
2206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2207
0bf061d3
JM
2208 [BZ #16516]
2209 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2210 (__erf): Scale by 16 instead of 8 in potentially underflowing
2211 case. Ensure exception if result actually underflows.
2212 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2213 (__erff): Scale by 16 instead of 8 in potentially underflowing
2214 case. Ensure exception if result actually underflows.
2215 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2216 (efx8): Remove variable.
2217 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2218 case. Ensure exception if result actually underflows.
2219 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2220 (efx8): Remove variable.
2221 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2222 case. Ensure exception if result actually underflows.
2223 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2224 (efx8): Remove variable.
2225 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2226 case. Ensure exception if result actually underflows.
2227 * math/auto-libm-test-in: Add more tests of erf.
2228 * math/auto-libm-test-out: Regenerated.
2229
73ba67cb
AS
22302014-05-14 Andreas Schwab <schwab@suse.de>
2231
3d8c8bff
AS
2232 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2233 Remove code conditionalized on USE___THREAD.
2234
73ba67cb
AS
2235 * config.h.in (HAVE_PT_CHOWN): Define as 0.
2236 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2237 not definedness.
2238
5c521ecd
JM
22392014-05-14 Joseph Myers <joseph@codesourcery.com>
2240
5e7698c6
JM
2241 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2242 Define unconditionally.
2243 (__ASSUME_O_CLOEXEC): Likewise.
2244 (__ASSUME_SOCK_CLOEXEC): Likewise.
2245 (__ASSUME_IN_NONBLOCK): Likewise.
2246 (__ASSUME_PIPE2): Likewise.
2247 (__ASSUME_EVENTFD2): Likewise.
2248 (__ASSUME_SIGNALFD4): Likewise.
2249 (__ASSUME_DUP3): Likewise.
2250 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2251 (__ASSUME_DUP3): Do not define.
2252 (__ASSUME_EVENTFD2): Likewise.
2253 (__ASSUME_IN_NONBLOCK): Likewise.
2254 (__ASSUME_O_CLOEXEC): Likewise.
2255 (__ASSUME_PIPE2): Likewise.
2256 (__ASSUME_SIGNALFD4): Likewise.
2257 (__ASSUME_SOCK_CLOEXEC): Likewise.
2258 (__ASSUME_UTIMES): Undefine.
2259 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2260 (__ASSUME_UTIMES): Do not define.
2261 (__ASSUME_O_CLOEXEC): Likewise.
2262 (__ASSUME_SOCK_CLOEXEC): Likewise.
2263 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2264 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2265 0x020621].
2266 (__ASSUME_PIPE2): Likewise.
2267 (__ASSUME_EVENTFD2): Likewise.
2268 (__ASSUME_SIGNALFD4): Likewise.
2269 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2270 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2271 Do not define.
2272 (__ASSUME_EVENTFD2): Likewise.
2273 (__ASSUME_SIGNALFD4): Likewise.
2274 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2275 (__ASSUME_32BITUIDS): Likewise.
2276 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2277 (__ASSUME_IPC64): Likewise.
2278 (__ASSUME_ST_INO_64_BIT): Likewise.
2279 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2280 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2281 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2282 (__ASSUME_UTIMES): Do not define.
2283 (__ASSUME_PSELECT): Likewise.
2284 (__ASSUME_PPOLL): Likewise.
2285 (__ASSUME_O_CLOEXEC): Likewise.
2286 (__ASSUME_SOCK_CLOEXEC): Likewise.
2287 (__ASSUME_IN_NONBLOCK): Likewise.
2288 (__ASSUME_PIPE2): Likewise.
2289 (__ASSUME_EVENTFD2): Likewise.
2290 (__ASSUME_SIGNALFD4): Likewise.
2291 (__ASSUME_DUP3): Likewise.
2292 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2293 (__ASSUME_UTIMES): Likewise.
2294 (__ASSUME_O_CLOEXEC): Likewise.
2295 (__ASSUME_SOCK_CLOEXEC): Likewise.
2296 (__ASSUME_IN_NONBLOCK): Likewise.
2297 (__ASSUME_PIPE2): Likewise.
2298 (__ASSUME_EVENTFD2): Likewise.
2299 (__ASSUME_SIGNALFD4): Likewise.
2300 (__ASSUME_DUP3): Likewise.
2301 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2302 (__ASSUME_UTIMES): Likewise.
2303 (__ASSUME_O_CLOEXEC): Likewise.
2304 (__ASSUME_SOCK_CLOEXEC): Likewise.
2305 (__ASSUME_IN_NONBLOCK): Likewise.
2306 (__ASSUME_PIPE2): Likewise.
2307 (__ASSUME_EVENTFD2): Likewise.
2308 (__ASSUME_SIGNALFD4): Likewise.
2309 (__ASSUME_DUP3): Likewise.
2310 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2311 Likewise.
2312 (__ASSUME_UTIMES): Likewise.
2313 (__ASSUME_EVENTFD2): Likewise.
2314 (__ASSUME_SIGNALFD4): Likewise.
2315 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2316 (__ASSUME_O_CLOEXEC): Likewise.
2317 (__ASSUME_SOCK_CLOEXEC): Likewise.
2318 (__ASSUME_IN_NONBLOCK): Likewise.
2319 (__ASSUME_PIPE2): Likewise.
2320 (__ASSUME_EVENTFD2): Likewise.
2321 (__ASSUME_SIGNALFD4): Likewise.
2322 (__ASSUME_DUP3): Likewise.
2323 (__ASSUME_UTIMES): Undefine.
2324
5c521ecd
JM
2325 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2326 feclearexcept. Remove symbol versioning code.
2327 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
2328 symbol versioning code.
2329 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
2330 symbol versioning code.
2331 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2332 feupdateenv. Remove symbol versioning code.
2333 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2334 fegetexceptflag. Remove symbol versioning code.
2335 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2336 fesetexceptflag. Remove symbol versioning code.
2337 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2338 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
2339 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2340 (__posix_fadvise64_l32): Remove prototype.
2341 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2342 code.
2343
5da9dfad
RM
23442014-05-13 Roland McGrath <roland@hack.frob.com>
2345
2346 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2347 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2348 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2349 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2350
893b4f37
SK
23512014-05-13 Sami Kerola <kerolasa@iki.fi>
2352
2353 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2354 current working directory
2355
e0db6517
RM
23562014-05-13 Roland McGrath <roland@hack.frob.com>
2357
58aa195d
RM
2358 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2359 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2360 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2361 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2362 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2363 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2364 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2365 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2366 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2367 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2368 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2369 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2370 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2371 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2372 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2373 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2374 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2375 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2376 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2377 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2378 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2379 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2380 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2381 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2382 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2383 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2384 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2385 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2386 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2387 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2388 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2389 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2390 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2391 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2392 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2393 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2394 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2395 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2396 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2397 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2398 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2399 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2400
8c6d01f0
RM
2401 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2402 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2403
2404 * sysdeps/unix/sysv/linux/arm/Makefile
2405 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2406 Add rt-aeabi_unwind_cpp_pr1.
2407 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2408 Add nptl-aeabi_unwind_cpp_pr1.
2409 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2410 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2411 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2412 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2413 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2414 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2415
2416 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2417 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2418 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2419 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2420
bba6da4e
RM
2421 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2422 Deconditionalize the code that was previously under [RESET_PID].
2423 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2424
e0db6517
RM
2425 * sysdeps/generic/exit-thread.h: New file.
2426 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2427 * include/unistd.h (__exit_thread): Remove declaration.
2428 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2429 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2430 * csu/libc-start.c: Include <exit-thread.h>.
2431 (LIBC_START_MAIN): Pass no argument to __exit_thread.
2432 * nptl/pthread_create.c: Include <exit-thread.h>.
2433 (start_thread): Call __exit_thread in place of __exit_thread_inline.
2434 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2435 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2436 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2437 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2438 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2439 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2440 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2441 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2442 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2443 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2444 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2445 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
2446 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
2447 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
2448 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
2449 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
2450
01eb16fd
AS
24512014-05-13 Andreas Schwab <schwab@suse.de>
2452
2453 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
2454
637461d9
JM
24552014-05-12 Joseph Myers <joseph@codesourcery.com>
2456
2457 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2458 (__ASSUME_UTIMES): Do not condition on kernel version.
2459 (__ASSUME_PSELECT): Define unconditionally.
2460 (__ASSUME_PPOLL): Likewise.
2461 (__ASSUME_ATFCTS): Likewise.
2462 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
2463 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
2464 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
2465 (__ASSUME_UTIMENSAT): Define unconditionally.
2466 (__ASSUME_PRIVATE_FUTEX): Likewise.
2467 (__ASSUME_FALLOCATE): Likewise.
2468 (__ASSUME_O_CLOEXEC): Likewise.
2469 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
2470 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
2471 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
2472 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
2473 (__ASSUME_IN_NONBLOCK): Likewise.
2474 (__ASSUME_PIPE2): Likewise.
2475 (__ASSUME_EVENTFD2): Likewise.
2476 (__ASSUME_SIGNALFD4): Likewise.
2477 (__ASSUME_DUP3): Likewise.
2478 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2479 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
2480 (__ASSUME_AT_RANDOM): Likewise.
2481 (__ASSUME_PREADV): Likewise.
2482 (__ASSUME_PWRITEV): Likewise.
2483 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
2484 (__ASSUME_F_GETOWN_EX): Define unconditionally.
2485 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
2486 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2487 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
2488 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2489 (__ASSUME_O_CLOEXEC): Define unconditionally.
2490 (__ASSUME_PSELECT): Do not undefine conditionally.
2491 (__ASSUME_PPOLL): Likewise.
2492 (__ASSUME_ATFCTS): Likewise.
2493 (__ASSUME_SET_ROBUST_LIST): Likewise.
2494 (__ASSUME_UTIMENSAT): Likewise.
2495 (__ASSUME_FDATASYNC): Define unconditionally.
2496 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2497 (__ASSUME_SIGFRAME_V2): Likewise.
2498 )__ASSUME_EVENTFD2): Likewise.
2499 (__ASSUME_SIGNALFD4): Likewise.
2500 (__ASSUME_PSELECT): Do not undefine conditionally.
2501 (__ASSUME_PPOLL): Likewise.
2502 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2503 (__ASSUME_PSELECT): Define unconditionally.
2504 (__ASSUME_PPOLL): Likewise.
2505 (__ASSUME_O_CLOEXEC): Likewise.
2506 (__ASSUME_SOCK_CLOEXEC): Likewise.
2507 (__ASSUME_IN_NONBLOCK): Likewise.
2508 (__ASSUME_PIPE2): Likewise.
2509 (__ASSUME_EVENTFD2): Likewise.
2510 (__ASSUME_SIGNALFD4): Likewise.
2511 (__ASSUME_DUP3): Likewise.
2512 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2513 (__ASSUME_O_CLOEXEC): Likewise.
2514 (__ASSUME_SOCK_CLOEXEC): Likewise.
2515 (__ASSUME_IN_NONBLOCK): Likewise.
2516 (__ASSUME_PIPE2): Likewise.
2517 (__ASSUME_EVENTFD2): Likewise.
2518 (__ASSUME_SIGNALFD4): Likewise.
2519 (__ASSUME_DUP3): Likewise.
2520 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2521 (__ASSUME_EVENTFD2): Likewise.
2522 (__ASSUME_SIGNALFD4): Likewise.
2523 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2524
315eb1d8
AS
25252014-05-12 Andreas Schwab <schwab@suse.de>
2526
2527 [BZ #16932]
2528 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
2529 (_nss_nis_gethostbyname4_r): Return error if item length is larger
2530 than maximum RPC packet size.
2531 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
2532 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
2533 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
2534 (_nss_nis_getservbyport_r): Likewise.
2535
91df99f7
WN
25362014-05-12 Will Newton <will.newton@linaro.org>
2537
2538 * malloc/Makefile (tests): Add tst-mallopt.
2539 * malloc/tst-mallopt.c: New file.
2540
0a982a29
RM
25412014-05-09 Roland McGrath <roland@hack.frob.com>
2542
2543 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
2544 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
2545
0ded08a5
AZ
25462014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2547
2548 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
2549 (tst-tlsmod6.so): Likewise.
2550
55d4d550
RM
25512014-05-09 Roland McGrath <roland@hack.frob.com>
2552
2553 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
2554
77d08aca
JM
25552014-05-09 Joseph Myers <joseph@codesourcery.com>
2556
2557 [BZ #16064]
2558 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
2559 and <dl-procinfo.h>.
2560 (__fegetenv): Save SSE state in envp->__eip if supported.
2561 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
2562 envp->__eip if supported.
2563 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
2564 and <dl-procinfo.h>.
2565 (__fesetenv): Always set __eip, __cs_selector, __opcode,
2566 __data_offset and __data_selector in environment to 0. Set SSE
2567 state if supported.
2568 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2569 test-fenv-sse.
2570 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
2571 -mfpmath=sse.
2572 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
2573
28162f4d
WN
25742014-05-09 Will Newton <will.newton@linaro.org>
2575
2576 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
2577 and libc_relro_required for ARM.
2578 * sysdeps/arm/preconfigure: Regenerate.
2579
5a414ff7
DV
25802014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
2581 Stefan Liebler <stli@linux.vnet.ibm.com>
2582
2583 * config.make.in (enable-lock-elision): New Makefile variable.
2584 * configure.ac: Likewise.
2585 * configure: Regenerate.
2586 * sysdeps/s390/configure.ac:
2587 Add check for gcc transactions support.
2588 * sysdeps/s390/configure: Regenerate.
2589 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
2590 Build elision files if enabled.
2591 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
2592 Add lock elision support for s390.
2593 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
2594 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
2595 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2596 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2597 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2598 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
2599 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2600 Likewise.
2601 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
2602 Likewise.
2603 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
2604 Likewise.
2605 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
2606 Likewise.
2607 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
2608 (__lll_timedlock_elision, __lll_lock_elision)
2609 (__lll_unlock_elision, __lll_trylock_elision)
2610 (lll_timedlock_elision, lll_lock_elision)
2611 (lll_unlock_elision, lll_trylock_elision): Add.
2612 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2613 (pthread_mutex_t): Add lock elision support for s390.
2614
1a2f40e5
W
26152014-05-14 Wilco <wdijkstr@arm.com>
2616
2617 * sysdeps/arm/fclrexcpt.c: Cleanup.
2618 * sysdeps/arm/fedisblxcpt.c: Cleanup.
2619 * sysdeps/arm/feenablxcpt.c: Cleanup.
2620 * sysdeps/arm/fegetenv.c: Cleanup.
2621 * sysdeps/arm/fegetexcept.c: Cleanup.
2622 * sysdeps/arm/fegetround.c: Cleanup.
2623 * sysdeps/arm/feholdexcpt.c: Cleanup.
2624 * sysdeps/arm/fesetenv.c: Cleanup.
2625 * sysdeps/arm/fesetround.c: Cleanup.
2626 * sysdeps/arm/feupdateenv.c: Cleanup.
2627 * sysdeps/arm/fgetexcptflg.c: Cleanup.
2628 * sysdeps/arm/fraiseexcpt.c: Cleanup.
2629 * sysdeps/arm/fsetexcptflg.c: Cleanup.
2630 * sysdeps/arm/ftestexcept.c: Cleanup.
2631 * sysdeps/arm/get-rounding-mode.h: Cleanup.
2632 * sysdeps/arm/setfpucw.c: Cleanup.
2633
f63c86fe
WN
26342014-05-09 Will Newton <will.newton@linaro.org>
2635
2636 * sysdeps/arm/armv7/strcmp.S: New file.
2637 * NEWS: Mention addition of ARMv7 optimized strcmp.
2638
7a1a51b5
RM
26392014-05-08 Roland McGrath <roland@hack.frob.com>
2640
95afbbe5
RM
2641 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
2642 look for %.ac rather than %.in.
2643
2644 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
2645 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
2646 * sysdeps/mach/hurd/configure: Regenerated.
2647 * sysdeps/unix/sysv/linux/configure: Regenerated.
2648
7a1a51b5
RM
2649 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
2650
5057ad3b
SE
26512014-05-07 Steve Ellcey <sellcey@mips.com>
2652
2653 [BZ# 16922]
2654 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
2655 (LONG_SUB): Ditto.
2656 (PTR_SUB): Ditto.
2657
8dc97517
AS
26582014-05-07 Andreas Schwab <schwab@suse.de>
2659
2660 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
2661 when skipping over non-matching result from nscd.
2662
ce0c5b8f
OB
26632014-05-07 Ondřej Bílka <neleai@seznam.cz>
2664
2665 [BZ #16876]
2666 * nptl/sockperf.c (client): Check socket return value.
8dc97517 2667
a1189263
OB
2668 [BZ #16877]
2669 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
2670 nscd security class.
ce0c5b8f 2671
0f58d252
RM
26722014-05-06 Roland McGrath <roland@hack.frob.com>
2673
2674 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
2675 * sysdeps/arm/unwind.h: ... here.
2676
83df9ad0
AJ
26772014-05-06 Aurelien Jarno <aurelien@aurel32.net>
2678
ce0c5b8f
OB
2679 [BZ# 16916]
2680 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
2681 Define.
83df9ad0 2682
f360f94a
VR
26832014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2684
2685 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
2686 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
2687 multiarch strncpy for PPC64.
2688 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
2689 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
2690 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
2691 multiarch optimizations.
2692 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2693 (__libc_ifunc_impl_list): Likewise.
2694 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
2695 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
2696 multiarch stpncpy for PPC64.
2697 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
2698 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
2699
978a41c3
AS
27002014-05-06 Andreas Schwab <schwab@suse.de>
2701
2702 [BZ #16912]
2703 * gmon/mcount.c (_MCOUNT_DECL): Use
2704 atomic_compare_and_exchange_bool_acq instead of
2705 catomic_compare_and_exchange_bool_acq.
2706
eb1ed03d
RM
27072014-05-05 Roland McGrath <roland@hack.frob.com>
2708
fe658845
RM
2709 * elf/Makefile (others, install-bin): Remove pldd.
2710 (pldd-modules): Variable removed.
2711 ($(objpfx)pldd): Target removed.
2712 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
2713 (others, install-bin): Append pldd here.
2714 ($(objpfx)pldd): New target.
2715
eb1ed03d
RM
2716 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
2717 to 0, so the first #if test emitted later doesn't see it undefined.
2718 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
2719 * sysdeps/gnu/errlist.c: Regenerated.
2720
19c4bec0
AZ
27212014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2722
2723 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2724 [libc_hidden_builtin_def]: Define to empty value.
2725 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
2726 [libc_hidden_builtin_def]: Likewise.
2727 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
2728 [libc_hidden_builtin_def]: Likewise.
2729 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
2730 [libc_hidden_builtin_def]: Likewise.
2731 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
2732 __redirect_memcpy and define ifunc as default hidden symbol.
2733 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
2734 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
2735
7776e669
AC
27362014-05-04 Adam Conrad <adconrad@0c3.net>
2737
2738 * locale/iso-4217.def: Reintroduce XDR currency.
2739
d69aeb12
AM
27402014-05-04 Allan McRae <allan@archlinux.org>
2741
2742 * po/eo.po: Update Esperanto translation from translation project.
2743
8f1df5cf
CD
27442014-05-02 Carlos O'Donell <carlos@redhat.com>
2745
2746 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
2747 and FEATURE_INDEX_MAX to 1.
2748 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
2749
13e402e7
SE
27502014-05-01 Steve Ellcey <sellcey@mips.com>
2751
2752 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
2753 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
2754 * iconvdata/big5.c (ONE_DIRECTION): Define.
2755 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
2756 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
2757 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
2758 * iconvdata/cp932.c (ONE_DIRECTION): Define.
2759 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
2760 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
2761 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
2762 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
2763 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
2764 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
2765 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
2766 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
2767 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
2768 * iconvdata/gbk.c (ONE_DIRECTION): Define.
2769 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
2770 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
2771 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
2772 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
2773 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
2774 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
2775 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
2776 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
2777 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
2778 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
2779 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
2780 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
2781 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
2782 * iconvdata/iso646.c (ONE_DIRECTION): Define.
2783 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
2784 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
2785 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
2786 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
2787 * iconvdata/johab.c (ONE_DIRECTION): Define.
2788 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
2789 * iconvdata/sjis.c (ONE_DIRECTION): Define.
2790 * iconvdata/t.61.c (ONE_DIRECTION): Define.
2791 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
2792 * iconvdata/tscii.c (ONE_DIRECTION): Define.
2793 * iconvdata/uhc.c (ONE_DIRECTION): Define.
2794 * iconvdata/unicode.c (ONE_DIRECTION): Define.
2795 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
2796 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
2797 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
2798
c727f032
RM
27992014-05-01 Roland McGrath <roland@hack.frob.com>
2800
8f2f08d0
RM
2801 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
2802 (_IO_JUMPS_OFFSET): Define to 0.
2803
c727f032
RM
2804 * nptl/sysdeps/pthread/bits/libc-lock.h
2805 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2806 (__libc_lock_define_initialized_recursive): Always define using
2807 initializer. Modern compilers treat uninitialized (implicit zero) and
2808 explicit zero initializers the same (i.e. put the datum in bss).
2809
a849e800
AS
28102014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2811
2812 * nscd/nscd-client.h: Include <string.h>.
2813
5331255b
DM
28142014-05-01 David S. Miller <davem@davemloft.net>
2815
2816 [BZ #16885]
2817 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
2818 multiple zero bytes exist at the end of a string.
2819 Reported by Aurelien Jarno <aurelien@aurel32.net>
2820
2821 * string/test-strcmp.c (check): Add explicit test for situations where
2822 there are multiple zero bytes after the first.
2823
4fdfe821
AS
28242014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2825
2826 [BZ #16890]
2827 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
2828 when compiling wprintf.
2829 * stdio-common/tstdiomisc.c (t3): New function.
2830 (main): Call it.
2831
0cdddc25
SE
28322014-05-01 Steve Ellcey <sellcey@mips.com>
2833
2834 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
2835 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
2836 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
2837 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
2838
6426d77e
SE
28392014-05-01 Steve Ellcey <sellcey@mips.com>
2840
2841 * stdlib/longlong.h: Updated from GCC.
2842
6d96f5e4
WN
28432014-05-01 Will Newton <will.newton@linaro.org>
2844 Bernard Ogden <bernie.ogden@linaro.org>
2845
7470db0c
WN
2846 * NEWS: Update fixed bug list.
2847
6d96f5e4
WN
2848 [BZ #15119]
2849 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
2850
211d653c
DM
28512014-04-30 David S. Miller <davem@davemloft.net>
2852
4fa262fa
DM
2853 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
2854 (libc_feholdexcept_setround_sparc_ctx): New function.
2855 (libc_fesetenv_sparc_ctx): Likewise.
2856 (libc_feupdateenv_sparc_ctx): Likewise.
2857 (libc_feholdsetround_sparc_ctx): Likewise.
2858 (libc_feholdexcept_setround_ctx): Define.
2859 (libc_feholdexcept_setroundf_ctx): Likewise.
2860 (libc_feholdexcept_setroundl_ctx): Likewise.
2861 (libc_fesetenv_ctx): Likewise.
2862 (libc_fesetenvf_ctx): Likewise.
2863 (libc_fesetenvl_ctx): Likewise.
2864 (libc_feupdateenv_ctx): Likewise.
2865 (libc_feupdateenvf_ctx): Likewise.
2866 (libc_feupdateenvl_ctx): Likewise.
2867 (libc_feresetround_ctx): Likewise.
2868 (libc_feresetroundf_ctx): Likewise.
2869 (libc_feresetroundl_ctx): Likewise.
2870 (libc_feholdsetround_ctx): Likewise.
2871 (libc_feholdsetroundf_ctx): Likewise.
2872 (libc_feholdsetroundl_ctx): Likewise.
2873
1d3d93ef
DM
2874 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2875 with __USE_GNU instead of XOPEN cpp guards.
2876
8aa583c3
DM
2877 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
2878 0.
2879
211d653c
DM
2880 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2881 with XOPEN cpp guards.
2882
60c8f1f6
JB
28832014-04-30 Julian Brown <julian@codesourcery.com>
2884
2885 [BZ #16888]
2886 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
2887 handling.
2888
9a461d46
JM
28892014-04-30 Joseph Myers <joseph@codesourcery.com>
2890
d0f5b3f8
JM
2891 [BZ #9894]
2892 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2893 Change to 2.6.32.
2894 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
2895 * sysdeps/unix/sysv/linux/configure: Regenerated.
2896 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
2897 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
2898 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
2899 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
2900 * README: Update reference to required Linux kernel version.
2901 * manual/install.texi (Linux): Update reference to required Linux
2902 kernel headers version.
2903 * INSTALL: Regenerated.
2904
9a461d46
JM
2905 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
2906 header inclusion.
2907 [POSIX] (limits.h): Likewise.
2908 [POSIX] (math.h): Likewise.
2909 [POSIX] (sys/wait.h): Likewise.
2910 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
2911 function.
2912 [POSIX] (stddef.h): Do not allow header inclusion.
2913
1775babf
AZ
29142014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2915
57f41c40 2916 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 2917
8f630cca
YY
29182014-04-30 Yang Yingliang <yangyingliang@huawei.com>
2919
2920 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2921 Return immediately after lll_futex_wake.
2922
1cdeb237
SP
29232014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2924
bc8f194c
SP
2925 [BZ #16791]
2926 * nscd/nscd-client.h (datahead_init_common): Initialize entire
2927 structure.
2928 (datahead_init_pos): Call datahead_init_common early.
2929 (datahead_init_neg): Likewise.
2930
1cdeb237
SP
2931 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
2932 datahead_init_neg): New functions.
2933 * nscd/aicache.c (addhstaiX): Use them.
2934 * nscd/grpcache.c (cache_addgr): Likewise.
2935 * nscd/hstcache.c (cache_addhst): Likewise.
2936 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2937 * nscd/netgroupcache.c (do_notfound): Likewise.
2938 (addgetnetgrentX): Likewise.
2939 (addinnetgrX): Likewise.
2940 * nscd/pwdcache.c (cache_addpw): Likewise.
2941 * nscd/servicescache.c (cache_addserv): Likewise.
2942
16b293a7
SP
29432014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2944 Atsushi Onoe <atsushi@onoe.org>
2945
2946 [BZ #14308]
2947 [BZ #12994]
2948 [BZ #13651]
2949 * resolv/res_query.c (__libc_res_nsearch): Return if at least
2950 one response is valid.
2951 * resolv/res_send.c (send_dg): Check for validity of other
2952 response if the current response is a referral.
2953
a28a9b94
SE
29542014-04-29 Steve Ellcey <sellcey@mips.com>
2955
2956 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
2957
2ca180e9
SL
29582014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
2959
2960 [BZ #16823]
2961 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
2962 Always divide by positive zero when computing -Inf result.
2963 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2964 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
2965
18f2945a
AZ
29662014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2967
2968 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
2969 FPSCR if value do not change.
2970 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2971 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
2972 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2973 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2974 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
2975 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
2976 function.
2977
5abebba4
CD
29782014-05-29 Carlos O'Donell <carlos@systemhalted.org>
2979
2980 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
2981 * sysdeps/unix/sysv/linux/hppa: Move directory from
2982 ports/systeps/unix/sysv/linux/hppa.
2983 * README: Update listing for hppa-*-linux-gnu.
2984
f7ed60c2
OB
29852014-04-28 Ondřej Bílka <neleai@seznam.cz>
2986
fff763a5
OB
2987 [BZ #16754]
2988 * manual/stdio.texi (Hook functions): Fix types of stream hook
2989 functions.
f7ed60c2
OB
2990 [BZ #16854]
2991 * socket/sys/socket.h: Fix typo in comment.
2992
df639d73
WD
29932014-04-28 Wilco <wdijkstr@arm.com>
2994
f7ed60c2 2995 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
2996 * sysdeps/arm/math_private.h: New file.
2997 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
2998
48332d82
L
29992014-04-25 H.J. Lu <hongjiu.lu@intel.com>
3000
3001 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3002 with __int128_t.
3003 (La_x86_64_retval): Likewise.
3004
e5e0d9a4
IB
30052014-04-24 Ian Bolton <ian.bolton@arm.com>
3006
3007 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3008 fpsr if value didn't change.
3009 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3010 to fpcr if value didn't change.
3011 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3012 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3013 fpsr or fpcr if value didn't change.
3014 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3015 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3016 fpcr if value didn't change.
3017 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3018 to fpsr if value didn't change.
3019
bacc75f7
SP
30202014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3021
3022 * nptl/tst-sem3.c: Use test-skeleton.c
3023 (main): Rename to do_test. Use return instead of
3024 exit.
3025 * nptl/tst-sem4.c: Use test-skeleton.c
3026 (main): Rename to do_test.
3027
a059d359
DM
30282014-04-22 David S. Miller <davem@davemloft.net>
3029
3030 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3031 (struct sigaction): New struct member __glibc_reserved0, change
3032 type of sa_flags to int.
3033
ea6c92f3
YZ
30342014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
3035
3036 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3037 (COUNT_LEADING_ZEROS_0): Define for AArch64.
3038
766c4a36
SP
30392014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3040
3041 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3042 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3043
140cc7ab
VK
30442014-04-22 Will Newton <will.newton@linaro.org>
3045 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
3046
3047 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3048 (__longjmp): Add longjmp and longjmp_target SystemTap
3049 probes.
3050 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3051 (__sigsetjmp): Add setjmp SystemTap probe.
3052
c54e5cf7
CD
30532014-04-17 Carlos O'Donell <carlos@redhat.com>
3054
3055 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3056 match manual order.
3057
75ffb047
AZ
30582014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3059
3060 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3061
2cd925f7
AZ
3062 * sysdeps/powerpc/fpu/fenv_private.h
3063 (libc_feholdexcept_setroundl_ctx): Define to
3064 libc_feholdexcept_setround_ppc_ctx.
3065 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3066 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3067 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3068 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3069
39e6cd8d
IB
30702014-04-17 Ian Bolton <ian.bolton@arm.com>
3071
3072 * sysdeps/aarch64/math-tests.h: New file.
3073
f9281df9
SY
30742014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
3075
3076 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3077 New.
3078 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3079 Check and set bit_AVX2_Usable.
3080 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3081 macro.
3082 (bit_AVX2): Likewise.
3083 (index_AVX2_Usable): Likewise.
3084 (CPUID_AVX2): Likewise.
3085 (HAS_AVX2): Likewise.
3086
37d35007
WN
30872014-04-17 Will Newton <will.newton@linaro.org>
3088
7c677662
WN
3089 * manual/setjmp.texi (System V contexts): Add note that
3090 calling setcontext on a context created by a call to a
3091 signal handler is undefined. Update text to note that
3092 setcontext from a signal handler is possible but not
3093 recommended.
3094
37d35007 3095 [BZ #16629]
e04a4e9d
WN
3096 * stdlib/tst-setcontext.c: Include signal.h.
3097 (main): Check that the signal stack before and
3098 after swapcontext is the same.
3099
37d35007
WN
3100 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3101 Re-implement to restore registers in user code and avoid
3102 rt_sigreturn system call.
3103
423a7160
W
31042014-04-17 Wilco <wdijkstr@arm.com>
3105
3106 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3107 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3108 * math/test-fenv.c: Skip exception trap tests on targets which only
3109 support non-stop mode.
3110
bc93ab29
IB
31112014-04-17 Ian Bolton <ian.bolton@arm.com>
3112 Wilco Dijkstra <wilco.dijkstra@arm.com>
3113
3114 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3115 (libc_feholdsetround_aarch64_ctx)
3116 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3117 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3118 (libc_feresetround_ctx, libc_feresetroundf_ctx)
3119 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3120 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3121 (libc_feresetround_noexl_ctx): Define.
3122
95fc5fa3
RH
31232014-04-16 Richard Henderson <rth@redhat.com>
3124
ddb04724
RH
3125 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3126
d77c0899
RH
3127 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3128 unwind tables.
3129
a3df56fc
RH
3130 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3131 const from the non-libc, non-ldso copy.
3132
95fc5fa3
RH
3133 * sysdeps/alpha/libm-test-ulps: Regenerate.
3134
7e0b6763
IB
31352014-04-16 Ian Bolton <ian.bolton@arm.com>
3136 Wilco Dijkstra <wilco.dijkstra@arm.com>
3137
3138 * sysdeps/aarch64/fpu/math_private.h: New file.
3139
a9ea2e0c
MS
31402014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
3141
3142 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3143
ea8ba7cd
IZ
31442014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
3145
3146 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3147 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3148 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3149 Intel MPX bound registers before _dl_profile_fixup.
3150 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3151 registers after _dl_profile_fixup. Save and restore bound
3152 registers bnd0/bnd1 when calling _dl_call_pltexit.
3153 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3154 (LR_BND_OFFSET): Likewise.
3155 (LRV_BND0_OFFSET): Likewise.
3156 (LRV_BND1_OFFSET): Likewise.
3157
9f2a4fbc
ST
31582014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3159
3160 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3161 to...
3162 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
3163 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3164 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3165 fields.
9f2a4fbc 3166
fd15a59b
ST
31672014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3168
3169 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3170
f19dfa0a
SL
31712014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3172
3173 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3174
4fa8bc3b
SL
31752014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3176
3177 [BZ #14770]
3178 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3179 * sysdeps/s390/configure: Regenerate.
3180
8ea587db
SL
3181 [BZ #16824]
3182 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3183 Set round-to-nearest internally to reduce error accumulation.
3184
aa5f0ff1
AM
31852014-04-16 Alan Modra <amodra@gmail.com>
3186
3187 [BZ #16740]
3188 [BZ #16619]
3189 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3190 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 3191 * NEWS: Update fixed bug list.
aa5f0ff1 3192
bb9c256f
SP
31932014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3194
3195 * benchtests/Makefile: Depend on libraries in build directory.
3196 (bench-math): Separate out math tests.
3197 (bench-pthread): Separate out pthread tests.
3198 (bench): Include math and pthread tests.
3199
f737dfd0
CD
32002014-04-14 Carlos O'Donell <carlos@redhat.com>
3201
3202 [BZ #16831]
3203 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3204 _dl_debug_initialize.
3205
0699f766
CD
3206 * configure.ac: Remove SELinux header check.
3207 * configure: Regenerate.
3208 * nscd/selinux.c (perms): Array of const char* to permission names.
3209 (nscd_request_avc_has_perm): Call security_deny_unknown to find
3210 default policy. Call string_to_security_class and string_to_av_perm to
3211 translate strings. Enforce default policy and call avs_has_perm with
3212 results of translated strings.
3213
809bd45f
DM
32142014-04-13 David S. Miller <davem@davemloft.net>
3215
3216 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3217
89e691f2
AM
32182014-04-12 Allan McRae <allan@archlinux.org>
3219
3220 [BZ #16838]
3221 * manual/string.texi (Collation Functions): Fix qsort argument
3222 order in example.
3223 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3224
9c9daaeb
CM
32252014-04-11 Chris Metcalf <cmetcalf@tilera.com>
3226
3227 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3228 Make the test a no-op if there are no exceptions defined.
3229
95561fb9
PP
32302014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3231
fe8d072c 3232 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
3233 enable-hardcoded-path-in-tests
3234
970c602a
WN
32352014-04-11 Will Newton <will.newton@linaro.org>
3236
3237 * benchtests/Makefile (extra-objs): Add json-lib.o.
3238 (bench-func): Tidy up JSON output.
3239 * benchtests/bench-skeleton.c: Include json-lib.h.
3240 (main): Use JSON library functions to do output of
3241 benchmark results.
3242 * benchtests/bench-timing-type.c (main): Output the
3243 timing type simply, leaving formatting to the user.
3244 * benchtests/json-lib.c: New file.
3245 * benchtests/json-lib.h: Likewise.
3246
36875b06
TR
32472014-04-11 Torvald Riegel <triegel@redhat.com>
3248
3249 [BZ #15215]
3250 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3251 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
3252 memory barriers. Add comments.
3253 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3254 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3255 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3256 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3257 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3258 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3259
579db35a
SL
32602014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3261
3262 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3263 * sysdeps/s390/s390-64/configure.ac: ... this ...
3264 * sysdeps/s390/configure.ac: ... to here.
3265 * sysdeps/s390/s390-32/configure: Delete file.
3266 * sysdeps/s390/s390-64/configure: Delete file.
3267 * sysdeps/s390/configure: Regenerate.
3268
c12e9f37
JAPH
32692014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
3270
3271 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3272
439bda32
WN
32732014-04-11 Will Newton <will.newton@linaro.org>
3274
3275 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3276 to zero if it is not defined elsewhere. (mtrim): Test
3277 the value of MALLOC_DEBUG with #if rather than #ifdef.
3278
6a5d6ea1
TR
32792014-04-10 Torvald Riegel <triegel@redhat.com>
3280
3281 * benchtests/pthread_once-inputs: New file.
3282 * benchtests/pthread_once-source.c: New file.
3283 * benchtests/README: Update documentation.
3284
a4c75cfd
IZ
32852014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
3286 H.J. Lu <hongjiu.lu@intel.com>
3287
3288 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3289 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3290 * sysdeps/x86_64/configure: Regenerated.
3291 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3292 macro.
3293 (REGISTER_SAVE_RAX): Likewise.
3294 (REGISTER_SAVE_RCX): Likewise.
3295 (REGISTER_SAVE_RDX): Likewise.
3296 (REGISTER_SAVE_RSI): Likewise.
3297 (REGISTER_SAVE_RDI): Likewise.
3298 (REGISTER_SAVE_R8): Likewise.
3299 (REGISTER_SAVE_R9): Likewise.
3300 (REGISTER_SAVE_BND0): Likewise.
3301 (REGISTER_SAVE_BND1): Likewise.
3302 (REGISTER_SAVE_BND2): Likewise.
3303 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
3304 bound registers when calling _dl_fixup.
3305
27822ce6
AZ
33062014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3307
3308 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
3309 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3310 of its definition.
27822ce6
AZ
3311 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3312 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3313 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3314 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3315 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3316 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3317 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3318
a88ddc90
PTB
33192014-04-09 Peter Brett <peter@peter-b.co.uk>
3320
3321 [BZ #15514]
3322 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3323 pathconf(_PC_NAME_MAX).
3324
01f8eac2
AZ
33252014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3326
3327 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3328 Remove macro usage.
3329 (__PTHREAD_SPINS): Move definition to ...
3330 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3331 (__PTHREAD_SPINS): ... here.
3332 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3333 (__PTHREAD_SPIN): Likewise.
3334 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3335 (__PTHREAD_SPIN): Likewise.
3336 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3337 (__PTHREAD_SPIN): Likewise.
3338 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3339 (__PTHREAD_SPIN): Likewise.
3340 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3341 (__PTHREAD_SPIN): Likewise.
3342 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3343 (__PTHREAD_SPIN): Likewise.
3344 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3345 (__PTHREAD_SPIN): Likewise.
3346 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3347 (__PTHREAD_SPIN): Likewise.
3348 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3349 (__PTHREAD_SPIN): Likewise.
3350 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3351 (__PTHREAD_SPIN): Likewise.
3352 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3353 (__PTHREAD_SPIN): Likewise.
3354 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3355 (__PTHREAD_SPIN): Likewise.
3356
de21c33c
AZ
3357 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3358 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3359 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3360 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3361 imply folder.
3362 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3363 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3364 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3365 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3366 correct imply path.
3367 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3368 strlen symbol for non multi-arch builds.
3369 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3370 missing hidden_def and weak_alias.
3371
862c472e
CD
33722014-04-08 Carlos O'Donell <carlos@redhat.com>
3373
3374 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3375
8667f90e
WN
33762014-04-07 Will Newton <will.newton@linaro.org>
3377
3378 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3379 and contents. [!_LIBC] Remove #ifndef and contents.
3380 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
3381 * string/memccpy.c (__memccpy): Use ANSI prototype.
3382 * string/memfrob.c (memfrob): Likewise.
3383 * string/strcoll.c (STRCOLL): Likewise.
3384 * string/strlen.c (strlen): Likewise.
3385 * string/strtok.c (STRTOK): Likewise.
3386 * string/strcat.c: Remove unused #include of memcopy.h.
3387 (strcat): Use ANSI prototype.
3388 * string/strchr.c: Remove unused #include of memcopy.h.
3389 (strchr): Use ANSI prototype.
3390 * string/strcmp.c: Remove unused #include of memcopy.h.
3391 (strcmp): Use ANSI prototype.
3392 * string/strcpy.c: Remove unused #include of memcopy.h.
3393 (strcpy): Use ANSI prototype.
3394
7ffa9423
AZ
33952014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3396
3397 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3398 * config.make.in (config-extra-cppflags): Set it from
3399 libc_extra_cppflags.
3400 * configure.ac (libc_extra_cflags): Make it accumulate over
3401 configure fragments.
3402 (libc_extra_cppflags): New flag.
3403 * configure. Regenerate.
3404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
3405 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3406 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
3407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3408
8bd70862
AZ
3409 [BZ #16815]
3410 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3411 result for FE_DOWNWARD rounding mode.
3412 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3413 Likewise.
3414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3415
d42f3448
CM
34162014-04-04 Chris Metcalf <cmetcalf@tilera.com>
3417
3418 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3419 in function argument name.
3420
1c21d115
DS
34212014-04-03 David Svoboda <svoboda@cert.org>
3422
3423 [BZ #5666]
3424 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3425 explicitly.
3426
fcccd512
RM
34272014-04-03 Roland McGrath <roland@hack.frob.com>
3428
3429 * elf/dl-unmap-segments.h: New file.
3430 * sysdeps/generic/ldsodefs.h
3431 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3432 * elf/dl-close.c: Include <dl-unmap-segments.h>.
3433 * elf/dl-fptr.c: Likewise.
3434 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3435 * sysdeps/aarch64/tlsdesc.c: Likewise.
3436 * sysdeps/arm/tlsdesc.c: Likewise.
3437 * sysdeps/i386/tlsdesc.c: Likewise.
3438 * sysdeps/tile/dl-runtime.c: Likewise.
3439 * sysdeps/x86_64/tlsdesc.c: Likewise.
3440 * elf/dl-load.h: New file.
3441 * elf/dl-load.c: Include it.
3442 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3443 Macros moved to dl-load.h.
3444 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3445 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
3446 Use _dl_unmap_segments in place of __munmap.
3447 Break out segment-mapping loop into ...
3448 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
3449
f6488e2b
WN
34502014-04-03 Will Newton <will.newton@linaro.org>
3451
3452 * elf/dl-lookup.c (do_lookup_x): Remove comment
3453 referring to nested function and move variable
3454 declarations down to before first use.
3455
6f05bafe
JM
34562014-04-02 Joseph Myers <joseph@codesourcery.com>
3457
a84e78c8
JM
3458 [BZ #16799]
3459 [BZ #16800]
3460 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
3461 with 0 numerator.
3462 * math/s_catanf.c (__catanf): Likewise.
3463 * math/s_catanh.c (__catanh): Likewise.
3464 * math/s_catanhf.c (__catanhf): Likewise.
3465 * math/s_catanhl.c (__catanhl): Likewise.
3466 * math/s_catanl.c (__catanl): Likewise.
3467 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
3468 by positive zero when computing -Inf result.
3469 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
3470 (catanh_test): Likewise.
3471 * sysdeps/i386/fpu/libm-test-ulps: Update.
3472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3473
6f05bafe
JM
3474 [BZ #16789]
3475 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
3476 instead of using underflowing value in computing result.
3477 * math/s_clog10.c (__clog10): Likewise.
3478 * math/s_clog10f.c (__clog10f): Likewise.
3479 * math/s_clog10l.c (__clog10l): Likewise.
3480 * math/s_clogf.c (__clogf): Likewise.
3481 * math/s_clogl.c (__clogl): Likewise.
3482 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
3483 (clog10_test): Likewise.
3484 * sysdeps/i386/fpu/libm-test-ulps: Update.
3485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3486
b0abbc21
AM
34872014-04-02 Alan Modra <amodra@gmail.com>
3488
3489 [BZ #16739]
3490 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
3491 output when value is near a power of two. Use int64_t for lx and
3492 remove casts. Use decimal rather than hex exponent constants.
3493 Don't use long double multiplication when double will suffice.
3494 * math/libm-test.inc (nextafter_test_data): Add tests.
3495 * NEWS: Add 16739 and 16786 to bug list.
3496
af6b1797
AM
3497 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
3498
483818d7
AM
3499 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
3500
f6c55796
WN
35012014-04-01 Will Newton <will.newton@linaro.org>
3502
3503 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
3504 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
3505
13f7fe35
FW
35062014-04-01 Florian Weimer <fweimer@redhat.com>
3507
3508 [BZ #13347]
3509 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
3510 * nptl/tst-setuid2.c: New file.
3511 * nptl/Makefile (xtests): Add tst-setuid2.
3512
c859b32e
AM
35132014-04-01 Alan Modra <amodra@gmail.com>
3514
3515 [BZ #16786]
3516 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
3517
54fa2475
JM
35182014-03-31 Joseph Myers <joseph@codesourcery.com>
3519
8795b4a4
JM
3520 [BZ #6803]
3521 [BZ #6804]
3522 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
3523 set errno as appropriate.
3524 * math/w_scalbf.c (__scalbf): Likewise.
3525 * math/w_scalbl.c (__scalbl): Likewise.
3526 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
3527 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
3528 * math/libm-test.inc (scalb_test_data): Add errno expectations.
3529 Add more NaN tests.
3530
54fa2475
JM
3531 [BZ #16349]
3532 * math/w_atan2.c: Include <errno.h>.
3533 (__atan2): Set errno for result underflowing to zero.
3534 * math/w_atan2f.c: Include <errno.h>.
3535 (__atan2f): Set errno for result underflowing to zero.
3536 * math/w_atan2l.c: Include <errno.h>.
3537 (__atan2l): Set errno for result underflowing to zero.
3538 * math/auto-libm-test-in: Don't allow missing errno for some atan2
3539 tests.
3540 * math/auto-libm-test-out: Regenerated.
3541
757d9dd5
AZ
35422014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3543
3544 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3545 Encode instruction correctly in little endian.
3546 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3547 Likewise.
3548 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3549 Likewise.
3550 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3551 Likewise.
3552 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3553 Likewise.
3554
d7a68734
JM
35552014-03-31 Joseph Myers <joseph@codesourcery.com>
3556
47c5adeb
JM
3557 [BZ #9894]
3558 * sysdeps/unix/sysv/linux/kernel-features.h
3559 [__sparc__ && !__arch64__ && !__sparc_v9__]
3560 (__ASSUME_SET_ROBUST_LIST): Do not define.
3561 [__sparc__ && !__arch64__ && !__sparc_v9__]
3562 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3563 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
3564 Likewise.
3565 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3566 (__ASSUME_FUTEX_LOCK_PI): Undefine.
3567 (__ASSUME_REQUEUE_PI): Likewise.
3568 (__ASSUME_SET_ROBUST_LIST): Likewise.
3569 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3570 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
3571 Undefine.
3572 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3573 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
3574 Likewise.
3575 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
3576 Likewise.
3577 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
3578 Likewise.
3579 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3580 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
3581 Undefine.
3582 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
3583 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
3584 Likewise.
3585
d7a68734
JM
3586 [BZ #16648]
3587 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3588 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
3589 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
3590
c760f5c2
WN
35912014-03-31 Will Newton <will.newton@linaro.org>
3592
3593 * benchtests/Makefile (bench): Add ffs and ffsll to list
3594 of tests.
3595 * benchtests/ffs-inputs: New file.
3596 * benchtests/ffsll-inputs: Likewise.
3597
ea6029b1
JM
35982014-03-29 Joseph Myers <joseph@codesourcery.com>
3599
3600 [BZ #16770]
3601 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
3602 too large before casting to int.
3603 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
3604 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
3605 * math/libm-test.inc (scalb_test_data): Add more tests.
3606
cf806aff
SP
36072014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3608
56737508
SP
3609 * benchtests/Makefile (DETAILED_OPT): New make option.
3610 (bench-func): Run benchmark program with -d if DETAILED_OPT is
3611 set.
3612 * benchtests/bench-skeleton.c: Include stdbool.h.
3613 (main): Store and print timings per input.
3614 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
3615 member to each argument value.
3616 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
3617 (_print_arg_data): Initialize per-input timing to 0.
3618
cb5e4aad
SP
3619 * benchtests/Makefile (timing-type): New binary.
3620 (bench-clean): Also remove bench-timing-type.
3621 (bench): New target for timing-type.
3622 (bench-func): Print output in JSON format.
3623 * benchtests/bench-skeleton.c (main): Print output in JSON
3624 format.
3625 * benchtests/bench-timing-type.c: New file.
3626 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
3627 (TIMING_PRINT_STATS): Remove.
3628 * benchtests/scripts/bench.py (_print_arg_data): Store variant
3629 name separately.
3630
cf806aff
SP
3631 * benchtests/bench-modf.c: Remove.
3632 * benchtests/modf-inputs: New inputs file.
3633
289e0779
JM
36342014-03-28 Joseph Myers <joseph@codesourcery.com>
3635
3636 [BZ #16362]
3637 * math/s_clog10.c (M_PI_LOG10E): New macro.
3638 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
3639 imaginary parts are 0.
3640 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
3641 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
3642 imaginary parts are 0.
3643 * math/s_clog10l.c (M_PI_LOG10El): New macro.
3644 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
3645 imaginary parts are 0.
3646 * math/libm-test.inc (clog10_test_data): Update expected results
3647 for when real and imaginary parts are 0.
3648
277ae3f1
PP
36492014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
3650
3651 * elf/dl-load.c: Finish conversion of __builtin_expect into
3652 __glibc_{un}likely.
3653
03a7091f
JM
36542014-03-27 Joseph Myers <joseph@codesourcery.com>
3655
3656 [BZ #16348]
3657 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
3658 1+x for argument with exponent below -67.
3659 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
3660 Likewise.
3661 * math/auto-libm-test-in: Add more tests of exp.
3662 * math/auto-libm-test-out: Regenerated.
3663
ea7d8b95
SP
36642014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3665
dd3022d7
SP
3666 [BZ #16759]
3667 * inet/getnetgrent_r.c (get_nonempty_val): New function.
3668 (nscd_getnetgrent): Use it.
3669
ea7d8b95
SP
3670 [BZ #16760]
3671 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
3672 of stpcpy.
3673
df5b85da
AK
36742014-03-27 Andi Kleen <ak@linux.intel.com>
3675
57f41c40
AS
3676 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
3677 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3678 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3679 (lll_robust_unlock): Remove out of line section. Use cfi
3680 intrinsics.
df5b85da 3681 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
3682 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
3683 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3684 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3685 (lll_robust_unlock): Remove out of line section. Use cfi
3686 intrinsics.
df5b85da
AK
3687 (LLL_STUB_UNWIND_INFO*): Remove.
3688
fbd6b5a4
SP
36892014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3690
3691 [BZ #16758]
3692 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
3693 blank values.
3694
1b26b855
PP
36952014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
3696
3697 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
3698
9be36fb8
JM
36992014-03-26 Joseph Myers <joseph@codesourcery.com>
3700
3701 [BZ #16198]
3702 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
3703 fnstenv.
3704 * math/test-fenv-preserve.c: New file.
3705 * math/Makefile (tests): Add test-fenv-preserve.
3706
60a2f3c1
WN
37072014-03-26 Will Newton <will.newton@linaro.org>
3708
3709 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
3710
a5e5f1e2
RM
37112014-03-25 Roland McGrath <roland@hack.frob.com>
3712
3713 * scripts/versionlist.awk: Partition the version sets and emit all
3714 GLIBC_* (sorted) before all others (sorted).
3715
00f4012a
JM
37162014-03-25 Joseph Myers <joseph@codesourcery.com>
3717
3718 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
3719 GLIBC_2.2.5 version.
3720
7bc5a741
AZ
37212014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3722
3723 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
3724 calls.
3725
7578473b
AZ
3726 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
3727 previous change.
3728
f3f1dab3
AZ
3729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3730
6da36183
AS
37312014-03-25 Andreas Schwab <schwab@suse.de>
3732
3733 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
3734 label to be used after in6ailist is initialized.
3735
f3f1dab3 37362014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 3737
7578473b 3738 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
3739 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3740
046651c1
JM
37412014-03-25 Joseph Myers <joseph@codesourcery.com>
3742
3743 [BZ #16357]
3744 [BZ #16599]
3745 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
3746 min_plus_half.
3747 (fp_formats): Update initializers.
3748 (init_fp_formats): Initialize new field.
3749 (output_for_one_input_case): Allow underflow for results up to
3750 min_plus_half.
3751 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
3752 * math/auto-libm-test-in: Don't mark some underflows from asin and
3753 atanh as spurious.
3754 * math/auto-libm-test-out: Regenerated.
3755 * sysdeps/i386/fpu/libm-test-ulps: Update.
3756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3757
003e49ed
AS
37582014-03-25 Andreas Schwab <schwab@suse.de>
3759
3760 * libio/Makefile (tst-ftell-partial-wide-ENV)
3761 (tst-ftell-active-handler-ENV): Define.
3762
de031874
SL
37632014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3764
3765 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
3766
55a81e3b
PP
37672014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3768
3769 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
3770
f3426898
JM
37712014-03-24 Joseph Myers <joseph@codesourcery.com>
3772
3773 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
3774 * sysdeps/x86_64/fpu/multiarch/e_exp.c
3775 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3776
a42faf59
PP
37772014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3778
3779 [BZ #16634]
a42faf59 3780 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
3781 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
3782 (open_path): Change from boolean 'secure' to complete flag 'mode'
3783 (_dl_map_object): Adjust.
a42faf59
PP
3784 * elf/Makefile (tests): Add tst-dlopen-aout.
3785 * elf/tst-dlopen-aout.c: New test.
3786
50936127
SL
37872014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3788
3789 [BZ #16714]
3790 * sysdeps/unix/sysv/linux/s390/bits/stat.h
3791 (struct stat): Rename member pad0 to __glibc_reserved0.
3792
26011b5c
SL
3793 [BZ #16712]
3794 * sysdeps/s390/s390-32/bits/wordsize.h
3795 (__WORDSIZE32_SIZE_ULONG): New define.
3796 * sysdeps/s390/s390-64/bits/wordsize.h
3797 (__WORDSIZE32_SIZE_ULONG): Likewise.
3798 * sysdeps/generic/stdint.h (SIZE_MAX):
3799 Define as UL if __WORDSIZE32_SIZE_ULONG.
3800
a2d86bf1
SL
3801 [BZ #16713]
3802 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3803 (__glibc_reserved0): New variable.
3804 (sa_flags): Change type to int.
3805
78b6eebc
SL
3806 * posix/Makefile (before-compile): Use += before-compile instead
3807 of a :=.
3808
f1399b5a
SL
3809 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3810 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3811
a071766e
AS
38122014-03-20 Andreas Schwab <schwab@suse.de>
3813
3814 [BZ #16743]
3815 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
3816 non-matching result from nscd.
3817
27c673b8
SP
38182014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3819
3820 * scripts/bench.py: Moved to ...
3821 * benchtests/scripts/bench.py: ... here.
3822 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
3823
44152e4b
AS
38242014-03-24 Andreas Schwab <schwab@suse.de>
3825
3826 [BZ #16002]
3827 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
3828 alloca_account and account alloca use for struct in6ailist.
3829
b376a11a
JM
38302014-03-24 Joseph Myers <joseph@codesourcery.com>
3831
3832 [BZ #16284]
3833 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
3834 rounding mode to recompute results that overflow to infinity or
3835 underflow to zero.
3836 * math/auto-libm-test-in: Don't mark tests as expected to fail for
3837 bug 16284.
3838 * math/auto-libm-test-out: Regenerated.
3839 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
3840 (ccosh_test): Likewise.
3841 (csin_test_data): Use plus_oflow.
3842 (csin_test): Use ALL_RM_TEST.
3843 (csinh_test_data): Use plus_oflow.
3844 (csinh_test): Use ALL_RM_TEST.
3845 * sysdeps/i386/fpu/libm-test-ulps: Update.
3846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3847
f7be7376
JM
38482014-03-21 Joseph Myers <joseph@codesourcery.com>
3849
1ca2d03e
JM
3850 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
3851 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
3852 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
3853
f7be7376
JM
3854 [BZ #16731]
3855 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
3856 when x - 1 is zero.
3857 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
3858 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
3859 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3860 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
3861 argument is 1.
3862 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
3863 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
3864 zero.
3865 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
3866 * sysdeps/i386/fpu/libm-test-ulps: Update.
3867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3868
fdf4534d
SP
38692014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3870
df26ea53
SP
3871 * scripts/bench.pl: Remove file.
3872 * scripts/bench.py: New benchmark script.
3873 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
3874 * benchtests/README: Mention python dependency.
3875 * scripts/pylintrc: New file.
3876 * scripts/pylint: New file.
3877
fdf4534d
SP
3878 * bits/mathdef.h: Use #ifdef instead of #if.
3879 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
3880 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3881 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
3882 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3883 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
3884 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3885
6f23d093
AZ
38862014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3887 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3888
3889 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
3890 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
3891 and strpbrk-ppc64 objects.
3892 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3893 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
3894 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
3895 multiarch strpbrk for POWER7.
3896 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
3897 multiarch strpbrk for PPC64.
3898 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
3899 ifunc selector.
3900 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
3901 strpbrk for POWER7.
3902
8c92dfff
JM
39032014-03-20 Joseph Myers <joseph@codesourcery.com>
3904
3905 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
3906 (atan_test): Likewise.
3907 (atanh_test_data): Use NO_TEST_INLINE for two tests.
3908 (atanh_test): Use ALL_RM_TEST.
3909 (atan2_test_data): Likewise.
3910 (cabs_test): Likewise.
3911 (cacosh_test): Likewise.
3912 (carg_test): Likewise.
3913 (casin_test): Likewise.
3914 (casinh_test): Likewise.
3915 (cbrt_test): Likewise.
3916 (csqrt_test): Likewise.
3917 (erf_test): Likewise.
3918 (erfc_test): Likewise.
3919 (pow10_test): Likewise.
3920 (exp2_test): Likewise.
3921 (hypot_test): Likewise.
3922 (j0_test): Likewise.
3923 (j1_test): Likewise.
3924 (lgamma_test): Likewise.
3925 (gamma_test): Likewise.
3926 (sincos_test): Likewise.
3927 (tanh_test): Likewise.
3928 (y0_test): Likewise.
3929 (y1_test): Likewise.
3930 * sysdeps/i386/fpu/libm-test-ulps: Update.
3931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3932
6eaf95cb
AZ
39332014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3934
a387428c
SP
3935 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
3936 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
3937 and strcspn-ppc64 objects.
3938 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3939 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
3940 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
3941 multiarch strcspn for POWER7.
3942 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
3943 multiarch strcspn for PPC64.
3944 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
3945 ifunc selector.
3946 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
3947 strcspn for POWER7.
3948
ae3a5dff
JM
39492014-03-20 Joseph Myers <joseph@codesourcery.com>
3950
3951 * math/gen-libm-test.pl (generate_testfile): Expect only function
3952 name as argument to AUTO_TESTS_* and pass results for all rounding
3953 modes to parse_args.
3954 (parse_auto_input): Separate inputs of automatic tests from
3955 outputs before storing in %auto_tests.
3956 * math/libm-test.inc (acos_test_data): Update call to
3957 AUTO_TESTS_f_f.
3958 (acos_test): Use ALL_RM_TEST.
3959 (acos_tonearest_test_data): Remove.
3960 (acos_test_tonearest): Likewise.
3961 (acos_towardzero_test_data): Likewise.
3962 (acos_test_towardzero): Likewise.
3963 (acos_downward_test_data): Likewise.
3964 (acos_test_downward): Likewise.
3965 (acos_upward_test_data): Likewise.
3966 (acos_test_upward): Likewise.
3967 (acosh_test_data): Update call to AUTO_TESTS_f_f.
3968 (asin_test_data): Likewise.
3969 (asin_test): Use ALL_RM_TEST.
3970 (asin_tonearest_test_data): Remove.
3971 (asin_test_tonearest): Likewise.
3972 (asin_towardzero_test_data): Likewise.
3973 (asin_test_towardzero): Likewise.
3974 (asin_downward_test_data): Likewise.
3975 (asin_test_downward): Likewise.
3976 (asin_upward_test_data): Likewise.
3977 (asin_test_upward): Likewise.
3978 (asinh_test_data): Update call to AUTO_TESTS_f_f.
3979 (atan_test_data): Likewise.
3980 (atanh_test_data): Likewise.
3981 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
3982 (cabs_test_data): Update call to AUTO_TESTS_c_f.
3983 (carg_test_data): Likewise.
3984 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
3985 (ccos_test_data): Update call to AUTO_TESTS_c_c.
3986 (ccosh_test_data): Likewise.
3987 (cexp_test_data): Likewise.
3988 (clog_test_data): Likewise.
3989 (clog10_test_data): Likewise.
3990 (cos_test_data): Update call to AUTO_TESTS_f_f.
3991 (cos_test): Use ALL_RM_TEST.
3992 (cos_tonearest_test_data): Remove.
3993 (cos_test_tonearest): Likewise.
3994 (cos_towardzero_test_data): Likewise.
3995 (cos_test_towardzero): Likewise.
3996 (cos_downward_test_data): Likewise.
3997 (cos_test_downward): Likewise.
3998 (cos_upward_test_data): Likewise.
3999 (cos_test_upward): Likewise.
4000 (cosh_test_data): Update call to AUTO_TESTS_f_f.
4001 (cosh_test): Use ALL_RM_TEST.
4002 (cosh_tonearest_test_data): Remove.
4003 (cosh_test_tonearest): Likewise.
4004 (cosh_towardzero_test_data): Likewise.
4005 (cosh_test_towardzero): Likewise.
4006 (cosh_downward_test_data): Likewise.
4007 (cosh_test_downward): Likewise.
4008 (cosh_upward_test_data): Likewise.
4009 (cosh_test_upward): Likewise.
4010 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4011 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4012 (ctan_test_data): Likewise.
4013 (ctan_test): Use ALL_RM_TEST.
4014 (ctan_tonearest_test_data): Remove.
4015 (ctan_test_tonearest): Likewise.
4016 (ctan_towardzero_test_data): Likewise.
4017 (ctan_test_towardzero): Likewise.
4018 (ctan_downward_test_data): Likewise.
4019 (ctan_test_downward): Likewise.
4020 (ctan_upward_test_data): Likewise.
4021 (ctan_test_upward): Likewise.
4022 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4023 (ctanh_test): Use ALL_RM_TEST.
4024 (ctanh_tonearest_test_data): Remove.
4025 (ctanh_test_tonearest): Likewise.
4026 (ctanh_towardzero_test_data): Likewise.
4027 (ctanh_test_towardzero): Likewise.
4028 (ctanh_downward_test_data): Likewise.
4029 (ctanh_test_downward): Likewise.
4030 (ctanh_upward_test_data): Likewise.
4031 (ctanh_test_upward): Likewise.
4032 (erf_test_data): Update call to AUTO_TESTS_f_f.
4033 (erfc_test_data): Likewise.
4034 (exp_test_data): Likewise.
4035 (exp_test): Use ALL_RM_TEST.
4036 (exp_tonearest_test_data): Remove.
4037 (exp_test_tonearest): Likewise.
4038 (exp_towardzero_test_data): Likewise.
4039 (exp_test_towardzero): Likewise.
4040 (exp_downward_test_data): Likewise.
4041 (exp_test_downward): Likewise.
4042 (exp_upward_test_data): Likewise.
4043 (exp_test_upward): Likewise.
4044 (exp10_test_data): Update call to AUTO_TESTS_f_f.
4045 (exp10_test): Use ALL_RM_TEST.
4046 (exp10_tonearest_test_data): Remove.
4047 (exp10_test_tonearest): Likewise.
4048 (exp10_towardzero_test_data): Likewise.
4049 (exp10_test_towardzero): Likewise.
4050 (exp10_downward_test_data): Likewise.
4051 (exp10_test_downward): Likewise.
4052 (exp10_upward_test_data): Likewise.
4053 (exp10_test_upward): Likewise.
4054 (exp2_test_data): Update call to AUTO_TESTS_f_f.
4055 (expm1_test_data): Likewise.
4056 (expm1_test): Use ALL_RM_TEST.
4057 (expm1_tonearest_test_data): Remove.
4058 (expm1_test_tonearest): Likewise.
4059 (expm1_towardzero_test_data): Likewise.
4060 (expm1_test_towardzero): Likewise.
4061 (expm1_downward_test_data): Likewise.
4062 (expm1_test_downward): Likewise.
4063 (expm1_upward_test_data): Likewise.
4064 (expm1_test_upward): Likewise.
4065 (fma_test_data): Update call to AUTO_TESTS_fff_f.
4066 (fma_test): Use ALL_RM_TEST.
4067 (fma_towardzero_test_data): Remove.
4068 (fma_test_towardzero): Likewise.
4069 (fma_downward_test_data): Likewise.
4070 (fma_test_downward): Likewise.
4071 (fma_upward_test_data): Likewise.
4072 (fma_test_upward): Likewise.
4073 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4074 (j0_test_data): Update call to AUTO_TESTS_f_f.
4075 (j1_test_data): Likewise.
4076 (jn_test_data): Update call to AUTO_TESTS_if_f.
4077 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4078 (log_test_data): Update call to AUTO_TESTS_f_f.
4079 (log10_test_data): Likewise.
4080 (log1p_test_data): Likewise.
4081 (log2_test_data): Likewise.
4082 (pow_test_data): Update call to AUTO_TESTS_ff_f.
4083 (pow_tonearest_test_data): Likewise.
4084 (sin_test_data): Update call to AUTO_TESTS_f_f.
4085 (sin_test): Use ALL_RM_TEST.
4086 (sin_tonearest_test_data): Remove.
4087 (sin_test_tonearest): Likewise.
4088 (sin_towardzero_test_data): Likewise.
4089 (sin_test_towardzero): Likewise.
4090 (sin_downward_test_data): Likewise.
4091 (sin_test_downward): Likewise.
4092 (sin_upward_test_data): Likewise.
4093 (sin_test_upward): Likewise.
4094 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4095 (sinh_test_data): Update call to AUTO_TESTS_f_f.
4096 (sinh_test): Use ALL_RM_TEST.
4097 (sinh_tonearest_test_data): Remove.
4098 (sinh_test_tonearest): Likewise.
4099 (sinh_towardzero_test_data): Likewise.
4100 (sinh_test_towardzero): Likewise.
4101 (sinh_downward_test_data): Likewise.
4102 (sinh_test_downward): Likewise.
4103 (sinh_upward_test_data): Likewise.
4104 (sinh_test_upward): Likewise.
4105 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4106 (sqrt_test): Use ALL_RM_TEST.
4107 (sqrt_tonearest_test_data): Remove.
4108 (sqrt_test_tonearest): Likewise.
4109 (sqrt_towardzero_test_data): Likewise.
4110 (sqrt_test_towardzero): Likewise.
4111 (sqrt_downward_test_data): Likewise.
4112 (sqrt_test_downward): Likewise.
4113 (sqrt_upward_test_data): Likewise.
4114 (sqrt_test_upward): Likewise.
4115 (tan_test_data): Update call to AUTO_TESTS_f_f.
4116 (tan_test): Use ALL_RM_TEST.
4117 (tan_tonearest_test_data): Remove.
4118 (tan_test_tonearest): Likewise.
4119 (tan_towardzero_test_data): Likewise.
4120 (tan_test_towardzero): Likewise.
4121 (tan_downward_test_data): Likewise.
4122 (tan_test_downward): Likewise.
4123 (tan_upward_test_data): Likewise.
4124 (tan_test_upward): Likewise.
4125 (tanh_test_data): Update call to AUTO_TESTS_f_f.
4126 (tgamma_test_data): Likewise.
4127 (y0_test_data): Likewise.
4128 (y1_test_data): Likewise.
4129 (yn_test_data): Update call to AUTO_TESTS_if_f.
4130 (main): Do not call removed functions.
4131
d71aeee8
JM
41322014-03-19 Joseph Myers <joseph@codesourcery.com>
4133
4134 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4135 (ldexp_test_data): Remove.
4136 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
4137 scalbn_test_data.
4138 (scalb_test): Use ALL_RM_TEST.
4139
baaf1ded
AS
41402014-03-19 Andreas Schwab <schwab@suse.de>
4141
4142 * nscd/nscd.service: Also invalidate netgroup cache on reload.
4143
b1115e91
JM
41442014-03-19 Joseph Myers <joseph@codesourcery.com>
4145
4146 [BZ #16649]
4147 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4148 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4149 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4150 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4151 (__ASSUME_PREADV): Undefine.
4152 (__ASSUME_PWRITEV): Likewise.
4153
0283ecca
RM
41542014-03-18 Roland McGrath <roland@hack.frob.com>
4155
7d375303
RM
4156 * bits/mman-linux.h: Add comment about non-Linux use.
4157 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4158 bits/mman-linux.h resting place.
4159
0283ecca
RM
4160 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4161 * bits/mman-linux.h: ... here.
4162
aebe1003
AZ
41632014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4164
4165 * conform/conformtest.pl: Add standard definition when calling C
4166 preprocessor on data files.
4167 (checknamespace): Remove unused variable.
4168
b29b6bb8
JM
41692014-03-18 Joseph Myers <joseph@codesourcery.com>
4170
4171 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4172 minus_oflow, plus_uflow and minus_uflow in expected results.
4173 * math/libm-test.inc (scalbn_test_data): Add more tests of
4174 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
4175 minus_uflow.
4176 (scalbn_test): Use ALL_RM_TEST.
4177 (scalbln_test_data): Add more tests of negative arguments. Use
4178 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4179 (scalbln_test): Use ALL_RM_TEST.
4180
c8f8fa15
RM
41812014-03-18 Roland McGrath <roland@hack.frob.com>
4182
4183 * scripts/abilist.awk: Ignore symbols marked with .hidden.
4184
fede7a5f
WN
41852014-03-18 Will Newton <will.newton@linaro.org>
4186
4187 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4188 inaccurate comment.
4189
80cf0a58
JM
41902014-03-18 Joseph Myers <joseph@codesourcery.com>
4191
4192 * Makerules [!subdir] (check-abi): Exit with error status if a
4193 test failed.
4194
b3620862
JM
41952014-03-17 Joseph Myers <joseph@codesourcery.com>
4196
4197 * math/libm-test.inc (nearbyint_test_data): Include all tests used
4198 for rint. Include results for all rounding modes.
4199 (nearbyint_test): Use ALL_RM_TEST.
4200 (rint_test_data): Include all tests used for nearbyint.
4201
788bba36
WN
42022014-03-17 Will Newton <will.newton@linaro.org>
4203
04ec140a
WN
4204 * nptl/sysdeps/pthread/pthread.h: Revert previous
4205 change.
4206
7579d8d5
WN
4207 * sysdeps/generic/ldsodefs.h: Revert previous
4208 change.
4209
c15cf13a
WN
4210 * libio/genops.c: Revert previous change.
4211 * libio/libioP.h: Likewise.
4212 * stdio-common/vfprintf.c: Likewise.
4213
d0ac1324
WN
4214 * sysdeps/generic/math_private.h: Revert previous
4215 change.
4216
9290130a
WN
4217 * sysdeps/generic/math_private.h: Check whether
4218 HAVE_RM_CTX is defined with #ifdef rather
4219 than #if.
4220
afb466fc
WN
4221 * argp/argp-fmtstream.h: Check whether
4222 __STRICT_ANSI__ is defined with #ifdef rather
4223 than #if.
4224 * argp/argp.h: Likewise.
4225
f7efd7c3
WN
4226 * libio/genops.c: Check whether
4227 _IO_JUMPS_OFFSET is defined with #ifdef rather
4228 than #if.
4229 * libio/libioP.h: Likewise.
4230 * stdio-common/vfprintf.c: Likewise.
4231
53f1bed3
WN
4232 * sysdeps/generic/ldsodefs.h: Check whether
4233 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4234 than #if.
4235
788bba36
WN
4236 * nptl/sysdeps/pthread/pthread.h: Check
4237 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4238 its value.
4239
fcd89ebe
SP
42402014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4241
ae42bbc5
SP
4242 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4243 setting O_APPEND.
4244 * libio/tst-ftell-active-handler.c (do_append_test): Add a
4245 test case.
4246
ea33158c
SP
4247 [BZ #16680]
4248 * libio/fileops.c (_IO_file_open): Seek to end of file but
4249 don't cache the offset.
4250 (get_file_offset): Remove function.
4251 (do_ftell): Use cached offset when available.
4252 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4253 don't cache the offset.
4254 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4255 case.
4256 (do_one_test): Call it.
4257 (do_ftell_test): Fix up expected old offset for a+ mode.
4258 * libio/wfileops.c (do_ftell_wide): Used cached offset when
4259 available.
4260
b1dbb426
SP
4261 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4262 up test status with function return status.
4263 (do_write_test): Likewise.
4264 (do_append_test): Likewise.
4265
fcd89ebe
SP
4266 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4267 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4268 Remove.
4269
9962a2d3
JM
42702014-03-17 Joseph Myers <joseph@codesourcery.com>
4271
4272 * math/gen-libm-test.pl (parse_args): Handle results specified for
4273 each rounding mode separately.
4274 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4275 tests and results from lrint_tonearest_test_data,
4276 lrint_towardzero_test_data, lrint_downward_test_data and
4277 lrint_upward_test_data.
4278 (lrint_test): Use ALL_RM_TEST.
4279 (lrint_tonearest_test_data): Remove.
4280 (lrint_test_tonearest): Likewise.
4281 (lrint_towardzero_test_data): Likewise.
4282 (lrint_test_towardzero): Likewise.
4283 (lrint_downward_test_data): Likewise.
4284 (lrint_test_downward): Likewise.
4285 (lrint_upward_test_data): Likewise.
4286 (lrint_test_upward): Likewise.
4287 (llrint_test_data): Merge in per-rounding-mode tests and results
4288 from llrint_tonearest_test_data, llrint_towardzero_test_data,
4289 llrint_downward_test_data and llrint_upward_test_data.
4290 (llrint_test): Use ALL_RM_TEST.
4291 (llrint_tonearest_test_data): Remove.
4292 (llrint_test_tonearest): Likewise.
4293 (llrint_towardzero_test_data): Likewise.
4294 (llrint_test_towardzero): Likewise.
4295 (llrint_downward_test_data): Likewise.
4296 (llrint_test_downward): Likewise.
4297 (llrint_upward_test_data): Likewise.
4298 (llrint_test_upward): Likewise.
4299 (rint_test_data): Merge in per-rounding-mode tests and results
4300 from rint_tonearest_test_data, rint_towardzero_test_data,
4301 rint_downward_test_data and rint_upward_test_data. Add
4302 per-rounding-mode results for tests not in those arrays.
4303 (rint_test): Use ALL_RM_TEST.
4304 (rint_tonearest_test_data): Remove.
4305 (rint_test_tonearest): Likewise.
4306 (rint_towardzero_test_data): Likewise.
4307 (rint_test_towardzero): Likewise.
4308 (rint_downward_test_data): Likewise.
4309 (rint_test_downward): Likewise.
4310 (rint_upward_test_data): Likewise.
4311 (rint_test_upward): Likewise.
4312 (main): Don't call removed functions.
4313
5006148e
RM
43142014-03-14 Roland McGrath <roland@hack.frob.com>
4315
4316 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4317 "Compiled on ..." crapola. It is anti-useful.
4318
d6fe5e58
JM
43192014-03-14 Joseph Myers <joseph@codesourcery.com>
4320
4321 * scripts/evaluate-test.sh: Handle fourth argument to determine
4322 whether test run should stop on failure.
4323 * Makeconfig (stop-on-test-failure): New variable.
4324 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4325 $(stop-on-test-failure).
4326 * Makefile (tests): Give a summary of results from testing and
4327 exit with failure status if they include an ERROR or FAIL.
4328 (xtests): Likewise.
4329 * manual/install.texi (Configuring and compiling): Mention
4330 stop-on-test-failure=y.
4331 * INSTALL: Regenerated.
4332
498a2233
RM
43332014-03-14 Roland McGrath <roland@hack.frob.com>
4334
22dbc19d
RM
4335 * scripts/versionlist.awk: New file.
4336 * Makerules [$(build-shared) = yes]
4337 (postclean-generated): Add Versions.def, not Versions.def.v and
4338 Versions.def.v.i.
4339 ($(common-objpfx)Versions.def.v.i): Target removed.
4340 ($(common-objpfx)Versions.def): New target.
4341 ($(common-objpfx)Versions.all): Depend on that rather that
4342 $(common-objpfx)Versions.def.v.
4343 * Versions.def: File removed.
4344
498a2233
RM
4345 * Makeconfig (+gccwarn): Add -Wundef.
4346 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4347 a dl-sysdep.h breaking its contract.
4348 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4349 * include/stackinfo.h: New file.
4350 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4351 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4352 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4353 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4354 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4355 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4356 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4357 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4358 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4359 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4360 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4361 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4362 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4363 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4364 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4365
c7de5025
AZ
43662014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4367
4368 [BZ #16707]
4369 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4370 implementation.
4371 * math/libm-test.inc (round_test_data): Add more tests.
4372
98fb27a3
AZ
4373 [BZ #16706]
4374 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4375 implementation.
4376 * math/libm-test.inc (nearbyint_test_data): Add more tests.
4377
374f7f61
AZ
4378 [BZ #16701]
4379 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4380 implementation.
4381 * math/libm-test.inc (ceil_test_data): Add more tests.
4382
4655c291
AZ
4383 * math/libm-test.inc (trunc_test_data): Add more tests related to
4384 BZ#16414.
4385
d7329d4b
RM
43862014-03-14 Roland McGrath <roland@hack.frob.com>
4387
4388 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4389 with #if rather than #ifdef.
4390 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4391
aa4de9ce
L
43922014-03-14 H.J. Lu <hongjiu.lu@intel.com>
4393
4394 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4395 first. Disable AVX-512 GCC support if assembler doesn't support
4396 it.
4397 * sysdeps/x86_64/configure: Regenerated.
4398
2e03fae7
CD
43992014-03-13 Carlos O'Donell <carlos@redhat.com>
4400
4401 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4402 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4403 (__old_pthread_attr_setstack): Likewise.
4404 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4405 [!_STACK_GROWS_DOWN]: Likewise.
4406
43ca83ec
MF
44072014-03-13 Mike Frysinger <vapier@gentoo.org>
4408
4409 * config.make.in (have-bash2): Delete.
4410 * configure.ac (libc_cv_have_bash2): Delete.
4411 * configure: Regenerate.
4412 * elf/Makefile (common-ldd-rewrite): Rename to ...
4413 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
4414 (sh-ldd-rewrite): Delete.
4415 (bash-ldd-rewrite): Delete.
4416 (have-bash2): Delete checks.
57f41c40
AS
4417 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4418 ldd-rewrite.
c66e48b4
MF
4419
4420 * config.make.in (have-ksh): Delete.
4421 (KSH): Delete.
4422 * configure.ac (libc_cv_have_ksh): Delete.
4423 * configure: Regenerate.
4424
b93834ef
MF
4425 * elf/Makefile: Delete $(have-ksh) check.
4426 ($(objpfx)sotruss): Change KSH to BASH.
4427 * elf/sotruss.ksh: Rename to ...
4428 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
4429 function style to match POSIX. Drop ksh vim mode setting.
4430
f3a4632a
MF
4431 * manual/time.texi (Specifying the Time Zone with TZ): Change
4432 Tuesday to Thursday.
4433
5896c8bd
MF
4434 * debug/tst-longjmp_chk2.c: Update header comment.
4435 (stackoverflow_handler): Add comment. Call assert on pass value.
4436
2d63a517
IZ
44372014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
4438
4439 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4440 (HAVE_AVX512_ASM_SUPPORT): Likewise.
4441 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4442 (La_x86_64_vector): Add zmm.
4443 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4444 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4445 ($(objpfx)tst-audit10): New target.
4446 ($(objpfx)tst-audit10.out): Likewise.
4447 (tst-audit10-ENV): New.
4448 (AVX512-CFLAGS): Likewise.
4449 (CFLAGS-tst-audit10.c): Likewise.
4450 (CFLAGS-tst-auditmod10a.c): Likewise.
4451 (CFLAGS-tst-auditmod10b.c): Likewise.
4452 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
4453 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
4454 * sysdeps/x86_64/configure: Regenerated.
4455 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
4456 AVX-512 zmm register support.
4457 (_dl_x86_64_save_sse): Likewise.
4458 (_dl_x86_64_restore_sse): Likewise.
4459 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
4460 size vector registers.
4461 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
4462 (ZMM_SIZE): Likewise.
4463 * sysdeps/x86_64/tst-audit10.c: New file.
4464 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
4465 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
4466
44c4e5d5
RM
44672014-03-13 Roland McGrath <roland@hack.frob.com>
4468
4469 * configure.ac (HAVE_EHDR_START): New check.
4470 * configure: Regenerated.
4471 * config.h.in (HAVE_EHDR_START): New #undef.
4472 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
4473 assuming the lowest-addressed segment maps the start of the file.
4474
acd6e389
JM
44752014-03-13 Joseph Myers <joseph@codesourcery.com>
4476
4477 * INSTALL: Regenerated.
4478
6f918f36
WN
44792014-03-13 Will Newton <will.newton@linaro.org>
4480
4481 * manual/setjmp.texi (System V contexts): Improve
4482 clarity and grammar of documentation.
4483
798212a0
PP
44842014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
4485
4486 [BZ #16381]
798212a0 4487 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 4488 (tests-pie): Add tst-pie2.
798212a0
PP
4489 * elf/tst-pie2.c: New file.
4490 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
4491 for ET_EXEC.
4492 * elf/rtld.c (map_doit): Load executable as lt_executable.
4493 (dl_main): Likewise.
4494
abe6d90c
JM
44952014-03-12 Joseph Myers <joseph@codesourcery.com>
4496
4497 [BZ #16642]
4498 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4499 (__ASSUME_PSELECT): Undefine.
4500
dd3946c6
AZ
45012014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4502
4503 [BZ #16689]
4504 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
4505 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
4506 static build.
4507 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
4508 selector for static builds.
4509
c44496df
SP
45102014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4511
4512 [BZ #16695]
4513 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
4514 key in the buffer.
4515
27c7220a
AZ
45162014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4517
57f41c40
AS
4518 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
4519 IFUNC selector for static builds.
27c7220a 4520
600fa361
JM
45212014-03-11 Joseph Myers <joseph@codesourcery.com>
4522
76c96cf7
JM
4523 * sysdeps/mips/math_private.h [__mips_hard_float]
4524 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
4525 libc_feresetround_mips_ctx.
4526 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
4527 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
4528 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
4529
600fa361
JM
4530 [BZ #16677]
4531 * math/s_nextafter.c (__nextafter): Do not return value from
4532 overflowing computation.
4533 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4534 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
4535 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4536 Likewise.
4537 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4538 Likewise.
4539 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4540 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
4541
d7706c32
RM
45422014-03-11 Roland McGrath <roland@hack.frob.com>
4543
4544 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
4545 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
4546 Move sfi_sp use from the load-multiple (that no longer sets sp) to
4547 the new mov targetting sp.
4548
4facea47
AZ
45492014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4550
4551 [BZ #16683]
4552 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
4553 Define it for static builds as well.
4554 (NO_BZERO_IMPL): Likewise.
4555
e65caf1f
VR
45562014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4557
4558 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
4559 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
4560 multiarch strspn for PPC64.
4561 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
4562 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
4563 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4564 (__libc_ifunc_impl_list): Likewise.
4565 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
4566 multiarch optimizations
4567 * string/strspn.c (strspn): Using macro to redefine symbol name.
4568
ba9cc071
AZ
45692014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4570 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4571
4572 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
4573 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
4574 multiarch strncat for PPC64.
4575 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
4576 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
4577 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4578 (__libc_ifunc_impl_list): Likewise.
4579 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
4580 multiarch optimizations
4581
8b4ff974
SP
45822014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4583
4584 [BZ #16639]
4585 * nscd/nscd.service: Make service type forking.
4586
54b46a4b
AZ
45872014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4588
4589 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
4590 sign in non default rounding modes.
4591 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4592
e9996ef7
JM
45932014-03-08 Joseph Myers <joseph@codesourcery.com>
4594
4595 * math/libm-test.inc (ALL_RM_TEST): New macro.
4596 (ceil_test): Use ALL_RM_TEST.
4597 (cimag_test): Likewise.
4598 (conj_test): Likewise.
4599 (copysign_test): Likewise.
4600 (cproj_test): Likewise.
4601 (creal_test): Likewise.
4602 (fabs_test): Likewise.
4603 (floor_test): Likewise.
4604 (fmax_test): Likewise.
4605 (fmin_test): Likewise.
4606 (fmod_test): Likewise.
4607 (fpclassify_test): Likewise.
4608 (frexp_test): Likewise.
4609 (ilogb_test): Likewise.
4610 (isfinite_test): Likewise.
4611 (finite_test): Likewise.
4612 (isgreater_test): Likewise.
4613 (isgreaterequal_test): Likewise.
4614 (isinf_test): Likewise.
4615 (isless_test): Likewise.
4616 (islessequal_test): Likewise.
4617 (islessgreater_test): Likewise.
4618 (isnan_test): Likewise.
4619 (isnormal_test): Likewise.
4620 (issignaling_test): Likewise.
4621 (isunordered_test): Likewise.
4622 (logb_test): Likewise.
4623 (logb_downward_test_data): Remove.
4624 (logb_test_downward): Likewise.
4625 (lround_test): Use ALL_RM_TEST.
4626 (llround_test): Likewise.
4627 (modf_test): Likewise.
4628 (nexttoward_test): Likewise.
4629 (remainder_test): Likewise.
4630 (drem_test): Likewise.
4631 (remainder_tonearest_test_data): Likewise.
4632 (remainder_test_tonearest): Likewise.
4633 (drem_test_tonearest): Likewise.
4634 (remainder_towardzero_test_data): Likewise.
4635 (remainder_test_towardzero): Likewise.
4636 (drem_test_towardzero): Likewise.
4637 (remainder_downward_test_data): Likewise.
4638 (remainder_test_downward): Likewise.
4639 (drem_test_downward): Likewise.
4640 (remainder_upward_test_data): Likewise.
4641 (remainder_test_upward): Likewise.
4642 (drem_test_upward): Likewise.
4643 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
4644 (round_test): Use ALL_RM_TEST.
4645 (signbit_test): Likewise.
4646 (trunc_test): Likewise.
4647 (significand_test): Likewise.
4648 (main): Don't call removed functions.
4649
bc61d27c
JM
46502014-03-07 Joseph Myers <joseph@codesourcery.com>
4651
5c780849
JM
4652 [BZ #16674]
4653 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
4654 || __USE_XOPEN2K8].
4655 (ILL_ILLOPN): Likewise.
4656 (ILL_ILLADR): Likewise.
4657 (ILL_ILLTRP): Likewise.
4658 (ILL_PRVOPC): Likewise.
4659 (ILL_PRVREG): Likewise.
4660 (ILL_COPROC): Likewise.
4661 (ILL_BADSTK): Likewise.
4662 (FPE_INTDIV): Likewise.
4663 (FPE_INTOVF): Likewise.
4664 (FPE_FLTDIV): Likewise.
4665 (FPE_FLTOVF): Likewise.
4666 (FPE_FLTUND): Likewise.
4667 (FPE_FLTRES): Likewise.
4668 (FPE_FLTINV): Likewise.
4669 (FPE_FLTSUB): Likewise.
4670 (SEGV_MAPERR): Likewise.
4671 (SEGV_ACCERR): Likewise.
4672 (BUS_ADRALN): Likewise.
4673 (BUS_ADRERR): Likewise.
4674 (BUS_OBJERR): Likewise.
4675 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4676 (TRAP_TRACE): Likewise.
4677 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4678 __USE_XOPEN2K8].
4679 (CLD_KILLED): Likewise.
4680 (CLD_DUMPED): Likewise.
4681 (CLD_TRAPPED): Likewise.
4682 (CLD_STOPPED): Likewise.
4683 (CLD_CONTINUED): Likewise.
4684 (POLL_IN): Likewise.
4685 (POLL_OUT): Likewise.
4686 (POLL_MSG): Likewise.
4687 (POLL_ERR): Likewise.
4688 (POLL_PRI): Likewise.
4689 (POLL_HUP): Likewise.
4690 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
4691 Likewise.
4692 (ILL_ILLOPN): Likewise.
4693 (ILL_ILLADR): Likewise.
4694 (ILL_ILLTRP): Likewise.
4695 (ILL_PRVOPC): Likewise.
4696 (ILL_PRVREG): Likewise.
4697 (ILL_COPROC): Likewise.
4698 (ILL_BADSTK): Likewise.
4699 (FPE_INTDIV): Likewise.
4700 (FPE_INTOVF): Likewise.
4701 (FPE_FLTDIV): Likewise.
4702 (FPE_FLTOVF): Likewise.
4703 (FPE_FLTUND): Likewise.
4704 (FPE_FLTRES): Likewise.
4705 (FPE_FLTINV): Likewise.
4706 (FPE_FLTSUB): Likewise.
4707 (SEGV_MAPERR): Likewise.
4708 (SEGV_ACCERR): Likewise.
4709 (BUS_ADRALN): Likewise.
4710 (BUS_ADRERR): Likewise.
4711 (BUS_OBJERR): Likewise.
4712 (BUS_MCEERR_AR): Likewise.
4713 (BUS_MCEERR_AO): Likewise.
4714 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4715 (TRAP_TRACE): Likewise.
4716 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4717 __USE_XOPEN2K8].
4718 (CLD_KILLED): Likewise.
4719 (CLD_DUMPED): Likewise.
4720 (CLD_TRAPPED): Likewise.
4721 (CLD_STOPPED): Likewise.
4722 (CLD_CONTINUED): Likewise.
4723 (POLL_IN): Likewise.
4724 (POLL_OUT): Likewise.
4725 (POLL_MSG): Likewise.
4726 (POLL_ERR): Likewise.
4727 (POLL_PRI): Likewise.
4728 (POLL_HUP): Likewise.
4729 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
4730 (ILL_ILLOPN): Likewise.
4731 (ILL_ILLADR): Likewise.
4732 (ILL_ILLTRP): Likewise.
4733 (ILL_PRVOPC): Likewise.
4734 (ILL_PRVREG): Likewise.
4735 (ILL_COPROC): Likewise.
4736 (ILL_BADSTK): Likewise.
4737 (FPE_INTDIV): Likewise.
4738 (FPE_INTOVF): Likewise.
4739 (FPE_FLTDIV): Likewise.
4740 (FPE_FLTOVF): Likewise.
4741 (FPE_FLTUND): Likewise.
4742 (FPE_FLTRES): Likewise.
4743 (FPE_FLTINV): Likewise.
4744 (FPE_FLTSUB): Likewise.
4745 (SEGV_MAPERR): Likewise.
4746 (SEGV_ACCERR): Likewise.
4747 (BUS_ADRALN): Likewise.
4748 (BUS_ADRERR): Likewise.
4749 (BUS_OBJERR): Likewise.
4750 (BUS_MCEERR_AR): Likewise.
4751 (BUS_MCEERR_AO): Likewise.
4752 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4753 (TRAP_TRACE): Likewise.
4754 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4755 __USE_XOPEN2K8].
4756 (CLD_KILLED): Likewise.
4757 (CLD_DUMPED): Likewise.
4758 (CLD_TRAPPED): Likewise.
4759 (CLD_STOPPED): Likewise.
4760 (CLD_CONTINUED): Likewise.
4761 (POLL_IN): Likewise.
4762 (POLL_OUT): Likewise.
4763 (POLL_MSG): Likewise.
4764 (POLL_ERR): Likewise.
4765 (POLL_PRI): Likewise.
4766 (POLL_HUP): Likewise.
4767 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
4768 Likewise.
4769 (ILL_ILLOPN): Likewise.
4770 (ILL_ILLADR): Likewise.
4771 (ILL_ILLTRP): Likewise.
4772 (ILL_PRVOPC): Likewise.
4773 (ILL_PRVREG): Likewise.
4774 (ILL_COPROC): Likewise.
4775 (ILL_BADSTK): Likewise.
4776 (ILL_BADIADDR): Likewise.
4777 (ILL_BREAK): Likewise.
4778 (FPE_INTDIV): Likewise.
4779 (FPE_INTOVF): Likewise.
4780 (FPE_FLTDIV): Likewise.
4781 (FPE_FLTOVF): Likewise.
4782 (FPE_FLTUND): Likewise.
4783 (FPE_FLTRES): Likewise.
4784 (FPE_FLTINV): Likewise.
4785 (FPE_FLTSUB): Likewise.
4786 (FPE_DECOVF): Likewise.
4787 (FPE_DECDIV): Likewise.
4788 (FPE_DECERR): Likewise.
4789 (FPE_INVASC): Likewise.
4790 (FPE_INVDEC): Likewise.
4791 (SEGV_MAPERR): Likewise.
4792 (SEGV_ACCERR): Likewise.
4793 (SEGV_PSTKOVF): Likewise.
4794 (BUS_ADRALN): Likewise.
4795 (BUS_ADRERR): Likewise.
4796 (BUS_OBJERR): Likewise.
4797 (BUS_MCEERR_AR): Likewise.
4798 (BUS_MCEERR_AO): Likewise.
4799 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4800 (TRAP_TRACE): Likewise.
4801 (TRAP_BRANCH): Likewise.
4802 (TRAP_HWBKPT): Likewise.
4803 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4804 __USE_XOPEN2K8].
4805 (CLD_KILLED): Likewise.
4806 (CLD_DUMPED): Likewise.
4807 (CLD_TRAPPED): Likewise.
4808 (CLD_STOPPED): Likewise.
4809 (CLD_CONTINUED): Likewise.
4810 (POLL_IN): Likewise.
4811 (POLL_OUT): Likewise.
4812 (POLL_MSG): Likewise.
4813 (POLL_ERR): Likewise.
4814 (POLL_PRI): Likewise.
4815 (POLL_HUP): Likewise.
4816 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
4817 (ILL_ILLOPN): Likewise.
4818 (ILL_ILLADR): Likewise.
4819 (ILL_ILLTRP): Likewise.
4820 (ILL_PRVOPC): Likewise.
4821 (ILL_PRVREG): Likewise.
4822 (ILL_COPROC): Likewise.
4823 (ILL_BADSTK): Likewise.
4824 (FPE_INTDIV): Likewise.
4825 (FPE_INTOVF): Likewise.
4826 (FPE_FLTDIV): Likewise.
4827 (FPE_FLTOVF): Likewise.
4828 (FPE_FLTUND): Likewise.
4829 (FPE_FLTRES): Likewise.
4830 (FPE_FLTINV): Likewise.
4831 (FPE_FLTSUB): Likewise.
4832 (SEGV_MAPERR): Likewise.
4833 (SEGV_ACCERR): Likewise.
4834 (BUS_ADRALN): Likewise.
4835 (BUS_ADRERR): Likewise.
4836 (BUS_OBJERR): Likewise.
4837 (BUS_MCEERR_AR): Likewise.
4838 (BUS_MCEERR_AO): Likewise.
4839 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4840 (TRAP_TRACE): Likewise.
4841 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4842 __USE_XOPEN2K8].
4843 (CLD_KILLED): Likewise.
4844 (CLD_DUMPED): Likewise.
4845 (CLD_TRAPPED): Likewise.
4846 (CLD_STOPPED): Likewise.
4847 (CLD_CONTINUED): Likewise.
4848 (POLL_IN): Likewise.
4849 (POLL_OUT): Likewise.
4850 (POLL_MSG): Likewise.
4851 (POLL_ERR): Likewise.
4852 (POLL_PRI): Likewise.
4853 (POLL_HUP): Likewise.
4854 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
4855 (ILL_ILLOPN): Likewise.
4856 (ILL_ILLADR): Likewise.
4857 (ILL_ILLTRP): Likewise.
4858 (ILL_PRVOPC): Likewise.
4859 (ILL_PRVREG): Likewise.
4860 (ILL_COPROC): Likewise.
4861 (ILL_BADSTK): Likewise.
4862 (FPE_INTDIV): Likewise.
4863 (FPE_INTOVF): Likewise.
4864 (FPE_FLTDIV): Likewise.
4865 (FPE_FLTOVF): Likewise.
4866 (FPE_FLTUND): Likewise.
4867 (FPE_FLTRES): Likewise.
4868 (FPE_FLTINV): Likewise.
4869 (FPE_FLTSUB): Likewise.
4870 (SEGV_MAPERR): Likewise.
4871 (SEGV_ACCERR): Likewise.
4872 (BUS_ADRALN): Likewise.
4873 (BUS_ADRERR): Likewise.
4874 (BUS_OBJERR): Likewise.
4875 (BUS_MCEERR_AR): Likewise.
4876 (BUS_MCEERR_AO): Likewise.
4877 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4878 (TRAP_TRACE): Likewise.
4879 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4880 __USE_XOPEN2K8].
4881 (CLD_KILLED): Likewise.
4882 (CLD_DUMPED): Likewise.
4883 (CLD_TRAPPED): Likewise.
4884 (CLD_STOPPED): Likewise.
4885 (CLD_CONTINUED): Likewise.
4886 (POLL_IN): Likewise.
4887 (POLL_OUT): Likewise.
4888 (POLL_MSG): Likewise.
4889 (POLL_ERR): Likewise.
4890 (POLL_PRI): Likewise.
4891 (POLL_HUP): Likewise.
4892 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
4893 (ILL_ILLOPN): Likewise.
4894 (ILL_ILLADR): Likewise.
4895 (ILL_ILLTRP): Likewise.
4896 (ILL_PRVOPC): Likewise.
4897 (ILL_PRVREG): Likewise.
4898 (ILL_COPROC): Likewise.
4899 (ILL_BADSTK): Likewise.
4900 (FPE_INTDIV): Likewise.
4901 (FPE_INTOVF): Likewise.
4902 (FPE_FLTDIV): Likewise.
4903 (FPE_FLTOVF): Likewise.
4904 (FPE_FLTUND): Likewise.
4905 (FPE_FLTRES): Likewise.
4906 (FPE_FLTINV): Likewise.
4907 (FPE_FLTSUB): Likewise.
4908 (SEGV_MAPERR): Likewise.
4909 (SEGV_ACCERR): Likewise.
4910 (BUS_ADRALN): Likewise.
4911 (BUS_ADRERR): Likewise.
4912 (BUS_OBJERR): Likewise.
4913 (BUS_MCEERR_AR): Likewise.
4914 (BUS_MCEERR_AO): Likewise.
4915 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4916 (TRAP_TRACE): Likewise.
4917 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4918 __USE_XOPEN2K8].
4919 (CLD_KILLED): Likewise.
4920 (CLD_DUMPED): Likewise.
4921 (CLD_TRAPPED): Likewise.
4922 (CLD_STOPPED): Likewise.
4923 (CLD_CONTINUED): Likewise.
4924 (POLL_IN): Likewise.
4925 (POLL_OUT): Likewise.
4926 (POLL_MSG): Likewise.
4927 (POLL_ERR): Likewise.
4928 (POLL_PRI): Likewise.
4929 (POLL_HUP): Likewise.
4930 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
4931 (ILL_ILLOPN): Likewise.
4932 (ILL_ILLADR): Likewise.
4933 (ILL_ILLTRP): Likewise.
4934 (ILL_PRVOPC): Likewise.
4935 (ILL_PRVREG): Likewise.
4936 (ILL_COPROC): Likewise.
4937 (ILL_BADSTK): Likewise.
4938 (ILL_DBLFLT): Likewise.
4939 (ILL_HARDWALL): Likewise.
4940 (FPE_INTDIV): Likewise.
4941 (FPE_INTOVF): Likewise.
4942 (FPE_FLTDIV): Likewise.
4943 (FPE_FLTOVF): Likewise.
4944 (FPE_FLTUND): Likewise.
4945 (FPE_FLTRES): Likewise.
4946 (FPE_FLTINV): Likewise.
4947 (FPE_FLTSUB): Likewise.
4948 (SEGV_MAPERR): Likewise.
4949 (SEGV_ACCERR): Likewise.
4950 (BUS_ADRALN): Likewise.
4951 (BUS_ADRERR): Likewise.
4952 (BUS_OBJERR): Likewise.
4953 (BUS_MCEERR_AR): Likewise.
4954 (BUS_MCEERR_AO): Likewise.
4955 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4956 (TRAP_TRACE): Likewise.
4957 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4958 __USE_XOPEN2K8].
4959 (CLD_KILLED): Likewise.
4960 (CLD_DUMPED): Likewise.
4961 (CLD_TRAPPED): Likewise.
4962 (CLD_STOPPED): Likewise.
4963 (CLD_CONTINUED): Likewise.
4964 (POLL_IN): Likewise.
4965 (POLL_OUT): Likewise.
4966 (POLL_MSG): Likewise.
4967 (POLL_ERR): Likewise.
4968 (POLL_PRI): Likewise.
4969 (POLL_HUP): Likewise.
4970 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
4971 (ILL_ILLOPN): Likewise.
4972 (ILL_ILLADR): Likewise.
4973 (ILL_ILLTRP): Likewise.
4974 (ILL_PRVOPC): Likewise.
4975 (ILL_PRVREG): Likewise.
4976 (ILL_COPROC): Likewise.
4977 (ILL_BADSTK): Likewise.
4978 (FPE_INTDIV): Likewise.
4979 (FPE_INTOVF): Likewise.
4980 (FPE_FLTDIV): Likewise.
4981 (FPE_FLTOVF): Likewise.
4982 (FPE_FLTUND): Likewise.
4983 (FPE_FLTRES): Likewise.
4984 (FPE_FLTINV): Likewise.
4985 (FPE_FLTSUB): Likewise.
4986 (SEGV_MAPERR): Likewise.
4987 (SEGV_ACCERR): Likewise.
4988 (BUS_ADRALN): Likewise.
4989 (BUS_ADRERR): Likewise.
4990 (BUS_OBJERR): Likewise.
4991 (BUS_MCEERR_AR): Likewise.
4992 (BUS_MCEERR_AO): Likewise.
4993 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4994 (TRAP_TRACE): Likewise.
4995 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4996 __USE_XOPEN2K8].
4997 (CLD_KILLED): Likewise.
4998 (CLD_DUMPED): Likewise.
4999 (CLD_TRAPPED): Likewise.
5000 (CLD_STOPPED): Likewise.
5001 (CLD_CONTINUED): Likewise.
5002 (POLL_IN): Likewise.
5003 (POLL_OUT): Likewise.
5004 (POLL_MSG): Likewise.
5005 (POLL_ERR): Likewise.
5006 (POLL_PRI): Likewise.
5007 (POLL_HUP): Likewise.
5008 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5009 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5010
bc61d27c
JM
5011 [BZ #16670]
5012 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5013 before #include of <time.h>.
5014 [!__USE_XOPEN2K] (__need_timespec): Likewise.
5015 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5016 (test-xfail-UNIX98/sched.h/conform): Likewise.
5017
302949e2
MS
50182014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
5019
5020 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5021 error absence of trapping exception support.
5022 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5023
a00f522a
JM
50242014-03-07 Joseph Myers <joseph@codesourcery.com>
5025
6f99f280
JM
5026 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5027 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5028 * timezone/Makefile (testdata): Move definition above include of
5029 Rules.
5030 (test-zones): New variable.
5031 (tests-special): Add zone files.
5032 (build-testdata): Use $(evaluate-test).
5033
0b20a9e8
JM
5034 * elf/Makefile (tests-special): Rename tests to end with .out.
5035 ($(objpfx)noload-mem): Likewise.
5036 ($(objpfx)tst-leaks1-mem): Likewise.
5037 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5038 * iconv/Makefile (xtests-special): Change test-iconvconfig to
5039 $(objpfx)test-iconvconfig.out.
5040 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
5041 set -e inside subshell and redirect output to file.
5042 * iconvdata/Makefile (generated): Rename tests to end with .out.
5043 Correct type.
5044 (tests-special): Rename tests to end with .out.
5045 ($(objpfx)mtrace-tst-loading): Likewise.
5046 * intl/Makefile (generated): Likewise.
5047 (tests-special): Likewise.
5048 ($(objpfx)mtrace-tst-gettext): Likewise.
5049 * misc/Makefile (generated): Likewise.
5050 (tests-special): Likewise.
5051 ($(objpfx)tst-error1-mem): Likewise.
5052 * nptl/Makefile (tests-special): Likewise.
5053 ($(objpfx)tst-stack3-mem): Likewise.
5054 (generated): Likewise.
5055 * posix/Makefile (generated): Likewise.
5056 (tests-special): Likewise.
5057 (xtests-special): Likewise.
5058 ($(objpfx)tst-fnmatch-mem): Likewise.
5059 ($(objpfx)bug-regex2-mem): Likewise.
5060 ($(objpfx)bug-regex14-mem): Likewise.
5061 ($(objpfx)bug-regex21-mem): Likewise.
5062 ($(objpfx)bug-regex31-mem): Likewise.
5063 ($(objpfx)tst-vfork3-mem): Likewise.
5064 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5065 ($(objpfx)tst-pcre-mem): Likewise.
5066 ($(objpfx)tst-boost-mem): Likewise.
5067 ($(objpfx)bug-ga2-mem): Likewise.
5068 ($(objpfx)bug-glob2-mem): Likewise.
5069 * resolv/Makefile (generate): Likewise.
5070 (tests-special): Likewise.
5071 (xtests-special): Likewise.
5072 (generated): Likewise.
5073 ($(objpfx)mtrace-tst-leaks): Likewise.
5074 ($(objpfx)mtrace-tst-leaks2): Likewise.
5075
265d52ab
JM
5076 * scripts/merge-test-results.sh: New file.
5077 * Makefile (tests-special-notdir): New variable.
5078 (tests): Run merge-test-results.sh.
5079 (xtests): Likewise.
5080 * Rules (tests-special-notdir): New variable.
5081 (xtests-special-notdir): Likewise.
5082 (tests): Run merge-test-results.sh
5083 (xtests): Likewise.
5084
54ee292d
JM
5085 * Makeconfig (test-xfail-name): New variable.
5086 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5087 compute variable name for expected failures.
5088 * conform/Makefile (conformtest-headers-data): New variable.
5089 (conformtest-standards): Likewise.
5090 (conformtest-headers-ISO): Likewise.
5091 (conformtest-headers-ISO99): Likewise.
5092 (conformtest-headers-ISO11): Likewise.
5093 (conformtest-headers-POSIX): Likewise.
5094 (conformtest-headers-XPG3): Likewise.
5095 (conformtest-headers-XPG4): Likewise.
5096 (conformtest-headers-UNIX98): Likewise.
5097 (conformtest-headers-XOPEN2K): Likewise.
5098 (conformtest-headers-POSIX2008): Likewise.
5099 (conformtest-headers-XOPEN2K8): Likewise.
5100 (conformtest-header-list-base): Likewise.
5101 (conformtest-header-list-tests): Likewise.
5102 (conformtest-header-base): Likewise.
5103 (conformtest-header-tests): Likewise.
5104 (tests-special): Add $(conformtest-header-list-tests). If
5105 [$(fast-check) && !$(cross-compiling)], add
5106 $(conformtest-header-tests) instead of
5107 $(objpfx)run-conformtest.out.
5108 (generated): Add $(conformtest-header-list-base). If
5109 [$(fast-check) && !$(cross-compiling)], add
5110 $(conformtest-header-base). Remove previous setting.
5111 ($(conformtest-header-list-tests)): New target.
5112 (test-xfail-run-conformtest): Remove variable.
5113 ($(objpfx)run-conformtest.out): Remove target.
5114 (test-xfail-ISO11/complex.h/conform): New variable.
5115 (test-xfail-ISO11/stdalign.h/conform): Likewise.
5116 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5117 (test-xfail-XPG3/varargs.h/conform): Likewise.
5118 (test-xfail-XPG4/varargs.h/conform): Likewise.
5119 (test-xfail-UNIX98/varargs.h/conform): Likewise.
5120 (test-xfail-XPG4/ndbm.h/conform): Likewise.
5121 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5122 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5123 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5124 (test-xfail-XPG3/fcntl.h/conform): Likewise.
5125 (test-xfail-XPG3/ftw.h/conform): Likewise.
5126 (test-xfail-XPG3/grp.h/conform): Likewise.
5127 (test-xfail-XPG3/langinfo.h/conform): Likewise.
5128 (test-xfail-XPG3/limits.h/conform): Likewise.
5129 (test-xfail-XPG3/pwd.h/conform): Likewise.
5130 (test-xfail-XPG3/search.h/conform): Likewise.
5131 (test-xfail-XPG3/signal.h/conform): Likewise.
5132 (test-xfail-XPG3/stdio.h/conform): Likewise.
5133 (test-xfail-XPG3/stdlib.h/conform): Likewise.
5134 (test-xfail-XPG3/string.h/conform): Likewise.
5135 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5136 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5137 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5138 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5139 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5140 (test-xfail-XPG3/sys/types.h/conform): Likewise.
5141 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5142 (test-xfail-XPG3/termios.h/conform): Likewise.
5143 (test-xfail-XPG3/time.h/conform): Likewise.
5144 (test-xfail-XPG3/unistd.h/conform): Likewise.
5145 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5146 (test-xfail-XPG4/fcntl.h/conform): Likewise.
5147 (test-xfail-XPG4/langinfo.h/conform): Likewise.
5148 (test-xfail-XPG4/netdb.h/conform): Likewise.
5149 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5150 (test-xfail-XPG4/signal.h/conform): Likewise.
5151 (test-xfail-XPG4/stdio.h/conform): Likewise.
5152 (test-xfail-XPG4/stdlib.h/conform): Likewise.
5153 (test-xfail-XPG4/stropts.h/conform): Likewise.
5154 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5155 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5156 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5157 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5158 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5159 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5160 (test-xfail-XPG4/sys/time.h/conform): Likewise.
5161 (test-xfail-XPG4/sys/types.h/conform): Likewise.
5162 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5163 (test-xfail-XPG4/termios.h/conform): Likewise.
5164 (test-xfail-XPG4/ucontext.h/conform): Likewise.
5165 (test-xfail-XPG4/unistd.h/conform): Likewise.
5166 (test-xfail-XPG4/utmpx.h/conform): Likewise.
5167 (test-xfail-POSIX/sched.h/conform): Likewise.
5168 (test-xfail-POSIX/signal.h/conform): Likewise.
5169 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5170 (test-xfail-POSIX/tar.h/conform): Likewise.
5171 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5172 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5173 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5174 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5175 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5176 (test-xfail-UNIX98/sched.h/conform): Likewise.
5177 (test-xfail-UNIX98/signal.h/conform): Likewise.
5178 (test-xfail-UNIX98/stdio.h/conform): Likewise.
5179 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5180 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5181 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5182 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5183 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5184 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5185 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5186 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5187 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5188 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5189 (test-xfail-UNIX98/unistd.h/conform): Likewise.
5190 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5191 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5192 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5193 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5194 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5195 (test-xfail-XOPEN2K/math.h/conform): Likewise.
5196 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5197 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5198 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5199 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5200 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5201 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5202 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5203 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5204 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5205 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5206 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5207 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5208 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5209 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5210 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5211 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5212 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5213 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5214 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5215 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5216 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5217 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5218 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5219 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5220 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5221 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5222 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5223 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5224 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5225 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5226 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5227 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5228 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5229 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5230 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5231 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5232 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5233 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5234 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5235 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5236 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5237 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5238 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5239 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5240 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5241 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5242 (conformtest-cc-flags): Likewise.
5243 ($(conformtest-header-tests): New target.
5244 * conform/check-header-lists.sh: New file.
5245 * conform/run-conformtest.sh: Remove.
5246
a00f522a
JM
5247 * conform/conformtest.pl: Allow ' and \ in values given for
5248 constants.
5249 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5250 inclusion.
5251 [POSIX] (sys/types.h): Likewise.
5252 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5253 inclusion.
5254 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5255 inclusion.
5256 * conform/data/signal.h-data (SIGIO): Remove expectation.
5257 [XPG3] (SIGBUS): Do not expect.
5258 [POSIX || XPG3] (SIGPOLL): Likewise.
5259 [POSIX || XPG3] (SIGPROF): Likewise.
5260 [POSIX || XPG3] (SIGSYS): Likewise.
5261 [XPG3] (SIGTRAP): Likewise.
5262 [POSIX || XPG3] (SIGURG): Likewise.
5263 [POSIX || XPG3] (SIGVTALRM): Likewise.
5264 [POSIX || XPG3] (SIGXCPU): Likewise.
5265 [POSIX || XPG3] (SIGXFSZ): Likewise.
5266 [POSIX] (SA_SIGINFO): Expect.
5267 [XPG3] (siginfo_t): Do not expect type or contents.
5268 [POSIX] (si_pid): Do not expect element.
5269 [POSIX] (si_uid): Likewise.
5270 [POSIX] (si_addr): Likewise.
5271 [POSIX] (si_status): Likewise.
5272 [POSIX] (si_band): Likewise.
5273 [XPG4] (si_value): Likewise.
5274 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5275 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5276 [POSIX || XPG3] (ILL_ILLADR): Likewise.
5277 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5278 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5279 [POSIX || XPG3] (ILL_PRVREG): Likewise.
5280 [POSIX || XPG3] (ILL_COPROC): Likewise.
5281 [POSIX || XPG3] (ILL_BADSTK): Likewise.
5282 [POSIX || XPG3] (FPE_INTDIV): Likewise.
5283 [POSIX || XPG3] (FPE_INTOVF): Likewise.
5284 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5285 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5286 [POSIX || XPG3] (FPE_FLTUND): Likewise.
5287 [POSIX || XPG3] (FPE_FLTRES): Likewise.
5288 [POSIX || XPG3] (FPE_FLTINV): Likewise.
5289 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5290 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5291 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5292 [POSIX || XPG3] (BUS_ADRALN): Likewise.
5293 [POSIX || XPG3] (BUS_ADRERR): Likewise.
5294 [POSIX || XPG3] (BUS_OBJERR): Likewise.
5295 [POSIX || XPG3] (CLD_EXITED): Likewise.
5296 [POSIX || XPG3] (CLD_KILLED): Likewise.
5297 [POSIX || XPG3] (CLD_DUMPED): Likewise.
5298 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5299 [POSIX || XPG3] (CLD_STOPPED): Likewise.
5300 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5301 [POSIX || XPG3] (POLL_IN): Likewise.
5302 [POSIX || XPG3] (POLL_OUT): Likewise.
5303 [POSIX || XPG3] (POLL_MSG): Likewise.
5304 [POSIX || XPG3] (POLL_ERR): Likewise.
5305 [POSIX || XPG3] (POLL_PRI): Likewise.
5306 [POSIX || XPG3] (POLL_HUP): Likewise.
5307 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5308 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5309 (SIG*): Do not allow.
5310 [XPG3] (si_*): Likewise.
5311 [XPG3] (SI_*): Likewise.
5312 [XPG3 || XPG4] (sigev_*): Likewise.
5313 [XPG3 || XPG4] (SIGEV_*): Likewise.
5314 [XPG3 || XPG4] (sival_*): Likewise.
5315 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5316 [POSIX || XPG3] (BUS_*): Likewise.
5317 [POSIX || XPG3] (CLD_*): Likewise.
5318 [POSIX || XPG3] (FPE_*): Likewise.
5319 [POSIX || XPG3] (ILL_*): Likewise.
5320 [POSIX || XPG3] (POLL_*): Likewise.
5321 [POSIX || XPG3] (SEGV_*): Likewise.
5322 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5323 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5324 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5325 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5326 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5327 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5328 Specify type and value.
5329 (TVERSLEN): Likewise.
5330 (REGTYPE): Likewise.
5331 (AREGTYPE): Likewise.
5332 (LNKTYPE): Likewise.
5333 (SYMTYPE): Likewise.
5334 (CHRTYPE): Likewise.
5335 (BLKTYPE): Likewise.
5336 (DIRTYPE): Likewise.
5337 (FIFOTYPE): Likewise.
5338 (CONTTYPE): Likewise.
5339 (TSUID): Likewise.
5340 (TSGID): Likewise.
5341 (TSVTX): Likewise.
5342 (TUREAD): Likewise.
5343 (TUWRITE): Likewise.
5344 (TUEXEC): Likewise.
5345 (TGREAD): Likewise.
5346 (TGWRITE): Likewise.
5347 (TGEXEC): Likewise.
5348 (TOREAD): Likewise.
5349 (TOWRITE): Likewise.
5350 (TOEXEC): Likewise.
5351 [POSIX] (TSVTX): Expect constant.
5352
aa97dee1
JM
53532014-03-06 Joseph Myers <joseph@codesourcery.com>
5354
f214606a
JM
5355 * Makefile (tests): Change dependencies to ....
5356 (tests-special): ... additions to this variable.
5357 (tests): Depend on $(tests-special).
5358 * Makerules (check-abi-list): New variable.
5359 (check-abi): Depend on $(check-abi-list).
5360 [$(subdir) = elf] (tests-special): Add
5361 $(objpfx)check-abi-libc.out.
5362 [$(build-shared) = yes && subdir] (tests-special): Add
5363 $(check-abi-list).
5364 [$(build-shared) = yes && subdir] (tests): Do not depend on
5365 check-abi.
5366 * Rules (tests): Depend on $(tests-special).
5367 (xtests): Depend on $(xtests-special).
5368 * catgets/Makefile (tests): Change dependencies to ....
5369 (tests-special): ... additions to this variable.
5370 * conform/Makefile (tests): Change dependencies to ....
5371 (tests-special): ... additions to this variable.
5372 * elf/Makefile (tests): Change dependencies to ....
5373 (tests-special): ... additions to this variable.
5374 * grp/Makefile (tests): Change dependencies to ....
5375 (tests-special): ... additions to this variable.
5376 * iconv/Makefile (xtests): Change dependencies to ....
5377 (xtests-special): ... additions to this variable.
5378 * iconvdata/Makefile (tests): Change dependencies to ....
5379 (tests-special): ... additions to this variable.
5380 * intl/Makefile (tests): Change dependencies to ....
5381 (tests-special): ... additions to this variable. Also add
5382 $(objpfx)tst-gettext.out.
5383 * io/Makefile (tests): Change dependencies to ....
5384 (tests-special): ... additions to this variable.
5385 * libio/Makefile (tests): Change dependencies to ....
5386 (tests-special): ... additions to this variable.
5387 * malloc/Makefile (tests): Change dependencies to ....
5388 (tests-special): ... additions to this variable.
5389 * misc/Makefile (tests): Change dependencies to ....
5390 (tests-special): ... additions to this variable.
5391 * nptl/Makefile (tests): Change dependencies to ....
5392 (tests-special): ... additions to this variable.
5393 * nptl_db/Makefile (tests): Change dependencies to ....
5394 (tests-special): ... additions to this variable.
5395 * posix/Makefile (tests): Change dependencies to ....
5396 (tests-special): ... additions to this variable.
5397 (xtests): Change dependencies to ....
5398 (xtests-special): ... additions to this variable.
5399 * resolv/Makefile (tests): Change dependencies to ....
5400 (tests-special): ... additions to this variable.
5401 (xtests): Change dependencies to ....
5402 (xtests-special): ... additions to this variable.
5403 * stdio-common/Makefile (tests): Change dependencies to ....
5404 (tests-special): ... additions to this variable.
5405 (do-tst-unbputc): Remove target.
5406 (do-tst-printf): Likewise.
5407 * stdlib/Makefile (tests): Change dependencies to ....
5408 (tests-special): ... additions to this variable.
5409 * string/Makefile (tests): Change dependencies to ....
5410 (tests-special): ... additions to this variable.
5411 * sysdeps/x86/Makefile (tests): Change dependencies to ....
5412 (tests-special): ... additions to this variable.
5413
81700b53
JM
5414 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5415 whole file.
5416 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5417 whole file.
5418 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5419 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5420
2ea18461
JM
5421 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5422 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5423 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5424 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5425 * conform/data/libgen.h-data [XPG3]: Likewise.
5426 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5427 * conform/data/ndbm.h-data [XPG3]: Likewise.
5428 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5429 * conform/data/netdb.h-data [XPG3]: Likewise.
5430 * conform/data/netinet/in.h-data [XPG3]: Likewise.
5431 * conform/data/poll.h-data [XPG3]: Likewise.
5432 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5433 * conform/data/strings.h-data [XPG3]: Likewise.
5434 * conform/data/stropts.h-data [XPG3]: Likewise.
5435 * conform/data/sys/mman.h-data [XPG3]: Likewise.
5436 * conform/data/sys/resource.h-data [XPG3]: Likewise.
5437 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5438 Likewise.
5439 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5440 * conform/data/sys/time.h-data [XPG3]: Likewise.
5441 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5442 * conform/data/sys/uio.h-data [XPG3]: Likewise.
5443 * conform/data/sys/un.h-data [XPG3]: Likewise.
5444 * conform/data/syslog.h-data [XPG3]: Likewise.
5445 * conform/data/ucontext.h-data [XPG3]: Likewise.
5446 * conform/data/utmpx.h-data [XPG3]: Likewise.
5447 * conform/data/varargs.h-data [UNIX98]: Enable file.
5448
355bc986
JM
5449 * manual/Makefile (INSTALL_INFO): Remove variable setting.
5450
215db402
JM
5451 * math/libm-test.inc (struct test_f_f_data): Move expected results
5452 into structure for each rounding mode.
5453 (struct test_ff_f_data): Likewise.
5454 (struct test_ff_f_data_nexttoward): Likewise.
5455 (struct test_fi_f_data): Likewise.
5456 (struct test_fl_f_data): Likewise.
5457 (struct test_if_f_data): Likewise.
5458 (struct test_fff_f_data): Likewise.
5459 (struct test_c_f_data): Likewise.
5460 (struct test_f_f1_data): Likewise.
5461 (struct test_fF_f1_data): Likewise.
5462 (struct test_ffI_f1_data): Likewise.
5463 (struct test_c_c_data): Likewise.
5464 (struct test_cc_c_data): Likewise.
5465 (struct test_f_i_data): Likewise.
5466 (struct test_ff_i_data): Likewise.
5467 (struct test_f_l_data): Likewise.
5468 (struct test_f_L_data): Likewise.
5469 (struct test_fFF_11_data): Likewise.
5470 (RM_): New macro.
5471 (RM_FE_DOWNWARD): Likewise.
5472 (RM_FE_TONEAREST): Likewise.
5473 (RM_FE_TOWARDZERO): Likewise.
5474 (RM_FE_UPWARD): Likewise.
5475 (RUN_TEST_LOOP_f_f): Update references to expected results.
5476 (RUN_TEST_LOOP_2_f): Likewise.
5477 (RUN_TEST_LOOP_fff_f): Likewise.
5478 (RUN_TEST_LOOP_c_f): Likewise.
5479 (RUN_TEST_LOOP_f_f1): Likewise.
5480 (RUN_TEST_LOOP_fF_f1): Likewise.
5481 (RUN_TEST_LOOP_fI_f1): Likewise.
5482 (RUN_TEST_LOOP_ffI_f1): Likewise.
5483 (RUN_TEST_LOOP_c_c): Likewise.
5484 (RUN_TEST_LOOP_cc_c): Likewise.
5485 (RUN_TEST_LOOP_f_i): Likewise.
5486 (RUN_TEST_LOOP_f_i_tg): Likewise.
5487 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5488 (RUN_TEST_LOOP_f_b): Likewise.
5489 (RUN_TEST_LOOP_f_b_tg): Likewise.
5490 (RUN_TEST_LOOP_f_l): Likewise.
5491 (RUN_TEST_LOOP_f_L): Likewise.
5492 (RUN_TEST_LOOP_fFF_11): Likewise.
5493 * math/gen-libm-test.pl (parse_args): Output four copies of
5494 expected results for each test.
5495
67737b8f
JM
5496 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5497 (__ASSUME_UTIMES): Remove.
5498 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5499 (__ASSUME_UTIMES): Likewise.
5500
aa97dee1
JM
5501 * math/gen-auto-libm-tests.c: Update comment on output format.
5502 (output_for_one_input_case): Generate before-rounding and
5503 after-rounding information as conditions on output flags not
5504 floating-point format.
5505 * math/auto-libm-test-out: Regenerated.
5506 * math/gen-libm-test.pl (cond_value): New function.
5507 (or_cond_value): Use cond_value.
5508 (generate_testfile): Handle conditional exceptions.
5509
e6b6a857
JM
55102014-03-05 Joseph Myers <joseph@codesourcery.com>
5511
2f0a0f44
JM
5512 * math/libm-test.inc (max_valid_error): New variable.
5513 (init_max_error): Take new argument specifying whether function
5514 results are exactly determined. Set max_valid_error and bound
5515 other variables for errors based on this argument.
5516 (set_max_error): Do not record results above max_valid_error.
5517 (check_float_internal): Only accept errors of up to 0.5ulps if
5518 also at most max_valid_error.
5519 (START): Take new argument EXACT and pass it to init_max_error.
5520 (acos_test): Update call to START.
5521 (acos_test_tonearest): Likewise.
5522 (acos_test_towardzero): Likewise.
5523 (acos_test_downward): Likewise.
5524 (acos_test_upward): Likewise.
5525 (acosh_test): Likewise.
5526 (asin_test): Likewise.
5527 (asin_test_tonearest): Likewise.
5528 (asin_test_towardzero): Likewise.
5529 (asin_test_downward): Likewise.
5530 (asin_test_upward): Likewise.
5531 (asinh_test): Likewise.
5532 (atan_test): Likewise.
5533 (atanh_test): Likewise.
5534 (atan2_test): Likewise.
5535 (cabs_test): Likewise.
5536 (cacos_test): Likewise.
5537 (cacosh_test): Likewise.
5538 (carg_test): Likewise.
5539 (casin_test): Likewise.
5540 (casinh_test): Likewise.
5541 (catan_test): Likewise.
5542 (catanh_test): Likewise.
5543 (cbrt_test): Likewise.
5544 (ccos_test): Likewise.
5545 (ccosh_test): Likewise.
5546 (ceil_test): Likewise.
5547 (cexp_test): Likewise.
5548 (cimag_test): Likewise.
5549 (clog_test): Likewise.
5550 (clog10_test): Likewise.
5551 (conj_test): Likewise.
5552 (copysign_test): Likewise.
5553 (cos_test): Likewise.
5554 (cos_test_tonearest): Likewise.
5555 (cos_test_towardzero): Likewise.
5556 (cos_test_downward): Likewise.
5557 (cos_test_upward): Likewise.
5558 (cosh_test): Likewise.
5559 (cosh_test_tonearest): Likewise.
5560 (cosh_test_towardzero): Likewise.
5561 (cosh_test_downward): Likewise.
5562 (cosh_test_upward): Likewise.
5563 (cpow_test): Likewise.
5564 (cproj_test): Likewise.
5565 (creal_test): Likewise.
5566 (csin_test): Likewise.
5567 (csinh_test): Likewise.
5568 (csqrt_test): Likewise.
5569 (ctan_test): Likewise.
5570 (ctan_test_tonearest): Likewise.
5571 (ctan_test_towardzero): Likewise.
5572 (ctan_test_downward): Likewise.
5573 (ctan_test_upward): Likewise.
5574 (ctanh_test): Likewise.
5575 (ctanh_test_tonearest): Likewise.
5576 (ctanh_test_towardzero): Likewise.
5577 (ctanh_test_downward): Likewise.
5578 (ctanh_test_upward): Likewise.
5579 (erf_test): Likewise.
5580 (erfc_test): Likewise.
5581 (exp_test): Likewise.
5582 (exp_test_tonearest): Likewise.
5583 (exp_test_towardzero): Likewise.
5584 (exp_test_downward): Likewise.
5585 (exp_test_upward): Likewise.
5586 (exp10_test): Likewise.
5587 (exp10_test_tonearest): Likewise.
5588 (exp10_test_towardzero): Likewise.
5589 (exp10_test_downward): Likewise.
5590 (exp10_test_upward): Likewise.
5591 (pow10_test): Likewise.
5592 (exp2_test): Likewise.
5593 (expm1_test): Likewise.
5594 (expm1_test_tonearest): Likewise.
5595 (expm1_test_towardzero): Likewise.
5596 (expm1_test_downward): Likewise.
5597 (expm1_test_upward): Likewise.
5598 (fabs_test): Likewise.
5599 (fdim_test): Likewise.
5600 (floor_test): Likewise.
5601 (fma_test): Likewise.
5602 (fma_test_towardzero): Likewise.
5603 (fma_test_downward): Likewise.
5604 (fma_test_upward): Likewise.
5605 (fmax_test): Likewise.
5606 (fmin_test): Likewise.
5607 (fmod_test): Likewise.
5608 (fpclassify_test): Likewise.
5609 (frexp_test): Likewise.
5610 (hypot_test): Likewise.
5611 (ilogb_test): Likewise.
5612 (isfinite_test): Likewise.
5613 (finite_test): Likewise.
5614 (isgreater_test): Likewise.
5615 (isgreaterequal_test): Likewise.
5616 (isinf_test): Likewise.
5617 (isless_test): Likewise.
5618 (islessequal_test): Likewise.
5619 (islessgreater_test): Likewise.
5620 (isnan_test): Likewise.
5621 (isnormal_test): Likewise.
5622 (issignaling_test): Likewise.
5623 (isunordered_test): Likewise.
5624 (j0_test): Likewise.
5625 (j1_test): Likewise.
5626 (jn_test): Likewise.
5627 (ldexp_test): Likewise.
5628 (lgamma_test): Likewise.
5629 (gamma_test): Likewise.
5630 (lrint_test): Likewise.
5631 (lrint_test_tonearest): Likewise.
5632 (lrint_test_towardzero): Likewise.
5633 (lrint_test_downward): Likewise.
5634 (lrint_test_upward): Likewise.
5635 (llrint_test): Likewise.
5636 (llrint_test_tonearest): Likewise.
5637 (llrint_test_towardzero): Likewise.
5638 (llrint_test_downward): Likewise.
5639 (llrint_test_upward): Likewise.
5640 (log_test): Likewise.
5641 (log10_test): Likewise.
5642 (log1p_test): Likewise.
5643 (log2_test): Likewise.
5644 (logb_test): Likewise.
5645 (logb_test_downward): Likewise.
5646 (lround_test): Likewise.
5647 (llround_test): Likewise.
5648 (modf_test): Likewise.
5649 (nearbyint_test): Likewise.
5650 (nextafter_test): Likewise.
5651 (nexttoward_test): Likewise.
5652 (pow_test): Likewise.
5653 (pow_test_tonearest): Likewise.
5654 (pow_test_towardzero): Likewise.
5655 (pow_test_downward): Likewise.
5656 (pow_test_upward): Likewise.
5657 (remainder_test): Likewise.
5658 (drem_test): Likewise.
5659 (remainder_test_tonearest): Likewise.
5660 (drem_test_tonearest): Likewise.
5661 (remainder_test_towardzero): Likewise.
5662 (drem_test_towardzero): Likewise.
5663 (remainder_test_downward): Likewise.
5664 (drem_test_downward): Likewise.
5665 (remainder_test_upward): Likewise.
5666 (drem_test_upward): Likewise.
5667 (remquo_test): Likewise.
5668 (rint_test): Likewise.
5669 (rint_test_tonearest): Likewise.
5670 (rint_test_towardzero): Likewise.
5671 (rint_test_downward): Likewise.
5672 (rint_test_upward): Likewise.
5673 (round_test): Likewise.
5674 (scalb_test): Likewise.
5675 (scalbn_test): Likewise.
5676 (scalbln_test): Likewise.
5677 (signbit_test): Likewise.
5678 (sin_test): Likewise.
5679 (sin_test_tonearest): Likewise.
5680 (sin_test_towardzero): Likewise.
5681 (sin_test_downward): Likewise.
5682 (sin_test_upward): Likewise.
5683 (sincos_test): Likewise.
5684 (sinh_test): Likewise.
5685 (sinh_test_tonearest): Likewise.
5686 (sinh_test_towardzero): Likewise.
5687 (sinh_test_downward): Likewise.
5688 (sinh_test_upward): Likewise.
5689 (sqrt_test): Likewise.
5690 (sqrt_test_tonearest): Likewise.
5691 (sqrt_test_towardzero): Likewise.
5692 (sqrt_test_downward): Likewise.
5693 (sqrt_test_upward): Likewise.
5694 (tan_test): Likewise.
5695 (tan_test_tonearest): Likewise.
5696 (tan_test_towardzero): Likewise.
5697 (tan_test_downward): Likewise.
5698 (tan_test_upward): Likewise.
5699 (tanh_test): Likewise.
5700 (tgamma_test): Likewise.
5701 (trunc_test): Likewise.
5702 (y0_test): Likewise.
5703 (y1_test): Likewise.
5704 (yn_test): Likewise.
5705 (significand_test): Likewise.
5706
e6b6a857
JM
5707 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
5708 individual tests in comment.
5709 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
5710 (prev_max_error): New variable.
5711 (prev_real_max_error): Likewise.
5712 (prev_imag_max_error): Likewise.
5713 (compare_ulp_data): Don't refer to test names in comment.
5714 (find_test_ulps): Remove function.
5715 (find_function_ulps): Likewise.
5716 (find_complex_function_ulps): Likewise.
5717 (init_max_error): Take function name as argument. Look up ulps
5718 for that function.
5719 (print_ulps): Remove function.
5720 (print_max_error): Use prev_max_error instead of calling
5721 find_function_ulps.
5722 (print_complex_max_error): Use prev_real_max_error and
5723 prev_imag_max_error instead of calling find_complex_function_ulps.
5724 (check_float_internal): Take max_ulp parameter instead of calling
5725 find_test_ulps. Don't call print_ulps.
5726 (check_float): Update call to check_float_internal.
5727 (check_complex): Update calls to check_float_internal.
5728 (START): Pass argument to init_max_error.
5729 * math/gen-libm-test.pl (%results): Don't include "kind"
5730 information.
5731 (parse_ulps): Don't handle ulps of individual tests.
5732 (print_ulps_file): Likewise.
5733 (output_ulps): Likewise.
5734 * math/README.libm-test: Update.
5735 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
5736 individual tests.
5737 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
5738 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5739 * sysdeps/arm/libm-test-ulps: Likewise.
5740 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5741 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5742 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
5743 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5744 * sysdeps/microblaze/libm-test-ulps: Likewise.
5745 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5746 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5747 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5748 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5749 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5750 * sysdeps/sh/libm-test-ulps: Likewise.
5751 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5752 * sysdeps/tile/libm-test-ulps: Likewise.
5753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5754
45adef3c
JM
57552014-03-04 Joseph Myers <joseph@codesourcery.com>
5756
5757 * math/libm-test.inc (print_complex_max_error): Check separately
5758 whether real and imaginary errors are within allowed range and
5759 pass 0 to print_complex_function_ulps instead of value within
5760 allowed range.
5761
000232b9
SP
57622014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5763
d4b17258
SP
5764 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
5765 formatting.
5766 (get_handles_fopen): Likewise.
5767 (do_write_test): Likewise.
5768
091eff71
SP
5769 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
5770
fa3cd248
SP
5771 * libio/fileops.c (do_ftell): Use cached offset when
5772 available.
5773 * libio/iofwide.c (do_ftell_wide): Likewise.
5774 * libio/iofdopen.c (_IO_new_fdopen): Don't use
5775 _IO_file_attach.
5776 * libio/wfileops.c (_IO_fwide): Don't cache offset.
5777
000232b9
SP
5778 [BZ #16532]
5779 * libio/libioP.h (get_file_offset): New function.
5780 * libio/fileops.c (get_file_offset): Likewise.
5781 (do_ftell): Likewise.
5782 (_IO_new_file_seekoff): Split out ftell logic.
5783 * libio/wfileops.c (do_ftell_wide): Likewise.
5784 (_IO_wfile_seekoff): Split out ftell logic.
5785 * libio/tst-ftell-active-handler.c: New test case.
5786 * libio/Makefile (tests): Add it.
5787
116f4d1a
RM
57882014-03-03 Roland McGrath <roland@hack.frob.com>
5789
5790 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
5791 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
5792
532a6035
SP
57932014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5794
5795 [BZ #16639]
5796 * nscd/connections.c (nscd_init): Call do_exit.
5797 (start_threads): Call do_exit and notify_parent.
5798 (begin_drop_privileges): Call do_exit.
5799 (finish_drop_privileges): Likewise.
5800 * nscd/selinux.c (preserve_capabilities): Likewise.
5801 (install_real_capabilities): Likewise.
5802 (nscd_selinux_enabled): Likewise.
5803 (avc_create_thread): Likewise.
5804 (avc_alloc_lock): Likewise.
5805 (nscd_avc_init): Likewise.
5806 * nscd/nscd.c (parent_fd): New static variable.
5807 (main): Create a pipe between parent and child processes.
5808 Skip closing parent_fd.
5809 (monitor_child): New function.
5810 (do_exit): Likewise.
5811 (notify_parent): Likewise.
5812 * nscd/nscd.h (notify_parent): Likewise.
5813 (do_exit): Likewise.
5814
d6285c9f
CD
58152014-03-03 Carlos O'Donell <carlos@redhat.com>
5816
5817 * malloc/malloc.c (__libc_calloc): Revert last change.
5818
2b85d2a0
AZ
58192014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5820
5821 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5822
c7debbdf
RS
58232014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5824
5825 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
5826 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
5827 implementation.
5828 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5829 (__libc_ifunc_impl_list): Likewise.
5830 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
5831 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
5832 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
5833 * string/strrchr.c: Define STRRCHR.
5834
235eed86
OB
58352014-02-28 Ondřej Bílka <neleai@seznam.cz>
5836
5837 * benchtest/bench-strtok.c (simple_strtok): Delete.
5838 (strtok_string): Use as benchmark.
5839 * string/strtok (STRTOK): New macro.
5840
8e25d1e7
CD
58412014-02-28 Carlos O'Donell <carlos@redhat.com>
5842
ef563f92
CD
5843 * manual/threads.texi: Add header and standard comments to all
5844 functions.
5845
8e25d1e7
CD
5846 * elf/dl-lookup.c (check_match): New function.
5847 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
5848 (do_lookup_x): Remove nested function check_match. Use non-nested
5849 function check_match.
5850
ff71cc37
RM
58512014-02-28 Roland McGrath <roland@hack.frob.com>
5852
f08e9a26
RM
5853 * csu/Makefile (generated, before-compile): Use += rather than =.
5854 * catgets/Makefile (generated, generated-dirs): Likewise.
5855 * debug/Makefile (generated): Likewise.
5856 * dlfcn/Makefile (generated): Likewise.
5857 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
5858 * iconvdata/Makefile (before-compile, generated): Likewise.
5859 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
5860 * libio/Makefile (generated): Likewise.
5861 * malloc/Makefile (generated): Likewise.
5862 * manual/Makefile (generated, generated-dirs): Likewise.
5863 * misc/Makefile (generated): Likewise.
5864 * posix/Makefile (generated): Likewise.
5865 * resolv/Makefile (generated): Likewise.
5866 * sunrpc/Makefile (generated, generated-dirs): Likewise.
5867 * timezone/Makefile (generated, generated-dirs): Likewise.
5868
ff71cc37
RM
5869 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
5870
fe13a20c
AZ
58712014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5872
57f41c40
AS
5873 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5874 power8 implementation.
5875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
5876 file: POWER8 llround ifunc implementation.
5877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
5878 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
5879 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
5880 POWER8 llround implementation.
5881
57f41c40
AS
5882 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
5883 power8 implementation.
5884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
5885 file: POWER8 llrint ifunc implementation.
5886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
5887 Add POWER8 implementation.
1ad8950a
AZ
5888 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
5889 POWER8 llrint implementation.
5890
57f41c40
AS
5891 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
5892 power8 implementation.
5893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
5894 file: POWER8 finite ifunc implementation.
5895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
5896 Add POWER8 implementation.
cac626d6
AZ
5897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
5898 Likewise.
5899 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
5900 POWER8 finite implementation.
5901 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
5902
57f41c40
AS
5903 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
5904 power8 implementation.
5905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
5906 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
5907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
5908 POWER8 implementation.
5909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
5910 Likewise.
57f41c40
AS
5911 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
5912 isinf implementation.
4393fc11
AZ
5913 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
5914
57f41c40
AS
5915 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
5916 (INIT_ARCH): Add hwcap2 initialization.
5917 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5918 power8 implementation.
5919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
5920 file: POWER8 isnan ifunc implementation.
487972ae
AZ
5921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
5922 POWER8 implementation.
5923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
5924 Likewise.
57f41c40
AS
5925 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
5926 isnan implementation.
487972ae
AZ
5927 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
5928
7d92b787
JY
59292014-02-27 Joey Ye <joey.ye@arm.com>
5930
5931 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5932 (_FP_NANFRAC_Q): Set to zero.
5933
1cadc858
SP
59342014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5935
5936 [BZ #16623]
5937 * math/auto-libm-test-in: New test inputs.
5938 * math/auto-libm-test-out: Regenerate.
5939 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
5940 and DA.
5941 (__cos): Likewise.
5942 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5943
f8c17e79
JM
59442014-02-27 Joseph Myers <joseph@codesourcery.com>
5945
5946 * scripts/evaluate-test.sh: Take new argument indicating whether
5947 failure is expected.
5948 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
5949 indicating whether failure is expected.
5950 * conform/Makefile (test-xfail-run-conformtest): New variable.
5951 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
5952 level.
5953 * posix/Makefile (test-xfail-annexc): New variable.
5954 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
5955
a5f891ac
JM
59562014-02-26 Joseph Myers <joseph@codesourcery.com>
5957
5958 * argp/Makefile: Include Makeconfig immediately after defining
5959 subdir.
5960 * assert/Makefile: Likewise.
5961 * benchtests/Makefile: Likewise.
5962 * catgets/Makefile: Likewise.
5963 * conform/Makefile: Likewise.
5964 * crypt/Makefile: Likewise.
5965 * csu/Makefile: Likewise.
5966 (all): Remove target.
5967 * ctype/Makefile: Include Makeconfig immediately after defining
5968 subdir.
5969 * debug/Makefile: Likewise.
5970 * dirent/Makefile: Likewise.
5971 * dlfcn/Makefile: Likewise.
5972 * gmon/Makefile: Likewise.
5973 * gnulib/Makefile: Likewise.
5974 * grp/Makefile: Likewise.
5975 * gshadow/Makefile: Likewise.
5976 * hesiod/Makefile: Likewise.
5977 * hurd/Makefile: Likewise.
5978 (all): Remove target.
5979 * iconvdata/Makefile: Include Makeconfig immediately after
5980 defining subdir.
5981 * inet/Makefile: Likewise.
5982 * intl/Makefile: Likewise.
5983 * io/Makefile: Likewise.
5984 * libio/Makefile: Likewise.
5985 (all): Remove target.
5986 * locale/Makefile: Include Makeconfig immediately after defining
5987 subdir.
5988 * login/Makefile: Likewise.
5989 * mach/Makefile: Likewise.
5990 (all): Remove target.
5991 * malloc/Makefile: Include Makeconfig immediately after defining
5992 subdir.
5993 (all): Remove target.
5994 * manual/Makefile: Include Makeconfig immediately after defining
5995 subdir.
5996 * math/Makefile: Likewise.
5997 * misc/Makefile: Likewise.
5998 * nis/Makefile: Likewise.
5999 * nss/Makefile: Likewise.
6000 * po/Makefile: Likewise.
6001 (all): Remove target.
6002 * posix/Makefile: Include Makeconfig immediately after defining
6003 subdir.
6004 * pwd/Makefile: Likewise.
6005 * resolv/Makefile: Likewise.
6006 * resource/Makefile: Likewise.
6007 * rt/Makefile: Likewise.
6008 * setjmp/Makefile: Likewise.
6009 * shadow/Makefile: Likewise.
6010 * signal/Makefile: Likewise.
6011 * socket/Makefile: Likewise.
6012 * soft-fp/Makefile: Likewise.
6013 * stdio-common/Makefile: Likewise.
6014 * stdlib/Makefile: Likewise.
6015 * streams/Makefile: Likewise.
6016 * string/Makefile: Likewise.
6017 * sunrpc/Makefile: Likewise.
6018 (all): Remove target.
6019 * sysvipc/Makefile: Include Makeconfig immediately after defining
6020 subdir.
6021 * termios/Makefile: Likewise.
6022 * time/Makefile: Likewise.
6023 * timezone/Makefile: Likewise.
6024 (all): Remove target.
6025 * wcsmbs/Makefile: Include Makeconfig immediately after defining
6026 subdir.
6027 * wctype/Makefile: Likewise.
6028
5b456e9d
SE
60292014-02-26 Steve Ellcey <sellcey@mips.com>
6030
6031 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6032 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6033 (libc_feholdexcept_setround_mips): Ditto.
6034 (libc_feholdsetround): New.
6035 (libc_feholdsetroundf): New.
6036 (libc_feholdsetroundl): New.
6037 (libc_feupdateenv_test_mips): New.
6038 (libc_feupdateenv_test): New.
6039 (libc_feupdateenv_testf): New.
6040 (libc_feupdateenv_testl): New.
6041 (libc_feresetround): New.
6042 (libc_feresetroundf): New.
6043 (libc_feresetroundl): New.
6044 (libc_fetestexcept_mips): New.
6045 (libc_fetestexcept): New.
6046 (libc_fetestexceptf): New.
6047 (libc_fetestexceptl): New.
6048 (HAVE_RM_CTX): New.
6049 (libc_feholdexcept_setround_mips_ctx): New.
6050 (libc_feholdexcept_setround_ctx): New.
6051 (libc_feholdexcept_setroundf_ctx): New.
6052 (libc_feholdexcept_setroundl_ctx): New.
6053 (libc_fesetenv_mips_ctx): New.
6054 (libc_fesetenv_ctx): New.
6055 (libc_fesetenv_ctxf): New.
6056 (libc_fesetenv_ctxl): New.
6057 (libc_feupdateenv_mips_ctx): New.
6058 (libc_feupdateenv_ctx): New.
6059 (libc_feupdateenvf_ctx): New.
6060 (libc_feupdateenvl_ctx): New.
6061 (libc_feholdsetround_mips_ctx): New.
6062 (libc_feholdsetround_ctx): New.
6063 (libc_feholdsetroundf_ctx): New.
6064 (libc_feholdsetroundl_ctx): New.
6065 (libc_feresetround_mips_ctx): New.
6066 (libc_feresetround_ctx): New.
6067 (libc_feresetroundf_ctx): New.
6068 (libc_feresetroundl_ctx): New.
6069
085d0e35
CD
60702014-02-26 Carlos O'Donell <carlos@redhat.com>
6071
f067bf1f
CD
6072 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6073
085d0e35
CD
6074 * manual/ipc.texi: New file.
6075 * manual/Makefile (chapters): Add ipc.
6076 * manual/job.texi: Add "Inter-Process Communication" to next.
6077 * manual/process.texi: Add "Inter-Process Communication" to prev.
6078
86e58c08
AZ
60792014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6080
6081 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6082
4248f0da
OB
60832014-02-26 Ondřej Bílka <neleai@seznam.cz>
6084
6085 * malloc/malloc.c (__libc_calloc): Simplify implementation.
6086
cf822e3c
OB
6087 * manual/arith.texi: Fix spaces after sentences.
6088 * manual/charset.texi: Likewise.
6089 * manual/errno.texi: Likewise.
6090 * manual/install.texi: Likewise.
6091 * manual/llio.texi: Likewise.
6092 * manual/locale.texi: Likewise.
6093 * manual/maint.texi: Likewise.
6094 * manual/math.texi: Likewise.
6095 * manual/memory.texi: Likewise.
6096 * manual/message.texi: Likewise.
6097 * manual/probes.texi: Likewise.
6098 * manual/resource.texi: Likewise.
6099 * manual/signal.texi: Likewise.
6100 * manual/socket.texi: Likewise.
6101 * manual/stdio.texi: Likewise.
6102 * manual/string.texi: Likewise.
6103 * manual/time.texi: Likewise.
6104 * manual/users.texi: Likewise.
6105
ade40b10
CD
61062014-02-25 Carlos O'Donell <carlos@redhat.com>
6107
6108 [BZ #16632]
6109 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6110 _DEFAULT_SOURCE is defined.
6111
d0503676
CD
61122014-02-25 Ulrich Drepper <drepper@gmail.com>
6113 Carlos O'Donell <carlos@redhat.com>
6114
6115 [BZ #16613]
6116 * elf/dl-tls.c (_dl_count_modids): New function.
6117 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6118 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6119 audit library and increment generation counter.
6120 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6121 * elf/tst-audit9.c: New file.
6122 * elf/tst-auditmod9a.c: New file.
6123 * elf/tst-auditmod9b.c: New file.
6124 * elf/Makefile: Add rules to build and run tst-audit9.
6125
4cbf380c
FW
61262014-02-25 Florian Weimer <fweimer@redhat.com>
6127
6128 [BZ #15347]
6129 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6130
80a56cc3
WN
61312014-02-25 Will Newton <will.newton@linaro.org>
6132
6133 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6134 (__longjmp): Restore sp and lr before restoring callee
6135 saved registers. Add longjmp and longjmp_target
6136 SystemTap probe point.
6137 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6138 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6139 Define to zero to match jmpbuf layout.
6140 * sysdeps/arm/setjmp.S: Include stap-probe.h.
6141 (__sigsetjmp): Save sp and lr before saving callee
6142 saved registers. Add setjmp SystemTap probe point.
6143
3ea0f74e
SL
61442014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6145
6146 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6147
b04acb26
AS
61482014-02-24 Andreas Schwab <schwab@suse.de>
6149
6150 [BZ #15804]
6151 * elf/pldd.c (wait_for_ptrace_stop): New function.
6152 (main): Call it after attaching.
6153
098ad55c
RM
61542014-02-22 Roland McGrath <roland@hack.frob.com>
6155
d4ec6ae1
RM
6156 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6157 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6158 Versions files is now verboten.
6159 * hurd/Versions (libc: GLIBC_2.0):
6160 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6161 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6162 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6163 * mach/Versions: Likewise.
6164
098ad55c
RM
6165 * csu/Versions: Remove unused %include.
6166 * resolv/Versions: Likewise.
6167
acd7f096
JM
61682014-02-21 Joseph Myers <joseph@codesourcery.com>
6169
f0881698
JM
6170 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6171 ($(objpfx)check-local-headers.out): Likewise.
6172 ($(objpfx)begin-end-check.out): Likewise.
6173 * Makerules (check-abi-%.out): Likewise.
6174 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6175 ($(objpfx)test2.cat): Likewise.
6176 ($(objpfx)de/libc.cat): Likewise.
6177 ($(objpfx)test-gencat.out): Likewise.
6178 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6179 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6180 ($(objpfx)noload-mem): Likewise.
6181 ($(objpfx)tst-pathopt.out): Likewise.
6182 ($(objpfx)tst-rtld-load-self.out): Likewise.
6183 ($(objpfx)tst-array1-cmp.out): Likewise.
6184 ($(objpfx)tst-array1-static-cmp.out): Likewise.
6185 ($(objpfx)tst-array2-cmp.out): Likewise.
6186 ($(objpfx)tst-array3-cmp.out): Likewise.
6187 ($(objpfx)tst-array4-cmp.out): Likewise.
6188 ($(objpfx)tst-array5-cmp.out): Likewise.
6189 ($(objpfx)tst-array5-static-cmp.out): Likewise.
6190 ($(objpfx)check-textrel.out): Likewise.
6191 ($(objpfx)check-execstack.out): Likewise.
6192 ($(objpfx)check-localplt.out): Likewise.
6193 ($(objpfx)order2-cmp.out): Likewise.
6194 ($(objpfx)tst-leaks1-mem): Likewise.
6195 ($(objpfx)tst-leaks1-static-mem): Likewise.
6196 ($(objpfx)tst-initorder-cmp.out): Likewise.
6197 ($(objpfx)tst-initorder2-cmp.out): Likewise.
6198 ($(objpfx)tst-unused-dep.out): Likewise.
6199 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6200 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6201 * iconv/Makefile (test-iconvconfig): Likewise.
6202 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6203 ($(objpfx)iconv-test.out): Likewise.
6204 ($(objpfx)tst-tables.out): Likewise.
6205 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6206 ($(objpfx)tst-gettext.out): Likewise.
6207 ($(objpfx)tst-translit.out): Likewise.
6208 ($(objpfx)tst-gettext2.out): Likewise.
6209 ($(objpfx)tst-gettext4.out): Likewise.
6210 ($(objpfx)tst-gettext6.out): Likewise.
6211 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6212 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6213 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6214 ($(objpfx)tst-fopenloc-mem.out): Likewise.
6215 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6216 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6217 * posix/Makefile ($(objpfx)globtest.out): Likewise.
6218 ($(objpfx)wordexp-tst.out): Likewise.
6219 ($(objpfx)annexc.out): Likewise.
6220 ($(objpfx)tst-fnmatch-mem): Likewise.
6221 ($(objpfx)bug-regex2-mem): Likewise.
6222 ($(objpfx)bug-regex14-mem): Likewise.
6223 ($(objpfx)bug-regex21-mem): Likewise.
6224 ($(objpfx)bug-regex31-mem): Likewise.
6225 ($(objpfx)tst-vfork3-mem): Likewise.
6226 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6227 ($(objpfx)tst-pcre-mem): Likewise.
6228 ($(objpfx)tst-boost-mem): Likewise.
6229 ($(objpfx)tst-getconf.out): Likewise.
6230 ($(objpfx)bug-ga2-mem): Likewise.
6231 ($(objpfx)bug-glob2-mem): Likewise.
6232 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6233 ($(objpfx)mtrace-tst-leaks2): Likewise.
6234 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6235 ($(objpfx)tst-printf.out): Likewise.
6236 ($(objpfx)tst-setvbuf1.out): Likewise.
6237 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6238 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6239 ($(objpfx)tst-fmtmsg.out): Likewise.
6240 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6241 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6242
acd7f096
JM
6243 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6244 * bits/sigaction.h [__USE_MISC]: Likewise.
6245 * bits/waitstatus.h: Update #endif comments.
6246 * ctype/ctype.h: Likewise.
6247 * dirent/dirent.h: Likewise.
6248 [__USE_MISC]: Remove redundant conditionals.
6249 * grp/grp.h: Update #endif comments.
6250 [__USE_GNU]: Remove redundant conditionals.
6251 [__USE_MISC]: Likewise.
6252 * inet/netinet/in.h [__USE_GNU]: Likewise.
6253 * io/sys/stat.h [__USE_MISC]: Likewise.
6254 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6255 * libio/bits/stdio.h: Update #endif comments.
6256 [__USE_MISC]: Remove redundant conditionals.
6257 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6258 * libio/stdio.h: Update #endif comments.
6259 [__USE_MISC]: Remove redundant conditionals.
6260 * math/bits/math-finite.h [__USE_MISC]: Likewise.
6261 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6262 * math/math.h: Update #else and #endif comments.
6263 [__USE_MISC]: Remove redundant conditionals.
6264 * misc/sys/uio.h: Update #endif comments.
6265 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6266 * posix/glob.h [__USE_MISC]: Likewise.
6267 * posix/sys/types.h: Update #endif comments.
6268 [__USE_MISC]: Remove redundant conditionals.
6269 * posix/sys/wait.h: Update #endif comments.
6270 [__USE_MISC]: Remove redundant conditionals.
6271 * posix/unistd.h: Update #endif comments.
6272 [__USE_MISC]: Remove redundant conditionals.
6273 * pwd/pwd.h [__USE_GNU]: Likewise.
6274 [__USE_MISC]: Likewise.
6275 * resolv/netdb.h [__USE_GNU]: Likewise.
6276 * signal/signal.h: Update #endif comments.
6277 [__USE_MISC]: Remove redundant conditionals.
6278 * stdlib/stdlib.h: Update #else and #endif comments.
6279 [__USE_MISC]: Remove redundant conditionals.
6280 [__USE_GNU]: Likewise.
6281 * string/bits/string2.h [__USE_MISC]: Likewise.
6282 * string/string.h: Update #endif comments.
6283 [__USE_MISC]: Remove redundant conditionals.
6284 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6285 Likewise.
6286 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6287 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6288 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6289 Likewise.
6290 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6291 Likewise.
6292 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6293 comments.
6294 [__USE_MISC]: Remove redundant conditionals.
6295 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6296 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6297 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6298 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6299 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6300 Likewise.
6301 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6302 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6303 Likewise.
6304 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6305 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6306 Likewise.
6307 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6308 Likewise.
6309 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6310 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6311 Likewise.
6312 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6313 Likewise.
6314 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6315 * sysdeps/x86/bits/string.h: Update #endif comments.
6316 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6317 conditionals.
6318 * time/sys/time.h: Update #endif comments.
6319 * time/time.h: Likewise.
6320 [__USE_MISC]: Remove redundant conditionals.
6321
a5d82e4e
YG
63222014-02-21 Yury Gribov <y.gribov@samsung.com>
6323
6324 [BZ #16600]
6325 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6326
9a80491d
AS
63272014-02-21 Andreas Schwab <schwab@linux-m68k.org>
6328
6329 * Versions.def (librt): Add GLIBC_2.17.
6330
105fa381
AC
63312014-02-21 Adam Conrad <adconrad@0c3.net>
6332
6333 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6334 synonym for _SYS_AUXV_H to allow direct inclusion.
6335 * sysdeps/sparc/bits/hwcap.h: Likewise.
6336 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6337 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6338 * sysdeps/sparc/sysdep.h: Likewise.
6339
b8cd1c4e
SP
63402014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6341
6342 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6343
bd939d23
RS
63442014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6345
6346 * benchtests/bench-strrchr.c: Print length instead of position.
6347
5d7b57ca
JM
63482014-02-20 Joseph Myers <joseph@codesourcery.com>
6349
bc688c10
JM
6350 [BZ #16611]
6351 * sysdeps/unix/sysv/linux/kernel-features.h
6352 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6353 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6354 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6355 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6356 Likewise.
6357 [__i386__ || __powerpc__ || __sh__ || __sparc__]
6358 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6359 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6360 (__ASSUME_SENDMMSG): Define instead of using previous
6361 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6362 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6363 (__ASSUME_SENDMMSG_SYSCALL): Define.
6364 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6365 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6366 Likewise.
6367 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6368 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6369 Likewise.
6370 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6371 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6372 Likewise.
6373 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6374 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6375 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6376 [__ASSUME_SENDMMSG]: Change conditionals to
6377 [__ASSUME_SENDMMSG_SOCKETCALL].
6378 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6379 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6380 Define.
6381 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6382 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6383 Likewise.
6384 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6385 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6386 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6387 [!__ASSUME_SENDMMSG]: Change conditional to
6388 [!__ASSUME_SENDMMSG_SOCKETCALL].
6389 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6390 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6391 Define.
6392
0e31b18c
JM
6393 [BZ #16610]
6394 * sysdeps/unix/sysv/linux/kernel-features.h
6395 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6396 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6397 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6398 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6399 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6400 [__i386__ || __sparc__]
6401 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6402 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6403 (__ASSUME_RECVMMSG): Define instead of using previous
6404 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6405 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6406 (__ASSUME_RECVMMSG_SYSCALL): Define.
6407 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6408 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6409 Likewise.
6410 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6411 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6412 Likewise.
6413 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6414 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6415 Likewise.
6416 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6417 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6418 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6419 [__ASSUME_RECVMMSG]: Change condition to
6420 [__ASSUME_RECVMMSG_SOCKETCALL].
6421 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6422 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6423 Define.
6424 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6425 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6426 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6427 Likewise.
6428 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6429 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6430 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6431 [!__ASSUME_RECVMMSG]: Change condition to
6432 [!__ASSUME_RECVMMSG_SOCKETCALL].
6433 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6434 (__ASSUME_RECVMMSG_SYSCALL): Define.
6435
dd481ccf
JM
6436 [BZ #16609]
6437 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6438 __powerpc__ || __s390__ || __sh__ || __sparc__]
6439 (__ASSUME_SOCKETCALL): Define.
6440 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6441 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6442 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6443 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6444 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6445 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6446 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
6447 (__ASSUME_ACCEPT4): Define instead of using previous
6448 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
6449 __powerpc__ || __sparc__ || __s390__)] condition.
6450 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6451 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6452 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
6453 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6454 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6455 [!__ASSUME_ACCEPT4]: Change condition to
6456 [!__ASSUME_ACCEPT4_SOCKETCALL].
6457 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6458 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
6459 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
6460 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6461 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
6462 __ASSUME_ACCEPT4_SYSCALL.
6463 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
6464 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
6465 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6466 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
6467 __ASSUME_ACCEPT4_SYSCALL.
6468 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
6469 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6470 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6471 [__ASSUME_ACCEPT4]: Change condition to
6472 [__ASSUME_ACCEPT4_SOCKETCALL].
6473 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6474 (__ASSUME_SOCKETCALL): Define.
6475 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
6476 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6477 (__ASSUME_SOCKETCALL): Define.
6478 (__ASSUME_ACCEPT4): Remove.
6479 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
6480 Define.
6481 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6482 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
6483 Likewise.
6484 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6485 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6486
5d7b57ca
JM
6487 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
6488 macro.
6489 (HWCAP_ARM_LPAE): Likewise.
6490 (HWCAP_ARM_EVTSTRM): Likewise.
6491 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
6492 Add vpfd32, lpae and evtstrm.
6493 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
6494 Increase to 22.
6495
63689d61
JM
64962014-02-19 Joseph Myers <joseph@codesourcery.com>
6497
6498 * math/auto-libm-test-in: Add tests of clog10.
6499 * math/auto-libm-test-out: Regenerated.
6500 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
6501 * sysdeps/i386/fpu/libm-test-ulps: Update.
6502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6503
ab09bf61
AS
65042014-02-18 Andreas Schwab <schwab@suse.de>
6505
6506 [BZ #16574]
6507 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
6508 Store non-zero if the second buffer was newly allocated.
6509 (send_dg): Likewise.
6510 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
6511 to send_vc and send_dg.
6512 (res_nsend): Pass NULL for ansp2_malloced.
6513 * resolv/res_query.c (__libc_res_nquery): Add parameter
6514 answerp2_malloced and pass it down to __libc_res_nsend.
6515 (res_nquery): Pass additional NULL to __libc_res_nquery.
6516 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
6517 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
6518 second answer buffer if answerp2_malloced was set.
6519 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
6520 (__libc_res_nquerydomain): Add parameter
6521 answerp2_malloced and pass it down to __libc_res_nquery.
6522 (res_nquerydomain): Pass additional NULL to
6523 __libc_res_nquerydomain.
6524 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
6525 additional NULL to __libc_res_nsend and __libc_res_nquery.
6526 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
6527 additional NULL to __libc_res_nsearch.
6528 (_nss_dns_gethostbyname4_r): Revert last change. Use new
6529 parameter of __libc_res_nsearch to check for separately allocated
6530 second buffer.
6531 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
6532 __libc_res_nquery.
6533 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
6534 additional NULL to __libc_res_nquery.
6535 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
6536 __libc_res_nsearch.
6537 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
6538 * include/resolv.h: Update prototypes of __libc_res_nquery,
6539 __libc_res_nsearch, __libc_res_nsend.
6540
a4fb7861
JM
65412014-02-18 Joseph Myers <joseph@codesourcery.com>
6542
c6af2d89
JM
6543 * math/auto-libm-test-in: Add tests of fma.
6544 * math/auto-libm-test-out: Regenerated.
6545 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
6546 (fma_towardzero_test_data): Likewise.
6547 (fma_downward_test_data): Likewise.
6548 (fma_upward_test_data): Likewise.
6549 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
6550 mpc_mode.
6551 (rounding_modes): Add values for new field.
6552 (func_calc_method): Add value mpfr_fff_f.
6553 (func_calc_desc): Add mpfr_fff_f union field.
6554 (test_function): Add field exact_args.
6555 (FUNC): Add macro argument EXACT_ARGS.
6556 (FUNC_mpfr_f_f): Update call to FUNC.
6557 (FUNC_mpfr_f_f): Likewise.
6558 (FUNC_mpfr_ff_f): Likewise.
6559 (FUNC_mpfr_if_f): Likewise.
6560 (FUNC_mpc_c_f): Likewise.
6561 (FUNC_mpc_c_c): Likewise.
6562 (test_functions): Add fma. Update calls to FUNC.
6563 (handle_input_arg): Add argument exact_args.
6564 (add_test): Update call to handle_input_arg.
6565 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
6566 (output_for_one_input_case): Update call to calc_generic_results.
6567 Recalculate exact zero results in each rounding mode.
6568
a4fb7861
JM
6569 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
6570 non-negative before setting low bit.
6571 * math/auto-libm-test-in: Mark one asin test possibly having
6572 spurious underflow.
6573 * math/auto-libm-test-out: Regenerated.
6574 * sysdeps/i386/fpu/libm-test-ulps: Update.
6575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6576
ef114eaf
DH
65772014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
6578
2b7f4f2c
SP
6579 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
6580 * sysdeps/unix/sysv/linux/microblaze: Move directory from
6581 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
6582 * README: Add missing listing for microblaze*-*-linux-gnu.
6583
c70a4b1d
MF
65842014-02-16 Mike Frysinger <vapier@gentoo.org>
6585
6586 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
6587 * sysdeps/unix/sysv/linux/ia64: Move directory from
6588 ports/sysdeps/unix/sysv/linux/ia64.
6589 * README: Update listing for ia64-*-linux-gnu.
6590
591aeaf7
TD
65912014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
6592 Joseph Myers <joseph@codesourcery.com>
6593
6594 * Makeconfig (test-name): New variable.
6595 (evaluate-test): Likewise.
6596 * Makerules (do-test-clean): Remove .test-result files.
6597 (common-mostlyclean): Likewise.
6598 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
6599 * scripts/evaluate-test.sh: New file.
6600
6e89caf1
JM
66012014-02-14 Joseph Myers <joseph@codesourcery.com>
6602
7f98f180
JM
6603 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
6604 separate $(objpfx)tst-fopenloc-cmp.out and
6605 $(objpfx)tst-fopenloc-mem.out targets.
6606 (tests): Update dependencies.
6607 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
6608 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
6609 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
6610 (tst-rxspencer-no-utf8-ARGS): New variable.
6611 (tst-rxspencer-no-utf8-ENV): Likewise.
6612 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
6613 instead of $(objpfx)tst-rxspencer-mem.
6614 ($(objpfx)tst-rxspencer-mem): Change target to
6615 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
6616 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
6617 * posix/tst-rxspencer-no-utf8.c: New file.
6618
6e89caf1
JM
6619 * elf/Makefile ($(objpfx)order.out): Remove rule.
6620 [$(run-built-tests) = yes] (tests): Depend on
6621 $(objpfx)order-cmp.out.
6622 ($(objpfx)order-cmp.out): New rule.
6623 [$(run-built-tests) = yes] (tests): Depend on
6624 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
6625 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
6626 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
6627 $(objpfx)tst-array5-static-cmp.out.
6628 ($(objpfx)tst-array1.out): Remove rule.
6629 ($(objpfx)tst-array1-cmp.out): New rule.
6630 ($(objpfx)tst-array1-static.out): Remove rule.
6631 ($(objpfx)tst-array1-static-cmp.out): New rule.
6632 ($(objpfx)tst-array2.out): Remove rule.
6633 ($(objpfx)tst-array2-cmp.out): New rule.
6634 ($(objpfx)tst-array3.out): Remove rule.
6635 ($(objpfx)tst-array3-cmp.out): New rule.
6636 ($(objpfx)tst-array4.out): Remove rule.
6637 ($(objpfx)tst-array4-cmp.out): New rule.
6638 ($(objpfx)tst-array5.out): Remove rule.
6639 ($(objpfx)tst-array5-cmp.out): New rule.
6640 ($(objpfx)tst-array5-static.out): Remove rule.
6641 ($(objpfx)tst-array5-static-cmp.out): New rule.
6642 [$(run-built-tests) = yes] (tests): Depend on
6643 $(objpfx)order2-cmp.out.
6644 ($(objpfx)order2.out): Remove rule.
6645 ($(objpfx)order2-cmp.out): New rule.
6646 ($(objpfx)tst-initorder.out): Remove rule.
6647 [$(run-built-tests) = yes] (tests): Depend on
6648 $(objpfx)tst-initorder-cmp.out.
6649 ($(objpfx)tst-initorder-cmp.out): New rule.
6650 ($(objpfx)tst-initorder2.out): Remove rule.
6651 [$(run-built-tests) = yes] (tests): Depend on
6652 $(objpfx)tst-initorder2-cmp.out.
6653 ($(objpfx)tst-initorder2-cmp.out): New rule.
6654 [$(run-built-tests) = yes] (tests): Depend on
6655 $(objpfx)tst-unused-dep-cmp.out.
6656 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
6657 ($(objpfx)tst-unused-dep-cmp.out): New rule.
6658 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
6659 on $(objpfx)tst-setvbuf1-cmp.out.
6660 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
6661 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
6662 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
6663 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
6664 ($(objpfx)tst-svc.out): Remove rule.
6665 ($(objpfx)tst-svc-cmp.out): New rule.
6666
ed9a38e2
JM
66672014-02-13 Joseph Myers <joseph@codesourcery.com>
6668
6669 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
6670 * ctype/ctype.h [__USE_MISC]: Likewise.
6671 * dirent/dirent.h [__USE_MISC]: Likewise.
6672 * grp/grp.h [__USE_MISC]: Likewise.
6673 * io/fcntl.h [__USE_MISC]: Likewise.
6674 * io/sys/stat.h [__USE_MISC]: Likewise.
6675 * libio/stdio.h [__USE_MISC]: Likewise.
6676 * posix/unistd.h [__USE_MISC]: Likewise.
6677 * pwd/pwd.h [__USE_MISC]: Likewise.
6678 * stdlib.h [__USE_MISC]: Likewise.
6679 * string/bits/string2.h [__USE_MISC]: Likewise.
6680 * string/string.h [__USE_MISC]: Likewise.
6681 * time/time.h [__USE_MISC]: Likewise.
6682
d6680619
AS
66832014-02-13 Andreas Schwab <schwab@suse.de>
6684
6685 [BZ #16574]
6686 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
6687 second answer buffer if it was separately allocated.
6688
ace614b8
JM
66892014-02-12 Joseph Myers <joseph@codesourcery.com>
6690
743151ae
JM
6691 * sysdeps/mips/math-tests.h: Include <features.h>.
6692 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6693 (ROUNDING_TESTS_long_double): Do not define.
6694 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6695 (EXCEPTION_TESTS_long_double): Likewise.
6696 * sysdeps/mips/mips64/libm-test-ulps: Update.
6697
498afc54
JM
6698 * include/features.h (__USE_BSD): Remove macro definitions.
6699 (__USE_SVID): Likewise.
6700 (_BSD_SOURCE): Likewise.
6701 (_SVID_SOURCE): Likewise.
6702 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
6703 from definition of _DEFAULT_SOURCE.
6704 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
6705 [_DEFAULT_SOURCE].
6706 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
6707 * bits/mman.h [__USE_BSD]: Likewise.
6708 * bits/termios.h [__USE_BSD]: Likewise.
6709 * bits/waitstatus.h [__USE_BSD]: Likewise.
6710 * ctype/ctype.h [__USE_SVID]: Likewise.
6711 * dirent/dirent.h [__USE_BSD]: Likewise.
6712 * grp/grp.h [__USE_SVID]: Likewise.
6713 [__USE_BSD]: Likewise.
6714 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
6715 * io/fcntl.h [__USE_BSD]: Likewise.
6716 * io/ftw.h [__USE_BSD]: Likewise.
6717 * io/sys/stat.h [__USE_BSD]: Likewise.
6718 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
6719 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
6720 * libio/stdio.h [__USE_SVID]: Likewise.
6721 [__USE_BSD]: Likewise.
6722 * math/math.h [__USE_SVID]: Likewise.
6723 [__USE_BSD]: Likewise.
6724 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
6725 * misc/bits/syslog.h [__USE_BSD]: Likewise.
6726 * misc/search.h [__USE_SVID]: Likewise.
6727 * misc/sys/mman.h [__USE_BSD]: Likewise.
6728 * misc/sys/syslog.h [__USE_BSD]: Likewise.
6729 * misc/sys/uio.h [__USE_BSD]: Likewise.
6730 * posix/bits/unistd.h [__USE_BSD]: Likewise.
6731 * posix/glob.h [__USE_BSD]: Likewise.
6732 * posix/regex.h [__USE_BSD]: Likewise.
6733 * posix/sys/types.h [__USE_BSD]: Likewise.
6734 [__USE_SVID]: Likewise.
6735 * posix/sys/utsname.h [__USE_SVID]: Likewise.
6736 * posix/sys/wait.h [__USE_BSD]: Likewise.
6737 [__USE_SVID]: Likewise.
6738 * posix/unistd.h [__USE_BSD]: Likewise.
6739 [__USE_SVID]: Likewise.
6740 * pwd/pwd.h [__USE_SVID]: Likewise.
6741 * resolv/netdb.h [__USE_BSD]: Likewise.
6742 * setjmp/setjmp.h [__USE_BSD]: Likewise.
6743 * signal/signal.h [__USE_BSD]: Likewise.
6744 [__USE_SVID]: Likewise.
6745 * socket/sys/socket.h [__USE_BSD]: Likewise.
6746 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
6747 * stdlib/stdlib.h [__USE_BSD]: Likewise.
6748 [__USE_SVID]: Likewise.
6749 * string/bits/string2.h [__USE_BSD]: Likewise.
6750 [__USE_SVID]: Likewise.
6751 * string/bits/string3.h [__USE_BSD]: Likewise.
6752 * string/endian.h [__USE_BSD]: Likewise.
6753 * string/string.h [__USE_SVID]: Likewise.
6754 [__USE_BSD]: Likewise.
6755 * string/strings.h [__USE_BSD]: Likewise.
6756 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
6757 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
6758 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
6759 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
6760 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
6761 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
6762 Likewise.
6763 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
6764 Likewise.
6765 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
6766 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
6767 Likewise.
6768 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
6769 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
6770 Likewise.
6771 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
6772 Likewise.
6773 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
6774 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
6775 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
6776 Likewise.
6777 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
6778 Likewise.
6779 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
6780 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
6781 * termios/termios.h [__USE_BSD]: Likewise.
6782 * time/sys/time.h [__USE_BSD]: Likewise.
6783 * time/time.h [__USE_BSD]: Likewise.
6784 [__USE_SVID]: Likewise.
6785
dd7b064c
JM
6786 * Makefile (subdir_targets): Remove subdir_lint.out.
6787
a2c4c199
JM
6788 * stdio-common/Makefile (do-tst-unbputc): Remove target.
6789 (do-tst-printf): Likewise.
6790 (tests): Depend directly on $(objpfx)tst-unbputc.out and
6791 $(objpfx)tst-printf.out.
6792
8756f740
JM
6793 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
6794
1b6dd3f1
JM
6795 * Makerules (check-abi-%): Change target to
6796 $(objpfx)check-abi-%.out.
6797 (check-abi target): Update dependencies.
6798 (check-abi-pattern variable): Redirect output of diff to $@.
6799 (check-abi variable): Likewise.
6800 * elf/Makefile (check-abi): Update dependencies.
6801
ace614b8
JM
6802 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
6803 unused.
6804 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
6805 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
6806 subnormal range.
6807 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
6808 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
6809 value has largest subnormal exponent.
6810 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
6811 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
6812 * sysdeps/aarch64/soft-fp/sfp-machine.h
6813 (_FP_TININESS_AFTER_ROUNDING): New macro.
6814 * sysdeps/alpha/soft-fp/sfp-machine.h
6815 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6816 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6817 Likewise.
6818 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
6819 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6820 * sysdeps/mips/soft-fp/sfp-machine.h
6821 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6822 * sysdeps/powerpc/soft-fp/sfp-machine.h
6823 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6824 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6825 Likewise.
6826 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6827 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6828 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6829 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6830 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6831 Likewise.
6832
fbfdf9cb
DAS
68332014-02-12 Dylan Alex Simon <dylan@dylex.net>
6834
6835 [BZ #16545]
6836 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
6837 model 1.
6838
68b7efaa
RH
68392014-02-12 Richard Henderson <rth@redhat.com>
6840
c70a4b1d 6841 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
6842 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
6843 * sysdeps/unix/sysv/linux/alpha: Move directory from
6844 ports/sysdeps/unix/sysv/linux/alpha.
6845 * README: Update listing for alpha-*-linux-gnu.
6846
cb4a2928
JM
68472014-02-11 Joseph Myers <joseph@codesourcery.com>
6848
c941736c
JM
6849 * include/features.h: Update comment documenting feature test
6850 macros.
6851 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
6852 _DEFAULT_SOURCE.
6853 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
6854 (_SVID_SOURCE): Likewise.
6855 (_DEFAULT_SOURCE): Update description of default features.
6856 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
6857 with _GNU_SOURCE.
6858 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
6859 (S_ISVTX): Likewise.
6860 * manual/math.texi (Mathematical Constants): Likewise.
6861 * manual/signal.texi (Interrupted Primitives): Likewise.
6862 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
6863 * math/test-matherr.c (_SVID_SOURCE): Do not define.
6864 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
6865 Don't refer to _SVID_SOURCE in warning text.
6866
e8d8d7ec
JM
6867 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6868
cb4a2928
JM
6869 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
6870 already defined.
6871 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
6872 * sysdeps/mips/dl-lookup.c: Remove.
6873 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
6874
7e6424e3
AK
68752014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6876
6877 [BZ #16447]
6878 * math/auto-libm-test-in: Add testcase for expl.
6879 * math/auto-libm-test-out: Regenerate.
6880 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
6881 calculation of unsafe.
6882 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
6883
75eff3fe
MS
68842014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
6885
6886 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
6887 * sysdeps/unix/sysv/linux/aarch64: Move directory from
6888 ports/sysdeps/unix/sysv/linux/aarch64.
6889 * README: Update listing for aarch64*-*-linux-gnu.
6890
d35f1e80
WN
68912014-02-11 Will Newton <will.newton@linaro.org>
6892
6893 * manual/probes.texi (Mathematical Function Probes): Use
6894 "triggered" instead of "hit".
6895
7b3436d4
WN
6896 * manual/probes.texi (Internal Probes): Add documentation
6897 of setjmp, longjmp and longjmp_target probes.
6898
b4f12ca3
WN
6899 * include/stap-probe.h: Add comment about probe argument
6900 format.
6901
c13a72b7
WN
6902 * malloc/mtrace.c (attribute_hidden): Remove unused macro
6903 definition. (tr_where, tr_freehook, tr_mallochook,
6904 tr_reallochook, tr_memalignhook): Use ANSI protoype.
6905
195b8165
DM
69062014-02-11 David S. Miller <davem@davemloft.net>
6907
6908 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
6909 processing int_tests.
6910
2ad7600b
JM
69112014-02-10 Joseph Myers <joseph@codesourcery.com>
6912
6913 * sysdeps/mips: Move directory from ports/sysdeps/mips.
6914 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
6915 * sysdeps/unix/sysv/linux/mips: Move directory from
6916 ports/sysdeps/unix/sysv/linux/mips.
6917 * README: Update listing for mips-*-linux-gnu and
6918 mips64-*-linux-gnu.
6919
73588a72
AS
69202014-02-10 Andreas Schwab <schwab@linux-m68k.org>
6921
6922 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
6923 * sysdeps/unix/sysv/linux/m68k: Move directory from
6924 ports/sysdeps/unix/sysv/linux/m68k.
6925 * README: Update listing for m68k-*-linux-gnu.
6926
4372980f
CM
69272014-02-10 Chris Metcalf <cmetcalf@tilera.com>
6928
6929 * sysdeps/tile: Move directory from ports/sysdeps/tile.
6930 * sysdeps/unix/sysv/linux/generic: Move directory from
6931 ports/sysdeps/unix/sysv/linux/generic.
6932 * sysdeps/unix/sysv/linux/tile: Move directory from
6933 ports/sysdeps/unix/sysv/linux/tile.
6934 * README: Update listing for tile*-*-linux-gnu.
6935
a1ffb40e
OB
69362014-02-10 Ondřej Bílka <neleai@seznam.cz>
6937
57f41c40
AS
6938 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
6939 __builtin_expect.
a1ffb40e
OB
6940 * benchtests/bench-memmem.c (simple_memmem): Likewise.
6941 * catgets/open_catalog.c (__open_catalog): Likewise.
6942 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
6943 * debug/confstr_chk.c: Likewise.
6944 * debug/fread_chk.c (__fread_chk): Likewise.
6945 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
6946 * debug/getgroups_chk.c: Likewise.
6947 * debug/mbsnrtowcs_chk.c: Likewise.
6948 * debug/mbsrtowcs_chk.c: Likewise.
6949 * debug/mbstowcs_chk.c: Likewise.
6950 * debug/memcpy_chk.c: Likewise.
6951 * debug/memmove_chk.c: Likewise.
6952 * debug/mempcpy_chk.c: Likewise.
6953 * debug/memset_chk.c: Likewise.
6954 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6955 * debug/strcat_chk.c (__strcat_chk): Likewise.
6956 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
6957 * debug/strncat_chk.c (__strncat_chk): Likewise.
6958 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
6959 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
6960 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
6961 * debug/wcpncpy_chk.c: Likewise.
6962 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6963 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
6964 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
6965 * debug/wcsncpy_chk.c: Likewise.
6966 * debug/wcsnrtombs_chk.c: Likewise.
6967 * debug/wcsrtombs_chk.c: Likewise.
6968 * debug/wcstombs_chk.c: Likewise.
6969 * debug/wmemcpy_chk.c: Likewise.
6970 * debug/wmemmove_chk.c: Likewise.
6971 * debug/wmempcpy_chk.c: Likewise.
6972 * debug/wmemset_chk.c: Likewise.
6973 * dirent/scandirat.c (SCANDIRAT): Likewise.
6974 * dlfcn/dladdr1.c (dladdr1): Likewise.
6975 * dlfcn/dladdr.c (dladdr): Likewise.
6976 * dlfcn/dlclose.c (dlclose_doit): Likewise.
6977 * dlfcn/dlerror.c (__dlerror): Likewise.
6978 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
6979 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
6980 * dlfcn/dlopen.c (dlopen_doit): Likewise.
6981 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
6982 * dlfcn/dlsym.c (dlsym_doit): Likewise.
6983 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
6984 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
6985 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
6986 Likewise.
6987 * elf/dl-conflict.c: Likewise.
6988 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
6989 * elf/dl-dst.h: Likewise.
6990 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
6991 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
6992 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
6993 * elf/dl-init.c (call_init, _dl_init): Likewise.
6994 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
6995 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
6996 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
6997 Likewise.
a1ffb40e
OB
6998 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
6999 Likewise.
7000 * elf/dl-minimal.c (__libc_memalign): Likewise.
7001 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7002 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7003 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7004 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
7005 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7006 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
7007 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7008 * elf/dl-writev.h (_dl_writev): Likewise.
7009 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
7010 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7011 (dl_main): Likewise.
a1ffb40e
OB
7012 * elf/setup-vdso.h (setup_vdso): Likewise.
7013 * grp/compat-initgroups.c (compat_call): Likewise.
7014 * grp/fgetgrent.c (fgetgrent): Likewise.
7015 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7016 * grp/putgrent.c (putgrent): Likewise.
7017 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7018 Likewise.
7019 * hurd/hurdinit.c: Likewise.
7020 * iconvdata/8bit-gap.c (struct): Likewise.
7021 * iconvdata/ansi_x3.110.c : Likewise.
7022 * iconvdata/big5.c : Likewise.
7023 * iconvdata/big5hkscs.c : Likewise.
7024 * iconvdata/cp1255.c: Likewise.
7025 * iconvdata/cp1258.c : Likewise.
7026 * iconvdata/cp932.c : Likewise.
7027 * iconvdata/euc-cn.c: Likewise.
7028 * iconvdata/euc-jisx0213.c : Likewise.
7029 * iconvdata/euc-jp.c: Likewise.
7030 * iconvdata/euc-jp-ms.c : Likewise.
7031 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7032 * iconvdata/gb18030.c : Likewise.
7033 * iconvdata/gbbig5.c (const): Likewise.
7034 * iconvdata/gbgbk.c: Likewise.
7035 * iconvdata/gbk.c : Likewise.
7036 * iconvdata/ibm1364.c : Likewise.
7037 * iconvdata/ibm930.c : Likewise.
7038 * iconvdata/ibm932.c: Likewise.
7039 * iconvdata/ibm933.c : Likewise.
7040 * iconvdata/ibm935.c : Likewise.
7041 * iconvdata/ibm937.c : Likewise.
7042 * iconvdata/ibm939.c : Likewise.
7043 * iconvdata/ibm943.c: Likewise.
7044 * iconvdata/iso_11548-1.c: Likewise.
7045 * iconvdata/iso-2022-cn.c : Likewise.
7046 * iconvdata/iso-2022-cn-ext.c : Likewise.
7047 * iconvdata/iso-2022-jp-3.c: Likewise.
7048 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7049 * iconvdata/iso-2022-kr.c : Likewise.
7050 * iconvdata/iso646.c (gconv_end): Likewise.
7051 * iconvdata/iso_6937-2.c : Likewise.
7052 * iconvdata/iso_6937.c : Likewise.
7053 * iconvdata/iso8859-1.c: Likewise.
7054 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7055 * iconvdata/shift_jisx0213.c : Likewise.
7056 * iconvdata/sjis.c : Likewise.
7057 * iconvdata/t.61.c : Likewise.
7058 * iconvdata/tcvn5712-1.c : Likewise.
7059 * iconvdata/tscii.c: Likewise.
7060 * iconvdata/uhc.c : Likewise.
7061 * iconvdata/unicode.c (gconv_end): Likewise.
7062 * iconvdata/utf-16.c (gconv_end): Likewise.
7063 * iconvdata/utf-32.c (gconv_end): Likewise.
7064 * iconvdata/utf-7.c (base64): Likewise.
7065 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7066 * iconv/gconv_close.c (__gconv_close): Likewise.
7067 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
7068 * iconv/gconv_simple.c (internal_ucs4_loop_single)
7069 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7070 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7071 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7072 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
7073 * iconv/iconv.c (iconv): Likewise.
7074 * iconv/iconv_close.c: Likewise.
7075 * iconv/loop.c (SINGLE): Likewise.
7076 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7077 * include/atomic.h: Likewise.
7078 * inet/inet6_option.c (option_alloc): Likewise.
7079 * intl/bindtextdom.c (set_binding_values): Likewise.
7080 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7081 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7082 * intl/localealias.c (read_alias_file): Likewise.
7083 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
7084 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7085 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
7086 * libio/fmemopen.c (fmemopen): Likewise.
7087 * libio/iofgets.c (_IO_fgets): Likewise.
7088 * libio/iofgets_u.c (fgets_unlocked): Likewise.
7089 * libio/iofgetws.c (fgetws): Likewise.
7090 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7091 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
7092 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7093 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
7094 * locale/findlocale.c (_nl_find_locale): Likewise.
7095 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7096 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7097 Likewise.
7098 * locale/setlocale.c (setlocale): Likewise.
7099 * login/programs/pt_chown.c (main): Likewise.
7100 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7101 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
7102 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7103 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
7104 * math/e_exp2l.c: Likewise.
7105 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7106 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7107 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7108 * math/s_catan.c (__catan): Likewise.
7109 * math/s_catanf.c (__catanf): Likewise.
7110 * math/s_catanh.c (__catanh): Likewise.
7111 * math/s_catanhf.c (__catanhf): Likewise.
7112 * math/s_catanhl.c (__catanhl): Likewise.
7113 * math/s_catanl.c (__catanl): Likewise.
7114 * math/s_ccosh.c (__ccosh): Likewise.
7115 * math/s_ccoshf.c (__ccoshf): Likewise.
7116 * math/s_ccoshl.c (__ccoshl): Likewise.
7117 * math/s_cexp.c (__cexp): Likewise.
7118 * math/s_cexpf.c (__cexpf): Likewise.
7119 * math/s_cexpl.c (__cexpl): Likewise.
7120 * math/s_clog10.c (__clog10): Likewise.
7121 * math/s_clog10f.c (__clog10f): Likewise.
7122 * math/s_clog10l.c (__clog10l): Likewise.
7123 * math/s_clog.c (__clog): Likewise.
7124 * math/s_clogf.c (__clogf): Likewise.
7125 * math/s_clogl.c (__clogl): Likewise.
7126 * math/s_csin.c (__csin): Likewise.
7127 * math/s_csinf.c (__csinf): Likewise.
7128 * math/s_csinh.c (__csinh): Likewise.
7129 * math/s_csinhf.c (__csinhf): Likewise.
7130 * math/s_csinhl.c (__csinhl): Likewise.
7131 * math/s_csinl.c (__csinl): Likewise.
7132 * math/s_csqrt.c (__csqrt): Likewise.
7133 * math/s_csqrtf.c (__csqrtf): Likewise.
7134 * math/s_csqrtl.c (__csqrtl): Likewise.
7135 * math/s_ctan.c (__ctan): Likewise.
7136 * math/s_ctanf.c (__ctanf): Likewise.
7137 * math/s_ctanh.c (__ctanh): Likewise.
7138 * math/s_ctanhf.c (__ctanhf): Likewise.
7139 * math/s_ctanhl.c (__ctanhl): Likewise.
7140 * math/s_ctanl.c (__ctanl): Likewise.
7141 * math/w_pow.c: Likewise.
7142 * math/w_powf.c: Likewise.
7143 * math/w_powl.c: Likewise.
7144 * math/w_scalb.c (sysv_scalb): Likewise.
7145 * math/w_scalbf.c (sysv_scalbf): Likewise.
7146 * math/w_scalbl.c (sysv_scalbl): Likewise.
7147 * misc/error.c (error_tail): Likewise.
7148 * misc/pselect.c (__pselect): Likewise.
7149 * nis/nis_callback.c (__nis_create_callback): Likewise.
7150 * nis/nis_call.c (__nisfind_server): Likewise.
7151 * nis/nis_creategroup.c (nis_creategroup): Likewise.
7152 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7153 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7154 * nis/nis_getservlist.c (nis_getservlist): Likewise.
7155 * nis/nis_lookup.c (nis_lookup): Likewise.
7156 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
7157 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7158 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 7159 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
7160 * nis/nss_compat/compat-grp.c (getgrent_next_file)
7161 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7162 * nis/nss_compat/compat-initgroups.c (add_group)
7163 (internal_getgrent_r): Likewise.
7164 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7165 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7166 * nis/nss_compat/compat-spwd.c (getspent_next_file)
7167 (internal_getspnam_r): Likewise.
7168 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7169 (_nss_nis_getaliasbyname_r): Likewise.
7170 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7171 (_nss_nis_getntohost_r): Likewise.
7172 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7173 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7174 (_nss_nis_getgrgid_r): Likewise.
7175 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7176 (internal_nis_gethostent_r, internal_gethostbyname2_r)
7177 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7178 (_nss_nis_gethostbyname4_r): Likewise.
7179 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7180 (initgroups_netid): Likewise.
a1ffb40e 7181 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
7182 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7183 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7184 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7185 (_nss_nis_getprotobynumber_r): Likewise.
7186 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7187 (_nss_nis_getsecretkey): Likewise.
7188 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7189 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7190 (_nss_nis_getpwuid_r): Likewise.
7191 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7192 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7193 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7194 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7195 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7196 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
7197 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7198 Likewise.
57f41c40
AS
7199 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7200 (_nss_nisplus_getntohost_r): Likewise.
7201 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7202 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7203 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7204 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 7205 Likewise.
57f41c40
AS
7206 * nis/nss_nisplus/nisplus-initgroups.c
7207 (_nss_nisplus_initgroups_dyn): Likewise.
7208 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7209 (_nss_nisplus_getnetbyaddr_r): Likewise.
7210 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7211 (_nss_nisplus_getprotobynumber_r): Likewise.
7212 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7213 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
7214 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7215 Likewise.
57f41c40
AS
7216 * nis/nss_nisplus/nisplus-service.c
7217 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7218 (_nss_nisplus_getservbyport_r): Likewise.
7219 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7220 (_nss_nisplus_getspnam_r): Likewise.
7221 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7222 Likewise.
a1ffb40e
OB
7223 * nscd/aicache.c (addhstaiX): Likewise.
7224 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
7225 * nscd/connections.c (register_traced_file, send_ro_fd)
7226 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7227 (main_loop_epoll): Likewise.
a1ffb40e
OB
7228 * nscd/grpcache.c (addgrbyX): Likewise.
7229 * nscd/hstcache.c (addhstbyX): Likewise.
7230 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7231 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
7232 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7233 (addinnetgrX): Likewise.
7234 * nscd/nscd-client.h (__nscd_acquire_maplock)
7235 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
7236 * nscd/nscd_getai.c (__nscd_getai): Likewise.
7237 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7238 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7239 Likewise.
7240 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7241 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
7242 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7243 (__nscd_get_map_ref): Likewise.
a1ffb40e 7244 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
7245 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7246 Likewise.
a1ffb40e
OB
7247 * nscd/pwdcache.c (addpwbyX): Likewise.
7248 * nscd/selinux.c (preserve_capabilities): Likewise.
7249 * nscd/servicescache.c (addservbyX): Likewise.
7250 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7251 * posix/fnmatch.c (fnmatch): Likewise.
7252 * posix/getopt.c (_getopt_internal_r): Likewise.
7253 * posix/glob.c (glob, glob_in_dir): Likewise.
7254 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
7255 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7256 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
7257 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7258 * resolv/res_init.c: Likewise.
7259 * resolv/res_mkquery.c (res_nmkquery): Likewise.
7260 * resolv/res_query.c (__libc_res_nquery): Likewise.
7261 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7262 Likewise.
7263 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7264 * stdio-common/perror.c (perror): Likewise.
7265 * stdio-common/printf_fp.c (___printf_fp): Likewise.
7266 * stdio-common/tmpnam.c (tmpnam): Likewise.
7267 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7268 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
7269 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7270 Likewise.
a1ffb40e
OB
7271 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7272 * stdlib/putenv.c (putenv): Likewise.
7273 * stdlib/setenv.c (__add_to_environ): Likewise.
7274 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7275 * stdlib/strtol_l.c (INTERNAL): Likewise.
7276 * string/memmem.c (memmem): Likewise.
7277 * string/strerror.c (strerror): Likewise.
7278 * string/strnlen.c (__strnlen): Likewise.
7279 * string/test-memmem.c (simple_memmem): Likewise.
7280 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7281 * sunrpc/pm_getport.c (__get_socket): Likewise.
7282 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7283 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
7284 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7285 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
7286 Likewise.
7287 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7288 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7289 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7290 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7291 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
7292 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7293 Likewise.
7294 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7295 Likewise.
a1ffb40e
OB
7296 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7297 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7298 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7299 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7300 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7301 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7302 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7303 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7304 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7305 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7306 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7307 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7308 Likewise.
7309 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7310 Likewise.
7311 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7312 Likewise.
7313 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7314 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7315 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7316 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7317 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7318 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7319 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7320 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7321 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7322 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7323 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7324 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7325 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7326 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7327 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
7328 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7329 Likewise.
a1ffb40e
OB
7330 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7331 Likewise.
7332 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7333 Likewise.
7334 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7335 Likewise.
7336 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7337 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7338 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7339 Likewise.
7340 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7341 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7342 * sysdeps/posix/opendir.c (__opendirat): Likewise.
7343 * sysdeps/posix/sleep.c: Likewise.
7344 * sysdeps/posix/tempname.c: Likewise.
7345 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7346 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7347 Likewise.
57f41c40
AS
7348 * sysdeps/powerpc/powerpc32/dl-machine.h
7349 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
7350 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7351 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7352 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7353 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7354 Likewise.
7355 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7356 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7357 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7358 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7359 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7360 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7361 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7362 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7363 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7364 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7365 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7366 (elf_machine_lazy_rel): Likewise.
a1ffb40e 7367 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7368 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7369 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7370 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7371 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7372 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7373 * sysdeps/unix/grantpt.c (grantpt): Likewise.
7374 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7375 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7376 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7377 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7378 Likewise.
7379 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7380 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7381 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7382 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7383 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7384 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7385 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7386 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7387 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7388 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7389 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7390 Likewise.
7391 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7392 (__posix_fallocate64_l64): Likewise.
7393 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7394 (posix_fallocate): Likewise.
57f41c40
AS
7395 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7396 Likewise.
a1ffb40e 7397 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
7398 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7399 (getifaddrs_internal): Likewise.
a1ffb40e
OB
7400 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7401 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7402 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7403 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7404 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7405 (__posix_fallocate64_l64): Likewise.
7406 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7407 Likewise.
7408 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
7409 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7410 (__get_clockfreq): Likewise.
a1ffb40e
OB
7411 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7412 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7413 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7414 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7415 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7416 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7417 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7418 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7419 Likewise.
7420 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7421 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7422 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7423 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7424 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7425 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7426 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7427 Likewise.
7428 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7429 (posix_fallocate): Likewise.
7430 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7431 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7432 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7433 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7434 (elf_machine_rela, elf_machine_rela_relative)
7435 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7436 * time/asctime.c (asctime_internal): Likewise.
7437 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7438 * time/tzset.c (__tzset_parse_tz): Likewise.
7439 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7440 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7441 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7442 * wcsmbs/wcsmbsload.h: Likewise.
7443
f3d338c9
OB
7444 [BZ #15894]
7445 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
7446
57f41c40
AS
7447 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
7448 (arena_get2): Remove THREAD_STATS conditionals.
7449 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
7450 (__malloc_stats, int): Likewise.
bdfe308a 7451
d674667c
MF
74522014-02-08 Mike Frysinger <vapier@gentoo.org>
7453
7454 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
7455 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
7456
6349768c
MF
7457 * manual/setjmp.texi: Fix typos/grammar errors.
7458
0b7c7473
MF
7459 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
7460 Only return early when n is <= 0. Delete unused return statement.
7461
ac8cc9e3
MF
7462 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
7463 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
7464 * debug/tst-longjmp_chk3.c: New file.
7465
c5bb8e23
MF
7466 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
7467 (test_main): Replace code with set_fortify_handler call.
7468 * debug/test-strcpy_chk.c: Likewise.
7469 * debug/tst-chk1.c: Likewise.
7470 * debug/tst-longjmp_chk.c: Likewise.
7471 * test-skeleton.c: Include fcntl.h & paths.h
7472 (set_fortify_handler): Define.
7473
10444e42
MF
7474 * debug/tst-longjmp_chk.c: Add header comment and include
7475 ../test-skeleton.c.
7476 (do_test): Mark static.
7477 (TEST_FUNCTION): Define.
7478
1e805e8d
MF
7479 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
7480 (IP_PMTUDISC_INTERFACE): Likewise.
7481 (IP_MULTICAST_IF): Likewise.
7482 (IP_MULTICAST_TTL): Likewise.
7483 (IP_MULTICAST_LOOP): Likewise.
7484 (IP_ADD_MEMBERSHIP): Likewise.
7485 (IP_DROP_MEMBERSHIP): Likewise.
7486 (IP_UNBLOCK_SOURCE): Likewise.
7487 (IP_BLOCK_SOURCE): Likewise.
7488 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
7489 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
7490 (IP_MSFILTER): Likewise.
7491 (MCAST_JOIN_GROUP): Likewise.
7492 (MCAST_BLOCK_SOURCE): Likewise.
7493 (MCAST_UNBLOCK_SOURCE): Likewise.
7494 (MCAST_LEAVE_GROUP): Likewise.
7495 (MCAST_JOIN_SOURCE_GROUP): Likewise.
7496 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7497 (MCAST_MSFILTER): Likewise.
7498 (IP_MULTICAST_ALL): Likewise.
7499 (IP_UNICAST_IF): Likewise.
7500
73f79bb7
MF
7501 * timezone/Makefile: Delete $(have-ksh) check.
7502 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
7503 * timezone/tzselect.ksh: Add +x mode bits.
7504
8da79b60
MF
7505 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
7506 (ANON_INODE_FS_MAGIC): Likewise.
7507 (BDEVFS_MAGIC): Likewise.
7508 (BINFMTFS_MAGIC): Likewise.
7509 (BTRFS_TEST_MAGIC): Likewise.
7510 (CRAMFS_MAGIC_WEND): Likewise.
7511 (DEBUGFS_MAGIC): Likewise.
7512 (ECRYPTFS_SUPER_MAGIC): Likewise.
7513 (EXT3_SUPER_MAGIC): Likewise.
7514 (EXT4_SUPER_MAGIC): Likewise.
7515 (FUTEXFS_SUPER_MAGIC): Likewise.
7516 (HOSTFS_SUPER_MAGIC): Likewise.
7517 (HUGETLBFS_MAGIC): Likewise.
7518 (MINIX3_SUPER_MAGIC): Likewise.
7519 (MTD_INODE_FS_MAGIC): Likewise.
7520 (NILFS_SUPER_MAGIC): Likewise.
7521 (OPENPROM_SUPER_MAGIC): Likewise.
7522 (PIPEFS_MAGIC): Likewise.
7523 (PSTOREFS_MAGIC): Likewise.
7524 (QNX6_SUPER_MAGIC): Likewise.
7525 (RAMFS_MAGIC): Likewise.
7526 (REISERFS_SUPER_MAGIC_STRING): Likewise.
7527 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
7528 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
7529 (SECURITYFS_MAGIC): Likewise.
7530 (SELINUX_MAGIC): Likewise.
7531 (SMACK_MAGIC): Likewise.
7532 (SOCKFS_MAGIC): Likewise.
7533 (SQUASHFS_MAGIC): Likewise.
7534 (STACK_END_MAGIC): Likewise.
7535 (TMPFS_MAGIC): Likewise.
7536 (USBDEVICE_SUPER_MAGIC): Likewise.
7537 (V9FS_MAGIC): Likewise.
7538 (XENFS_SUPER_MAGIC): Likewise.
7539 (CRAMFS_MAGIC): Fix typo in comment.
7540 (EXT2_SUPER_MAGIC): Update comment.
7541 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
7542
464263cc
JM
75432014-02-08 Joseph Myers <joseph@codesourcery.com>
7544
c6bfe5c4
JM
7545 * sysdeps/arm: Move directory from ports/sysdeps/arm.
7546 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
7547 * sysdeps/unix/sysv/linux/arm: Move directory from
7548 ports/sysdeps/unix/sysv/linux/arm.
7549 * README: Update listing for arm-*-linux-gnueabi.
7550
464263cc
JM
7551 * README: Remove mention of am33.
7552
32749f6c
RM
75532014-02-07 Roland McGrath <roland@hack.frob.com>
7554
7555 * bits/sigset.h (__sigemptyset): Use a statement expression rather
7556 than the comma operator, to avoid "rhs of comma has no effect"
7557 compiler warnings.
7558 (__sigfillset, __sigandset, __sigorset): Likewise.
7559 * include/signal.h (__sigemptyset): Likewise.
7560 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
7561
d5b396c1
AM
75622014-02-07 Allan McRae <allan@archlinux.org>
7563
7564 * version.h (RELEASE): Set to "development".
7565 (VERSION): Set to "2.19.90"
7566 * NEWS: Add 2.20 section.
7567
3bfff2ed
CD
75682014-02-06 Carlos O'Donell <carlos@redhat.com>
7569
7570 [BZ #16529]
7571 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
7572
ee7cc385
SP
75732014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7574
7575 * manual/contrib.texi: Update entry for Carlos O'Donell,
7576 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
7577
f877c4f2
CD
75782014-02-05 Carlos O'Donell <carlos@rehdat.com>
7579
27e839f6
CD
7580 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
7581
f877c4f2
CD
7582 * sysdeps/unix/sysv/linux/kernel-features.h
7583 [__LINUX_KERNEL_VERSION >= 0x020621]
7584 (__ASSUME_PROC_PID_TASK_COMM): Define.
7585
68159946
SP
75862014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7587
ba17cdbd
SP
7588 [BZ #16398]
7589 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
7590 conversion when destination buffer does not have enough space.
7591 * libio/tst-ftell-partial-wide.c: New test case.
7592 * libio/Makefile (tests): Add tst-ftell-partial-wide.
7593
68159946
SP
7594 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
7595 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
7596 Leonard and Allan McRae.
7597
2b528732
DM
75982014-02-04 David S. Miller <davem@davemloft.net>
7599
7600 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
7601 32-bit.
7602
0ff82463
AZ
76032014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7604
57f41c40
AS
7605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7606 New file
c01603f7
AZ
7607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7608 New file
57f41c40
AS
7609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7610 New file.
7611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7612 New file.
c01603f7
AZ
7613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7614 New file.
57f41c40
AS
7615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7616 New file.
7617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7618 New file.
c01603f7
AZ
7619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7620 New file.
7621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7622 New file.
7623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7624 New file.
7625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7626 New file.
7627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7628 New file.
7629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7630 New file.
7631
76322014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7633
0ff82463
AZ
7634 * nptl/shlib-versions: Change powerpc*le start to 2.17.
7635 * shlib-versions: Likewise.
7636
1695c773
AZ
76372014-02-04 Roland McGrath <roland@hack.frob.com>
7638 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7639
7640 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
7641 (abilist-pattern): New variable, set to %-le.abilist.
7642
7643 * Makerules (abilist-pattern): New variable.
7644 (vpath): Use $(abilist-pattern) in place of %.abilist.
7645 (check-abi-% pattern rule): Likewise.
7646 (check-abi, update-abi): Likewise.
7647
6c0ce4b4
EW
76482014-02-04 Eric Wong <normalperson@yhbt.net>
7649
7650 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7651
481e3524
CD
76522014-02-03 Carlos O'Donell <carlos@redhat.com>
7653
7654 * manual/startup.texi: Add next, previous, and top entries for
7655 the `Program Arguments' and `Environment Variables' nodes.
7656
375592d3
AO
76572014-02-03 Alexandre Oliva <aoliva@redhat.com>
7658
7659 * manual/macros.texi: Add comments before MTASC-safety macros.
7660
f54838ba
AO
7661 * manual/users.texi: Document MTASC-safety properties.
7662
57f41c40
AS
7663 * manual/threads.texi (pthread_key_create, pthread_key_delete)
7664 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
7665 @deftypefun, and add @safety note.
7666 * manual/signal.texi: Move comments that analyze the above
7667 functions to their home place.
7668
fd3daba4
AM
76692014-02-03 Allan McRae <allan@archlinux.org>
7670
7671 * po/sl.po: Update Slovenian translation from translation project.
7672
597636d7
AO
76732014-02-02 Alexandre Oliva <aoliva@redhat.com>
7674
7675 * manual/time.texi (timegm): Add missing blank after @c.
7676 Reported by Joseph Myers <joseph@codesourcery.com>.
7677
ee196e3c
AO
76782014-02-01 Alexandre Oliva <aoliva@redhat.com>
7679
7680 * manual/check-safety.sh: New.
7681 * manual/Makefile ($(objpfx)stamp-summary): Run it.
7682
f8d529d5
AO
7683 * manual/terminal.texi: Document MTASC-safety properties.
7684
de55fdf4
AO
7685 * manual/filesys.texi: Document MTASC-safety properties.
7686
c3299c08
AO
7687 * manual/errno.texi: Document MTASC-safety properties.
7688
06e90b14
AO
7689 * manual/intro.texi: Document safety identifiers and
7690 conditionals.
7691
1acd4371
AO
7692 * manual/string.texi (wcstok): Fix prototype.
7693 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
7694
23e5b8cb
AO
7695 * manual/time.texi: Document MTASC-safety properties.
7696
11087373
AO
7697 * manual/string.texi: Document MTASC-safety properties.
7698
5da2c93d
AO
7699 * manual/threads.texi: Document MTASC-safety properties.
7700
171e9210
AO
7701 * manual/stdio.texi: Document MTASC-safety properties.
7702
d9e02532
AO
7703 * manual/syslog.texi: Document MTASC-safety properties.
7704
6af8bab7
AO
7705 * manual/sysinfo.texi: Document MTASC-safety properties.
7706
663b02d7
AO
7707 * manual/startup.texi: Document MTASC-safety properties.
7708
973f180b
AO
7709 * manual/socket.texi: Document MTASC-safety properties.
7710
8f3c25c8
AO
7711 * manual/signal.texi: Document MTASC-safety properties.
7712
542210fb
AO
77132014-01-31 Alexandre Oliva <aoliva@redhat.com>
7714
7715 * manual/setjmp.texi: Document MTASC-safety properties.
7716
433c45a2
AO
7717 * manual/search.texi: Document MTASC-safety properties.
7718
c8ce789c
AO
7719 * manual/resource.texi: Document MTASC-safety properties.
7720
19f5d29c
AO
7721 * manual/process.texi: Document MTASC-safety properties.
7722
e2dfb7f4
AO
7723 * manual/platform.texi: Document MTASC-safety properties.
7724
8c1413f5
AO
7725 * manual/pipe.texi: Document MTASC-safety properties.
7726
03483ada
AO
7727 * manual/pattern.texi: Document MTASC-safety properties.
7728
29e7e2df
AO
7729 * manual/message.texi: Document MTASC-safety properties.
7730
9f529d7c
AO
7731 [BZ #12751]
7732 * manual/memory.texi: Document MTASC-safety properties.
7733
27aaa791
AO
7734 * manual/math.texi: Document MTASC-safety properties.
7735
f2d58726
AO
7736 * manual/locale.texi: Document MTASC-safety properties.
7737
2cc3615c
AO
7738 * manual/llio.texi: Document MTASC-safety properties.
7739
d9f0ec97
AO
7740 * manual/libdl.texi: New.
7741
e7c4409a
AO
7742 * manual/lang.texi: Document MTASC-safety properties.
7743
27bdc63c
AO
7744 * manual/job.texi: Document MTASC-safety properties.
7745
a7b90ea9
AO
7746 * manual/getopt.texi: Document MTASC-safety properties.
7747
c49130e3
AO
7748 * manual/ctype.texi: Document MTASC-safety properties.
7749
0d23a5c1
MR
77502014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
7751
7752 [BZ #16046]
7753 * csu/libc-tls.c (static_map): Remove variable.
7754 (__libc_setup_tls): Use main executable's link map for TLS data.
7755 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
7756 casing for LM_ID_BASE and GL(dl_nns).
7757 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
7758 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
7759 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
7760 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
7761 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
7762 member.
7763 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
7764 l_phnum members.
7765
0037bb60
AO
77662014-01-30 Alexandre Oliva <aoliva@redhat.com>
7767
7768 * manual/debug.texi: Document MTASC-safety properties.
7769
409e00bd
L
77702014-01-29 H.J. Lu <hongjiu.lu@intel.com>
7771
7772 [BZ #16510]
7773 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
7774 of __x86_64__ when disabling x87 inline functions.
7775
86e60666
AO
77762014-01-29 Alexandre Oliva <aoliva@redhat.com>
7777
7778 * manual/charset.texi: Document MTASC-safety properties.
7779
76167637
AO
7780 * manual/crypt.texi: Document MTASC-safety properties.
7781
e567f2a0
AO
7782 * manual/conf.texi: Document MTASC-safety properties.
7783
b719dafd
AO
7784 * manual/arith.texi: Document MTASC-safety properties.
7785
4a16c662
AO
7786 * manual/argp.texi: Document MTASC-safety properties.
7787
0a57b83e
AO
7788 * manual/macros.texi: Introduce macros to document multi
7789 thread, asynchronous signal and asynchronous cancellation
7790 safety properties.
7791 * manual/intro.texi: Introduce the properties themselves.
7792
feab2397
KK
77932014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7794
7795 * sysdeps/sh/sh4/Makefile: New file.
7796
1c0d11bc
AS
77972014-01-27 Andreas Schwab <schwab@linux-m68k.org>
7798
7799 * math/gen-libm-test.pl ($srcdir): New variable.
7800 ($auto_input): Use it.
7801
af37a8a3
SP
78022014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7803
d7b00f98
SP
7804 [BZ #16506]
7805 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
7806 access beyond array bounds when parsing netgroups file.
7807
af37a8a3
SP
7808 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
7809 the old buffer before realloc.
7810
0c00f062
AM
78112014-01-27 Allan McRae <allan@archlinux.org>
7812
7813 * po/fr.po: Update French translation from translation project.
7814
7d69a1b0
KK
78152014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7816
7817 * sysdeps/sh/libm-test-ulps: Regenerate.
7818
6e697ff7
DM
78192014-01-24 David S. Miller <davem@davemloft.net>
7820
7821 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
7822
9cadb35c
KK
78232014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7824
7825 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
7826 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
7827
5d41dadf
SP
78282013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7829
7830 [BZ #16474]
7831 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
7832 string pointers after reallocation.
7833
0bad441c
KK
78342014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7835
7836 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
7837 __SH4A__ instead of __SH_FPU_ANY__.
7838
7007c661
KK
78392014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7840
7841 * sysdeps/sh/fpu_control.h: New file.
7842 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
7843 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7844 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
7845 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
7846 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
7847 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
7848 * sysdeps/sh/sys/ucontext.h: Remove.
7849 * sysdeps/sh/sys: Remove directory.
7850
0f0c35e4
AK
78512014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7852
7853 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
7854 s390/sys/ucontext.h.
7855 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
7856 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
7857
4959e284
L
78582014-01-20 H.J. Lu <hongjiu.lu@intel.com>
7859
7860 [BZ #15605]
7861 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
7862
d98720e0
AZ
78632014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7864
7865 [BZ#16431]
7866 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7867 Adjust the vDSO correctly for internal calls.
7868 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
7869
91cbd0bc
AM
78702014-01-20 Allan McRae <allan@archlinux.org>
7871
7872 * po/ca.po: Update Catalan translation from translation project.
7873
7a02cfad
MF
78742014-01-16 Mike Frysinger <vapier@gentoo.org>
7875
7876 * sysdeps/s390/sotruss-lib.c: New file.
7877
736c304a
AZ
78782014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7879
7880 [BZ#16430]
6e077ee5 7881 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
7882 (__GI___gettimeofday): Alias for a different internal symbol to avoid
7883 local calls issues by not having a PLT stub required for IFUNC calls.
7884 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
7885
94d0cea0
JM
78862014-01-16 Joseph Myers <joseph@codesourcery.com>
7887
7888 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
7889 * math/test-fpucw-static.c: Likewise.
7890
980cb518
SP
78912013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7892
7893 [BZ #16453]
7894 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
7895
2393fc01
AZ
78962014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7897
7898 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
7899 implementation for powerpc.
7900
d359bcc2
OB
79012014-01-15 Ondřej Bílka <neleai@seznam.cz>
7902
7903 [BZ #14782]
7904 * sysdeps/posix/system.c (__libc_system): Do not enable
7905 asynchronous cancellation.
7906
7beb48cb
AK
79072014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7908
7909 [BZ #16427]
7910 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
7911 handling only for numbers special also in the IEEE case.
7912
c20d5bf5
AK
79132014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7914
7915 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7916
e83bd4ee
AM
79172014-01-11 Allan McRae <allan@archlinux.org>
7918
76d0ea69
AM
7919 * po/bg.po: Update Bulgarian translation from translation project.
7920
e83bd4ee
AM
7921 * po/de.po: Update German translation from translation project.
7922
bc2ba20a
RM
79232014-01-10 Roland McGrath <roland@hack.frob.com>
7924
7925 * sysdeps/generic/gcc-compat.h: New file.
7926
649ecea2
SP
79272014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7928
7929 * benchtests/asin-inputs: Correct slow inputs.
7930 * benchtests/acos-inputs: Likewise.
7931
1b19c006
AM
79322014-01-10 Allan McRae <allan@archlinux.org>
7933
a46dab08
AM
7934 * po:sv.po: Update Swedish translation from translation project.
7935
421df74a
AM
7936 * po/vi.po: Update Vietnamese translation from translation project.
7937
d61c51a7
AM
7938 * po/eo.po: Update Esperanto translation from translation project.
7939
0339a319
AM
7940 * po/cs.po: Update Czech translation from translation project.
7941
94ad3e99
AM
7942 * po/nl.po: Update Dutch translation from translation project.
7943
e349ca71
AM
7944 * po/pl.po: Update Polish translation from translation project.
7945
ddf930c1
AM
7946 * po/ru.po: Update Russian translation from translation project.
7947
1b19c006
AM
7948 * po/uk.po: Update Ukrainian translation from translation project.
7949
9f236c49
BM
79502014-01-08 Brooks Moses <bmoses@google.com>
7951
7952 * elf/dl-load.c: Fix comment typo.
7953
cd6701cf
CD
79542014-01-08 Carlos O'Donell <carlos@redhat.com>
7955
7956 * po/header.pot: Rename to...
7957 * po/pot.header: ... this.
7958 * po/Makefile: Use pot.header.
7959
66671c84
YK
79602014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
7961 Maxim Kuvyrkov <maxim@kugelworks.com>
7962
7963 [BZ #16394]
cd6701cf
CD
7964 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
7965 SRC and DEST against LEN.
66671c84 7966
38f34581
AZ
79672014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7968
7969 [BZ #16414]
7970 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
7971 implementation.
7972 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
7973
79742014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
7975
7976 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7977
4c327f2a
JM
79782014-01-08 Joseph Myers <joseph@codesourcery.com>
7979
7980 [BZ #16408]
7981 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
7982 for large positive arguments.
7983
b821f414
JM
79842014-01-07 Joseph Myers <joseph@codesourcery.com>
7985
1f0f2067
JM
7986 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7987
a5a326f6
JM
7988 * math/auto-libm-test-in: Mark various tests with
7989 xfail-rounding:ldbl-128ibm.
7990 * math/auto-libm-test-out: Regenerated.
7991
b821f414
JM
7992 [BZ #16407]
7993 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7994 Increase overflow threshold.
7995
94c8a4bc
OB
79962014-01-07 Ondřej Bílka <neleai@seznam.cz>
7997
7998 [BZ #14286]
7999 * stdio-common/vfprintf.c: Check for integer overflow.
8000
87ded0c3
AK
80012014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8002
8003 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8004 the first argument and return value of __tls_get_addr_internal.
8005
c5eebdd0
AK
80062014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8007
8008 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8009 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8010
05d138ef
AK
80112014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8012
8013 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8014 * sysdeps/s390/rtld-global-offsets.sym: New file.
8015 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8016 GLIBC_2.19 symbol.
8017 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8018 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8019 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8020 ... this.
8021 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8022 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8023 ... this.
8024 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8025 Regenerate.
8026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8027 Regenerate.
8028 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8029 halfs of GPRs for high_gprs contexts.
8030 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8031 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
8032 field.
8033 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8034 uc_flags field.
8035 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8036 64 bit versions:
8037 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8038 for high GPRs (uc_high_gprs) and for future extensions
8039 (__reserved).
8040 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8041 for future extensions (__reserved).
8042 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8043 64 bit versions:
8044 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8045 SC_HIGHGPRS offset definition.
8046 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8047 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8048
93a45ff1
AK
8049 * Versions.def: Add GLIBC_2.19 for libpthread.
8050 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8051 siglongjmp for libpthread with GLIBC_2.19 symver.
8052 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8053 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8054 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8055 * sysdeps/s390/__longjmp.c: New file.
8056 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8057 * sysdeps/s390/longjmp.c: New file.
8058 * sysdeps/s390/setjmp.S: New file.
8059 * sysdeps/s390/sigjmp.S: New file.
8060 * sysdeps/s390/v1-longjmp.c: New file.
8061 * sysdeps/s390/v1-setjmp.h: New file.
8062 * sysdeps/s390/v1-sigjmp.c: New file.
8063 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8064 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8065 GLIBC_2.19 version.
8066 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8067 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8068 versioned symbols for ____longjmp_chk.
8069 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8070 Likewise.
8071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8072 Regenerate.
8073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8074 Regenerate.
8075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8076 Regenerate.
8077 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8078 Regenerate.
8079 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8080 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8081 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8082 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8083 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8084 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8085 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8086 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8087 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8088 * sysdeps/s390/rtld-__longjmp.c: New file.
8089 * sysdeps/s390/rtld-setjmp.S: New file.
8090
eb3fc44b
JM
80912014-01-06 Joseph Myers <joseph@codesourcery.com>
8092
8093 [BZ #16400]
8094 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8095 Return -__logl (x) for small positive arguments without evaluating
8096 a polynomial.
8097
9341dde4
MF
80982014-01-06 Mike Frysinger <vapier@gentoo.org>
8099
8100 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8101 Rename to ...
8102 (__ptrace_peeksiginfo_args): ... this.
8103 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8104 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8105 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8106
4cff0293
AM
81072014-01-06 Allan McRae <allan@archlinux.org>
8108
8109 * inet/netinet/in.h: Fix typo in comment.
8110
75595dcf
AJ
81112014-01-05 Andreas Jaeger <aj@suse.de>
8112
8113 * sysdeps/i386/fpu/libm-test-ulps: Update.
8114
79c1e109
AM
81152014-01-05 Allan McRae <allan@archlinux.org>
8116
dd804818
AM
8117 * po/libc.pot: Regenerated.
8118
79c1e109
AM
8119 * malloc/memusagestat.c: Fix gettext call formatting.
8120
0c813d1f
SK
81212014-01-04 Sami Kerola <kerolasa@iki.fi>
8122
8123 * nscd/nscd.c: Improve usage() output.
8124
20f4a8d9
MF
81252014-01-04 Mike Frysinger <vapier@gentoo.org>
8126
8127 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8128 * sysdeps/unix/sysv/linux/configure: Regenerated.
8129 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8130 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8131
22562bb2
JM
81322014-01-03 Joseph Myers <joseph@codesourcery.com>
8133
8134 [BZ #16390]
8135 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8136 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8137
d7ad2d9b
AZ
81382014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8139
8140 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8141 extra tokens at end of #undef directive.
8142 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8143 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8144 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8145
7dd009d8
JM
81462014-01-03 Joseph Myers <joseph@codesourcery.com>
8147
24db925a
JM
8148 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8149
7dd009d8
JM
8150 * math/auto-libm-test-in: Mark various tests with
8151 xfail-rounding:ldbl-128ibm.
8152 * math/auto-libm-test-out: Regenerated.
8153
396e3ecf
JM
81542014-01-02 Joseph Myers <joseph@codesourcery.com>
8155
819e5d50
JM
8156 [BZ #16386]
8157 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8158 numbers with subnormal high part when calculating exponent.
8159
90b6a1e5
JM
8160 [BZ #16385]
8161 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8162 fabs.
8163
396e3ecf
JM
8164 [BZ #16384]
8165 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8166 M_LN2l.
8167 (__ieee754_acoshl): Use __log1pl not __log1p.
8168
6c8dbf00
OB
81692013-01-02 Ondřej Bílka <neleai@seznam.cz>
8170
57f41c40
AS
8171 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8172 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8173 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8174 (grow_heap, heap_trim, _int_new_arena, get_free_list)
8175 (reused_arena, arena_get2): Convert to GNU style.
8176 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8177 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8178 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 8179 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
8180 * malloc/malloc.c (__malloc_assert, malloc_init_state)
8181 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8182 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8183 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8184 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8185 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 8186 * malloc/malloc.h: Likewise.
57f41c40
AS
8187 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8188 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 8189 * malloc/mcheck.h: Likewise.
57f41c40
AS
8190 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8191 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
8192 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8193 * malloc/morecore.c (__default_morecore): Likewise.
8194 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
8195 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8196 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8197 (print_and_abort): Likewise.
6c8dbf00
OB
8198 * malloc/obstack.h: Likewise.
8199 * malloc/set-freeres.c (__libc_freeres): Likewise.
8200 * malloc/tst-mallocstate.c (main): Likewise.
8201 * malloc/tst-mtrace.c (main): Likewise.
8202 * malloc/tst-realloc.c (do_test): Likewise.
8203
d4124212
SP
82042013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8205
9a3c6a6f
SP
8206 [BZ #16366]
8207 * nscd/netgroupcache.c (do_notfound): New function.
8208 (addgetnetgrentX): Use it.
8209
d4124212
SP
8210 [BZ # 16365]
8211 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8212 NSS_STATUS_NOTFOUND.
8213
97b9a009
JM
82142014-01-01 Joseph Myers <joseph@codesourcery.com>
8215
8216 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8218
d4697bc9
AM
82192014-01-01 Allan McRae <allan@archlinux.org>
8220
ddb3687f
AM
8221 * scripts/update-copyrights: Update configure input file suffix.
8222
88726d48
AM
8223 * NEWS: Update copyright year.
8224 * catgets/gencat.c: Likewise.
8225 * csu/version.c: Likewise.
8226 * debug/catchsegv.sh: Likewise.
8227 * debug/pcprofiledump.c: Likewise.
8228 * debug/xtrace.sh: Likewise.
8229 * elf/ldconfig.c: Likewise.
8230 * elf/ldd.bash.in: Likewise.
8231 * elf/pldd.c: Likewise.
8232 * elf/sotruss.ksh: Likewise.
8233 * elf/sprof.c: Likewise.
8234 * iconv/iconv_prog.c: Likewise.
8235 * iconv/iconvconfig.c: Likewise.
8236 * locale/programs/locale.c: Likewise.
8237 * locale/programs/localedef.c: Likewise.
8238 * login/programs/pt_chown.c: Likewise.
8239 * malloc/memusage.sh: Likewise.
8240 * malloc/memusagestat.c: Likewise.
8241 * malloc/mtrace.pl: Likewise.
8242 * manual/libc.texinfo: Likewise.
8243 * nscd/nscd.c: Likewise.
8244 * nss/getent.c: Likewise.
8245 * nss/makedb.c: Likewise.
8246 * posix/getconf.c: Likewise.
8247 * scripts/test-installation.pl: Likewise.
8248
d4697bc9
AM
8249 * All files with FSF copyright notices: Update copyright dates
8250 using scripts/update-copyrights.
8251 * intl/plural.c: Regenerated.
8252 * locale/programs/charmap-kw.h: Likewise.
8253 * locale/programs/locfile-kw.h: Likewise.
8254
c8590f9d
MF
82552013-12-31 Mike Frysinger <vapier@gentoo.org>
8256
8257 * sysdeps/unix/sysv/linux/configure: Regenerated.
8258 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8259 the linux/fanotify.h header.
8260 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8261 HAVE_LINUX_FANOTIFY_H is defined.
8262
b19221b9
SP
82632013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8264
dd1d85e5
SP
8265 * benchtests/cos-inputs: New inputs.
8266 * benchtests/sin-inputs: Likewise.
8267
1acbb90f
SP
8268 * benchtests/atan-inputs: New inputs. Fix name of multiple
8269 precision fallback inputs.
8270
4c012ed3
SP
8271 * benchtests/atanh-inputs: New inputs.
8272 * benchtests/tanh-inputs: Likewise.
8273
eff98324
SP
8274 * benchtests/acosh-inputs: New inputs.
8275 * benchtests/asinh-inputs: Likewise.
8276
ce641152
SP
8277 * benchtests/cosh-inputs: New inputs.
8278 * benchtests/sinh-inputs: Likewise.
8279
b19221b9
SP
8280 * benchtests/acos-inputs: Add more inputs.
8281 * benchtests/asin-inputs: Likewise.
8282
030a4976 82832013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 8284
030a4976 8285 [BZ #16375]
9dcc8f11
VS
8286 * manual/arith.texi: Fix spelling.
8287 * manual/charset.texi: Likewise.
8288 * manual/errno.texi: Likewise.
8289 * manual/filesys.texi: Likewise.
8290 * manual/lang.texi: Likewise.
8291 * manual/llio.texi: Likewise.
8292 * manual/locale.texi: Likewise.
8293 * manual/message.texi: Likewise.
8294 * manual/resource.texi: Likewise.
8295 * manual/search.texi: Likewise.
8296 * manual/setjmp.texi: Likewise.
8297 * manual/stdio.texi: Likewise.
8298 * manual/string.texi: Likewise.
8299 * manual/sysinfo.texi: Likewise.
8300 * manual/time.texi: Likewise.
8301
11520a57
CD
83022013-12-27 Carlos O'Donell <carlos@redhat.com>
8303
8304 * po/sl.po: New file.
8305
471103ae
MF
83062013-12-27 Mike Frysinger <vapier@gentoo.org>
8307
8308 * .gitignore: Add core/.gdbinit/.gdb_history.
8309
6c9642ed
AM
83102013-12-27 Allan McRae <allan@archlinux.org>
8311
8312 [BZ #16369]
8313 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8314 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8315
3f637079
BM
83162013-12-24 Brooks Moses <bmoses@google.com>
8317
8318 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8319 all compilers that claim C++98 compliance, not just GCC.
8320 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8321 Likewise.
8322
abc26e99
MK
83232013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8324
8325 * NEWS: Restore accidentally deleted bug-fix entries.
8326
362b47fe
MK
83272013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8328 Ondřej Bílka <neleai@seznam.cz>
8329
8330 [BZ #15073]
8331 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 8332 have_lock.
362b47fe 8333
b9bcbbcb
OB
83342013-12-23 Ondřej Bílka <neleai@seznam.cz>
8335
8336 [BZ #12986]
8337 * manual/stdio.texi (String Input Conversions): Clarify that character
8338 classes are not supported.
8339
fb55fcd2
AZ
83402013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8341
8342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8343
ef7344f0
JM
83442013-12-22 Joseph Myers <joseph@codesourcery.com>
8345
4f40e4b3
JM
8346 [BZ #16337]
8347 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8348 Calculate results for small negative arguments directly rather
8349 than using reflection formula with special underflow handling.
8350
ef7344f0
JM
8351 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8352 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8353 sysdeps/unix/bsd/bsd4.4/syscalls.list.
8354 (fchflags): Likewise.
8355 (revoke): Likewise.
8356 (setlogin): Likewise.
8357 (sigaltstack): Likewise.
8358 (wait4): Likewise.
8359 (sigblock): Remove.
8360 (sigsetmask): Likewise.
8361 (wait3): Likewise.
8362 (waitpid): Likewise.
8363 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8364 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8365 file.
8366 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8367 * sysdeps/unix/bsd/Makefile: ... here.
8368 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8369 * sysdeps/unix/bsd/Versions: ... here.
8370 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8371 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8372 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8373 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8374 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8375 * sysdeps/unix/bsd/sigblock.c: ... here.
8376 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8377 * sysdeps/unix/bsd/sigsetmask.c: ... here.
8378 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8379 * sysdeps/unix/bsd/sigvec.c: ... here.
8380 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8381 * sysdeps/unix/bsd/tcdrain.c: ... here.
8382 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8383 * sysdeps/unix/bsd/tcgetattr.c: ... here.
8384 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8385 * sysdeps/unix/bsd/tcsetattr.c: ... here.
8386 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8387 * sysdeps/unix/bsd/wait.c: ... here.
8388 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8389 * sysdeps/unix/bsd/wait3.c: ... here.
8390 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8391 * sysdeps/unix/bsd/waitpid.c: ... here.
8392
5b0626b9
JM
83932013-12-21 Joseph Myers <joseph@codesourcery.com>
8394
8395 [BZ #16356]
8396 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8397 round-to-nearest for [!USE_AS_EXPM1L].
8398 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8399 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
8400 more tests of exp and exp10. Expect some exp10 tests to miss
8401 exceptions or fail in directed rounding modes.
8402 * math/auto-libm-test-out: Regenerated.
8403 * math/libm-test.inc (exp10_tonearest_test_data): New array.
8404 (exp10_test_tonearest): New function.
8405 (exp10_towardzero_test_data): New array.
8406 (exp10_test_towardzero): New function.
8407 (exp10_downward_test_data): New array.
8408 (exp10_test_downward): New function.
8409 (exp10_upward_test_data): New array.
8410 (exp10_test_upward): New function.
8411 (main): Call the new functions.
8412 * sysdeps/i386/fpu/libm-test-ulps: Update.
8413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8414
7fda5682
JM
84152013-12-20 Joseph Myers <joseph@codesourcery.com>
8416
31e3a405
JM
8417 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8418 asinh, atan, atan2, atanh, cbrt, cos and cosh.
8419 * math/auto-libm-test-out: Regenerated.
8420 * math/libm-test.inc (acosh_test_data): Add more tests.
8421 (atanh_test_data): Likewise.
8422 (ceil_test_data): Likewise.
8423 (copysign_test_data): Likewise.
8424 * sysdeps/i386/fpu/libm-test-ulps: Update.
8425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8426
85bff96a
JM
8427 * timezone/checktab.awk: Update from tzcode 2013i.
8428 * timezone/private.h: Likewise.
8429 * timezone/scheck.c: Likewise.
8430 * timezone/tzfile.h: Likewise.
8431 * timezone/tzselect.ksh: Likewise.
8432 * timezone/zdump.c: Likewise.
8433 * timezone/zic.c: Likewise.
8434
b7867a3b
JM
8435 * math/auto-libm-test-in: Add tests of cpow.
8436 * math/auto-libm-test-out: Regenerated.
8437 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 8438 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
8439 mpc_cc_c.
8440 (func_calc_desc): Add mpc_cc_c union field.
8441 (test_functions): Add cpow.
8442 (special_fill_2pi): New function.
8443 (special_real_inputs): Add 2pi.
8444 (calc_generic_results): Handle mpc_cc_c.
8445 * sysdeps/i386/fpu/libm-test-ulps: Update.
8446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8447
7fda5682
JM
8448 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
8449 csqrt, ctan and ctanh.
8450 * math/auto-libm-test-out: Regenerated.
8451 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8452 (TEST_COND_x86): Likewise.
8453 (ccos_test_data): Use AUTO_TESTS_c_c.
8454 (ccosh_test_data): Likewise.
8455 (cexp_test_data): Likewise.
8456 (clog_test_data): Likewise.
8457 (csqrt_test_data): Likewise.
8458 (ctan_test_data): Likewise.
8459 (ctan_tonearest_test_data): Likewise.
8460 (ctan_towardzero_test_data): Likewise.
8461 (ctan_downward_test_data): Likewise.
8462 (ctan_upward_test_data): Likewise.
8463 (ctanh_test_data): Likewise.
8464 (ctanh_tonearest_test_data): Likewise.
8465 (ctanh_towardzero_test_data): Likewise.
8466 (ctanh_downward_test_data): Likewise.
8467 (ctanh_upward_test_data): Likewise.
8468 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8469 mpc_c_c.
8470 (func_calc_desc): Add mpc_c_c union field.
8471 (FUNC_mpc_c_c): New macro.
8472 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
8473 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
8474 ctanh.
8475 (special_fill_min_subnorm_p120): New function.
8476 (special_real_inputs): Add min_subnorm_p120.
8477 (calc_generic_results): Handle mpc_c_c.
8478 * sysdeps/i386/fpu/libm-test-ulps: Update.
8479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8480
5ff8d60e
SP
84812013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8482
57f41c40
AS
8483 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
8484 (do_sin_slow): New functions.
8485 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
8486 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 8487
84ba214c
SP
8488 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
8489 Use M to change sign of result instead of X. Assume X is
8490 positive.
8491 (csloww1): Likewise.
8492 (__sin): Adjust.
8493 (__cos): Adjust.
8494
975195e4
SP
8495 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
8496 arguments A and DA.
8497 (__sin): Adjust.
8498 (__cos): Likewise.
8499
5ff8d60e
SP
8500 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
8501 (__cos): Likewise.
8502 (sloww1): Don't adjust sign of DX.
8503 (csloww1): Likewise.
8504 (sloww2): Use X directly and don't adjust sign of DX.
8505 (csloww2): Likewise.
8506
eb983568
JM
85072013-12-19 Joseph Myers <joseph@codesourcery.com>
8508
64a17f1a
JM
8509 * math/auto-libm-test-in: Add tests of cabs and carg.
8510 * math/auto-libm-test-out: Regenerated.
8511 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
8512 (carg_test_data): Likewise.
8513 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8514 mpc_c_f.
8515 (func_calc_desc): Add mpc_c_f union field.
8516 (test_functions): Add cabs and carg.
8517 (calc_generic_results): Handle mpc_c_f.
8518
eb983568
JM
8519 * sysdeps/powerpc/powerpc32/libgcc-compat.S
8520 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
8521 as a macro and a compat symbol.
8522 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8523 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8524 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8525 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8526 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
8527 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
8528 not use .hidden.
8529 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
8530 Likewise.
8531 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
8532 Likewise.
8533 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
8534 Likewise.
8535 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
8536 Likewise.
8537 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
8538 Likewise.
8539 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
8540 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
8541 from GLIBC_2.3.2.
8542
6eeb678a
AZ
85432013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8544
8545 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8546
6f6fc482
JM
85472013-12-19 Joseph Myers <joseph@codesourcery.com>
8548
21fea2e2
JM
8549 * manual/texinfo.tex: Update to version 2013-11-26.10 with
8550 trailing whitespace removed.
8551 * scripts/config.guess: Update to version 2013-11-29.
8552 * scripts/config.sub: Update to version 2013-10-01.
8553
6f6fc482
JM
8554 * math/auto-libm-test-in: Add tests of sincos.
8555 * math/auto-libm-test-out: Regenerated.
8556 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
8557 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8558 mpfr_f_11.
8559 (func_calc_desc): Add mpfr_f_11 union field.
8560 (test_functions): Add sincos.
8561 (calc_generic_results): Handle mpfr_f_11.
8562 * sysdeps/i386/fpu/libm-test-ulps: Update.
8563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8564
83f5c32d
AS
85652013-12-19 Andreas Schwab <schwab@suse.de>
8566
8567 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
8568 CALL_MCOUNT.
8569 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8570 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
8571 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
8572
c688b419
JM
85732013-12-19 Joseph Myers <joseph@codesourcery.com>
8574
335ee092
JM
8575 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
8576 * sysdeps/i386/fpu/libm-test-ulps: Update.
8577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8578
f88acd39
JM
8579 [BZ #16293]
8580 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
8581 round-to-nearest mode when using frndint.
8582 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
8583 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8584 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8585 Likewise.
8586 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
8587 sinh test to fail.
8588 * math/auto-libm-test-out: Regenerated.
8589 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
8590 (TEST_COND_x86): Likewise.
8591 (expm1_tonearest_test_data): New array.
8592 (expm1_test_tonearest): New function.
8593 (expm1_towardzero_test_data): New array.
8594 (expm1_test_towardzero): New function.
8595 (expm1_downward_test_data): New array.
8596 (expm1_test_downward): New function.
8597 (expm1_upward_test_data): New array.
8598 (expm1_test_upward): New function.
8599 (main): Run the new test functions.
8600 * sysdeps/i386/fpu/libm-test-ulps: Update.
8601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8602
c688b419
JM
8603 * include/features.h: Update comment documenting feature test
8604 macros. Mention _DEFAULT_SOURCE in comment.
8605 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
8606 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
8607 _BSD_SOURCE and _SVID_SOURCE.
8608 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
8609 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
8610 !_SVID_SOURCE]: Likewise.
8611 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8612 (__USE_POSIX_IMPLICITLY): Define.
8613 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8614 (_POSIX_SOURCE): Undefine and redefine.
8615 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8616 (_POSIX_C_SOURCE): Likewise.
8617 * manual/creature.texi (_DEFAULT_SOURCE): Document.
8618 (Feature Test Macros): Update documentation of default features.
8619
9f6e964c
RS
86202013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8621
8622 * benchtests/Makefile: Add bench-strtok.
8623 * benchtests/bench-strtok.c: New file: strtok benchtest.
8624
ee0a148a
AM
86252013-12-19 Allan McRae <allan@archlinux.org>
8626
8627 * manual/install.texi: Suppress menu for plain text output.
8628 * INSTALL: Regenerated.
8629
b9ab448f
BM
86302013-12-18 Brooks Moses <bmoses@google.com>
8631
8632 [BZ #15846]
8633 * misc/getauxval.c: Include errno.h.
8634 (__getauxval): Set errno to ENOENT if the requested type is not
8635 found.
8636 * misc/sys/auxv.h (getauxval): Document that it may set errno;
8637 don't declare with __attribute_const__.
8638 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
8639 * manual/startup.texi: Document that getauxval sets errno.
8640
23776487
JM
86412013-12-18 Joseph Myers <joseph@codesourcery.com>
8642
f889953b
JM
8643 * math/auto-libm-test-in: Add tests of jn and yn.
8644 * math/auto-libm-test-out: Regenerated.
8645 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
8646 (yn_test_data): Likewise.
8647 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8648 mpfr_if_f.
8649 (func_calc_desc): Add mpfr_if_f union field.
8650 (FUNC_mpfr_if_f): New macro.
8651 (test_functions): Add jn and yn.
8652 (calc_generic_results): Assert type of second input for
8653 mpfr_ff_f. Handle mpfr_if_f.
8654 (output_for_one_input_case): Disable all checking for arguments
8655 fitting floating-point types in case of an integer argument.
8656 * sysdeps/i386/fpu/libm-test-ulps: Update.
8657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8658
23776487
JM
8659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8660 Don't expect fegetround reference in libm.so.
8661
cb756c6d
MS
86622013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8663
8664 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
8665 $(config-cflags-nofma).
8666
2dec468f
JM
86672013-12-18 Joseph Myers <joseph@codesourcery.com>
8668
5953eb3a
JM
8669 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
8670 * math/auto-libm-test-out: Regenerated.
8671
2dec468f
JM
8672 [BZ #16338]
8673 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
8674 to determine exponent and adjust argument to have exponent of -1.
8675 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8676 log2.
8677 * math/auto-libm-test-out: Regenerated.
8678 * sysdeps/i386/fpu/libm-test-ulps: Update.
8679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8680
4d84e6ad
OB
86812013-12-18 Ondřej Bílka <neleai@seznam.cz>
8682
8683 * manual/probes.texi: Remove cases when per-thread arenas are
8684 disabled.
8685
1818483b
AS
86862013-12-18 Andreas Schwab <schwab@suse.de>
8687
8688 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
8689 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
8690 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
8691 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
8692 * sysdeps/i386/i686/multiarch/Makefile: Update.
8693 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
8694
25de95bf
JM
86952013-12-17 Joseph Myers <joseph@codesourcery.com>
8696
8697 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
8698 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8699
674762d9
PE
87002013-12-17 Paul Eggert <eggert@cs.ucla.edu>
8701
ed27ed83 8702 [BZ #15968]
0748546f
PE
8703 Support TZ transition times < 00:00:00.
8704 This is needed for version-3 tz-format files; it supports time
8705 stamps past 2037 for America/Godthab (the only entry in the tz
8706 database for which this change is relevant).
8707 * manual/time.texi (TZ Variable): Document transition times
8708 from -167:59:59 through -00:00:01.
8709 * time/tzset.c (tz_rule): Time of day is now signed.
8710 (__tzset_parse_tz): Parse negative time of day.
8711
4480e934
PE
8712 Document TZ transition times >= 25:00:00.
8713 * manual/time.texi (TZ Variable): Document transition times from
8714 25:00:00 through 167:59:59. These are already supported, and this
8715 support will help with version-3 tz-format files.
8716
69947401
PE
8717 * manual/time.texi (TZ Variable): Modernize North America example
8718 to reflect current (i.e., 2007-and-later) daylight saving rules.
8719
674762d9
PE
8720 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
8721
7011c262
JM
87222013-12-17 Joseph Myers <joseph@codesourcery.com>
8723
2fc6557e
JM
8724 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
8725 * sysdeps/unix/bsd/bits/stat.h: Likewise.
8726 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
8727 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8728 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
8729 * sysdeps/unix/bsd/bsdstat.h: Likewise.
8730 * sysdeps/unix/bsd/clock.c: Likewise.
8731 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
8732 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
8733 * sysdeps/unix/bsd/init-posix.c: Likewise.
8734 * sysdeps/unix/bsd/poll.c: Likewise.
8735 * sysdeps/unix/bsd/ptsname.c: Likewise.
8736 * sysdeps/unix/bsd/seekdir.c: Likewise.
8737 * sysdeps/unix/bsd/setegid.c: Likewise.
8738 * sysdeps/unix/bsd/seteuid.c: Likewise.
8739 * sysdeps/unix/bsd/setgid.c: Likewise.
8740 * sysdeps/unix/bsd/setrgid.c: Likewise.
8741 * sysdeps/unix/bsd/setruid.c: Likewise.
8742 * sysdeps/unix/bsd/setsid.c: Likewise.
8743 * sysdeps/unix/bsd/setuid.c: Likewise.
8744 * sysdeps/unix/bsd/sigaction.c: Likewise.
8745 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
8746 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
8747 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8748 * sysdeps/unix/bsd/telldir.c: Likewise.
8749 * sysdeps/unix/bsd/times.c: Likewise.
8750 * sysdeps/unix/bsd/usleep.c: Likewise.
8751
029c7b25
JM
8752 * misc/Makefile (install-lib): Remove libbsd-compat.a.
8753 ($(objpfx)libbsd-compat.a): Remove rule.
8754
7011c262
JM
8755 * include/features.h (__FAVOR_BSD): Do not define.
8756 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
8757 features conflicting with POSIX.
8758 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
8759 (_BSD_SOURCE): Remove description of not being a subset of other
8760 feature test macros.
8761 * manual/job.texi (getpgrp): Do not document BSD version.
8762 (getpgid): Do not document by reference to BSD getpgrp.
8763 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
8764 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
8765 * signal/signal.h [__FAVOR_BSD]: Likewise.
8766 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
8767 instead of making contents conditional on [__FAVOR_BSD].
8768 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
8769
affb6f78
AZ
87702013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8771
8772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8773
c88769dd
JM
87742013-12-17 Joseph Myers <joseph@codesourcery.com>
8775
6432a540
JM
8776 [BZ #16314]
8777 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
8778 values below 2**-450, not 2**-500.
8779 * math/auto-libm-test-in: Don't allow spurious underflow from
8780 hypot.
8781 * math/auto-libm-test-out: Regenerated.
8782
c88769dd
JM
8783 [BZ #16316]
8784 [BZ #16330]
8785 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
8786 values of ha and hb and sort them after adjusting subnormal
8787 arguments.
8788 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8789 Likewise.
8790 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
8791 values of ea and eb and sort them after adjusting subnormal
8792 arguments.
8793 * math/auto-libm-test-in: Do not expect some hypot tests of
8794 subnormals to fail. Add more hypot tests.
8795 * math/auto-libm-test-out: Regenerated.
8796
29618f6b
KK
87972013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8798
8799 [BZ #13304]
8800 * sysdeps/sh/s_fma.c: New file.
8801 * sysdeps/sh/s_fmaf.c: New file.
8802 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
8803 version.
8804 * sysdeps/sh/Implies: Add sh/soft-fp.
8805
eacfdfbf
RM
88062013-12-16 Roland McGrath <roland@hack.frob.com>
8807
8808 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
8809 level of indirection to members `objname', `errstring', `malloced'.
8810 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
8811 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
8812 it as the __longjmp argument (just pass 1 instead).
8813 (_dl_catch_error): Initialize C with argument pointers and address of
8814 volatile local ERRCODE rather than copying values out of C at return.
8815
ff362e5b
JM
88162013-12-16 Joseph Myers <joseph@codesourcery.com>
8817
8818 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
8819 * math/auto-libm-test-out: Regenerated.
8820 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
8821 (hypot_test_data): Likewise.
8822 (pow_test_data): Likewise.
8823 (pow_tonearest_test_data): Likewise.
8824 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8825 mpfr_ff_f.
8826 (func_calc_desc): Add mpfr_ff_f union field.
8827 (FUNC_mpfr_ff_f): New macro.
8828 (test_functions): Add atan2, hypot and pow.
8829 (special_fill_min): New function.
8830 (special_fill_minus_min): Likewise.
8831 (special_fill_min_subnorm): Likewise.
8832 (special_fill_minus_min_subnorm): Likewise.
8833 (special_real_inputs): Add min, -min, min_subnorm and
8834 -min_subnorm.
8835 (calc_generic_results): Handle mpfr_ff_f.
8836 * sysdeps/i386/fpu/libm-test-ulps: Update.
8837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8838
5764c27f
WN
88392013-12-16 Will Newton <will.newton@linaro.org>
8840
8841 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
8842 (Aligned Memory Blocks): Add documentation for aligned_alloc
8843 and suggest it as an alternative to posix_memalign.
8844 (Hooks for Malloc): Document __memalign_hook is also called
8845 for aligned_alloc. (Summary of Malloc): Add summary for
8846 aligned alloc. Document __memalign_hook is also called
8847 for aligned_alloc.
8848
0a096e44
WN
88492013-12-16 Will Newton <will.newton@linaro.org>
8850
8851 * manual/memory.texi (Malloc Examples): Clarify default
8852 alignment documentation. Suggest posix_memalign rather
8853 than memalign or valloc.
8854 (Aligned Memory Blocks): Remove suggestion to use memalign
8855 or valloc. Remove obsolete comment about BSD.
8856 Document memalign errno values and mark the function obsolete.
8857 Document posix_memalign returned error codes. Mark valloc
8858 as obsolete. (Hooks for Malloc): __memalign_hook is also
8859 called for posix_memalign and valloc.
8860 (Summary of Malloc): Add posix_memalign to function summary.
8861 __memalign_hook is also called for posix_memalign and valloc.
8862
8d561986
SP
88632013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8864
8865 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
8866 TAYLOR_SIN.
8867 (__sin): Adjust.
8868 (__cos): Likewise.
8869 (sloww): Use mynumber union. Expand ternary operator into
8870 if-else statements.
8871 (cslow): use mynumber union.
8872
73616a74
AM
88732013-12-16 Allan McRae <allan@archlinux.org>
8874
9e8ac24b
AM
8875 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
8876 * configure: Regenerated.
8877
6f8e37eb
AM
8878 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
8879
8894bad3
AM
8880 [BZ #14120]
8881 * configure.ac: Added --enable-maintainer-mode. Check for
8882 autoconf when enabled.
8883 * configure: Regenerated.
8884
73616a74
AM
8885 * nscd/nscd.service: New file.
8886 * nscd/nscd.tmpfiles: New file.
8887
584b18eb
OB
88882013-12-14 Ondřej Bílka <neleai@seznam.cz>
8889
8890 [BZ #12100]
8891 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
8892 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
8893 * sysdeps/x86_64/multiarch/strstr.c: ... here.
8894 (strstr): Add __strstr_sse2_unaligned ifunc.
8895 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
8896 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
8897 (strcasestr): Remove __strcasestr_sse42 ifunc.
8898 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
8899 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8900 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8901
8a5c7897
KK
89022013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8903
8904 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
8905 * sysdeps/sh/bits/fenv.h: ... here.
8906 * sysdeps/sh/sh4/fpu/bits: Remove directory.
8907
fd712ef3
AZ
89082013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8909
8910 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
8911
42fcb46c
AZ
8912 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
8913 hypotf multiarch implementations.
8914 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
8915 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
8916 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
8917 multiarch hypot for PPC64.
8918 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
8919 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
8920 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
8921 multiarch hypotf for PPC64.
8922
83efded4
AZ
8923 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
8924 modff multiarch implementations.
8925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
8926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
8927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
8928 multiarch modf for PPC64.
8929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
8930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
8931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
8932 multiarch modff for PPC64.
8933
43e246d2
AZ
8934 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
8935 and logl multiarch implementations.
8936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
8937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
8938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
8939 multiarch logb for PPC64.
8940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
8941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
8942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
8943 multiarch logb for PPC64.
8944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
8945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
8946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
8947 multiarch logb for PPC64.
8948
8fdad123
AZ
8949 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
8950 isinff multiarch implementation.
8951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
8952 file.
8953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
8954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
8955 multiarch isinf for PPC64.
8956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
8957 file.
8958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
8959 multiarch isinff for PPC64.
8960
1481d706
AZ
8961 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
8962 finitef multiarch implementation.
8963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
8964 file.
8965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
8966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
8967 multiarch finite for PPC64.
8968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
8969 file.
8970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
8971 multiarch finitef for PPC64.
8972
5ccd5fc8
AZ
8973 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
8974 lrint multiarch implementation.
8975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
8976 file.
8977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
8978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
8979 multiarch llrint for PPC64.
8980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
8981 multiarch lrint for PPC64.
8982
2568f3fa
AZ
8983 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
8984 copysignf multiarch implementation.
8985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
8986 file.
8987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
8988 file.
8989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
8990 multiarch copysign for PPC64.
8991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
8992 multiarch copysignf for PPC64.
8993
1cb341fd
AZ
8994 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
8995 multiarch implementation.
8996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
8997 file.
8998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
8999 file.
9000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9001 file.
9002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9003 file.
9004 multiarch llround for PPC64.
9005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9006 multiarch trunc for PPC64.
9007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9008 multiarch truncf for PPC64.
9009
59a3e194
AZ
9010 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9011 multiarch implementation.
9012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9013 file.
9014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9015 file.
9016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9017 file.
9018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9019 file.
9020 multiarch llround for PPC64.
9021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9022 multiarch round for PPC64.
9023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9024 multiarch roundf for PPC64.
9025
357fd3b4
AZ
9026 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9027 multiarch implementation.
9028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9029 file.
9030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9031 file.
9032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9033 file.
9034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9035 file.
9036 multiarch llround for PPC64.
9037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9038 multiarch floor for PPC64.
9039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9040 multiarch floorf for PPC64.
9041
96770f12
AZ
9042 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9043 multiarch implementation.
9044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9045 file.
9046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9047 file.
9048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9049 file.
9050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9051 file.
9052 multiarch llround for PPC64.
9053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9054 multiarch ceil for PPC64.
9055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9056 multiarch ceilf for PPC64.
9057
c3627f6e
AZ
9058 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9059 multiarch implementation.
9060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9061 file.
9062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9063 file.
9064 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9065 file.
9066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9067 multiarch llround for PPC64.
9068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9069 multiarch lround for PPC64.
9070
b2284ad7
AZ
9071 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9072 multiarch implementation.
9073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9076 file.
9077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9080 multiarch isnan for PPC64.
9081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9082 multiarch isnanf for PPC64.
9083
69bbc63d
AZ
9084 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9085 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9086 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9087 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9088 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9090
c24517c9
AZ
9091 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9092 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9093 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9094 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9095
a52374e8
AZ
9096 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9097 multiarch implementations.
9098 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9099 (__libc_ifunc_impl_list): Likewise.
9100 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9101 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9102 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9103 multiarch stpcpy for PPC64.
9104
7f5ec113
AZ
9105 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9106 multiarch implementations.
9107 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9108 (__libc_ifunc_impl_list): Likewise.
9109 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9110 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9111 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9112 multiarch strcpy for PPC64.
9113
e28bcd42
AZ
9114 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9115 redefine function name.
9116 (_wordcopy_fwd_dest_aligned): Likewise.
9117 (_wordcopy_bwd_aligned): Likewise.
9118 (_wordcopy_bwd_dest_aligned): Likewise.
9119 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9120 multiarch implementations.
9121 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9122 (__libc_ifunc_impl_list): Likewise.
9123 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9124 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9125 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9126 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9127 multiarch wcscpy for PPC64.
9128
92cacfce
AZ
9129 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9130 multiarch implementations.
9131 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9132 (__libc_ifunc_impl_list): Likewise.
9133 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9134 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9135 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9136 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9137 multiarch wcscpy for PPC64.
9138
7b714620
AZ
9139 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9140 multiarch implementations.
9141 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9142 (__libc_ifunc_impl_list): Likewise.
9143 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9144 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9145 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9146 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9147 multiarch wcsrchr for PPC64.
9148
16fd2ae3
AZ
9149 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9150 multiarch implementations.
9151 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9152 (__libc_ifunc_impl_list): Likewise.
9153 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9154 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9155 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9156 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9157 multiarch wcschr for PPC64.
9158
9ee2969b
AZ
9159 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9160 multiarch implementations.
9161 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9162 (__libc_ifunc_impl_list): Likewise.
9163 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9164 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9165 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9166 multiarch strchrnul for PPC64.
9167
372dc060
AZ
9168 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9169 implementations.
9170 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9171 (__libc_ifunc_impl_list): Likewise.
9172 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9173 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9174 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9175 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9176 strchr for PPC64.
9177
24c2c3b9
AZ
9178 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9179 implementations.
9180 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9181 (__libc_ifunc_impl_list): Likewise.
9182 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9183 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9184 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9185 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9186 strncmp for PPC64.
9187
1c92d9a0
AZ
9188 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9189 multiarch implementations.
9190 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9191 (__libc_ifunc_impl_list): Likewise.
9192 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9193 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9194 strncasecmp for PPC64.
9195 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9196 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9197 multiarch strncasecmp_l for PPC64.
9198
17de3ee3
AZ
9199 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9200 multiarch implementations.
9201 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9202 (__libc_ifunc_impl_list): Likewise.
9203 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9204 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9205 multiarch strcasecmp for PPC64.
9206 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9207 file.
9208 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9209 multiarch strcasecmp_l for PPC64.
9210
62982bf9
AZ
9211 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9212 implementations.
9213 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9214 (__libc_ifunc_impl_list): Likewise.
9215 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9216 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9217 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9218 strnlen for PPC64.
9219
a65f4904
AZ
9220 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9221 implementations.
9222 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9223 (__libc_ifunc_impl_list): Likewise.
9224 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9225 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9226 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9227 strlen for PPC64.
9228
1fd005ad
AZ
9229 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9230 implementations.
9231 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9232 (__libc_ifunc_impl_list): Likewise.
9233 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9234 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9235 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9236 rawmemrchr for PPC64.
9237
cd05ba91
AZ
9238 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9239 implementation.
9240 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9241 (__libc_ifunc_impl_list): Likewise.
9242 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9243 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9244 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9245 memrchr for PPC64.
9246
870f8676
AZ
9247 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9248 implementation.
9249 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9250 (__libc_ifunc_impl_list): Likewise.
9251 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9252 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9253 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9254 memchr for PPC64.
9255
f00be62b
AZ
9256 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9257 implementation.
9258 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9259 (__libc_ifunc_impl_list): Likewise.
9260 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9261 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9262 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9263 mempcpy for PPC64.
9264
8a29a3d0
AZ
9265 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9266 avoid cretion of __bzero symbol.
9267 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9268 Likewise.
9269 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9270 Likewise.
9271 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9272 Likewise.
9273 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9274 multiarch implementations.
9275 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9276 (__libc_ifunc_impl_list): Likewise.
9277 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9278 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9279 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9280 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9281 bzero for PPC32.
9282 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9283 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9284 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9285 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9286 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9287 memset for PPC64.
9288 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9289
07253fcf
AZ
9290 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9291 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9292 implementations.
9293 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9294 (__libc_ifunc_impl_list): Likewise.
9295 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9296 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9297 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9298 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9299 memcmp for PPC64.
9300
b5beafbc
AZ
9301 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9302 multiarch for POWER/PPC64.
9303 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9304 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9305 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9306 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9307 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9308 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9309 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9310 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9311 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9312 memcpy for PPC64.
9313
5e6a4d4b
AZ
9314 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9315 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9316 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9317 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9318 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9319 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9320 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9321 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9322 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9323 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9324 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9325 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9326 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9327 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9328 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9336
ddfab6dc
KK
93372013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9338
9339 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9340
19b5525e
SP
93412013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9342
9343 * benchtests/Makefile (bench): Add exp2 and log2.
9344 (LDLIBS-bench-exp2): Add -lm.
9345 (LDLIBS-bench-log2): Likewise.
9346 * benchtests/exp2-inputs: New inputs file.
9347 * benchtests/log2-inputs: New inputs file.
9348 * benchtests/log-inputs: Add new inputs.
9349 * benchtests/tan-inputs: Likewise.
9350
196f7f5d
SP
93512013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9352
7a74607f
SP
9353 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9354 definition...
57f41c40
AS
9355 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9356 (csloww2): ... from here.
7a74607f 9357
196f7f5d
SP
9358 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9359 instead of structures.
9360 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9361 (POLYNOMIAL): Likewise.
9362 (TAYLOR_SLOW): Likewise.
9363 (__sin): Likewise.
9364 (__cos): Likewise.
9365 (slow1): Likewise.
9366 (slow2): Likewise.
9367 (sloww): Likewise.
9368 (sloww1); Likewise.
9369 (sloww2): Likewise.
9370 (bsloww1): Likewise.
9371 (bsloww2): Likewise.
9372 (cslow2): Likewise.
9373 (csloww): Likewise.
9374 (csloww1): Likewise.
9375 (csloww2): Likewise.
9376
0dfa665c
OB
93772013-12-10 Ondřej Bílka <neleai@seznam.cz>
9378
9379 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
9380 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9381 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
9382 * malloc/hooks.c (realloc_check): Likewise.
9383
5782a80f
OB
9384 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9385 * malloc/arena.c: Remove PER_THREAD conditional.
9386 [!PER_THREAD]: Remove code.
9387 (ptmalloc_unlock_all2): Likewise.
9388 (ptmalloc_init): Likewise.
9389 (_int_new_arena): Likewise.
9390 (arena_get2): Likewise.
9391 * malloc/hooks.c (__malloc_get_state): Likewise.
9392 (__malloc_set_state): Likewise.
9393 * malloc/malloc.c: Likewise.
9394 (struct malloc_state): Likewise.
9395 (struct malloc_par): Likewise.
9396 (__libc_realloc): Likewise.
9397 (__libc_mallopt): Likewise.
9398
aeb95445
AZ
93992013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9400
9401 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9402
e8349efd
OB
94032013-12-09 Ondřej Bílka <neleai@seznam.cz>
9404
9405 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9406 macro to a function. Check for zero perturb_byte.
9407 (_int_malloc, _int_free): Remove zero perturb_byte checks.
9408
f3eeb3fc 9409 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
9410 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9411 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
9412 force_reg by atomic_forced_read.
9413 * malloc/arena.c (ptmalloc_init): Likewise.
9414 * malloc/hooks.c (top_check): Likewise.
9415
be2f9009
AZ
94162013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9417
9418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9419
e7b914bd
MT
94202013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
9421
9422 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9423
9f0be4f8
JM
94242013-12-08 Joseph Myers <joseph@codesourcery.com>
9425
9426 * math/auto-libm-test-in: Add tests of lgamma.
9427 * math/auto-libm-test-out: Regenerated.
9428 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9429 (M_LOG_2_SQRT_PIl): Likewise.
9430 (lgamma_test_data): Use AUTO_TESTS_f_f1.
9431 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9432 mpfr_f_f1.
9433 (func_calc_desc): Add mpfr_f_f1 union field.
9434 (ARGS1): New macro.
9435 (ARGS2): Likewise.
9436 (ARGS3): Likewise.
9437 (ARGS4): Likewise.
9438 (RET1): Likewise.
9439 (RET2): Likewise.
9440 (CALC): Likewise.
9441 (FUNC): Likewise.
9442 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9443 (test_functions): Add lgamma.
9444 (calc_generic_results): Handle mpfr_f_f1.
9445 * sysdeps/i386/fpu/libm-test-ulps: Update.
9446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9447
24eeafdb
AZ
94482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9449
9450 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
9451 __mpn_add_n for PowerPC64/POWER7.
9452 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
9453 __mpn_sub_n for PowerPC64/POWER7.
9454
4a2c0fd4
AZ
9455 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
9456 __mpn_addmul_1 for PowerPC64.
9457 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
9458 __mpn_submul_1 for PowerPC64.
9459 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
9460 for PowerPC64.
9461 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
9462 for PowerPC64.
9463
4b5b548c
FS
94642013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
9465
9466 [BZ #15089]
9467 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
9468
0a3ac0aa
AZ
94692013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9470
9471 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
9472
ccdc8438
AZ
9473 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
9474 add multiarch folders.
9475 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
9476 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
9477 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
9478 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
9479 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
9480 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
9481 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
9482 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
9483 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
9484 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
9485 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
9486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
9487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
9488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
9489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
9490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
9491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
9492
2e973d99
AZ
9493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9494 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
9495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
9496 New file.
9497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
9498 New file.
9499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
9500 multiarch __ieee754_hypot for PowerPC32.
9501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
9502 New file.
9503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
9504 New file.
9505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
9506 multiarch __ieee754_hypotf for PowerPC32.
9507
2d9470b2
AZ
9508 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
9509 long_double_symbol only if __logbl is defined.
9510 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
9511 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
9512 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
9513 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
9514 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
9515 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
9516 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
9517 path for implementation.
9518 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
9519 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
9520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
9521 logb, and logbl multiarch implementations for PowerPC32.
9522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
9523 file.
9524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
9525 file.
9526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
9527 multiarch logb for PowerPC32.
9528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
9529 file.
9530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
9531 file.
9532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
9533 multiarch logbf for PowerPC32.
9534 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
9535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
9536 file.
9537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
9538 multiarch logbl implementation for PowerPC32.
9539
5212ffce
AZ
9540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
9541 and modff multiarch implementations.
9542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
9543 New file.
9544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
9545 New file.
9546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
9547 multiarch modf for PowerPC32.
9548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
9549 New file.
9550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
9551 New file.
9552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
9553 multiarch modff for PowerPC32.
9554
79dccf31
AZ
9555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
9556 and lrintf multiarch implementations.
9557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
9558 New file.
9559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
9560 New file.
9561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
9562 multiarch lrint for PowerPC32.
9563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
9564 file: multiarch lrintf for PowerPC32.
9565
deb66480
AZ
9566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
9567 and lroundf multiarch implementations.
9568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
9569 New file.
9570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
9571 New file.
9572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
9573 New file.
9574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
9575 multiarch lround for PowerPC32.
9576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
9577 file: multiarch lroundf for PowerPC32.
9578
264b036b
AZ
9579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9580 copysign and copysignf multiarch implementations.
9581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
9582 New file.
9583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
9584 New file.
9585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
9586 file: multiarch copysign for PowerPC32.
9587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
9588 file: multiarch copysignf for PowerPC32.
9589
d47db6c9
AZ
9590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
9591 and truncf multiarch implementations.
9592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
9593 New file.
9594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
9595 file.
9596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
9597 multiarch trunc for PowerPC32.
9598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
9599 New file.
9600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
9601 New file.
9602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
9603 multiarch truncf for PowerPC32.
9604
ddb60b5a
AZ
9605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
9606 and roundf multiarch implementations.
9607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
9608 New file.
9609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
9610 file.
9611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
9612 multiarch round for PowerPC32.
9613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
9614 New file.
9615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
9616 New file.
9617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
9618 multiarch roundf for PowerPC32.
9619
bedcf49b
AZ
9620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
9621 and floorf multiarch implementations.
9622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
9623 New file.
9624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
9625 file.
9626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
9627 multiarch floor for PowerPC32.
9628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
9629 New file.
9630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
9631 New file.
9632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
9633 multiarch floorf for PowerPC32.
9634
35ae5b40
AZ
9635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
9636 and ceilf multiarch implementations.
9637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
9638 New file.
9639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
9640 file.
9641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
9642 multiarch ceil for PowerPC32.
9643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
9644 New file.
9645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
9646 file.
9647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
9648 multiarch ceilf for PowerPC32.
9649
ae1a4cd9
AZ
9650 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
9651 is defined.
9652 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
9653 FINITEF is defined.
9654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
9655 and finitef multiarch implementations.
9656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
9657 New file.
9658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
9659 file.
9660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
9661 multiarch finite for PowerPC32.
9662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
9663 New file.
9664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
9665 file: multiarch finitef for PowerPC32.
9666
64fffd65
AZ
9667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
9668 and isinff multiarch implementations.
9669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
9670 file.
9671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
9672 file.
9673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
9674 multiarch isinf for PowerPC32.
9675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
9676 New file.
9677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
9678 multiarch isinff for PowerPC32.
9679
8e4e7ba2
AZ
9680 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
9681 alias when __isnan is defined.
9682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
9683 and isnanf multiarch implementations.
9684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
9685 file.
9686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
9687 file.
9688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
9689 file.
9690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
9691 file.
9692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
9693 multiarch isnan for PowerPC32.
9694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
9695 New file.
9696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
9697 New file.
9698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
9699 multiarch isnanf for PowerPC32.
9700
ddba588e
AZ
9701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
9702 and sqrtf multiarch implementations.
9703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
9704 file.
9705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
9706 file.
9707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
9708 multiarch sqrt for PowerPC32.
9709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
9710 file.
9711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
9712 file.
9713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
9714 multiarch sqrtf for PowerPC32.
9715
0f96a2f0
AZ
9716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
9717 and llroundf multiarch implementations.
9718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
9719 New file.
9720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
9721 New file.
9722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
9723 New file.
9724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
9725 file: multiarch llround for PowerPC32.
9726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
9727 file: multiarch llroundf for PowerPC32.
9728
c9b5d79e
AZ
9729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
9730 multiarch PowerPC32 fpu implementations.
9731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
9732 New file.
9733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
9734 New file.
9735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
9736 multiarch llrint for PowerPC32.
9737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
9738 New file.
9739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
9740 New file.
9741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
9742 file.
9743
9cbb3aab
AZ
9744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
9745
ea5a72f8
AZ
9746 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
9747 file.
9748 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
9749 file.
9750 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
9751 file.
9752 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
9753 multiarch wordcopy for PPC32.
9754 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9755 wordcopy objects.
9756 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9757 (__libc_ifunc_impl_list): Likewise.
9758 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
9759 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
9760 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
9761 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
9762 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
9763 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
9764
93be09e7
AZ
9765 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
9766 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
9767 file.
9768 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
9769 file.
9770 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
9771 file.
9772 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
9773 multiarch wcscpy for PPC32.
9774 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9775 multiarch objects.
9776 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9777 (__libc_ifunc_impl_list): Likewise.
9778 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9779 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9780 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
9781 sysdeps/powerpc/power6/wcscpy.c.
9782
bb04e529
AZ
9783 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
9784 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
9785 file.
9786 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
9787 file.
9788 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
9789 file.
9790 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
9791 multiarch wcsrchr for PPC32.
9792 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9793 multiarch objects.
9794 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9795 (__libc_ifunc_impl_list): Likewise.
9796 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9797 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9798 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
9799 sysdeps/powerpc/power6/wcsrchr.c.
9800
05b5cd1c
AZ
9801 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
9802 file.
9803 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
9804 file.
9805 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
9806 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
9807 multiarch wcschr for PPc32.
9808 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9809 multiarch objects.
9810 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9811 (__libc_ifunc_impl_list): Likewise.
9812 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
9813 * sysdeps/powerpc/power6/wcschr.c: ... to here.
9814 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
9815 sysdeps/powerpc/power6/wcschr.c.
9816
ba964147
AZ
9817 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
9818 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
9819 file.
9820 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
9821 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
9822 file: multiarch strchr for PPC32.
9823 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
9824 multiarch objects.
9825 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9826 (__libc_ifunc_impl_list): Likewise.
9827
31c81aaa
AZ
9828 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
9829 name.
9830 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
9831 file.
9832 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
9833 file.
9834 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
9835 multiarch strchrnul for PPC32.
9836 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
9837 multiarch objects.
9838 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9839 (__libc_ifunc_impl_list): Likewise.
9840
0d0607d9
AZ
9841 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
9842 file.
9843 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
9844 multiarch strncasecmp for PPC32.
9845 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
9846 file.
9847 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
9848 multiarch strncasecmp_l for PPC32.
9849 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
9850 strncasecmp multiarch objects.
9851 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9852 (__libc_ifunc_impl_list): Likewise.
9853
4dfd5c86
AZ
9854 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
9855 file.
9856 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
9857 multiarch strncasecmp for PPC32.
9858 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9859 New file.
9860 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
9861 multiarch strcasecmp_l for PPC32.
9862 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
9863 multiarch objects.
9864 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9865 (__libc_ifunc_impl_list): Likewise.
9866
a19e01a3
AZ
9867 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
9868 file.
9869 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
9870 file.
9871 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
9872 multiarch strncmp for PPC32.
9873 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
9874 multiarch objects.
9875 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9876 (__libc_ifunc_impl_list): Likewise.
9877
ae9cf7a2
AZ
9878 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
9879 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
9880 file.
9881 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
9882 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
9883 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
9884 multiarch objects.
9885 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9886 (__libc_ifunc_impl_list): Likewise.
9887
3148bb7d
AZ
9888 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
9889 file.
9890 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
9891 file.
9892 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
9893 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
9894 multiarch objects.
9895 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9896 (__libc_ifunc_impl_list): Likewise.
9897
7af8b946
AZ
9898 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
9899 file.
9900 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
9901 file.
9902 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
9903 multiarch rawmemchr for PPC32.
9904 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
9905 multiarch objects.
9906 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9907 (__libc_ifunc_impl_list): Likewise.
9908
03a6aa6a
AZ
9909 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
9910 file.
9911 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
9912 file.
9913 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
9914 file: memrchr multiarch for PPC32.
9915 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
9916 multiarch objects.
9917 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9918 (__libc_ifunc_impl_list): Likewise.
9919
1c62e6d9
AZ
9920 * string/memchr.c (__memchr): Using macro to redefine symbol name.
9921 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
9922 file.
9923 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
9924 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
9925 multiarch memchr for PPC32.
9926 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
9927 multiarch objects.
9928 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9929 (__libc_ifunc_impl_list): Likewise.
9930
87da8bdb
AZ
9931 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
9932 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
9933 file.
9934 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
9935 file.
9936 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
9937 file: multiarch mempcpy for PPC32.
9938 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
9939 multiarch objects.
9940 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9941 (__libc_ifunc_impl_list): Likewise.
9942
20ed4714
AZ
9943 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
9944 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
9945 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
9946 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
9947 multiarch bzero for PPC32.
9948 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
9949 file.
9950 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
9951 file.
9952 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
9953 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
9954 file: multiarch memset for PPC32.
9955 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
9956 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
9957 memset multiarch objects.
9958 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9959 (__libc_ifunc_impl_list): Likewise.
9960
ab3e3a46
AZ
9961 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
9962 file.
9963 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
9964 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
9965 memcmp for PPC32.
9966 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
9967 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
9968 multiarch objects.
9969 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9970 (__libc_ifunc_impl_list): Likewise.
9971
930de6f0
AZ
9972 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
9973 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
9974 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
9975 file.
9976 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
9977 file.
9978 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
9979 file.
9980 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
9981 multiarch memcpy for PPC32.
9982 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
9983 multiarch objects.
9984 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9985 (__libc_ifunc_impl_list): Likewise.
9986
4c628e00
AZ
9987 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
9988 support multiarch for POWER/PPC32.
9989 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
9990 Likewise.
9991 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
9993 Implies file to make multiarch folder appers before the fpu and
9994 default folder for power4 configuration.
9995
f4479220
SP
99962013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9997
9998 * scripts/bench.pl: Append volatile keyword to type.
9999
8517800f
KK
100002013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10001
10002 * sysdeps/sh/sotruss-lib.c: New file.
10003 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10004
180138f1
AZ
100052013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10006
10007 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10008
bbf37bdc
JM
100092013-12-05 Joseph Myers <joseph@codesourcery.com>
10010
e47cc4e0
JM
10011 [BZ #6810]
10012 * math/w_tgamma.c: Include <errno.h>.
10013 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
10014 * math/w_tgammaf.c: Include <errno.h>.
10015 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
10016 * math/w_tgammal.c: Include <errno.h>.
10017 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
10018 * math/auto-libm-test-in: Do not allow missing errno on tgamma
10019 underflow. Add more tgamma tests.
10020 * math/auto-libm-test-out: Regenerated.
10021 * sysdeps/i386/fpu/libm-test-ulps: Update.
10022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10023
bbf37bdc
JM
10024 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10025 sin, sinh, tan, tanh, tgamma, y0 and y1.
10026 * math/auto-libm-test-out: Regenerated.
10027 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10028 (TEST_COND_x86): Likewise.
10029 (M_E2l): Remove macro.
10030 (M_E3l): Likewise.
10031 (M_2_SQRT_PIl): Likewise.
10032 (M_SQRT_PIl): Likewise.
10033 (M_1_DIV_El): Likewise.
10034 (log_test_data): Use AUTO_TESTS_f_f.
10035 (log10_test_data): Likewise.
10036 (log1p_test_data): Likewise.
10037 (log2_test_data): Likewise.
10038 (sin_test_data): Likewise.
10039 (sin_tonearest_test_data): Likewise.
10040 (sin_towardzero_test_data): Likewise.
10041 (sin_downward_test_data): Likewise.
10042 (sin_upward_test_data): Likewise.
10043 (sinh_test_data): Likewise.
10044 (sinh_tonearest_test_data): Likewise.
10045 (sinh_towardzero_test_data): Likewise.
10046 (sinh_downward_test_data): Likewise.
10047 (sinh_upward_test_data): Likewise.
10048 (tan_test_data): Likewise.
10049 (tan_tonearest_test_data): Likewise.
10050 (tan_towardzero_test_data): Likewise.
10051 (tan_downward_test_data): Likewise.
10052 (tan_upward_test_data): Likewise.
10053 (tanh_test_data): Likewise.
10054 (tgamma_test_data): Likewise.
10055 (y0_test_data): Likewise.
10056 (y1_test_data): Likewise.
10057 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10058 (special_real_inputs): Add pi/4.
10059 * sysdeps/i386/fpu/libm-test-ulps: Update.
10060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10061
eb5ad6b9
AZ
100622013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10063
10064 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10065 "longjmp_target" static probes.
10066 (__longjmp): Rename to __longjmp_symbol.
10067 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10068 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10069 on which longjmp to generate.
10070 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10071 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10072 probe.
10073 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10074 (__sigjmp_save): Rename to __sigjmp_save_symbol.
10075 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10076 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10077 and __sigjmp_save_symbol based on which sigsetjmp to generated.
10078 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10080 __longjmp_symbol based on which __longjmp to generate.
10081 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10082 probe.
10083 (setjmp): Rename to setjmp_symbol.
10084 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10085 (_setjmp): Rename to _setjmp_symbol.
10086 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10087 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10088 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10089 which setjmp to generate.
10090 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10091 "longjmp_target" static probes.
10092
d136c6dc
SP
100932013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10094
9298ecba
SP
10095 * benchtests/README: Add note about output arguments.
10096 * benchtests/bench-sincos.c: Remove file.
10097 * benchtests/sincos-inputs: New file.
10098 * scripts/bench.pl: Identify output arguments and define
10099 static variables for them.
10100
232983e9
SP
10101 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10102
d136c6dc
SP
10103 [BZ #15941]
10104 * Makefile (INSTALL): Add install-plain.texi as the primary
10105 dependency.
10106 * manual/install-plain.texi: New file.
10107 * manual/install.texi: Include node directive only for
10108 non-plaintext output.
10109
699ff837
JM
101102013-12-04 Joseph Myers <joseph@codesourcery.com>
10111
ab07cea8
JM
10112 * stdlib/longlong.h: Update from GCC.
10113
699ff837
JM
10114 [BZ #6807]
10115 [BZ #15901]
10116 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10117 * math/w_j0f.c (y0f): Likewise.
10118 * math/w_j0l.c (__y0l): Likewise.
10119 * math/w_j1.c (y1): Likewise.
10120 * math/w_j1f.c (y1f): Likewise.
10121 * math/w_j1l.c (__y1l): Likewise
10122 * math/w_jn.c (yn): Likewise.
10123 * math/w_jnf.c (ynf): Likewise.
10124 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10125 Bessel function pole errors in _POSIX_ mode. Use NAN as return
10126 value for Bessel function domain errors outside _SVID_ mode.
10127 Adjust sign of return value for yn (negative integer, 0).
10128 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10129 by zero in return for negative x and set sign appropriately for
10130 negative n.
10131 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10132 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10133 * math/libm-test.inc (y0_test_data): Add more tests and adjust
10134 expectations in error cases.
10135 (y1_test_data): Likewise.
10136 (yn_test_data): Likewise.
10137 * sysdeps/i386/fpu/libm-test-ulps: Update.
10138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10139
5b118558
UW
101402013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10141
10142 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10143 "64" to "64-v1". Add "64-v2".
10144 (abi-64-options): Rename to ...
10145 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
10146 (abi-64-condition): Rename to ...
10147 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
10148 (abi-64-ld-soname): Rename to ...
10149 (abi-64-v1-ld-soname): ... this.
10150 (abi-64-v2-options): Define.
10151 (abi-64-v2-condition): Likewise.
10152 (abi-64-v2-ld-soname): Likewise.
10153 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10154 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10158
61cd8fe4
UW
101592013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10160 Alan Modra <amodra@gmail.com>
10161
10162 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10163 New versions for use with the ELFv2 ABI.
10164 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10165 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10166 declaration.
10167 (struct La_ppc64v2_retval): Likewise.
10168 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10169 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10170 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10171 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10172 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10173 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10174 Do not save or restore CR.
10175 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10176 (_dl_profile_resolve): Do no save or restore CR. Support extended
10177 return values for ELFv2 ABI. Fix location of FPR return registers.
10178 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10179 updated values for _CALL_ELF == 2.
10180 (La_regs, La_retval, int_retval): Likewise.
10181
8b8a692c
UW
101822013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10183
10184 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10185 (FRAME_MIN_SIZE_PARM): Likewise.
10186 (FRAME_BACKCHAIN): Likewise.
10187 (FRAME_CR_SAVE): Likewise.
10188 (FRAME_LR_SAVE): Likewise.
10189 (FRAME_TOC_SAVE): Likewise.
10190 (FRAME_PARM_SAVE): Likewise.
10191 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10192 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10193 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10194 (call_mcount_parm_offset): New macro.
10195 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10196 (PROF): Use symbolic stack frame offsets.
10197 (TAIL_CALL_SYSCALL_ERROR): Likewise.
10198 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10199 Redefine in terms of FRAME_MIN_SIZE.
10200 (_dl_runtime_resolve): Use symbolic stack frame offsets.
10201 (_dl_profile_resolve): Likewise. Update comment.
10202 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10203 symbols stack frame offsets.
10204 (__sigsetjmp): Likewise.
10205 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10206 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10207 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10208 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10209
10210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10211 (FRAME_BACKCHAIN): Remove.
10212 (FRAME_CR_SAVE): Likewise.
10213 (FRAME_LR_SAVE): Likewise.
10214 (FRAME_COMPILER_DW): Likewise.
10215 (FRAME_LINKER_DW): Likewise.
10216 (FRAME_TOC_SAVE): Likewise.
10217 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
10218 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10219 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10220 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
10221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10222 (CHECK_SP): Use symbolic stack frame offsets.
10223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10224 zone" instead of caller's parameter save area for temp storage.
10225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10226 Likewise. Also, use symbolic stack frame offsets.
10227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10228 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10229 our own stack frame instead of the caller's.
10230 (__socket): Use symbolic stack frame offsets.
10231
122b66de
UW
102322013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10233 Alan Modra <amodra@gmail.com>
10234
10235 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10236 Define.
57f41c40
AS
10237 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10238 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
10239 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10240 New function.
10241 (elf_machine_fixup_plt): Call it.
10242 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
10243 reloc arguments.
10244 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
10245 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10246 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
10247 r2 before calling target.
10248
696caf1d
UW
102492013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10250 Alan Modra <amodra@gmail.com>
10251
10252 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10253 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10254 versions of macros to support ELFv2 ABI.
10255 (LOCALENTRY): New macro.
10256 (ENTRY, EALIGN): Use it.
10257 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10258 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10259 fall through into ENTRY entry point.
10260 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10261 Only define if _CALL_ELF != 2.
10262
10263 (elf_machine_matches_host): Verify ABI version matches.
10264 (RTLD_START): Use LOCALENTRY.
10265 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10266 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10267 (PLT_ENTRY_WORDS): New macro.
10268 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10269 (elf_machine_runtime_setup): Support ELFv2 ABI.
10270 (elf_machine_fixup_plt): Likewise.
10271 (elf_machine_plt_conflict): Likewise.
10272 (resolve_ifunc): Likewise.
10273 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10274 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10275 Likewise.
10276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10277 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10279 (makecontext): Support ELFv2 ABI.
10280 * elf/elf.h (EF_PPC64_ABI): Define.
10281
d31beafa
UW
102822013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10283
57f41c40
AS
10284 * sysdeps/powerpc/powerpc64/sysdep.h
10285 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10286 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10287 (ENTRY) [ASSEMBLER]: ... but instead here ...
10288 (EALIGN) [ASSEMBLER]: ... and here.
10289 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10290 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10291 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
10292 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10293 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
10294 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10295 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
10296 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10298 Use PPC64_LOAD_FUNCPTR.
10299
b525166b
UW
10300 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10301
7ec07d9a
AM
103022013-12-04 Alan Modra <amodra@gmail.com>
10303
10304 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10305 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10306 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10307 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10308
10309 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10310 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10311 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10312 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10313 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10314 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10315
5162e7dd
UW
103162013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10317
10318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10319 (__makecontext): Fix incorrect CFI when backtracing out of
10320 context created via makecontext.
10321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10322 (__setcontext): Fix incorrect CFI during switch to new context.
10323 (__novec_setcontext): Likewise.
10324
19e3372b
OB
103252013-12-04 Ondřej Bílka <neleai@seznam.cz>
10326
10327 [BZ #4772]
10328 * time/strptime_l.c (__strptime_internal): Allow modifiers
10329 in strptime.
10330 * time/tst-strptime.c (day_tests): Add testcase.
10331
ecaf142d
SP
103322013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10333
10334 * scripts/bench.pl: Skip over blank lines.
10335
fbf964ae
PE
103362013-12-04 Paul Eggert <eggert@cs.ucla.edu>
10337
10338 [BZ #926]
10339 * manual/time.texi (Calendar Time): Clarify what timezone functions
10340 use.
10341
fa60a674
AZ
103422013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10343
10344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10345
d674f0ef
OB
103462013-12-04 Ondřej Bílka <neleai@seznam.cz>
10347
10348 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10349 implementation.
10350 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10351 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10352 * debug/memset_chk.c (__memset_chk): Likewise.
10353 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10354 * debug/strncpy_chk.c: Likewise.
10355
17dea188
JM
103562013-12-03 Joseph Myers <joseph@codesourcery.com>
10357
749008ff
JM
10358 [BZ #15268]
10359 [BZ #15425]
10360 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10361 (__ieee754_exp): For possibly underflowing results, check size of
10362 result and force underflow exception if required.
10363 * math/auto-libm-test-in: Add more tests of exp.
10364 * math/auto-libm-test-out: Regenerated.
10365 * sysdeps/i386/fpu/libm-test-ulps: Update.
10366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10367
17dea188
JM
10368 [BZ #16283]
10369 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10370 * math/w_exp2f.c (__exp2f): Likewise.
10371 * math/w_exp2l.c (__exp2l): Likewise.
10372 * math/auto-libm-test-in: Do not allow missing errno on exp2
10373 underflow.
10374 * math/auto-libm-test-out: Regenerated.
10375
b20de2c3
OB
103762013-12-03 Ondřej Bílka <neleai@seznam.cz>
10377
10378 [BZ #16274]
10379 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10380 handle filename validation.
10381 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10382 (do_open): Delete.
10383
d8e2dbe3
JM
103842013-12-03 Joseph Myers <joseph@codesourcery.com>
10385
34e16df5
JM
10386 [BZ #6786]
10387 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10388 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10389 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10390 <float.h>.
10391 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10392 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10393 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10394 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10395 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10396 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10397 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10398 * math/auto-libm-test-in: Don't allow missing errno from erfc.
10399 Add more erfc tests.
10400 * math/auto-libm-test-out: Regenerated.
10401 * sysdeps/i386/fpu/libm-test-ulps: Update.
10402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10403
d8e2dbe3
JM
10404 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10405 exp2, expm1, j0 and j1.
10406 * math/auto-libm-test-out: Regenerated.
10407 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10408 (erfc_test_data): Likewise.
10409 (exp_test_data): Likewise.
10410 (exp_tonearest_test_data): Likewise.
10411 (exp_towardzero_test_data): Likewise.
10412 (exp_downward_test_data): Likewise.
10413 (exp_upward_test_data): Likewise.
10414 (exp10_test_data): Likewise.
10415 (exp2_test_data): Likewise.
10416 (expm1_test_data): Likewise.
10417 (j0_test_data): Likewise.
10418 (j1_test_data): Likewise.
10419 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10420 (input_flag_type): Add flag_xfail_rounding.
10421 (input_flags): Add xfail-rounding.
10422 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10423 (output_for_one_input_case): Handle flag_xfail_rounding.
10424 * sysdeps/i386/fpu/libm-test-ulps: Update.
10425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10426
18d14251
AJ
104272013-12-03 Aurelien Jarno <aurelien@aurel32.net>
10428
3d2e6075 10429 [BZ #16289]
18d14251
AJ
10430 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10431 division by 0.
10432
520d437b
SP
104332013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10434
10435 [BZ #16195]
10436 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10437 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10438 (STAP_PROBE0): New macro.
10439 (STAP_PROBE1): Likewise.
10440 (STAP_PROBE2): Likewise.
10441 (STAP_PROBE3): Likewise.
10442 (STAP_PROBE4): Likewise.
10443
416e0145
OB
104442013-12-02 Ondřej Bílka <neleai@seznam.cz>
10445
10446 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
10447
9d17796a
SE
104482013-12-02 Steve Ellcey <sellcey@mips.com>
10449
10450 * benchtests/Makefile (bench): Add sqrt.
10451 (LDLIBS-bench-sqrt): New.
10452 * benchtests/sqrt-input: New.
10453
f524d6a8
PS
104542013-12-02 Pavel Simerda <psimerda@redhat.com>
10455
639a0ef8
PS
10456 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
10457 (GAIH_EAI): Likewise.
10458 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
10459 (gaih_inet): Likewise.
10460 (getaddrinfo): Don't use GAIH_EAI.
10461
f524d6a8
PS
10462 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
10463 (struct gaih): Remove definition.
10464
df3aedaf
SP
104652013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10466
10467 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
10468 Use HERRNOP directly.
10469
1ab19dec
AZ
104702013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10471
b42ad38d 10472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 10473
176b0c79
JM
104742013-11-30 Joseph Myers <joseph@codesourcery.com>
10475
10476 * math/gen-auto-libm-tests.c (test_functions): Add more
10477 single-argument functions.
10478 (special_fill_pi_2): New function.
10479 (special_fill_minus_pi_2): Likewise.
10480 (special_fill_pi_6): Likewise.
10481 (special_fill_minus_pi_6): Likewise.
10482 (special_fill_pi_3): Likewise.
10483 (special_fill_2pi_3): Likewise.
10484 (special_fill_e): Likewise.
10485 (special_fill_1_e): Likewise.
10486 (special_fill_e_minus_1): Likewise.
10487 (special_real_inputs): Add more special inputs.
10488 (output_for_one_input_case): Do not require ERANGE on underflow to
10489 zero if round-to-nearest result does not underflow to zero, unless
10490 exact results required.
10491 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
10492 atan, atanh, cbrt, cos and cosh.
10493 * math/auto-libm-test-out: Regenerated.
10494 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
10495 (acos_tonearest_test_data): Likewise.
10496 (acos_towardzero_test_data): Likewise.
10497 (acos_downward_test_data): Likewise.
10498 (acos_upward_test_data): Likewise.
10499 (acosh_test_data): Likewise.
10500 (asin_test_data): Likewise.
10501 (asin_tonearest_test_data): Likewise.
10502 (asin_towardzero_test_data): Likewise.
10503 (asin_upward_test_data): Likewise.
10504 (asinh_test_data): Likewise.
10505 (atan_test_data): Likewise.
10506 (atanh_test_data): Likewise.
10507 (cbrt_test_data): Likewise.
10508 (cos_test_data): Likewise.
10509 (cos_tonearest_test_data): Likewise.
10510 (cos_towardzero_test_data): Likewise.
10511 (cos_downward_test_data): Likewise.
10512 (cos_upward_test_data): Likewise.
10513 (cosh_test_data): Likewise.
10514 (cosh_tonearest_test_data): Likewise.
10515 (cosh_towardzero_test_data): Likewise.
10516 (cosh_downward_test_data): Likewise.
10517 (cosh_upward_test_data): Likewise.
10518 * sysdeps/i386/fpu/libm-test-ulps: Update.
10519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10520
ffb536d0
JM
105212013-11-29 Joseph Myers <joseph@codesourcery.com>
10522
2a77a467
JM
10523 [BZ #6787]
10524 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
10525 * math/w_exp10f.c (__exp10f): Likewise.
10526 * math/w_exp10l.c (__exp10l): Likewise.
10527 * math/libm-test.inc (exp10_test_data): Add more tests and expect
10528 errno settings in existing tests.
10529
ea3bc4e8
JM
10530 [BZ #14032]
10531 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
10532 precision control set to double precision.
10533 * sysdeps/i386/fpu/w_sqrt.c: New file.
10534 * math/auto-libm-test-in: Add more tests.
10535 * math/auto-libm-test-out: Update.
10536
0712c9d8
JM
10537 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
10538 (sqrt_test_tonearest): New function.
10539 (sqrt_towardzero_test_data): New variable.
10540 (sqrt_test_towardzero): New function.
10541 (sqrt_downward_test_data): New variable.
10542 (sqrt_test_downward): New function.
10543 (sqrt_upward_test_data): New variable.
10544 (sqrt_test_upward): New function.
10545 (main): Call the new functions.
10546
ffb536d0
JM
10547 * math/gen-auto-libm-tests.c: New file.
10548 * math/auto-libm-test-in: Likewise.
10549 * math/auto-libm-test-out: New generated file.
10550 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
10551 variables.
10552 (%beautify): Add generated representations of zero.
10553 (top level): Set $auto_input and call parse_auto_input.
10554 (beautify): Remove trailing "f" from hex float constants.
10555 (parse_args): Handle XFAIL_TEST.
10556 (convert_condition): New function.
10557 (or_value): Likewise.
10558 (or_cond_value): Likewise.
10559 (generate_testfile): Handle AUTO_TESTS_* lines.
10560 (parse_auto_input): New function.
10561 * math/libm-test.inc (XFAIL_TEST): New macro.
10562 (ERRNO_UNCHANGED): Update value.
10563 (ERRNO_EDOM): Likewise.
10564 (ERRNO_ERANGE): Likewise.
10565 (IGNORE_RESULT): Likewise.
10566 (TEST_COND_flt_32): New macro.
10567 (TEST_COND_dbl_64): Likewise.
10568 (TEST_COND_ldbl_96_intel): Likewise.
10569 (TEST_COND_ldbl_96_m68k): Likewise.
10570 (TEST_COND_ldbl_128): Likewise.
10571 (TEST_COND_ldbl_128ibm): Likewise.
10572 (TEST_COND_long32): Likewise.
10573 (TEST_COND_long64): Likewise.
10574 (TEST_COND_before_rounding): Likewise.
10575 (TEST_COND_after_rounding): Likewise.
10576 (enable_test): Handle XFAIL_TEST flag.
10577 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
10578 with finite results.
10579 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
10580 auto-libm-test-out.
10581
acd98a8e
AK
105822013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10583 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10584
10585 [BZ #16214]
10586 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
10587 __tls_get_addr_internal instead of __tls_get_offset in order to
10588 avoid GOT pointer dependency. Make rtld export
10589 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
10590 __tls_get_addr since we are a __tls_get_offset platform.
10591 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
10592 GOT pointer being set up before.
10593 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
10594
3c1c46a6
JM
105952013-11-28 Joseph Myers <joseph@codesourcery.com>
10596
7475aef5
JM
10597 * manual/math.texi (Errors in Math Functions): Document accuracy
10598 goals.
10599
8bca7cd8
JM
10600 [BZ #15004]
10601 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
10602 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
10603 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10604 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10605 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10606 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10607 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10608 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10609 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10610 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10611 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10612 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10613 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10614 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10615 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10616 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10617
91a1f3fe
JM
10618 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
10619 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
10620 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
10621 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
10622 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
10623 Likewise.
10624 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
10625 Likewise.
10626 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
10627 Likewise.
10628 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
10629 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10630 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
10631 atomic-feupdateenv and flt-rounds.
10632 * sysdeps/powerpc/nofpu/Versions (libc): Add
10633 __atomic_feholdexcept, __atomic_feclearexcept,
10634 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
10635 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
10636 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
10637 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
10638 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
10639 here.
10640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10641 Update.
10642
c5df7609
JM
10643 * manual/arith.texi (FP Exceptions): Document that exceptions may
10644 not be raised when matherr is used.
10645 (Math Error Reporting): Document overflow in directed rounding
10646 modes. Document that errno may not be set when finite values are
10647 returned on overflow. Document intent to set errno on underflow
10648 only for underflow to zero.
10649
3c1c46a6
JM
10650 [BZ #16271]
10651 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
10652 round-to-nearest then adjust result for other rounding modes.
10653 * include/fenv.h (fegetround): Use libm_hidden_proto.
10654 * math/fegetround.c (fegetround): Use libm_hidden_def.
10655 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10656 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10657 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10658 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10659 Likewise.
10660 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
10661 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10662 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10663 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
10664
5a4c6d53
SP
106652013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10666
10667 [BZ #16077]
10668 * nss/Versions (libnss_files): Add
10669 _nss_files_gethostbyname3_r.
10670 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
10671 New function.
10672 (HOST_DB_LOOKUP): Remove macro.
10673 (_nss_files_gethostbyname_r): Implement function without the
10674 HOST_DB_LOOKUP macro.
10675 (_nss_files_gethostbyname2_r): Likewise.
10676
897b98ba
OB
106772013-11-28 Ondřej Bílka <neleai@seznam.cz>
10678
10679 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
10680
6f476861
UB
106812013-11-26 Uros Bizjak <ubizjak@gmail.com>
10682
10683 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
10684 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
10685 warning.
10686
bd12ab55
AZ
106872013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10688
10689 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
10690 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
10691 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10692 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10693 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
10694 __fe_nomask_env_priv and attribute_hidden.
10695 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
10696 (libc_feupdateenv_test_ppc): Likewise.
10697 (libc_feresetround_ppc): Likewise.
10698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10699 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
10700 compat_symbol macro.
10701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10702 (__fe_nomask_env): Likewise.
10703 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
10704
52bb6543
OB
107052013-11-26 Ondřej Bílka <neleai@seznam.cz>
10706
10707 * string/Makefile: Remove ifunc tests.
10708 * string/test-string.h: Define TEST_IFUNC.
10709 * string/test-bcopy-ifunc.c: Remove.
10710 * string/test-bzero-ifunc.c: Likewise.
10711 * string/test-memccpy-ifunc.c: Likewise.
10712 * string/test-memchr-ifunc.c: Likewise.
10713 * string/test-memcmp-ifunc.c: Likewise.
10714 * string/test-memcpy-ifunc.c: Likewise.
10715 * string/test-memmem-ifunc.c: Likewise.
10716 * string/test-memmove-ifunc.c: Likewise.
10717 * string/test-mempcpy-ifunc.c: Likewise.
10718 * string/test-memrchr-ifunc.c: Likewise.
10719 * string/test-memset-ifunc.c: Likewise.
10720 * string/test-rawmemchr-ifunc.c: Likewise.
10721 * string/test-stpcpy-ifunc.c: Likewise.
10722 * string/test-stpncpy-ifunc.c: Likewise.
10723 * string/test-strcasecmp-ifunc.c: Likewise.
10724 * string/test-strcasestr-ifunc.c: Likewise.
10725 * string/test-strcat-ifunc.c: Likewise.
10726 * string/test-strchr-ifunc.c: Likewise.
10727 * string/test-strchrnul-ifunc.c: Likewise.
10728 * string/test-strcmp-ifunc.c: Likewise.
10729 * string/test-strcpy-ifunc.c: Likewise.
10730 * string/test-strcspn-ifunc.c: Likewise.
10731 * string/test-strlen-ifunc.c: Likewise.
10732 * string/test-strncasecmp-ifunc.c: Likewise.
10733 * string/test-strncat-ifunc.c: Likewise.
10734 * string/test-strncmp-ifunc.c: Likewise.
10735 * string/test-strncpy-ifunc.c: Likewise.
10736 * string/test-strnlen-ifunc.c: Likewise.
10737 * string/test-strpbrk-ifunc.c: Likewise.
10738 * string/test-strrchr-ifunc.c: Likewise.
10739 * string/test-strspn-ifunc.c: Likewise.
10740 * string/test-strstr-ifunc.c: Likewise.
10741
ab260039 107422013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
10743
10744 * benchtests/Makefile: Remove ifunc tests.
10745 * benchtests/bench-string.h: Define TEST_IFUNC.
10746 * benchtests/bench-bcopy-ifunc.c: Remove.
10747 * benchtests/bench-bzero-ifunc.c: Likewise.
10748 * benchtests/bench-memccpy-ifunc.c: Likewise.
10749 * benchtests/bench-memchr-ifunc.c: Likewise.
10750 * benchtests/bench-memcmp-ifunc.c: Likewise.
10751 * benchtests/bench-memcpy-ifunc.c: Likewise.
10752 * benchtests/bench-memmem-ifunc.c: Likewise.
10753 * benchtests/bench-memmove-ifunc.c: Likewise.
10754 * benchtests/bench-mempcpy-ifunc.c: Likewise.
10755 * benchtests/bench-memrchr-ifunc.c: Likewise.
10756 * benchtests/bench-memset-ifunc.c: Likewise.
10757 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
10758 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
10759 * benchtests/bench-stpcpy-ifunc.c: Likewise.
10760 * benchtests/bench-stpncpy-ifunc.c: Likewise.
10761 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
10762 * benchtests/bench-strcasestr-ifunc.c: Likewise.
10763 * benchtests/bench-strcat-ifunc.c: Likewise.
10764 * benchtests/bench-strchr-ifunc.c: Likewise.
10765 * benchtests/bench-strchrnul-ifunc.c: Likewise.
10766 * benchtests/bench-strcmp-ifunc.c: Likewise.
10767 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
10768 * benchtests/bench-strcpy-ifunc.c: Likewise.
10769 * benchtests/bench-strcspn-ifunc.c: Likewise.
10770 * benchtests/bench-strlen-ifunc.c: Likewise.
10771 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
10772 * benchtests/bench-strncat-ifunc.c: Likewise.
10773 * benchtests/bench-strncmp-ifunc.c: Likewise.
10774 * benchtests/bench-strncpy-ifunc.c: Likewise.
10775 * benchtests/bench-strnlen-ifunc.c: Likewise.
10776 * benchtests/bench-strpbrk-ifunc.c: Likewise.
10777 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 10778 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
10779 * benchtests/bench-strspn-ifunc.c: Likewise.
10780 * benchtests/bench-strstr-ifunc.c: Likewise.
10781
107822013-11-26 Ondřej Bílka <neleai@seznam.cz>
10783
ab260039
OB
10784 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
10785
d1d9eaf4 107862013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 10787
d1d9eaf4
OB
10788 * resolv/netdb.h: Use __glibc_reserved instead __unused.
10789 * rt/aio.h: Likewise.
10790 * sysdeps/gnu/bits/utmp.h: Likewise.
10791 * sysdeps/gnu/bits/utmpx.h: Likewise.
10792 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10793 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10794 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10795 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10796 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10797 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10798 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
10799 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
10800 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
10801 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10802 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10803 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10804 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
10805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
10806 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10807 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
10808 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10809 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10810 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10811 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
10812 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
10813 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
10814 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
10815 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10816 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10817 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10818 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
10819 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10820 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10821 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10822 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
10823 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
10824 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
10825 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10826 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10827 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
10828 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10829 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10830 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10831 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
10832 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10833 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10834
a7624ed9
CD
108352013-11-25 Carlos O'Donell <carlos@redhat.com>
10836
10837 [BZ #16245]
10838 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
10839 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
10840
63cfe52b
JM
108412013-11-25 Joseph Myers <joseph@codesourcery.com>
10842
10843 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
10844 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10845 Likewise.
10846
41e8926a
AZ
108472013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10848
10849 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
10850 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
10851 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
10852 (__fesetround): Remove define.
10853 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
10854 rounding and exceptions handling.
10855 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
10856 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
10857 (__fe_nomask_env): Likewise.
10858 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
10859 __fegetround instead of fegetround.
10860 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10861 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10862
6851bd4d
RM
108632013-11-21 Roland McGrath <roland@hack.frob.com>
10864
070906ff
RM
10865 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
10866 it's there.
10867
6851bd4d
RM
10868 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
10869
84ae135d
MI
108702013-11-21 Meador Inge <meadori@codesourcery.com>
10871
10872 [BZ #11157]
10873 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
10874 (encrypt_r): Likewise.
10875 * malloc/obstack.h (obstack_free): Likewise.
10876 * posix/unistd.h (encrypt): Likewise.
10877
daf75146
GM
108782013-11-21 Guy Martin <gmsoft@tuxicoman.be>
10879
10880 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
10881 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
10882 DL_CALL_DT_FINI() that call the functions directly.
10883 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
10884 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
10885 * elf/dl-fini.c: Likewise.
10886
10ad46bc
OB
108872013-11-20 Ondřej Bílka <neleai@seznam.cz>
10888
10889 * malloc/hooks.c (memalign_check): Add alignment rounding.
10890 * malloc/malloc.c (_mid_memalign): New function.
10891 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
10892 Implement by calling _mid_memalign.
10893 * manual/probes.texi (Memory Allocation Probes): Remove
10894 memory_valloc_retry and memory_pvalloc_retry.
10895
f3fd2628
SP
108962013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10897
4712799f
SP
10898 * locale/programs/locarchive.c (open_archive): Add const
10899 qualifier to ARCHIVEFNAME and copy default fname to
10900 DEFAULT_FNAME.
10901
0417b20f
SP
10902 [BZ #15601]
10903 * libio/tst-widetext.input: Rename Oriya to Odia.
10904 * locale/iso-639.def: Likewise.
10905
f3fd2628
SP
10906 * manual/probes.texi (Mathematical Function Probes): Add
10907 documentation for sin, cos, asin and acos probes.
10908 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
10909 (__sin32): Add slowasin probe.
10910 (__cos32): Add slowacos probe.
10911 (__mpsin): Add slowsin probe.
10912 (__mpcos): Add slowcos probe.
10913
73c1ce4f
JM
109142013-11-19 Joseph Myers <joseph@codesourcery.com>
10915
10916 [BZ #15483]
10917 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
10918 thread-local __sim_exceptions_thread and global
10919 __sim_exceptions_global.
10920 (__sim_disabled_exceptions): Change to thread-local
10921 __sim_disabled_exceptions_thread and global
10922 __sim_disabled_exceptions_global.
10923 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10924 and global __sim_round_mode_global.
10925 (__simulate_exceptions): Use thread-local floating-point state and
10926 set global state from it as needed.
10927 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
10928 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
10929 __sim_round_mode_thread.
10930 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
10931 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
10932 and global __sim_exceptions_global.
10933 (__sim_disabled_exceptions): Change to thread-local
10934 __sim_disabled_exceptions_thread and global
10935 __sim_disabled_exceptions_global.
10936 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10937 and global __sim_round_mode_global.
10938 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
10939 (SIM_SET_GLOBAL): Likewise.
10940 * sysdeps/powerpc/soft-fp/sfp-machine.h
10941 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
10942 __sim_round_mode_thread.
10943 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
10944 __sim_disabled_exceptions_thread.
10945 (__sim_exceptions): Change to __sim_exceptions_thread.
10946 (__sim_disabled_exceptions): Change to
10947 __sim_disabled_exceptions_thread.
10948 (__sim_round_mode): Change to __sim_round_mode_thread.
10949 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
10950 thread-local floating-point state and set global state from it as
10951 needed.
10952 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
10953 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
10954 (__sim_disabled_exceptions): Remove extern declaration.
10955 (feenableexcept): Use thread-local floating-point state and set
10956 global state from it as needed.
10957 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
10958 extern declaration.
10959 (__sim_disabled_exceptions): Likewise.
10960 (__sim_round_mode): Likewise.
10961 (__fegetenv): Use thread-local floating-point state.
10962 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
10963 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10964 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
10965 floating-point state and set global state from it as needed.
10966 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
10967 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10968 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
10969 Likewise.
10970 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10971 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
10972 Likewise.
10973 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
10974 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
10975 Use __sim_round_mode_thread.
10976 * math/test-fenv-tls.c: New file.
10977 * math/Makefile (tests): Add test-fenv-tls.
10978 ($(objpfx)test-fenv-tls): Depend on
10979 $(common-objpfx)nptl/libpthread.so.
10980
b5449b12
AS
109812013-11-19 Andreas Schwab <schwab@suse.de>
10982
10983 * locale/programs/locale.c (show_info): Decode wordarray elements.
10984 * locale/categories.def (LC_MONETARY): Add element for
10985 _NL_MONETARY_CRNCYSTR.
10986 * locale/C-monetary.c (conversion_rate): New variable.
10987 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
10988 element.
10989
e186536b
CM
109902013-11-18 Chris Metcalf <cmetcalf@tilera.com>
10991
10992 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
10993 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
10994
5c349950
PP
109952013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10996
10997 * elf/Makefile (tst-auxv): New test.
10998 * elf/tst-auxv.c: New
10999 * elf/rtld.c (dl_main): Adjust AT_EXECFN
11000
699df45b
JM
110012013-11-18 Joseph Myers <joseph@codesourcery.com>
11002
11003 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11004 (hidden_proto): Caller changed.
11005 (hidden_tls_proto): New macro.
11006 (libc_hidden_tls_proto): Likewise.
11007 (rtld_hidden_tls_proto): Likewise.
11008 (libm_hidden_tls_proto): Likewise.
11009 (libresolv_hidden_tls_proto): Likewise.
11010 (librt_hidden_tls_proto): Likewise.
11011 (libdl_hidden_tls_proto): Likewise.
11012 (libnss_files_hidden_tls_proto): Likewise.
11013 (libnsl_hidden_tls_proto): Likewise.
11014 (libnss_nisplus_hidden_tls_proto): Likewise.
11015 (libutil_hidden_tls_proto): Likewise.
11016
b7589107
OB
110172013-11-18 Ondřej Bílka <neleai@seznam.cz>
11018
11019 [BZ #10253]
11020 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11021 (decompose_rpath): Defer expansion to fillin_rpath.
11022 (_dl_init_paths): Pass linkmap to fillin_rpath.
11023
250c23bd
RS
110242013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11025
11026 * benchtests/Makefile: Add strsep.
11027 * benchtests/bench-strsep.c: New file: strsep benchtest.
11028 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11029
a7931fcf
AS
110302013-11-18 Andreas Schwab <schwab@suse.de>
11031
11032 * locale/programs/locale.c (show_info) [case byte]: Check for
11033 '\377' instead of '\177'.
11034 * locale/C-monetary.c (not_available): Always use "\377".
11035 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11036 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
11037 detect unavailable sign_posn locale elements.
11038 * locale/localeconv.c (__localeconv): For grouping and
11039 mon_grouping handle "\177" and "\377" like no grouping.
11040 (INT_ELEM): New macro. Use it to set all numeric members.
11041 * locale/programs/ld-monetary.c (monetary_read)
11042 <tok_mon_grouping>: Normalize single -1 to the empty string.
11043 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11044 Likewise.
11045
728dab0e
OB
110462013-11-07 Ondřej Bílka <neleai@seznam.cz>
11047
11048 [BZ #16055]
11049 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11050 when we match (nil).
11051 * stdio-common/tst-sscanf.c (struct test): Add testcase.
11052
66294491
JM
110532013-11-16 Joseph Myers <joseph@codesourcery.com>
11054
ce665817
JM
11055 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11056 (NO_TEST_INLINE): Update value.
11057 (ERRNO_UNCHANGED): Likewise.
11058 (ERRNO_EDOM): Likewise.
11059 (ERRNO_ERANGE): Likewise.
11060 (IGNORE_RESULT): Likewise.
11061 (check_float_internal): Check signs of NaN results if
11062 TEST_NAN_SIGN used.
11063 (check_complex): Pass TEST_NAN_SIGN flag through to second
11064 check_float_internal call.
11065 (copysign_test_data): Add tests with quiet NaNs as second
11066 argument. Use TEST_NAN_SIGN.
11067 (fabs_test_data): Add test of negative quiet NaN argument. Use
11068 TEST_NAN_SIGN.
11069 (signbit_test_data): Add tests of quiet NaN argument.
11070 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11071
ee1466a9
JM
11072 * math/gen-libm-test.pl (show_exceptions): Take extra argument
11073 $ignore_result.
11074 (parse_args): Handle function results specified as IGNORE.
11075 * math/libm-test.inc (IGNORE_RESULT): New macro.
11076 (check_float_internal): Do not check numerical result if flag
11077 IGNORE_RESULT set.
11078 (check_complex): Pass through IGNORE_RESULT to second
11079 check_float_internal call.
11080 (check_int): Do not check numerical result if flag IGNORE_RESULT
11081 set.
11082 (check_long): Likewise.
11083 (check_bool): Likewise.
11084 (check_longlong): Likewise.
11085 (lrint_test_data): Add tests of infinite and NaN arguments.
11086 (lrint_tonearest_test_data): Likewise.
11087 (lrint_towardzero_test_data): Likewise.
11088 (lrint_downward_test_data): Likewise.
11089 (lrint_upward_test_data): Likewise.
11090 (llrint_test_data): Likewise.
11091 (llrint_tonearest_test_data): Likewise.
11092 (llrint_towardzero_test_data): Likewise.
11093 (llrint_downward_test_data): Likewise.
11094 (llrint_upward_test_data): Likewise.
11095 (lround_test_data): Likewise.
11096 (llround_test_data): Likewise.
11097
14407b7e
JM
11098 * math/libm-test.inc (NO_TEST_INLINE): New macro.
11099 (ERRNO_UNCHANGED): Update value.
11100 (ERRNO_EDOM): Likewise.
11101 (ERRNO_ERANGE): Likewise.
11102 (NO_TEST_INLINE_FLOAT): New macro.
11103 (NO_TEST_INLINE_DOUBLE): Likewise.
11104 (enable_test): New function.
11105 (RUN_TEST_f_f): Check enable_test before running test.
11106 (RUN_TEST_2_f): Likewise.
11107 (RUN_TEST_fff_f): Likewise.
11108 (RUN_TEST_c_f): Likewise.
11109 (RUN_TEST_f_f1): Likewise.
11110 (RUN_TEST_fF_f1): Likewise.
11111 (RUN_TEST_fI_f1): Likewise.
11112 (RUN_TEST_ffI_f1): Likewise.
11113 (RUN_TEST_c_c): Likewise.
11114 (RUN_TEST_cc_c): Likewise.
11115 (RUN_TEST_f_i): Likewise.
11116 (RUN_TEST_f_i_tg): Likewise.
11117 (RUN_TEST_ff_i_tg): Likewise.
11118 (RUN_TEST_f_b): Likewise.
11119 (RUN_TEST_f_b_tg): Likewise.
11120 (RUN_TEST_f_l): Likewise.
11121 (RUN_TEST_f_L): Likewise.
11122 (RUN_TEST_fFF_11): Likewise.
11123 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11124 conditionals.
11125 (cosh_test_data): Likewise.
11126 (exp_test_data): Likewise.
11127 (expm1_test_data): Likewise.
11128 (hypot_test_data): Likewise.
11129 (pow_test_data): Likewise.
11130 (sinh_test_data): Likewise.
11131 (tanh_test_data): Likewise.
11132 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11133 flags argument.
11134
ca07f197
JM
11135 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11136 tests with quiet NaN input and output.
11137 (acosh_test_data): Likewise.
11138 (asin_test_data): Likewise.
11139 (asinh_test_data): Likewise.
11140 (atan_test_data): Likewise.
11141 (atanh_test_data): Likewise.
11142 (atan2_test_data): Likewise.
11143 (cbrt_test_data): Likewise.
11144 (cos_test_data): Likewise.
11145 (cosh_test_data): Likewise.
11146 (erf_test_data): Likewise.
11147 (erfc_test_data): Likewise.
11148 (exp_test_data): Likewise.
11149 (exp10_test_data): Likewise.
11150 (exp2_test_data): Likewise.
11151 (expm1_test_data): Likewise.
11152 (hypot_test_data): Likewise.
11153 (j0_test_data): Likewise.
11154 (j1_test_data): Likewise.
11155 (jn_test_data): Likewise.
11156 (lgamma_test_data): Likewise.
11157 (log_test_data): Likewise.
11158 (log10_test_data): Likewise.
11159 (log1p_test_data): Likewise.
11160 (log2_test_data): Likewise.
11161 (pow_test_data): Likewise.
11162 (scalb_test_data): Likewise.
11163 (sin_test_data): Likewise.
11164 (sincos_test_data): Likewise.
11165 (sinh_test_data): Likewise.
11166 (tan_test_data): Likewise.
11167 (tanh_test_data): Likewise.
11168 (tgamma_test_data): Likewise.
11169 (y0_test_data): Likewise.
11170 (y1_test_data): Likewise.
11171 (yn_test_data): Likewise.
11172
66294491
JM
11173 [BZ #16167]
11174 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11175 argument being NaN and avoid computations with second argument in
11176 that case.
11177 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11178 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11179 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11180
1820b143
CL
111812013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
11182
11183 * locale/iso-639.def: Add Chitwani Tharu (the).
11184
714bd261
AS
111852013-11-14 Andreas Schwab <schwab@suse.de>
11186
11187 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11188 word instead of empty string.
11189
7ab44563
AZ
111902013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11191
11192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11193 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11195 (__fe_nomask_env): Likewise.
11196
e8470ea2
SE
111972013-11-13 Steve Ellcey <sellcey@mips.com>
11198
11199 * benchtests/bench-timing.h: Include time.h.
11200
17c1d9f0
L
112012013-11-13 H.J. Lu <hongjiu.lu@intel.com>
11202
11203 [BZ #15997]
11204 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11205 to 3.4.0 for x32.
11206 * sysdeps/unix/sysv/linux/configure: Regenerated.
11207
9310c284
JM
112082013-11-13 Joseph Myers <joseph@codesourcery.com>
11209
11210 [BZ #16151]
11211 * stdlib/strtod_l.c (round_and_return): Do not consider
11212 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11213 exponent one less than half the least subnormal exponent.
11214 * stdlib/test-strtod-round-data: Add more tests.
11215 * stdlib/tst-strtod-round.c (tests): Regenerated.
11216
7a2ad8cf
AZ
112172013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11218
11219 [BZ #14143]
11220 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11221 (__fe_mask_env): Likewise.
11222 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11223 libm_hidden_proto and add function prototype.
11224 (__fe_mask_env): Add function prototype.
11225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11226 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11228 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11230 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11231
50727aa7
MS
112322013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11233
b2f386c1 11234 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
11235 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11236
a615be46
MS
112372013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11238
11239 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11240 of htab_find_slot().
11241
7ddace62
DM
112422013-11-11 David S. Miller <davem@davemloft.net>
11243
11244 [BZ #16150]
11245 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11246 symbol in the non-vis3 case in static builds.
11247 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11248 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11249 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11250 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11251
9182aa67
JK
112522013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11253
11254 [BZ #387]
11255 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11256 it is empty.
11257
450a2e2d
AZ
112582013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11259
b2f386c1
SP
11260 * benchtests/Makefile: Add bench-strtod.
11261 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 11262
8ec3f656
AS
112632013-11-11 Andreas Schwab <schwab@suse.de>
11264
11265 [BZ #16153]
11266 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11267 terminating NUL in key length.
11268
76a9b998
AZ
112692013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11270
11271 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11272 Add artificial ODP entry for vDSO symbol for PPC64.
11273 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11274 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11275
e4368156
OB
112762013-11-07 Ondřej Bílka <neleai@seznam.cz>
11277
11278 [BZ #15374]
11279 * nss/getent.c (services_keys): Recognize services starting with digit.
11280
8d6bb57c
DM
112812013-11-06 David S. Miller <davem@davemloft.net>
11282
11283 [BZ #15985]
11284 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11285 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11286
e256c421
WN
112872013-11-06 Will Newton <will.newton@linaro.org>
11288
11289 * manual/memory.texi (Malloc Examples): Remove register
11290 keyword from examples.
11291
f6e12daa 112922013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 11293
f6e12daa 11294 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 11295
9d880655
AS
112962013-11-04 Joseph Myers <joseph@codesourcery.com>
11297
fd2f9486 11298 [BZ #6981]
9d880655
AS
11299 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11300 depending on [__GCC_IEC_559 > 0].
11301 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11302 depending on [__GCC_IEC_559_COMPLEX > 0].
11303
ae129d3c
CL
113042013-11-03 Chris Leonard <cjl@sugarlabs.org>
11305
11306 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11307 to iso-639.def.
11308
4a15c2a4 113092013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
11310
11311 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11312
8b35e35d
OB
113132013-11-01 Ondřej Bílka <neleai@seznam.cz>
11314
11315 [BZ #16112]
11316 * malloc/malloc (malloc_info): Do not handle first bin as
11317 special case.
11318
1d70fd6c
CL
113192013-11-01 Chris Leonard <cjl@sugarlabs.org>
11320
11321 * locale/iso-639.def: Add Central Nahuatl (nhn).
11322
8c5c2600
BH
113232013-11-01 Bruno Haible <bruno@clisp.org>
11324
11325 [BZ #7003]
11326 * manual/math.texi (BSD Random): Specify range upper bound as
11327 in POSIX.
11328
da5579c2
CL
113292013-10-31 Chris Leonard <cjl@sugarlabs.org>
11330
11331 * locale/iso-639.def: Add Meadow Mari (mhr).
11332
5d30d853
OB
113332013-10-31 Ondřej Bílka <neleai@seznam.cz>
11334
11335 [BZ #14752], [BZ #15763]
11336 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11337 Validate name.
11338 * rt/tst_shm.c: Add test for escaping directory.
11339
a4966c61
AS
113402013-10-31 Andreas Schwab <schwab@suse.de>
11341
8a43e768 11342 [BZ #15917]
a4966c61
AS
11343 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11344 followed by 'x' as part of digit sequence.
11345 * stdio-common/tst-sscanf.c (double_tests2): New tests.
11346
28d708c4
MAP
113472013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11348
11349 [BZ #16037]
11350 * configure.ac: allow GNU Make 4.0 and greater.
11351 * configure: Regenerated.
11352
a56ee40b
WN
113532013-10-30 Will Newton <will.newton@linaro.org>
11354
11355 [BZ #16038]
11356 * malloc/hooks.c (memalign_check): Limit alignment to the
11357 maximum representable power of two.
11358 * malloc/malloc.c (__libc_memalign): Likewise.
11359 * malloc/tst-memalign.c (do_test): Add test for very
11360 large alignment values.
11361 * malloc/tst-posix_memalign.c (do_test): Likewise.
11362
c6e4925d
OB
113632013-10-30 Ondřej Bílka <neleai@seznam.cz>
11364
11365 [BZ #11087]
11366 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11367 (munmap_chunk): Likewise.
11368 (mremap_chunk): Likewise.
11369
113702013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 11371
8a43e768 11372 [BZ #15799]
bbea82f7
OB
11373 * stdlib/div.c (div): Remove obsolete code.
11374 * stdlib/ldiv.c (ldiv): Likewise.
11375 * stdlib/lldiv.c (lldiv): Likewise.
11376
977f4b31
SP
113772013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11378
11379 [BZ #16071]
11380 * nss/nss_files/files-XXX.c (get_contents_ret): New
11381 enumerator.
11382 (get_contents): New function.
11383 (internal_getent): Use it. Expand size of LINEBUFLEN.
11384
cb8a6dbd
MF
113852013-10-30 Mike Frysinger <vapier@gentoo.org>
11386
11387 * configure.in: Moved to ...
11388 * configure.ac: ... here. Change reference to configure.in
11389 to configure.ac.
11390 * sysdeps/arm/preconfigure.ac: ... here.
11391 configure.in to configure.ac.
11392 * sysdeps/gnu/configure.in: Moved to ...
11393 * sysdeps/gnu/configure.ac: ... here.
11394 * sysdeps/i386/configure.in: Moved to ...
11395 * sysdeps/i386/configure.ac: ... here.
11396 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11397 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11398 * sysdeps/mach/configure.in: Moved to ...
11399 * sysdeps/mach/configure.ac: ... here.
11400 * sysdeps/mach/hurd/configure.in: Moved to ...
11401 * sysdeps/mach/hurd/configure.ac: ... here.
11402 * sysdeps/powerpc/configure.in: Moved to ...
11403 * sysdeps/powerpc/configure.ac: ... here.
11404 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11405 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11406 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11407 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11408 * sysdeps/s390/s390-32/configure.in: Moved to ...
11409 * sysdeps/s390/s390-32/configure.ac: ... here.
11410 * sysdeps/s390/s390-64/configure.in: Moved to ...
11411 * sysdeps/s390/s390-64/configure.ac: ... here.
11412 * sysdeps/sh/configure.in: Moved to ...
11413 * sysdeps/sh/configure.ac: ... here.
11414 * sysdeps/sparc/configure.in: Moved to ...
11415 * sysdeps/sparc/configure.ac: ... here.
11416 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11417 * sysdeps/unix/sysv/linux/configure.ac: ... here.
11418 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11419 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11420 * sysdeps/x86_64/configure.in: Moved to ...
11421 * sysdeps/x86_64/configure.ac: ... here.
11422 * sysdeps/x86_64/preconfigure.in: Moved to ...
11423 * sysdeps/x86_64/preconfigure.ac: ... here.
11424 * aclocal.m4: Change reference to configure.in to configure.ac.
11425 * config.h.in: Likewise.
11426 * manual/install.texi: Likewise.
11427 * manual/maint.texi: Likewise.
11428 * Makefile: Likewise.
11429 * malloc/Makefile: Likewise.
11430 * nscd/Makefile: Likewise.
11431 * Makeconfig: Change reference to configure.in and
11432 preconfigure.in to configure.ac and preconfigure.ac
11433 respectively.
11434 * INSTALL: Regenerated.
11435 * configure: Likewise.
11436 * sysdeps/gnu/configure: Likewise.
11437 * sysdeps/i386/configure: Likewise.
11438 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11439 * sysdeps/mach/configure: Likewise.
11440 * sysdeps/mach/hurd/configure: Likewise.
11441 * sysdeps/powerpc/configure: Likewise.
11442 * sysdeps/powerpc/powerpc32/configure: Likewise.
11443 * sysdeps/powerpc/powerpc64/configure: Likewise.
11444 * sysdeps/s390/s390-32/configure: Likewise.
11445 * sysdeps/s390/s390-64/configure: Likewise.
11446 * sysdeps/sh/configure: Likewise.
11447 * sysdeps/sparc/configure: Likewise.
11448 * sysdeps/unix/sysv/linux/configure: Likewise.
11449 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
11450 * sysdeps/x86_64/configure: Likewise.
11451 * sysdeps/x86_64/preconfigure: Likewise.
11452
36a4953a
AS
114532013-10-29 Andreas Schwab <schwab@suse.de>
11454
11455 * stdio-common/Makefile (tst-swscanf-ENV): Define.
11456
c79a1204
SP
114572013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11458
dfa1b402
SP
11459 * benchtests/pow-inputs: Add new inputs.
11460
54f73d9c
SP
11461 * benchtests/exp-inputs: Add new inputs.
11462
c79a1204
SP
11463 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
11464 conditional check for return value.
11465 (__cos32): Likewise.
11466
67beb545 114672013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
11468
11469 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
11470 to provide a boost for large inputs with word alignment.
11471 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
11472 implementation based on optimized PPC64 strcpy.
11473 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
11474 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
11475 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
11476 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
11477
151659f6
OB
114782013-10-25 Ondřej Bílka <neleai@seznam.cz>
11479
482a077e 11480 [BZ #2801]
151659f6
OB
11481 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
11482
10b0f26b
OB
114832013-10-25 Ondřej Bílka <neleai@seznam.cz>
11484
11485 [BZ #14876]
11486 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
11487 * time/tst-strptime.c (day_tests): Add testcase.
11488
ca42d35e
OB
114892013-10-25 Ondřej Bílka <neleai@seznam.cz>
11490
482a077e 11491 [BZ #14029]
ca42d35e
OB
11492 * manual/pattern.texi: Acknowledge that fnmatch can fail.
11493
52e6d801
FB
114942013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
11495
11496 [BZ #16074]
11497 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
11498 MAP_FAILED on error.
11499
7cbcdb36
SP
115002013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11501
11502 [BZ #16072]
11503 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
11504 heap for large requests.
11505
894f3f10
AM
115062013-10-25 Aurelien Jarno <aurelien@aurel32.net>
11507
11508 [BZ #9954]
11509 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
11510 result if the result has no associated interface.
11511 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
11512 interface for all 127.X.Y.Z addresses.
11513
b85545a6
CL
115142013-10-24 Chris Leonard <cjl@sugarlabs.org>
11515
11516 * locale/iso-639.def: Add Ligurian (lij)
11517
d1f23d46
OB
115182013-10-21 Ondřej Bílka <neleai@seznam.cz>
11519
11520 [BZ #15825]
11521 * sunrpc/rpc_main.c: Document rpcgen -5.
11522
4db5b08f
MS
115232013-10-19 Michael Stahl <mstahl@redhat.com>
11524
11525 * elf/rtld.c (do_preload): Print the reason why preloading failed.
11526
a471e96a
OB
115272013-10-19 Ondřej Bílka <neleai@seznam.cz>
11528
d1f23d46 11529 [BZ #10278]
a471e96a
OB
11530 * posix/glob.c: Match only directories when trailing slash is present.
11531 * posix/tst-gnuglob.c (my_opendir): Do not open files.
11532 (main): Add testcase.
11533
45c30c61
OB
115342013-10-19 Ondřej Bílka <neleai@seznam.cz>
11535
11536 [BZ #15670]
11537 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
11538
484c12fb
CD
115392013-10-18 Carlos O'Donell <carlos@redhat.com>
11540
3d7dc513
CD
11541 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
11542 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
11543 AUTH_DES and cindex for FIPS 140-2.
11544 (DES Encryption): Add cindex FIPS 46-3.
11545
484c12fb
CD
11546 * locale/locarchive.h (struct locarhandle): Add fname.
11547 * locale/programs/localedef.c (main): Pass ARGV[remaining]
11548 if an optional argument was specified to --list-archive,
11549 otherwise NULL.
11550 * locale/programs/locarchive.c (show_archive_content): Take new
11551 argument fname and pass it via ah.fname to open_archive.
11552 * locale/programs/localedef.h: Update decl.
11553 (open_archive): If AH->fname is non-null, open that file
11554 rather than the default file name, and don't ignore ENOENT.
11555 (create_archive): Set AH.fname to NULL.
11556 (delete_locales_from_archive): Likewise.
11557 (add_locales_to_archive): Likewise.
11558 * locale/programs/locfile.c (write_all_categories): Likewise.
11559
3c8325fb
JM
115602013-10-18 Joseph Myers <joseph@codesourcery.com>
11561 Aldy Hernandez <aldyh@redhat.com>
11562
11563 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
11564 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
11565 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
11566 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
11567 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
11568 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
11569 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
11570 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
11571 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
11572 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
11573 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
11574 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
11575 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
11576 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
11577 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
11578 Likewise.
11579 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
11580 Likewise.
11581 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
11582 Likewise.
11583 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
11584 Likewise.
11585 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
11586 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
11587 Likewise.
11588 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
11589 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
11590 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
11591 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
11592 Likewise.
11593 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
11594 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
11595 * sysdeps/powerpc/preconfigure: Likewise.
11596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11597 Likewise.
11598 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
11599 Replace contents of file by #include of <fenv_libc.h>.
11600 * sysdeps/powerpc/soft-fp/sfp-machine.h
11601 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
11602 and <sys/prctl.h>.
11603 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
11604 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
11605 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
11606 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
11607 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
11608 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
11609 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
11610 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
11611 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
11612 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
11613 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
11614 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
11615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11616 Allow copysignl PLT reference to be missing.
11617
5abe0682
RS
116182013-10-18 Richard Sandiford <richard@codesourcery.com>
11619 Joseph Myers <joseph@codesourcery.com
11620
11621 [BZ #15948]
11622 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
11623 single character.
11624 (add_to_tablewc): Assert sequence of wide characters is nonempty.
11625
c7738d08
SP
116262013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11627
11628 * elf/tst-tls-dlinfo.c: Don't include tls.h.
11629 * elf/tst-tls1.c: Likewise.
11630 * elf/tst-tls10.h: Likewise.
11631 * elf/tst-tls14.c: Likewise.
11632 * elf/tst-tls2.c: Likewise.
11633 * elf/tst-tls3.c: Likewise.
11634 * elf/tst-tls4.c: Likewise.
11635 * elf/tst-tls5.c: Likewise.
11636 * elf/tst-tls6.c: Likewise.
11637 * elf/tst-tls7.c: Likewise.
11638 * elf/tst-tls8.c: Likewise.
11639 * elf/tst-tls9.c: Likewise.
11640 * elf/tst-tlsmod1.c: Likewise.
11641 * elf/tst-tlsmod13.c: Likewise.
11642 * elf/tst-tlsmod13a.c: Likewise.
11643 * elf/tst-tlsmod14a.c: Likewise.
11644 * elf/tst-tlsmod16a.c: Likewise.
11645 * elf/tst-tlsmod16b.c: Likewise.
11646 * elf/tst-tlsmod2.c: Likewise.
11647 * elf/tst-tlsmod3.c: Likewise.
11648 * elf/tst-tlsmod4.c: Likewise.
11649 * elf/tst-tlsmod5.c: Likewise.
11650 * elf/tst-tlsmod6.c: Likewise.
11651
0bfcf2c7
OB
116522013-10-18 Ondřej Bílka <neleai@seznam.cz>
11653
11654 [BZ #12486]
11655 * malloc/malloc.c: remove checks for statistics.
11656
264aad1e
OB
116572013-10-17 Ondřej Bílka <neleai@seznam.cz>
11658
11659 [BZ #15277]
11660 * inet/inet_net.c (inet_network): Detect additional invalid strings.
11661 * inet/tst-network.c: Add testcase.
11662
b957ced8
AS
116632013-10-17 Andreas Schwab <schwab@suse.de>
11664
11665 [BZ #15218]
11666 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
11667 to determine canonical name.
11668
c5d5d574
OB
116692013-10-17 Ondřej Bílka <neleai@seznam.cz>
11670
11671 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
11672 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
11673 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11674 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11675 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11676 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11677 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11678 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11679 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11680 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11681 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11682 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11683 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11684 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11685 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11686 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11687 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11688 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11689 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11690 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11691 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11692 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11693 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11694 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
11695 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
11696 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11697 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11698 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
11699 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11700 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
11701 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11702 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11703 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11704 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11705 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11706 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11707 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11708 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11709 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11710 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11711 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11712 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11713 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11714 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11715 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11716 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11717 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11718 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11719 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11720 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11721 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11722 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11723 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11724 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11725 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11726 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11727 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11728 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11729
e5c2c2d0
JM
117302013-10-17 Joseph Myers <joseph@codesourcery.com>
11731
11732 [BZ #16041]
11733 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
11734 make result into a quiet NaN.
11735
51ca9e29
JM
117362013-10-16 Joseph Myers <joseph@codesourcery.com>
11737
11738 * soft-fp/adddf3.c: Fix horizontal whitespace.
11739 * soft-fp/addsf3.c: Likewise.
11740 * soft-fp/addtf3.c: Likewise.
11741 * soft-fp/divdf3.c: Likewise.
11742 * soft-fp/divsf3.c: Likewise.
11743 * soft-fp/divtf3.c: Likewise.
11744 * soft-fp/double.h: Likewise.
11745 * soft-fp/eqdf2.c: Likewise.
11746 * soft-fp/eqsf2.c: Likewise.
11747 * soft-fp/eqtf2.c: Likewise.
11748 * soft-fp/extenddftf2.c: Likewise.
11749 * soft-fp/extended.h: Likewise.
11750 * soft-fp/extendsfdf2.c: Likewise.
11751 * soft-fp/extendsftf2.c: Likewise.
11752 * soft-fp/extendxftf2.c: Likewise.
11753 * soft-fp/fixdfdi.c: Likewise.
11754 * soft-fp/fixdfsi.c: Likewise.
11755 * soft-fp/fixdfti.c: Likewise.
11756 * soft-fp/fixsfdi.c: Likewise.
11757 * soft-fp/fixsfsi.c: Likewise.
11758 * soft-fp/fixsfti.c: Likewise.
11759 * soft-fp/fixtfdi.c: Likewise.
11760 * soft-fp/fixtfsi.c: Likewise.
11761 * soft-fp/fixtfti.c: Likewise.
11762 * soft-fp/fixunsdfdi.c: Likewise.
11763 * soft-fp/fixunsdfsi.c: Likewise.
11764 * soft-fp/fixunsdfti.c: Likewise.
11765 * soft-fp/fixunssfdi.c: Likewise.
11766 * soft-fp/fixunssfsi.c: Likewise.
11767 * soft-fp/fixunssfti.c: Likewise.
11768 * soft-fp/fixunstfdi.c: Likewise.
11769 * soft-fp/fixunstfsi.c: Likewise.
11770 * soft-fp/fixunstfti.c: Likewise.
11771 * soft-fp/floatdidf.c: Likewise.
11772 * soft-fp/floatdisf.c: Likewise.
11773 * soft-fp/floatditf.c: Likewise.
11774 * soft-fp/floatsidf.c: Likewise.
11775 * soft-fp/floatsisf.c: Likewise.
11776 * soft-fp/floatsitf.c: Likewise.
11777 * soft-fp/floattidf.c: Likewise.
11778 * soft-fp/floattisf.c: Likewise.
11779 * soft-fp/floattitf.c: Likewise.
11780 * soft-fp/floatundidf.c: Likewise.
11781 * soft-fp/floatundisf.c: Likewise.
11782 * soft-fp/floatunditf.c: Likewise.
11783 * soft-fp/floatunsidf.c: Likewise.
11784 * soft-fp/floatunsisf.c: Likewise.
11785 * soft-fp/floatunsitf.c: Likewise.
11786 * soft-fp/floatuntidf.c: Likewise.
11787 * soft-fp/floatuntisf.c: Likewise.
11788 * soft-fp/floatuntitf.c: Likewise.
11789 * soft-fp/fmadf4.c: Likewise.
11790 * soft-fp/fmasf4.c: Likewise.
11791 * soft-fp/fmatf4.c: Likewise.
11792 * soft-fp/gedf2.c: Likewise.
11793 * soft-fp/gesf2.c: Likewise.
11794 * soft-fp/getf2.c: Likewise.
11795 * soft-fp/ledf2.c: Likewise.
11796 * soft-fp/lesf2.c: Likewise.
11797 * soft-fp/letf2.c: Likewise.
11798 * soft-fp/muldf3.c: Likewise.
11799 * soft-fp/mulsf3.c: Likewise.
11800 * soft-fp/multf3.c: Likewise.
11801 * soft-fp/negdf2.c: Likewise.
11802 * soft-fp/negsf2.c: Likewise.
11803 * soft-fp/negtf2.c: Likewise.
11804 * soft-fp/op-1.h: Likewise.
11805 * soft-fp/op-2.h: Likewise.
11806 * soft-fp/op-4.h: Likewise.
11807 * soft-fp/op-8.h: Likewise.
11808 * soft-fp/op-common.h: Likewise.
11809 * soft-fp/quad.h: Likewise.
11810 * soft-fp/single.h: Likewise.
11811 * soft-fp/soft-fp.h: Likewise.
11812 * soft-fp/sqrtdf2.c: Likewise.
11813 * soft-fp/sqrtsf2.c: Likewise.
11814 * soft-fp/sqrttf2.c: Likewise.
11815 * soft-fp/subdf3.c: Likewise.
11816 * soft-fp/subsf3.c: Likewise.
11817 * soft-fp/subtf3.c: Likewise.
11818 * soft-fp/truncdfsf2.c: Likewise.
11819 * soft-fp/trunctfdf2.c: Likewise.
11820 * soft-fp/trunctfsf2.c: Likewise.
11821 * soft-fp/trunctfxf2.c: Likewise.
11822 * soft-fp/unorddf2.c: Likewise.
11823 * soft-fp/unordsf2.c: Likewise.
11824 * soft-fp/unordtf2.c: Likewise.
11825
9ebb0332
JM
118262013-10-15 Joseph Myers <joseph@codesourcery.com>
11827
11828 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
11829 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
11830
4b1a6d8b
OB
118312013-10-15 Ondřej Bílka <neleai@seznam.cz>
11832
11833 * elf/dl-libc.c: Clear initfini list after freeing.
11834
1e145589
JM
118352013-10-14 Joseph Myers <joseph@codesourcery.com>
11836
11837 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
11838 * soft-fp/addsf3.c: Likewise.
11839 * soft-fp/addtf3.c: Likewise.
11840 * soft-fp/divdf3.c: Likewise.
11841 * soft-fp/divsf3.c: Likewise.
11842 * soft-fp/divtf3.c: Likewise.
11843 * soft-fp/double.h: Likewise.
11844 * soft-fp/eqdf2.c: Likewise.
11845 * soft-fp/eqsf2.c: Likewise.
11846 * soft-fp/eqtf2.c: Likewise.
11847 * soft-fp/extenddftf2.c: Likewise.
11848 * soft-fp/extended.h: Likewise.
11849 * soft-fp/extendsfdf2.c: Likewise.
11850 * soft-fp/extendsftf2.c: Likewise.
11851 * soft-fp/extendxftf2.c: Likewise.
11852 * soft-fp/fixdfdi.c: Likewise.
11853 * soft-fp/fixdfsi.c: Likewise.
11854 * soft-fp/fixdfti.c: Likewise.
11855 * soft-fp/fixsfdi.c: Likewise.
11856 * soft-fp/fixsfsi.c: Likewise.
11857 * soft-fp/fixsfti.c: Likewise.
11858 * soft-fp/fixtfdi.c: Likewise.
11859 * soft-fp/fixtfsi.c: Likewise.
11860 * soft-fp/fixtfti.c: Likewise.
11861 * soft-fp/fixunsdfdi.c: Likewise.
11862 * soft-fp/fixunsdfsi.c: Likewise.
11863 * soft-fp/fixunsdfti.c: Likewise.
11864 * soft-fp/fixunssfdi.c: Likewise.
11865 * soft-fp/fixunssfsi.c: Likewise.
11866 * soft-fp/fixunssfti.c: Likewise.
11867 * soft-fp/fixunstfdi.c: Likewise.
11868 * soft-fp/fixunstfsi.c: Likewise.
11869 * soft-fp/fixunstfti.c: Likewise.
11870 * soft-fp/floatdidf.c: Likewise.
11871 * soft-fp/floatdisf.c: Likewise.
11872 * soft-fp/floatditf.c: Likewise.
11873 * soft-fp/floatsidf.c: Likewise.
11874 * soft-fp/floatsisf.c: Likewise.
11875 * soft-fp/floatsitf.c: Likewise.
11876 * soft-fp/floattidf.c: Likewise.
11877 * soft-fp/floattisf.c: Likewise.
11878 * soft-fp/floattitf.c: Likewise.
11879 * soft-fp/floatundidf.c: Likewise.
11880 * soft-fp/floatundisf.c: Likewise.
11881 * soft-fp/floatunsidf.c: Likewise.
11882 * soft-fp/floatunsisf.c: Likewise.
11883 * soft-fp/floatuntidf.c: Likewise.
11884 * soft-fp/floatuntisf.c: Likewise.
11885 * soft-fp/floatuntitf.c: Likewise.
11886 * soft-fp/fmadf4.c: Likewise.
11887 * soft-fp/fmasf4.c: Likewise.
11888 * soft-fp/fmatf4.c: Likewise.
11889 * soft-fp/gedf2.c: Likewise.
11890 * soft-fp/gesf2.c: Likewise.
11891 * soft-fp/getf2.c: Likewise.
11892 * soft-fp/ledf2.c: Likewise.
11893 * soft-fp/lesf2.c: Likewise.
11894 * soft-fp/letf2.c: Likewise.
11895 * soft-fp/muldf3.c: Likewise.
11896 * soft-fp/mulsf3.c: Likewise.
11897 * soft-fp/multf3.c: Likewise.
11898 * soft-fp/negdf2.c: Likewise.
11899 * soft-fp/negsf2.c: Likewise.
11900 * soft-fp/negtf2.c: Likewise.
11901 * soft-fp/op-1.h: Likewise.
11902 * soft-fp/op-2.h: Likewise.
11903 * soft-fp/op-4.h: Likewise.
11904 * soft-fp/op-8.h: Likewise.
11905 * soft-fp/op-common.h: Likewise.
11906 * soft-fp/quad.h: Likewise.
11907 * soft-fp/single.h: Likewise.
11908 * soft-fp/soft-fp.h: Likewise.
11909 * soft-fp/sqrtdf2.c: Likewise.
11910 * soft-fp/sqrtsf2.c: Likewise.
11911 * soft-fp/sqrttf2.c: Likewise.
11912 * soft-fp/subdf3.c: Likewise.
11913 * soft-fp/subsf3.c: Likewise.
11914 * soft-fp/subtf3.c: Likewise.
11915 * soft-fp/truncdfsf2.c: Likewise.
11916 * soft-fp/trunctfdf2.c: Likewise.
11917 * soft-fp/trunctfsf2.c: Likewise.
11918 * soft-fp/trunctfxf2.c: Likewise.
11919 * soft-fp/unorddf2.c: Likewise.
11920 * soft-fp/unordsf2.c: Likewise.
11921 * soft-fp/unordtf2.c: Likewise.
11922
17c48a60
OB
119232013-10-14 Ondřej Bílka <neleai@seznam.cz>
11924
11925 [BZ #15672]
11926 * misc/error.c (error_tail): Fix possible buffer overflow.
11927
cabba934
OB
119282013-10-14 Aurelien Jarno <aurelien@aurel32.net>
11929
11930 [BZ #13028]
11931 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
11932 address.
11933
94bf958a
PM
119342013-10-14 P. J. McDermott <pj@pehjota.net>
11935
11936 [BZ #832]
11937 * elf/ldd.bash.in (try_trace): New function. Delete previous code
11938 testing pipefail option.
11939
71b4dea7
JM
119402013-10-12 Joseph Myers <joseph@codesourcery.com>
11941
11942 * soft-fp/double.h: Indent preprocessor directives inside #if.
11943 * soft-fp/extended.h: Likewise.
11944 * soft-fp/op-2.h: Likewise.
11945 * soft-fp/op-4.h: Likewise.
11946 * soft-fp/op-common.h: Likewise.
11947 * soft-fp/quad.h: Likewise.
11948 * soft-fp/single.h: Likewise.
11949 * soft-fp/soft-fp.h: Likewise.
11950
55602758
YC
119512013-10-12 Yuri Chornoivan <yurchor@ukr.net>
11952
11953 * iconv/iconv_prog.c: Fix typos.
11954 * stdio-common/psiginfo-data.h: Likewise.
11955
9cd83302
RT
119562013-10-12 Reuben Thomas <rrt@sc3d.org>
11957
11958 [BZ #15764]
11959 * locale/setlocale.c: Fix typo.
11960
99fd9f47
JM
119612013-10-12 Joseph Myers <joseph@codesourcery.com>
11962
b7ea74f0
JM
11963 [BZ #16036]
11964 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
11965 signaling NaN arguments.
11966 * soft-fp/unordsf2.c (__unordsf2): Likewise.
11967 * soft-fp/unordtf2.c (__unordtf2): Likewise.
11968
8a509447
JM
11969 [BZ #14910]
11970 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
11971 unordered operands.
11972 * soft-fp/gesf2.c (__gesf2): Likewise.
11973 * soft-fp/getf2.c (__getf2): Likewise.
11974 * soft-fp/ledf2.c (__ledf2): Likewise.
11975 * soft-fp/lesf2.c (__lesf2): Likewise.
11976 * soft-fp/letf2.c (__letf2): Likewise.
11977
98998e9f
JM
11978 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
11979 * soft-fp/eqsf2.c (__eqsf2): Likewise.
11980 * soft-fp/eqtf2.c (__eqtf2): Likewise.
11981 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
11982 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
11983 * soft-fp/fixdfti.c (__fixdfti): Likewise.
11984 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
11985 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
11986 * soft-fp/fixsfti.c (__fixsfti): Likewise.
11987 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
11988 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
11989 * soft-fp/fixtfti.c (__fixtfti): Likewise.
11990 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
11991 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
11992 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
11993 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
11994 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
11995 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
11996 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
11997 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
11998 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
11999 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12000 * soft-fp/floatdisf.c (__floatdisf): Likewise.
12001 * soft-fp/floatsisf.c (__floatsisf): Likewise.
12002 * soft-fp/floattidf.c (__floattidf): Likewise.
12003 * soft-fp/floattisf.c (__floattisf): Likewise.
12004 * soft-fp/floattitf.c (__floattitf): Likewise.
12005 * soft-fp/floatundidf.c (__floatundidf): Likewise.
12006 * soft-fp/floatundisf.c (__floatundisf): Likewise.
12007 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12008 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12009 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12010 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12011 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12012 * soft-fp/gesf2.c (__gesf2): Likewise.
12013 * soft-fp/getf2.c (__getf2): Likewise.
12014 * soft-fp/ledf2.c (__ledf2): Likewise.
12015 * soft-fp/lesf2.c (__lesf2): Likewise.
12016 * soft-fp/letf2.c (__letf2): Likewise.
12017
8edc4a11
JM
12018 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12019 Undefine and redefine.
12020 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12021 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12022 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12023 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12024 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12025 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12026 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12027 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12028 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12029 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12030 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12031 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12032 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12033 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12034 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12035
8399acaf
JM
12036 [BZ #16032]
12037 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12038 without decrementing exponent if mantissa >= that for the
12039 denominator, not >.
12040 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12041 denominator, not >. Decrement exponent in < case instead of
12042 incrementing in >= case.
12043 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12044 without decrementing exponent if mantissa >= that for the
12045 denominator, not >.
12046
99fd9f47
JM
12047 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12048 computing saturated result for unsigned overflow.
12049
10e1cf6b
SP
120502013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12051 Jeff Law <law@redhat.com>
12052
12053 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12054 (atan2Mp): Add systemtap probe marker.
12055 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12056 (__ieee754_log): Add systemtap probe marker.
12057 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12058 (atanMp): Add systemtap probe marker.
12059 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12060 (tanMp): Add systemtap probe marker.
12061 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12062 (__slowexp): Add systemtap probe marker.
12063 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12064 (__slowpow): Add systemtap probe marker.
12065 * manual/probes.texi: Document probes.
12066
3d110c7c
EB
120672013-10-11 Eric Biggers <ebiggers3@gmail.com>
12068
12069 [BZ #15362]
12070 * libio/fileops.c (_IO_new_file_write): Return count of bytes
12071 written.
12072 (_IO_new_file_xsputn): Don't return EOF if nothing has been
12073 written.
12074 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12075 written to buffer but not flushed.
12076 * libio/iofwrite_u.c: Likewise.
12077 * libio/iopadn.c: Return bytes returned even if EOF was
12078 encountered.
12079 * libio/iowpadn.c: Likewise.
12080 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12081 if _IO_padn does not write the whole buffer.
12082 [!COMPILE_WPRINTF] (PAD): Likewise.
12083
75b4202a
DM
120842013-10-10 David S. Miller <davem@davemloft.net>
12085
12086 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12087 directory block.
12088
6c6352e6
JM
120892013-10-10 Joseph Myers <joseph@codesourcery.com>
12090
33b853c3
JM
12091 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
12092 instead of FSF address.
12093 * soft-fp/fixdfti.c: Likewise.
12094 * soft-fp/fixsfti.c: Likewise.
12095 * soft-fp/fixtfti.c: Likewise.
12096 * soft-fp/fixunsdfti.c: Likewise.
12097 * soft-fp/fixunssfti.c: Likewise.
12098 * soft-fp/fixunstfti.c: Likewise.
12099 * soft-fp/floattidf.c: Likewise.
12100 * soft-fp/floattisf.c: Likewise.
12101 * soft-fp/floattitf.c: Likewise.
12102 * soft-fp/floatuntidf.c: Likewise.
12103 * soft-fp/floatuntisf.c: Likewise.
12104 * soft-fp/floatuntitf.c: Likewise.
12105 * soft-fp/trunctfxf2.c: Likewise.
12106
6c6352e6
JM
12107 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
12108 * soft-fp/fixdfti.c: Likewise.
12109 * soft-fp/fixsfti.c: Likewise.
12110 * soft-fp/fixtfti.c: Likewise.
12111 * soft-fp/fixunsdfti.c: Likewise.
12112 * soft-fp/fixunssfti.c: Likewise.
12113 * soft-fp/fixunstfti.c: Likewise.
12114 * soft-fp/floattidf.c: Likewise.
12115 * soft-fp/floattisf.c: Likewise.
12116 * soft-fp/floattitf.c: Likewise.
12117 * soft-fp/floatuntidf.c: Likewise.
12118 * soft-fp/floatuntisf.c: Likewise.
12119 * soft-fp/floatuntitf.c: Likewise.
12120 * soft-fp/trunctfxf2.c: Likewise.
12121
3bf78b71
DM
121222013-10-10 David S. Miller <davem@davemloft.net>
12123
12124 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12125
6f10289e
JM
121262013-10-10 Joseph Myers <joseph@codsourcery.com>
12127
bd878fc0
JM
12128 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12129 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12130 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12131 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12132 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12133 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12134 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12135
6f10289e
JM
12136 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12137 for NaNs before doing comparisons on argument.
12138 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12139 Likewise.
12140
321e2684
WN
121412013-10-10 Will Newton <will.newton@linaro.org>
12142
12143 * malloc/hooks.c (memalign_check): Ensure the value of bytes
12144 passed to _int_memalign does not overflow.
12145
40fefba1
TR
121462013-10-10 Torvald Riegel <triegel@redhat.com>
12147
12148 * scripts/bench.pl: Add include-sources directive.
12149 * benchtests/README: Update documentation.
12150
2ae21ed2
JM
121512013-10-10 Joseph Myers <joseph@codesourcery.com>
12152
dcc2dd3f
JM
12153 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12154 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12155 instead of FP_INIT_ROUNDMODE.
12156 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12157 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12158
2ae21ed2
JM
12159 [BZ #16034]
12160 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
12161 copy class of input value.
12162 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
12163 not handle exceptions.
12164 * soft-fp/negsf2.c (__negsf2): Likewise.
12165 * soft-fp/negtf2.c (__negtf2): Likewise.
12166 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12167
cb8f9562
JM
121682013-10-09 Joseph Myers <joseph@codesourcery.com>
12169
12170 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12171 semicolon. From Linux kernel.
12172
5b60c59d
AB
121732013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
12174
12175 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12176
b86835ca
YC
121772013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
12178
12179 [BZ #156]
12180 * manual/socket.texi: Added statement about buffer
12181 for gethostbyname2_r.
12182
e7044ea7
OB
121832013-10-08 Ondřej Bílka <neleai@seznam.cz>
12184
12185 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12186 Use .p2align directive instead, throughout.
12187 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12188 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12189 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12190 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12191 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12192 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12193 * sysdeps/x86_64/strchr.S: Likewise.
12194 * sysdeps/x86_64/strrchr.S: Likewise.
12195
09544cbc
SP
121962013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12197
88576635
SP
12198 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12199
e7b2d1dd
SP
12200 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12201
09544cbc
SP
12202 * sysdeps/generic/math_private.h (__mpsin1): Remove
12203 declaration.
12204 (__mpcos1): Likewise.
12205 (__mpsin): New argument __range_reduce.
12206 (__mpcos): Likewise.
12207 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12208 (slow): Use __mpsin and __mpcos.
12209 (slow1): Likewise.
12210 (slow2): Likewise.
12211 (sloww): Likewise.
12212 (sloww1): Likewise.
12213 (sloww2): Likewise.
12214 (bsloww): Likewise.
12215 (bsloww1): Likewise.
12216 (bsloww2): Likewise.
12217 (cslow2): Likewise.
12218 (csloww): Likewise.
12219 (csloww1): Likewise.
12220 (csloww2): Likewise.
12221 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12222 range_reduce. Merge in __mpsin1.
12223 (__mpcos): Likewise.
12224 (__mpsin1): Remove.
12225 (__mpcos1): Likewise.
12226
7602d070
JM
122272013-10-07 Joseph Myers <joseph@codesourcery.com>
12228
12229 * locale/loadlocale.c (_nl_intern_locale_data): Use
12230 LOCFILE_ALIGNED_P.
12231 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12232 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12233 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12234 obstack data is appropriately aligned.
12235 (obstack_int32_grow_fast): Likewise.
12236 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12237 * locale/programs/locfile.c (add_locale_uint32): Likewise.
12238 (add_locale_uint32_array): Likewise.
12239
a357259b
SP
122402013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12241
12242 * benchtests/Makefile: Remove ARGLIST and RET variables.
12243 ($(objpfx)bench-%.c): Pass only function name to the script.
12244 * benchtests/README: Update documentation.
12245 * benchtests/acos-inputs: Add new directives.
12246 * benchtests/acosh-inputs: Likewise.
12247 * benchtests/asin-inputs: Likewise.
12248 * benchtests/asinh-inputs: Likewise.
12249 * benchtests/atan-inputs: Likewise.
12250 * benchtests/atanh-inputs: Likewise.
12251 * benchtests/cos-inputs: Likewise.
12252 * benchtests/cosh-inputs: Likewise.
12253 * benchtests/exp-inputs: Likewise.
12254 * benchtests/log-inputs: Likewise.
12255 * benchtests/pow-inputs: Likewise.
12256 * benchtests/rint-inputs: Likewise.
12257 * benchtests/sin-inputs: Likewise.
12258 * benchtests/sinh-inputs: Likewise.
12259 * benchtests/tan-inputs: Likewise.
12260 * benchtests/tanh-inputs: Likewise.
12261 * scripts/bench.pl: Add support for new directives.
12262
9ec1b13d
AM
122632013-10-07 Alan Modra <amodra@gmail.com>
12264
12265 * README: Fix careless merge.
12266
8b7d57cd
AM
122672013-10-05 Alan Modra <amodra@gmail.com>
12268
12269 * NEWS: Mention powerpc64le support and bugs fixed.
12270 * README: Both big-endian and little-endian powerpc64 supported.
12271
7b7bab13
ST
122722013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12273
57f41c40
AS
12274 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12275 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
12276 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12277 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12278
d39baad1
RA
122792013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
12280
12281 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12282 match prototype.
12283
cd78f7e7
JM
122842013-10-04 Joseph Myers <joseph@codesourcery.com>
12285
29d73d86
JM
12286 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12287 Move -mhard-float appending from
12288 ports/sysdeps/powerpc/powerpc32/Makefile.
12289 [$(with-fp) = yes] (ASFLAGS): Likewise.
12290 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12291 * sysdeps/powerpc/nofpu: Move directory from
12292 ports/sysdeps/powerpc/nofpu.
12293 * sysdeps/powerpc/soft-fp: Move directory from
12294 ports/sysdeps/powerpc/soft-fp.
12295 * sysdeps/powerpc/powerpc32/405: Move directory from
12296 ports/sysdeps/powerpc/powerpc32/405.
12297 * sysdeps/powerpc/powerpc32/440: Move directory from
12298 ports/sysdeps/powerpc/powerpc32/440.
12299 * sysdeps/powerpc/powerpc32/464: Move directory from
12300 ports/sysdeps/powerpc/powerpc32/464.
12301 * sysdeps/powerpc/powerpc32/476: Move directory from
12302 ports/sysdeps/powerpc/powerpc32/476.
12303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12304 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12306 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12308 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12310 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12312 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12313 * README: Update for powerpc-*-linux-gnu software floating point
12314 support in libc.
12315
e246b347
JM
12316 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12317 case to powerpc/powerpc32*.
12318 * sysdeps/unix/sysv/linux/configure: Regenerated.
12319
89c2003e
JM
12320 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12321 (_FPU_MASK_OM): Define as 0x04.
12322 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12323 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12324 0x00c10080.
12325 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12326 0x0000003c.
12327 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12328
cd78f7e7
JM
12329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12330 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12331 getcontext_e500.
12332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12333 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12334 setcontext_e500.
12335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12336 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12337 and setcontext_e500.
12338
c755294d
CL
123392013-10-04 Chris Leonard <cjl@sugarlabs,.org>
12340
12341 * locale/iso-3166.def: Update iso-1366.def and related occurrences
12342
e16d221c
SP
123432013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12344
12345 * manual/threads.texi (Default Thread Attributes): Fix typo.
12346
215c7d43
WN
123472013-10-04 Will Newton <will.newton@linaro.org>
12348
12349 * malloc/Makefile: Add tst-memalign.
12350 * malloc/tst-memalign.c: New file.
12351
27d0461b
WN
12352 * malloc/tst-posix_memalign.c: Add comments.
12353 (do_test): Add comments and call free on all potentially
12354 allocated pointers. Add space after cast.
12355
1bc92709
WN
12356 * malloc/tst-pvalloc.c: Add comments.
12357 (do_test): Add comments and call free on all potentially
12358 allocated pointers. Remove duplicate check for NULL pointer.
12359 Add space after cast.
12360
66a9be9d
WN
12361 * malloc/tst-valloc.c: Add comments.
12362 (do_test): Add comments and call free on all potentially
12363 allocated pointers. Remove duplicate check for NULL pointer.
12364 Add space after cast.
12365
4cb81307
AM
123662013-10-04 Alan Modra <amodra@gmail.com>
12367
12368 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12369 Use stdint types in rather than __attribute__((mode())).
12370 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12371
f8e3e9f3
AM
123722013-10-04 Alan Modra <amodra@gmail.com>
12373
12374 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12375 Correct handling of unaligned relocs for little-endian.
12376 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12377
8f9ebb08
AM
123782013-10-04 Alan Modra <amodra@gmail.com>
12379
12380 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12381 * configure: Regenerate.
12382 * nptl/shlib-versions: Powerpc*le starts at 2.18.
12383 * shlib-versions: Likewise.
12384
0edf96c2
AM
123852013-10-04 Alan Modra <amodra@gmail.com>
12386
12387 * string/tester.c (test_memrchr): Increment reported test cycle.
12388
e0f7a380
AM
123892013-10-04 Alan Modra <amodra@gmail.com>
12390
12391 * string/test-memcpy.c (do_one_test): When reporting errors, print
12392 string address and don't overrun end of string.
12393
466b0393
AM
123942013-10-04 Alan Modra <amodra@gmail.com>
12395
12396 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12397 insrdi. Make better use of reg selection to speed exit slightly.
12398 Schedule entry path a little better. Remove useless "are we done"
12399 checks on entry to main loop. Handle wrapping around zero address.
12400 Correct main loop count. Handle single left-over word from main
12401 loop inline rather than by using loop_small. Remove extra word
12402 case in loop_small caused by wrong loop count. Add little-endian
12403 support.
12404 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12405 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
12406 cache hint.
12407 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12408 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12409 support. Avoid rlwimi.
12410 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12411
3be87c77
AM
124122013-10-04 Alan Modra <amodra@gmail.com>
12413
12414 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 12415 insrdi. Formatting.
3be87c77
AM
12416 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12417 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12418 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12419 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12420 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12421 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12422
759cfef3
AM
124232013-10-04 Alan Modra <amodra@gmail.com>
12424
12425 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12426 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12427 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12428 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12429 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12430 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12431 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12432 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12433 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
12434 use of regs. Use power7 mtocrf. Tidy function tails.
12435
fe6e95d7
AM
124362013-10-04 Alan Modra <amodra@gmail.com>
12437
12438 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12439 Formatting. Consistently use rXXX register defines or rN defines.
12440 Use early exit labels that avoid restoring unused non-volatile regs.
12441 Make cr field use more consistent with rWORDn compares. Rename
12442 regs used as shift registers for unaligned loop, using rN defines
12443 for short lifetime/multiple use regs.
12444 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12445 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
12446 addi 1,1,64 to pop stack frame. Simplify return value code.
12447 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12448
664318c3
AM
124492013-10-04 Alan Modra <amodra@gmail.com>
12450
12451 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
12452 support. Correct typos, formatting. Optimize tail. Use insrdi
12453 rather than rlwimi.
12454 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
12455 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
12456 little-endian support. Correct typos.
12457 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
12458 rather than rlwimi.
12459 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
12460 in loop and entry code to keep "and." results.
12461 (strchr): Add little-endian support. Comment. Move cntlzd
12462 earlier in tail.
12463 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
12464
43b84013
AM
124652013-10-04 Alan Modra <amodra@gmail.com>
12466
12467 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
12468 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
12469 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12470 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
12471
8a7413f9
AM
124722013-10-04 Alan Modra <amodra@gmail.com>
12473
12474 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
12475 (rTMP): Define as r11.
12476 (strcmp): Add little-endian support. Optimise tail.
12477 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
12478 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12479 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12480 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12481 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12482 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12483 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12484
33ee81de
AM
124852013-10-04 Alan Modra <amodra@gmail.com>
12486
12487 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
12488 little-endian support. Remove unnecessary "are we done" tests.
12489 Handle "s" wrapping around zero and extremely large "size".
12490 Correct main loop count. Handle single left-over word from main
12491 loop inline rather than by using small_loop. Correct comments.
12492 Delete "zero" tail, use "end_max" instead.
12493 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
12494
db9b4570
AM
124952013-10-04 Alan Modra <amodra@gmail.com>
12496
12497 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
12498 support. Don't branch over align.
12499 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
12500 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
12501 support. Rearrange tmp reg use to suit. Comment.
12502 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
12503
f7c399cf
AM
125042013-10-04 Alan Modra <amodra@gmail.com>
12505
12506 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
12507
0b2c2ace
AM
125082013-10-04 Alan Modra <amodra@gmail.com>
12509
12510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
12511 conditional form of branch and link when obtaining pc.
12512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12513
02f04a6c
AM
125142013-10-04 Alan Modra <amodra@gmail.com>
12515
12516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
12517 HIWORD/LOWORD.
12518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
12519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
12520
9b874b2f
AM
125212013-10-04 Alan Modra <amodra@gmail.com>
12522
12523 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
12524 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
12525 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12526 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
12527 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12528 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12529 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
12530 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12531 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12532 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
12533
be1e5d31
AB
125342013-10-04 Anton Blanchard <anton@au1.ibm.com>
12535 Alistair Popple <alistair@ozlabs.au.ibm.com>
12536 Alan Modra <amodra@gmail.com>
12537
12538 [BZ #15723]
12539 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
12540 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
12541 _dl_hwcap access for little-endian.
12542 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
12543 destroy vmx regs when saving unaligned.
12544 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
12545 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
12546 destroy vmx regs when saving unaligned.
12547
fef13a78
AM
125482013-10-04 Alan Modra <amodra@gmail.com>
12549
12550 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
12551 Don't use a union to pack hi/low value.
12552
76a66d51
AB
125532013-10-04 Anton Blanchard <anton@au1.ibm.com>
12554
12555 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
12556 for little-endian.
12557 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12558 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
12559 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12560 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12561 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12562
6a31fe7f
AM
125632013-10-04 Alan Modra <amodra@gmail.com>
12564
12565 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
12566 constants to usual value for .cst8 section, and remove redundant
12567 high address load.
12568 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
12569 constant for 0x1p52. Load little-endian words of double from
12570 correct stack offsets.
12571
7b88401f
AM
125722013-10-04 Alan Modra <amodra@gmail.com>
12573
12574 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
12575 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
12576 words of double from correct stack offsets.
12577 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12578 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
12579 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12580 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12581 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12582 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12583 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12584 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12585 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12586 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12587 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12588 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12589 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12590 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12591 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12592 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
12593 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12594
9c008155
AM
125952013-10-04 Alan Modra <amodra@gmail.com>
12596
12597 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
12598 64-bit int/double union.
12599 (_FPU_SETCW): Likewise.
12600 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
12601 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
12602
da13146d
AM
126032013-10-04 Alan Modra <amodra@gmail.com>
12604
12605 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
12606 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
12607
603e8410
AM
126082013-10-04 Alan Modra <amodra@gmail.com>
12609
12610 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
12611 use vector int constants.
12612 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
12613
4a28b3ca
AB
126142013-10-04 Anton Blanchard <anton@au1.ibm.com>
12615
12616 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
12617 array with long long.
12618 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
12619 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
12620 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
12621 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
12622 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
12623 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
12624 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
12625 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
12626 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
12627 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
12628 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
12629 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
12630 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
12631
2ca85d2b
AB
126322013-10-04 Anton Blanchard <anton@au1.ibm.com>
12633
12634 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
12635 (__signbit): Likewise. Correct for little-endian.
12636 (__signbitl): Call __signbit.
12637 (lrint): Correct for little-endian.
12638 (lrintf): Call lrint.
12639
62a728ae
AM
126402013-10-04 Alan Modra <amodra@gmail.com>
12641
12642 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
12643 union 32-bit int array member with 64-bit int array.
12644 (t515, tm256): Double rather than long double.
12645 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
12646
32c301df
AM
126472013-10-04 Alan Modra <amodra@gmail.com>
12648
12649 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
12650 Delete.
12651 (IEEE854_LONG_DOUBLE_BIAS): Delete.
12652 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
12653 version of math_ldbl.h.
12654
650ef4bd
AM
126552013-10-04 Alan Modra <amodra@gmail.com>
12656
12657 [BZ #15734], [BZ #15735]
12658 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
12659 all uses of ieee875 long double macros and unions. Simplify test
12660 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
12661 ldbl_extract_mantissa value for ix,iy exponents. Properly
12662 normalize after ldbl_extract_mantissa, and don't add hidden bit
12663 already handled. Don't treat low word of ieee854 mantissa like
12664 low word of IBM long double and mask off bit when testing for
12665 zero.
12666 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
12667 all uses of ieee875 long double macros and unions. Simplify tests
12668 for 0.0L and inf. Correct double adjustment of k. Delete dead code
12669 adjusting ha,hb. Simplify code setting kld. Delete two600 and
12670 two1022, instead use their values. Recognise that tests for large
12671 "a" and small "b" are mutually exclusive. Rename vars. Comment.
12672 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
12673 Rewrite all uses of ieee875 long double macros and unions. Simplify
12674 test for 0.0L and nan. Correct negation.
12675 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
12676 ieee875 long double macros and unions. Correct output for large
12677 magnitude x. Correct absolute value calculation.
12678 (__erfcl): Likewise.
12679 * math/libm-test.inc: Add tests for errors discovered in IBM long
12680 double versions of fmodl, remainderl, erfl and erfcl.
12681
765714ca
AM
126822013-10-04 Alan Modra <amodra@gmail.com>
12683
12684 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
12685 all uses of ieee854 long double macros and unions. Simplify tests
12686 for long doubles that are fully specified by the high double.
12687 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12688 Likewise.
12689 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
12690 Remove dead code too.
12691 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12692 (__ieee754_ynl): Likewise.
12693 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12694 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
12695 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12696 Remove dead code too.
12697 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12698 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12699 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12700 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
12701 Simplify.
12702 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
12703 Simplify.
12704 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
12705 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
12706 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
12707 Comment on variable precision.
12708 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
12709 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12710 Likewise.
12711 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12712 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12713 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12714 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12715 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
12716
4ebd120c
AM
127172013-10-04 Alan Modra <amodra@gmail.com>
12718
12719 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
12720 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
12721 all uses of ieee854 long double macros and unions.
12722 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12723 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12724 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
12725 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
12726 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12727 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12728 Likewise.
12729 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
12730 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12731 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
12732 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12733 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12734 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12735 Simplify sign and nan test too.
12736 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
12737 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
12738 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
12739 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
12740 Likewise.
12741 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12742 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
12743 Likewise.
12744 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12745 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12746 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
12747 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
12748 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
12749 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
12750
1b6adf88
AM
127512013-10-04 Alan Modra <amodra@gmail.com>
12752
12753 * stdio-common/printf_size.c (__printf_size): Don't use
12754 union ieee854_long_double in fpnum union.
12755 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
12756 signbit macro to retrieve sign from long double.
12757 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
12758 retrieve sign from long double.
12759 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
12760 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
12761 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
12762 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12763 * math/test-misc.c (main): Don't use union ieee854_long_double.
12764
4cf69995
AM
127652013-10-04 Alan Modra <amodra@gmail.com>
12766
12767 [BZ #15680]
12768 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
12769 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
12770 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
12771 calculation. Remove unnecessary test for denormal exponent.
12772 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
12773 Correct handling of denormals. Avoid undefined shift behaviour.
12774 Correct normalisation of low mantissa when low double is denormal.
12775 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
12776 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
12777 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
12778 Correct normalisation of low mantissa. Test for overflow of high
12779 mantissa and normalise.
12780 (ldbl_nearbyint): Use more readable constant for two52.
12781 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
12782 (__mpn_construct_long_double): Fix test for overflow of high
12783 mantissa and correct normalisation. Avoid undefined shift.
12784
9605ca6c
AM
127852013-10-04 Alan Modra <amodra@gmail.com>
12786
12787 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12788 (union ibm_extended_long_double): Define as an array of ieee754_double.
12789 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
12790 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
12791 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
12792 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12793 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12794 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
12795 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12796 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12797 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12798 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
12799 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12800
975569d0
JM
128012013-10-03 Joseph Myers <joseph@codesourcery.com>
12802
d3d23756
JM
12803 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
12804 page size instead of calling getpagesize.
12805
975569d0
JM
12806 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
12807 (LOCFILE_ALIGN_MASK): Likewise.
12808 (LOCFILE_ALIGN_UP): Likewise.
12809 (LOCFILE_ALIGNED_P): Likewise.
12810 * locale/programs/ld-collate.c (collate_output): Use the new
12811 macros instead of __alignof__ (int32_t).
12812 * locale/weight.h (findidx): Likewise.
12813
b1fe1f2b
OB
128142013-10-03 Ondřej Bílka <neleai@seznam.cz>
12815
12816 [BZ #431]
12817 * manual/string.texi: Fix strncat and wcsncat.
12818
5f855e35
BM
128192013-10-03 Brooks Moses <bmoses@google.com>
12820
12821 [BZ #15915]
12822 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
12823 * Makerules: ...here, and adjust associated comments.
12824
3cef6009
WN
128252013-10-02 Will Newton <will.newton@linaro.org>
12826
12827 * malloc/Makefile: Add tst-pvalloc.
12828 * malloc/tst-pvalloc.c: New file.
12829
7815420b
WN
128302013-10-02 Will Newton <will.newton@linaro.org>
12831
12832 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
12833 improve test coverage.
12834
4868b204
WN
128352013-10-02 Will Newton <will.newton@linaro.org>
12836
12837 * malloc/Makefile: Add tst-posix_memalign.
12838 * malloc/tst-posix_memalign.c: New file.
12839
29c793b3
EB
128402013-10-01 Eric Blake <eblake@redhat.com>
12841
12842 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
12843 Use __THROWNL rather than __THROW on static functions.
12844
fd967522
PM
128452013-09-30 Petr Machata <pmachata@redhat.com>
12846
12847 * elf/elf.h (R_AARCH64_ABS16): New macro.
12848 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
12849 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
12850 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
12851 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
12852 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
12853 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
12854 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
12855 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
12856 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
12857 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
12858 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
12859 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
12860 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
12861 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
12862 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
12863 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
12864 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
12865 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
12866 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
12867 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
12868 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
12869 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
12870 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
12871 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
12872 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
12873 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
12874 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
12875 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
12876 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
12877 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
12878 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
12879 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
12880 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
12881 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
12882 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
12883 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
12884 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
12885 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
12886 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
12887 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
12888 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
12889 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
12890 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
12891 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
12892 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
12893 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
12894 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
12895 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
12896 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
12897 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
12898 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
12899 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
12900 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
12901 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
12902 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
12903 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
12904 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
12905 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
12906 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
12907 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
12908 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
12909 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
12910 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
12911 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
12912 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
12913 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
12914 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
12915 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
12916 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
12917 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
12918 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
12919 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
12920 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
12921 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
12922 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
12923 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
12924 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
12925 (R_AARCH64_TLSDESC_LDR): Likewise.
12926 (R_AARCH64_TLSDESC_ADD): Likewise.
12927 (R_AARCH64_TLSDESC_CALL): Likewise.
12928
b2179107
AS
129292013-09-30 Andreas Schwab <schwab@suse.de>
12930
12931 [BZ #15048]
12932 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
12933 the nss database lookup.
12934 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12935 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12936
47f28d0a
MF
129372013-09-28 Mike Frysinger <vapier@gentoo.org>
12938
12939 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
12940
129412013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
12942
12943 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
12944 ${Bash-specific parameter/pattern/string} parameter expansion.
12945 * sysdeps/unix/make-syscalls.sh: Likewise.
12946
f4518a17
KK
129472013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12948
12949 * sysdeps/sh/stackguard-macros.h: New file.
12950
dc1a95c7
OB
129512013-09-26 Ondřej Bílka <neleai@seznam.cz>
12952
12953 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12954 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
12955 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
12956 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
12957 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12958 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
12959
5ebbff8f
AZ
129602013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12961
12962 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
12963 Fix thread ID register.
12964
4fd2cf9f
JM
129652013-09-25 Joseph Myers <joseph@codesourcery.com>
12966
12967 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
12968 [POSIX || UNIX98]: Require rather than permitting all symbols from
12969 <time.h>.
12970 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
12971 element of struct sched_param.
12972 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
12973 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
12974 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
12975 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
12976 constant.
12977
12c22bc4
OL
129782013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
12979
12980 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
12981 argument calculation.
12982
a03d8ea7
JM
129832013-09-24 Joseph Myers <joseph@codesourcery.com>
12984
12985 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
12986 Expect macro.
12987 [POSIX] (pthread_attr_t): Do not require type.
12988 [POSIX] (pthread_cond_t): Likewise.
12989 [POSIX] (pthread_condattr_t): Likewise.
12990 [POSIX] (pthread_key_t): Likewise.
12991 [POSIX] (pthread_mutex_t): Likewise.
12992 [POSIX] (pthread_mutexattr_t): Likewise.
12993 [POSIX] (pthread_once_t): Likewise.
12994 [POSIX] (pthread_t): Likewise.
12995 [POSIX-based standards] (pthread_atfork): Expect function.
12996
6055173a
JM
129972013-09-24 Joseph Myers <joseph@codesourcery.com>
12998 Richard Sandiford <richard@codesourcery.com>
12999
13000 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13001 (swap_endianness_p): New extern variable.
13002 (set_big_endian): New inline function.
13003 (maybe_swap_uint32): Likewise.
13004 (maybe_swap_uint32_array): Likewise.
13005 (maybe_swap_uint32_obstack): Likewise.
13006 * locale/programs/locfile.c: Include <stdbool.h>.
13007 (swap_endianness_p): New variable.
13008 (add_locale_uint32): Call maybe_swap_uint32.
13009 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13010 (write_locale_data): Call maybe_swap_uint32_array.
13011 * locale/programs/ld-collate.c (obstack_int32_grow): Call
13012 maybe_swap_uint32.
13013 (obstack_int32_grow_fast): Likewise.
13014 (output_weightwc): Call maybe_swap_uint32_obstack.
13015 (collate_output): Likewise.
13016 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13017 (OPT_LITTLE_ENDIAN): Likewise.
13018 (options): Add --little-endian and --big-endian options.
13019 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13020 * locale/programs/locarchive.c: Include "locfile.h".
13021 (GET): New macro.
13022 (SET): Likewise.
13023 (INC): Likewise.
13024 (create_archive): Use the new macros to access fields of
13025 structures directly mapped from or written to locale archives.
13026 (oldlocrecentcmp): Likewise.
13027 (enlarge_archive): Likewise.
13028 (insert_name): Likewise.
13029 (add_alias): Likewise.
13030 (add_locale): Likewise.
13031 (delete_locales_from_archive): Likewise.
13032 (show_archive_content): Likewise.
13033 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
13034 locale data.
13035
39bf0bb4
RM
130362013-09-24 Roland McGrath <roland@hack.frob.com>
13037
13038 * manual/freemanuals.texi: Updated from (newly) canonical copy at
13039 http://www.gnu.org/doc/freemanuals.texi.
13040 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13041
f02eed10
WN
130422013-09-24 Will Newton <will.newton@linaro.org>
13043
13044 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13045 macro.
13046
a3a6c312
JM
130472013-09-23 Joseph Myers <joseph@codesourcery.com>
13048
13049 * locale/hashval.h (compute_hashval): Interpret bytes of key as
13050 unsigned char.
13051
107375ac
MR
130522013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
13053
13054 * manual/threads.texi (POSIX Threads): Fix a typo.
13055
141f3a77
SP
130562013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13057
303e567a
SP
13058 [BZ #14547]
13059 * string/tst-strcoll-overflow.c: New test case.
13060 * string/Makefile (xtests): Add tst-strcoll-overflow.
13061 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13062 cache if string sizes may cause integer overflow.
13063
141f3a77
SP
13064 [BZ #14547]
13065 * string/strcoll_l.c (coll_seq): New members rule, idx,
13066 save_idx and back_us.
13067 (get_next_seq_nocache): New function.
13068 (do_compare_nocache): New function.
13069 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13070 when malloc fails.
13071
c61b4d41
CD
130722013-09-23 Carlos O'Donell <carlos@redhat.com>
13073
0b1f8e35
CD
13074 [BZ #15754]
13075 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13076 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13077 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13078
c61b4d41
CD
13079 [BZ #15754]
13080 * elf/Makefile (tests): Add tst-ptrguard1.
13081 (tests-static): Add tst-ptrguard1-static.
13082 (tst-ptrguard1-ARGS): Define.
13083 (tst-ptrguard1-static-ARGS): Define.
13084 * elf/tst-ptrguard1.c: New file.
13085 * elf/tst-ptrguard1-static.c: New file.
13086 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13087 * sysdeps/i386/stackguard-macros.h: Likewise.
13088 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13089 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13090 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13091 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13092 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13093 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13094
130952013-09-23 Hector Marco <hecmargi@upv.es>
13096 Ismael Ripoll <iripoll@disca.upv.es>
13097 Carlos O'Donell <carlos@redhat.com>
13098
13099 [BZ #15754]
13100 * sysdeps/generic/stackguard-macros.h: Define
13101 __pointer_chk_guard_local and POINTER_CHK_GUARD.
13102 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13103 Define __pointer_chk_guard_local.
13104 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13105 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13106
f5f4e7b4
VV
131072013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
13108
13109 [BZ #15859]
13110 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13111
5bb43a43
AS
131122013-09-20 Andreas Schwab <schwab@linux-m68k.org>
13113
13114 * include/string.h (__ffs): Declare as hidden.
13115 * string/ffs.c (__ffs): Define as hidden.
13116 * sysdeps/i386/ffs.c (__ffs): Likewise.
13117 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13118 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13119 * sysdeps/s390/ffs.c (__ffs): Likewise.
13120 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13121
3ea5be54
AO
131222013-09-20 Alexandre Oliva <aoliva@redhat.com>
13123
ffb89e53
AO
13124 * NEWS: Mention malloc probes.
13125
322dea08
AO
13126 * malloc/arena.c (new_heap): New memory_heap_new probe.
13127 (grow_heap): New memory_heap_more probe.
13128 (shrink_heap): New memory_heap_less probe.
13129 (heap_trim): New memory_heap_free probe.
13130 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13131 (systrim): New memory_sbrk_less probe.
13132 * manual/probes.texi: Document them.
13133
655673f3
AO
13134 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13135 * manual/probes.texi: Document it.
13136
35fed6f1
AO
13137 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13138 (__libc_realloc): Add memory_realloc_retry probe.
13139 (__libc_memalign): Add memory_memalign_retry probe.
13140 (__libc_valloc): Add memory_valloc_retry probe.
13141 (__libc_pvalloc): Add memory_pvalloc_retry probe.
13142 (__libc_calloc): Add memory_calloc_retry probe.
13143 * manual/probes.texi: Document them.
13144
6999d38c
AO
13145 * malloc/arena.c (get_free_list): Add probe
13146 memory_arena_reuse_free_list.
13147 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13148 and memory_arena_reuse.
13149 (arena_get2) [!PER_THREAD]: Likewise.
13150 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13151 memory_arena_reuse_realloc.
13152 * manual/probes.texi: Document them.
13153
0653427f
AO
13154 * malloc/malloc.c (__libc_free): Add
13155 memory_mallopt_free_dyn_thresholds probe.
13156 (__libc_mallopt): Add multiple memory_mallopt probes.
13157 * manual/probes.texi: Document them.
13158
3ea5be54
AO
13159 * malloc/malloc.c: Include stap-probe.h.
13160 (__libc_mallopt): Add memory_mallopt probe.
13161 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13162 * manual/probes.texi: New.
13163 * manual/Makefile (chapters): Add probes.
13164 * manual/threads.texi: Set next node.
13165
e35696c3 131662013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 13167
e35696c3
CL
13168 [BZ #15963, #13985]
13169 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13170 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13171 Add `Chinese' to `nan' entry name.
13172
4aafb73c
SP
131732013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13174
13175 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13176 (POLYNOMIAL): Likewise.
13177 (TAYLOR_SINCOS): Likewise.
13178 (TAYLOR_SLOW): Likewise.
13179 (__sin): Use TAYLOR_SINCOS.
13180 (__cos): Likewise.
13181 (slow): Use TAYLOR_SLOW.
13182 (sloww): Likewise.
13183 (bsloww): Likewise.
13184 (csloww): Likewise.
13185
d84f25c7
LD
131862013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13187
13188 * stdlib/strtod_l.c: Fix buffer overrun.
13189
5eea0404
SP
131902013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13191
7849ff93
SP
13192 * benchtests/Makefile (bench): Add sincos.
13193 * benchtests/bench-sincos.c: New file.
13194
cfa3c886
SP
13195 * math/libm-test.inc (cos_test_data): New test inputs.
13196 (sin_test_data): Likewise.
13197
b348e1e3
SP
13198 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13199 macro.
13200 (__sin): Use it.
13201 (__cos): Likewise.
13202 (slow1): Likewise.
13203 (slow2): Likewise.
13204 (sloww1): Likewise.
13205 (sloww2): Likewise.
13206 (bsloww1): Likewise.
13207 (bsloww2): Likewise.
13208 (cslow2): Likewise.
13209 (csloww1): Likewise.
13210 (csloww2): Likewise.
13211
6cce25f8
SP
13212 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13213 function.
13214 (__sin): Use it.
13215 (__cos): Likewise.
13216
5eea0404
SP
13217 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13218 gotos.
13219 (__cos): Likewise.
13220
9c21573c
MR
132212013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
13222
13223 * config.h.in (HAVE_MIPS_NAN2008): New macro.
13224 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13225 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13226 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13227 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13228 * elf/cache.c (print_entry): Handle the new cache flags.
13229
24d22e65
JM
132302013-09-18 Joseph Myers <joseph@codesourcery.com>
13231 Aldy Hernandez <aldyh@redhat.com>
13232
13233 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13234 Change condition to [_SOFT_FLOAT].
13235 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13236 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13237 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13238 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13239 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13240 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13241 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13242 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13243 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13244 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13245 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13246 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13247 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13248 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13249 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13250 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13251 declaration.
13252
d13ef066
JM
132532013-09-18 Joseph Myers <joseph@codesourcery.com>
13254
2e071de0
JM
13255 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13256 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13257 (__longjmp): Use LOAD_GP to load saved GPRs.
13258 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13259 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13260 (__sigsetjmp): Use SAVE_GP to save GPRs.
13261
d13ef066
JM
13262 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13263 Do not append -msoft-float.
13264 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13265
97a0650b
SP
132662013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13267
13268 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13269
11ca09e9
JM
132702013-09-17 Joseph Myers <joseph@codesourcery.com>
13271
13272 [BZ #15966]
13273 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13274 (_FPU_GETCW): Use initial "__" on variable and field names but not
13275 on macro parameter name.
13276 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
13277 parentheses around reference to macro parameter.
13278
08ffcf34
RS
132792013-09-13 Richard Sandiford <richard@codesourcery.com>
13280
13281 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13282 prototype.
13283 (ctype_startup): Use uint32_t in cast and sizeof for
13284 ctype->charnames.
13285
ae7080d3
JL
132862013-09-11 Jia Liu <proljc@gmail.com>
13287
13288 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13289 __daddr_t_defined.
13290 [__FreeBSD__]: Likewise.
13291
5905e7b3
OB
132922013-09-11 Ondřej Bílka <neleai@seznam.cz>
13293
13294 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13295 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13296 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13297 (strchr): Remove __strchr_sse42 ifunc selection.
13298 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13299 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13300
b987c776
WN
133012013-09-11 Will Newton <will.newton@linaro.org>
13302
13303 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13304 parameter to RES. Remove hardcoded 1000 value.
13305 * benchtests/bench-skeleton.c (main): Pass RES parameter
13306 to TIMING_INIT and multiply result by 1000.
13307
ddf985af
AZ
133082013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13309
13310 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13311
ffdd3181
AS
133122013-09-11 Andreas Schwab <schwab@suse.de>
13313
13314 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13315 if not defined.
13316 (O_TMPFILE) [__USE_GNU]: Define.
13317 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13318 Define.
13319
b73ed247
WN
133202013-09-11 Will Newton <will.newton@linaro.org>
13321
13322 [BZ #15857]
13323 * malloc/malloc.c (__libc_memalign): Check the value of bytes
13324 does not overflow.
13325
55e17aad
WN
133262013-09-11 Will Newton <will.newton@linaro.org>
13327
13328 [BZ #15856]
13329 * malloc/malloc.c (__libc_valloc): Check the value of bytes
13330 does not overflow.
13331
1159a193
WN
133322013-09-11 Will Newton <will.newton@linaro.org>
13333
13334 [BZ #15855]
13335 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13336 does not overflow.
13337
5905e7b3 133382013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
13339
13340 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13341 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13342 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13343 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13344 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13345
cdfc721b
AM
133462013-09-10 Allan McRae <allan@archlinux.org>
13347
aa04af00
AM
13348 [BZ #15748]
13349 * manual/arith.texi (Parsing of Floats): Clarify
13350 cross-reference.
13351
cdfc721b
AM
13352 [BZ #15849]
13353 * manual/install.texi (Running make install): Mention
13354 --enable-pt-chown.
13355 * INSTALL: Regenerated.
13356
95e7cf29
MR
133572013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13358
13359 * csu/init-first.c (_init): Remove the !SHARED condition around
13360 FPU control word initialization.
13361 * elf/dl-support.c (_dl_fpu_control): New variable.
13362 (_dl_aux_init) <AT_FPUCW>: Initialize it.
13363 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13364 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13365 * math/test-fpucw-static.c: New file.
13366 * math/test-fpucw-ieee.c: New file.
13367 * math/test-fpucw-ieee-static.c: New file.
13368 * math/Makefile (tests): Add `test-fpucw-ieee' and
13369 `$(tests-static)'.
13370 (tests-static): New variable.
13371 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13372 dependency to...
13373 [($(build-shared),yes)]
13374 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13375 ... this.
13376 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13377 New dependency.
13378
83e43bf0
AM
133792013-09-09 Allan McRae <allan@archlinux.org>
13380
a9f5ce09
AM
13381 [BZ #15939]
13382 * manual/string.texi (Collation Functions): Fix typo in
13383 strcoll example.
13384 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13385
34829bc2
AM
13386 [BZ #15893]
13387 * stdlib/isomac.c (get_null_defines): Fix memory leak.
13388
3932737d
AM
13389 [BZ #15892]
13390 * libio/memstream.c (open_memstream): Fix memory leak.
13391 * libio/wmemstream.c (open_wmemstream): Likewise.
13392
83e43bf0
AM
13393 [BZ #15895]
13394 * nscd/netgroupcache.c: Fix nesting of ifdefs.
13395
0c66b8e9
WN
133962013-09-09 Will Newton <will.newton@linaro.org>
13397
13398 * malloc/Makefile: Add tst-realloc to tests.
13399 * malloc/tst-realloc.c: New file.
13400
f6b00fd1
AM
134012013-09-09 Allan McRae <allan@archlinux.org>
13402
13403 [BZ #15844]
13404 * COPYING: Update from GNU website to fix FSF address.
13405 * COPYING.LIB: Likewise.
13406
eec55e16
DM
134072013-09-06 David S. Miller <davem@davemloft.net>
13408
13409 * po/zh_TW.po: Update Chinese (traditional) translation from
13410 translation project.
13411
1ecbb381
RS
134122013-09-06 Richard Sandiford <richard@codesourcery.com>
13413 Joseph Myers <joseph@codesourcery.com>
13414
13415 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13416 "localeinfo.h".
13417 (obstack_chunk_alloc): New macro.
13418 (obstack_chunk_free): Likewise.
13419 (record_offset): New function.
13420 (init_locale_data): Likewise.
13421 (align_locale_data): Likewise.
13422 (add_locale_empty): Likewise.
13423 (add_locale_raw_data): Likewise.
13424 (add_locale_raw_obstack): Likewise.
13425 (add_locale_string): Likewise.
13426 (add_locale_wstring): Likewise.
13427 (add_locale_uint32): Likewise.
13428 (add_locale_uint32_array): Likewise.
13429 (add_locale_char): Likewise.
13430 (start_locale_structure): Likewise.
13431 (end_locale_structure): Likewise.
13432 (start_locale_prelude): Likewise.
13433 (end_locale_prelude): Likewise.
13434 (write_locale_data): Take locale_file structure rather than an
13435 iovec.
13436 * locale/programs/locfile.h: Include "obstack.h".
13437 (struct locale_file): Change to store locale file contents instead
13438 of header.
13439 (init_locale_data): New prototype.
13440 (align_locale_data): Likewise.
13441 (add_locale_empty): Likewise.
13442 (add_locale_raw_data): Likewise.
13443 (add_locale_raw_obstack): Likewise.
13444 (add_locale_string): Likewise.
13445 (add_locale_wstring): Likewise.
13446 (add_locale_uint32): Likewise.
13447 (add_locale_uint32_array): Likewise.
13448 (add_locale_char): Likewise.
13449 (start_locale_structure): Likewise.
13450 (end_locale_structure): Likewise.
13451 (start_locale_prelude): Likewise.
13452 (end_locale_prelude): Likewise.
13453 (write_locale_data): Update prototype.
13454 * locale/programs/3level.h (struct TABLE): Remove result field.
13455 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
13456 Use new locale_file interface.
13457 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
13458 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
13459 * locale/programs/ld-address.c (address_output): Use new
13460 locale_file interface.
13461 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
13462 NO_ADD_LOCALE.
13463 (collate_finish): Don't call collseq_table_finalize.
13464 (collate_output): Use new locale_file interface.
13465 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
13466 in file.
13467 (NO_FINALIZE): Change to NO_ADD_LOCALE.
13468 (TABLE): Move defines earlier in file.
13469 (ELEMENT): Likewise.
13470 (DEFAULT): Likewise.
13471 (wctrans_table_add): Move macro and inline function earlier in
13472 file.
13473 (struct wctype_table): Move type earlier in file.
13474 (add_locale_wctype_table): New static prototype.
13475 (struct locale_ctype_t): Use logical types instead of struct iovec
13476 pointers for members.
13477 (ctype_output): Use new locale_file interface.
13478 (wctype_table_finalize): Change to add_locale_wctype_table. Use
13479 new locale_file interface.
13480 (allocate_arrays): Update for use of new locale_file interface.
13481 * locale/programs/ld-identification.c (identification_output): Use
13482 new locale_file interface.
13483 * locale/programs/ld-measurement.c (measurement_output): Likewise.
13484 * locale/programs/ld-messages.c (messages_output): Likewise.
13485 * locale/programs/ld-monetary.c (monetary_output): Likewise.
13486 * locale/programs/ld-name.c (name_output): Likewise.
13487 * locale/programs/ld-numeric.c (numeric_output): Likewise.
13488 * locale/programs/ld-paper.c (paper_output): Likewise.
13489 * locale/programs/ld-telephone.c (telephone_output): Likewise.
13490 * locale/programs/ld-time.c (time_output): Likewise.
13491
e029e2e5
AZ
134922013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13493
13494 * benchtests/Makefile: Add memrchr benchmark.
13495 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
13496 benchmark as memrchr.
13497 * benchtests/bench-memrchr-ifunc.c: New file.
13498 * benchtests/bench-memrchr.c: New file.
13499
bbf6e8e4
WN
135002013-09-06 Will Newton <will.newton@linaro.org>
13501
13502 * benchtests/Makefile (string-bench): Add memcpy.
13503
6c82a2f8
CD
135042013-09-05 Carlos O'Donell <carlos@redhat.com>
13505 Cong Wang <amwang@redhat.com>
13506
e732c5f0 13507 [BZ #15850]
6c82a2f8
CD
13508 * sysdeps/unix/sysv/linux/bits/in.h
13509 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
13510 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
13511 before __USE_KERNEL_IPV6_DEFS uses.
13512 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
13513 IPPROTO_BEETPH.
13514 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
13515 sockaddr_in6, or ipv6_mreq.
13516
5430fc65
AZ
135172013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13518
13519 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
13520 memory access for final bytes in some large inputs.
13521 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
13522
4660856c
AZ
135232013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13524
13525 * string/test-memrchr.c: New file.
13526 * string/test-memrchr-ifunc.c: New file.
13527 * string/Makefile: Add new memrchr testcase.
13528
bb8ea713
MF
135292013-09-05 Mike Frysinger <vapier@gentoo.org>
13530
13531 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
13532 fanotify_init returns EPERM.
13533
b92a20b5
JM
135342013-09-04 Joseph Myers <joseph@codesourcery.com>
13535
13536 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
13537 errors.
13538 (top level): Treat second token from macro or constant entries for
13539 allowed headers as allowed.
13540 * include/complex.h: Condition internal declarations on
13541 [!_ISOMAC].
13542 * include/fenv.h: Condition include of <stdbool.h> and internal
13543 declarations on [!_ISOMAC].
7447ccd9
CL
13544
135452013-09-04 Chris Leonard <cjl@sugarlabs,.org>
13546
3e181dda 13547 [BZ #15923]
7447ccd9
CL
13548 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
13549
3f2e46a4
JM
135502013-09-04 Joseph Myers <joseph@codesourcery.com>
13551
13552 * configure.in (--enable-versioning): Remove configure option.
13553 (libc_cv_asm_symver_directive): Remove configure test.
13554 (libc_cv_ld_version_script_option): Likewise.
13555 (VERSIONING): Remove variable and AC_SUBST.
13556 (DO_VERSIONING): Remove AC_DEFINE.
13557 * configure: Regenerated.
13558 * config.h.in (DO_VERSIONING): Remove macro.
13559 * Makerules [$(versioning) = yes]: Change conditionals to
13560 [$(build-shared) = yes].
13561 * config.make.in (versioning): Remove variable.
13562 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
13563 [$(build-shared) = yes].
13564 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
13565 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
13566 * elf/Makefile [$(versioning) = yes]: Change conditionals to
13567 [$(build-shared) = yes].
13568 * extra-lib.mk [$(versioning) = yes]: Likewise.
13569 * hurd/Makefile [$(versioning) = yes]: Likewise.
13570 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
13571 [SHARED].
13572 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
13573 [SHARED].
13574 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13575 [SHARED && !NO_HIDDEN].
13576 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
13577 [SHARED].
13578 [SHARED && DO_VERSIONING]: Likewise..
13579 * libio/Makefile [$(versioning) = yes]: Change conditionals to
13580 [$(build-shared) = yes].
13581 * manual/install.texi (--disable-versioning): Remove
13582 documentation.
13583 * INSTALL: Regenerated.
13584 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
13585 to [SHARED].
13586 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
13587 [$(build-shared) = yes].
13588 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
13589 * sysdeps/i386/i686/multiarch/strstr-c.c
13590 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13591 [SHARED && !NO_HIDDEN].
13592 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
13593 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
13594 * sysdeps/powerpc/powerpc32/dl-machine.c
13595 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
13596 * sysdeps/powerpc/powerpc32/sysdep.h
13597 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
13598 to [SHARED && PIC && !NO_HIDDEN].
13599 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
13600 conditional to [SHARED].
13601
44558701
WN
136022013-09-04 Will Newton <will.newton@linaro.org>
13603
13604 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
13605 * benchtests/bench-string.h: Include bench-timing.h instead
13606 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
13607 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
13608 call to HP_TIMING_DIFF_INIT.
13609 * benchtests/bench-memccpy.c: Use bench-timing.h macros
13610 instead of hp-timing.h macros.
13611 * benchtests/bench-memchr.c: Likewise.
13612 * benchtests/bench-memcmp.c: Likewise.
13613 * benchtests/bench-memcpy.c: Likewise.
13614 * benchtests/bench-memmem.c: Likewise.
13615 * benchtests/bench-memmove.c: Likewise.
13616 * benchtests/bench-memset.c: Likewise.
13617 * benchtests/bench-rawmemchr.c: Likewise.
13618 * benchtests/bench-strcasecmp.c: Likewise.
13619 * benchtests/bench-strcasestr.c: Likewise.
13620 * benchtests/bench-strcat.c: Likewise.
13621 * benchtests/bench-strchr.c: Likewise.
13622 * benchtests/bench-strcmp.c: Likewise.
13623 * benchtests/bench-strcpy.c: Likewise.
13624 * benchtests/bench-strcpy_chk.c: Likewise.
13625 * benchtests/bench-strlen.c: Likewise.
13626 * benchtests/bench-strncasecmp.c: Likewise.
13627 * benchtests/bench-strncat.c: Likewise.
13628 * benchtests/bench-strncmp.c: Likewise.
13629 * benchtests/bench-strncpy.c: Likewise.
13630 * benchtests/bench-strnlen.c: Likewise.
13631 * benchtests/bench-strpbrk.c: Likewise.
13632 * benchtests/bench-strrchr.c: Likewise.
13633 * benchtests/bench-strspn.c: Likewise.
13634 * benchtests/bench-strstr.c: Likewise.
13635
cae16d66
WN
136362013-09-04 Will Newton <will.newton@linaro.org>
13637
13638 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
13639
ffa3cd7f
JM
136402013-09-03 Joseph Myers <joseph@codesourcery.com>
13641
13642 [BZ #15427]
13643 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13644 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
13645 * math/libm-test.inc (lgamma_test_data): Add more tests.
13646 * sysdeps/i386/fpu/libm-test-ulps: Update.
13647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13648
8f02859f
OB
136492013-09-03 Ondřej Bílka <neleai@seznam.cz>
13650
13651 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
13652 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13653 Add ifunc.
13654 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13655 Add strcmp-sse2-unaligned
13656 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
13657
18d43716
MF
136582013-09-02 Mike Frysinger <vapier@gentoo.org>
13659
13660 * Versions.def (libc): Add GLIBC_2.19.
13661
ac444012
MF
136622013-09-02 Mike Frysinger <vapier@gentoo.org>
13663
13664 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
13665 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
13666
b7835e32
JM
136672013-09-02 Joseph Myers <joseph@codesourcery.com>
13668
13669 [BZ #14155]
13670 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
13671 intermediate calculations in recurrence.
13672 (__ieee754_ynf): Likewise.
13673 * math/libm-test.inc (jn_test_data): Do not allow spurious
13674 underflow exception. Add more tests.
13675 (yn_test_data): Add more tests.
13676 * sysdeps/i386/fpu/libm-test-ulps: Update.
13677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13678
8220f4f0
OB
136792013-09-02 Ondřej Bílka <neleai@seznam.cz>
13680
13681 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
13682
f24a6d08
OB
136832013-08-30 Ondřej Bílka <neleai@seznam.cz>
13684
13685 * csu/init-first.c: Fix then/than typos.
13686 * locale/programs/ld-collate.c: Likewise.
13687 * locale/programs/linereader.h: Likewise.
13688 * manual/charset.texi: Likewise.
13689 * manual/filesys.texi: Likewise.
13690 * manual/stdio.texi: Likewise.
13691 * manual/string.texi: Likewise.
13692 * stdlib/fmtmsg.c: Likewise.
13693 * sysdeps/i386/stpncpy.S: Likewise.
13694 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13695 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13696 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13697 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13698
382466e0
OB
136992013-08-30 Ondřej Bílka <neleai@seznam.cz>
13700
13701 * elf/dl-open.c: Fix typos.
13702 * iconvdata/gbbig5.c: Likewise.
13703 * iconvdata/iso-2022-jp.c: Likewise.
13704 * iconv/gconv_int.h: Likewise.
13705 * iconv/loop.c: Likewise.
13706 * nis/rpcsvc/nis.h: Likewise.
13707 * resolv/ns_name.c: Likewise.
13708 * stdio-common/vfscanf.c: Likewise.
13709 * streams/stropts.h: Likewise.
13710 * sunrpc/rpc_thread.c: Likewise.
13711 * sysdeps/i386/strpbrk.S: Likewise.
13712 * sysdeps/ieee754/k_standard.c: Likewise.
13713 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13714 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13715 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
13716 * sysdeps/mach/hurd/profil.c: Likewise.
13717 * sysdeps/s390/dl-procinfo.h: Likewise.
13718 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
13719 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13720 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
13721 * sysdeps/x86_64/dl-trampoline.S: Likewise.
13722 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13723
0186c6e9
OB
137242013-08-30 Ondřej Bílka <neleai@seznam.cz>
13725
13726 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
13727 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
13728
d4e16af1
OB
137292013-08-29 Ondřej Bílka <neleai@seznam.cz>
13730
13731 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
13732 aix specific files.
13733 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
13734 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
13735 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
13736 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
13737 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
13738 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
13739 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
13740 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
13741
88335980
TS
137422013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13743 Roland McGrath <roland@hack.frob.com>
13744
13745 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
13746 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13747
ed479b02
ST
137482013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
13749
13750 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
13751 __executable_start symbol instead of _start.
13752
f1cc4c86
TS
137532013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13754
d821f07c
TS
13755 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
13756 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
13757 Move macros to...
13758 * sysdeps/gnu/ldsodefs.h: ... this new file.
13759
c54290cf
TS
13760 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
13761 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
13762 instead of ELFOSABI_LINUX.
13763
0007fc9b 13764 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
13765 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
13766 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
13767 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
13768 Likewise.
13769 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
13770 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
13771 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
13772 Likewise.
13773 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13774 (ibm_extended_long_double): Add ieee_nan member.
13775 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
13776 (do_test): New function.
13777
f1cc4c86
TS
13778 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
13779 TEST_TRUNC.
13780 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
13781 functions, renamed from truncdfsf_test, trunctfsf_test,
13782 trunctfdf_test.
13783 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
13784 functions.
13785 (do_test): Run all these.
13786
6f65e668
OB
137872013-08-29 Ondřej Bílka <neleai@seznam.cz>
13788
13789 * argp/argp-help.c: Fix typos.
13790 * argp/argp-parse.c: Likewise.
13791 * debug/backtracesyms.c: Likewise.
13792 * elf/elf.h: Likewise.
13793 * malloc/malloc.c: Likewise.
13794 * nis/nis_print.c: Likewise.
13795 * resolv/res_comp.c: Likewise.
13796 * stdlib/stdlib.h: Likewise.
13797 * sunrpc/clnt_tcp.c: Likewise.
13798 * sunrpc/clnt_udp.c: Likewise.
13799 * sunrpc/clnt_unix.c: Likewise.
13800 * sysdeps/unix/bsd/ptsname.c: Likewise.
13801 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13802 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
13803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
13804 Likewise.
13805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
13806 Likewise.
13807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13808 Likewise.
6f65e668
OB
13809 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13810
3a309239
SP
138112013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13812
13813 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
13814 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13815
3b813b29
MF
138162013-08-27 Mike Frysinger <vapier@gentoo.org>
13817
13818 [BZ #15897]
13819 * dlfcn/Makefile (tests): Add bug-dl-leaf.
13820 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
13821 ($(objpfx)bug-dl-leaf): New rule.
13822 ($(objpfx)bug-dl-leaf.so): Likewise.
13823 ($(objpfx)bug-dl-leaf.out): Likewise.
13824 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
13825 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
13826 * dlfcn/bug-dl-leaf.c: New test.
13827 * dlfcn/bug-dl-leaf-lib.c: Likewise.
13828 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
13829 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
13830 (dlclose): Likewise.
13831 (dlmopen): Likewise.
13832
8cc3269f
RM
138332013-08-27 Roland McGrath <roland@hack.frob.com>
13834
7f9d0034
RM
13835 * include/netdb.h [!_ISOMAC]:
13836 Don't include <tls.h>.
13837 (h_errno, __libc_h_errno): Move declaration and macros out of
13838 [_LIBC_REENTRANT].
13839
fb431262
RM
13840 * include/resolv.h [_RESOLV_H_]:
13841 Don't include <tls.h>.
13842 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
13843 * resolv/res_libc.c: Don't include <tls.h>.
13844 (_res): Use __attribute__ ((nocommon)) in place of
13845 __attribute__ ((section (".bss"))).
13846
bd81123a
RM
13847 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
13848 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
13849
c4e42566
RM
13850 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
13851
f890a59b
RM
13852 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
13853 only under [SIOCGIFCONF && SIOCGIFNETMASK].
13854
13855 * resolv/res_mkquery.c: Include <sys/time.h>.
13856
5d1f0a09
RM
13857 * inet/ifreq.c: Moved to ...
13858 * sysdeps/unix/ifreq.c: ... here.
13859 * inet/ifreq.c: New file, true stub version.
13860
6fcf28b3
RM
13861 * socket/sa_len.c: New file.
13862 * socket/Makefile (aux): Add it.
13863 * sysdeps/unix/sysv/linux/Makefile
13864 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
13865 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
13866 and #include <socket/sa_len.c>.
13867 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
13868 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
13869
e041fb8b
RM
13870 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
13871 * bits/socket.h: ... here.
13872
8cc3269f
RM
13873 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
13874 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
13875 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
13876
5d228a43
AS
138772013-08-27 Andreas Schwab <schwab@suse.de>
13878
45b8accc
AS
13879 [BZ #15736]
13880 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
13881 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
13882 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
13883 * string/test-strcasecmp.c (test_main): Run tests in several
13884 locales.
13885 * string/test-strncasecmp.c (test_main): Likewise.
13886
5d228a43
AS
13887 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
13888 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
13889 to __strcasecmp_nonascii and __strncasecmp_nonascii.
13890 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
13891 (__strncasecmp_ssse3) [PIC]: Likewise.
13892
59d112a4
RM
138932013-08-26 Roland McGrath <roland@hack.frob.com>
13894
53234cc3
RM
13895 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
13896
59d112a4
RM
13897 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
13898 instead of explicitly declaring xdecrypt.
13899 * nis/nss_nis/nis-publickey.c: Likewise.
13900
595aba70
SP
139012013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13902
13903 [BZ #15890]
13904 * nscd/aicache.c: Include res_hconf.h.
13905 (addhstaiX): Initialize res_hconf.
13906
ffabd393
AS
139072013-08-26 Andreas Schwab <schwab@suse.de>
13908
13909 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
13910 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
13911
e0a69f5c
SP
139122013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13913
13914 * nscd/aicache.c (addhstaiX): Fix indentation.
13915
8c12f01d
MF
139162013-08-25 Mike Frysinger <vapier@gentoo.org>
13917
13918 * configure.ac: Quote $build_pt_chown test.
13919 * configure: Regenerated.
13920
8fe89494
JM
139212013-08-23 Joseph Myers <joseph@codesourcery.com>
13922
13923 [BZ #15532]
13924 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
13925 * math/s_cexpf.c (__cexpf): Likewise.
13926 * math/s_cexpl.c (__cexpl): Likewise.
13927 * math/libm-test.inc (cexp_test_data): Correct expected return
13928 value for NaN + i0. Add another test.
13929
75b181d6
DM
139302013-08-22 David S. Miller <davem@davemloft.net>
13931
13932 * po/ca.po: Update Catalan translation from translation project.
936241e4 13933 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 13934
acd06bb1
JM
139352013-08-21 Joseph Myers <joseph@codesourcery.com>
13936
13937 [BZ #15797]
13938 * math/s_fdim.c (__fdim): Check for infinite arguments if result
13939 is infinite, not alongside NaN test.
13940 * math/s_fdimf.c (__fdimf): Likewise.
13941 * math/s_fdiml.c (__fdiml): Likewise.
13942 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
13943 errno is unchanged.
13944
c0c3f78a
OB
139452013-08-21 Ondřej Bílka <neleai@seznam.cz>
13946
13947 * argp/argp-help.c: Fix typos.
13948 * crypt/speeds.c: Likewise.
13949 * csu/check_fds.c: Likewise.
13950 * elf/dl-load.c: Likewise.
13951 * elf/dl-open.c: Likewise.
13952 * elf/reldep3.c: Likewise.
13953 * elf/reldep.c: Likewise.
13954 * elf/sprof.c: Likewise.
13955 * iconv/iconv_charmap.c: Likewise.
13956 * iconv/skeleton.c: Likewise.
13957 * iconv/strtab.c: Likewise.
13958 * io/lockf64.c: Likewise.
13959 * libio/libioP.h: Likewise.
13960 * resolv/gai_notify.c: Likewise.
13961 * resolv/ns_name.c: Likewise.
13962 * resolv/ns_samedomain.c: Likewise.
13963 * resolv/res_send.c: Likewise.
13964 * stdlib/random.c: Likewise.
13965 * sunrpc/rpc/xdr.h: Likewise.
13966 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
13967 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13968 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13969 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13970 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13971 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13972 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13973 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13974 * sysdeps/mach/hurd/check_fds.c: Likewise.
13975 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13976 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13977 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13978 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13979 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13980 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13981 * sysdeps/pthread/aio_notify.c: Likewise.
13982 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
13983 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
13984 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
13985 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13986 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13987
46ed1038
LD
139882013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13989
13990 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
13991 version if bit_Slow_SSE4_2 is set.
13992 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13993 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13994
d400dcac
AZ
139952013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13996
13997 [BZ #15867]
13998 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
13999 trampoline stack frame information.
14000 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14001 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14002 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14003 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14004 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14005 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14006 (_libc_vdso_platform_setup): Initialize the signal trampolines.
14007 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14008 sa_flags value.
14009 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14010 interrupting a syscall and set with option SA_SIGINFO.
14011
42c8fdd8
JM
140122013-08-20 Joseph Myers <joseph@codesourcery.com>
14013
c980f2f4
JM
14014 [BZ #15531]
14015 * math/s_cproj.c (__cproj): Only return an infinity if one part of
14016 argument is infinite.
14017 * math/s_cprojf.c (__cprojf): Likewise.
14018 * math/s_cprojl.c (__cprojl): Likewise.
14019 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14020 * math/libm-test.inc (cproj_test_data): Add more tests.
14021
0716c4fc
JM
14022 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14023
42c8fdd8
JM
14024 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14025 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14026 size. Use __ffs to determine corresponding shift.
14027
b31469d0
JM
140282013-08-20 Joseph Myers <joseph@codesourcery.com>
14029 Roland McGrath <roland@hack.frob.com>
14030
14031 * Makefile (INSTALL): Remove trailing blank lines from output of
14032 makeinfo.
14033
4e39af6e
AK
140342013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14035
14036 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14037 Align 32 bit compat elf_greg to 8 bytes.
14038
f315524e
AA
140392013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14040
14041 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14042
1326ba1a
SP
140432013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14044
14045 * string/strcoll_l.c (coll_seq): New structure.
14046 (get_next_seq_cached): New function.
14047 (get_next_seq): New function.
14048 (do_compare): New function.
14049 (STRCOLL): Use GNU style definition. Simplify implementation
14050 by using get_next_seq, get_next_seq_cached and do_compare.
14051
91ce4085
FW
140522013-08-16 Florian Weimer <fweimer@redhat.com>
14053
14054 [BZ #14699]
14055 CVE-2013-4237
14056 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14057 member.
14058 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14059 member.
14060 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14061 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14062 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
14063 conditional.
14064 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14065 GETDENTS_64BIT_ALIGNED.
14066 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14067 * manual/filesys.texi (Reading/Closing Directory): Document
14068 ENAMETOOLONG return value of readdir_r. Recommend readdir more
14069 strongly.
14070 * manual/conf.texi (Limits for Files): Add portability note to
14071 NAME_MAX, PATH_MAX.
14072 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14073
ca0a6bc4
AS
140742013-08-13 Andreas Schwab <schwab@suse.de>
14075
14076 [BZ #15749]
14077 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14078 of fabs.
14079 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14080 LDBL_MAX_EXP >= 16384]: Add tests for it.
14081
6c1fd795
DM
140822013-08-12 David S. Miller <davem@davemloft.net>
14083
14084 * version.h (RELEASE): Set to "development".
14085 (VERSION): Set to "2.18.90".
14086 * NEWS: Add 2.19 section.
14087
31ad488d
DM
140882013-08-03 David S. Miller <davem@davemloft.net>
14089
14090 * po/ko.po: Update Korean translation from translation project.
14091
db24e684
DM
140922013-08-01 David S. Miller <davem@davemloft.net>
14093
14094 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
14095 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14096 Bilka.
14097
f723285b
DM
140982013-07-30 David S. Miller <davem@davemloft.net>
14099
14100 * po/fr.po: Update French translation from translation project.
14101
3cbc52db
DM
141022013-07-28 David S. Miller <davem@davemloft.net>
14103
30bbc0cc
DM
14104 * po/cs.po: Update Czech translation from translation project.
14105
3cbc52db
DM
14106 * po/sv.po: Update Swedish translation from translation project.
14107
d492e6d0
DM
141082013-07-27 David S. Miller <davem@davemloft.net>
14109
f1a7f492
DM
14110 * po/eo.po: Update Esperanto translation from translation project.
14111
90e62a4a
DM
14112 * po/vi.po: Update Vietnamese translation from translation project.
14113
d492e6d0
DM
14114 * po/de.po: Update German translation from translation project.
14115
d4baa62d
DM
141162013-07-26 David S. Miller <davem@davemloft.net>
14117
641aa7b4
DM
14118 * po/bg.po: Update Bulgarian translation from translation project.
14119
d4baa62d
DM
14120 * po/nl.po: Update Dutch translation from translation project.
14121 * po/pl.po: Update Polish translation from translation project.
14122 * po/ru.po: Update Russian translation from translation project.
14123
61a9dcb9
DM
141242013-07-24 David S. Miller <davem@davemloft.net>
14125
14126 * po/libc.pot: Update.
14127
7b1f8b58
AZ
141282013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14129
14130 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14131 variable page size.
14132 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14133 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14134 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14135
a8fc7a03
AK
141362013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14137
14138 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14139
e4608715
CD
141402013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14141 Andreas Schwab <schwab@suse.de>
14142 Roland McGrath <roland@hack.frob.com>
14143 Joseph Myers <joseph@codesourcery.com>
14144 Carlos O'Donell <carlos@redhat.com>
14145
14146 [BZ #15755]
14147 * config.h.in: Define HAVE_PT_CHOWN.
14148 * config.make.in (build-pt-chown): New variable.
14149 * configure.in (--enable-pt_chown): New configure option.
14150 * configure: Regenerate.
14151 * login/Makefile: Include Makeconfig. Build pt_chown only if
14152 build-pt-chown is enabled.
14153 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14154 pt_chown to fix pty ownership.
14155 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14156 CLOSE_ALL_FDS.
14157 * manual/install.texi (Configuring and compiling): Mention
14158 --enable-pt_chown. Add @findex for grantpt.
14159 * INSTALL: Regenerate.
14160
da2d62df
DM
141612013-07-20 David S. Miller <davem@davemloft.net>
14162
14163 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14164 difference between 32-bit and 64-bit.
14165
d7e06450
CD
141662013-07-15 Carlos O'Donell <carlos@redhat.com>
14167
14168 [BZ #15711]
14169 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14170 Avoid system header dependency with -ffreestanding.
14171 ($(objpfx)bits/syscall%d): Likewise.
14172
f959cfd7
DM
141732013-07-13 David S. Miller <davem@davemloft.net>
14174
14175 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14176 underflows from atanl/atan2l due to bug 15319.
14177 (casinh_test_data): Likewise.
14178
c61f8513
DM
141792013-07-07 David S. Miller <davem@davemloft.net>
14180
14181 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14182
72c90ed0
JA
141832013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
14184
14185 * sysdeps/i386/fpu/libm-test-ulps: Update.
14186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14187
52dfbe13
SP
141882013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14189
14190 * configure.in (--enable-lock-elision): Fix message text.
14191 * INSTALL: Regenerate.
14192 * configure: Regenerate.
14193
3f169543
AZ
141942013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14195
14196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14197
521c6785
AJ
141982013-07-03 Andreas Jaeger <aj@suse.de>
14199
14200 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14201 define.
14202 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14203 (ptrace_peeksiginfo_args): Add.
14204 (__ptrace_peeksiginfo_flags): Add.
14205 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14206 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14207 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14208
d2cc15cb
AM
142092013-07-03 Allan McRae <allan@archlinux.org>
14210
14211 * sysdeps/i386/fpu/libm-test-ulps: Update.
14212
3aaeeca7
DM
142132013-07-02 David S. Miller <davem@davemloft.net>
14214
14215 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14216
5314ed1a
MT
142172013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
14218
14219 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14220
67338156
JM
142212013-07-02 Joseph Myers <joseph@codesourcery.com>
14222
14223 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14225
1717da59
AK
142262013-07-02 Andi Kleen <ak@linux.intel.com>
14227
14228 * config.h.in (ENABLE_LOCK_ELISION): Add.
14229 * configure.in (--enable-lock-elision): Add option.
14230 * manual/install.texi: Document --enable lock elision.
14231 * configure: Regenerate
14232 * INSTALL: Regenerate.
14233
1c81621c
L
142342013-07-02 H.J. Lu <hongjiu.lu@intel.com>
14235
14236 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14237 SSE4.2 strcasecmp for libc.a.
14238 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14239
77f01ab5
JM
142402013-07-02 Joseph Myers <joseph@codesourcery.com>
14241
14242 [BZ #13304]
14243 * soft-fp/op-common.h (_FP_FMA): New macro.
14244 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14245 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
14246 (_FP_MUL_MEAT_1_imm): ... here.
14247 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
14248 (_FP_MUL_MEAT_1_wide): ... here.
14249 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
14250 (_FP_MUL_MEAT_1_hard): ... here.
14251 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14252 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
14253 (_FP_MUL_MEAT_2_wide): ... here.
14254 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
14255 (_FP_MUL_MEAT_2_wide_3mul): ... here.
14256 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
14257 (_FP_MUL_MEAT_2_gmp): ... here.
14258 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14259 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
14260 (_FP_MUL_MEAT_4_wide): ... here.
14261 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
14262 (_FP_MUL_MEAT_4_gmp): ... here.
14263 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14264 (_FP_WFRACBITS_DW_S): Likewise.
14265 (_FP_WFRACXBITS_DW_S): Likewise.
14266 (_FP_HIGHBIT_DW_S): Likewise.
14267 (FP_FMA_S): Likewise.
14268 (_FP_FRAC_HIGH_DW_S): Likewise.
14269 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14270 (_FP_WFRACBITS_DW_D): Likewise.
14271 (_FP_WFRACXBITS_DW_D): Likewise.
14272 (_FP_HIGHBIT_DW_D): Likewise.
14273 (FP_FMA_D): Likewise.
14274 (_FP_FRAC_HIGH_DW_D): Likewise.
14275 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14276 (_FP_WFRACBITS_DW_E): Likewise.
14277 (_FP_WFRACXBITS_DW_E): Likewise.
14278 (_FP_HIGHBIT_DW_E): Likewise.
14279 (FP_FMA_E): Likewise.
14280 (_FP_FRAC_HIGH_DW_E): Likewise.
14281 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14282 (_FP_WFRACBITS_DW_Q): Likewise.
14283 (_FP_WFRACXBITS_DW_Q): Likewise.
14284 (_FP_HIGHBIT_DW_Q): Likewise.
14285 (FP_FMA_Q): Likewise.
14286 (_FP_FRAC_HIGH_DW_Q): Likewise.
14287 * soft-fp/fmasf4.c: New file.
14288 * soft-fp/fmadf4.c: Likewise.
14289 * soft-fp/fmatf4.c: Likewise.
14290
6308fd9a
LD
142912013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14292
14293 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14294 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14295 Silvermont.
14296 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14297 macro.
14298 (index_Slow_SSE4_2): Likewise.
14299 (index_Prefer_PMINUB_for_stringop): Likewise.
14300 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14301 bit_Slow_SSE4_2 is set.
14302 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14303 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14304
89cd9569
RA
143052013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14306
14307 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14308 rtld_global._dl_hwcap2.
14309 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14310 POWER8.
14311 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14312 POWER8 feature descriptions defined in _dl_hwcap2.
14313 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14314 string handling for POWER8 feature bits.
14315 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14316 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14317 _dl_powerpc_cap_flags.
14318 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14319 * sysdeps/powerpc/rtld-global-offsets.sym
14320 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14321 _dl_hwcap2 in the rtld_global_ro structure.
14322
1ae8bfe0
RA
143232013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14324
14325 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14326 hardware capabilities in support of AT_HWCAP2.
14327 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14328 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14329 GLRO(dl_hwcap2).
14330 (_dl_show_auxv): Add support for calling _dl_procinfo to display
14331 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
14332 explicitly the unknown a_type display mechanism is used.
14333 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14334 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14335 struct member.
14336 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14337 to macro prototype for AT_HWCAP2 support.
14338 * sysdeps/i386/dl-procinfo.h: Likewise.
14339 * sysdeps/s390/dl-procinfo.h: Likewise.
14340 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14341 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
14342 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
14343 return -1 for unknown a_type display fallback.
14344 * sysdeps/sparc/dl-procinfo.h: Likewise.
14345 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14346 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14347
8fbec010
JM
143482013-06-28 Joseph Myers <joseph@codesourcery.com>
14349
14350 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14351 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14352
0432680e
PY
143532013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
14354
14355 [BZ #12492]
14356 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14357 mprotect making __stack_prot writable.
14358
ce61a2ad
NF
143592013-06-28 Nathan Froyd <froydnj@codesourcery.com>
14360 Joseph Myers <joseph@codesourcery.com>
14361
14362 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14363 as being properly aligned.
14364
f91f1c0f
MR
143652013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
14366
3d0f5d0c
MR
14367 * dlfcn/modstatic5.c: New file.
14368 * dlfcn/tststatic5.c: New file.
14369 * dlfcn/Makefile (tests): Add tststatic5.
14370 (tests-static): Likewise.
14371 (modules-names): Add modstatic5.
14372 (tststatic5-ENV): New variable.
14373 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14374
f91f1c0f
MR
14375 [BZ #15022]
14376 * elf/dl-support.c (_dl_main_map): New variable.
14377 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14378 (_dl_nns, _dl_load_adds): Set to 1.
14379 (_dl_initial_searchlist): Refer to _dl_main_map.
14380 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14381 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14382 call to _dl_get_origin.
14383 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14384 around call_map.
14385 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14386 * dlfcn/modstatic3.c: New file.
14387 * dlfcn/tststatic3.c: New file.
14388 * dlfcn/tststatic4.c: New file.
14389 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14390 (tests-static): Likewise.
14391 (modules-names): Add modstatic3.
14392 (tststatic3-ENV, tststatic4-ENV): New variables.
14393 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14394 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14395
cbe7d24b
JM
143962013-06-26 Joseph Myers <joseph@codesourcery.com>
14397
14398 * configure.in (CC): Require GCC version 4.4 or later.
14399 * configure: Regenerated.
14400 * manual/install.texi (Tools for Compilation): Update GCC version
14401 requirement.
14402 * INSTALL: Regenerated.
14403
11b8a0e1
LD
144042013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14405
14406 [BZ #15674]
bb5bb87c
L
14407 * string/test-memcmp.c (check2): New.
14408 (main): Call check2.
14409
11b8a0e1
LD
14410 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14411
b0037103
MR
144122013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
14413
14414 [BZ #15022]
14415 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14416 over to...
14417 (dl_open_worker) [!SHARED]: ... here.
14418
c18c701d
RA
144192013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14420
14421 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14422
1d17fa5f
RH
144232013-06-25 Richard Henderson <rth@redhat.com>
14424
14425 * locale/programs/locarchive.c: Include <libc-internal.h>
14426
8fcb833a
JM
144272013-06-25 Joseph Myers <joseph@codesourcery.com>
14428
14429 * manual/texinfo.tex: Update to version 2013-06-21.17, with
14430 trailing whitespace removed.
14431
17db6e8d
MF
144322013-06-24 Mike Frysinger <vapier@gentoo.org>
14433
14434 [BZ #10283]
17db6e8d
MF
14435 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14436 * locale/programs/locarchive.c: Include libc-mmap.h.
14437 (prepare_address_space): Take two new outputs (the mmap base and len).
14438 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
14439 values.
14440 (create_archive): Declare new mmap base and len values for
14441 prepare_address_space, and store the result in ah.
14442 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14443 (enlarge_archive): If ah->mmap_base is not NULL, use that and
14444 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14445 Declare new mmap base and len values for
14446 prepare_address_space, and store the result in new_ah.
14447 (open_archive): Declare new mmap base and len values for
14448 prepare_address_space, and store the result in ah.
14449 (close_archive): If ah->mmap_base is not NULL, use that and
14450 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14451 * sysdeps/generic/libc-mmap.h: New file.
14452
d605071e
MF
144532013-06-24 Mike Frysinger <vapier@gentoo.org>
14454
14455 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
14456 (ALIGN_UP): Likewise.
14457 (PTR_ALIGN_DOWN): Likewise.
14458 (PTR_ALIGN_UP): Likewise.
14459
2f063a6e
RA
144602013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14461
14462 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
14463 entry mapped to PPC_PLATFORM_POWER8.
14464 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
14465 POWER8.
14466 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
14467 (_dl_string_platform): Add case for exporting platform position for
14468 POWER8.
14469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
14470 search path to sysdeps/powerpc/powerpc32/power8 directory.
14471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
14472 search path to sysdeps/powerpc/powerpc64/power8 directory.
14473 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
14474 power7 directories.
14475 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
14476 power7 directories.
14477
a31ee4b3
SP
144782013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14479
a74ca98f
SP
14480 * INSTALL: Regenerate.
14481
a31ee4b3
SP
14482 * nscd/connections.c (nscd_init): Fix comment.
14483
695c378f
JM
144842013-06-22 Joseph Myers <joseph@codesourcery.com>
14485
d8412221
JM
14486 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
14487
695c378f
JM
14488 [BZ #15667]
14489 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
14490 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
14491
d1d54715
MR
144922013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14493
14494 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
14495 DL_DST_REQ_STATIC.
14496 (DL_DST_REQ_STATIC): Remove macro.
14497
8fdda7af
JM
144982013-06-21 Joseph Myers <joseph@codesourcery.com>
14499
14500 [BZ #7006]
14501 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
14502 with a shift of 0 bits.
14503
f3bc5e5a
MR
145042013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14505
14506 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
14507 $(tststatic-ENV).
14508
be09e8c9
KK
145092013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14510
14511 [BZ #15655]
14512 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
14513
85c2e611
AZ
145142013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14515
14516 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
14517 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
14518 accepts -fno-tree-loop-distribute-patterns.
14519 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
14520 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
14521 recursive call.
14522 * string/memset.c (memset): Likewise.
14523 * string/test-memmove.c (simple_memmove): Disable loop transformation
14524 to library calls.
14525 * string/test-memset.c (simple_memset): Likewise.
14526 * benchtests/bench-memmove.c (simple_memmove): Likewise.
14527 * benchtests/bench-memset.c (simple_memset): Likewise.
14528 * configure: Regenerated.
14529
c91e0825
JM
145302013-06-20 Joseph Myers <joseph@codesourcery.com>
14531
b8c792af
JM
14532 * math/test-misc.c (main): Ignore fesetround failure when failures
14533 of subsequent rounding tests would be ignored.
14534
c91e0825
JM
14535 [BZ #15654]
14536 * math/fedisblxcpt.c (fedisableexcept): Return 0.
14537 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
14538 * math/fegetenv.c (__fegetenv): Return 0.
14539 * math/fegetexcept.c (fegetexcept): Return 0.
14540 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
14541 FE_TONEAREST.
14542 * math/feholdexcpt.c (feholdexcept): Return 0.
14543 * math/fesetenv.c (__fesetenv): Return 0.
14544 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
14545 argument FE_TONEAREST.
14546 * math/feupdateenv.c (__feupdateenv): Return 0.
14547 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
14548
bfcacbde
RM
145492013-06-18 Roland McGrath <roland@hack.frob.com>
14550
14551 * elf/rtld-Rules (rtld-compile-command.S): New variable.
14552 (rtld-compile-command.s, rtld-compile-command.c): New variables.
14553 ($(objpfx)rtld-%.os rules): Use them.
14554
e55a9b25
AZ
145552013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14556
14557 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
14558 fields.
14559
346d65b3
RM
145602013-06-17 Roland McGrath <roland@hack.frob.com>
14561
12086fb4
RM
14562 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
14563 length of target pattern, then descending length of dependency pattern.
14564 * configure.in (AWK): Require gawk 3.1.2 or newer.
14565 * manual/install.texi (Tools for Compilation): Say that we do.
14566 * configure: Regenerated.
14567
346d65b3
RM
14568 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
14569 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
14570 * scripts/sysd-rules.awk: ... this new script.
14571 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
14572 than a glob-style pattern.
14573
1a846317
JM
145742013-06-17 Joseph Myers <joseph@codesourcery.com>
14575
14576 * math/test-misc.c (main): Do not treat incorrectly rounded
14577 conversions as failure unless ROUNDING_TESTS passes.
14578
8fc75e6f
JM
145792013-06-15 Joseph Myers <joseph@codesourcery.com>
14580
3711a167
JM
14581 [BZ #15631]
14582 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
14583 restore exception state around main square root computation, then
14584 check for inexactness explicitly.
14585
8fc75e6f
JM
14586 * math/libm-test.inc (fma_test_data): Add another test.
14587
61dd6208
SP
145882013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14589
adf23d2c
SP
14590 * manual/threads.texi (Non-POSIX Extensions): New document
14591 node. Document pthread_getattr_default_np and
14592 pthread_setattr_default_np.
14593
61dd6208
SP
14594 * Versions.def (libpthread): Add GLIBC_2.18.
14595 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
14596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14597 Likewise.
14598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14599 Likewise.
14600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14601 Likewise.
14602 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14603 Likewise.
14604 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
14605 Likewise.
14606 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14607 Likewise.
14608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14609 Likewise.
14610 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14611 Likewise.
14612 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14613 Likewise.
14614
d086fc7b
LD
146152013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14616
14617 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14618 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
14619
747ef469
SP
146202013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14621 H.J. Lu <hjl.tools@gmail.com>
14622
14623 [BZ #15627]
14624 * sysdeps/x86_64/rtld-memset.c: Remove file.
14625 * sysdeps/x86_64/rtld-memset.S: New file.
14626
1b2feed2
JM
146272013-06-14 Joseph Myers <joseph@codesourcery.com>
14628
14629 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
14630 (test_in_one_mode): Take arguments for whether the rounding mode
14631 is supported for each floating-point type.
14632 (do_test): Pass new arguments to test_in_one_mode using
14633 ROUNDING_TESTS.
14634
a58ad3f8
RM
146352013-06-13 Roland McGrath <roland@hack.frob.com>
14636
14637 * posix/tst-waitid.c (do_test): Distinguish different instances of
14638 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
14639 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
14640 before entering the kernel for waitpid.
14641
c204ab28
SP
146422013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14643
14644 * NEWS: Fix note on clock function precision. Text by Roland
14645 McGrath.
14646
f4a29fba
RM
146472013-06-13 Roland McGrath <roland@hack.frob.com>
14648
14649 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
14650 it into place only when and if the sanity check passes.
14651
1f24b9ad
JM
146522013-06-13 Joseph Myers <joseph@codesourcery.com>
14653
14654 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
14655 output for whether conversion result is exact. Take argument
14656 indicating whether type is IBM long double.
14657 (round_for_all): Change need_exact field to ibm_ld.
14658 * stdlib/tst-strtod-round.c (struct exactness): New type.
14659 (struct test): Change bool ld_ok field to struct exactness exact.
14660 (TEST): Update all definitions for change to field.
14661 (tests): Regenerate array contents.
14662 (test_in_one_mode): Take pointer to new field instead of old ld_ok
14663 field value. Check for IBM long double here.
14664 (do_test): Update calls to test_in_one_mode.
14665
58206c68
SP
146662013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14667
14668 [BZ #12515]
14669 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
14670 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
14671
2d6f4c5b 146722013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
14673
14674 [BZ #15605]
14675 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
14676 generated by the compiler on loop optimizations.
14677 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
14678 general definitions.
14679
94f2c076
JM
146802013-06-12 Joseph Myers <joseph@codesourcery.com>
14681
14682 * math/bug-nextafter.c: Include <math-tests.h>.
14683 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14684 the relevant type.
14685 * math/bug-nexttoward.c: Include <math-tests.h>.
14686 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14687 the relevant type.
14688 * math/test-misc.c: Include <math-tests.h>.
14689 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14690 the relevant type.
14691
e0e50a0a
AJ
146922013-06-12 Andreas Jaeger <aj@suse.de>
14693
14694 * po/ia.po: Update Interlingua translation from translation
14695 project.
14696
25061094
SP
146972013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14698
14699 * include/fenv.h: Include stdbool.h.
14700 (struct rm_ctx): New structure.
14701 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
14702 Define macro.
14703 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
14704 (SET_RESTORE_ROUNDF): Likewise.
14705 (SET_RESTORE_ROUNDL): Likewise.
14706 (SET_RESTORE_ROUND_NOEX): Likewise.
14707 (SET_RESTORE_ROUND_NOEXF): Likewise.
14708 (SET_RESTORE_ROUND_NOEXL): Likewise.
14709 (SET_RESTORE_ROUND_53BIT): Likewise.
14710 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
14711 (libc_feresetround_noexf_ctx): Likewise.
14712 (libc_feresetround_noexl_ctx): Likewise.
14713 (libc_feholdsetround_53bit_ctx): Likewise.
14714 (libc_feresetround_53bit_ctx): Likewise.
14715 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
14716 (libc_feholdexcept_setround_sse_ctx): New function.
14717 (libc_fesetenv_sse_ctx): Likewise.
14718 (libc_feupdateenv_sse_ctx): Likewise.
14719 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
14720 (libc_feholdexcept_setround_387_ctx): Likewise.
14721 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
14722 (libc_feholdsetround_387_prec_ctx): Likewise.
14723 (libc_feholdsetround_387_ctx): Likewise.
14724 (libc_feholdsetround_387_53bit_ctx): Likewise.
14725 (libc_feholdsetround_sse_ctx): Likewise.
14726 (libc_feresetround_sse_ctx): Likewise.
14727 (libc_feresetround_387_ctx): Likewise.
14728 (libc_feupdateenv_387_ctx): Likewise.
14729 (libc_feholdexcept_setroundf_ctx): Define macro.
14730 (libc_fesetenvf_ctx): Likewise.
14731 (libc_feupdateenvf_ctx): Likewise.
14732 (libc_feholdsetroundf_ctx): Likewise.
14733 (libc_feresetroundf_ctx): Likewise.
14734 (libc_feholdexcept_setround_ctx): Likewise.
14735 (libc_fesetenv_ctx): Likewise.
14736 (libc_feupdateenv_ctx): Likewise.
14737 (libc_feholdsetround_ctx): Likewise.
14738 (libc_feresetround_ctx): Likewise.
14739 (libc_feholdexcept_setroundl_ctx): Likewise.
14740 (libc_feupdateenvl_ctx): Likewise.
14741 (libc_feholdsetroundl_ctx): Likewise.
14742 (libc_feresetroundl_ctx): Likewise.
14743 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
14744 (libc_feresetround_53bit_ctx): Likewise.
14745
59b30555
SP
147462013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14747
14748 * locale/iso-639.def: Convert to UTF-8.
14749
f1d73d30
JM
147502013-06-11 Joseph Myers <joseph@codesourcery.com>
14751
14752 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
14753 (EXCEPTION_TESTS_double): Likewise.
14754 (EXCEPTION_TESTS_long_double): Likewise.
14755 (EXCEPTION_TESTS): Likewise.
14756 * math/libm-test.inc (test_exceptions): Only test exceptions if
14757 EXCEPTION_TESTS (FLOAT).
14758
94aca5e7
SP
147592013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14760
14761 * benchtests/Makefile (string-bench): Add strcpy_chk and
14762 stpcpy_chk.
14763 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
14764 * benchtests/bench-stpcpy_chk.c: New file.
14765 * benchtests/bench-strcpy_chk-ifunc.c: New file.
14766 * benchtests/bench-strcpy_chk.c: New file.
14767 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
14768 code.
14769 (do_test): Likewise.
14770
fac0c5f2
RA
147712013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14772
14773 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
14774 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
14775 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
14776 with tabs where appropriate.
14777 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
14778 dl-procinfo.h.
14779 [PPC_PLATFORM_PPC440]: Likewise.
14780 [PPC_PLATFORM_PPC464]: Likewise.
14781 [PPC_PLATFORM_PPC476]: Likewise.
14782 (_dl_string_platform): Add support for detecting ppc405, ppc440,
14783 ppc464, and ppc476 platform strings merging from ports/
14784 dl-procinfo.h.
14785
f22bc486
AS
147862013-06-11 Andreas Schwab <schwab@suse.de>
14787
14788 [BZ #14991]
14789 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
14790 (from_ucs4_idx): Regenerate.
14791 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
14792 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
14793 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
14794 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
14795 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
14796 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
14797 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
14798 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
14799 from FROM_LOOP and TO_LOOP specific macros.
14800 (BODY): Handle combining characters.
14801 * iconvdata/BIG5HKSCS.irreversible: Update.
14802 * iconvdata/BIG5HKSCS.precomposed: New file.
14803 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
14804 characters.
14805 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
14806
c1f75dc3
SP
148072013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14808
4eacded2
SP
14809 * include/sys/time.h: Fix indentation and add copyright header.
14810
fec799f8
SP
14811 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
14812 (do_test): Likewise.
14813 * string/test-memchr.c (do_one_test): Likewise.
14814 (do_test): Likewise.
14815 * string/test-memcmp.c (do_one_test): Likewise.
14816 (do_test): Likewise.
14817 * string/test-memcpy.c (do_one_test): Likewise.
14818 (do_test): Likewise.
14819 * string/test-memmem.c (do_one_test): Likewise.
14820 (do_test): Likewise.
14821 (do_random_tests): Likewise.
14822 * string/test-memmove.c (do_one_test): Likewise.
14823 (do_test): Likewise.
14824 * string/test-memset.c (do_one_test): Likewise.
14825 (do_test): Likewise.
14826 * string/test-rawmemchr.c (do_one_test): Likewise.
14827 (do_test): Likewise.
14828 * string/test-strcasecmp.c (do_one_test): Likewise.
14829 (do_test): Likewise.
14830 * string/test-strcasestr.c (do_one_test): Likewise.
14831 (do_test): Likewise.
14832 * string/test-strcat.c (do_one_test): Likewise.
14833 (do_test): Likewise.
14834 * string/test-strchr.c (do_one_test): Likewise.
14835 (do_test): Likewise.
14836 * string/test-strcmp.c (do_one_test): Likewise.
14837 (do_test): Likewise.
14838 * string/test-strcpy.c (do_one_test): Likewise.
14839 (do_test): Likewise.
14840 * string/test-string.h: Likewise.
14841 (test_init): Likewise.
14842 * string/test-strlen.c (do_one_test): Likewise.
14843 (do_test): Likewise.
14844 * string/test-strncasecmp.c (do_one_test): Likewise.
14845 (do_test): Likewise.
14846 * string/test-strncat.c (do_one_test): Likewise.
14847 (do_test): Likewise.
14848 * string/test-strncmp.c (do_one_test): Likewise.
14849 (do_test_limit): Likewise.
14850 (do_test): Likewise.
14851 * string/test-strncpy.c (do_one_test): Likewise.
14852 (do_test): Likewise.
14853 * string/test-strnlen.c (do_one_test): Likewise.
14854 (do_test): Likewise.
14855 * string/test-strpbrk.c (do_one_test): Likewise.
14856 (do_test): Likewise.
14857 * string/test-strrchr.c (do_one_test): Likewise.
14858 (do_test): Likewise.
14859 * string/test-strspn.c (do_one_test): Likewise.
14860 (do_test): Likewise.
14861 * string/test-strstr.c (do_one_test): Likewise.
14862 (do_test): Likewise.
14863
97020474
SP
14864 * benchtests/Makefile (string-bench): Add string benchmarks.
14865 * benchtests/bench-bcopy-ifunc.c: New file.
14866 * benchtests/bench-bcopy.c: New file.
14867 * benchtests/bench-bzero-ifunc.c: New file.
14868 * benchtests/bench-bzero.c: New file.
14869 * benchtests/bench-memccpy-ifunc.c: New file.
14870 * benchtests/bench-memccpy.c: New file.
14871 * benchtests/bench-memchr-ifunc.c: New file.
14872 * benchtests/bench-memchr.c: New file.
14873 * benchtests/bench-memcmp-ifunc.c: New file.
14874 * benchtests/bench-memcmp.c: New file.
14875 * benchtests/bench-memmem-ifunc.c: New file.
14876 * benchtests/bench-memmem.c: New file.
14877 * benchtests/bench-memmove-ifunc.c: New file.
14878 * benchtests/bench-memmove.c: New file.
14879 * benchtests/bench-mempcpy-ifunc.c: New file.
14880 * benchtests/bench-mempcpy.c: New file.
14881 * benchtests/bench-memset-ifunc.c: New file.
14882 * benchtests/bench-memset.c: New file.
14883 * benchtests/bench-rawmemchr-ifunc.c: New file.
14884 * benchtests/bench-rawmemchr.c: New file.
14885 * benchtests/bench-stpcpy-ifunc.c: New file.
14886 * benchtests/bench-stpcpy.c: New file.
14887 * benchtests/bench-stpncpy-ifunc.c: New file.
14888 * benchtests/bench-stpncpy.c: New file.
14889 * benchtests/bench-strcasecmp-ifunc.c: New file.
14890 * benchtests/bench-strcasecmp.c: New file.
14891 * benchtests/bench-strcasestr-ifunc.c: New file.
14892 * benchtests/bench-strcasestr.c: New file.
14893 * benchtests/bench-strcat-ifunc.c: New file.
14894 * benchtests/bench-strcat.c: New file.
14895 * benchtests/bench-strchr-ifunc.c: New file.
14896 * benchtests/bench-strchr.c: New file.
14897 * benchtests/bench-strchrnul-ifunc.c: New file.
14898 * benchtests/bench-strchrnul.c: New file.
14899 * benchtests/bench-strcmp-ifunc.c: New file.
14900 * benchtests/bench-strcmp.c: New file.
14901 * benchtests/bench-strcpy-ifunc.c: New file.
14902 * benchtests/bench-strcpy.c: New file.
14903 * benchtests/bench-strcspn-ifunc.c: New file.
14904 * benchtests/bench-strcspn.c: New file.
14905 * benchtests/bench-strlen-ifunc.c: New file.
14906 * benchtests/bench-strlen.c: New file.
14907 * benchtests/bench-strncasecmp-ifunc.c: New file.
14908 * benchtests/bench-strncasecmp.c: New file.
14909 * benchtests/bench-strncat-ifunc.c: New file.
14910 * benchtests/bench-strncat.c: New file.
14911 * benchtests/bench-strncmp-ifunc.c: New file.
14912 * benchtests/bench-strncmp.c: New file.
14913 * benchtests/bench-strncpy-ifunc.c: New file.
14914 * benchtests/bench-strncpy.c: New file.
14915 * benchtests/bench-strnlen-ifunc.c: New file.
14916 * benchtests/bench-strnlen.c: New file.
14917 * benchtests/bench-strpbrk-ifunc.c: New file.
14918 * benchtests/bench-strpbrk.c: New file.
14919 * benchtests/bench-strrchr-ifunc.c: New file.
14920 * benchtests/bench-strrchr.c: New file.
14921 * benchtests/bench-strspn-ifunc.c: New file.
14922 * benchtests/bench-strspn.c: New file.
14923 * benchtests/bench-strstr-ifunc.c: New file.
14924 * benchtests/bench-strstr.c: New file.
14925
c1f75dc3
SP
14926 * benchtests/Makefile: Disable parallel execution of targets.
14927 (string-bench): Add memcpy.
14928 (benchset): New variable to store a list of benchmark sets.
14929 (bench-func): Renamed from bench.
14930 (bench-set): New target.
14931 (bench): Depend on bench-func and bench-set.
14932 * benchtests/README: Add section on benchmark sets.
14933 * benchtests/bench-memcpy-ifunc.c: New file.
14934 * benchtests/bench-memcpy.c: New file.
14935 * benchtests/bench-string.h: New file.
14936
50fd745b
AS
149372013-06-11 Andreas Schwab <schwab@suse.de>
14938
14939 [BZ #15577]
14940 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
14941 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
14942 values in the triple.
14943 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
14944 terminator in the group key.
14945
3ee7e9fe
AJ
149462013-06-11 Andreas Jaeger <aj@suse.de>
14947
14948 * po/zh_TW.po: Update Chinese (traditional) translation from
14949 translation project.
14950
89fb6835
SP
149512013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14952
14953 * include/time.h (__clock_gettime): Add libc_hidden_proto.
14954 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
14955 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
14956 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14957 (clock_getcpuclockid): Likewise.
14958 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
14959 Add weak_alias and libc_hidden_def.
14960 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
14961 * rt/clock_gettime.c (clock_gettime): Rename to
14962 __clock_gettime. Add weak_alias and libc_hidden_def.
14963 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
14964 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
14965 __clock_nanosleep. Add weak_alias and libc_hidden_def.
14966 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
14967 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
14968 Likewise.
14969 * rt/clock_settime.c (clock_settime): Rename to
14970 __clock_settime. Add weak_alias and libc_hidden_def.
14971 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
14972
0efa6f8b
JM
149732013-06-10 Joseph Myers <joseph@codesourcery.com>
14974
b8c61b4b
JM
14975 * mach/err_boot.sub: Remove trailing whitespace.
14976 * mach/err_ipc.sub: Likewise.
14977 * mach/err_mach.sub: Likewise.
14978
0efa6f8b
JM
14979 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
14980 (ROUNDING_TESTS_double): Likewise.
14981 (ROUNDING_TESTS_long_double): Likewise.
14982 (ROUNDING_TESTS): Likewise.
14983 * math/libm-test.inc: Include <math-tests.h>.
14984 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
14985 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14986 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14987 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14988
50b818bf
SP
149892013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14990
14991 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
14992 of assigning.
14993
60d2f8f3
JM
149942013-06-08 Joseph Myers <joseph@codesourcery.com>
14995
4902d2c3
JM
14996 * sysdeps/gnu/errlist.awk: Do not generate space at end of
14997 otherwise empty TRANS lines.
14998 * sysdeps/gnu/errlist.c: Regenerated.
14999
60d2f8f3
JM
15000 * catgets/gencat.c (error_print): Use (void) in function
15001 definition.
15002 * crypt/crypt_util.c (__init_des): Likewise.
15003 * crypt/speeds.c (Stop): Likewise.
15004 (main): Likewise.
15005 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15006 * inet/ruserpass.c (token): Likewise.
15007 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15008 * intl/localealias.c (extend_alias_table): Likewise.
15009 * intl/plural-exp.c (init_germanic_plural): Likewise.
15010 * libio/fcloseall.c (__fcloseall): Likewise.
15011 * libio/genops.c (_IO_flush_all): Likewise.
15012 (_IO_flush_all_linebuffered): Likewise.
15013 (_IO_cleanup): Likewise.
15014 (_IO_iter_begin): Likewise.
15015 (_IO_iter_end): Likewise.
15016 (_IO_list_lock): Likewise.
15017 (_IO_list_unlock): Likewise.
15018 (_IO_list_resetlock): Likewise.
15019 * libio/getchar.c (getchar): Likewise.
15020 * libio/getchar_u.c (getchar_unlocked): Likewise.
15021 * libio/getwchar.c (getwchar): Likewise.
15022 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15023 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15024 * login/getpt.c (__getpt): Likewise.
15025 * login/tst-utmp.c (main): Likewise.
15026 * malloc/hooks.c (__malloc_check_init): Likewise.
15027 * malloc/malloc.c (__malloc_stats): Likewise.
15028 * malloc/mtrace.c (tr_break): Likewise.
15029 (mtrace): Likewise.
15030 (muntrace): Likewise.
15031 * misc/fstab.c (endfsent): Likewise.
15032 * misc/getclktck.c (__getclktck): Likewise.
15033 * misc/getdtsz.c (__getdtablesize): Likewise.
15034 * misc/gethostid.c (gethostid): Likewise.
15035 * misc/getpagesize.c (__getpagesize): Likewise.
15036 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15037 (__get_nprocs): Likewise.
15038 (__get_phys_pages): Likewise.
15039 (__get_avphys_pages): Likewise.
15040 * misc/getttyent.c (getttyent): Likewise.
15041 (setttyent): Likewise.
15042 (endttyent): Likewise.
15043 * misc/getusershell.c (getusershell): Likewise.
15044 (endusershell): Likewise.
15045 (setusershell): Likewise.
15046 (initshells): Likewise.
15047 * misc/hsearch.c (__hdestroy): Likewise.
15048 * misc/sync.c (sync): Likewise.
15049 * misc/syslog.c (closelog_internal): Likewise.
15050 (closelog): Likewise.
15051 * misc/ttyslot.c (ttyslot): Likewise.
15052 * misc/vhangup.c (vhangup): Likewise.
15053 * posix/fork.c (__fork): Likewise.
15054 * posix/getegid.c (__getegid): Likewise.
15055 * posix/geteuid.c (__geteuid): Likewise.
15056 * posix/getgid.c (__getgid): Likewise.
15057 * posix/getpid.c (__getpid): Likewise.
15058 * posix/getppid.c (__getppid): Likewise.
15059 * posix/getuid.c (__getuid): Likewise.
15060 * posix/pause.c (pause): Likewise.
15061 * posix/setpgrp.c (setpgrp): Likewise.
15062 * posix/setsid.c (__setsid): Likewise.
15063 * posix/test-vfork.c (noop): Likewise.
15064 * resolv/gethnamaddr.c (_endhtent): Likewise.
15065 (_gethtent): Likewise.
15066 (ht_endhostent): Likewise.
15067 (gethostent): Likewise.
15068 (dns_service): Likewise.
15069 * stdlib/drand48.c (drand48): Likewise.
15070 * stdlib/lrand48.c (lrand48): Likewise.
15071 * stdlib/mrand48.c (mrand48): Likewise.
15072 * stdlib/rand.c (rand): Likewise.
15073 * stdlib/random.c (__random): Likewise.
15074 * stdlib/setenv.c (clearenv): Likewise.
15075 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15076 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15077 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15078 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15079 (__get_nprocs): Likewise.
15080 (__get_phys_pages): Likewise.
15081 (__get_avphys_pages): Likewise.
15082 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15083 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15084 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15085 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15086 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15087 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15088 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15089 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15090 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15091 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15092 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15093 * sysdeps/mach/hurd/sync.c (sync): Likewise.
15094 * sysdeps/posix/clock.c (clock): Likewise.
15095 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15096 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15097 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15098 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15099 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15100 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15101 (__get_nprocs_conf): Likewise.
15102 (__get_phys_pages): Likewise.
15103 (__get_avphys_pages): Likewise.
15104 * time/clock.c (clock): Likewise.
15105 * time/tzset.c (__tzname_max): Likewise.
15106
2e09a79a
JM
151072013-06-07 Joseph Myers <joseph@codesourcery.com>
15108
15109 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15110 (__bswap_32): Do not use "register".
15111 * crypt/crypt.c (_ufc_doit_r): Likewise.
15112 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15113 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15114 * gmon/gmon.c (__monstartup): Likewise.
15115 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15116 * hurd/hurdmalloc.c (more_memory): Likewise.
15117 (malloc): Likewise.
15118 (free): Likewise.
15119 (realloc): Likewise.
15120 (malloc_fork_prepare): Likewise.
15121 (malloc_fork_parent): Likewise.
15122 (malloc_fork_child): Likewise.
15123 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15124 (_svcauth_des): Likewise.
15125 * inet/inet_lnaof.c (inet_lnaof): Likewise.
15126 * inet/inet_net.c (inet_network): Likewise.
15127 * inet/inet_netof.c (inet_netof): Likewise.
15128 * inet/rcmd.c (__validuser2_sa): Likewise.
15129 * io/fts.c (fts_open): Likewise.
15130 (fts_load): Likewise.
15131 (fts_close): Likewise.
15132 (fts_read): Likewise.
15133 (fts_children): Likewise.
15134 (fts_build): Likewise.
15135 (fts_stat): Likewise.
15136 (fts_sort): Likewise.
15137 (fts_alloc): Likewise.
15138 (fts_lfree): Likewise.
15139 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15140 (_IO_file_xsgetn): Likewise.
15141 (_IO_file_xsgetn_mmap): Likewise.
15142 * libio/iofopncook.c (_IO_cookie_read): Likewise.
15143 (_IO_cookie_write): Likewise.
15144 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15145 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15146 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15147 * malloc/obstack.c (_obstack_begin): Likewise.
15148 (_obstack_begin_1): Likewise.
15149 (_obstack_newchunk): Likewise.
15150 (_obstack_allocated_p): Likewise.
15151 (obstack_free): Likewise.
15152 (_obstack_memory_used): Likewise.
15153 * misc/getttyent.c (getttynam): Likewise.
15154 (getttyent): Likewise.
15155 (skip): Likewise.
15156 (value): Likewise.
15157 * misc/getusershell.c (initshells): Likewise.
15158 * misc/syslog.c (__vsyslog_chk): Likewise.
15159 * misc/ttyslot.c (ttyslot): Likewise.
15160 * nis/nis_hash.c (__nis_hash): Likewise.
15161 * posix/fnmatch_loop.c (FCT): Likewise.
15162 * posix/getconf.c (print_all): Likewise.
15163 (main): Likewise.
15164 * posix/getopt.c (exchange): Likewise.
15165 * posix/glob.c (globfree): Likewise.
15166 (prefix_array): Likewise.
15167 (__glob_pattern_type): Likewise.
15168 * resolv/arpa/nameser.h (NS_GET16): Likewise.
15169 (NS_GET32): Likewise.
15170 (NS_PUT16): Likewise.
15171 (NS_PUT32): Likewise.
15172 * resolv/gethnamaddr.c (getanswer): Likewise.
15173 (gethostbyname2): Likewise.
15174 (gethostbyaddr): Likewise.
15175 (_gethtent): Likewise.
15176 (_gethtbyname2): Likewise.
15177 (_gethtbyaddr): Likewise.
15178 * resolv/ns_print.c (dst_s_get_int16): Likewise.
15179 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15180 * resolv/res_init.c (__res_vinit): Likewise.
15181 (net_mask): Likewise.
15182 * resolv/res_mkquery.c (outchar): Likewise.
15183 (PRINT): Likewise.
15184 * stdio-common/printf_fp.c (outchar): Likewise.
15185 (PRINT): Likewise.
15186 * stdio-common/printf_fphex.c (outchar): Likewise.
15187 (PRINT): Likewise.
15188 * stdio-common/printf_size.c (outchar): Likewise.
15189 (PRINT): Likewise.
15190 * stdio-common/test_rdwr.c (main): Likewise.
15191 * stdio-common/tfformat.c (matches): Likewise.
15192 * stdio-common/vfprintf.c (outchar): Likewise.
15193 (printf_unknown): Likewise.
15194 (buffered_vfprintf): Likewise.
15195 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15196 * stdio-common/xbug.c (AppendToBuffer): Likewise.
15197 (ReadFile): Likewise.
15198 * stdlib/qsort.c (SWAP): Likewise.
15199 (_quicksort): Likewise.
15200 * stdlib/setenv.c (__add_to_environ): Likewise.
15201 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15202 * stdlib/strtol_l.c (__strtol_l): Likewise.
15203 * stdlib/tst-strtod.c (main): Likewise.
15204 * stdlib/tst-strtol.c (main): Likewise.
15205 * stdlib/tst-strtoll.c (main): Likewise.
15206 * string/bits/string2.h (__strcmp_cc): Likewise.
15207 (__strcmp_cg): Likewise.
15208 (__strcspn_c1): Likewise.
15209 (__strcspn_c2): Likewise.
15210 (__strcspn_c3): Likewise.
15211 (__strspn_c1): Likewise.
15212 (__strspn_c2): Likewise.
15213 (__strspn_c3): Likewise.
15214 (__strsep_1c): Likewise.
15215 (__strsep_2c): Likewise.
15216 (__strsep_3c): Likewise.
15217 * string/memccpy.c (__memccpy): Likewise.
15218 * string/stpcpy.c (__stpcpy): Likewise.
15219 * string/strcmp.c (strcmp): Likewise.
15220 * string/strrchr.c (strrchr): Likewise.
15221 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15222 Likewise.
15223 * sysdeps/mach/hurd/getcwd.c
15224 (_hurd_canonicalize_directory_name_internal): Likewise.
15225 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15226 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15227 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15228 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15229 Likewise, in both definitions.
15230 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15231 definitions.
15232 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15233 64] (__bswap_64): Likewise.
15234 * time/test_time.c (main): Likewise.
15235 * time/tzfile.c (__tzfile_read): Likewise.
15236 (__tzfile_compute): Likewise.
15237 * time/tzset.c (__tzset_parse_tz): Likewise.
15238 (tzset_internal): Likewise.
15239 (compute_change): Likewise.
15240 * wcsmbs/wcscat.c (__wcscat): Likewise.
15241 * wcsmbs/wcschr.c (wcschr): Likewise.
15242 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15243 * wcsmbs/wcscspn.c (wcscspn): Likewise.
15244 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15245 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15246 * wcsmbs/wcsspn.c (wcsspn): Likewise.
15247 * wcsmbs/wcsstr.c (wcsstr): Likewise.
15248 * wcsmbs/wmemchr.c (wmemchr): Likewise.
15249 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15250 * wcsmbs/wmemset.c (wmemset): Likewise.
15251
9e54314b
JM
152522013-06-06 Joseph Myers <joseph@codesourcery.com>
15253
15254 * scripts/config.guess: Update to version 2013-05-16.
15255 * scripts/config.sub: Update to version 2013-04-24.
15256 * scripts/install-sh: Update to version 2011-11-20.07.
15257 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15258 * scripts/move-if-change: Update to version 2012-01-06 07:23.
15259
350635a5
OB
152602013-06-06 Ondřej Bílka <neleai@seznam.cz>
15261
15262 * debug/fgetws_u_chk.c: Fix leading whitespaces.
15263 * elf/sln.c: Likewise.
15264 * hurd/hurd/ioctl.h: Likewise.
15265 * hurd/hurdmalloc.c: Likewise.
15266 * hurd/xattr.c: Likewise.
15267 * include/shlib-compat.h: Likewise.
15268 * inet/ruserpass.c: Likewise.
15269 * libio/iofgets_u.c: Likewise.
15270 * libio/iofgetws_u.c: Likewise.
15271 * locale/programs/ld-identification.c: Likewise.
15272 * locale/programs/ld-time.c: Likewise.
15273 * mach/msg-destroy.c: Likewise.
15274 * nss/nss_files/files-netgrp.c: Likewise.
15275 * resolv/res_data.c: Likewise.
15276 * soft-fp/op-1.h: Likewise.
15277 * soft-fp/op-2.h: Likewise.
15278 * soft-fp/op-4.h: Likewise.
15279 * soft-fp/op-common.h: Likewise.
15280 * stdio-common/printf_fphex.c: Likewise.
15281 * stdlib/strtod_l.c: Likewise.
15282 * sunrpc/rpc/clnt.h: Likewise.
15283 * sysdeps/generic/framestate.c: Likewise.
15284 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15285 * sysdeps/i386/bsd-setjmp.S: Likewise.
15286 * sysdeps/i386/__longjmp.S: Likewise.
15287 * sysdeps/i386/setjmp.S: Likewise.
15288 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15289 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15290 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15291 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15292 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15293 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15294 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15295 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15296 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15297 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15298 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15299 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15300 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15301 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15302 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15303 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15304 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15305 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15306 * sysdeps/ieee754/support.c: Likewise.
15307 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15308 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15309 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15310 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15311 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15312 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15313 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15314 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15315 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15316 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15317 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15318 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15319 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15320 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15321 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15322 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15323 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15325
44a988af
OB
153262013-06-05 Ondřej Bílka <neleai@seznam.cz>
15327
25506f09 15328 * posix/transbug.c: Remove executable mode.
44a988af 15329
9c84384c
JM
153302013-06-05 Joseph Myers <joseph@codesourcery.com>
15331
15332 * crypt/speeds.c: Remove trailing whitespace.
15333 * dlfcn/default.c: Likewise.
15334 * elf/ifuncdep2.c: Likewise.
15335 * elf/ifuncmain1.c: Likewise.
15336 * elf/ifuncmain1vis.c: Likewise.
15337 * elf/testobj.h: Likewise.
15338 * elf/tst-stackguard1.c: Likewise.
15339 * gmon/sys/gmon.h: Likewise.
15340 * hurd/hurdmsg.c: Likewise.
15341 * hurd/new-fd.c: Likewise.
15342 * hurd/ports-get.c: Likewise.
15343 * iconvdata/ibm1008_420.c: Likewise.
15344 * inet/tst-getni1.c: Likewise.
15345 * inet/tst-getni2.c: Likewise.
15346 * libio/ioungetc.c: Likewise.
15347 * libio/wfiledoalloc.c: Likewise.
15348 * manual/libm-err-tab.pl: Likewise.
15349 * math/w_dremf.c: Likewise.
15350 * misc/ftruncate.c: Likewise.
15351 * posix/bug-glob2.c: Likewise.
15352 * posix/tst-pcre.c: Likewise.
15353 * posix/wait4.c: Likewise.
15354 * resolv/README: Likewise.
15355 * resolv/res_debug.h: Likewise.
15356 * resolv/tst-inet_ntop.c: Likewise.
15357 * setjmp/bug269-setjmp.c: Likewise.
15358 * soft-fp/extended.h: Likewise.
15359 * soft-fp/op-1.h: Likewise.
15360 * soft-fp/op-2.h: Likewise.
15361 * soft-fp/op-4.h: Likewise.
15362 * soft-fp/op-8.h: Likewise.
15363 * soft-fp/testit.c: Likewise.
15364 * stdio-common/bug16.c: Likewise.
15365 * stdlib/random.c: Likewise.
15366 * sunrpc/rpcsvc/rquota.x: Likewise.
15367 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15368 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15369 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15370 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15371 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15372 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15373 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15374 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15375 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15376 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15377 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15378 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15379 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15380 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15381 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15382 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15383 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15384 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15385 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15386 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15387 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15388 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15389 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15390 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15391 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15392 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15393 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15394 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15395 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15396 * sysdeps/ieee754/s_lib_version.c: Likewise.
15397 * sysdeps/mach/hurd/check_fds.c: Likewise.
15398 * sysdeps/mach/hurd/getsockname.c: Likewise.
15399 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15400 * sysdeps/mach/hurd/recvfrom.c: Likewise.
15401 * sysdeps/powerpc/bits/link.h: Likewise.
15402 * sysdeps/powerpc/dl-procinfo.c: Likewise.
15403 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15404 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15405 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15406 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15407 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15408 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15409 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15410 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15411 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15412 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15413 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15414 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15415 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15416 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15417 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15418 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15419 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15420 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15421 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15422 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15423 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15424 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15425 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15426 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15427 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15428 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15429 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15430 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15431 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15432 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15433 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15434 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15435 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15436 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15437 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15438 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15439 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15440 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15441 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15442 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15443 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15444 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15445 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
15446 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15447 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
15448 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
15449 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15450 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
15451 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
15452 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15453 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15454 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15455 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15456 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
15457 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15458 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15459 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15460 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
15461 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15462 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
15463 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
15464 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
15465 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15466 * sysdeps/powerpc/sysdep.h: Likewise.
15467 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15468 * sysdeps/s390/s390-64/sub_n.S: Likewise.
15469 * sysdeps/sh/dl-trampoline.S: Likewise.
15470 * sysdeps/sh/memset.S: Likewise.
15471 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
15472 * sysdeps/sh/strlen.S: Likewise.
15473 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
15474 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
15475 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
15476 * sysdeps/sparc/sparc32/rem.S: Likewise.
15477 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15478 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
15479 * sysdeps/sparc/sparc32/strchr.S: Likewise.
15480 * sysdeps/sparc/sparc32/udiv.S: Likewise.
15481 * sysdeps/sparc/sparc32/urem.S: Likewise.
15482 * sysdeps/sparc/sparc64/add_n.S: Likewise.
15483 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15484 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
15485 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
15486 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
15487 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
15488 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15489 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
15490 * sysdeps/unix/bsd/times.c: Likewise.
15491 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
15492 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
15493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15496 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
15497 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15498 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
15499 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
15500 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
15501 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
15502 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15503 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
15504 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15505 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15506 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15507 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15508 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
15509 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
15510 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
15511 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
15512 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
15513 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15514 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
15515 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
15516 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15517 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
15518 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15519 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
15520 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
15521 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
15522 * sysdeps/x86_64/strcspn.S: Likewise.
15523
869378a5
RA
155242013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15525
15526 * locale/C-translit.h: Revert #include <stdint.h> because this is a
15527 generated file. Regenerate properly from gen-translit.pl.
15528 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
15529 locale/C-translit.h.
15530
840e2943
AS
155312013-06-05 Andreas Schwab <schwab@suse.de>
15532
15533 [BZ #15100]
15534 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
15535 week as 6 instead of -1.
15536 * time/tst-strptime.c (day_tests): Add test case.
15537
4c60cb0c
SP
155382013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15539
15540 * sysdeps/generic/math_private.h
15541 (libc_feholdexcept_setround_53bit): Replace with
15542 libc_feholdsetround_53bit.
15543 (libc_feupdateenv_53bit): Replace with
15544 libc_feresetround_53bit.
15545 (SET_RESTORE_ROUND_53BIT): Adjust.
15546
d180203e
SP
155472013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15548
96df079a
SP
15549 * string/test-strchrnul.c: Add copyright header.
15550
d180203e
SP
15551 * posix/tst-getaddrinfo4.c: Increase test timeout.
15552
8b0ccb2d
CD
155532013-06-03 Carlos O'Donell <carlos@redhat.com>
15554
15555 [BZ #15536]
15556 * math/libm-test.inc (MAX_EXP): Remove
15557 (MIN_EXP): Define.
15558 (ulp): Use MIN_EXP - MANT_DIG.
15559 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
15560
3b3c4d40
CD
155612013-05-31 Carlos O'Donell <carlos@redhat.com>
15562
15563 * po/be.po: Revert last change.
15564 * po/zh_CN.po: Likewise.
15565 * po/header.pot: Likewise.
15566
fab7ce3f
JM
155672013-05-31 Joseph Myers <joseph@codesourcery.com>
15568
15569 * Makefile ($(common-objpfx)linkobj/libc.so): Define
15570 link-libc-deps to empty as target-specific variable.
15571 * Makerules (link-libc-args): New variable.
15572 (libc-for-link): Likewise.
15573 (link-libc-deps): Likewise.
15574 (lib%.so): Depend on $(link-libc-deps). Link with
15575 $(link-libc-args).
15576 (build-module): Link with $(link-libc-args).
15577 (build-module-asneeded): Likewise.
15578 (build-module-helper-objlist): Filter out $(link-libc-deps) from
15579 list of objects.
15580 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
15581 target-specific variable.
15582 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
15583 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
15584 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
15585 libc.
15586 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
15587 libc and ld.so.
15588 ($(objpfx)libpcprofile.so): Likewise.
15589 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
15590 libc_nonshared.a.
15591 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
15592 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
15593 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
15594 $(link-libc-deps).
15595 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
15596 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
15597 * login/Makefile ($(objpfx)libutil.so): Likewise.
15598 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
15599 * math/Makefile ($(objpfx)libm.so): Likewise.
15600 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
15601 $(objpfx)libnsl.so): Define libc-for-link as target-specific
15602 variable instead of depending directly on libc.
15603 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
15604 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
15605 $(link-libc-deps).
15606 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
15607 libc.
15608 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
15609 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
15610 ($(objpfx)libanl.so): Likewise.
15611 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
15612 ld.so.
15613 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
15614 $(link-libc-deps).
15615 * sysdeps/i386/fpu/Makefile: Remove file.
15616 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
15617 ($(objpfx)libm.so): Remove dependency on ld.so.
15618
eca5920c
PF
156192013-05-30 Patsy Franklin <pfrankli@redhat.com>
15620
15621 [BZ # 15553]
15622 * nis/yp_xdr.c (XDRMAXNAME): Define.
15623 (XDRMAXRECORD): Define.
15624 (xdr_domainname): Use XDRMAXNAME.
15625 (xdr_mapname): Likewise.
15626 (xdr_peername): Likewise.
15627 (xdr_keydat): Use XDRMAXRECORD.
15628 (xdr_valdat): Likewise.
15629
156302013-05-30 Jeff Law <law@redhat.com>
96945714
JL
15631
15632 [BZ #14256]
15633 * manual/errno.texi (ESTALE): Update to account for more than
15634 just NFS file systems.
15635 * sysdeps/gnu/errlist.c: Regenerated.
15636
b9375348
SP
156372013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15638
15639 [BZ #15465]
15640 * elf/Makefile (tests): Add tst-null-argv.
15641 (modules-names): Add tst-null-argv-lib.
15642 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
15643 (tst-null-argv-ENV): Set environment for tst-null-argv.
15644 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
15645 (RTLD_PROGNAME): New macro.
15646 * elf/tst-null-argv.c: New test case.
15647 * elf/tst-null-argv-lib.c: Library for test case.
15648 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
15649 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
15650 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
15651 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
15652 * elf/dl-init.c (call_init): Likewise.
15653 (_dl_init): Likewise.
15654 * elf/dl-load.c (print_search_path): Likewise.
15655 (_dl_map_object): Likewise.
15656 * elf/dl-lookup.c (do_lookup_x): Likewise.
15657 (add_dependency): Likewise.
15658 (_dl_lookup_symbol_x): Likewise.
15659 (_dl_debug_bindings): Likewise.
15660 * elf/dl-open.c (_dl_show_scope): Likewise.
15661 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15662 * elf/dl-version.c (match_symbol): Likewise.
15663 (_dl_check_map_versions): Likewise.
15664 * elf/rtld.c (dl_main): Likewise.
15665 (print_unresolved): Use RTLD_PROGNAME.
15666 (print_missing_version): Likewise.
15667 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15668 (elf_machine_rela): Likewise.
15669 * sysdeps/powerpc/powerpc32/dl-machine.c
15670 (__process_machine_rela): Likewise.
15671 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15672 Likewise.
15673 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15674 Likewise.
15675 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15676 Likewise.
15677 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15678 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15679 Likewise.
15680 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15681 Likewise.
15682 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15683
8a9f20c8
CD
156842013-05-28 Carlos O'Donell <carlos@redhat.com>
15685
15686 * po/be.po: Add descriptive title.
15687 * po/zh_CN.po: Likewise.
15688 * po/header.pot: Likewise.
15689
0e60d68e
MF
156902013-05-28 Mike Frysinger <vapier@gentoo.org>
15691
15692 * locale/programs/locarchive.c (create_archive): Inlucde fname in
15693 error message.
15694 (enlarge_archive): Likewise.
15695
56b672e9
BN
156962013-05-28 Ben North <ben@redfrontdoor.org>
15697
15698 * manual/arith.texi (frexp): It is the magnitude of the return
15699 value which lies in [0.5, 1), not the return value itself.
15700
5e056687
AZ
157012013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15702
15703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15704
2b66ef5d
TS
157052013-05-26 Thomas Schwinge <thomas@codesourcery.com>
15706
528c2405
TS
15707 * stdio-common/bug26.c (main): Correct fscanf template.
15708
07b4c13d
TS
15709 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
15710 declare _dl_skip_args.
15711
ec9dd97c
TS
15712 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
15713 Don't declare.
15714
2b66ef5d
TS
15715 * manual/platform.texi: Add missing @end deftypefun.
15716
4f8dfe27
JM
157172013-05-24 Joseph Myers <joseph@codesourcery.com>
15718
0323d086
JM
15719 [BZ #15529]
15720 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
15721 bit of mantissa of 2^16382.
15722 * math/libm-test.inc (hypot_test_data): Add more tests.
15723
dd4259b9
JM
15724 * math/libm-test.inc: Add drem and pow10 to list of tested
15725 functions.
15726 (pow10_test): New function.
15727 (drem_test): Likewise.
15728 (drem_test_tonearest): Likewise.
15729 (drem_test_towardzero): Likewise.
15730 (drem_test_downward): Likewise.
15731 (drem_test_upward): Likewise.
15732 (main): Call the new functions.
15733
4f8dfe27
JM
15734 * math/libm-test.inc (finite_test_data): Remove.
15735 (finite_test): Run tests from isfinite_test_data.
15736 (gamma_test_data): Remove.
15737 (gamma_test): Run tests from lgamma_test_data.
15738 * sysdeps/i386/fpu/libm-test-ulps: Update.
15739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15740
d116b7c4
AZ
157412013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15742
15743 * manual/platform.texi: Add PowerPC PPR function set documentation.
15744 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
15745 implementation.
15746
e96e3767
CD
157472013-05-24 Carlos O'Donell <carlos@redhat.com>
15748
15749 * math/libm-test.inc (MAX_EXP): Define.
15750 (ULPDIFF): Define.
15751 (ulp): New function.
15752 (check_float_internal): Use ULPDIFF.
15753 (cpow_test): Disable failing test.
15754 (check_ulp): Test ulp() implemetnation.
15755 (main): Call check_ulp before starting tests.
15756
b679a606
JM
157572013-05-24 Joseph Myers <joseph@codesourcery.com>
15758
e8bdba36
JM
15759 * math/gen-libm-test.pl (generate_testfile): Do not handle
15760 START_DATA and END_DATA.
15761 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
15762 END_DATA.
15763 (acos_tonearest_test_data): Likewise.
15764 (acos_towardzero_test_data): Likewise.
15765 (acos_downward_test_data): Likewise.
15766 (acos_upward_test_data): Likewise.
15767 (acosh_test_data): Likewise.
15768 (asin_test_data): Likewise.
15769 (asin_tonearest_test_data): Likewise.
15770 (asin_towardzero_test_data): Likewise.
15771 (asin_downward_test_data): Likewise.
15772 (asin_upward_test_data): Likewise.
15773 (asinh_test_data): Likewise.
15774 (atan_test_data): Likewise.
15775 (atanh_test_data): Likewise.
15776 (atan2_test_data): Likewise.
15777 (cabs_test_data): Likewise.
15778 (cacos_test_data): Likewise.
15779 (cacosh_test_data): Likewise.
15780 (carg_test_data): Likewise.
15781 (casin_test_data): Likewise.
15782 (casinh_test_data): Likewise.
15783 (catan_test_data): Likewise.
15784 (catanh_test_data): Likewise.
15785 (cbrt_test_data): Likewise.
15786 (ccos_test_data): Likewise.
15787 (ccosh_test_data): Likewise.
15788 (ceil_test_data): Likewise.
15789 (cexp_test_data): Likewise.
15790 (cimag_test_data): Likewise.
15791 (clog_test_data): Likewise.
15792 (clog10_test_data): Likewise.
15793 (conj_test_data): Likewise.
15794 (copysign_test_data): Likewise.
15795 (cos_test_data): Likewise.
15796 (cos_tonearest_test_data): Likewise.
15797 (cos_towardzero_test_data): Likewise.
15798 (cos_downward_test_data): Likewise.
15799 (cos_upward_test_data): Likewise.
15800 (cosh_test_data): Likewise.
15801 (cosh_tonearest_test_data): Likewise.
15802 (cosh_towardzero_test_data): Likewise.
15803 (cosh_downward_test_data): Likewise.
15804 (cosh_upward_test_data): Likewise.
15805 (cpow_test_data): Likewise.
15806 (cproj_test_data): Likewise.
15807 (creal_test_data): Likewise.
15808 (csin_test_data): Likewise.
15809 (csinh_test_data): Likewise.
15810 (csqrt_test_data): Likewise.
15811 (ctan_test_data): Likewise.
15812 (ctan_tonearest_test_data): Likewise.
15813 (ctan_towardzero_test_data): Likewise.
15814 (ctan_downward_test_data): Likewise.
15815 (ctan_upward_test_data): Likewise.
15816 (ctanh_test_data): Likewise.
15817 (ctanh_tonearest_test_data): Likewise.
15818 (ctanh_towardzero_test_data): Likewise.
15819 (ctanh_downward_test_data): Likewise.
15820 (ctanh_upward_test_data): Likewise.
15821 (erf_test_data): Likewise.
15822 (erfc_test_data): Likewise.
15823 (exp_test_data): Likewise.
15824 (exp_tonearest_test_data): Likewise.
15825 (exp_towardzero_test_data): Likewise.
15826 (exp_downward_test_data): Likewise.
15827 (exp_upward_test_data): Likewise.
15828 (exp10_test_data): Likewise.
15829 (exp2_test_data): Likewise.
15830 (expm1_test_data): Likewise.
15831 (fabs_test_data): Likewise.
15832 (fdim_test_data): Likewise.
15833 (finite_test_data): Likewise.
15834 (floor_test_data): Likewise.
15835 (fma_test_data): Likewise.
15836 (fma_towardzero_test_data): Likewise.
15837 (fma_downward_test_data): Likewise.
15838 (fma_upward_test_data): Likewise.
15839 (fmax_test_data): Likewise.
15840 (fmin_test_data): Likewise.
15841 (fmod_test_data): Likewise.
15842 (fpclassify_test_data): Likewise.
15843 (frexp_test_data): Likewise.
15844 (gamma_test_data): Likewise.
15845 (hypot_test_data): Likewise.
15846 (ilogb_test_data): Likewise.
15847 (isfinite_test_data): Likewise.
15848 (isgreater_test_data): Likewise.
15849 (isgreaterequal_test_data): Likewise.
15850 (isinf_test_data): Likewise.
15851 (isless_test_data): Likewise.
15852 (islessequal_test_data): Likewise.
15853 (islessgreater_test_data): Likewise.
15854 (isnan_test_data): Likewise.
15855 (isnormal_test_data): Likewise.
15856 (issignaling_test_data): Likewise.
15857 (isunordered_test_data): Likewise.
15858 (j0_test_data): Likewise.
15859 (j1_test_data): Likewise.
15860 (jn_test_data): Likewise.
15861 (ldexp_test_data): Likewise.
15862 (lgamma_test_data): Likewise.
15863 (lrint_test_data): Likewise.
15864 (lrint_tonearest_test_data): Likewise.
15865 (lrint_towardzero_test_data): Likewise.
15866 (lrint_downward_test_data): Likewise.
15867 (lrint_upward_test_data): Likewise.
15868 (llrint_test_data): Likewise.
15869 (llrint_tonearest_test_data): Likewise.
15870 (llrint_towardzero_test_data): Likewise.
15871 (llrint_downward_test_data): Likewise.
15872 (llrint_upward_test_data): Likewise.
15873 (log_test_data): Likewise.
15874 (log10_test_data): Likewise.
15875 (log1p_test_data): Likewise.
15876 (log2_test_data): Likewise.
15877 (logb_test_data): Likewise.
15878 (logb_downward_test_data): Likewise.
15879 (lround_test_data): Likewise.
15880 (llround_test_data): Likewise.
15881 (modf_test_data): Likewise.
15882 (nearbyint_test_data): Likewise.
15883 (nextafter_test_data): Likewise.
15884 (nexttoward_test_data): Likewise.
15885 (pow_test_data): Likewise.
15886 (pow_tonearest_test_data): Likewise.
15887 (pow_towardzero_test_data): Likewise.
15888 (pow_downward_test_data): Likewise.
15889 (pow_upward_test_data): Likewise.
15890 (remainder_test_data): Likewise.
15891 (remainder_tonearest_test_data): Likewise.
15892 (remainder_towardzero_test_data): Likewise.
15893 (remainder_downward_test_data): Likewise.
15894 (remainder_upward_test_data): Likewise.
15895 (remquo_test_data): Likewise.
15896 (rint_test_data): Likewise.
15897 (rint_tonearest_test_data): Likewise.
15898 (rint_towardzero_test_data): Likewise.
15899 (rint_downward_test_data): Likewise.
15900 (rint_upward_test_data): Likewise.
15901 (round_test_data): Likewise.
15902 (scalb_test_data): Likewise.
15903 (scalbn_test_data): Likewise.
15904 (scalbln_test_data): Likewise.
15905 (signbit_test_data): Likewise.
15906 (sin_test_data): Likewise.
15907 (sin_tonearest_test_data): Likewise.
15908 (sin_towardzero_test_data): Likewise.
15909 (sin_downward_test_data): Likewise.
15910 (sin_upward_test_data): Likewise.
15911 (sincos_test_data): Likewise.
15912 (sinh_test_data): Likewise.
15913 (sinh_tonearest_test_data): Likewise.
15914 (sinh_towardzero_test_data): Likewise.
15915 (sinh_downward_test_data): Likewise.
15916 (sinh_upward_test_data): Likewise.
15917 (sqrt_test_data): Likewise.
15918 (tan_test_data): Likewise.
15919 (tan_tonearest_test_data): Likewise.
15920 (tan_towardzero_test_data): Likewise.
15921 (tan_downward_test_data): Likewise.
15922 (tan_upward_test_data): Likewise.
15923 (tanh_test_data): Likewise.
15924 (tgamma_test_data): Likewise.
15925 (trunc_test_data): Likewise.
15926 (y0_test_data): Likewise.
15927 (y1_test_data): Likewise.
15928 (yn_test_data): Likewise.
15929 (significand_test_data): Likewise.
15930
b679a606
JM
15931 * math/gen-libm-test.pl (@functions): Remove variable.
15932 (generate_testfile): Don't handle START and END lines.
15933 * math/libm-test.inc (START): New macro.
15934 (END): Likewise.
15935 (END_COMPLEX): Likewise.
15936 (acos_test): Use END macro without arguments.
15937 (acos_test_tonearest): Likewise.
15938 (acos_test_towardzero): Likewise.
15939 (acos_test_downward): Likewise.
15940 (acos_test_upward): Likewise.
15941 (acosh_test): Likewise.
15942 (asin_test): Likewise.
15943 (asin_test_tonearest): Likewise.
15944 (asin_test_towardzero): Likewise.
15945 (asin_test_downward): Likewise.
15946 (asin_test_upward): Likewise.
15947 (asinh_test): Likewise.
15948 (atan_test): Likewise.
15949 (atanh_test): Likewise.
15950 (atan2_test): Likewise.
15951 (cabs_test): Likewise.
15952 (cacos_test): Use END_COMPLEX macro without arguments.
15953 (cacosh_test): Likewise.
15954 (carg_test): Use END macro without arguments.
15955 (casin_test): Use END_COMPLEX macro without arguments.
15956 (casinh_test): Likewise.
15957 (catan_test): Likewise.
15958 (catanh_test): Likewise.
15959 (cbrt_test): Use END macro without arguments.
15960 (ccos_test): Use END_COMPLEX macro without arguments.
15961 (ccosh_test): Likewise.
15962 (ceil_test): Use END macro without arguments.
15963 (cexp_test): Use END_COMPLEX macro without arguments.
15964 (cimag_test): Use END macro without arguments.
15965 (clog_test): Use END_COMPLEX macro without arguments.
15966 (clog10_test): Likewise.
15967 (conj_test): Likewise.
15968 (copysign_test): Use END macro without arguments.
15969 (cos_test): Likewise.
15970 (cos_test_tonearest): Likewise.
15971 (cos_test_towardzero): Likewise.
15972 (cos_test_downward): Likewise.
15973 (cos_test_upward): Likewise.
15974 (cosh_test): Likewise.
15975 (cosh_test_tonearest): Likewise.
15976 (cosh_test_towardzero): Likewise.
15977 (cosh_test_downward): Likewise.
15978 (cosh_test_upward): Likewise.
15979 (cpow_test): Use END_COMPLEX macro without arguments.
15980 (cproj_test): Likewise.
15981 (creal_test): Use END macro without arguments.
15982 (csin_test): Use END_COMPLEX macro without arguments.
15983 (csinh_test): Likewise.
15984 (csqrt_test): Likewise.
15985 (ctan_test): Likewise.
15986 (ctan_test_tonearest): Likewise.
15987 (ctan_test_towardzero): Likewise.
15988 (ctan_test_downward): Likewise.
15989 (ctan_test_upward): Likewise.
15990 (ctanh_test): Likewise.
15991 (ctanh_test_tonearest): Likewise.
15992 (ctanh_test_towardzero): Likewise.
15993 (ctanh_test_downward): Likewise.
15994 (ctanh_test_upward): Likewise.
15995 (erf_test): Use END macro without arguments.
15996 (erfc_test): Likewise.
15997 (exp_test): Likewise.
15998 (exp_test_tonearest): Likewise.
15999 (exp_test_towardzero): Likewise.
16000 (exp_test_downward): Likewise.
16001 (exp_test_upward): Likewise.
16002 (exp10_test): Likewise.
16003 (exp2_test): Likewise.
16004 (expm1_test): Likewise.
16005 (fabs_test): Likewise.
16006 (fdim_test): Likewise.
16007 (finite_test): Likewise.
16008 (floor_test): Likewise.
16009 (fma_test): Likewise.
16010 (fma_test_towardzero): Likewise.
16011 (fma_test_downward): Likewise.
16012 (fma_test_upward): Likewise.
16013 (fmax_test): Likewise.
16014 (fmin_test): Likewise.
16015 (fmod_test): Likewise.
16016 (fpclassify_test): Likewise.
16017 (frexp_test): Likewise.
16018 (gamma_test): Likewise.
16019 (hypot_test): Likewise.
16020 (ilogb_test): Likewise.
16021 (isfinite_test): Likewise.
16022 (isgreater_test): Likewise.
16023 (isgreaterequal_test): Likewise.
16024 (isinf_test): Likewise.
16025 (isless_test): Likewise.
16026 (islessequal_test): Likewise.
16027 (islessgreater_test): Likewise.
16028 (isnan_test): Likewise.
16029 (isnormal_test): Likewise.
16030 (issignaling_test): Likewise.
16031 (isunordered_test): Likewise.
16032 (j0_test): Likewise.
16033 (j1_test): Likewise.
16034 (jn_test): Likewise.
16035 (ldexp_test): Likewise.
16036 (lgamma_test): Likewise.
16037 (lrint_test): Likewise.
16038 (lrint_test_tonearest): Likewise.
16039 (lrint_test_towardzero): Likewise.
16040 (lrint_test_downward): Likewise.
16041 (lrint_test_upward): Likewise.
16042 (llrint_test): Likewise.
16043 (llrint_test_tonearest): Likewise.
16044 (llrint_test_towardzero): Likewise.
16045 (llrint_test_downward): Likewise.
16046 (llrint_test_upward): Likewise.
16047 (log_test): Likewise.
16048 (log10_test): Likewise.
16049 (log1p_test): Likewise.
16050 (log2_test): Likewise.
16051 (logb_test): Likewise.
16052 (logb_test_downward): Likewise.
16053 (lround_test): Likewise.
16054 (llround_test): Likewise.
16055 (modf_test): Likewise.
16056 (nearbyint_test): Likewise.
16057 (nextafter_test): Likewise.
16058 (nexttoward_test): Likewise.
16059 (pow_test): Likewise.
16060 (pow_test_tonearest): Likewise.
16061 (pow_test_towardzero): Likewise.
16062 (pow_test_downward): Likewise.
16063 (pow_test_upward): Likewise.
16064 (remainder_test): Likewise.
16065 (remainder_test_tonearest): Likewise.
16066 (remainder_test_towardzero): Likewise.
16067 (remainder_test_downward): Likewise.
16068 (remainder_test_upward): Likewise.
16069 (remquo_test): Likewise.
16070 (rint_test): Likewise.
16071 (rint_test_tonearest): Likewise.
16072 (rint_test_towardzero): Likewise.
16073 (rint_test_downward): Likewise.
16074 (rint_test_upward): Likewise.
16075 (round_test): Likewise.
16076 (scalb_test): Likewise.
16077 (scalbn_test): Likewise.
16078 (scalbln_test): Likewise.
16079 (signbit_test): Likewise.
16080 (sin_test): Likewise.
16081 (sin_test_tonearest): Likewise.
16082 (sin_test_towardzero): Likewise.
16083 (sin_test_downward): Likewise.
16084 (sin_test_upward): Likewise.
16085 (sincos_test): Likewise.
16086 (sinh_test): Likewise.
16087 (sinh_test_tonearest): Likewise.
16088 (sinh_test_towardzero): Likewise.
16089 (sinh_test_downward): Likewise.
16090 (sinh_test_upward): Likewise.
16091 (sqrt_test): Likewise.
16092 (tan_test): Likewise.
16093 (tan_test_tonearest): Likewise.
16094 (tan_test_towardzero): Likewise.
16095 (tan_test_downward): Likewise.
16096 (tan_test_upward): Likewise.
16097 (tanh_test): Likewise.
16098 (tgamma_test): Likewise.
16099 (trunc_test): Likewise.
16100 (y0_test): Likewise.
16101 (y1_test): Likewise.
16102 (yn_test): Likewise.
16103 (significand_test): Likewise.
16104
bae143d2
OB
161052013-05-24 Ondřej Bílka <neleai@seznam.cz>
16106
16107 [BZ #15381]
16108 * libio/genops.c (_IO_no_init): Initialize wide struct info.
16109
9323d39b
EM
161102013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
16111
d4ea44a0 16112 [BZ #14894]
9323d39b
EM
16113 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16114 __ppc_mdoio and __ppc_mdoom.
16115 * manual/platform.texi: Document new functions __ppc_yield,
16116 __ppc_mdoio and __ppc_mdoom.
16117
13e23af7
CD
161182013-05-22 Carlos O'Donell <carlos@redhat.com>
16119
16120 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16121 (main): Mention "tls" pseudo-hwcap is legacy.
16122 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16123
351fe550
JM
161242013-05-22 Joseph Myers <joseph@codesourcery.com>
16125
16126 * math/gen-libm-test.pl (parse_args): Output only string of
16127 arguments as text for test name, not full call or descriptions of
16128 tests for extra outputs.
16129 (generate_testfile): Do not pass function name to parse_args.
16130 Generate this_func variable from START.
16131 * math/libm-test.inc (struct test_f_f_data): Rename test_name
16132 field to arg_str.
16133 (struct test_ff_f_data): Likewise.
16134 (test_ff_f_data_nexttoward): Likewise.
16135 (struct test_fi_f_data): Likewise.
16136 (struct test_fl_f_data): Likewise.
16137 (struct test_if_f_data): Likewise.
16138 (struct test_fff_f_data): Likewise.
16139 (struct test_c_f_data): Likewise.
16140 (struct test_f_f1_data): Likewise. Remove field extra_name.
16141 (struct test_fF_f1_data): Likewise.
16142 (struct test_ffI_f1_data): Likewise.
16143 (struct test_c_c_data): Rename test_name field to arg_str.
16144 (struct test_cc_c_data): Likewise.
16145 (struct test_f_i_data): Likewise.
16146 (struct test_ff_i_data): Likewise.
16147 (struct test_f_l_data): Likewise.
16148 (struct test_f_L_data): Likewise.
16149 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
16150 and extra2_name.
16151 (COMMON_TEST_SETUP): New macro.
16152 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16153 (COMMON_TEST_CLEANUP): Likewise.
16154 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16155 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
16156 macros.
16157 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16158 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
16159 macros.
16160 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16161 (RUN_TEST_fff_f): Take argument string. Call new setup and
16162 cleanup macros.
16163 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16164 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
16165 macros.
16166 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16167 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
16168 macros.
16169 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16170 (RUN_TEST_fF_f1): Take argument string. Call new setup and
16171 cleanup macros.
16172 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16173 (RUN_TEST_fI_f1): Take argument string. Call new setup and
16174 cleanup macros.
16175 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16176 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
16177 cleanup macros.
16178 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16179 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
16180 macros.
16181 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16182 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
16183 macros.
16184 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16185 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
16186 macros.
16187 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16188 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
16189 cleanup macros.
16190 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16191 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
16192 cleanup macros.
16193 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16194 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
16195 macros.
16196 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16197 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
16198 cleanup macros.
16199 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16200 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
16201 macros.
16202 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16203 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
16204 macros.
16205 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16206 (RUN_TEST_fFF_11): Take argument string. Call new setup and
16207 cleanup macros.
16208 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16209
85118d4d
EBM
162102013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16211
16212 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16213 to _sifields.sigfault.
16214 (si_addr_lsb): Define new macro.
16215 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16216 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16217 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16218
7a44c18f
CD
162192013-05-03 Carlos O'Donell <carlos at redhat.com>
16220
16221 [BZ #15441]
16222 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16223 returns -1.
16224 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16225 null return -1.
16226 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16227 loading the domain.
16228
b50a7181
JM
162292013-05-22 Joseph Myers <joseph@codesourcery.com>
16230
16231 * math/gen-libm-test.pl (parse_args): Do not include expected
16232 result in test name.
16233 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16234 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16235 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16236 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16237 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16239
051063c8
SP
162402013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16241
3ce9e010
SP
16242 * benchtests/Makefile: Sort function entries.
16243
051063c8
SP
16244 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16245 tanh, asinh, acosh, atanh.
16246 * benchtests/acos-inputs: New file.
16247 * benchtests/acosh-inputs: New file.
16248 * benchtests/asin-inputs: New file.
16249 * benchtests/asinh-inputs: New file.
16250 * benchtests/atanh-inputs: New file.
16251 * benchtests/cosh-inputs: New file.
16252 * benchtests/log-inputs: New file.
16253 * benchtests/sinh-inputs: New file.
16254 * benchtests/tanh-inputs: New file.
16255
47c22455
DL
162562013-05-21 Dmitry V. Levin <ldv@altlinux.org>
16257
16258 [BZ #15339]
16259 * posix/tst-getaddrinfo4.c: New test.
16260 * posix/Makefile (tests): Add it.
16261
3d04f5db
SP
162622013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16263
16264 [BZ #15339]
16265 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16266 when no services were used.
16267 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16268 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16269
d5dd6189
AS
162702013-05-21 Andreas Schwab <schwab@suse.de>
16271
16272 [BZ #15014]
16273 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16274 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16275 successful.
16276 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16277 redundant variable declarations and reallocation of buffer when
16278 parsing as IPv6 address. Always set NSS status when called from
16279 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
16280 buffer too small. Correct computation of needed size.
16281 * nss/Makefile (tests): Add test-digits-dots.
16282 * nss/test-digits-dots.c: New test.
16283
fef94eab
SP
162842013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16285
16286 * benchtests/Makefile: Remove instructions for adding
16287 benchmark tests.
16288 * benchtests/README: New file to explain how to execute and
16289 enhance the benchmark tests.
16290
e39adf43
AS
162912013-05-21 Andreas Schwab <schwab@suse.de>
16292
16293 [BZ #15493]
16294 * setjmp/Makefile (tests): Add tst-sigsetjmp.
16295 * setjmp/tst-sigsetjmp.c: New test.
16296
b2b671b6
OB
162972013-05-20 Ondřej Bílka <neleai@seznam.cz>
16298
16299 * sysdeps/x86_64/memset.S (memset): New implementation.
16300 (__bzero): Likewise.
16301 (__memset_tail): New function.
16302
2d48b41c
OB
163032013-05-20 Ondřej Bílka <neleai@seznam.cz>
16304
16305 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16306 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16307 __memcpy_sse2_unaligned ifunc selection.
16308 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16309 Add memcpy-sse2-unaligned.S.
16310 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16311 Add: __memcpy_sse2_unaligned.
16312
f16cc3eb
JM
163132013-05-19 Joseph Myers <joseph@codesourcery.com>
16314
3e694268
JM
16315 [BZ #15490]
16316 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16317 math_force_eval before restoring floating-point envrionment.
16318 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16319 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16320 Likewise.
16321 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16322 <math_private.h>.
16323 (__nearbyintl): Use math_force_eval before restoring
16324 floating-point environment.
16325 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16326
db62a907
JM
16327 * math/gen-libm-test.pl (special_functions): Remove.
16328 (parse_args): Don't handle TEST_extra. Handle functions with no
16329 return value.
16330 * math/libm-test.inc (struct test_sincos_data): Replace with
16331 struct test_fFF_11_data.
16332 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16333 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16334 (sincos_test_data): Change element type to struct
16335 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
16336 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16337 RUN_TEST_LOOP_sincos.
16338 * math/README.libm-test: Don't mention special handling of
16339 individual functions.
16340 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16341 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16342 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16343 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16344 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16346
f16cc3eb
JM
16347 * math/gen-libm-test.pl (get_variable): Remove function.
16348 (parse_args): Don't show pointer parameters to call in test
16349 names. Use "extra output N" in test names for extra outputs
16350 rather than naming variables.
16351
3779b5b6
JM
163522013-05-18 Joseph Myers <joseph@codesourcery.com>
16353
2ee094ff
JM
16354 [BZ #15488]
16355 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16356 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16357 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16358 double tests.
16359 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16360 disable.
16361 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16362 check_long_double.
16363
3779b5b6
JM
16364 * math/gen-libm-test.pl (@tests): Remove variable.
16365 ($count): Likewise.
16366 (new_test): Remove function.
16367 (show_exceptions): New function.
16368 (special_functions): Use show_exceptions instead of new_test.
16369 (parse_args): Likewise.
16370 (generate_testfile): Pass only function name in generated call to
16371 print_max_error or print_complex_max_error.
16372 (get_ulps): Do not handle complex tests specially.
16373 (output_test): Rename to ...
16374 (get_all_ulps_for_test): ... this. Return a string rather than
16375 printing to a file. Require ulps to be present.
16376 (output_ulps): Generate arrays rather than #defines.
16377 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16378 (struct ulp_data): New type.
16379 (BUILD_COMPLEX_ULP): Remove macro.
16380 (compare_ulp_data): New function.
16381 (find_ulps): Likewise.
16382 (find_test_ulps): Likewise.
16383 (find_function_ulps): Likewise.
16384 (find_complex_function_ulps): Likewise.
16385 (print_max_error): Determine allowed ulps using
16386 find_function_ulps.
16387 (print_complex_max_error): Determine allowed ulps using
16388 find_complex_function_ulps.
16389 (check_float_internal): Determine max ulps using find_test_ulps.
16390 (check_float): Do not take max_ulp parameter. Update call to
16391 check_float_internal.
16392 (check_complex): Likewise.
16393 (check_int): Do not take max_ulp parameter.
16394 (check_long): Likewise.
16395 (check_bool): Likewise.
16396 (check_longlong): Likewise.
16397 (struct test_f_f_data): Remove max_ulp field.
16398 (struct test_ff_f_data): Likewise.
16399 (struct test_ff_f_data_nexttoward): Likewise.
16400 (struct test_fi_f_data): Likewise.
16401 (struct test_fl_f_data): Likewise.
16402 (struct test_if_f_data): Likewise.
16403 (struct test_fff_f_data): Likewise.
16404 (struct test_c_f_data): Likewise.
16405 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16406 (struct test_fF_f1_data): Likewise.
16407 (struct test_ffI_f1_data): Likewise.
16408 (struct test_c_c_data): Remove max_ulp field.
16409 (struct test_cc_c_data): Likewise.
16410 (struct test_f_i_data): Likewise.
16411 (struct test_ff_i_data): Likewise.
16412 (struct test_f_l_data): Likewise.
16413 (struct test_f_L_data): Likewise.
16414 (struct test_sincos_data): Likewise.
16415 (RUN_TEST_f_f): Do not handle ulps.
16416 (RUN_TEST_LOOP_f_f): Likewise.
16417 (RUN_TEST_2_f): Likewise.
16418 (RUN_TEST_LOOP_2_f): Likewise.
16419 (RUN_TEST_fff_f): Likewise.
16420 (RUN_TEST_LOOP_fff_f): Likewise.
16421 (RUN_TEST_c_f): Likewise.
16422 (RUN_TEST_LOOP_c_f): Likewise.
16423 (RUN_TEST_f_f1): Likewise.
16424 (RUN_TEST_LOOP_f_f1): Likewise.
16425 (RUN_TEST_fF_f1): Likewise.
16426 (RUN_TEST_LOOP_fF_f1): Likewise.
16427 (RUN_TEST_fI_f1): Likewise.
16428 (RUN_TEST_LOOP_fI_f1): Likewise.
16429 (RUN_TEST_ffI_f1): Likewise.
16430 (RUN_TEST_LOOP_ffI_f1): Likewise.
16431 (RUN_TEST_c_c): Likewise.
16432 (RUN_TEST_LOOP_c_c): Likewise.
16433 (RUN_TEST_cc_c): Likewise.
16434 (RUN_TEST_LOOP_cc_c): Likewise.
16435 (RUN_TEST_f_i): Likewise.
16436 (RUN_TEST_LOOP_f_i): Likewise.
16437 (RUN_TEST_f_i_tg): Likewise.
16438 (RUN_TEST_LOOP_f_i_tg): Likewise.
16439 (RUN_TEST_ff_i_tg): Likewise.
16440 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16441 (RUN_TEST_f_b): Likewise.
16442 (RUN_TEST_LOOP_f_b): Likewise.
16443 (RUN_TEST_f_b_tg): Likewise.
16444 (RUN_TEST_LOOP_f_b_tg): Likewise.
16445 (RUN_TEST_f_l): Likewise.
16446 (RUN_TEST_LOOP_f_l): Likewise.
16447 (RUN_TEST_f_L): Likewise.
16448 (RUN_TEST_LOOP_f_L): Likewise.
16449 (RUN_TEST_sincos): Likewise.
16450 (RUN_TEST_LOOP_sincos): Likewise.
16451
8269107f
JM
164522013-05-17 Joseph Myers <joseph@codesourcery.com>
16453
bb38759d
JM
16454 [BZ #15480]
16455 [BZ #15485]
16456 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
16457 main case of finite arguments, set rounding mode to FE_TONEAREST
16458 and discard exceptions.
16459 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
16460 exceptions.
16461 (remainder_tonearest_test_data): New variable.
16462 (remainder_test_tonearest): New function.
16463 (remainder_towardzero_test_data): New variable.
16464 (remainder_test_towardzero): New function.
16465 (remainder_downward_test_data): New variable.
16466 (remainder_test_downward): New function.
16467 (remainder_upward_test_data): New variable.
16468 (remainder_test_upward): New function.
16469 (main): Call the new test functions.
16470
a00bdcf0
JM
16471 * math/libm-test.inc (struct test_f_f1_data): Remove field
16472 extra_init.
16473 (struct test_fF_f1_data): Likewise.
16474 (struct test_ffI_f1_data): Likewise.
16475 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
16476 based on value of EXTRA_EXPECTED.
16477 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16478 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
16479 EXTRA_VAR based on value of EXTRA_EXPECTED.
16480 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16481 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
16482 EXTRA_VAR based on value of EXTRA_EXPECTED.
16483 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16484 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
16485 EXTRA_VAR based on value of EXTRA_EXPECTED.
16486 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16487 * math/gen-libm-test.pl (parse_args): Don't output initializers
16488 for extra output values.
16489
de407f79
JM
16490 * math/libm-test.inc (check_int): Expect result to be exactly
16491 equal to expected value and do not handle ulps.
16492 (check_long): Likewise.
16493 (check_longlong): Likewise.
16494
8269107f
JM
16495 * math/libm-test.inc (ceil_test_data): Test for "inexact"
16496 exceptions.
16497 (cimag_test_data): Likewise.
16498 (conj_test_data): Likewise.
16499 (copysign_test_data): Likewise.
16500 (cproj_test_data): Likewise.
16501 (creal_test_data): Likewise.
16502 (fabs_test_data): Likewise.
16503 (fdim_test_data): Likewise.
16504 (finite_test_data): Likewise.
16505 (floor_test_data): Likewise.
16506 (fmax_test_data): Likewise.
16507 (fmin_test_data): Likewise.
16508 (fmod_test_data): Likewise.
16509 (fpclassify_test_data): Likewise.
16510 (frexp_test_data): Likewise.
16511 (ilogb_test_data): Likewise.
16512 (isfinite_test_data): Likewise.
16513 (isgreater_test_data): Likewise.
16514 (isgreaterequal_test_data): Likewise.
16515 (isinf_test_data): Likewise.
16516 (isless_test_data): Likewise.
16517 (islessequal_test_data): Likewise.
16518 (islessgreater_test_data): Likewise.
16519 (isnan_test_data): Likewise.
16520 (isnormal_test_data): Likewise.
16521 (issignaling_test_data): Likewise.
16522 (isunordered_test_data): Likewise.
16523 (ldexp_test_data): Likewise.
16524 (lrint_test_data): Likewise.
16525 (lrint_test_data) [TEST_FLOAT]: Disable one test.
16526 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
16527 (lrint_tonearest_test_data): Test for "inexact" exceptions.
16528 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16529 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
16530 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16531 test input.
16532 (lrint_towardzero_test_data): Test for "inexact" exceptions.
16533 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16534 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
16535 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
16536 that test input.
16537 (lrint_downward_test_data): Test for "inexact" exceptions.
16538 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16539 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
16540 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16541 test input.
16542 (lrint_upward_test_data): Test for "inexact" exceptions.
16543 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
16544 test input.
16545 (llrint_test_data): Test for "inexact" exceptions.
16546 (llrint_test_data) [TEST_FLOAT]: Disable one test.
16547 (llrint_tonearest_test_data): Test for "inexact" exceptions.
16548 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16549 (llrint_towardzero_test_data): Test for "inexact" exceptions.
16550 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16551 (llrint_downward_test_data): Test for "inexact" exceptions.
16552 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16553 (llrint_upward_test_data): Test for "inexact" exceptions.
16554 (logb_test_data): Likewise.
16555 (logb_downward_test_data): Likewise.
16556 (nextafter_test_data): Likewise.
16557 (nexttoward_test_data): Likewise.
16558 (remainder_test_data): Likewise.
16559 (remquo_test_data): Likewise.
16560 (scalbn_test_data): Likewise.
16561 (scalbln_test_data): Likewise.
16562 (signbit_test_data): Likewise.
16563 (sqrt_test_data): Likewise.
16564 (significand_test_data): Likewise.
16565
48a18de1
SP
165662013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16567
16568 [BZ #15424]
16569 * benchtests/bench-modf.c (struct args): Mark arg0 as
16570 volatile.
16571 * scripts/bench.pl: Mark members of struct args as volatile.
16572
13d3b41a
AZ
165732013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16574
68191c1d 16575 [BZ # 15497]
13d3b41a
AZ
16576 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
16577 negative infinity on POWER6 or lower.
16578 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
16579
2848b105
MR
165802013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
16581
16582 [BZ #15442]
16583 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
16584 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
16585 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
16586 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
16587 (_FP_SETQNAN): New macro.
16588 (_FP_SETQNAN_SEMIRAW): Likewise.
16589 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
16590 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
16591 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
16592 (FP_EXTEND): Use _FP_FRAC_SNANP.
16593 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
16594 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
16595 into account.
16596 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16597 New macro.
16598 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16599 Likewise.
16600
323e5cb7
JM
166012013-05-16 Joseph Myers <joseph@codesourcery.com>
16602
c58b274f
JM
16603 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
16604 with DIVIDE_BY_ZERO_EXCEPTION.
16605 (gamma_test_data): Likewise.
16606 (lgamma_test_data): Likewise.
16607 (log_test_data): Likewise.
16608 (log10_test_data): Likewise.
16609 (log2_test_data): Likewise.
16610 (tgamma_test_data): Likewise.
16611
0ab34904
JM
16612 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
16613 (acos_test_tonearest): Likewise.
16614 (acos_test_towardzero): Likewise.
16615 (acos_test_downward): Likewise.
16616 (acos_test_upward): Likewise.
16617 (acosh_test): Likewise.
16618 (asin_test): Likewise.
16619 (asin_test_tonearest): Likewise.
16620 (asin_test_towardzero): Likewise.
16621 (asin_test_downward): Likewise.
16622 (asin_test_upward): Likewise.
16623 (asinh_test): Likewise.
16624 (atan_test): Likewise.
16625 (atanh_test): Likewise.
16626 (atan2_test): Likewise.
16627 (cabs_test): Likewise.
16628 (cacos_test): Likewise.
16629 (cacosh_test): Likewise.
16630 (casin_test): Likewise.
16631 (casinh_test): Likewise.
16632 (catan_test): Likewise.
16633 (catanh_test): Likewise.
16634 (cbrt_test): Likewise.
16635 (ccos_test): Likewise.
16636 (ccosh_test): Likewise.
16637 (cexp_test): Likewise.
16638 (clog_test): Likewise.
16639 (clog10_test): Likewise.
16640 (cos_test): Likewise.
16641 (cos_test_tonearest): Likewise.
16642 (cos_test_towardzero): Likewise.
16643 (cos_test_downward): Likewise.
16644 (cos_test_upward): Likewise.
16645 (cosh_test): Likewise.
16646 (cosh_test_tonearest): Likewise.
16647 (cosh_test_towardzero): Likewise.
16648 (cosh_test_downward): Likewise.
16649 (cosh_test_upward): Likewise.
16650 (cpow_test): Likewise.
16651 (csin_test): Likewise.
16652 (csinh_test): Likewise.
16653 (csqrt_test): Likewise.
16654 (ctan_test): Likewise.
16655 (ctan_test_tonearest): Likewise.
16656 (ctan_test_towardzero): Likewise.
16657 (ctan_test_downward): Likewise.
16658 (ctan_test_upward): Likewise.
16659 (ctanh_test): Likewise.
16660 (ctanh_test_tonearest): Likewise.
16661 (ctanh_test_towardzero): Likewise.
16662 (ctanh_test_downward): Likewise.
16663 (ctanh_test_upward): Likewise.
16664 (erf_test): Likewise.
16665 (erfc_test): Likewise.
16666 (exp_test): Likewise.
16667 (exp_test_tonearest): Likewise.
16668 (exp_test_towardzero): Likewise.
16669 (exp_test_downward): Likewise.
16670 (exp_test_upward): Likewise.
16671 (exp10_test): Likewise.
16672 (exp2_test): Likewise.
16673 (expm1_test): Likewise.
16674 (fmod_test): Likewise.
16675 (gamma_test): Likewise.
16676 (hypot_test): Likewise.
16677 (j0_test): Likewise.
16678 (j1_test): Likewise.
16679 (jn_test): Likewise.
16680 (lgamma_test): Likewise.
16681 (log_test): Likewise.
16682 (log10_test): Likewise.
16683 (log1p_test): Likewise.
16684 (log2_test): Likewise.
16685 (logb_test_downward): Likewise.
16686 (pow_test): Likewise.
16687 (pow_test_tonearest): Likewise.
16688 (pow_test_towardzero): Likewise.
16689 (pow_test_downward): Likewise.
16690 (pow_test_upward): Likewise.
16691 (remainder_test): Likewise.
16692 (remquo_test): Likewise.
16693 (sin_test): Likewise.
16694 (sin_test_tonearest): Likewise.
16695 (sin_test_towardzero): Likewise.
16696 (sin_test_downward): Likewise.
16697 (sin_test_upward): Likewise.
16698 (sincos_test): Likewise.
16699 (sinh_test): Likewise.
16700 (sinh_test_tonearest): Likewise.
16701 (sinh_test_towardzero): Likewise.
16702 (sinh_test_downward): Likewise.
16703 (sinh_test_upward): Likewise.
16704 (sqrt_test): Likewise.
16705 (tan_test): Likewise.
16706 (tan_test_tonearest): Likewise.
16707 (tan_test_towardzero): Likewise.
16708 (tan_test_downward): Likewise.
16709 (tan_test_upward): Likewise.
16710 (tanh_test): Likewise.
16711 (tgamma_test): Likewise.
16712 (y0_test): Likewise.
16713 (y1_test): Likewise.
16714 (yn_test): Likewise.
16715
323e5cb7
JM
16716 * math/gen-libm-test.pl (adjust_arg): Remove function.
16717 (special_function): Remove argument $in_func. Only handle
16718 generating output for tables of tests, not inside functions.
16719 (parse_args): Likewise.
16720 (generate_testfile): Remove variable $in_func. Update call to
16721 parse_args.
16722 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
16723 (MINUS_ZERO_INIT): Rename macro to minus_zero.
16724 (PLUS_INFTY_INIT): Rename macro to plus_infty.
16725 (MINUS_INFTY_INIT): Rename macro to minus_infty.
16726 (QNAN_VALUE_INIT): Rename macro to qnan_value.
16727 (MAX_VALUE_INIT): Rename macro to max_value.
16728 (MIN_VALUE_INIT): Rename macro to min_value.
16729 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
16730 (plus_zero): Remove variable.
16731 (minus_zero): Likewise.
16732 (plus_infty): Likewise.
16733 (minus_infty): Likewise.
16734 (qnan_value): Likewise.
16735 (max_value): Likewise.
16736 (min_value): Likewise.
16737 (min_subnorm_value): Likewise.
16738
e054f494
RA
167392013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16740
16741 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
16742 uint64_t or uint32_t usage.
16743 * crypt/sha256-block.c: Likewise.
16744 * crypt/sha256-crypt.c: Likewise.
16745 * crypt/sha256.c: Likewise.
16746 * crypt/sha512-block.c: Likewise.
16747 * crypt/sha512-crypt.c: Likewise.
16748 * crypt/sha512.c: Likewise.
16749 * debug/backtrace-tst.c: Likewise.
16750 * debug/pcprofiledump.c: Likewise.
16751 * elf/cache.c: Likewise.
16752 * elf/dl-cache.c: Likewise.
16753 * elf/dl-misc.c: Likewise.
16754 * elf/dl-profile.c: Likewise.
16755 * elf/dl-support.c: Likewise.
16756 * elf/ldconfig.c: Likewise.
16757 * elf/sprof.c: Likewise.
16758 * iconv/dummy-repertoire.c: Likewise.
16759 * iconv/iconv_charmap.c: Likewise.
16760 * iconv/skeleton.c: Likewise.
16761 * iconvdata/8bit-generic.c: Likewise.
16762 * iconvdata/cp737.h: Likewise.
16763 * iconvdata/cp775.h: Likewise.
16764 * iconvdata/ibm1008.h: Likewise.
16765 * iconvdata/ibm1025.h: Likewise.
16766 * iconvdata/ibm1046.h: Likewise.
16767 * iconvdata/ibm1097.h: Likewise.
16768 * iconvdata/ibm1112.h: Likewise.
16769 * iconvdata/ibm1122.h: Likewise.
16770 * iconvdata/ibm1123.h: Likewise.
16771 * iconvdata/ibm1124.h: Likewise.
16772 * iconvdata/ibm1129.h: Likewise.
16773 * iconvdata/ibm1130.h: Likewise.
16774 * iconvdata/ibm1132.h: Likewise.
16775 * iconvdata/ibm1133.h: Likewise.
16776 * iconvdata/ibm1137.h: Likewise.
16777 * iconvdata/ibm1140.h: Likewise.
16778 * iconvdata/ibm1141.h: Likewise.
16779 * iconvdata/ibm1142.h: Likewise.
16780 * iconvdata/ibm1143.h: Likewise.
16781 * iconvdata/ibm1144.h: Likewise.
16782 * iconvdata/ibm1145.h: Likewise.
16783 * iconvdata/ibm1146.h: Likewise.
16784 * iconvdata/ibm1147.h: Likewise.
16785 * iconvdata/ibm1148.h: Likewise.
16786 * iconvdata/ibm1149.h: Likewise.
16787 * iconvdata/ibm1153.h: Likewise.
16788 * iconvdata/ibm1154.h: Likewise.
16789 * iconvdata/ibm1155.h: Likewise.
16790 * iconvdata/ibm1156.h: Likewise.
16791 * iconvdata/ibm1157.h: Likewise.
16792 * iconvdata/ibm1158.h: Likewise.
16793 * iconvdata/ibm1160.h: Likewise.
16794 * iconvdata/ibm1161.h: Likewise.
16795 * iconvdata/ibm1162.h: Likewise.
16796 * iconvdata/ibm1163.h: Likewise.
16797 * iconvdata/ibm1164.h: Likewise.
16798 * iconvdata/ibm1166.h: Likewise.
16799 * iconvdata/ibm1167.h: Likewise.
16800 * iconvdata/ibm12712.h: Likewise.
16801 * iconvdata/ibm1390.h: Likewise.
16802 * iconvdata/ibm1399.h: Likewise.
16803 * iconvdata/ibm16804.h: Likewise.
16804 * iconvdata/ibm4517.h: Likewise.
16805 * iconvdata/ibm4899.h: Likewise.
16806 * iconvdata/ibm4909.h: Likewise.
16807 * iconvdata/ibm4971.h: Likewise.
16808 * iconvdata/ibm5347.h: Likewise.
16809 * iconvdata/ibm803.h: Likewise.
16810 * iconvdata/ibm856.h: Likewise.
16811 * iconvdata/ibm901.h: Likewise.
16812 * iconvdata/ibm902.h: Likewise.
16813 * iconvdata/ibm9030.h: Likewise.
16814 * iconvdata/ibm9066.h: Likewise.
16815 * iconvdata/ibm921.h: Likewise.
16816 * iconvdata/ibm922.h: Likewise.
16817 * iconvdata/ibm9448.h: Likewise.
16818 * iconvdata/isiri-3342.h: Likewise.
16819 * iconvdata/jis0201.h: Likewise.
16820 * include/link.h: Likewise.
16821 * include/netdb.h: Likewise.
16822 * inet/check_native.c: Likewise.
16823 * inet/check_pf.c: Likewise.
16824 * inet/getipv4sourcefilter.c: Likewise.
16825 * inet/getnameinfo.c: Likewise.
16826 * inet/getsourcefilter.c: Likewise.
16827 * inet/htonl.c: Likewise.
16828 * inet/setipv4sourcefilter.c: Likewise.
16829 * inet/setsourcefilter.c: Likewise.
16830 * inet/test-inet6_opt.c: Likewise.
16831 * inet/tst-network.c: Likewise.
16832 * locale/C-collate.c: Likewise.
16833 * locale/C-ctype.c: Likewise.
16834 * locale/C-time.c: Likewise.
16835 * locale/C-translit.h: Likewise.
16836 * locale/loadarchive.c: Likewise.
16837 * locale/programs/3level.h: Likewise.
16838 * locale/programs/charmap.c: Likewise.
16839 * locale/programs/charmap.h: Likewise.
16840 * locale/programs/ld-address.c: Likewise.
16841 * locale/programs/ld-collate.c: Likewise.
16842 * locale/programs/ld-ctype.c: Likewise.
16843 * locale/programs/ld-identification.c: Likewise.
16844 * locale/programs/ld-measurement.c: Likewise.
16845 * locale/programs/ld-messages.c: Likewise.
16846 * locale/programs/ld-monetary.c: Likewise.
16847 * locale/programs/ld-name.c: Likewise.
16848 * locale/programs/ld-numeric.c: Likewise.
16849 * locale/programs/ld-paper.c: Likewise.
16850 * locale/programs/ld-telephone.c: Likewise.
16851 * locale/programs/ld-time.c: Likewise.
16852 * locale/programs/linereader.c: Likewise.
16853 * locale/programs/locale.c: Likewise.
16854 * locale/programs/locarchive.c: Likewise.
16855 * locale/programs/locfile.h: Likewise.
16856 * locale/programs/repertoire.c: Likewise.
16857 * locale/programs/simple-hash.c: Likewise.
16858 * locale/programs/simple-hash.h: Likewise.
16859 * malloc/memusage.c: Likewise.
16860 * malloc/memusagestat.c: Likewise.
16861 * nis/nis_defaults.c: Likewise.
16862 * nis/nis_hash.c: Likewise.
16863 * nis/nis_print.c: Likewise.
16864 * nis/nis_xdr.c: Likewise.
16865 * nscd/connections.c: Likewise.
16866 * nscd/hstcache.c: Likewise.
16867 * nscd/nscd_gethst_r.c: Likewise.
16868 * nscd/nscd_getserv_r.c: Likewise.
16869 * nscd/nscd_helper.c: Likewise.
16870 * nscd/servicescache.c: Likewise.
16871 * nss/makedb.c: Likewise.
16872 * nss/nss_db/db-XXX.c: Likewise.
16873 * nss/nss_db/db-initgroups.c: Likewise.
16874 * nss/nss_db/db-netgrp.c: Likewise.
16875 * nss/nss_files/files-network.c: Likewise.
16876 * nss/nss_files/files-parse.c: Likewise.
16877 * posix/bug-regex5.c: Likewise.
16878 * posix/fnmatch_loop.c: Likewise.
16879 * posix/regcomp.c: Likewise.
16880 * posix/regexec.c: Likewise.
16881 * posix/tst-rfc3484-2.c: Likewise.
16882 * posix/tst-rfc3484-3.c: Likewise.
16883 * posix/tst-rfc3484.c: Likewise.
16884 * resolv/nss_dns/dns-canon.c: Likewise.
16885 * resolv/nss_dns/dns-network.c: Likewise.
16886 * resolv/res_init.c: Likewise.
16887 * resolv/res_mkquery.c: Likewise.
16888 * resolv/tst-aton.c: Likewise.
16889 * stdlib/cxa_atexit.c: Likewise.
16890 * stdlib/cxa_finalize.c: Likewise.
16891 * stdlib/gen-fpioconst.c: Likewise.
16892 * stdlib/strtol_l.c: Likewise.
16893 * string/tst-endian.c: Likewise.
16894 * sunrpc/auth_des.c: Likewise.
16895 * sunrpc/clnt_udp.c: Likewise.
16896 * sunrpc/rtime.c: Likewise.
16897 * sunrpc/svcauth_des.c: Likewise.
16898 * sunrpc/xdr.c: Likewise.
16899 * sunrpc/xdr_intXX_t.c: Likewise.
16900 * sunrpc/xdr_rec.c: Likewise.
16901 * sysdeps/generic/ldconfig.h: Likewise.
16902 * sysdeps/generic/ldsodefs.h: Likewise.
16903 * sysdeps/generic/memusage.h: Likewise.
16904 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16905 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
16906 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
16907 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16908 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16909 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16910 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16911 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16912 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16913 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16914 * sysdeps/posix/getaddrinfo.c: Likewise.
16915 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16916 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16917 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16918 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16919 * sysdeps/powerpc/test-gettimebase.c: Likewise.
16920 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16921 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
16922 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
16923 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16924 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
16925 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16926 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16927 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
16928 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
16929 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
16930 * sysdeps/x86_64/dl-tls.h: Likewise.
16931 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
16932 * time/alt_digit.c: Likewise.
16933 * time/era.c: Likewise.
16934 * wcsmbs/tst-c16c32-1.c: Likewise.
16935
8c75f674
JM
169362013-05-16 Joseph Myers <joseph@codesourcery.com>
16937
16938 * math/libm-test.inc (struct test_sincos_data): New type.
16939 (RUN_TEST_LOOP_sincos): New macro.
16940 (sincos_test_data): New variable.
16941 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
16942
e6e49e59
RH
169432013-05-16 Richard Henderson <rth@redhat.com>
16944
16945 * math/atest-exp2.c (LIMB64): New macro.
16946 (CONSTSZ): New macro.
16947 (mp_exp1, mp_exp_m1, mp_log2): New variables.
16948 (hexdig): Move ...
16949 (print_mpn_fp): ... to function scope.
16950 (read_mpn_hex): Remove.
16951 (get_log2): Remove.
16952 (exp2_mpn): Use mp_log2.
16953 (main): Use mp_exp1.
16954
15c7c18d
JM
169552013-05-16 Joseph Myers <joseph@codesourcery.com>
16956
105a07df
JM
16957 * math/libm-test.inc: Remove comment about not testing "inexact"
16958 exceptions.
16959 (INEXACT_EXCEPTION): New macro.
16960 (NO_INEXACT_EXCEPTION): Likewise.
16961 (INVALID_EXCEPTION_OK): Update value.
16962 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16963 (OVERFLOW_EXCEPTION_OK): Likewise.
16964 (UNDERFLOW_EXCEPTION_OK): Likewise.
16965 (IGNORE_ZERO_INF_SIGN): Likewise.
16966 (ERRNO_UNCHANGED): Likewise.
16967 (ERRNO_EDOM): Likewise.
16968 (ERRNO_ERANGE): Likewise.
16969 (test_exceptions): Handle testing "inexact" exceptions.
16970 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
16971 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
16972 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
16973 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
16974 INEXACT_EXCEPTION.
16975 (rint_towardzero_test_data): Likewise.
16976 (rint_downward_test_data): Likewise.
16977 (rint_upward_test_data): Likewise.
16978
e9eee333
JM
16979 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
16980 with OVERFLOW_EXCEPTION.
16981 (exp10_test_data): Likewise.
16982 (exp2_test_data): Likewise.
16983 (expm1_test_data): Likewise.
16984 (lgamma_test_data): Likewise.
16985 (pow_test_data): Likewise.
16986 (tgamma_test_data): Likewise.
16987 (yn_test_data): Remove duplicate test of overflow.
16988
1c38ff73
JM
16989 * math/libm-test.inc (struct test_cc_c_data): New type.
16990 (RUN_TEST_LOOP_cc_c): New macro.
16991 (cpow_test_data): New variable.
16992 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
16993
15c7c18d
JM
16994 * math/libm-test.inc (struct test_f_L_data): New type.
16995 (RUN_TEST_LOOP_f_L): New macro.
16996 (llrint_test_data): New variable.
16997 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
16998 (llrint_tonearest_test_data): New variable.
16999 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17000 (llrint_towardzero_test_data): New variable.
17001 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17002 (llrint_downward_test_data): New variable.
17003 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17004 (llrint_upward_test_data): New variable.
17005 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17006 (llround_test_data): New variable.
17007 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17008
f137ff13
PC
170092013-05-13 Peter Collingbourne <pcc@google.com>
17010
17011 * math/atest-exp2.c (get_log2): Remove const attribute.
17012
3608cb24
JM
170132013-05-15 Joseph Myers <joseph@codesourcery.com>
17014
17015 * math/libm-test.inc (struct test_f_l_data): New type.
17016 (RUN_TEST_LOOP_f_l): New macro.
17017 (lrint_test_data): New variable.
17018 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17019 (lrint_tonearest_test_data): New variable.
17020 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17021 (lrint_towardzero_test_data): New variable.
17022 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17023 (lrint_downward_test_data): New variable.
17024 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17025 (lrint_upward_test_data): New variable.
17026 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17027 (lround_test_data): New variable.
17028 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17029
39b1f617
PC
170302013-05-15 Peter Collingbourne <pcc@google.com>
17031
1deff3dc
PC
17032 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17033 (EXTRACT_WORDS64) Use where appropriate.
17034 (INSERT_WORDS64) Likewise.
17035
791f3ba0
PC
17036 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17037 constraints with x constraints.
17038 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17039
39b1f617
PC
17040 * malloc/obstack.c (_obstack_compat): Add initializer.
17041
12fba011
EM
170422013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
17043
17044 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17045 si_trapno and add si_addr_lsb to _sifields.sigfault.
17046 (si_trapno): Remove macro.
17047 (si_addr_lsb): Define new macro.
17048 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17049
d369f531
JM
170502013-05-15 Joseph Myers <joseph@codesourcery.com>
17051
b861c6c4
JM
17052 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17053 instead of TEST_f_l.
17054 (llrint_test_tonearest): Likewise.
17055 (llrint_test_towardzero): Likewise.
17056 (llrint_test_downward): Likewise.
17057 (llrint_test_upward): Likewise.
17058 (llround_test): Likewise.
17059
7abeee12
JM
17060 * math/libm-test.inc (struct test_f_i_data): Add comment.
17061 (RUN_TEST_LOOP_f_b): New macro.
17062 (RUN_TEST_LOOP_f_b_tg): Likewise.
17063 (finite_test_data): New variable.
17064 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17065 (isfinite_test_data): New variable.
17066 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17067 (isinf_test_data): New variable.
17068 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17069 (isnan_test_data): New variable.
17070 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17071 (isnormal_test_data): New variable.
17072 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17073 (issignaling_test_data): New variable.
17074 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17075 (signbit_test_data): New variable.
17076 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17077
cbe8c4d3
JM
17078 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17079 with INVALID_EXCEPTION.
17080 (acosh_test_data): Likewise.
17081 (asin_test_data): Likewise.
17082 (atanh_test_data): Likewise.
17083 (fmod_test_data): Likewise.
17084 (log_test_data): Likewise.
17085 (log10_test_data): Likewise.
17086 (log2_test_data): Likewise.
17087 (pow_test_data): Likewise.
17088 (sqrt_test_data): Likewise.
17089 (y0_test_data): Likewise.
17090 (y1_test_data): Likewise.
17091 (yn_test_data): Likewise.
17092
5575c0e5
JM
17093 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17094 function contents.
17095
d369f531
JM
17096 * math/libm-test.inc (struct test_ff_i_data): New type.
17097 (RUN_TEST_LOOP_ff_i_tg): New macro.
17098 (isgreater_test_data): New variable.
17099 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17100 (isgreaterequal_test_data): New variable.
17101 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17102 (isless_test_data): New variable.
17103 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17104 (islessequal_test_data): New variable.
17105 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17106 (islessgreater_test_data): New variable.
17107 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17108 (isunordered_test_data): New variable.
17109 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17110
781fd748
DM
171112013-05-14 David S. Miller <davem@davemloft.net>
17112
17113 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17114
87aa21df
JM
171152013-05-14 Joseph Myers <joseph@codesourcery.com>
17116
5e908270
JM
17117 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17118
f71172e5
JM
17119 * math/libm-test.inc (struct test_fF_f1_data): Change type of
17120 extra_test to int.
17121 (struct test_f_i_data): Change type of max_ulp to int.
17122
8cfa635a
JM
17123 * math/libm-test.inc (test_ffI_f1_data): New type.
17124 (RUN_TEST_LOOP_ffI_f1): New macro.
17125 (remquo_test_data): New variable.
17126 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17127
2bcb36b2
JM
17128 * setjmp/tst-setjmp-fp.c: New file.
17129 * setjmp/Makefile (tests): Add tst-setjmp-fp.
17130 (link-libm): New variable.
17131 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17132
acbd839a
JM
17133 * math/libm-test.inc (struct test_f_i_data): New type.
17134 (RUN_TEST_LOOP_f_i): New macro.
17135 (RUN_TEST_LOOP_f_i_tg): Likewise.
17136 (fpclassify_test_data): New variable.
17137 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17138 (ilogb_test_data): New variable.
17139 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17140
e414d745
JM
17141 * math/libm-test.inc (scalbln_test): Correct function name in END
17142 call.
17143
d9c2a0fd
JM
17144 * math/libm-test.inc (struct test_f_f1_data): Add comment.
17145 (RUN_TEST_LOOP_fI_f1): New macro.
17146 (frexp_test_data): New variable.
17147 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17148
9dc9095d
JM
17149 * math/libm-test.inc (struct test_fF_f1_data): New type.
17150 (RUN_TEST_LOOP_fF_f1): New macro.
17151 (modf_test_data): New variable.
17152 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17153
87aa21df
JM
17154 * math/libm-test.inc (struct test_f_f1_data): New type.
17155 (RUN_TEST_LOOP_f_f1): New macro.
17156 (gamma_test_data): New variable.
17157 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17158 (lgamma_test_data): New variable.
17159 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17160
141af660
CD
171612013-05-13 Carlos O'Donell <carlos@redhat.com>
17162
17163 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17164 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17165 (main): Comment "tls" pseudo-hwcap.
17166
6d33265c
JM
171672013-05-13 Joseph Myers <joseph@codesourcery.com>
17168
68fc074c
JM
17169 * math/libm-test.inc (struct test_fl_f_data): New type.
17170 (RUN_TEST_LOOP_fl_f): New variable.
17171 (scalbln_test_data): New variable.
17172 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17173
243216e1
JM
17174 * math/libm-test.inc (struct test_fi_f_data): New type.
17175 (RUN_TEST_LOOP_fi_f): New macro.
17176 (ldexp_test_data): New variable.
17177 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17178 (scalbn_test_data): New variable.
17179 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17180
6a1992e2
JM
17181 * math/libm-test.inc (struct test_c_f_data): New type.
17182 (RUN_TEST_LOOP_c_f): New macro.
17183 (cabs_test_data): New variable.
17184 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17185 (carg_test_data): New variable.
17186 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17187 (cimag_test_data): New variable.
17188 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17189 (creal_test_data): New variable.
17190 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17191
0e400df5
JM
17192 * math/libm-test.inc (struct test_if_f_data): New type.
17193 (RUN_TEST_LOOP_if_f): New macro.
17194 (jn_test_data): New variable.
17195 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17196 (yn_test_data): New variable.
17197 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17198
6d33265c
JM
17199 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17200
f98ece5f
AZ
172012013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17202
17203 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17204 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17205
0f7d347b
SP
172062013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17207
43fe811b
SP
17208 * benchtests/Makefile (CPPFLAGS-nonlib): Add
17209 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17210 (bench-deps): Add bench-timing.h.
17211 * benchtests-bench-skeleton.c: Include bench-timing.h.
17212 (main): Use TIMING_* macros instead of clock_gettime.
17213 * benchtests/bench-timing.h: New file.
17214
0f7d347b
SP
17215 [BZ #14582]
17216 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17217 Renamed from _LIB_VERSION.
17218 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17219
601a3a5f
JM
172202013-05-12 Joseph Myers <joseph@codesourcery.com>
17221
4f184d30
JM
17222 * math/libm-test.inc (struct test_fff_f_data): New type.
17223 (RUN_TEST_LOOP_fff_f): New macro.
17224 (fma_test_data): New variable.
17225 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17226 (fma_towardzero_test_data): New variable.
17227 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17228 (fma_downward_test_data): New variable.
17229 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17230 (fma_upward_test_data): New variable.
17231 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17232
08198877
JM
17233 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17234 (struct test_c_c_data): New type.
17235 (RUN_TEST_LOOP_c_c): New macro.
17236 (cacos_test_data): New variable.
17237 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17238 (cacosh_test_data): New variable.
17239 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17240 (casin_test_data): New variable.
17241 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17242 (casinh_test_data): New variable.
17243 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17244 (catan_test_data): New variable.
17245 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17246 (catanh_test_data): New variable.
17247 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17248 (ccos_test_data): New variable.
17249 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17250 (ccosh_test_data): New variable.
17251 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17252 (cexp_test_data): New variable.
17253 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17254 (clog_test_data): New variable.
17255 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17256 (clog10_test_data): New variable.
17257 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17258 (conj_test_data): New variable.
17259 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17260 (cproj_test_data): New variable.
17261 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17262 (csin_test_data): New variable.
17263 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17264 (csinh_test_data): New variable.
17265 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17266 (csqrt_test_data): New variable.
17267 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17268 (ctan_test_data): New variable.
17269 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17270 (ctan_tonearest_test_data): New variable.
17271 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17272 (ctan_towardzero_test_data): New variable.
17273 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17274 (ctan_downward_test_data): New variable.
17275 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17276 (ctan_upward_test_data): New variable.
17277 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17278 (ctanh_test_data): New variable.
17279 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17280 (ctanh_tonearest_test_data): New variable.
17281 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17282 (ctanh_towardzero_test_data): New variable.
17283 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17284 (ctanh_downward_test_data): New variable.
17285 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17286 (ctanh_upward_test_data): New variable.
17287 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17288 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17289 of BUILD_COMPLEX.
17290
601a3a5f
JM
17291 * math/libm-test.inc (struct test_ff_f_data): New type.
17292 (struct test_ff_f_data_nexttoward): Likewise.
17293 (RUN_TEST_LOOP_2_f): New macro.
17294 (RUN_TEST_LOOP_ff_f): Likewise.
17295 (atan2_test_data): New variable.
17296 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17297 (copysign_test_data): New variable.
17298 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17299 (fdim_test_data): New variable.
17300 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17301 (fmax_test_data): New variable.
17302 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17303 (fmin_test_data): New variable.
17304 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17305 (fmod_test_data): New variable.
17306 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17307 (hypot_test_data): New variable.
17308 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17309 (nextafter_test_data): New variable.
17310 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17311 (nexttoward_test_data): New variable.
17312 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17313 (pow_test_data): New variable.
17314 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17315 (pow_tonearest_test_data): New variable.
17316 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17317 (pow_towardzero_test_data): New variable.
17318 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17319 (pow_downward_test_data): New variable.
17320 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17321 (pow_upward_test_data): New variable.
17322 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17323 (remainder_test_data): New variable.
17324 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17325 (scalb_test_data): New variable.
17326 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17327 * sysdeps/i386/fpu/libm-test-ulps: Update.
17328
74c57478
JM
173292013-05-11 Joseph Myers <joseph@codesourcery.com>
17330
8329e4da
JM
17331 * math/libm-test.inc (fma_test): Use max_value instead of local
17332 variable fltmax.
17333 (nextafter_test): Likewise.
17334
74c57478
JM
17335 * math/libm-test.inc (acos_towardzero_test_data): New variable.
17336 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17337 (acos_downward_test_data): New variable.
17338 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17339 (acos_upward_test_data): New variable.
17340 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17341 (acosh_test_data): New variable.
17342 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17343 (asin_test_data): New variable.
17344 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17345 (asin_tonearest_test_data): New variable.
17346 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17347 (asin_towardzero_test_data): New variable.
17348 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17349 (asin_downward_test_data): New variable.
17350 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17351 (asin_upward_test_data): New variable.
17352 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17353 (asinh_test_data): New variable.
17354 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17355 (atan_test_data): New variable.
17356 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17357 (atanh_test_data): New variable.
17358 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17359 (cbrt_test_data): New variable.
17360 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17361 (ceil_test_data): New variable.
17362 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17363 (cos_test_data): New variable.
17364 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17365 (cos_tonearest_test_data): New variable.
17366 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17367 (cos_towardzero_test_data): New variable.
17368 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17369 (cos_downward_test_data): New variable.
17370 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17371 (cos_upward_test_data): New variable.
17372 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17373 (cosh_test_data): New variable.
17374 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17375 (cosh_tonearest_test_data): New variable.
17376 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17377 (cosh_towardzero_test_data): New variable.
17378 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17379 (cosh_downward_test_data): New variable.
17380 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17381 (cosh_upward_test_data): New variable.
17382 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17383 (erf_test_data): New variable.
17384 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17385 (erfc_test_data): New variable.
17386 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17387 (exp_test_data): New variable.
17388 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17389 (exp_tonearest_test_data): New variable.
17390 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17391 (exp_towardzero_test_data): New variable.
17392 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17393 (exp_downward_test_data): New variable.
17394 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17395 (exp_upward_test_data): New variable.
17396 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17397 (exp10_test_data): New variable.
17398 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17399 (exp2_test_data): New variable.
17400 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17401 (expm1_test_data): New variable.
17402 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17403 (fabs_test_data): New variable.
17404 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17405 (floor_test_data): New variable.
17406 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17407 (j0_test_data): New variable.
17408 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17409 (j1_test_data): New variable.
17410 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17411 (log_test_data): New variable.
17412 (log_test): Run tests with RUN_TEST_LOOP_f_f.
17413 (log10_test_data): New variable.
17414 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17415 (log1p_test_data): New variable.
17416 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17417 (log2_test_data): New variable.
17418 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17419 (logb_test_data): New variable.
17420 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17421 (logb_downward_test_data): New variable.
17422 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17423 (nearbyint_test_data): New variable.
17424 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17425 (rint_test_data): New variable.
17426 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17427 (rint_tonearest_test_data): New variable.
17428 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17429 (rint_towardzero_test_data): New variable.
17430 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17431 (rint_downward_test_data): New variable.
17432 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17433 (rint_upward_test_data): New variable.
17434 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17435 (round_test_data): New variable.
17436 (round_test): Run tests with RUN_TEST_LOOP_f_f.
17437 (sin_test_data): New variable.
17438 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17439 (sin_tonearest_test_data): New variable.
17440 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17441 (sin_towardzero_test_data): New variable.
17442 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17443 (sin_downward_test_data): New variable.
17444 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17445 (sin_upward_test_data): New variable.
17446 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17447 (sinh_test_data): New variable.
17448 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
17449 (sinh_tonearest_test_data): New variable.
17450 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17451 (sinh_towardzero_test_data): New variable.
17452 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17453 (sinh_downward_test_data): New variable.
17454 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17455 (sinh_upward_test_data): New variable.
17456 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17457 (sqrt_test_data): New variable.
17458 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
17459 (tan_test_data): New variable.
17460 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
17461 (tan_tonearest_test_data): New variable.
17462 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17463 (tan_towardzero_test_data): New variable.
17464 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17465 (tan_downward_test_data): New variable.
17466 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17467 (tan_upward_test_data): New variable.
17468 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17469 (tanh_test_data): New variable.
17470 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
17471 (tgamma_test_data): New variable.
17472 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
17473 (trunc_test_data): New variable.
17474 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
17475 (y0_test_data): New variable.
17476 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
17477 (y1_test_data): New variable.
17478 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
17479 (significand_test_data): New variable.
17480 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
17481
7187d844
CG
174822013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
17483
17484 [BZ #12387]
17485 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
17486
f63fae73
PT
174872013-05-10 Pino Toscano <toscano.pino@tiscali.it>
17488
17489 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
17490
8a67a4b3
AJ
174912013-05-10 Andreas Jaeger <aj@suse.de>
17492
17493 [BZ #15448]
17494 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
17495 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
17496
51df539d
JM
174972013-05-10 Joseph Myers <joseph@codesourcery.com>
17498
17499 * math/gen-libm-test.pl (adjust_arg): New function.
17500 (special_functions): Handle generating output in both functions
17501 and arrays.
17502 (parse_args): Likewise.
17503 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
17504 $in_func argument to parse_args.
17505 * math/libm-test.inc (struct test_f_f_data): New type.
17506 (IF_ROUND_INIT_): New macro.
17507 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
17508 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17509 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17510 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17511 (ROUND_RESTORE_): Likewise.
17512 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
17513 (ROUND_RESTORE_FE_TONEAREST): Likewise.
17514 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
17515 (ROUND_RESTORE_FE_UPWARD): Likewise.
17516 (RUN_TEST_LOOP_f_f): New macro.
17517 (acos_test_data): New variable.
17518 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
17519 (acos_tonearest_test_data): New variable.
17520 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17521
5c637fe5
SP
175222013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17523
17524 * benchtests/bench-skeleton.c (startup): Fix coding style.
17525
ab2b9461
JM
175262013-05-10 Joseph Myers <joseph@codesourcery.com>
17527
17528 [BZ #6809]
17529 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
17530 negative infinity argument.
17531 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
17532 negative infinity argument.
17533 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
17534 negative infinity argument.
17535 * math/libm-test.inc (tgamma_test): Expect errno to be set for
17536 domain errors.
17537
4c0fe6fe
FW
175382013-05-10 Florian Weimer <fweimer@redhat.com>
17539
17540 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
17541 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
17542 * iconv/iconv_prog.c (main): Likewise.
17543 * locale/programs/charmap-dir.c (charmap_readdir)
17544 (fopen_uncompressed): Likewise.
17545 * locale/programs/locfile.c (siblings_uncached)
17546 (write_locale_data): Use lstat64 instead of lstat.
17547 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
17548 stat.
17549
a3375d29
AJ
175502013-05-10 Andreas Jaeger <aj@suse.de>
17551
17552 [BZ #15395]
17553 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
17554 localization.
17555 Include <locale.h>.
17556
36129722
CD
175572013-05-09 Carlos O'Donell <carlos@redhat.com>
17558
17559 * elf/dl-close.c (_dl_close_worker): Add comments.
17560
faa7f811
JM
175612013-05-09 Joseph Myers <joseph@codesourcery.com>
17562
ed41ffef
JM
17563 [BZ #15359]
17564 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
17565 high part of pi/2.
17566 (__ieee754_rem_pio2l): Update comments.
17567
d0213cd0
JM
17568 [BZ #15429]
17569 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
17570 high part of pi/2.
17571 (__ieee754_rem_pio2l): Update comments.
17572
0d3e777a
JM
17573 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
17574 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
17575
24f56066
JM
17576 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
17577 M_PI_4l.
17578
faa7f811
JM
17579 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
17580 (M_PI_34_LOG10El): Likewise.
17581 (M_PI2_LOG10El): Likewise.
17582 (M_PI4_LOG10El): Likewise.
17583 (M_PI_LOG10El): Likewise.
17584
e9a5e0fd
AZ
175852013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17586
17587 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17588
d8cd06db
JM
175892013-05-08 Joseph Myers <joseph@codesourcery.com>
17590
a0d9f9d7
JM
17591 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
17592 (MINUS_ZERO_INIT): Likewise.
17593 (PLUS_INFTY_INIT): Likewise.
17594 (MINUS_INFTY_INIT): Likewise.
17595 (QNAN_VALUE_INIT): Likewise.
17596 (MAX_VALUE_INIT): Likewise.
17597 (MIN_VALUE_INIT): Likewise.
17598 (MIN_SUBNORM_VALUE_INIT): Likewise.
17599 (plus_zero): Initialize with PLUS_ZERO_INIT.
17600 (minus_zero): Initialize with MINUS_ZERO_INIT.
17601 (plus_infty): Initialize with PLUS_INFTY_INIT.
17602 (minus_infty): Initialize with MINUS_INFTY_INIT.
17603 (qnan_value): Initialize with QNAN_VALUE_INIT.
17604 (max_value): Initialize with MAX_VALUE_INIT.
17605 (min_value): Initialize with MIN_VALUE_INIT.
17606 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
17607
ae08db3b
JM
17608 * math/libm-test.inc (RUN_TEST_if_f): New macro.
17609 (jn_test): Use TEST_if_f instead of TEST_ff_f.
17610 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
17611 (yn_test): Use TEST_if_f instead of TEST_ff_f.
17612
f44bf14a
JM
17613 * math/libm-test.inc (RUN_TEST_f_f): New macro.
17614 (RUN_TEST_2_f): Likewise.
17615 (RUN_TEST_ff_f): Likewise.
17616 (RUN_TEST_fi_f): Likewise.
17617 (RUN_TEST_fl_f): Likewise.
17618 (RUN_TEST_fff_f): Likewise.
17619 (RUN_TEST_c_f): Likewise.
17620 (RUN_TEST_f_f1): Likewise.
17621 (RUN_TEST_fF_f1): Likewise.
17622 (RUN_TEST_fI_f1): Likewise.
17623 (RUN_TEST_ffI_f1): Likewise.
17624 (RUN_TEST_c_c): Likewise.
17625 (RUN_TEST_cc_c): Likewise.
17626 (RUN_TEST_f_i): Likewise.
17627 (RUN_TEST_f_i_tg): Likewise.
17628 (RUN_TEST_ff_i_tg): Likewise.
17629 (RUN_TEST_f_b): Likewise.
17630 (RUN_TEST_f_b_tg): Likewise.
17631 (RUN_TEST_f_l): Likewise.
17632 (RUN_TEST_f_L): Likewise.
17633 (RUN_TEST_sincos): Likewise.
17634 * math/gen-libm-test.pl (new_test): Take new argument to indicate
17635 whether to show exceptions. Do not include ");\n" in return
17636 value.
17637 (special_functions): Output call to RUN_TEST_sincos instead of
17638 check_float calls. Update calls to new_test.
17639 (parse_args): Output call to single RUN_TEST_* macro instead of
17640 check_* calls and other assignments. Update calls to new_test.
17641
d8cd06db
JM
17642 [BZ #2546]
17643 [BZ #2560]
17644 [BZ #5159]
17645 [BZ #15426]
17646 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
17647 input to result for tgamma overflow.
17648 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
17649 (gamma_coeff): New variable.
17650 (NCOEFF): New macro.
17651 (gamma_positive): New function.
17652 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
17653 underflow here. Use gamma_positive instead of exp (lgamma) for
17654 other arguments.
17655 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
17656 (gamma_coeff): New variable.
17657 (NCOEFF): New macro.
17658 (gammaf_positive): New function.
17659 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
17660 underflow here. Use gamma_positive instead of exp (lgamma) for
17661 other arguments.
17662 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
17663 (gamma_coeff): New variable.
17664 (NCOEFF): New macro.
17665 (gammal_positive): New function.
17666 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
17667 underflow here. Use gamma_positive instead of exp (lgamma) for
17668 other arguments.
17669 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
17670 (gamma_coeff): New variable.
17671 (NCOEFF): New macro.
17672 (gammal_positive): New function.
17673 (__ieee754_gammal_r): Handle positive infinity, overflow and
17674 underflow here. Handle NaN the same as positive infinity. Remove
17675 check x < 0xffffffff for negative integers. Use gamma_positive
17676 instead of exp (lgamma) for other arguments.
17677 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
17678 (gamma_coeff): New variable.
17679 (NCOEFF): New macro.
17680 (gammal_positive): New function.
17681 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
17682 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17683 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17684 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
17685 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17686 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
17687 * sysdeps/generic/math_private.h (__gamma_productf): New
17688 prototype.
17689 (__gamma_product): Likewise.
17690 (__gamma_productl): Likewise.
17691 * math/Makefile (libm-calls): Add gamma_product.
17692 * math/libm-test.inc (tgamma_test): Add more tests.
17693 * sysdeps/i386/fpu/libm-test-ulps: Update.
17694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17695
bb7cf681
OB
176962013-05-08 Ondřej Bílka <neleai@seznam.cz>
17697
17698 * benchtests/bench-skeleton.c (main): Preheat CPU.
17699
ba853947
AJ
177002013-05-07 Aurelien Jarno <aurelien@aurel32.net>
17701
17702 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
17703
8347c74c
RM
177042013-05-07 Roland McGrath <roland@hack.frob.com>
17705
17706 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
17707 and _dl_skip_args_internal.
17708
e8dd4791
CD
177092013-05-07 Carlos O'Donell <carlos@redhat.com>
17710
17711 * manual/message.texi (Message Translation): Talk about users.
17712 Message to key mapping impacts design.
17713
c7405830
RM
177142013-05-06 Roland McGrath <roland@hack.frob.com>
17715
a9173057
RM
17716 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
17717
976e2f03
RM
17718 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
17719
9723ffc5
RM
17720 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
17721 * sysdeps/wordsize-64/glob64.c: ... here.
17722
962e6658
RM
17723 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
17724 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
17725 New macros.
17726
ee586a6d
RM
17727 * debug/getlogin_r_chk.c: Moved to ...
17728 * login/getlogin_r_chk.c: ... here.
17729 * debug/Makefile (routines): Move getlogin_r_chk to ...
17730 * login/Makefile (routines): ... here.
17731 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
17732 * login/Versions (libc: GLIBC_2.4): ... here.
17733
355f9165
RM
17734 * io/poll.c (__poll): Renamed from poll.
17735 Add libc_hidden_def.
17736 (poll): Define as weak alias.
17737
bd9ffde6
RM
17738 * debug/ptsname_r_chk.c: Moved to ...
17739 * login/ptsname_r_chk.c: ... here.
17740 * debug/Makefile (routines): Move ptsname_r_chk to ...
17741 * login/Makefile (routines): ... here.
17742 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
17743 * login/Versions (libc: GLIBC_2.4): ... here.
17744
8fb16a04
RM
17745 * posix/getlogin.c: Moved to ...
17746 * login/getlogin.c: ... here.
17747 * posix/getlogin_r.c: Moved to ...
17748 * login/getlogin_r.c: ... here.
17749 * posix/getlogin_r.c: Moved to ...
17750 * login/getlogin_r.c: ... here.
17751 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
17752 * login/Makefile (routines): ... here.
17753 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
17754 * login/Versions (libc: GLIBC_2.0): ... here.
17755
b99b892f
RM
17756 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
17757 (setrlimit): Define as weak alias.
17758
c7405830
RM
17759 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
17760 Call __ names for open, ftruncate, and close.
17761 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
17762 (truncate): Define as weak alias.
17763
5bf96de5
JM
177642013-05-06 Joseph Myers <joseph@codesourcery.com>
17765
9ea3513c
JM
17766 * math/gen-libm-test.pl (parse_args): Initialize x before each
17767 test of frexp, modf and remquo.
17768
5bf96de5
JM
17769 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
17770 test signgam value.
17771
16e616a7
AZ
177722013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17773
17774 [BZ #15418]
17775 [BZ #15419]
17776 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
17777 internal tests.
17778 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17779
d5e82754
RM
177802013-05-06 Roland McGrath <roland@hack.frob.com>
17781
17782 * elf/dl-writev.h: New file.
17783 * elf/dl-misc.c: Include it.
17784 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
17785 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
17786
a7548d41
JM
177872013-05-04 Joseph Myers <joseph@codesourcery.com>
17788
b7dab1e4
JM
17789 * math/libm-test.inc (noXFails): Remove variable.
17790 (noXPasses): Likewise.
17791 (BUILD_COMPLEX_INT): Remove macro.
17792 (print_screen): Remove xfail argument.
17793 (print_screen_max_error): Likewise.
17794 (update_stats): Likewise.
17795 (print_max_error): Likewise. Update calls to other affected
17796 functions.
17797 (print_complex_max_error): Likewise.
17798 (test_single_exception): Update calls to print_screen.
17799 (test_single_errno): Likewise.
17800 (check_float_internal): Remove xfail argument. Update calls to
17801 other affected functions.
17802 (check_float): Likewise.
17803 (check_complex): Likewise.
17804 (check_int): Likewise.
17805 (check_long): Likewise.
17806 (check_bool): Likewise.
17807 (check_longlong): Likewise.
17808 (main): Don't print noXFails and noXPasses.
17809 * math/gen-libm-test.pl (top level): Don't mention expected
17810 failure handling in comment.
17811 (new_test): Don't handle expected failures.
17812 (parse_args): Don't mention expected failure handling in comment.
17813 (generate_testfile): Don't handle expected failures.
17814 (parse_ulps): Likewise.
17815 (print_ulps_file): Likewise.
17816 (get_failure): Remove function.
17817 (output_test): Don't handle expected failures.
17818 * make/README.libm-test: Don't mention expected failure handling.
17819
a7548d41
JM
17820 * math/libm-test.inc (plus_zero): Make const. Add initializer.
17821 (minus_zero): Likewise.
17822 (plus_infty): Likewise.
17823 (minus_infty): Likewise.
17824 (qnan_value): Likewise.
17825 (max_value): Likewise.
17826 (min_value): Likewise.
17827 (min_subnorm_value): Likewise.
17828 (initialize): Do not initialize those variables dynamically.
17829
60bfd54c
RM
178302013-05-03 Roland McGrath <roland@hack.frob.com>
17831
cc0e6ed8
RM
17832 * io/open.c (__open_2): Moved to ...
17833 * io/open_2.c: ... this new file.
17834 * io/open64.c (__open64_2): Moved to ...
17835 * io/open64_2.c: ... this new file.
17836 * io/openat.c (__openat_2): Moved to ...
17837 * io/openat_2.c: ... this new file.
17838 * io/openat64.c (__openat64_2): Moved to ...
17839 * io/openat64_2.c: ... this new file.
17840 * io/Makefile (routines): Add them.
17841 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
17842 * sysdeps/unix/sysv/linux/open_2.c: File removed.
17843 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
17844 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
17845 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
17846 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
17847 (__openat64): Add hidden_ver.
17848 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
17849 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
17850
60bfd54c
RM
17851 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
17852 Separately conditionalize setting of GLRO(dl_sysinfo) so
17853 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
17854 as well, but the actual setting is only under [NEED_DL_SYSINFO].
17855
83e7640f
AZ
178562013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17857
17858 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
17859 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
17860 definition.
17861 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
17862 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17863 (_libc_vdso_platform_setup): Add __vdso_time initialization.
17864 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
17865 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
17866
d5dc2af3
JM
178672013-05-03 Joseph Myers <joseph@codesourcery.com>
17868
c31a5b1e
JM
17869 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
17870 test signgam value.
17871
d5dc2af3
JM
17872 * math/libm-test.inc (hypot_test): Do not use
17873 IGNORE_ZERO_INF_SIGN.
17874
164fd39d
AJ
178752013-05-03 Andreas Jaeger <aj@suse.de>
17876
17877 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
17878 Linux 3.9.
17879 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
17880 (PF_MAX): Adjust for VSOCK change.
17881
8237f48c
AZ
178822013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17883
17884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17885
9df02941
CD
178862013-05-02 Carlos O'Donell <carlos@redhat.com>
17887
17888 [BZ #15264]
17889 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
17890 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
17891 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
17892
d422395e
DM
178932013-05-02 David S. Miller <davem@davemloft.net>
17894
17895 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17896
a07c5731
OB
178972013-05-01 Ondřej Bílka <neleai@seznam.cz>
17898
17899 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
17900
1324e37f
RM
179012013-05-01 Roland McGrath <roland@hack.frob.com>
17902
17903 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
17904
0695940b
RS
179052013-05-01 Richard Smith <richard@metafoo.co.uk>
17906
bb5f27ad 17907 [BZ #14952]
0695940b
RS
17908 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
17909 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17910 Use __attribute__ ((__gnu_inline__)).
17911 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17912 Don't use __attribute__ ((__gnu_inline__)).
17913
10de07f5
JM
179142013-05-01 Joseph Myers <joseph@codesourcery.com>
17915
17916 [BZ #15423]
17917 * math/s_catan.c (__catan): Handle small real or imaginary part of
17918 input specially to avoid spurious underflow.
17919 * math/s_catanf.c (__catanf): Likewise.
17920 * math/s_catanh.c (__catanh): Likewise.
17921 * math/s_catanhf.c (__catanhf): Likewise.
17922 * math/s_catanhl.c (__catanhl): Likewise.
17923 * math/s_catanl.c (__catanl): Likewise.
17924 * math/libm-test.inc (catan_test): Add more tests.
17925 (catanh_test): Likewise.
17926 * sysdeps/i386/fpu/libm-test-ulps: Update.
17927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17928
cb4d5414
AZ
179292013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17930
17931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17932
caf84319
JM
179332013-04-30 Joseph Myers <joseph@codesourcery.com>
17934
17935 [BZ #15416]
17936 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
17937 accurately for denominator in atan2.
17938 * math/s_catanf.c (__catanf): Likewise.
17939 * math/s_catanh.c (__catanh): Likewise.
17940 * math/s_catanhf.c (__catanhf): Likewise.
17941 * math/s_catanhl.c (__catanhl): Likewise.
17942 * math/s_catanl.c (__catanl): Likewise.
17943 * math/libm-test.inc (catan_test): Add more tests.
17944 (catanh_test): Likewise.
17945 * sysdeps/i386/fpu/libm-test-ulps: Update.
17946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17947
d569c6ee
SP
179482013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17949
6dbe713d
SP
17950 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
17951
f0ee064b
SP
17952 * benchtests/Makefile (bench): Remove slow benchmarks.
17953 * benchtests/atan-inputs: Add slow benchmark inputs.
17954 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
17955 (BENCH_FUNC): Accept variant offset.
17956 (VARIANT): Define.
17957 * benchtests/bench-skeleton.c (main): Run benchmark for each
17958 variant.
17959 * benchtests/cos-inputs: Add slow benchmark inputs.
17960 * benchtests/exp-inputs: Likewise.
17961 * benchtests/pow-inputs: Likewise.
17962 * benchtests/sin-inputs: Likewise.
17963 * benchtests/slowatan-inputs: Remove.
17964 * benchtests/slowatan.c: Remove.
17965 * benchtests/slowcos-inputs: Remove.
17966 * benchtests/slowcos.c: Remove.
17967 * benchtests/slowexp-inputs: Remove.
17968 * benchtests/slowexp.c: Remove.
17969 * benchtests/slowpow-inputs: Remove.
17970 * benchtests/slowpow.c: Remove.
17971 * benchtests/slowsin-inputs: Remove.
17972 * benchtests/slowsin.c: Remove.
17973 * benchtests/slowtan-inputs: Remove.
17974 * benchtests/slowtan.c: Remove.
17975 * benchtests/tan-inputs: Add slow benchmark inputs.
17976 * scripts/bench.pl: Parse comments and directives.
17977
d569c6ee
SP
17978 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
17979 in CPPFLAGS.
17980 ($(objpfx)bench-%.c): Remove *-ITER.
17981 * benchtests/bench-modf.c: Remove definition of ITER.
17982 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
17983 (main): Loop for DURATION seconds instead of fixed number of
17984 iterations.
17985 * scripts/bench.pl: Don't expect iterations in parameters.
17986
a6a242fe
RM
179872013-04-29 Roland McGrath <roland@hack.frob.com>
17988
17989 * io/fchdir.c (__fchdir): Renamed from fchdir.
17990 (fchdir): Define as weak alias.
17991
f2da7793
JM
179922013-04-29 Joseph Myers <joseph@codesourcery.com>
17993
17994 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
17995 (ERRNO_EDOM): Likewise.
17996 (ERRNO_ERANGE): Likewise.
17997 (noErrnoTests): New variable.
17998 (init_max_error): Set errno to 0.
17999 (test_single_errno): New function.
18000 (test_errno): Likewise.
18001 (check_float_internal): Call test_errno. Set errno to 0.
18002 (check_complex): Refer to errno tests in comment.
18003 (check_int): Call test_errno. Set errno to 0.
18004 (check_long): Likewise.
18005 (check_bool): Likewise.
18006 (check_longlong): Likewise.
18007 (cos_test): Use ERRNO_* flags for errno tests instead of
18008 check_int.
18009 (expm1_test): Likewise.
18010 (fmod_test): Likewise.
18011 (ilogb_test): Likewise.
18012 (lgamma_test): Likewise.
18013 (pow_test): Likewise.
18014 (remainder_test): Likewise.
18015 (sin_test): Likewise.
18016 (tan_test): Likewise.
18017 (yn_test): Likewise.
18018 (initialize): Set errno to 0.
18019 (main): Print number of errno tests.
18020 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18021
b1a36ceb
AJ
180222013-04-29 Andreas Jaeger <aj@suse.de>
18023
c3ed8088
AJ
18024 [BZ #15084]
18025 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18026 and RES_USEVC.
18027
f1a24198
AJ
18028 [BZ #15085]
18029 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18030 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18031 unimplemented.
18032
9ce3b2cb
AJ
18033 [BZ #15380]
18034 * stdlib/random.c (__initstate): Return NULL if
18035 __initstate fails.
18036
f1a24198 18037 [BZ #15086]
b1a36ceb
AJ
18038 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18039 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18040 RES_SNGLKUPREOP.
18041
7e7b6f36
AZ
180422013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18043
18044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18045
4d14f449
JM
180462013-04-29 Joseph Myers <joseph@codesourcery.com>
18047
18048 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18049 of individual tests.
18050 (casin_test): Likewise.
18051 (casinh_test): Likewise.
18052
5b4217d7
JM
180532013-04-27 Joseph Myers <joseph@codesourcery.com>
18054
18055 [BZ #15409]
18056 * math/s_catan.c (__catan): Handle arguments with large real or
18057 imaginary part separately without squaring.
18058 * math/s_catanf.c (__catanf): Likewise.
18059 * math/s_catanh.c (__catanh): Likewise.
18060 * math/s_catanhf.c (__catanhf): Likewise.
18061 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18062 and redefine.
18063 (__catanhl): Handle arguments with large real or imaginary part
18064 separately without squaring.
18065 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18066 and redefine.
18067 (__catanl): Handle arguments with large real or imaginary part
18068 separately without squaring.
18069 * math/libm-test.inc (catan_test): Add more tests.
18070 (catanh_test): Likewise.
18071 * sysdeps/i386/fpu/libm-test-ulps: Update.
18072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18073
4220c3ef
AJ
180742013-04-27 Andreas Jaeger <aj@suse.de>
18075
18076 [BZ #15007]
18077 * stdlib/stdlib.h: Update guards for qecvt.
18078 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18079 <stdlib.h>.
18080
4721b2d1
AM
180812013-04-27 Allan McRae <allan@archlinux.org>
18082
18083 * sysdeps/i386/fpu/libm-test-ulps: Update.
18084
f0302940
JM
180852013-04-26 Joseph Myers <joseph@codesourcery.com>
18086
9457fd95
JM
18087 [BZ #15406]
18088 * math/s_catan.c: Include <float.h>.
18089 (__catan): Ensure underflow exception occurs for underflowed
18090 result.
18091 * math/s_catanf.c: Include <float.h>.
18092 (__catanf): Ensure underflow exception occurs for underflowed
18093 result.
18094 * math/s_catanh.c: Include <float.h>.
18095 (__catanh): Ensure underflow exception occurs for underflowed
18096 result.
18097 * math/s_catanhf.c: Include <float.h>.
18098 (__catanhf): Ensure underflow exception occurs for underflowed
18099 result.
18100 * math/s_catanhl.c: Include <float.h>.
18101 (__catanhl): Ensure underflow exception occurs for underflowed
18102 result.
18103 * math/s_catanl.c: Include <float.h>.
18104 (__catanl): Ensure underflow exception occurs for underflowed
18105 result.
18106 * math/libm-test.inc (catan_test): Add more tests.
18107 (catanh_test): Likewise.
18108
f0302940
JM
18109 [BZ #15405]
18110 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18111 underflowed result.
18112 * math/s_ccoshf.c (__ccoshf): Likewise.
18113 * math/s_ccoshl.c (__ccoshl): Likewise.
18114 * math/s_csin.c (__csin): Likewise.
18115 * math/s_csinf.c (__csinf): Likewise.
18116 * math/s_csinh.c (__csinh): Likewise.
18117 * math/s_csinhf.c (__csinhf): Likewise.
18118 * math/s_csinhl.c (__csinhl): Likewise.
18119 * math/s_csinl.c (__csinl): Likewise.
18120 * math/libm-test.inc (ccos_test): Add more tests.
18121 (ccosh_test): Likewise.
18122 (csin_test): Likewise.
18123 (csinh_test): Likewise.
18124
aa630f59
AZ
181252013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18126
18127 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18128 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18129 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18130 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18131 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18132 powerpc/power5+/fpu folders.
18133 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18134
18135
1b835983
MT
181362013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18137
18138 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18139
73709b26
JM
181402013-04-25 Joseph Myers <joseph@codesourcery.com>
18141
18142 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18143 additions to variable.
18144 [$(config-machine) = x86_64] (modules-names): Likewise.
18145 ($(objpfx)tst-audit3): Remove dependency.
18146 ($(objpfx)tst-audit3.out): Likewise.
18147 ($(objpfx)tst-audit4): Likewise.
18148 ($(objpfx)tst-audit4.out): Likewise.
18149 ($(objpfx)tst-audit5): Likewise.
18150 ($(objpfx)tst-audit5.out): Likewise.
18151 ($(objpfx)tst-audit6): Likewise.
18152 ($(objpfx)tst-audit6.out): Likewise.
18153 ($(objpfx)tst-audit7): Likewise.
18154 ($(objpfx)tst-audit7.out): Likewise.
18155 (tst-audit3-ENV): Remove variable.
18156 (tst-audit4-ENV): Likewise.
18157 (tst-audit5-ENV): Likewise.
18158 (tst-audit6-ENV): Likewise.
18159 (tst-audit7-ENV): Likewise.
18160 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18161 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18162 addition to variable.
18163 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18164 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18165 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18166 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18167 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18168 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18169 tst-audit3, tst-audit4 and tst-audit5.
18170 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18171 tst-audit6 and tst-audit7.
18172 [$(subdir) = elf] (modules-names): Add audit modules for those
18173 tests.
18174 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18175 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18176 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18177 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18178 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18179 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18180 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18181 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18182 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18183 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18184 [$(subdir) = elf] (tst-audit3-ENV): New variable.
18185 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18186 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18187 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18188 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18189 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18190 Likewise.
18191 [$(subdir) = elf && $(config-cflags-avx) = yes]
18192 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18193 [$(subdir) = elf && $(config-cflags-avx) = yes]
18194 (CFLAGS-tst-auditmod4a.c): Likewise.
18195 [$(subdir) = elf && $(config-cflags-avx) = yes]
18196 (CFLAGS-tst-auditmod4b.c): Likewise.
18197 [$(subdir) = elf && $(config-cflags-avx) = yes]
18198 (CFLAGS-tst-auditmod6b.c): Likewise.
18199 [$(subdir) = elf && $(config-cflags-avx) = yes]
18200 (CFLAGS-tst-auditmod6c.c): Likewise.
18201 [$(subdir) = elf && $(config-cflags-avx) = yes]
18202 (CFLAGS-tst-auditmod7b.c): Likewise.
18203 * elf/tst-audit3.c: Move to ...
18204 * sysdeps/x86_64/tst-audit3.c: ... here.
18205 * elf/tst-audit4.c: Move to ...
18206 * sysdeps/x86_64/tst-audit4.c: ... here.
18207 * elf/tst-audit5.c: Move to ...
18208 * sysdeps/x86_64/tst-audit5.c: ... here.
18209 * elf/tst-audit6.c: Move to ...
18210 * sysdeps/x86_64/tst-audit6.c: ... here.
18211 * elf/tst-audit7.c: Move to ...
18212 * sysdeps/x86_64/tst-audit7.c: ... here.
18213 * elf/tst-auditmod3a.c: Move to ...
18214 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18215 * elf/tst-auditmod3b.c: Move to ...
18216 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18217 * elf/tst-auditmod4a.c: Move to ...
18218 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18219 * elf/tst-auditmod4b.c: Move to ...
18220 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18221 * elf/tst-auditmod5a.c: Move to ...
18222 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18223 * elf/tst-auditmod5b.c: Move to ...
18224 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18225 * elf/tst-auditmod6a.c: Move to ...
18226 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18227 * elf/tst-auditmod6b.c: Move to ...
18228 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18229 * elf/tst-auditmod6c.c: Move to ...
18230 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18231 * elf/tst-auditmod7a.c: Move to ...
18232 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18233 * elf/tst-auditmod7b.c: Move to ...
18234 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18235
1ef74943
PP
182362013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
18237
18238 [BZ #15366]
18239 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18240 define unconditionally.
18241 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18242 define unconditionally.
18243 (INT8_C, INT16_C, etc.): Likewise.
18244
93fd48c5
MR
182452013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
18246
ae9552cf
MR
18247 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18248 __ehdr_start with hidden visibility.
18249
93fd48c5
MR
18250 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18251
418601aa
CD
182522013-04-24 Carlos O'Donell <carlos@redhat.com>
18253
18254 * math/libm-test.inc (cos_test): Use accurate hex constants.
18255 (sincost_test): Likewise.
18256
2f38fbfe
JM
182572013-04-24 Joseph Myers <joseph@codesourcery.com>
18258
5e221800
JM
18259 * math/libm-test.inc (catan_test): Add more tests.
18260 (catanh_test): Likewise.
18261
77f143fd
JM
18262 * math/s_catanf.c (__catanf): Use suffixed floating-point
18263 constants.
18264 * math/s_catanhf.c (__catanhf): Likewise.
18265 * math/s_catanhl.c (__catanhl): Likewise.
18266 * math/s_catanl.c (__catanl): Likewise.
18267
2f38fbfe
JM
18268 [BZ #15394]
18269 * math/s_catan.c (__catan): Calculate imaginary part of result
18270 with log1p not log unless computing log of number close to 0.
18271 * math/s_catanf.c (__catanf): Likewise.
18272 * math/s_catanl.c (__catanl): Likewise.
18273 * math/s_catanh.c (__catanh): Calculate real part of result with
18274 log1p not log unless computing log of number close to 0.
18275 * math/s_catanhf.c (__catanhf): Likewise.
18276 * math/s_catanhl.c (__catanhl): Likewise.
18277 * math/libm-test.inc (catan_test): Add more tests.
18278 (catanh_test): Likewise.
18279 * sysdeps/i386/fpu/libm-test-ulps: Update.
18280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18281
45d69176
SP
182822013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18283
18284 * benchtests/Makefile: Mention files in which fast and slow
18285 paths of math functions are implemented.
18286
87f51853
RM
182872013-04-23 Roland McGrath <roland@hack.frob.com>
18288
18289 * sysdeps/posix/timespec_get.c: New file.
18290
3c026539
AZ
182912013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18292
18293 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18294 POWER.
18295 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18296 for POWER.
18297 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18298 powerpc/power5/fpu folders.
18299 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18300 * benchtests/Makefile: Add modf testcase.
18301 * benchtests/bench-modf.c: New file: Benchmark test for mo
18302
ff491d14
SP
183032013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18304
18305 [BZ #14888]
18306 * time/Makefile (tests): Add tst-strptime-whitespace.
18307 * time/strptime_l.c (get_number): Use ISSPACE.
18308 (__strptime_internal): Likewise.
18309 * time/tst-strptime-whitespace.c: New test case.
18310
7ed3f4e8
AS
183112013-04-23 Andreas Schwab <schwab@linux-m68k.org>
18312
18313 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18314 member.
18315 (_nss_files_init): Set it here.
18316
5c95f7b6
HC
183172013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
18318
18319 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18320 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18321 unsigned.
18322
d34c9158
JBG
183232013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
18324
18325 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18326
2169712d
SP
183272013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18328
18329 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18330 size just once.
18331
29c5de99
DM
183322013-04-21 David S. Miller <davem@davemloft.net>
18333
18334 * po/ru.po: Update Russion translation from translation project.
18335
ccdad15d
AC
183362013-04-17 Adam Conrad <adconrad@0c3.net>
18337
18338 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18339 and setfsgid.
18340
0f122b8d
CD
183412013-04-17 Carlos O'Donell <carlos@redhat.com>
18342
5c5b07da 18343 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 18344 * configure: Regenerate.
5c5b07da 18345 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
18346 Add example to error message.
18347 * sysdeps/i386/configure: Regenerate.
18348
037714dd
SP
183492013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18350
18351 * benchtests/Makefile (bench): Add cos, tan, slowcos and
18352 slowtan.
18353 * benchtests/cos-inputs: New file.
18354 * benchtests/slowcos-inputs: New file.
18355 * benchtests/slowcos.c: New file.
18356 * benchtests/slowtan-inputs: New file.
18357 * benchtests/slowtan.c: New file.
18358 * benchtests/tan-inputs: New file.
18359
e913141d
RM
183602013-04-16 Roland McGrath <roland@hack.frob.com>
18361
18362 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18363 considered kosher.
18364
a2964074
SP
183652013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18366
4856bcd2
SP
18367 * benchtests/Makefile: Include cppflags-iterator.mk to add
18368 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18369
a2964074
SP
18370 * Makefile.in (bench-clean): New target.
18371 * benchtests/Makefile (bench-clean): Likewise.
18372
9fbf9aca
DH
183732013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
18374
18375 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18376
207d1e2a
TS
183772013-04-15 Thomas Schwinge <thomas@codesourcery.com>
18378
18379 * stdio-common/tstdiomisc.c: Fix coding-style violation.
18380
306dfba9
AS
183812013-04-15 Andreas Schwab <schwab@suse.de>
18382
18383 * nscd/grpcache.c (cache_addgr): Properly check for short write.
18384 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18385 * nscd/pwdcache.c (cache_addpw): Likewise.
18386 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
18387 more than recsize.
18388
206a6699
SP
183892013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18390
18391 * benchtests/Makefile (bench): Write all output to
18392 bench-out.tmp together.
18393
0582f6b3
AS
183942013-04-15 Andreas Schwab <schwab@suse.de>
18395
18396 * nscd/nscd.c (main): Don't fork again after closing files.
18397
acb4325f
SP
183982013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18399
5cb26d0a
SP
18400 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18401
acb4325f
SP
18402 * benchtests/Rules (bench-deps): Collect dependencies into a
18403 single variable. Add Makefile to dependencies.
18404 ($(objpfx)bench-%.c): Depend on bench-deps.
18405
47792506
RM
184062013-04-12 Roland McGrath <roland@hack.frob.com>
18407 Xavier Roche <roche+kml2@exalead.com>
18408
18409 [BZ #15361]
18410 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18411 just that it's a file descriptor.
18412 * manual/llio.texi (Synchronizing AIO Operations): Update description
18413 for EBADF error from aio_fsync.
18414
8fc1bee5
SP
184152013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18416
18417 * Rules (bench): Move target definition...
18418 * benchtests/Makefile: ... here.
18419
aba5e333
CD
184202013-04-11 Carlos O'Donell <carlos@redhat.com>
18421
18422 * math/libm-test.inc (cos_test): Fix PI/2 test.
18423 (sincos_test): Likewise.
18424 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18425 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18426
273cdee8
AS
184272013-04-11 Andreas Schwab <schwab@suse.de>
18428
6ecec3b6
AS
18429 [BZ #13988]
18430 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18431 accept exponent character only when digits were seen.
18432 * stdio-common/Makefile (tests): Add bug26.
18433 * stdio-common/bug26.c: New file.
18434
273cdee8
AS
18435 [BZ #14293]
18436 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18437 non-freeable.
18438
8da491f5
SP
184392013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18440
01dc6df9
SP
18441 * Makeconfig (rtld-prefix): Define built linker prefix.
18442 * Rules (run-bench): Use it.
18443 * math/Makefile (run-regen-ulps): Likewise.
18444
8da491f5
SP
18445 * Rules (bench): Remove eval.
18446
abe7f530
SP
184472013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18448 Roland McGrath <roland@hack.frob.com>
18449 Ondrej Bilka <neleai@seznam.cz>
18450
18451 [BZ #15346]
18452 * time/getdate.c: Include ctype.h and alloca.h.
18453 (__getdate_r): Trim leading and trailing spaces of input.
18454 * time/tst-getdate.c (tests): Add tests with leading and
18455 trailing spaces.
18456
61c23e62
RM
184572013-04-08 Roland McGrath <roland@hack.frob.com>
18458
18459 [BZ #14280]
18460 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
18461 when computing value.
18462
7208a313
CD
184632013-04-06 Carlos O'Donell <carlos@redhat.com>
18464
085b2d41
CD
18465 * math/README.libm-test (How can I generate "libm-test-ulps"?):
18466 Use testrun.sh to run libm tests.
18467
7208a313
CD
18468 [BZ #15309]
18469 * elf/dl-open.c (dl_open_worker): memset all of seen array.
18470
872c0acd
MM
184712013-04-06 Marko Myllynen <myllynen@redhat.com>
18472
18473 [BZ #15264]
18474 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
18475
26510bdd
CD
184762013-04-06 Carlos O'Donell <carlos@redhat.com>
18477
18478 * Makefile.in (regen-ulps): New target.
18479 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
18480 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
18481 [ifneq (no,$(PERL)] (regen-ulps): New target.
18482 [ifeq (no,$(PERL)] (regen-ulps): New target.
18483 * math/libm-test.inc (ulps_file_name): Define.
18484 (output_dir): New variable.
18485 (options): Add "output-dir" option.
18486 (parse_opt): Handle 'o' case.
18487 (main): If output_dir is non-NULL use it as a prefix
18488 otherwise use "".
18489 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
18490
a01f19c8
CD
184912013-04-06 Carlos O'Donell <carlos@redhat.com>
18492
18493 [BZ #10060, #10062]
18494 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
18495 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
18496 fail configure if __sync_val_compare_and_swap is not inlined.
18497 * sysdeps/i386/configure: Regenerate.
18498 * configure.in: Build for i686 when configured for i386.
18499 * configure: Regenerate.
18500 * README: Remove i386 reference.
18501
b7a329a5
CD
185022013-04-06 Carlos O'Donell <carlos@redhat.com>
18503
18504 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
18505 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18506
bf0f50df
TS
185072013-04-05 Thomas Schwinge <thomas@codesourcery.com>
18508
ee091edf
TS
18509 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
18510 (lmsnanval): New variables.
18511 (F): Add conversion tests.
18512 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
18513 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
18514
a8b792d6
TS
18515 * stdio-common/tstdiomisc.c (F): Properly collect individual
18516 tests' results.
18517
a1cbf437
TS
18518 [BZ #14686, #15336]
18519 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
18520 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18521 Instead, use input NaN values or generate a qNaN by arithmetic
18522 operation. Also fix bugs to comply with the standard.
18523 * math/libm-test.inc (remainder_test): Add more tests.
18524
8b43a0c9
TS
18525 [BZ #15335, #15342]
18526 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
18527 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
18528 input NaN values or generate a qNaN by arithmetic operation.
18529
d91da4ce
TS
18530 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
18531 unreachable code.
18532
bf0f50df
TS
18533 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
18534 definitions.
18535
05e166c8
JM
185362013-04-03 Joseph Myers <joseph@codesourcery.com>
18537
18538 [BZ #14478]
18539 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
18540 underflowed result.
18541 * math/s_cexpf.c (__cexpf): Likewise.
18542 * math/s_cexpl.c (__cexpl): Likewise.
18543 * math/libm-test.inc (cexp_test): Add more tests.
18544
1cef1b19
AS
185452013-04-03 Andreas Schwab <schwab@suse.de>
18546
18547 [BZ #15330]
18548 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
18549 order arrays from heap if bigger than alloca cutoff.
18550
74d87055
TS
185512013-04-03 Thomas Schwinge <thomas@codesourcery.com>
18552
18553 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
18554 (SNAN_TESTS_double): Refer to GCC PR56831.
18555 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
18556 GCC PR56828.
18557
d755bba4
SP
185582013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18559
90d5d5bb
SP
18560 * Rules (bench): Move bench.out after the run is complete.
18561
73e0cd5d
SP
18562 * Rules (bench): Echo currently running benchmark.
18563
64aabd4b
SP
18564 * benchtests/Makefile (bench): Add atan and slowatan.
18565 * benchtests/atan-inputs: New file.
18566 * benchtests/slowatan-inputs: New file.
18567 * benchtests/slowatan.c: New file.
18568
c871eccd
SP
18569 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
18570 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
18571 its value.
18572
d755bba4
SP
18573 [BZ #15305]
18574 * sysdeps/unix/sysv/linux/kernel-features.h
18575 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
18576 __ASSUME_XFS_RESTRICTED_CHOWN.
18577 * sysdeps/unix/sysv/linux/pathconf.c
18578 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18579 Save and restore errno.
18580
52ce4860
JM
185812013-04-02 Joseph Myers <joseph@codesourcery.com>
18582
18583 [BZ #15327]
18584 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
18585 arguments using __kernel_casinh.
18586 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
18587 arguments using __kernel_casinhf.
18588 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
18589 arguments using __kernel_casinhl.
18590 * math/libm-test.inc (cacosh_test): Add more tests.
18591 * sysdeps/i386/fpu/libm-test-ulps: Update.
18592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18593
81f311c2
SP
185942013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18595
e7906a47
SP
18596 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
18597 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
18598
92e3664b
SP
18599 * bench/Makefile (bench): Add sin and slowsin.
18600 * benchtests/sin-inputs: New file.
18601 * benchtests/slowsin-inputs: New file.
18602 * benchtests/slowsin.c: New file.
18603
81f311c2
SP
18604 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
18605 (bench): Add slowexp and slowpow.
18606 (exp-ITER): Increase iterations.
18607 (pow-ITER): Likewise.
18608 * benchtests/exp-inputs: Change input.
18609 * benchtests/pow-inputs: Likewise.
18610 * benchtests/slowexp-inputs: New file.
18611 * benchtests/slowexp.c: New file.
18612 * benchtests/slowpow-inputs: New file.
18613 * benchtests/slowpow.c: New file.
18614
ab0f1aa9
AZ
186152013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18616
18617 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
18618 instructions.
18619 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18620 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
18621 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18622 * benchtests/Makefile: Add rint benchtest.
18623 * benchtests/rint-inputs: Input for rint benchtest.
18624
57267616
TS
186252013-04-02 Thomas Schwinge <thomas@codesourcery.com>
18626
18627 * Versions.def (libm): Add GLIBC_2.18.
18628 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
18629 hidden libm prototypes.
18630 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
18631 * math/Makefile (libm-calls): Add s_issignaling.
18632 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
18633 __issignalingf, __issignalingl. Adjust all libm.abilist files.
18634 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
18635 declaration.
18636 * math/math.h [__USE_GNU] (issignaling): New macro.
18637 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
18638 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
18639 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
18640 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
18641 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
18642 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
18643 * manual/arith.texi (issignaling): New section.
18644 * manual/libm-err-tab.pl (@all_functions): Update comment.
18645 * math/gen-libm-test.pl (parse_args): Apply special handling for
18646 issignaling.
18647 * math/libm-test.inc (print_float, issignaling_test): New
18648 functions.
18649 (check_float_internal): Add issignaling checks.
18650 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
18651 default definition.
18652 * sysdeps/powerpc/math-tests.h: New file.
18653 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
18654 tests.
18655 * math/test-snan.c (TEST_FUNC): Likewise.
18656
6142896d
DM
186572013-03-30 David S. Miller <davem@davemloft.net>
18658
18659 * po/de.po: Update from translation team.
18660
ccc8cadf
JM
186612013-03-30 Joseph Myers <joseph@codesourcery.com>
18662
18663 [BZ #10357]
18664 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18665 imaginary part less than 1.0 and real part less than 0.5
18666 specially.
18667 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18668 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18669 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
18670 (cacos_test): Add more tests.
18671 (casin_test): Likewise.
18672 (casinh_test): Likewise.
18673 * sysdeps/i386/fpu/libm-test-ulps: Update.
18674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18675
0f6a8d4b
SP
186762013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18677
0d1029de
SP
18678 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
18679 ONE with its value.
18680
c2d94018
SP
18681 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
18682 (__pow_mp): Replace ONE and MONE with their values.
18683 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18684 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
18685 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18686 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
18687 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18688 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18689
27ec37f1
SP
18690 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
18691
a64d7e0e
SP
18692 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
18693 (__pow_mp): Replace ZERO and MZERO with their values.
18694 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18695 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18696 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18697 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18698 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18699 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
18700 (__sqr): Likewise.
18701
d26dd3eb
SP
18702 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
18703
0f6a8d4b
SP
18704 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
18705
e57b0c61
RM
187062013-03-28 Roland McGrath <roland@hack.frob.com>
18707
18708 * include/stdlib.h [!SHARED] (__call_tls_dtors):
18709 Declare with __attribute__ ((weak)).
18710 * stdlib/exit.c (__libc_atexit) [!SHARED]:
18711 Call __call_tls_dtors only if it's not NULL.
18712
356b3480
RM
187132013-03-28 Roland McGrath <roland@hack.frob.com>
18714
288f7d79
RM
18715 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
18716 didn't do it already, then set _dl_phdr and _dl_phnum based on the
18717 magic __ehdr_start linker symbol if it's defined.
18718 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
18719 them up here if it was already done.
18720
dc0a0263
RM
18721 * elf/dl-support.c (_dl_phdr): Make pointer to const.
18722 (_dl_aux_init): Use const in cast when setting it.
18723 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
18724 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
18725 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
18726
3d3436ae
RM
18727 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
18728 Declare them here.
18729 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
18730 * csu/libc-tls.c: Nor here.
18731 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
18732
356b3480
RM
18733 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
18734 (__libc_message): Never call vsyslog.
18735
b0f1246a
AM
187362013-03-28 Alan Modra <amodra@gmail.com>
18737
18738 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
18739 Define as empty.
18740 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
18741 Likewise.
18742
fbbe2b9a
AZ
187432013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18744
18745 [BZ #15214]
18746 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
18747 underflow.
18748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18749
1728ab37
SP
187502013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18751
7a86be6e
SP
18752 [BZ #15304]
18753 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18754 Don't add gid passed as argument.
18755
1728ab37
SP
18756 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
18757
3a7182a1
JM
187582013-03-27 Joseph Myers <joseph@codesourcery.com>
18759
18760 [BZ #15307]
18761 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18762 imaginary part between 1.0 and 1.5 and real part less than 0.5
18763 specially.
18764 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18765 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18766 * math/libm-test.inc (cacos_test): Add more tests.
18767 (casin_test): Likewise.
18768 (casinh_test): Likewise.
18769 * sysdeps/i386/fpu/libm-test-ulps: Update.
18770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18771
6f2e90e7
SP
187722013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18773
5739f705
SP
18774 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
18775 constants.
18776 (norm): Likewise.
18777 (denorm): Likewise.
18778 (__dbl_mp): Likewise.
18779 (add_magnitudes): Likewise.
18780 (sub_magnitudes): Likewise.
18781 (__add): Likewise.
18782 (__sub): Likewise.
18783 (__mul): Likewise.
18784 (__sqr): Likewise.
18785 (__inv): Likewise.
18786 (__dvd): Likewise.
18787
e375e83d
SP
18788 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
18789 commented code.
18790 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
18791 (__dubcos): Likewise.
18792 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
18793 (__ieee754_acos): Likewise.
18794 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18795 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
18796 (__exp1): Likewise.
18797 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18798 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18799 (log1): Likewise.
18800 (my_log2): Likewise.
18801 (checkint): Likewise.
18802 * sysdeps/ieee754/dbl-64/e_remainder.c
18803 (__ieee754_remainder): Likewise.
18804 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18805 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18806 (bsloww): Likewise.
18807 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18808
6f2e90e7
SP
18809 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18810 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
18811 MANTISSA_STORE_T to store computations on mantissa. Use
18812 macros for rounding and division.
18813 (denorm): Likewise.
18814 (__dbl_mp): Likewise.
18815 (add_magnitudes): Likewise.
18816 (sub_magnitudes): Likewise.
18817 (__mul): Likewise.
18818 (__sqr): Likewise.
18819 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18820 powers of two in terms of TWOPOW macro.
18821 (mp_no): Make type of mantissa as MANTISSA_T.
18822 [!RADIXI]: Define RADIXI.
18823 [!TWO52]: Define TWO52.
18824 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18825
fce14d4e
AZ
188262013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18827
18828 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
18829 llroundl symbol when building for PPC32.
18830
9ad027fb
MW
188312013-03-24 Mark H Weaver <mhw@netris.org>
18832
18833 * manual/arith.texi (Normalization Functions): Fix prototypes for
18834 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
18835
e42a38dd
AZ
188362013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18837
18838 [BZ #13889]
18839 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
18840 high value to check if expl overflow.
18841 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
18842 to check for underflow and overflow.
18843 * math/libm-test.inc: Add exp test.
18844
2e0fb521
DL
188452013-03-21 Dmitry V. Levin <ldv@altlinux.org>
18846
18847 [BZ #11120]
18848 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
18849 with NOT_IN_libc.
18850
b5784d95
AZ
188512013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18852
18853 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
18854 symbol.
18855
5aa4a1a1
TS
188562013-03-21 Thomas Schwinge <thomas@codesourcery.com>
18857
bdef0be7
TS
18858 * math/gen-libm-test.pl (parse_args, special_functions): Properly
18859 wrap blocks consisting of several statements.
18860
5aa4a1a1
TS
18861 * sysdeps/generic/math-tests.h: New file.
18862 * sysdeps/i386/fpu/math-tests.h: Likewise.
18863 * math/test-snan.c: Include it.
18864 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
18865
98c48fe5
JM
188662013-03-21 Joseph Myers <joseph@codesourcery.com>
18867
18868 [BZ #15285]
18869 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
18870 (__ieee754_j0l): Do not improve calculations using cos of twice
18871 input for inputs above LDBL_MAX / 2.0L.
18872 (__ieee754_y0l): Likewise.
18873 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
18874 (__ieee754_j1l): Do not improve calculations using cos of twice
18875 input for inputs above LDBL_MAX / 2.0L.
18876 (__ieee754_y1l): Likewise.
18877 * math/libm-test.inc (j0_test): Add another test.
18878 (j1_test): Likewise.
18879 (y0_test): Likewise.
18880 (y1_test): Likewise.
18881 * sysdeps/i386/fpu/libm-test-ulps: Update.
18882
3775a8bc
SP
188832013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18884
18885 * Rules ($(objpfx)bench-%.c): Include code from a C source
18886 file.
18887
0a1b2ae6
JM
188882013-03-21 Joseph Myers <joseph@codesourcery.com>
18889
18890 [BZ #15287]
18891 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18892 imaginary part 1.0 and real part less than 0.5 specially.
18893 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18894 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18895 * math/libm-test.inc (cacos_test): Add more tests.
18896 (casin_test): Likewise.
18897 (casinh_test): Likewise.
18898 * sysdeps/i386/fpu/libm-test-ulps: Update.
18899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18900
b33d4ce4
SP
189012013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18902
18903 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
18904 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
18905
bef0b507
JM
189062013-03-20 Joseph Myers <joseph@codesourcery.com>
18907
18908 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
18909 * config.make.in (config-cflags-sse4): Remove variable.
18910 (config-cflags-avx): Likewise.
18911 (config-cflags-sse2avx): Likewise.
18912 (config-cflags-novzeroupper): Likewise.
18913 (config-asflags-i686): Likewise.
18914 (have-mfma4): Likewise.
18915 (have-as-vis3): Likewise.
18916 (MIG): Likewise.
18917 * configure.in (MIG): Do not AC_SUBST.
18918 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
18919 (libc_cv_cc_sse4): Do not AC_SUBST.
18920 (libc_cv_cc_avx): Likewise.
18921 (libc_cv_cc_sse2avx): Likewise.
18922 (libc_cv_cc_novzeroupper): Likewise.
18923 (libc_cv_cc_fma4): Likewise.
18924 (libc_cv_as_i686): Likewise.
18925 (libc_cv_sparc_as_vis3): Likewise.
18926 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
18927 LIBC_CONFIG_VAR.
18928 (config-asflags-i686): Likewise.
18929 (config-cflags-avx): Likewise.
18930 (config-cflags-sse2avx): Likewise.
18931 (have-mfma4): Likewise.
18932 (config-cflags-novzeroupper): Likewise.
18933 * sysdeps/mach/configure.in (MIG): Likewise.
18934 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
18935 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
18936 LIBC_CONFIG_VAR.
18937 (config-cflags-avx): Likewise.
18938 (config-cflags-sse2avx): Likewise.
18939 (have-mfma4): Likewise.
18940 (config-cflags-novzeroupper): Likewise.
18941 * configure: Regenerated.
18942 * sysdeps/i386/configure: Likewise.
18943 * sysdeps/mach/configure: Likewise.
18944 * sysdeps/sparc/configure: Likewise.
18945 * sysdeps/x86_64/configure: Likewise.
18946
912cc4b3
RM
189472013-03-20 Roland McGrath <roland@hack.frob.com>
18948
18949 [BZ #14812]
18950 * locale/programs/localedef.c (options): Put N_ translation marker
18951 on argument names, not just descriptions.
18952
04eed2b0
MS
189532013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18954
18955 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
18956
a065ceff
OB
189572013-03-20 Ondřej Bílka <neleai@seznam.cz>
18958
9bb2a810 18959 [BZ #14176]
a065ceff
OB
18960 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
18961
a600e5ce
RM
189622013-03-19 Roland McGrath <roland@hack.frob.com>
18963
18964 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
18965 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
18966 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
18967 [!BEFORE_ABORT] (before_abort): New function.
18968 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
18969 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
18970 (writev_for_fatal): New function.
18971 (WRITEV_FOR_FATAL): New macro; call that.
18972 (backtrace_and_maps): New function.
18973 (BEFORE_ABORT): New macro; call that.
18974 (struct str_list): Type removed.
18975 (__libc_message, __libc_fatal): Functions removed.
18976 Include <sysdeps/posix/libc_fatal.c> instead.
18977
6b18bea6
JM
189782013-03-19 Joseph Myers <joseph@codesourcery.com>
18979
18980 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
18981 constants.
18982 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
18983 double constants.
18984
aaa8cb4b
AS
189852013-03-19 Andreas Schwab <schwab@suse.de>
18986
44673770
AS
18987 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
18988 * sysdeps/gnu/configure: Regenerate.
18989
aaa8cb4b
AS
18990 * configure.in: Substitute libc_cv_rtlddir.
18991 * configure: Regenerate.
18992 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
18993 * Makeconfig (rtlddir, inst_rtlddir): New variables.
18994 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
18995 * elf/Makefile (install-others, CFLAGS-interp.c)
18996 (ldso_install, common-ldd-rewrite): Likewise.
18997 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
18998 $(inst_slibdir)/$(rtld-installed-name).
18999 * scripts/rellns-sh: Add -p option.
19000 * Makerules (make-shlib-link): Use rellns-sh to get relative name
19001 for source.
19002
d3cfc668
SP
190032013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19004
19005 * manual/nptl.texi: Renamed to ...
19006 * manual/threads.texi: ... this.
19007 * manual/Makefile (chapters): Update.
19008
0e2b9cdd
RM
190092013-03-18 Roland McGrath <roland@hack.frob.com>
19010
19011 [BZ #14812]
19012 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19013 on argument names, not just descriptions.
0e2b9cdd
RM
19014 * malloc/memusagestat.c (options): Likewise.
19015 * nss/getent.c (options): Likewise.
63270c24
RM
19016
190172013-03-18 Benno Schulenberg <bensberg@justemail.net>
19018
19019 [BZ #14812]
19020 * iconv/iconv_prog.c (options): Put N_ translation marker
19021 on argument names, not just descriptions.
19022 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 19023
b2e1393c
OB
190242013-03-18 Ondrej Bilka <neleai@seznam.cz>
19025
19026 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19027 implementation which is faster on all x86_64 architectures.
19028 Tested on AMD, Intel Nehalem, SNB, IVB.
19029 * sysdeps/x86_64/strnlen.S: Likewise.
19030
19031 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19032 Remove all multiarch strlen and strnlen versions.
19033 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19034 Remove strlen and strnlen related parts.
19035
19036 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19037 Inline strlen part.
19038 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19039
19040 * sysdeps/x86_64/multiarch/strlen.S: Remove.
19041 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19042 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19043 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19044 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19045 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19046
ec4ff04d
CD
190472013-03-17 Carlos O'Donell <carlos@redhat.com>
19048
19049 * manual/memory.texi (Malloc Tunable Parameters):
19050 Sort parameters alphabetically. Add comments for missing entries.
19051
cd18e90a
DM
190522013-03-17 David S. Miller <davem@davemloft.net>
19053
19054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19055
2a185d32
JM
190562013-03-16 Joseph Myers <joseph@codesourcery.com>
19057
d2f9799e
JM
19058 [BZ #15283]
19059 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19060 for arguments at most half maximum finite value.
19061 * math/libm-test.inc (j0_test): Add more tests.
19062 (j1_test): Likewise.
19063 (y0_test): Likewise.
19064 (y1_test): Likewise.
19065 * sysdeps/i386/fpu/libm-test-ulps: Update.
19066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19067
2a185d32
JM
19068 [BZ #14155]
19069 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19070 1 / x and functions P and Q for arguments above 0x1p256L.
19071 (__ieee754_y0l): Likewise.
19072 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19073 (__ieee754_y1l): Likewise.
19074 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19075 (j1_test): Likewise.
19076 (y0_test): Likewise.
19077 (y1_test): Likewise.
19078
6cbec759
TS
190792013-03-16 Thomas Schwinge <thomas@codesourcery.com>
19080
19081 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19082 variable.
19083
bc16e260
RM
190842013-03-15 Roland McGrath <roland@hack.frob.com>
19085
aefc9b8c
RM
19086 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19087 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19088 zero since it's initialized to EXEC_PAGESIZE.
19089
bc16e260
RM
19090 * sysdeps/unix/sysv/linux/ldsodefs.h
19091 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19092 * sysdeps/generic/ldsodefs.h: ... here.
19093
a57da955
TS
190942013-03-15 Thomas Schwinge <thomas@codesourcery.com>
19095
af00a34d
TS
19096 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19097
495ded2c
TS
19098 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19099 math/test-snan.c.
19100 * math/test-snan.c: Renamed from
19101 sysdeps/powerpc/fpu/test-powerpc-snan.c.
19102 * math/Makefile (tests): Add test-snan.
19103 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19104 test-powerpc-snan.
19105
777b0332
TS
19106 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19107 SUFFIX. Initialize qNaN_var with __builtin_nan family of
19108 functions.
19109 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
19110 __builtin_nan family of functions.
19111 * math/libm-test.inc (initialize): Initialize qnan_value with
19112 __builtin_nan family of functions.
19113 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19114 Remove variables.
19115 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19116 Remove functions.
19117 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
19118 storage class. Initialize qNaN_var and sNaN_var with
19119 __builtin_nan and __builtin_nans families of functions,
19120 respectively.
19121
64d063b8
TS
19122 * math/libm-test.inc (acosh_test): Also test with qNaN input.
19123 (sqrt_test): Remove duplicate test with qNaN input.
19124 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19125 (round_test, signbit_test, significand_test): Note missing +/-Inf
19126 as well as qNaN tests.
19127
67e971f1
TS
19128 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19129 qNaN_var. Fix a few strings, too.
19130 * math/libm-test.inc (nan_value): Rename to qnan_value.
19131 * math/gen-libm-test.pl (%beautify): Adjust to that.
19132 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19133 * math/test-misc.c (main): Likewise.
19134 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19135 to __qnan_bytes, and __qnan_union, respectively.
19136 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19137 Likewise.
19138 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19139 and lqnanval, respectively.
19140 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19141 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19142 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19143 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19144
64487e12
TS
19145 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19146 * math/test-misc.c (main) [__x86_64__]: Enable test for long
19147 doubles.
19148
e015e27b
TS
19149 * math/test-misc.c (main): Fix copy'n'pastos.
19150 * misc/tst-efgcvt.c (special): Likewise.
19151
a57da955
TS
19152 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19153 Remove declarations.
19154
1e380345
SP
191552013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19156
19157 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19158 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19159 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19160 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19161
ef26eece
AZ
191622013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19163
19164 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19165 macro to return vdso values correctly in IFUNC implementations.
19166 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19167 Optimization by using IFUNC.
19168
8cfdb7e0
SP
191692013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19170 Richard Henderson <rth@redhat.com>
19171 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19172
19173 * Makefile.in (bench): New target.
19174 * NEWS: Mention the benchmark framework.
19175 * Rules (bench): Likewise.
19176 (binaries-bench): Generate binaries for functions to
19177 benchmark.
19178 * benchtests/Makefile: New makefile for benchmark tests.
19179 * benchtests/bench-skeleton.c: New skeleton file for benchmark
19180 programs.
19181 * benchtests/exp-inputs: New input file for EXP function.
19182 * benchtests/pow-inputs: New input file for POW function.
19183 * scripts/bench.pl: New script to generate source files for
19184 benchmark programs.
19185
bcda9880
SP
191862013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19187
d22ca8cd
SP
19188 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19189 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19190 computations on mantissa. Use macros for rounding and
19191 division.
19192 (denorm): Likewise.
19193 (__dbl_mp): Likewise.
19194 (add_magnitudes): Likewise.
19195 (sub_magnitudes): Likewise.
19196 (__mul): Likewise.
19197 (__sqr): Likewise.
19198 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19199 powers of two in terms of TWOPOW macro.
19200 (mp_no): Make type of mantissa as MANTISSA_T.
19201 [!RADIXI]: Define RADIXI.
19202 [!TWO52]: Define TWO52.
19203 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19204
bcda9880
SP
19205 * manual/nptl.texi (cindex): Modify threads to pthreads.
19206
06d5adfb
JM
192072013-03-15 Joseph Myers <joseph@codesourcery.com>
19208
19209 * sysdeps/x86_64/preconfigure: Regenerated.
19210
41c7328e
JM
192112013-03-14 Joseph Myers <joseph@codesourcery.com>
19212
19213 [BZ #14155]
19214 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19215 0x1p28 and above.
19216 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19217 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19218 0x1p28 and above.
19219 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19220 * math/libm-test.inc (j0_test): Do not allow one spurious
19221 underflow exception.
19222 (y1_test): Likewise.
19223
e25cfa60
SP
192242013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19225
0409959c
SP
19226 * manual/Makefile (chapters): Add nptl.
19227 * manual/debug.texi (Debugging Support): Add link to Threads
19228 chapter.
19229 * manual/nptl.texi: New file.
19230
e25cfa60
SP
19231 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19232
58a1335e
PB
192332013-03-14 Petr Baudis <pasky@ucw.cz>
19234
19235 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19236 for non-NULL pointer before the memory validity test. Pointed
19237 out by Holger Brunck <holger.brunck@keymile.com>.
19238
9dc7c64f
AS
192392013-03-13 Andreas Schwab <schwab@suse.de>
19240
19241 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19242 instead of .os.
19243
54206aa6
JM
192442013-03-13 Joseph Myers <joseph@codesourcery.com>
19245
19246 * timezone/zic.c: Update from tzcode 2013b.
19247
e98cdb38
CD
192482013-03-12 Carlos O'Donell <carlos@redhat.com>
19249
19250 * manual/install.texi (Configuring and compiling):
19251 Mention i686 and i586.
19252 * INSTALL: Regenerate.
19253
9967e003
RM
192542013-03-12 Roland McGrath <roland@hack.frob.com>
19255
19256 * sysdeps/init_array/elf-init.c: New file.
19257 * csu/elf-init.c
19258 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19259 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19260
19261 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19262 __gmon_start__ as global, but as static with a .preinit_array pointer.
19263 * sysdeps/init_array/gmon-start.c: New file. Use that.
19264 * sysdeps/init_array/crti.S: New file, empty except for comments.
19265 * sysdeps/init_array/crtn.S: Likewise.
19266
e6b5a293 192672013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
19268
19269 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19270 definining bcopy.
80f844c9
OB
19271 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19272 Remove Prefer_SSE_for_memop.
19273 * sysdeps/x86_64/multiarch/init-arch.h: Remove
19274 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19275 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
19276 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19277 memset-x86-64.
80f844c9 19278 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 19279 Remove bzero, memset ifunc support.
80f844c9
OB
19280 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19281 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19282 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19283 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19284
fb6b0fcb
AS
192852013-03-11 Andreas Schwab <schwab@suse.de>
19286
19287 [BZ #15234]
19288 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19289 by SHLIB_COMPAT.
19290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19291 (GLIBC_2.16): Remove pthread_atfork.
19292
3e6bd4b1
PP
192932013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
19294
19295 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19296 (ptestcases.h): Likewise.
19297
222d7f00
RM
192982013-03-08 Roland McGrath <roland@hack.frob.com>
19299
19300 * Makeconfig ($(common-objpfx)config.status): Depend on
19301 sysdeps/*/preconfigure{,.in} too.
19302
1ba4f030
JM
193032013-03-08 Joseph Myers <joseph@codesourcery.com>
19304
a222d91a
JM
19305 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19306 (__free_hook): Use void * instead of __malloc_ptr_t.
19307 (__malloc_hook): Likewise.
19308 (__realloc_hook): Likewise.
19309 (__memalign_hook): Likewise.
19310 (__after_morecore_hook): Likewise.
19311 * malloc/arena.c (save_malloc_hook): Likewise.
19312 (save_free_hook): Likewise.
19313 * malloc/hooks.c (malloc_hook_ini): Likewise.
19314 (realloc_hook_ini): Likewise.
19315 (memalign_hook_ini): Likewise.
19316 * malloc/malloc.c (malloc_hook_ini): Likewise.
19317 (realloc_hook_ini): Likewise.
19318 (memalign_hook_ini): Likewise.
19319 (__free_hook): Likewise.
19320 (__malloc_hook): Likewise.
19321 (__realloc_hook): Likewise.
19322 (__memalign_hook): Likewise.
19323 (__libc_malloc): Likewise.
19324 (__libc_free): Likewise.
19325 (__libc_realloc): Likewise.
19326 (__libc_memalign): Likewise.
19327 (__libc_valloc): Likewise.
19328 (__libc_pvalloc): Likewise.
19329 (__libc_calloc): Likewise.
19330 (__posix_memalign): Likewise.
19331 * malloc/morecore.c (__sbrk): Likewise.
19332 (__default_morecore): Likewise.
19333
5cc45e10
JM
19334 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19335
dd54b864
JM
19336 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19337 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19338 __malloc_ptrdiff_t.
19339
1ba4f030
JM
19340 * malloc/malloc.h (__malloc_size_t): Remove macro.
19341 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19342 __malloc_size_t.
19343 (old_memalign_hook): Likewise.
19344 (old_realloc_hook): Likewise.
19345 (struct hdr): Likewise.
19346 (flood): Likewise.
19347 (mallochook): Likewise.
19348 (memalignhook): Likewise.
19349 (reallochook): Likewise.
19350 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19351 (tr_old_realloc_hook): Likewise.
19352 (tr_old_memalign_hook): Likewise.
19353 (tr_mallochook): Likewise.
19354 (tr_reallochook): Likewise.
19355 (tr_memalignhook): Likewise.
19356
edf66e57
AZ
193572013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19358
19359 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19360 default_ldbl_pack and using as default implementation.
19361 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19362 implementation.
19363 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19364 redundant definition.
19365 (ldbl_insert_mantissa): Likewise.
19366 (ldbl_canonicalize): Likewise.
19367 (ldbl_nearbyint): Likewise.
19368 (ldbl_pack): Rename to ldbl_pack_ppc.
19369 (ldbl_unpack): Rename to ldbl_unpack_ppc.
19370 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19371 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19372
6d9145d8
SP
193732013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19374
19375 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19376 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19377 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19378 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19379 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19380 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19381 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19382 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19383
4dd4e157
AJ
193842013-03-07 Andreas Jaeger <aj@suse.de>
19385
19386 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19387 bits/mman-linux.h.
19388
adbb8027
SP
193892013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19390
ce544b5b
SP
19391 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19392 Include mpa.h and declare __MPEXP.
19393 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19394 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19395 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19396 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19397 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19398 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19399 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19400
4cc149fd
SP
19401 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19402 (__slowpow): Use long double EXPL and LOGL functions to
19403 compute POW.
19404 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19405 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19406 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19407 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19408 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19409 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19410
e6ebd4a7
SP
19411 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19412 intermediate variable to calculate exponent.
19413 (__sqr): Likewise.
19414 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19415 Likewise.
19416 (__sqr): Likewise.
19417
82a9811d
SP
19418 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19419 [!NO__SQR]: Define __sqr.
19420 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19421 and NO__SQR. Remove all code except __mul and __sqr. Include
19422 sysdeps/ieee754/dbl-64/mpa.c.
19423 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19424
adbb8027
SP
19425 [BZ #12723]
19426 * posix/Makefile (tests): Add tst-pathconf.
19427 * posix/tst-pathconf.c: New test case.
19428 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19429 _PC_PIPE_BUF.
19430 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19431
39120df9
PF
194322013-03-06 Patsy Franklin <pfrankli@redhat.com>
19433
19434 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19435
67525cb8
AJ
194362013-03-06 Andreas Jaeger <aj@suse.de>
19437
664a9ce4
AJ
19438 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19439 definition via __MAP_ANONYMOUS.
19440
8e39047d
AJ
19441 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19442 it's not part of Linux headers.
19443
67525cb8
AJ
19444 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19445 (MAP_HUGE_MASK): Define.
19446
19447 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19448 Define.
19449 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19450 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19451 Define.
19452 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19453 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19454 Define.
19455 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19456 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
19457 Define.
19458 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19459
19460 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
19461 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
19462 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
19463 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
19464 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
19465 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
19466
19467 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19468 Handle f2fs.
19469
19470 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19471 Handle f2fs and efivarfs.
19472
19473 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
19474 f2fs.
19475
19476 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
19477 (EFIVARFS_MAGIC): Add.
19478 (F2FS_LINK_MAX): Add.
19479
e1b42695
PP
194802013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19481
19482 * stdio-common/vfprintf.c: Replace __builtin_expect with
19483 __glibc_unlikely.
19484
2d67d91a
JM
194852013-03-06 Joseph Myers <joseph@codesourcery.com>
19486
19487 [BZ #13550]
19488 * sysdeps/generic/bp-sym.h: Remove file.
19489 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
19490 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
19491 <bp-sym.h> and <bp-asm.h>.
19492 (__longjmp): Don't use BP_SYM.
19493 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
19494 and <bp-asm.h>.
19495 (memcpy): Don't use BP_SYM.
19496 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
19497 <bp-sym.h> and <bp-asm.h>.
19498 (memcpy): Don't use BP_SYM.
19499 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
19500 <bp-asm.h>.
19501 (memcpy): Don't use BP_SYM.
19502 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
19503 <bp-asm.h>.
19504 (memset): Don't use BP_SYM.
19505 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19506 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19507 (__bzero): Don't use BP_SYM.
19508 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19509 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19510 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
19511 <bp-sym.h> and <bp-asm.h>.
19512 (memcmp): Don't use BP_SYM. Remove comment about bounded
19513 pointers.
19514 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
19515 <bp-sym.h> and <bp-asm.h>.
19516 (memcpy): Don't use BP_SYM.
19517 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
19518 <bp-sym.h> and <bp-asm.h>.
19519 (memset): Don't use BP_SYM.
19520 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19521 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19522 (__bzero): Don't use BP_SYM.
19523 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19524 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19525 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
19526 <bp-sym.h> and <bp-asm.h>.
19527 (strncmp): Don't use BP_SYM. Remove comment about bounded
19528 pointers.
19529 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
19530 <bp-sym.h> and <bp-asm.h>.
19531 (memcpy): Don't use BP_SYM.
19532 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
19533 <bp-sym.h> and <bp-asm.h>.
19534 (memset): Don't use BP_SYM.
19535 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19536 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19537 (__bzero): Don't use BP_SYM.
19538 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19539 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19540 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
19541 <bp-sym.h> and <bp-asm.h>.
19542 (__memchr): Don't use BP_SYM.
19543 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
19544 <bp-sym.h> and <bp-asm.h>.
19545 (memcmp): Don't use BP_SYM. Remove comment about bounded
19546 pointers.
19547 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
19548 <bp-sym.h> and <bp-asm.h>.
19549 (memcpy): Don't use BP_SYM.
19550 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
19551 <bp-sym.h> and <bp-asm.h>.
19552 (__mempcpy): Don't use BP_SYM.
19553 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
19554 <bp-sym.h> and <bp-asm.h>.
19555 (__memrchr): Don't use BP_SYM.
19556 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
19557 <bp-sym.h> and <bp-asm.h>.
19558 (memset): Don't use BP_SYM.
19559 (__bzero): Likewise.
19560 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
19561 <bp-sym.h> and <bp-asm.h>.
19562 (__rawmemchr): Don't use BP_SYM.
19563 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
19564 <bp-sym.h> and <bp-asm.h>.
19565 (__STRCMP): Don't use BP_SYM.
19566 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
19567 <bp-sym.h> and <bp-asm.h>.
19568 (strchr): Don't use BP_SYM.
19569 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
19570 <bp-sym.h> and <bp-asm.h>.
19571 (__strchrnul): Don't use BP_SYM.
19572 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
19573 <bp-sym.h> and <bp-asm.h>.
19574 (strlen): Don't use BP_SYM.
19575 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
19576 <bp-sym.h> and <bp-asm.h>.
19577 (strncmp): Don't use BP_SYM. Remove comment about bounded
19578 pointers.
19579 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
19580 <bp-sym.h> and <bp-asm.h>.
19581 (__strnlen): Don't use BP_SYM.
19582 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
19583 <bp-sym.h> and <bp-asm.h>.
19584 (__GI__setjmp): Don't use BP_SYM.
19585 (_setjmp): Likewise.
19586 (__sigsetjmp): Likewise.
19587 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
19588 (L(start_addresses)): Don't use BP_SYM.
19589 (_start): Likewise.
19590 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
19591 <bp-asm.h>.
19592 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
19593 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
19594 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19595 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19596 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
19597 <bp-asm.h>.
19598 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
19599 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
19600 about bounded pointers.
19601 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19602 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19603 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
19604 <bp-asm.h>.
19605 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19606 about bounded pointers. Remove GKM FIXME comments.
19607 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19608 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
19609 <bp-asm.h>.
19610 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
19611 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
19612 Remove GKM FIXME comments.
19613 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19614 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19615 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
19616 <bp-asm.h>.
19617 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19618 about bounded pointers. Remove GKM FIXME comment.
19619 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
19620 and <bp-asm.h>.
19621 (strncmp): Don't use BP_SYM. Remove comment about bounded
19622 pointers.
19623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
19624 <bp-sym.h> and <bp-asm.h>.
19625 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
19627 <bp-sym.h> and <bp-asm.h>.
19628 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19629 comment.
19630
cdcf361f
PP
196312013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19632
19633 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
19634 call free(NULL).
19635
3c4a2b15
DM
196362013-03-05 David S. Miller <davem@davemloft.net>
19637
19638 * po/es.po: Update from translation team.
19639
cdcf361f 196402013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
19641
19642 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
19643 <bits/mman-linux.h>.
19644 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19645 is fine.
19646 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
19647 <bits/mman-linux.h> to end of file.
19648 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19649 is fine.
19650 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
19651 <bits/mman-linux.h> to end of file.
19652 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19653 is fine.
19654 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
19655 <bits/mman-linux.h> to end of file.
19656
19657 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
19658 (MCL_CURRENT, MCL_FUTURE): Define here.
19659
5f67c04f
AK
196602013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19661
8a4473cc 19662 [BZ #15232]
5f67c04f
AK
19663 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
19664 attribute_hidden.
19665 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19666
c3e94a95
AK
196672013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19668
19669 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
19670 fourth parameter needed for rt_sigprocmask syscall.
19671 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19672 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19673 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19674 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19675 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19676 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
19677
cfb6382a
JM
196782013-03-04 Joseph Myers <joseph@codesourcery.com>
19679
19680 [BZ #13550]
19681 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
19682 comment about bounded pointers.
19683 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
19684 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
19685
539d8e01
AJ
196862013-03-04 Andreas Jaeger <aj@suse.de>
19687
19688 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
19689 common definitions.
19690
19691 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
19692 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
19693 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
19694 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19695 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
19696 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19697
2e167a70 196982013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
19699
19700 [BZ #15055]
19701 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19702 __ieee754_sqrl instead of __sqrl.
19703
68508633
JM
197042013-03-01 Joseph Myers <joseph@codesourcery.com>
19705
19706 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
19707 * sysdeps/powerpc/fpu_control.h: ... here.
19708 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
19709 * sysdeps/powerpc/bits/fenvinline.h: ... here.
19710 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
19711 * sysdeps/powerpc/bits/mathinline.h: ... here.
19712
7775448e
RM
197132013-03-01 Roland McGrath <roland@hack.frob.com>
19714
19715 * elf/dl-hwcaps.c (_dl_important_hwcaps):
19716 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
19717 to just [NEED_DL_SYSINFO_DSO].
19718 * elf/dl-support.c: Likewise.
19719 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19720 * elf/rtld.c (dl_main): Likewise.
19721 * elf/setup-vdso.h (setup_vdso): Likewise.
19722 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
19723 * sysdeps/unix/sysv/linux/dl-sysdep.c
19724 (_dl_discover_osversion): Likewise.
19725
4e9b5995
CD
197262013-03-01 Carlos O'Donell <carlos@redhat.com>
19727
19728 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
19729 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19730
e23872c8
SP
197312013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
19732
e5c74c63
SP
19733 * NEWS: Mention libm performance improvements and non-x86 PI
19734 futex support.
19735
e23872c8
SP
19736 * csu/libc-start.c (__pthread_initialize_minimal): Change
19737 function arguments.
19738 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19739
b5510883
JM
197402013-02-28 Joseph Myers <joseph@codesourcery.com>
19741
19742 [BZ #13550]
19743 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
19744 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
19745 <bp-sym.h> and <bp-asm.h>.
19746 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19747 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
19748 and <bp-asm.h>.
19749 (memcpy): Don't use BP_SYM.
19750 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
19751 <bp-asm.h>.
19752 (__mpn_add_n): Don't use BP_SYM.
19753 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
19754 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
19755 and <bp-asm.h>.
19756 (__mpn_addmul_1): Don't use BP_SYM.
19757 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19758 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
19759 <bp-sym.h>.
19760 (_setjmp): Don't use BP_SYM.
19761 (__novmx_setjmp): Likewise.
19762 (__GI__setjmp): Likewise.
19763 (__vmx_setjmp): Likewise.
19764 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
19765 <bp-sym.h>.
19766 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
19767 (__bzero): Don't use BP_SYM.
19768 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19769 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19770 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
19771 <bp-sym.h> and <bp-asm.h>.
19772 (memcpy): Don't use BP_SYM.
19773 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
19774 <bp-sym.h> and <bp-asm.h>.
19775 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19776 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
19777 <bp-sym.h> and <bp-asm.h>.
19778 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19779 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
19780 <bp-asm.h>.
19781 (__mpn_lshift): Don't use BP_SYM.
19782 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19783 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
19784 <bp-asm.h>.
19785 (memset): Don't use BP_SYM.
19786 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19787 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19788 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
19789 <bp-asm.h>.
19790 (__mpn_mul_1): Don't use BP_SYM.
19791 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19792 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
19793 <bp-sym.h> and <bp-asm.h>.
19794 (memcmp): Don't use BP_SYM.
19795 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
19796 <bp-sym.h> and <bp-asm.h>.
19797 (memcpy): Don't use BP_SYM.
19798 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
19799 <bp-sym.h> and <bp-asm.h>.
19800 (memset): Don't use BP_SYM.
19801 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
19802 <bp-sym.h> and <bp-asm.h>.
19803 (strncmp): Don't use BP_SYM.
19804 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
19805 <bp-sym.h> and <bp-asm.h>.
19806 (memcpy): Don't use BP_SYM.
19807 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
19808 <bp-sym.h> and <bp-asm.h>.
19809 (memset): Don't use BP_SYM.
19810 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
19811 <bp-sym.h> and <bp-asm.h>.
19812 (__memchr): Don't use BP_SYM.
19813 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
19814 <bp-sym.h> and <bp-asm.h>.
19815 (memcmp): Don't use BP_SYM.
19816 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
19817 <bp-sym.h> and <bp-asm.h>.
19818 (memcpy): Don't use BP_SYM.
19819 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
19820 <bp-sym.h> and <bp-asm.h>.
19821 (__mempcpy): Don't use BP_SYM.
19822 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
19823 <bp-sym.h> and <bp-asm.h>.
19824 (__memrchr): Don't use BP_SYM.
19825 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
19826 <bp-sym.h> and <bp-asm.h>.
19827 (memset): Don't use BP_SYM.
19828 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
19829 <bp-sym.h> and <bp-asm.h>.
19830 (__rawmemchr): Don't use BP_SYM.
19831 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
19832 <bp-sym.h> and <bp-asm.h>.
19833 (__STRCMP): Don't use BP_SYM.
19834 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
19835 <bp-sym.h> and <bp-asm.h>.
19836 (strchr): Don't use BP_SYM.
19837 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
19838 <bp-sym.h> and <bp-asm.h>.
19839 (__strchrnul): Don't use BP_SYM.
19840 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
19841 <bp-sym.h> and <bp-asm.h>.
19842 (strlen): Don't use BP_SYM.
19843 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
19844 <bp-sym.h> and <bp-asm.h>.
19845 (strncmp): Don't use BP_SYM.
19846 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
19847 <bp-sym.h> and <bp-asm.h>.
19848 (__strnlen): Don't use BP_SYM.
19849 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
19850 <bp-asm.h>.
19851 (__mpn_rshift): Don't use BP_SYM.
19852 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19853 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
19854 <bp-sym.h> and <bp-asm.h>.
19855 (__sigsetjmp): Don't use BP_SYM.
19856 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
19857 (L(start_addresses)): Don't use BP_SYM.
19858 (_start): Likewise.
19859 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
19860 <bp-asm.h>.
19861 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
19862 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19863 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19864 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
19865 <bp-asm.h>.
19866 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
19867 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19868 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19869 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
19870 <bp-asm.h>.
19871 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19872 comments.
19873 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19874 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
19875 <bp-asm.h>.
19876 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
19877 FIXME comments.
19878 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19879 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19880 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
19881 <bp-asm.h>.
19882 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19883 comment.
19884 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
19885 and <bp-asm.h>.
19886 (strncmp): Don't use BP_SYM,
19887 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
19888 <bp-asm.h>.
19889 (__mpn_sub_n): Don't use BP_SYM.
19890 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19891 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
19892 and <bp-asm.h>.
19893 (__mpn_submul_1): Don't use BP_SYM.
19894 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
19896 <bp-sym.h> and <bp-asm.h>.
19897 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
19899 <bp-sym.h> and <bp-asm.h>.
19900 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19901 comment.
19902
8d19fe64
SP
199032013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19904
19905 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
19906 Use ZK to minimize writes to Z.
19907 (sub_magnitudes): Simplify code a bit.
19908 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
19909 Use ZK to minimize writes to Z.
19910 (sub_magnitudes): Simplify code a bit.
19911
85bd816a
RM
199122013-02-27 Roland McGrath <roland@hack.frob.com>
19913
19914 * csu/gmon-start.c: Add special exception to license text.
19915
b5977bf2
RH
199162013-02-27 Richard Henderson <rth@redhat.com>
19917
19918 * scripts/config.guess: Update from config.git.
19919 * scripts/config.sub: Likewise.
19920
11d6e2f2
SP
199212013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19922
09c14ed2
SP
19923 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
19924
a688864e
SP
19925 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
19926
6295157a
SP
19927 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
19928
b8de2202
SP
19929 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
19930
11d6e2f2
SP
19931 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
19932
7e80ddb8
RM
199332013-02-26 Roland McGrath <roland@hack.frob.com>
19934
19935 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
19936 [$(build-shared = yes].
7e80ddb8 19937
7da6d9ed
SP
199382013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19939
45f05884
SP
19940 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
19941 (__mul): Reduce iterations for calculating mantissa.
19942
2236d359
SP
19943 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
19944 MPTWO.
19945 (__mpranred): Likewise.
19946
7da6d9ed
SP
19947 [BZ #15160]
19948 * malloc/memusagestat.c (main): Draw graphs for heap and stack
19949 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
19950
b7688c42
PE
199512013-02-26 Paul Eggert <eggert@cs.ucla.edu>
19952
19953 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
19954 Define __attribute__.
19955
53a5c423
SP
199562013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19957
19958 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
19959 unused.
19960 * posix/regex_internal.h (__attribute): Remove.
19961 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
19962 (re_string_context_at): Likewise.
19963 (bitset_not): Use __attribute__ and mark function as possibly
19964 unused.
19965 (bitset_merge): Likewise.
19966 (bitset_mask): Likewise.
19967 (re_string_char_size_at): Likewise.
19968 (re_string_wchar_at): Likewise.
19969 (re_string_elem_size_at): Likewise.
19970
60f5a8b5
SP
199712013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19972
2a983a2e
SP
19973 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
19974 code.
19975 (cc32): Likewise.
19976
e69804d1
SP
19977 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
19978 (__acr): Likewise.
19979 (__cpy): Likewise.
19980 (norm): Likewise.
19981 (denorm): Likewise.
19982 (__dbl_mp): Likewise.
19983 (add_magnitudes): Likewise.
19984 (sub_magnitudes): Likewise.
19985 (__mul): Likewise.
19986 (__inv): Likewise.
19987
2f22a1e8
SP
19988 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
19989 style.
19990
8930ddc7
SP
19991 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
19992 style.
19993
dc60cb11
SP
19994 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
19995 code.
19996
60f5a8b5
SP
19997 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
19998 up changes with default code.
19999 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20000 Likewise.
20001
b4d1fd33
AM
200022013-02-24 Allan McRae <allan@archlinux.org>
20003
faf6f8bc
AM
20004 * manual/socket.texi (The Internet Namespace): Order menu items
20005 to match that in the file.
20006
b4d1fd33
AM
20007 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20008 node listing of the info page menu.
20009
2366713d
JM
200102013-02-21 Joseph Myers <joseph@codesourcery.com>
20011
20012 [BZ #13550]
20013 * sysdeps/i386/bp-asm.h: Remove file.
20014 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20015 (PARMS): Do not use macros from bp-asm.h.
20016 (S1): Likewise.
20017 (S2): Likewise.
20018 (SIZE): Likewise.
20019 (__mpn_add_n): Do not use BP_SYM
20020 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20021 "bp-asm.h".
20022 (PARMS): Do not use macros from bp-asm.h.
20023 (S1): Likewise.
20024 (SIZE): Likewise.
20025 (__mpn_addmul_1): Do not use BP_SYM
20026 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20027 "bp-asm.h".
20028 (PARMS): Do not use macros from bp-asm.h.
20029 (SIGMSK): Likewise.
20030 (_setjmp): Likewise. Do not use BP_SYM.
20031 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20032 "bp-asm.h".
20033 (PARMS): Do not use macros from bp-asm.h.
20034 (SIGMSK): Likewise.
20035 (setjmp): Likewise. Do not use BP_SYM.
20036 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20037 "bp-asm.h".
20038 (PARMS): Do not use macros from bp-asm.h.
20039 (__frexp): Do not use BP_SYM.
20040 (frexp): Likewise.
20041 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20042 "bp-asm.h".
20043 (PARMS): Do not use macros from bp-asm.h.
20044 (__frexpf): Do not use BP_SYM.
20045 (frexpf): Likewise.
20046 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20047 "bp-asm.h".
20048 (PARMS): Do not use macros from bp-asm.h.
20049 (__frexpl): Do not use BP_SYM.
20050 (frexpl): Likewise.
20051 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20052 "bp-asm.h".
20053 (PARMS): Do not use macros from bp-asm.h.
20054 (__remquo): Do not use BP_SYM.
20055 (remquo): Likewise.
20056 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20057 "bp-asm.h".
20058 (PARMS): Do not use macros from bp-asm.h.
20059 (__remquof): Do not use BP_SYM.
20060 (remquof): Likewise.
20061 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20062 "bp-asm.h".
20063 (PARMS): Do not use macros from bp-asm.h.
20064 (__remquol): Do not use BP_SYM.
20065 (remquol): Likewise.
20066 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20067 "bp-asm.h".
20068 (PARMS): Do not use macros from bp-asm.h.
20069 (DEST): Likewise.
20070 (SRC): Likewise.
20071 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
20072 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20073 "bp-asm.h".
20074 (PARMS): Do not use macros from bp-asm.h.
20075 (strlen): Do not use BP_SYM.
20076 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20077 "bp-asm.h".
20078 (PARMS): Do not use macros from bp-asm.h.
20079 (S1): Likewise.
20080 (S2): Likewise.
20081 (SIZE): Likewise.
20082 (__mpn_add_n): Do not use BP_SYM.
20083 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20084 "bp-asm.h".
20085 (PARMS): Do not use macros from bp-asm.h.
20086 (S1): Likewise.
20087 (SIZE): Likewise.
20088 (__mpn_addmul_1): Do not use BP_SYM.
20089 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20090 weak_alias.
20091 (bzero): Likewise.
20092 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20093 "bp-asm.h".
20094 (PARMS): Do not use macros from bp-asm.h.
20095 (S): Likewise.
20096 (SIZE): Likewise.
20097 (__mpn_lshift): Do not use BP_SYM.
20098 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20099 "bp-asm.h".
20100 (PARMS): Do not use macros from bp-asm.h.
20101 (DEST): Likewise.
20102 (SRC): Likewise.
20103 (LEN): Likewise.
20104 (memcpy): Likewise. Do not use BP_SYM.
20105 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20106 libc_hidden_def and weak_alias.
20107 (mempcpy): Do not use BP_SYM in weak_alias.
20108 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20109 "bp-asm.h".
20110 (PARMS): Do not use macros from bp-asm.h.
20111 (DEST): Likewise.
20112 (LEN): Likewise.
20113 [!BZERO_P] (CHR): Likewise.
20114 (memset): Likewise. Do not use BP_SYM.
20115 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20116 "bp-asm.h".
20117 (PARMS): Do not use macros from bp-asm.h.
20118 (S1): Likewise.
20119 (SIZE): Likewise.
20120 (__mpn_mul_1): Do not use BP_SYM.
20121 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20122 "bp-asm.h".
20123 (PARMS): Do not use macros from bp-asm.h.
20124 (S): Likewise.
20125 (SIZE): Likewise.
20126 (__mpn_rshift): Do not use BP_SYM.
20127 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20128 "bp-asm.h".
20129 (PARMS): Do not use macros from bp-asm.h.
20130 (STR): Likewise.
20131 (CHR): Likewise.
20132 (strchr): Likewise. Do not use BP_SYM.
20133 (index): Do not use BP_SYM in weak_alias.
20134 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20135 "bp-asm.h".
20136 (PARMS): Do not use macros from bp-asm.h.
20137 (DEST): Likewise.
20138 (SRC): Likewise.
20139 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
20140 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20141 "bp-asm.h".
20142 (PARMS): Do not use macros from bp-asm.h.
20143 (strlen): Do not use BP_SYM.
20144 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20145 "bp-asm.h".
20146 (PARMS): Do not use macros from bp-asm.h.
20147 (S1): Likewise.
20148 (S2): Likewise.
20149 (SIZE): Likewise.
20150 (__mpn_sub_n): Do not use BP_SYM.
20151 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20152 "bp-asm.h".
20153 (PARMS): Do not use macros from bp-asm.h.
20154 (S1): Likewise.
20155 (SIZE): Likewise.
20156 (__mpn_submul_1): Do not use BP_SYM.
20157 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20158 "bp-asm.h".
20159 (PARMS): Do not use macros from bp-asm.h.
20160 (S1): Likewise.
20161 (S2): Likewise.
20162 (SIZE): Likewise.
20163 (__mpn_add_n): Do not use BP_SYM.
20164 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20165 weak_alias.
20166 (bzero): Likewise.
20167 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20168 "bp-asm.h".
20169 (PARMS): Do not use macros from bp-asm.h.
20170 (BLK2): Likewise.
20171 (LEN): Likewise.
20172 (memcmp): Do not use BP_SYM.
20173 (bcmp): Do not use BP_SYM in weak_alias.
20174 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20175 "bp-asm.h".
20176 (PARMS): Do not use macros from bp-asm.h.
20177 (DEST): Likewise.
20178 (SRC): Likewise.
20179 (LEN): Likewise.
20180 (memcpy): Likewise. Do not use BP_SYM.
20181 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20182 "bp-asm.h".
20183 (PARMS): Do not use macros from bp-asm.h.
20184 (DEST): Likewise.
20185 (SRC): Likewise.
20186 (LEN): Likewise.
20187 (memmove): Likewise. Do not use BP_SYM.
20188 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20189 "bp-asm.h".
20190 (PARMS): Do not use macros from bp-asm.h.
20191 (DEST): Likewise.
20192 (SRC): Likewise.
20193 (LEN): Likewise.
20194 (__mempcpy): Likewise. Do not use BP_SYM.
20195 (mempcpy): Do not use BP_SYM in weak_alias.
20196 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20197 "bp-asm.h".
20198 (PARMS): Do not use macros from bp-asm.h.
20199 (DEST): Likewise.
20200 (LEN): Likewise.
20201 [!BZERO_P] (CHR): Likewise.
20202 (memset): Likewise. Do not use BP_SYM.
20203 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20204 "bp-asm.h".
20205 (PARMS): Do not use macros from bp-asm.h.
20206 (STR2): Likewise.
20207 (strcmp): Do not use BP_SYM.
20208 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20209 "bp-asm.h".
20210 (PARMS): Do not use macros from bp-asm.h.
20211 (STR): Likewise.
20212 (DELIM): Likewise.
20213 [USE_AS_STRTOK_R] (SAVE): Likewise.
20214 (FUNCTION): Likewise. Do not use BP_SYM.
20215 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20216 aliases.
20217 (strtok_r): Likewise.
20218 (__GI___strtok_r): Likewise.
20219 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20220 (PARMS): Do not use macros from bp-asm.h.
20221 (S): Likewise.
20222 (SIZE): Likewise.
20223 (__mpn_lshift): Do not use BP_SYM.
20224 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20225 (PARMS): Do not use macros from bp-asm.h.
20226 (STR): Likewise.
20227 (CHR): Likewise.
20228 (__memchr): Do not use BP_SYM.
20229 (memchr): Do not use BP_SYM in weak_alias.
20230 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20231 (PARMS): Do not use macros from bp-asm.h.
20232 (BLK2): Likewise.
20233 (LEN): Likewise.
20234 (memcmp): Do not use BP_SYM.
20235 (bcmp): Do not use BP_SYM in weak_alias.
20236 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20237 (PARMS): Do not use macros from bp-asm.h.
20238 (S1): Likewise.
20239 (SIZE): Likewise.
20240 (__mpn_mul_1): Do not use BP_SYM.
20241 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20242 "bp-asm.h".
20243 (PARMS): Do not use macros from bp-asm.h.
20244 (STR): Likewise.
20245 (CHR): Likewise.
20246 (__rawmemchr): Do not use BP_SYM.
20247 (rawmemchr): Do not use BP_SYM in weak_alias.
20248 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20249 (PARMS): Do not use macros from bp-asm.h.
20250 (S): Likewise.
20251 (SIZE): Likewise.
20252 (__mpn_rshift): Do not use BP_SYM.
20253 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20254 (PARMS): Do not use macros from bp-asm.h.
20255 (SIGMSK): Likewise.
20256 (__sigsetjmp): Likewise. Do not use BP_SYM.
20257 * sysdeps/i386/start.S: Do not include "bp-sym.h".
20258 (_start): Do not use BP_SYM.
20259 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20260 (PARMS): Do not use macros from bp-asm.h.
20261 (DEST): Likewise.
20262 (SRC): Likewise.
20263 (__stpcpy): Likewise. Do not use BP_SYM.
20264 (stpcpy): Do not use BP_SYM in weak_alias.
20265 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20266 "bp-asm.h".
20267 (PARMS): Do not use macros from bp-asm.h.
20268 (DEST): Likewise.
20269 (SRC): Likewise.
20270 (LEN): Likewise.
20271 (__stpncpy): Likewise. Do not use BP_SYM.
20272 (stpncpy): Do not use BP_SYM in weak_alias.
20273 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20274 (PARMS): Do not use macros from bp-asm.h.
20275 (STR): Likewise.
20276 (CHR): Likewise.
20277 (strchr): Likewise. Do not use BP_SYM.
20278 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20279 "bp-asm.h".
20280 (PARMS): Do not use macros from bp-asm.h.
20281 (STR): Likewise.
20282 (CHR): Likewise.
20283 (__strchrnul): Likewise. Do not use BP_SYM.
20284 (strchrnul): Do not use BP_SYM in weak_alias.
20285 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20286 "bp-asm.h".
20287 (PARMS): Do not use macros from bp-asm.h.
20288 (STOP): Likewise.
20289 (strcspn): Do not use BP_SYM.
20290 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20291 "bp-asm.h".
20292 (PARMS): Do not use macros from bp-asm.h.
20293 (STR): Likewise.
20294 (STOP): Likewise.
20295 (strpbrk): Likewise. Do not use BP_SYM.
20296 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20297 "bp-asm.h".
20298 (PARMS): Do not use macros from bp-asm.h.
20299 (STR): Likewise.
20300 (CHR): Likewise.
20301 (strrchr): Likewise. Do not use BP_SYM.
20302 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20303 (PARMS): Do not use macros from bp-asm.h.
20304 (SKIP): Likewise.
20305 (strspn): Do not use BP_SYM.
20306 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20307 (PARMS): Do not use macros from bp-asm.h.
20308 (STR): Likewise.
20309 (DELIM): Likewise.
20310 (SAVE): Likewise.
20311 (FUNCTION): Likewise. Do not use BP_SYM.
20312 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20313 aliases.
20314 (strtok_r): Likewise.
20315 (__GI___strtok_r): Likewise.
20316 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20317 (PARMS): Do not use macros from bp-asm.h.
20318 (S1): Likewise.
20319 (S2): Likewise.
20320 (SIZE): Likewise.
20321 (__mpn_sub_n): Do not use BP_SYM.
20322 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20323 "bp-asm.h".
20324 (PARMS): Do not use macros from bp-asm.h.
20325 (S1): Likewise.
20326 (SIZE): Likewise.
20327 (__mpn_submul_1): Do not use BP_SYM.
20328 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20329 <bp-sym.h>.
20330 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20331 and <bp-asm.h>.
20332 (PARMS): Do not use macros from bp-asm.h.
20333 (FLAGS): Likewise.
20334 (PTID): Likewise.
20335 (TLS): Likewise.
20336 (CTID): Likewise.
20337 (__clone): Do not use BP_SYM.
20338 (clone): Do not use BP_SYM in weak_alias.
20339 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20340 and <bp-asm.h>.
20341 (PARMS): Do not use macros from bp-asm.h.
20342 (LEN): Likewise.
20343 (__mmap64): Do not use BP_SYM.
20344 (mmap64): Do not use BP_SYM in weak_alias.
20345 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20346 <bp-sym.h> and <bp-asm.h>.
20347 (PARMS): Do not use macros from bp-asm.h.
20348 (__posix_fadvise64_l64): Do not use BP_SYM.
20349 * sysdeps/unix/sysv/linux/i386/semtimedop.S
20350 (PARMS): Do not use macros from bp-asm.h.
20351 (NSOPS): Likewise.
20352 (semtimedop): Do not use BP_SYM.
20353 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20354 and <bp-asm.h>.
20355
582a3cff
AM
203562013-02-21 Allan McRae <allan@archlinux.org>
20357
20358 * manual/message.texi (Charset conversion in gettext):
20359 Move @end statement to beginning of line.
20360
bab8a695
SP
203612013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20362
80945231
SP
20363 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20364 static.
20365 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20366 Likewise.
20367
bab8a695
SP
20368 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20369 (denorm): Likewise.
20370 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20371 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20372
e21d7aa7
AK
203732013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20374
20375 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20376 tail-call to the resolved function if pltexit isn't needed.
20377
4c7a4263
SP
203782013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20379
20380 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20381 or Y being zero as being unlikely.
20382 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20383 Likewise.
20384
41f49342
CD
203852013-02-20 Carlos O'Donell <carlos@redhat.com>
20386
20387 * manual/nss.texi (System Databases and Name Service Switch):
20388 Remove frobnicate @pxref.
20389
50022a93
TS
203902013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20391
20392 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20393 __attribute__ ((unused)) to __attribute__ ((__unused__)).
20394
08cbd996
PM
203952013-02-20 Petr Machata <pmachata@redhat.com>
20396
20397 * elf/elf.h (R_ARM_TARGET1): New macro.
20398 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20399 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20400 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20401 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20402 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20403 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20404 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20405 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20406 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20407 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20408 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20409 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20410 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20411 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20412 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20413 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20414 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20415 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20416 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20417 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20418 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20419 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20420 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20421 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20422 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20423 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20424 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20425 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20426 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20427 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20428 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20429 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20430 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20431 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20432 (R_ARM_THM_GOT_BREL12): Likewise.
20433 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20434 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20435 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20436 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20437 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20438 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20439 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20440 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20441 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20442
c7b275d6
TS
204432013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20444
20445 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20446 __attribute_used__ to __attribute__ ((unused)).
20447
20cd7fb3
SP
204482013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20449
20450 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
20451 powerpc mpa.c.
20452 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
20453 comment formatting.
20454 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
20455
92945b52
JM
204562013-02-19 Joseph Myers <joseph@codesourcery.com>
20457
20458 [BZ #13550]
20459 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
20460 Remove macro.
20461 (ENTER): Remove both macro definitions.
20462 (LEAVE): Likewise.
20463 (CHECK_BOUNDS_LOW): Likewise.
20464 (CHECK_BOUNDS_HIGH): Likewise.
20465 (CHECK_BOUNDS_BOTH): Likewise.
20466 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
20467 (RETURN_BOUNDED_POINTER): Likewise.
20468 (RETURN_NULL_BOUNDED_POINTER): Likewise.
20469 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
20470 (POP_ERRNO_LOCATION_RETURN): Likewise.
20471 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
20472 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20473 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
20474 macros.
20475 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20476 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
20477 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
20478 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
20479 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
20480 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
20481 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
20482 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
20483 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
20484 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
20485 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
20486 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
20487 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20488 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
20489 removed macros.
20490 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20491 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
20492 macros.
20493 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20494 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
20495 * sysdeps/i386/i586/memset.S (memset): Likewise.
20496 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
20497 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20498 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
20499 macros.
20500 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20501 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
20502 Change uses of L(2) to L(out).
20503 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
20504 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
20505 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
20506 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20507 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
20508 removed macros.
20509 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20510 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
20511 macros.
20512 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20513 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
20514 (RETURN): Do not use macro LEAVE.
20515 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
20516 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
20517 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
20518 * sysdeps/i386/i686/memset.S (memset): Likewise.
20519 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
20520 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
20521 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20522 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
20523 Likewise.
20524 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20525 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
20526 L(1_2) and L(1_3) into L(1).
20527 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20528 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
20529 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20530 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
20531 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20532 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
20533 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
20534 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20535 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
20536 macros.
20537 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
20538 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20539 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
20540 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
20541 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
20542 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20543 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
20544 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
20545 * sysdeps/i386/strcspn.S (strcspn): Likewise.
20546 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
20547 * sysdeps/i386/strrchr.S (strrchr): Likewise.
20548 * sysdeps/i386/strspn.S (strspn): Likewise.
20549 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
20550 conditional code.
20551 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20552 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
20553 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20554 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
20555 L(1_3) into L(1_1).
20556 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
20557 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20558 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
20559 macros.
20560 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20561
2389741a
JJ
205622013-02-19 Jakub Jelinek <jakub@redhat.com>
20563
20564 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
20565 macro.
20566
2016b3cd
SP
205672013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20568
e4f22324
SP
20569 * math/atest-exp.c (exp_mpn): Remove ROUND.
20570 * math/atest-exp2.c (exp_mpn): Likewise.
20571 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
20572
2016b3cd
SP
20573 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
20574 * stdlib/tst-tls-atexit-lib.c: Likewise.
20575 * stdlib/tst-tls-atexit.c: Likewise.
20576
4be9b544
MF
205772013-02-18 Mike Frysinger <vapier@gentoo.org>
20578
20579 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
20580 and __attribute_alloc_size__.
20581
2f62b9ee
MF
205822013-02-18 Mike Frysinger <vapier@gentoo.org>
20583
20584 * include/programs/xmalloc.h: Change __attribute_alloc_size to
20585 __attribute_alloc_size__.
20586 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
20587 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
20588
6ff444c4
MF
205892013-02-18 Mike Frysinger <vapier@gentoo.org>
20590
20591 * include/programs/xmalloc.h: New file.
20592 * catgets/gencat.c: Include it.
20593 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
20594 * elf/pldd.c: Likewise.
20595 * iconv/iconv_charmap.c: Likewise.
20596 * iconv/iconvconfig.c: Likewise.
20597 * iconv/strtab.c: Likewise.
20598 * locale/programs/locale.c: Likewise.
20599 * locale/programs/localedef.h: Likewise.
20600 * locale/programs/simple-hash.c: Likewise.
20601 * nscd/nscd.h: Likewise.
20602 * nss/makedb.c: Likewise.
20603 * sysdeps/generic/ldconfig.h: Likewise.
20604
be179c8a
SP
206052013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20606
ba384f6e
SP
20607 * Versions.def: Add GLIBC_2.18.
20608 * include/link.h (struct link_map): New member l_tls_dtor_count.
20609 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
20610 (__call_tls_dtors): Likewise.
20611 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
20612 __cxa_thread_atexit_impl.
20613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20614 Likewise.
20615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20616 Likewise.
20617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20618 Likewise.
20619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20620 Likewise.
20621 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
20623 Likewise.
20624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
20625 Likewise.
20626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20627 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20628 Likewise.
20629 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
20630 (tests): Add test case tst-tls-atexit.
20631 (modules-names): Add shared library for tst-tls-atexit.
85891aca 20632 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
20633 (GLIBC_PRIVATE): Add __call_tls_dtors.
20634 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
20635 for libstdc++.
20636 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
20637 * stdlib/tst-tls-atexit.c: New test case.
20638 * stdlib/tst-tls-atexit-lib.c: New test case.
20639
ffaa74cf 20640 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 20641
be179c8a
SP
20642 * elf/Versions (ld): Add _dl_find_dso_for_object.
20643 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
20644 * elf/dl-open.c (_dl_find_dso_for_object): New function.
20645 (dl_open_worker): Use _dl_find_dso_for_object.
20646 * elf/dl-sym.c (do_sym): Likewise.
20647 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
20648
f78b5caa
AK
206492013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20650
20651 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
20652 Syntactic changes only.
20653 (_dl_runtime_profile): Do a tail-call to the resolved function.
20654
29691210
JM
206552013-02-17 Joseph Myers <joseph@codesourcery.com>
20656
20657 [BZ #13550]
20658 * sysdeps/x86_64/bp-asm.h: Remove file.
20659 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
20660 <bp-sym.h> and <bp-asm.h>.
20661 (__clone): Do not use BP_SYM.
20662 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
20663 <bp-sym.h> and <bp-asm.h>.
20664 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20665 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
20666 "bp-asm.h".
20667 (_setjmp): Do not use BP_SYM.
20668 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
20669 "bp-asm.h".
20670 (setjmp): Do not use BP_SYM.
20671 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
20672 libc_hidden_def.
20673 (mempcpy): Do not use BP_SYM in weak_alias.
20674 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
20675 "bp-asm.h".
20676 (strchr): Do not use BP_SYM.
20677 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
20678 "bp-asm.h".
20679 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
20680 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
20681 (_start): Do not use BP_SYM.
20682 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
20683 "bp-asm.h".
20684 (strcat): Do not use BP_SYM.
20685 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
20686 "bp-asm.h".
20687 (STRCMP): Do not use BP_SYM.
20688 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
20689 "bp-asm.h".
20690 (STRCPY): Do not use BP_SYM.
20691 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
20692 "bp-asm.h".
20693 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
20694 "bp-asm.h".
20695 (FUNCTION): Do not use BP_SYM.
20696 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
20697 weak_alias.
20698 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
20699
f238fd19
AJ
207002013-02-17 Andreas Jaeger <aj@suse.de>
20701
20702 * time/Versions: Sort entries.
20703 * string/Versions: Likewise.
20704 * resolv/Versions: Likewise.
20705 * posix/Versions: Likewise.
20706 * iconv/Versions: Likewise.
20707 * elf/Versions: Likewise.
20708 * wcsmbs/Versions: Likewise.
20709
bd07f23c 207102013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 20711
22af19f9
SP
20712 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
20713 loop termination condition.
20714
4709fe76
SP
20715 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
20716 variable to calculate EZ.
20717 (__sqr): Likewise.
2d0e0f29
SP
20718
20719 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
20720 the lower precision input.
20721
daaa7713
JM
207222013-02-15 Joseph Myers <joseph@codesourcery.com>
20723
20724 [BZ #13550]
20725 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
20726 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
20727 (run-via-rtld-prefix): Do not handle %-bp tests.
20728 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
20729 (all-object-suffixes): Remove .ob.
20730 (bppfx): Remove variable.
20731 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
20732 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
20733 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
20734 [$(build-bounded) = yes] (libtype.ob): Likewise.
20735 * Makerules (elide-routines.ob): Remove variable.
20736 (do-tests-clean): Do not handle *-bp.out.
20737 (common-mostlyclean): Do not handle *-bp and *-bp.out.
20738 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
20739 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
20740 (tests): Do not include $(tests-bp.out).
20741 (xtests): Do not include $(xtests-bp.out).
20742 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
20743 [$(build-bounded) = yes] ($(addprefix
20744 $(objpfx),$(binaries-bounded))): Remove rule.
20745 ($(objpfx)%-bp.out): Remove rule.
20746 * config.make.in (build-bounded): Remove variable.
20747 * crypt/Makefile [$(build-bounded) = yes]
20748 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
20749 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
20750 append to variable.
20751 [$(build-bounded) = yes] (install-lib): Likewise.
20752 [$(build-bounded) = yes] (generated): Likewise.
20753 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
20754 Remove rule.
20755 * intl/Makefile [$(build-bounded) = yes]
20756 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
20757 * math/Makefile [$(build-bounded) = yes]
20758 ($(tests:%=$(objpfx)%-bp): Likewise.
20759 * misc/Makefile [$(build-bounded) = yes]
20760 ($(objpfx)tst-tsearch-bp): Likewise.
20761 * nptl/Makeconfig (bounded-thread-library): Remove variable.
20762 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
20763 Remove dependency.
20764 * string/Makefile (o-objects.ob): Remove variable.
20765 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
20766 (CFLAGS-.ob): Remove variable.
20767 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
20768 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
20769 both definitions of variable.
20770 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
20771 (ASFLAGS-.ob): Remove variable.
20772
e97ed6dd
JM
207732013-02-14 Joseph Myers <joseph@codesourcery.com>
20774
2bdd4ca6
JM
20775 [BZ #13550]
20776 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
20777 Remove __BOUNDED_POINTERS__ from condition.
20778 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
20779 * string/bits/string2.h [!__NO_STRING_INLINES &&
20780 !__BOUNDED_POINTERS__]: Likewise.
20781 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
20782 Likewise.
20783 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
20784 Remove conditional code.
20785 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
20786 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
20787 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
20788 condition.
20789
e97ed6dd
JM
20790 [BZ #13550]
20791 * csu/libc-start.c: Do not include <bp-sym.h>.
20792 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
20793 * elf/dl-open.c: Do not include <bp-sym.h>.
20794 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
20795 * math/fegetenv.c: Do not include <bp-sym.h>.
20796 (fegetenv): Do not use BP_SYM in versioned symbols.
20797 * nptl/sysdeps/pthread/bits/libc-lockP.h
20798 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
20799 <bp-sym.h>.
20800 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20801 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
20802 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20803 (__pthread_mutex_destroy): Likewise.
20804 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20805 (__pthread_mutex_lock): Likewise.
20806 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20807 (__pthread_mutex_trylock): Likewise.
20808 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20809 (__pthread_mutex_unlock): Likewise.
20810 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20811 (__pthread_mutexattr_init): Likewise.
20812 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20813 (__pthread_mutexattr_destroy): Likewise.
20814 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20815 (__pthread_mutexattr_settype): Likewise.
20816 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20817 (__pthread_rwlock_init): Likewise.
20818 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20819 (__pthread_rwlock_destroy): Likewise.
20820 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20821 (__pthread_rwlock_rdlock): Likewise.
20822 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20823 (__pthread_rwlock_tryrdlock): Likewise.
20824 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20825 (__pthread_rwlock_wrlock): Likewise.
20826 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20827 (__pthread_rwlock_trywrlock): Likewise.
20828 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20829 (__pthread_rwlock_unlock): Likewise.
20830 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20831 (__pthread_key_create): Likewise.
20832 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20833 (__pthread_setspecific): Likewise.
20834 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20835 (__pthread_getspecific): Likewise.
20836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
20837 Likewise.
20838 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20839 (_pthread_cleanup_push_defer): Likewise.
20840 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20841 (_pthread_cleanup_pop_restore): Likewise.
20842 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20843 (pthread_setcancelstate): Likewise.
20844 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
20845 <bp-sym.h>.
20846 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
20847 (memchr): Do not use BP_SYM in weak_alias.
20848 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
20849 (fegetenv): Do not use BP_SYM in versioned symbols.
20850 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
20851 (fesetenv): Do not use BP_SYM in versioned symbols.
20852 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20853 (feupdateenv): Do not use BP_SYM in versioned symbols.
20854 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20855 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20856 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
20857 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
20858 (open64): Do not use BP_SYM in weak_alias.
20859 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
20860 (fegetenv): Do not use BP_SYM in versioned symbols.
20861 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
20862 (fesetenv): Do not use BP_SYM in versioned symbols.
20863 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20864 (feupdateenv): Do not use BP_SYM in versioned symbols.
20865 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
20866 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
20867 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
20868 (feraiseexcept): Do not use BP_SYM in versioned symbols.
20869 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20870 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20871 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
20872 <bp-sym.h>.
20873 (__libc_start_main): Do not use BP_SYM.
20874
d6752ccd
SP
208752013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20876
cb57ce60
SP
20877 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
20878 redundant return line.
20879 (norm): Likewise.
20880 (denorm): Likewise.
20881 (dbl_mp): Likewise.
20882 (sub_magnitudes): Likewise.
20883 (__add): Likewise.
20884 (__sub): Likewise.
20885 (__mul): Likewise.
20886 (__inv): Likewise.
20887 (__dvd): Likewise.
20888 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
20889 (norm): Likewise.
20890 (denorm): Likewise.
20891 (dbl_mp): Likewise.
20892 (sub_magnitudes): Likewise.
20893 (__add): Likewise.
20894 (__sub): Likewise.
20895 (__mul): Likewise.
20896 (__inv): Likewise.
20897 (__dvd): Likewise.
20898
f414520d
SP
20899 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
20900 instead of __mul.
20901 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20902 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
20903 (cc32): Likewise.
20904
d6752ccd
SP
20905 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
20906 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
20907 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
20908 of __mul for squares.
20909 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
20910 function
20911 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
20912 Likewise.
20913 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
20914 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20915
70d9946a
JM
209162013-02-13 Joseph Myers <joseph@codesourcery.com>
20917
20918 [BZ #13550]
20919 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
20920 code.
20921 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
20922 prototype or function definition. Rename ubp_* variables and
20923 parameters. Remove argv definitions conditional on
20924 [__BOUNDED_POINTERS__].
20925 * debug/backtrace.c (__backtrace): Do not use __unbounded.
20926 * elf/dl-runtime.c (_dl_fixup): Likewise.
20927 * include/set-hooks.h (RUN_HOOK): Likewise.
20928 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
20929 definition.
20930 * string/strcpy.c (strcpy): Do not use __unbounded.
20931 * sysdeps/generic/frame.h (struct layout): Likewise.
20932 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
20933 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
20934 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
20935 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
20936 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
20937 (__backtrace): Likewise.
20938 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
20939 use __ptrvalue.
20940 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20941 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20942 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20943 Likewise.
20944 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
20945 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
20946 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20947 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20948 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
20949 Do not use __unbounded.
20950 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
20951 Rename __unboundedrlimits parameter to rlimits in prototype.
20952 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
20953 Do not use __unbounded.
20954 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
20955 not use __ptrvalue.
20956 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20957 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
20958 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20959 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
20960 __ptrvalue or __unbounded.
20961 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
20962 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
20963 use __unbounded.
20964 (__new_msgctl): Do not use __ptrvalue.
20965 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
20966 __unbounded.
20967 (__libc_msgrcv): Do not use __ptrvalue.
20968 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
20969 startup_info): Do not use __unbounded.
20970 (__libc_start_main): Likewise. Rename ubp_* variables and
20971 parameters. Remove argv definitions conditional on
20972 [__BOUNDED_POINTERS__].
20973 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
20974 __ptrvalue.
20975 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
20976 use __unbounded.
20977 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
20978 or __ptrvalue.
20979 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
20980 use __unbounded.
20981 (__new_shmctl): Do not use __ptrvalue.
20982 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20983 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20984 Likewise.
20985 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20986 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
20987 (__libc_sigaction): Likewise.
20988 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
20989 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
20990 Likewise.
20991 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20992
cc7834d6
OB
209932013-02-13 Ondřej Bílka <neleai@seznam.cz>
20994
ffb1ec7b 20995 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
20996
20997 * string/mempcpy.c: Implement by calling memcpy.
20998
bdf02814
SP
209992013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21000
c2af38aa
SP
21001 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21002
4e92d59e
SP
21003 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21004 evaluation.
21005
909279a5
SP
21006 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21007 values in the mantissa.
21008
bdf02814
SP
21009 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21010 minimize writes to Z.
21011 (sub_magnitudes): Simplify code a bit.
21012
cd525923
RM
210132013-02-12 Roland McGrath <roland@hack.frob.com>
21014
21015 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21016 from the message. The linker prefixes all warnings with that already.
21017
7e2f0d2d
AS
210182013-02-12 Andreas Schwab <schwab@suse.de>
21019
a445af0b
AS
21020 [BZ #15078]
21021 * posix/regexec.c (extend_buffers): Add parameter min_len.
21022 (check_matching): Pass minimum needed length.
21023 (clean_state_log_if_needed): Likewise.
21024 (get_subexp): Likewise.
21025 * posix/Makefile (tests): Add bug-regex34.
21026 (bug-regex34-ENV): Define.
21027 * posix/bug-regex34.c: New file.
21028
7e2f0d2d
AS
21029 [BZ #11561]
21030 * posix/regcomp.c (parse_bracket_exp): When looking up collating
21031 elements compare against the byte sequence of it, not its name.
21032 * posix/Makefile (tests): Add bug-regex35.
21033 (bug-regex35-ENV): Define.
21034 * posix/bug-regex35.c: New file.
21035
a175b684
TV
210362013-02-11 Tom de Vries <tom@codesourcery.com>
21037
21038 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
21039 comment.
21040 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21041 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21042 (CHECK_EOL): Add undef.
21043
310998fe 210442013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
21045
21046 * bits/stdlib-bsearch.h: New file.
21047 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 21048 * stdlib/stdlib.h: Likewise.
41eda41d 21049
8ded91fb
RM
210502013-02-11 Roland McGrath <roland@hack.frob.com>
21051
21052 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21053 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21054 declaration.
21055 * manual/search.texi (Array Search Function): Add missing const in
21056 lfind prototype.
21057 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21058 declaration to use rlim_t.
21059 (Basic Scheduling Functions): Remove erroneous const from
21060 sched_getparam prototype. Remove erroneous * from
21061 sched_get_priority_max and sched_get_priority_min prototypes.
21062 (Resource Usage): Fix summary @comment on vtimes to refer to
21063 sys/vtimes.h rather than vtimes.h.
21064 Add missing *s in vtimes prototype.
21065 (Limits on Resources): Fix ulimit prototype to return long int.
21066 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21067 prototypes to use long int rather than double.
21068 (BSD Random): Fix initstate and setstate to use char *, not void *.
21069 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21070 prototype to make second argument 'struct aiocb64 *const[]'.
21071 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21072 (Status of AIO Operations): Remove erroneous const in aio_return and
21073 aio_return64 prototypes.
21074 (Synchronizing I/O): Fix sync prototype to return void.
21075 * manual/startup.texi (Suboptions): Remove an erroneous const in
21076 getsubopt prototype.
21077 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21078 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21079 use size_t rather than int.
21080 (Scanning All Users): Likewise for getpwent_r.
21081 (Setting Groups): Add missing const to setgroups prototype.
21082 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21083 * manual/socket.texi (Host Names): Fix gethostbyaddr and
21084 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21085 'const void *' rather than 'const char *'.
21086 (Host Address Functions): Likewise for inet_ntop.
21087 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21088 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21089 ssize_t for return value.
21090 (Sending Data): Likewise for send, sendto, sendmsg.
21091 (Socket Option Functions): Add a missing const in setsockopt prototype.
21092 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21093 use wchar_t for the argument.
21094 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21095 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21096 take no arguments.
21097 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21098 double/float/long double for second argument.
21099 Fix return types of significand, significandf, significandl.
21100 * manual/filesys.texi (Setting Permissions): Use mode_t for second
21101 argument in fchmod prototype.
21102 (File Owner): Use uid_t and gid_t in fchown prototype.
21103 (File Times): Add const to utimes, futimes, and lutimes prototypes.
21104 (Making Special Files): Use mode_t and dev_t in mknod prototype.
21105 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21106 use 'const struct dirent **' as argument types to CMP function pointer
21107 argument.
21108 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21109 (File Times): Fix summary magic @comment for struct utimbuf and utime
21110 to refer to utime.h, not time.h.
21111 * manual/string.texi (Argz Functions): Add missing const in
21112 argz_extract and argz_next prototypes.
21113 (Finding Tokens in a String): Likewise for basename.
21114 (String/Array Comparison): Fix typo in wcscasecmp prototype.
21115 (Copying and Concatenation): Fix typo in wmemmove prototype.
21116 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21117 (Signal Stack): Remove erroneous const in sigstack prototype.
21118 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21119 prototype.
21120 (Simple Calendar Time): Likewise for stime.
21121 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21122 prototype.
21123 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21124 say sys/sysctl.h instead.
21125 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21126 and vsyslog prototypes.
21127
fe77fe6d
TV
211282013-02-11 Tom de Vries <tom@codesourcery.com>
21129
21130 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21131 Remove.
21132
3a09b620
RM
211332013-02-11 Roland McGrath <roland@hack.frob.com>
21134
21135 * misc/sys/mman.h: Fix typo in mremap comment.
21136
550a0b89
RM
211372013-02-08 Roland McGrath <roland@hack.frob.com>
21138
21139 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21140 the '\0' terminator.
21141
a2da1673
JM
211422013-02-08 Joseph Myers <joseph@codesourcery.com>
21143
21144 [BZ #13550]
21145 * debug/segfault.c: Don't include <bp-checks.h>.
21146 * sysdeps/generic/bp-checks.h: Remove file.
21147 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21148 (__GETDENTS): Don't use CHECK_N.
21149 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21150 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21151 (__getgroups): Don't use CHECK_N.
21152 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21153 (setgroups): Don't use CHECK_N.
21154 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21155 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21156 (__libc_msgrcv): Don't use CHECK_N.
21157 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21158 (__libc_msgsnd): Don't use CHECK_N.
21159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21160 <bp-checks.h>.
21161 (__libc_pread): Don't use CHECK_N.
21162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21163 include <bp-checks.h>.
21164 (__libc_pread64): Don't use CHECK_N.
21165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21166 include <bp-checks.h>.
21167 (__libc_pwrite): Don't use CHECK_N.
21168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21169 include <bp-checks.h>.
21170 (__libc_pwrite64): Don't use CHECK_N.
21171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21172 <bp-checks.h>.
21173 (__libc_pread): Don't use CHECK_N.
21174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21175 include <bp-checks.h>.
21176 (__libc_pread64): Don't use CHECK_N.
21177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21178 include <bp-checks.h>.
21179 (__libc_pwrite): Don't use CHECK_N.
21180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21181 include <bp-checks.h>.
21182 (__libc_pwrite64): Don't use CHECK_N.
21183 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21184 (do_pread): Don't use CHECK_N.
21185 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21186 (do_pread64): Don't use CHECK_N.
21187 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21188 (do_pwrite): Don't use CHECK_N.
21189 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21190 (do_pwrite64): Don't use CHECK_N.
21191 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21192 (__libc_readv): Don't use CHECK_N.
21193 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21194 (semop): Don't use CHECK_N.
21195 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21196 <bp-checks.h>.
21197 (semtimedop): Don't use CHECK_N.
21198 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21199 (__libc_pread): Don't use CHECK_N.
21200 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21201 <bp-checks.h>.
21202 (__libc_pread64): Don't use CHECK_N.
21203 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21204 <bp-checks.h>.
21205 (__libc_pwrite): Don't use CHECK_N.
21206 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21207 <bp-checks.h>.
21208 (__libc_pwrite64): Don't use CHECK_N.
21209 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21210 <bp-checks.h>.
21211 (__libc_msgrcv): Don't use CHECK_N.
21212 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21213 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
21214 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21215 (__libc_writev): Don't use CHECK_N.
21216
b84660a8
RM
212172013-02-08 Roland McGrath <roland@hack.frob.com>
21218
7f3e75f8
RM
21219 * string/strcpy.c: Removed unused variable.
21220
b84660a8
RM
21221 * Makeconfig (+sysdep-includes): Define with := rather than =.
21222 Use an existing include/ subdir of each sysdeps dir before it.
21223
471514d3
CD
212242013-02-08 Carlos O'Donell <carlos@redhat.com>
21225
21226 * nscd/connection.c (register_traced_file): Comment function.
21227 [HAVE_INOTIFY] (union __inev): Define.
21228 [HAVE_INOTIFY] (inotify_check_files): New function.
21229 [HAVE_INOTIFY] (clear_db_cache): Likewise.
21230 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21231 clear_db_cache.
21232 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21233
b2d3c3be
CD
212342013-02-08 Carlos O'Donell <carlos@redhat.com>
21235
21236 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21237 loaded if not already and that a failure is permanent.
21238
b39949d2
CD
212392013-02-08 Carlos O'Donell <carlos@redhat.com>
21240
ddacd1db 21241 [BZ #15006]
b39949d2
CD
21242 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21243 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21244
b2c9eff4
JM
212452013-02-08 Joseph Myers <joseph@codesourcery.com>
21246
f3aae3f3
JM
21247 [BZ #13550]
21248 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21249 (CHECK_1_NULL_OK): Likewise.
21250 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21251 (__fxstat): Do not use CHECK_1.
21252 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21253 <bp-checks.h>.
21254 (___fxstat64): Do not use CHECK_1.
21255 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21256 <bp-checks.h>.
21257 (__fxstatat): Do not use CHECK_1.
21258 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21259 <bp-checks.h>.
21260 (__fxstatat64): Do not use CHECK_1.
21261 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21262 <bp-checks.h>.
21263 (__fxstat): Do not use CHECK_1.
21264 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21265 <bp-checks.h>.
21266 (__fxstatat): Do not use CHECK_1.
21267 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21268 <bp-checks.h>.
21269 (__getresgid): Do not use CHECK_1.
21270 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21271 <bp-checks.h>.
21272 (__getresuid): Do not use CHECK_1.
21273 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21274 <bp-checks.h>.
21275 (__lxstat): Do not use CHECK_1.
21276 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21277 <bp-checks.h>.
21278 (__old_msgctl): Do not use CHECK_1.
21279 (__new_msgctl): Likewise.
21280 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21281 <bp-checks.h>.
21282 (__new_setrlimit): Do not use CHECK_1.
21283 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21284 <bp-checks.h>.
21285 (__old_shmctl): Do not use CHECK_1.
21286 (__new_shmctl): Likewise.
21287 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21288 <bp-checks.h>.
21289 (__xstat): Do not use CHECK_1.
21290 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21291 (__lxstat): Do not use CHECK_1.
21292 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21293 <bp-checks.h>.
21294 (___lxstat64): Do not use CHECK_1.
21295 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21296 (__old_msgctl): Do not use CHECK_1.
21297 (__new_msgctl): Likewise.
21298 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21299 <bp-checks.h>.
21300 (__gettimeofday): Do not use CHECK_1.
21301 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21302 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21303 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21304 <bp-checks.h>.
21305 (__gettimeofday): Do not use CHECK_1.
21306 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21307 (__old_shmctl): Do not use CHECK_1_NULL_OK.
21308 (__new_shmctl): Do not use CHECK_1.
21309 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21310 <bp-checks.h>.
21311 (do_sigtimedwait): Do not use CHECK_1.
21312 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21313 <bp-checks.h>.
21314 (do_sigwaitinfo): Do not use CHECK_1.
21315 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21316 <bp-checks.h>.
21317 (msgctl): Do not use CHECK_1.
21318 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21319 <bp-checks.h>.
21320 (shmctl): Do not use CHECK_1.
21321 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21322 (ustat): Do not use CHECK_1.
21323 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21324 <bp-checks.h>.
21325 (__fxstat): Do not use CHECK_1.
21326 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21327 <bp-checks.h>.
21328 (__fxstatat): Do not use CHECK_1.
21329 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21330 <bp-checks.h>.
21331 (__lxstat): Do not use CHECK_1.
21332 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21333 <bp-checks.h>.
21334 (__xstat): Do not use CHECK_1.
21335 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21336 (__xstat): Do not use CHECK_1.
21337 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21338 (___xstat64): Do not use CHECK_1.
21339
b2c9eff4
JM
21340 [BZ #13550]
21341 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21342 definitions.
21343 (CHECK_BOUNDS_HIGH): Likewise.
21344 * string/strcpy.c: Do not include <bp-checks.h>.
21345 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21346
f1d70dad
RM
213472013-02-07 Roland McGrath <roland@hack.frob.com>
21348
21349 * nscd/nscd-client.h (__nscd_drop_map_ref):
21350 Add __attribute__ ((unused)).
21351 * nis/nss-nisplus.h (niserr2nss): Likewise.
21352
21353 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21354 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21355
21356 * csu/libc-tls.c (init_static_tls, init_slotinfo):
21357 Remove inline keyword.
21358 * include/rounding-mode.h (round_away): Likewise.
21359 * libio/wfileops.c (adjust_wide_data): Likewise.
21360 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21361 (__m128i_strloadu_tolower): Likewise.
21362 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21363 (__m128i_strloadu_tolower): Likewise.
21364 * time/mktime.c (ydhms_diff): Likewise.
21365 * locale/elem-hash.h (elem_hash): Likewise.
21366 * locale/setlocale.c (setdata): Likewise.
21367 * posix/regex_internal.h (re_string_char_size_at): Likewise.
21368 (re_string_wchar_at): Likewise.
21369 (bitset_not, bitset_merge, bitset_mask): Likewise.
21370 [!(__GNUC__ > 3)] (inline): Remove macro.
21371 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21372 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21373 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21374 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21375 * string/memcmp.c (memcmp_bytes): Likewise.
21376 * locale/programs/locarchive.c (compute_hashval): Likewise.
21377 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21378 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21379 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21380 * nss/getent.c (print_rpc, print_protocols): Likewise.
21381 (print_passwd, print_group, print_aliases): Likewise.
21382 * nis/nss-nisplus.h (niserr2nss): Likewise.
21383 * nscd/connections.c (restart_p): Likewise.
21384 Change return type to bool.
21385
eab55bfb
RM
213862013-02-05 Roland McGrath <roland@hack.frob.com>
21387
7bd642f5
RM
21388 * Makeconfig (all-Depend-files): Add existing
21389 $(sorted-subdirs:=/Depend) files.
21390 (all-subdirs): Remove nss.
21391 * sysdeps/unix/inet/Subdirs: Add it here instead.
21392 * hesiod/Depend: New file.
21393
573c29b2
RM
21394 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21395 instead of calling alloca.
21396
b2e25af0
RM
21397 * io/lseek.c (__lseek): Rename to __libc_lseek.
21398 Define __lseek as an alias.
21399
eab55bfb
RM
21400 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21401
9a0d1941
CD
214022013-02-04 Carlos O'Donell <carlos@redhat.com>
21403
21404 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21405 else clause and remove check for non-standard endianness.
21406
b83bbec4
DM
214072013-02-04 David S. Miller <davem@davemloft.net>
21408
21409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21410
6277fdab
JM
214112013-02-04 Joseph Myers <joseph@codesourcery.com>
21412
21413 [BZ #13550]
21414 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21415 (__ubp_memchr): Remove prototype.
21416 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21417 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21418 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21419 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21420 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21421 Remove alias.
21422 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21423 (__ubp_memchr): Likewise.
21424 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21425 (__ubp_memchr): Likewise.
21426 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21427 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21428 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21429 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21430 CHECK_STRING.
21431 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21432 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21433 (__getcwd): Do not use CHECK_STRING.
21434 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21435 <bp-checks.h>.
21436 (__real_chown): Do not use CHECK_STRING.
21437 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21438 <bp-checks.h>.
21439 (fchownat): Do not use CHECK_STRING.
21440 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21441 CHECK_STRING.
21442 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21443 <bp-checks.h>.
21444 (__lchown): Do not use CHECK_STRING.
21445 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21446 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21447 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21448 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21450 include <bp-checks.h>.
21451 (truncate64): Do not use CHECK_STRING.
21452 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21453 <bp-checks.h>.
21454 (__real_chown): Do not use CHECK_STRING.
21455 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21456 <bp-checks.h>.
21457 (__lchown): Do not use CHECK_STRING.
21458 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21459 <bp-checks.h>.
21460 (__chown): Do not use CHECK_STRING.
21461 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
21462 <bp-checks.h>.
21463 (truncate64): Do not use CHECK_STRING.
21464 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
21465 Likewise.
21466 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
21467 (__xmknod): Do not use CHECK_STRING.
21468 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
21469 <bp-checks.h>.
21470 (__xmknodat): Do not use CHECK_STRING.
21471 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21472 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21473
903ae060
AS
214742013-02-04 Andreas Schwab <schwab@suse.de>
21475
21476 [BZ #14142]
21477 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
21478 * include/netdb.h: Likewise for h_errno.
21479 * elf/tst-stackguard1.c: Include <tls.h>.
21480
542f9466
JK
214812013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
21482
21483 * elf/link.h (struct link_map): Extend the l_addr comment.
21484 * include/link.h (struct link_map): Likewise.
21485
e782a927
JM
214862013-02-01 Joseph Myers <joseph@codesourcery.com>
21487
21488 [BZ #13550]
21489 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
21490 (BOUNDED_1): Remove macro.
21491 * debug/backtrace.c: Don't include <bp-checks.h>.
21492 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
21493 (__backtrace): Likewise.
21494 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
21495 <bp-checks.h>.
21496 (__backtrace): Don't use BOUNDED_1.
21497 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
21498 <bp-checks.h>.
21499 (__backtrace): Don't use BOUNDED_1.
21500 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
21501 (__backtrace): Don't use BOUNDED_1.
21502 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
21503 (shmat): Don't use BOUNDED_N.
21504
8cf28c5e
JM
215052013-01-31 Joseph Myers <joseph@codesourcery.com>
21506
3a7ac8a0
JM
21507 [BZ #13550]
21508 * sysdeps/generic/bp-start.h: Remove file.
21509 * csu/libc-start.c: Don't include <bp-start.h>.
21510 (LIBC_START_MAIN): Set up __environ directly instead of using
21511 INIT_ARGV_and_ENVIRON.
21512 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
21513 <bp-start.h>.
21514
f3499f95
JM
21515 [BZ #13550]
21516 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
21517 definitions.
21518 (CHECK_FCNTL): Likewise.
21519 (CHECK_N_PAGES): Likewise.
21520
32a45bea
JM
21521 [BZ #13550]
21522 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
21523 definitions.
21524 (CHECK_SIGSET_NULL_OK): Likewise.
21525 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
21526 <bp-checks.h>.
21527 (sigpending): Don't use CHECK_SIGSET.
21528 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
21529 <bp-checks.h>.
21530 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21531 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
21532 <bp-checks.h>.
21533 (do_sigsuspend): Don't use CHECK_SIGSET.
21534 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
21535 use CHECK_SIGSET.
21536 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
21537 (do_sigwait): Don't use CHECK_SIGSET.
21538 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
21539 use CHECK_SIGSET.
21540 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
21541 include <bp-checks.h>.
21542 (sigpending): Don't use CHECK_SIGSET.
21543 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
21544 include <bp-checks.h>.
21545 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21546 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
21547 <bp-checks.h>.
21548 (sigpending): Don't use CHECK_SIGSET.
21549 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
21550 <bp-checks.h>.
21551 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21552
2e8a5c8c
JM
21553 [BZ #13550]
21554 * sysdeps/generic/bp-semctl.h: Remove file.
21555 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
21556 <bp-checks.h> and <bp-semctl.h>.
21557 (__old_semctl): Don't use CHECK_SEMCTL.
21558 (__new_semctl): Likewise.
21559 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
21560 and <bp-semctl.h>.
21561 (__old_semctl): Don't use CHECK_SEMCTL.
21562 (__new_semctl): Likewise.
21563 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
21564 <bp-checks.h> and <bp-semctl.h>.
21565 (__old_semctl): Don't use CHECK_SEMCTL.
21566 (__new_semctl): Likewise.
21567 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
21568 <bp-checks.h> and <bp-semctl.h>.
21569 (semctl): Don't use CHECK_SEMCTL.
21570
c2d54929
JM
21571 [BZ #13550]
21572 * Makerules (elide-bp-thunks): Remove variable.
21573 (elide-routines.oS): Don't use $(elide-bp-thunks).
21574 (elide-routines.os): Likewise.
21575 (elide-routines.o): Likewise.
21576 (elide-routines.op): Likewise.
21577 (elide-routines.og): Likewise.
21578 (objects): Don't use $(bp-thunks).
21579 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
21580 include.
21581 (common-generated): Do not add s-proto-bp.d.
21582 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
21583 (int): Likewise.
21584 (typ): Likewise.
21585 Do not generate makefile rules for bounded-pointer thunks.
21586 * sysdeps/generic/bp-thunks.h: Remove file.
21587 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
21588 * sysdeps/unix/s-proto-bp.S: Likewise.
21589
8cf28c5e
JM
21590 [BZ #15062]
21591 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
21592 parts of result separately when argument is not close to line from
21593 -i to i and one part of argument is small.
21594 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21595 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21596 * math/libm-test.inc (cacos_test): Add more tests.
21597 (casin_test): Likewise.
21598 (casinh_test): Likewise.
21599 * sysdeps/i386/fpu/libm-test-ulps: Update.
21600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21601
c4e33b8d
DM
216022013-01-31 David S. Miller <davem@davemloft.net>
21603
21604 * po/de.po: Update from translation team.
21605
3b60b421
MK
216062013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
21607
21608 * time/tzfile.c: Include stdint.h for SIZE_MAX.
21609
bb931195
TS
216102013-01-25 Thomas Schwinge <thomas@codesourcery.com>
21611
b5a5da23
TS
21612 * configure.in (_AC_PROG_CC_C89): New definition.
21613 * configure: Regenerate.
21614
bb931195
TS
21615 * configure.in (AC_PROG_CPP): New definition.
21616 * configure: Regenerate.
21617
8c53a12c
JM
216182013-01-23 Joseph Myers <joseph@codesourcery.com>
21619
21620 * debug/tst-backtrace.h: New file.
21621 * debug/tst-backtrace2.c: Include tst-backtrace.h.
21622 (ret): Remove variable.
21623 (x): Likewise.
21624 (FAIL): Remove macro.
21625 (NO_INLINE): Likewise.
21626 (fn1): Use match function instead of strstr.
21627 * debug/tst-backtrace3.c: Include tst-backtrace.h.
21628 (ret): Remove variable.
21629 (x): Likewise.
21630 (FAIL): Remove macro.
21631 (NO_INLINE): Likewise.
21632 (fn): Use match function instead of strstr.
21633 * debug/tst-backtrace4.c: Include tst-backtrace.h.
21634 (ret): Remove variable.
21635 (x): Likewise.
21636 (FAIL): Remove macro.
21637 (NO_INLINE): Likewise.
21638 (handle_signal): Use match function instead of strstr.
21639 * debug/tst-backtrace5.c: Include tst-backtrace.h.
21640 (ret): Remove variable.
21641 (x): Likewise.
21642 (FAIL): Remove macro.
21643 (NO_INLINE): Likewise.
21644 (handle_signal): Use match function instead of strstr.
21645
4858fa2a
RM
216462013-01-23 Roland McGrath <roland@hack.frob.com>
21647
21648 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
21649
bae8e7f5
DM
216502013-01-23 David S. Miller <davem@davemloft.net>
21651
21652 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
21653 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
21654 argument of CAS if possible.
21655 * sysdeps/sparc/sparc64/bits/atomic.h
21656 (__arch_compare_and_exchange_val_32_acq): Likewise.
21657 (__arch_compare_and_exchange_val_64_acq): Likewise.
21658
9cbbc4ae
PT
216592013-01-23 Pino Toscano <toscano.pino@tiscali.it>
21660
21661 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
21662 * sysdeps/posix/ulimit.c: ... this.
92a601b8 21663 Include <limits.h>.
67b3f58c 21664 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 21665
5655a0b5
AC
216662013-01-23 Adam Conrad <adconrad@0c3.net>
21667
21668 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
21669 (LDFLAGS-tst-array5): Likewise.
21670
052aff95
JM
216712013-01-23 Joseph Myers <joseph@codesourcery.com>
21672
21673 [BZ #15036]
21674 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
21675 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
21676 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
21677 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
21678
7c1e01aa
DM
216792013-01-21 David S. Miller <davem@davemloft.net>
21680
21681 * sysdeps/sparc/backtrace.c: New file.
21682 * sysdeps/sparc/sparc32/backtrace.h: New file.
21683 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
21684 * sysdeps/sparc/sparc64/backtrace.h: New file.
21685 * sysdeps/sparc/sparc64/backtrace.c: Delete.
21686 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
21687 -funwind-tables.
21688
ab087e0a
AS
216892013-01-21 Andreas Schwab <schwab@suse.de>
21690
21691 [BZ #15020]
21692 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
21693 closed its stdout.
21694
ed689c2f
AS
216952013-01-20 Andreas Schwab <schwab@linux-m68k.org>
21696
21697 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
21698 "mpa2.h".
21699 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21700
31d470ac
JM
217012013-01-18 Joseph Myers <joseph@codesourcery.com>
21702 Mark Mitchell <mark@codesourcery.com>
21703 Tom de Vries <tom@codesourcery.com>
21704 Paul Pluzhnikov <ppluzhnikov@google.com>
21705
21706 * debug/tst-backtrace2.c: New file.
21707 * debug/tst-backtrace3.c: Likewise.
21708 * debug/tst-backtrace4.c: Likewise.
21709 * debug/tst-backtrace5.c: Likewise.
21710 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
21711 (CFLAGS-tst-backtrace3.c): Likewise.
21712 (CFLAGS-tst-backtrace4.c): Likewise.
21713 (CFLAGS-tst-backtrace5.c): Likewise.
21714 (LDFLAGS-tst-backtrace2): Likewise.
21715 (LDFLAGS-tst-backtrace3): Likewise.
21716 (LDFLAGS-tst-backtrace4): Likewise.
21717 (LDFLAGS-tst-backtrace5): Likewise.
21718 (tests): Add new tests tst-backtrace2, tst-backtrace3,
21719 tst-backtrace4 and tst-backtrace5.
21720
90567f30 217212013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
21722 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21723
21724 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
21725 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
21726 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
21727 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
21728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21729 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
21730 "+r" and remove output regs list as redundant. Add explicit inline
21731 asm to specify register of return val to work around compiler codegen
21732 bug. Remove (int) cast on return value. Add return type parameter to
21733 use in macro so that this macro does not truncate return value for
21734 64-bit values.
21735 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
21736 pass to INTERNAL_VSYSCALL_NCS.
21737 (INLINE_VSYSCALL): Add 'long int' as return type to
21738 INTERNAL_VSYSCALL_NCS macro invocation.
21739 (INTERNAL_VSYSCALL): Add 'long int' as return type to
21740 INTERNAL_VSYSCALL_NCS macro invocation.
21741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21742
d3b9ea61
SP
217432013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21744
0b57daeb
SP
21745 [BZ #14496]
21746 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
21747 Fix application of SIMD FP exception mask.
21748
caa99d06
SP
21749 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
21750 mp_no from a power of two.
21751 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
21752 __mpexp_twomm1. Use __pow_mp.
21753
d3b9ea61
SP
21754 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
21755 multiplication.
21756
1dbaee3c
DM
217572013-01-17 David S. Miller <davem@davemloft.net>
21758
21759 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21760
728d7b43
JM
217612013-01-17 Joseph Myers <joseph@codesourcery.com>
21762
21763 [BZ #15023]
21764 * include/complex.h: Condition contents on [!_COMPLEX_H].
21765 (__kernel_casinhf): New prototype.
21766 (__kernel_casinh): Likewise.
21767 (__kernel_casinhl): Likewise.
21768 * math/Makefile (libm_calls): Add k_casinh.
21769 * math/k_casinh.c: New file.
21770 * math/k_casinhf.c: Likewise.
21771 * math/k_casinhl.c: Likewise.
21772 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
21773 finite nonzero arguments.
21774 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
21775 finite nonzero arguments.
21776 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
21777 finite nonzero arguments.
21778 * math/s_casinh.c: Do not include <float.h>.
21779 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
21780 * math/s_casinhf.c: Do not include <float.h>.
21781 (__casinhf): Move code for finite nonzero arguments to
21782 k_casinhf.c.
21783 * math/s_casinhl.c: Do not include <float.h>.
21784 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
21785 redefine.
21786 (__casinhl): Move code for finite nonzero arguments to
21787 k_casinhl.c.
21788 * math/libm-test.inc (cacos_test): Add more tests.
21789 * sysdeps/i386/fpu/libm-test-ulps: Update.
21790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21791
2a26ef3a
PT
217922013-01-17 Pino Toscano <toscano.pino@tiscali.it>
21793
21794 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
21795 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
21796 [!HAVE_MREMAP]: Remove [defined linux] case.
21797 * malloc/arena.c: Do not include <malloc-sysdep.h>.
21798
a897655d
SP
217992013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21800
21801 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
21802
881ebe89 218032013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
21804
21805 * elf/elf.h (R_386_SIZE32): New relocation.
21806 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
21807 R_386_SIZE32.
21808 (elf_machine_rela): Likewise.
21809 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21810 R_X86_64_SIZE64 and R_X86_64_SIZE32.
21811
59981e9b
JM
218122013-01-17 Joseph Myers <joseph@codesourcery.com>
21813
21814 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
21815 (FP_FAST_FMA): Do not define.
21816 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
21817 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
21818 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
21819 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
21820 !_SOFT_FLOAT]: Likewise.
21821 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
21822 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
21823 value.
21824 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
21825 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
21826 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
21827 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
21828 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
21829 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
21830 file.
21831
cfa8054f
AS
218322013-01-16 Andreas Schwab <schwab@suse.de>
21833
21834 [BZ #14327]
21835 * include/stdlib.h (__mktemp): Add declaration.
21836 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
21837 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
21838
dd930cc5
SP
218392013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21840
881ebe89
SP
21841 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
21842 definitions.
21843 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21844 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
21845 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
21846 definitions here.
21847 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
21848 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
21849 definitions.
21850 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
21851 and ONE.
21852 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
21853 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
21854 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
21855 definitions.
21856 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
21857 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
21858 definitions.
21859 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 21860
dd930cc5
SP
21861 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
21862
c19a9f89
DM
218632013-01-15 David S. Miller <davem@davemloft.net>
21864
1aa61767
DM
21865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21866 trunc{,f} to libm-sysdep_routes.
21867 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
21869 file.
21870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
21871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
21872 file.
21873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
21874 file.
21875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
21876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
21877 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
21878 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
21879 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
21880 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
21881 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
21882 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
21883
c42d5e98
DM
21884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21885 nearbyint{,f} to libm-sysdep_routes.
21886 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
21888 New file.
21889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
21890 file.
21891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
21892 New file.
21893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
21894 file.
21895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
21896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
21897 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
21898 file.
21899 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
21900 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
21901 file.
21902 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
21903 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
21904 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
21905
c19a9f89
DM
21906 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21907 libc_feholdexcept and libc_fesetenv.
21908
357679d2
MF
219092013-01-15 Mike Frysinger <vapier@gentoo.org>
21910
21911 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
21912
65a82e3d
DM
219132013-01-14 David S. Miller <davem@davemloft.net>
21914
8b954ab9
DM
21915 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
21916 (SPARC_ASM_VIS2_IFUNC): Likewise.
21917 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
21918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
21919 use of 'siam' instruction.
21920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
21921 Likewise.
21922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
21923 Likewise.
21924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
21925 Likewise.
21926 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
21927 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
21928 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
21929 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
21930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
21931 file.
21932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
21933 file.
21934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
21935 file.
21936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
21937 file.
21938 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
21939 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
21940 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
21941 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
21942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
21943 new VIS2 routines.
21944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21947 Likewise.
21948 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21949 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21950 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21951 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
21953 routines to libm-sysdep_routines.
21954 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21955
65a82e3d
DM
21956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21957 fdim/fdimf to libm-sysdep_routines.
21958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
21959 file.
21960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
21961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
21962 file.
21963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
21964 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
21965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
21966 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
21967 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
21968 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
21969 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
21970
e34ab705
SP
219712013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21972
2a91b573
SP
21973 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
21974 to optimize copies.
21975
1066a534
SP
21976 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
21977 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21978 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21979
e34ab705
SP
21980 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
21981 local variable MPTWO.
21982 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21983 Likewise.
21984
aba5e596
MF
219852013-01-13 Mike Frysinger <vapier@gentoo.org>
21986
21987 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
21988 GLOB_NOESCAPE.
21989
e557e9e5
MF
219902013-01-13 Mike Frysinger <vapier@gentoo.org>
21991
21992 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
21993
0428cec9
MF
219942013-01-13 Mike Frysinger <vapier@gentoo.org>
21995
21996 * manual/pattern.texi (glob_t): Document gl_flags.
21997 (glob64_t): Likewise.
21998
8794a964
DM
219992013-01-11 David S. Miller <davem@davemloft.net>
22000
66438c3f
RM
22001 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22002 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22003 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
22004 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22005 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22006 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22007 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22008 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22009 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22010 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22011 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22012 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22013 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22014
4ae4244d
DM
22015 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22016 sparc V9 rather than using V8 code.
22017 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22018 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22019
8794a964
DM
22020 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22021 Move to...
22022 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22023 Here.
22024
6270516e
RM
220252013-01-11 Roland McGrath <roland@hack.frob.com>
22026
22027 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22028 not in the main loop.
22029 * configure: Regenerated.
22030
6a57d931
JM
220312013-01-11 Joseph Myers <joseph@codesourcery.com>
22032
22033 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22034 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22035 to just #else.
22036 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
22037 [!__GLIBC_HAVE_LONG_LONG] case.
22038 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22039 condition to just #else.
22040 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22041 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22042 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22043 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22044 unconditional.
22045 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22046 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22047 #elif condition to just #else.
22048 * sysdeps/unix/sysv/linux/sys/sysmacros.h
22049 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22050 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22051 #elif condition to just #else.
22052
0e8529e9
SE
220532013-01-11 Steve Ellcey <sellcey@mips.com>
22054
22055 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22056 (EF_MIPS_ARCH_64): Fix value.
22057 (EF_MIPS_ARCH_32R2): New.
22058 (EF_MIPS_ARCH_64R2): New.
22059
740b3dbe
L
220602013-01-11 H.J. Lu <hongjiu.lu@intel.com>
22061
22062 * Makeconfig (+link-pie-before-libc): New.
22063 (+link-pie-after-libc): Likewise.
22064 (+link-pie-tests): Likewise.
22065 (+link-pie): Rewritten.
22066 (link-before-libc): Remove $(config-LDFLAGS).
22067 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22068 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22069 (config-LDFLAGS): Renamed to ...
22070 (rtld-LDFLAGS): This.
22071 (rtld-tests-LDFLAGS): New macro.
22072 (link-libc-rpath-link): Likewise.
22073 (link-libc-tests-rpath-link): Likewise.
22074 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22075 (link-libc): Prepand $(link-libc-rpath-link).
22076 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22077 (test-program-prefix): New macro.
22078 (test-via-rtld-prefix): Likewise.
22079 (test-program-cmd): Likewise.
22080 (host-test-program-cmd): Likewise.
22081 * Makefile ($(common-objpfx)testrun.sh): Replace
22082 $(run-program-prefix) with $(test-program-prefix).
22083 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22084 $(rtld-LDFLAGS).
22085 ($(common-objpfx)shlib.lds): Likewise.
22086 (build-module-helper): Likewise.
22087 ($(common-objpfx)format.lds): Likewise.
22088 * Rules (binaries-pie-tests): New.
22089 (binaries-pie-notests): Likewise.
22090 (binaries-pie): Rewritten.
22091 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22092 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22093 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22094 (make-test-out): Replace $(host-built-program-cmd) with
22095 $(host-test-program-cmd).
22096 * config.make.in (build-hardcoded-path-in-tests): New variable.
22097 * configure.in (--enable-hardcoded-path-in-tests): New configure
22098 option.
22099 (hardcoded_path_in_tests): New AC_SUBST.
22100 * configure: Regenerated.
22101 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22102 $(built-program-cmd) with $(test-program-cmd).
22103 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22104 (test_program_cmd): This.
22105 * elf/Makefile ($(objpfx)order.out): Run test with
22106 $(test-program-prefix).
22107 ($(objpfx)order2.out): Likewise.
22108 ($(objpfx)tst-initorder.out): Likewise.
22109 ($(objpfx)tst-initorder2.out): Likewise.
22110 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22111 $(test-program-cmd).
22112 ($(objpfx)tst-array1-static.out): Likewise.
22113 ($(objpfx)tst-array2.out): Likewise.
22114 ($(objpfx)tst-array3.out): Likewise.
22115 ($(objpfx)tst-array4.out): Likewise.
22116 ($(objpfx)tst-array5.out): Likewise.
22117 ($(objpfx)tst-array5-static.out): Likewise.
22118 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22119 $(test-program-cmd).
22120 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22121 $(run-program-prefix) with $(test-program-prefix).
22122 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22123 (test_program_prefix): This.
22124 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22125 $(run-program-prefix) with $(test-program-prefix).
22126 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22127 (test_program_prefix): This.
22128 * iconvdata/tst-tables.sh: Likewise.
22129 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22130 $(run-program-prefix) with $(test-program-prefix).
22131 ($(objpfx)tst-translit.out): Likewise.
22132 ($(objpfx)tst-gettext2.out): Likewise.
22133 ($(objpfx)tst-gettext4.out): Likewise.
22134 ($(objpfx)tst-gettext6.out): Likewise.
22135 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22136 (test_program_prefix): This.
22137 * intl/tst-gettext2.sh: Likewise.
22138 * intl/tst-gettext4.sh Likewise.
22139 * intl/tst-gettext6.sh: Likewise.
22140 * intl/tst-translit.sh: Likewise.
22141 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22142 with $(test-program-cmd).
22143 * libio/Makefile ($(objpfx)test-freopen.out): Replace
22144 $(run-program-prefix) with $(test-program-prefix).
22145 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22146 (test_program_prefix): This.
22147 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22148 $(run-program-prefix) with $(test-program-prefix).
22149 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22150 (test_program_prefix): This.
22151 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22152 * posix/Makefile ($(objpfx)globtest.out): Replace
22153 $(run-via-rtld-prefix) and $(test-wrapper) with
22154 $(test-program-prefix) and $(test-via-rtld-prefix).
22155 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22156 $(test-program-prefix).
22157 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22158 $(host-test-program-cmd).
22159 (tst-spawn-ARGS): Likewise.
22160 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22161 $(test-program-prefix).
22162 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22163 (test_via_rtld_prefix): This.
22164 (test_wrapper): Renamed to ...
22165 (test_program_prefix): This.
22166 (run_program_prefix): Replaced by test_program_prefix.
22167 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22168 (test_program_prefix): This.
22169 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22170 with $(host-test-program-cmd).
22171 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22172 $(run-program-prefix) with $(test-program-prefix).
22173 ($(objpfx)tst-printf.out): Likewise.
22174 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22175 $(test-program-cmd).
22176 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22177 (test_program_prefix): This.
22178 * stdio-common/tst-unbputc.sh: Likewise.
22179 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22180 $(run-program-prefix) with $(test-program-prefix).
22181 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22182 (test_program_prefix): This.
22183 * string/Makefile ($(objpfx)tst-svc.out): Replace
22184 $(built-program-cmd) with $(test-program-cmd).
22185
c6fe55cf
AJ
221862013-01-11 Andreas Jaeger <aj@suse.de>
22187
22188 [BZ #15003]
22189 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22190 value. Sync with Linux 3.7.
22191
9e6919c8
DM
221922013-01-10 David S. Miller <davem@davemloft.net>
22193
22194 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22195 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22196 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22197
1c9f1a02
RM
221982013-01-10 Roland McGrath <roland@hack.frob.com>
22199
22200 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22201 never set.
22202 * configure: Regenerated.
22203
b9de2dde
DM
222042013-01-10 David S. Miller <davem@davemloft.net>
22205
22206 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22207 sparc V9 rather than using V8 code.
22208 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22209 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22210
e7f68ef4
RM
222112013-01-10 Roland McGrath <roland@hack.frob.com>
22212
22213 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22214 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22215 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22216 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22217 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22218 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22219 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22220 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22221 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22222 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22223 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22224 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22225 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22226 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22227 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22228 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22229 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22230 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22231 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22232 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22233 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22234 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22235 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22236 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22237 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22238 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22239 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22240
5a47cc9c
DM
222412013-01-10 David S. Miller <davem@davemloft.net>
22242
22243 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22244
4cf8f209
L
222452013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22246
22247 * posix/Makefile (tests-static): New variable.
22248 (tests): Add $(tests-static).
22249 (tst-exec-static-ARGS): New variable.
22250 (tst-spawn-static-ARGS): Likewise.
22251 * posix/tst-exec-static.c: New file.
22252 * posix/tst-spawn-static.c: Likewise.
22253 * posix/tst-exec.c: Support run directly.
22254 * posix/tst-spawn.c: Likewise.
22255
fed0faa1
JM
222562013-01-10 Joseph Myers <joseph@codesourcery.com>
22257
828beb13
JM
22258 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22259 long.
22260 * math/bits/mathcalls.h (llrint): Likewise.
22261 (llround): Likewise.
22262 * stdlib/stdlib.h (struct drand48_data): Likewise.
22263 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22264 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22265 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22266 Likewise.
22267 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22268 Likewise.
22269 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22270 (elf_greg_t): Likewise.
22271 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22272 (__jmp_buf): Likewise.
22273 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22274 definitions.
22275 (llrint): Likewise, for all definitions.
22276 (llrintl): Likewise.
22277
fed0faa1
JM
22278 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22279 Remove [__GNUC__] condition.
22280 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22281 condition to just [__USE_ISOC99].
22282 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22283
1a20cb20
L
222842013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22285
22286 [BZ #14200]
22287 * sysdeps/unix/sysv/linux/x86/bits/environments.h
22288 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22289 defined.
22290 (_POSIX_V6_ILP32_OFF32): Likewise.
22291 (_XBS5_ILP32_OFF32): Likewise.
22292 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22293 (__ILP32_OFFBIG_LDFLAGS): Likewise.
22294
751b85f7
SP
222952013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22296
7490eb81
SP
22297 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22298
751b85f7
SP
22299 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22300 doubles __mpexp_twomm1. Adjust usage.
22301 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22302 Remove.
22303
988197f0
AS
223042013-01-10 Andreas Schwab <schwab@suse.de>
22305
22306 [BZ #14964]
22307 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22308 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22309
e83d7298
DM
223102013-01-09 David S. Miller <davem@davemloft.net>
22311
034ed64b 22312 [BZ #15003]
57f41c40
AS
22313 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22314 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22315 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22316 (TCP_FASTOPEN): Define.
e83d7298
DM
22317 (tcp_repair_opt): New structure.
22318 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22319 enum values.
57f41c40
AS
22320 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22321 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22322 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
22323 (tcp_cookie_transactions): New structure.
22324
d5e0b9bd
AB
223252013-01-09 Anton Blanchard <anton@samba.org>
22326
22327 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22328 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22329 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22330 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22331
0c07e3ea
JM
223322013-01-09 Joseph Myers <joseph@codesourcery.com>
22333
22334 * include/features.h (__USE_ANSI): Remove.
22335
232f7002
RM
223362013-01-09 Roland McGrath <roland@hack.frob.com>
22337
ad98e30c
RM
22338 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22339
232f7002
RM
22340 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22341
950c99ca
SP
223422013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
22343
b5792741
SP
22344 * sysdeps/s390/fpu/libm-test-ulps: Update.
22345
47cf2278
SP
22346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22347
950c99ca
SP
22348 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22349 (__acr): Likewise.
22350 (__cpy): Likewise.
22351 (norm): Likewise.
22352 (denorm): Likewise.
22353 (__mp_dbl): Likewise.
22354 (__dbl_mp): Likewise.
22355 (add_magnitudes): Likewise.
22356 (sub_magnitudes): Likewise.
22357 (__add): Likewise.
22358 (__sub): Likewise.
22359 (__mul): Likewise.
22360 (__inv): Likewise.
22361 (__dvd): Likewise.
22362 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22363 (__acr): Likewise.
22364 (__cpy): Likewise.
22365 (norm): Likewise.
22366 (denorm): Likewise.
22367 (__mp_dbl): Likewise.
22368 (__dbl_mp): Likewise.
22369 (add_magnitudes): Likewise.
22370 (sub_magnitudes): Likewise.
22371 (__add): Likewise.
22372 (__sub): Likewise.
22373 (__mul): Likewise.
22374 (__inv): Likewise.
22375 (__dvd): Likewise.
22376 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22377 (__acr): Likewise.
22378 (__cpy): Likewise.
22379 (norm): Likewise.
22380 (denorm): Likewise.
22381 (__mp_dbl): Likewise.
22382 (__dbl_mp): Likewise.
22383 (add_magnitudes): Likewise.
22384 (sub_magnitudes): Likewise.
22385 (__add): Likewise.
22386 (__sub): Likewise.
22387 (__mul): Likewise.
22388 (__inv): Likewise.
22389 (__dvd): Likewise.
22390
eede9df9
JM
223912013-01-08 Joseph Myers <joseph@codesourcery.com>
22392
22393 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22394 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22395 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22396 2 && __USE_EXTERN_INLINES]: Likewise.
22397
c40ea3d9
AJ
223982013-01-08 Andreas Jaeger <aj@suse.de>
22399
22400 [BZ# 14985]
22401 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22402 Remove.
22403 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22404 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22405
2ccdea26
AB
224062013-01-07 Anton Blanchard <anton@samba.org>
22407
22408 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22409 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22410 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22411 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22412 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22413 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22414 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22415 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22416 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22417 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22418 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22419 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22420 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22421 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22422 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22423 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22424 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22425 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22426 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22427 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22428 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22429 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22430 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22431 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22432 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22433 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22434 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22435 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22436 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22437 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22438 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22439 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22440 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22441 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22442 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22443 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22444 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22445 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22446 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
22447 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22448 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
22449 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22450 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22451
a9708fed
JM
224522013-01-07 Joseph Myers <joseph@codesourcery.com>
22453
375607b9
JM
22454 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
22455 (__MALLOC_PMT): Likewise.
22456 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
22457 [__GNUC__], only on [_LIBC].
22458 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22459 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
22460 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22461 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
22462 forward declaration.
22463 (realloc_hook_ini): Likewise.
22464 (memalign_hook_ini): Likewise.
22465 (__libc_memalign): Do not use __MALLOC_PMT in variable
22466 declaration.
22467 (__libc_valloc): Likewise.
22468 (__libc_pvalloc): Likewise.
22469 (__libc_calloc): Likewise.
22470 (__posix_memalign): Likewise.
22471
a9708fed
JM
22472 [BZ #14996]
22473 * math/s_casinh.c: Include <float.h>.
22474 (__casinh): Do not do computation with squaring and square root
22475 for large arguments.
22476 * math/s_casinhf.c: Include <float.h>.
22477 (__casinhf): Do not do computation with squaring and square root
22478 for large arguments.
22479 * math/s_casinhl.c: Include <float.h>.
22480 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
22481 (__casinhl): Do not do computation with squaring and square root
22482 for large arguments.
22483 * math/libm-test.inc (casin_test): Add more tests.
22484 (casinh_test): Likewise.
22485 * sysdeps/i386/fpu/libm-test-ulps: Update.
22486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22487
afec409a
L
224882013-01-04 H.J. Lu <hongjiu.lu@intel.com>
22489
22490 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
22491 (__x86_64_raw_data_cache_size): Likewise.
22492 (__x86_64_data_cache_size_half): Likewise.
22493 (__x86_64_raw_data_cache_size_half): Likewise.
22494 (__x86_64_shared_cache_size): Likewise.
22495 (__x86_64_raw_shared_cache_size): Likewise.
22496 (__x86_64_shared_cache_size_half): Likewise.
22497 (__x86_64_raw_shared_cache_size_half): Likewise.
22498 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
22499 to ...
22500 (__x86_data_cache_size): This.
22501 (__x86_64_raw_data_cache_size): Renamed to ...
22502 (__x86_raw_data_cache_size): This.
22503 (__x86_64_data_cache_size_half): Renamed to ...
22504 (__x86_data_cache_size_half): This.
22505 (__x86_64_raw_data_cache_size_half): Renamed to ...
22506 (__x86_raw_data_cache_size_half): This.
22507 (__x86_64_shared_cache_size): Renamed to ...
22508 (__x86_shared_cache_size): This.
22509 (__x86_64_raw_shared_cache_size): Renamed to ...
22510 (__x86_raw_shared_cache_size): This.
22511 (__x86_64_shared_cache_size_half): Renamed to ...
22512 (__x86_shared_cache_size_half): This.
22513 (__x86_64_raw_shared_cache_size_half): Renamed to ...
22514 (__x86_raw_shared_cache_size_half): This.
22515 * sysdeps/x86_64/memcpy.S: Updated.
22516 * sysdeps/x86_64/memset.S: Likewise.
22517 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22518 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22519 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22520
0b3986d0
DM
225212013-01-04 David S. Miller <davem@davemloft.net>
22522
22523 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22524
e47686e9
AS
225252013-01-04 Andreas Schwab <schwab@linux-m68k.org>
22526
d643bac1
AS
22527 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
22528 1 to avoid redefinition warning.
22529 (__USE_GNU): Don't define.
22530 (init_signaling_nan): Protoize.
22531
e47686e9
AS
22532 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22533
b18decba
SP
225342013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22535
fffb407f
SP
22536 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
22537 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
22538 (__cpymn): Likewise.
22539 (norm): Remove commented code.
22540 (denorm): Likewise.
22541 (__mp_dbl): Likewise.
22542 (__inv): Likewise.
22543 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
22544 (__cpymn): Likewise.
22545 (norm): Remove commented code.
22546 (denorm): Likewise.
22547 (__mp_dbl): Likewise.
22548 (__inv): Likewise.
22549
b18decba
SP
22550 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
22551 mp_no value for 1.0 and 2.0.
22552 (norm): Use RADIXI instead of radixi.d.
22553 (denorm): Likewise.
22554 (__mul): Use 0.0 instead of zero.d.
22555 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
22556 mp_no value for 1.0 and 2.0.
22557 (norm): Use RADIXI instead of radixi.d.
22558 (denorm): Likewise.
22559 (__mul): Use 0.0 instead of zero.d.
22560
cdc1c96f
JM
225612013-01-04 Joseph Myers <joseph@codesourcery.com>
22562
22563 [BZ #14994]
22564 * math/s_casinh.c (__casinh): Reduce finite argument to first
22565 quadrant then set signs of results at the end.
22566 * math/s_casinhf.c (__casinhf): Likewise.
22567 * math/s_casinhl.c (__casinhl): Likewise.
22568 * math/libm-test.inc (casin_test): Add more tests.
22569 (casinh_test): Likewise.
22570 * sysdeps/i386/fpu/libm-test-ulps: Update.
22571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22572
302913e1
SP
225732013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22574
6420d207
SP
22575 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
22576
a9e48ab4
SP
22577 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
22578
b7837264
SP
22579 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
22580 declarations.
22581 (denorm): Likewise.
22582 (__mp_dbl): Likewise.
22583 (__inv): Likewise.
22584
f8af25d2
SP
22585 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
22586 and adjust the header comment.
22587
302913e1
SP
22588 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
22589 variable name from declaration.
22590
5d7dd1ca
L
225912013-01-03 H.J. Lu <hongjiu.lu@intel.com>
22592
22593 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22594 Initialize COMMON_CPUID_INDEX_7 element.
22595 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
22596 (CPUID_RTM): Likewise.
22597 (HAS_RTM): Likewise.
22598 (COMMON_CPUID_INDEX_7): New enum.
22599
2f5f40f4
AS
226002013-01-03 Andreas Schwab <schwab@linux-m68k.org>
22601
22602 [BZ #14981]
22603 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
22604 size is zero, record memory as freed.
22605
4056f4a0
AJ
226062013-01-03 Andreas Jaeger <aj@suse.de>
22607
22608 * po/ia.po: Add new Interlingua translation.
22609
ab15736f 226102012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
22611
22612 * locale/programs/localedef.c: Fix description of '--posix' flag.
22613
568035b7
JM
226142013-01-02 Joseph Myers <joseph@codesourcery.com>
22615
e6898b8d
JM
22616 * NEWS: Update dates in second copyright notice.
22617 * README: Update copyright dates in example.
22618 * manual/libc.texinfo: Update copyright dates.
22619 * scripts/test-installation.pl: Update copyright date in --version
22620 output.
22621
0e2f9562
JM
22622 * hurd/ctty-input.c: Fix copyright notice formatting.
22623 * hurd/ctty-output.c: Likewise.
22624 * hurd/dtable.c: Likewise.
22625 * hurd/hurd-raise.c: Likewise.
22626 * hurd/hurdprio.c: Likewise.
22627 * hurd/msgportdemux.c: Likewise.
22628 * misc/sys/file.h: Likewise.
22629 * misc/sys/ioctl.h: Likewise.
22630 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22631 * sysdeps/mach/hurd/chdir.c: Likewise.
22632 * sysdeps/mach/hurd/fchdir.c: Likewise.
22633 * sysdeps/mach/hurd/rename.c: Likewise.
22634 * sysdeps/mach/hurd/rmdir.c: Likewise.
22635 * sysdeps/mach/hurd/seekdir.c: Likewise.
22636 * sysdeps/mach/hurd/setsid.c: Likewise.
22637 * sysdeps/posix/wait3.c: Likewise.
22638
568035b7
JM
22639 * All files with FSF copyright notices: Update copyright dates
22640 using scripts/update-copyrights.
22641 * intl/plural.c: Regenerated.
22642 * locale/programs/charmap-kw.h: Likewise.
22643 * locale/programs/locfile-kw.h: Likewise.
22644
da08f647
SP
226452013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22646
0f5477af
SP
22647 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
22648 four values.
22649
44e0d4c2
SP
22650 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
22651 calculation loop and add branch prediction.
22652
4d55b4e5
SP
22653 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
22654 check access beyond bounds of m1np.
22655
da08f647
SP
22656 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22657 MPTWO.
22658 (__inv): Remove local variable MPTWO to use the global
22659 constant.
22660 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
22661 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22662 variable MPTWO.
22663 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
22664 MP3HALFS static const.
22665
8e051029
DM
226662013-01-01 David S. Miller <davem@davemloft.net>
22667
22668 * po/ca.po: Update from translation team.
22669
f4cf5f2d
JM
226702013-01-01 Joseph Myers <joseph@codesourcery.com>
22671
22672 * scripts/update-copyrights: New file.
22673 * Makeconfig: Reformat copyright notice.
22674 * ctype/ctype.h: Likewise.
22675 * debug/swprintf_chk.c: Likewise.
22676 * elf/dl-cache.c: Likewise.
22677 * elf/dl-debug.c: Likewise.
22678 * elf/dl-object.c: Likewise.
22679 * grp/initgroups.c: Likewise.
22680 * hurd/Makefile: Likewise.
22681 * hurd/hurd/signal.h: Likewise.
22682 * hurd/hurdfault.c: Likewise.
22683 * hurd/hurdioctl.c: Likewise.
22684 * hurd/hurdlookup.c: Likewise.
22685 * hurd/intr-msg.c: Likewise.
22686 * iconv/gconv_open.c: Likewise.
22687 * libio/swprintf.c: Likewise.
22688 * locale/lc-ctype.c: Likewise.
22689 * locale/nl_langinfo.c: Likewise.
22690 * mach/Machrules: Likewise.
22691 * mach/Makefile: Likewise.
22692 * malloc/obstack.h: Likewise.
22693 * manual/Makefile: Likewise.
22694 * manual/tsort.awk: Likewise.
22695 * misc/bits/stab.def: Likewise.
22696 * nis/nis_print_group_entry.c: Likewise.
22697 * nis/nis_table.c: Likewise.
22698 * nis/nss_compat/compat-pwd.c: Likewise.
22699 * nis/nss_compat/compat-spwd.c: Likewise.
22700 * po/Makefile: Likewise.
22701 * posix/fnmatch.c: Likewise.
22702 * posix/regex.h: Likewise.
22703 * resolv/Makefile: Likewise.
22704 * resolv/nss_dns/dns-network.c: Likewise.
22705 * resolv/res_hconf.c: Likewise.
22706 * scripts/gen-sorted.awk: Likewise.
22707 * soft-fp/soft-fp.h: Likewise.
22708 * stdio-common/printf.h: Likewise.
22709 * stdlib/monetary.h: Likewise.
22710 * stdlib/random.c: Likewise.
22711 * stdlib/random_r.c: Likewise.
22712 * sysdeps/generic/Makefile: Likewise.
22713 * sysdeps/gnu/Makefile: Likewise.
22714 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22715 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22716 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22717 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22718 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22719 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22720 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22721 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22722 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22723 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22724 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22725 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22726 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22727 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22728 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
22729 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22730 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22731 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22732 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22733 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22734 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22735 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22736 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22737 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22738 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
22739 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22740 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22741 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
22742 * sysdeps/mach/hurd/errnos.awk: Likewise.
22743 * sysdeps/mach/hurd/fork.c: Likewise.
22744 * sysdeps/mach/hurd/getcwd.c: Likewise.
22745 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
22746 * sysdeps/mach/hurd/mmap.c: Likewise.
22747 * sysdeps/mach/hurd/utimes.c: Likewise.
22748 * sysdeps/mach/hurd/xmknod.c: Likewise.
22749 * sysdeps/posix/profil.c: Likewise.
22750 * sysdeps/posix/readdir_r.c: Likewise.
22751 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22752 * sysdeps/powerpc/bits/setjmp.h: Likewise.
22753 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
22754 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22755 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22756 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22757 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22758 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22759 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22760 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22761 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22762 * sysdeps/pthread/lio_listio.c: Likewise.
22763 * sysdeps/sparc/dl-procinfo.h: Likewise.
22764 * sysdeps/unix/i386/sysdep.S: Likewise.
22765 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
22766 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
22767 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
22768 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
22769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22770 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22771 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22772 * sysdeps/unix/sysv/linux/speed.c: Likewise.
22773 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22774 * sysdeps/wordsize-32/divdi3.c: Likewise.
22775 * time/sys/time.h: Likewise.
22776 * wcsmbs/Makefile: Likewise.
22777
0549fbba
DM
227782013-01-01 David S. Miller <davem@davemloft.net>
22779
a141f1a7
DM
22780 * po/fr.po: Update from translation team.
22781
0549fbba
DM
22782 * catgets/gencat.c: Update copyright year.
22783 * csu/version.c: Likewise.
22784 * debug/catchsegv.sh: Likewise.
22785 * debug/pcprofiledump.c: Likewise.
22786 * debug/xtrace.sh: Likewise.
22787 * elf/ldconfig.c: Likewise.
22788 * elf/ldd.bash.in: Likewise.
22789 * elf/pldd.c: Likewise.
22790 * elf/sotruss.ksh: Likewise.
22791 * elf/sprof.c: Likewise.
22792 * iconv/iconv_prog.c: Likewise.
22793 * iconv/iconvconfig.c: Likewise.
22794 * locale/programs/locale.c: Likewise.
22795 * locale/programs/localedef.c: Likewise.
22796 * login/programs/pt_chown.c: Likewise.
22797 * malloc/memusage.sh: Likewise.
22798 * malloc/memusagestat.c: Likewise.
22799 * malloc/mtrace.pl: Likewise.
22800 * nscd/nscd.c: Likewise.
22801 * nss/getent.c: Likewise.
22802 * nss/makedb.c: Likewise.
22803 * posix/getconf.c: Likewise.
22804
18ea052c
SP
228052012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22806
22807 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
22808 numbers.
22809
9c89fca6
MF
228102012-12-30 Mike Frysinger <vapier@gentoo.org>
22811
22812 * math/bits/mathcalls.h (modf): Use __nonnull.
22813
085ec079
SP
228142012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22815
22816 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
22817 (split): Use macro CN instead of the bare value.
22818 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
22819 could be used.
22820 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
22821 instead of the bare value.
22822 (power1): Likewise.
22823
6d9f97e1
SP
228242012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22825
d63f73be
SP
22826 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
22827 __ATAN_TWOM.
22828 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22829
6d9f97e1
SP
22830 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
22831 their values.
22832 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22833 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22834 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
22835 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22836
4c4febf5
AJ
228372012-12-28 Andreas Jaeger <aj@suse.de>
22838
af5843ef
AJ
22839 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
22840 values are from Linux 3.7.
22841
4c4febf5
AJ
22842 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
22843 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
22844
99136f82
SP
228452012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22846
2f216c3c 22847 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
22848 TRUE case.
22849
99136f82
SP
22850 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
22851 (norm): Likewise.
22852 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
22853 variables with preprocessor constants.
22854 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22855 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22856 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22857
7fffbdff
BH
228582012-12-27 Bruno Haible <bruno@clisp.org>
22859
22860 [BZ #14317]
22861 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
22862 only if needed.
22863
b76eb5f0
SP
228642012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22865
31a7fe5c
SP
22866 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
22867 and use variable directly.
22868 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
22869
b76eb5f0
SP
22870 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22871 MPONE.
22872 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
22873 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22874 variable MPONE.
22875 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22876 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22877 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
22878 include directive. Remove local variable MPONE.
22879 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
22880 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
22881 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22882
2c8bfe7d
DM
228832012-12-25 David S. Miller <davem@davemloft.net>
22884
22885 * version.h (RELEASE): Set to "development".
22886 (VERSION): Set to "2.17.90".
22887 * NEWS: Add 2.18 section.
22888
147d03b0
DM
228892012-12-21 David S. Miller <davem@davemloft.net>
22890
22891 * po/hr.po: Update from translation team.
22892
a8ebb2b9
AK
228932012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22894
22895 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
22896
95b4f1b6
SE
228972012-12-19 Steve Ellcey <sellcey@mips.com>
22898
b2d94007 22899 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 22900
cedb2a90
MS
229012012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22902
22903 * manual/contrib.texi (Contributors): Spelling correction.
22904
bbf527d6
DM
229052012-12-15 David S. Miller <davem@davemloft.net>
22906
22907 * po/ru.po: Update from translation team.
22908
bc38c906
DM
229092012-12-13 David S. Miller <davem@davemloft.net>
22910
85429b1a
DM
22911 * NEWS: Mention IFUNC testsuite enhancements.
22912
d283e353
DM
22913 * po/pl.po: Update from translation team.
22914 * po/bg.po: Likewise.
22915
bc38c906
DM
22916 * manual/contrib.texi (Contributors): Update entries for Hongjiu
22917 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
22918
a181b0d7
DM
229192012-12-11 David S. Miller <davem@davemloft.net>
22920
4641d57e
DM
22921 * po/sv.po: Update from translation team.
22922
f7bc6495
DM
22923 * po/vi.po: Update from translation team.
22924
6fc9048f
DM
22925 * po/cs.po: Update from translation team.
22926
a181b0d7
DM
22927 * po/de.po: Update from translation team.
22928 * po/eo.po: Likewise.
22929 * po/nl.po: Likewise.
22930
f70bfe80
SP
229312012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22932
3c8b4190
SP
22933 [BZ #14246]
22934 * manual/argp.texi (Argp Helper Functions): Move node to follow
22935 Argp Parsing State.
22936
f70bfe80
SP
22937 [BZ #14872]
22938 * manual/conf.texi (Limits on File System Capacity): Mention if
22939 terminating null is included in the max size.
22940
188f0adf
AJ
229412012-12-10 Andreas Jaeger <aj@suse.de>
22942
22943 * po/cs.po: Update from translation team.
22944
56e7d3ad
SP
229452012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22946
22947 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
22948 void pointer and cast to uintptr_t.
22949 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
22950 path.
22951 * sysdeps/s390/s390-64/memcpy.S: Likewise.
22952 * sysdeps/s390/s390-64/memset.S: Likewise.
22953
76f2d2ea 229542012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
22955
22956 [BZ #14833]
22957 * menual/message.texi (Message Translation): Fix typos.
22958 (Helper programs for gettext): Likewise.
22959
67cbf9a2
AS
229602012-12-07 Andreas Schwab <schwab@linux-m68k.org>
22961
22962 [BZ #14898]
22963 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
22964 Change to -1.
22965
682d0e9a
DM
229662012-12-07 David S. Miller <davem@davemloft.net>
22967
22968 * po/libc.pot: Update.
22969
573cd484
RH
229702012-12-07 Richard Henderson <rth@redhat.com>
22971
7e9da188 22972 [BZ #10114]
573cd484
RH
22973 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
22974 normal/normal case to before the switch.
22975 (_FP_DIV): Likewise.
22976
e933a943
MF
229772012-12-06 Carlos O'Donell <carlos@systemhalted.org>
22978 Mike Frysinger <vapier@gentoo.org>
22979
22980 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
22981 check for __NR_fadvise64_64.
22982
82123268
CM
229832012-12-06 Chris Metcalf <cmetcalf@tilera.com>
22984
22985 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
22986 0, not just to plain "0" as a statement.
22987 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
22988 with cw.
22989
d9814526
JM
229902012-12-06 Joseph Myers <joseph@codesourcery.com>
22991
22992 * NEWS: Use sourceware.org in Bugzilla URL.
22993
7728c574
SP
229942012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22995
f16946dd
SP
22996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22997 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22998
5704bbcb
SP
22999 * stdio-common/tst-put-error.c (do_test): Add newline to the
23000 padded test to ensure flush.
23001
17aa0516
JL
230022012-12-05 Jeff Law <law@redhat.com>
23003
23004 * sunrpc/etc.rpc (fedfs_admin): Add entry.
23005
363313b5
JM
230062012-12-05 Joseph Myers <joseph@codesourcery.com>
23007
effbd42a
JM
23008 * README: Don't refer to ports add-on as distributed separately.
23009 Mention AArch64 in list of systems supported in the ports add-on.
23010
87600365
JM
23011 * LICENSES: Add more non-FSF copyright and license notices.
23012
a0d7066a
JM
23013 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23014 ((unused)).
23015
66ca5a5b
JM
23016 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23017
363313b5
JM
23018 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23019 10000 as width of padded output.
23020
b37984ad
JM
230212012-12-04 Joseph Myers <joseph@codesourcery.com>
23022
9003570a
JM
23023 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23024
b37984ad
JM
23025 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23026 variable LX with __attribute__ ((unused)).
23027 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23028 Likewise.
23029 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23030 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23031 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23032 with __attribute__ ((unused)).
23033
c8df52ec
DM
230342012-12-04 David S. Miller <davem@abraco.davemloft.net>
23035
23036 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23037
b3b099af
JM
230382012-12-04 Joseph Myers <joseph@codesourcery.com>
23039
c33aa6e3
JM
23040 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23041 (CFLAGS-nldbl-acos.c): New variable.
23042 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23043 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23044 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23045 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23046 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23047 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23048 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23049 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23050 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23051 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23052 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23053 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23054 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23055 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23056 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23057 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23058 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23059 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23060 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23061 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23062 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23063 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23064 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23065 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23066 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23067 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23068 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23069 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23070 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23071 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23072 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23073 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23074 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23075 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23076 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23077 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23078 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23079 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23080 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23081 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23082 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23083 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23084 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23085 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23086 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23087 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23088 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23089 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23090 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23091 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23092 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23093 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23094 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23095 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23096 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23097 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23098 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23099 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23100 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23101 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23102 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23103 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23104 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23105 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23106 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23107 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23108 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23109 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23110 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23111 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23112 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23113 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23114 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23115 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23116 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23117 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23118 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23119 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23120 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23121 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23122 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23123 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23124 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23125 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23126 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23127 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23128 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23129 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23130 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23131 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23132 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23133 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23134 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23135 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23136 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23137 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23138 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23139
20f0018d
JM
23140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23141 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23142
b3b099af
JM
23143 [BZ #14914]
23144 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23145 whole low double instead of just low 47 bits when splitting values
23146 into two parts.
23147
029264d1
AM
231482012-12-03 Allan McRae <allan@archlinux.org>
23149
23150 * manual/stdio.texi (Predefined Printf Handlers): Remove
23151 @hsep and @vsep usage.
23152
c9d6789e
MF
231532012-12-03 Mike Frysinger <vapier@gentoo.org>
23154
23155 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23156 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23157
4b7634a5
JL
231582012-12-03 Jeff Law <law@redhat.com>
23159
23160 * time/sys/time.h (settimeofday): Do not mark TV argument
23161 as __nonnull.
23162
eb6cbd24
MF
231632012-12-01 Mike Frysinger <vapier@gentoo.org>
23164
23165 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23166 when currently writing and seek to current position when not.
23167 * libio/Makefile (tests): Remove bug-fclose1.
23168 * libio/bug-fclose1.c: Delete.
23169
f638872a
JM
231702012-12-01 Joseph Myers <joseph@codesourcery.com>
23171
23172 * manual/arith.texi (feenableexcept): Fix typo.
23173 (fedisableexcept): Likewise.
23174
48085d14
RM
231752012-11-30 Roland McGrath <roland@hack.frob.com>
23176
23177 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23178 second, differently-typed declaration, rather than a cast.
23179
1a538b9f
SP
231802012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23181
23182 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23183 * include/rpc/svc.h: ... here.
23184
d07f2ff1 231852012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
23186
23187 [BZ #13013]
23188 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23189 depending n and resplen2 to catch cases where answer
23190 equals answerp2.
23191
c93ec1f0
CD
231922012-11-29 Carlos O'Donell <carlos@systemhalted.org>
23193
23194 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23195 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23196
37db69de
MF
231972012-11-29 Mike Frysinger <vapier@gentoo.org>
23198
23199 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23200
e10c4e4f
RM
232012012-11-29 Roland McGrath <roland@hack.frob.com>
23202
23203 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23204
2af1b328
JL
232052012-11-28 Jeff Law <law@redhat.com>
23206
23207 [BZ #13761]
23208 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23209 dataset_temporary. Track alloca usage into alloca_used.
23210 If dataset is large allocate and release it via malloc/free.
23211
111db5b1
FW
232122012-06-04 Florian Weimer <fweimer@redhat.com>
23213
f06cc227 23214 [BZ #14197]
111db5b1
FW
23215 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23216
dd694abd
DM
232172012-11-28 David S. Miller <davem@davemloft.net>
23218
23219 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23220
9984dd01
JM
232212012-11-28 Joseph Myers <joseph@codesourcery.com>
23222
23223 [BZ #14803]
23224 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23225 of pi/2 rounded to nearest to 64 bits.
23226 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23227 nearest to 64 bits.
23228 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23229 bits.
23230
14bc93a9
JL
232312012-11-28 Jeff Law <law@redhat.com>
23232 Martin Osvald <mosvald@redhat.com>
23233
23234 [BZ #14889]
23235 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23236 * sunrpc/svc.c: Include time.h.
23237 (__svc_accept_failed): New function.
23238 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23239 any reason other than EINTR, call __svc_accept_failed.
23240 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23241 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23242
e3c6aa3a
AS
232432012-11-28 Andreas Schwab <schwab@suse.de>
23244
23245 * scripts/abilist.awk: Also handle indirect functions in .opd
23246 section.
23247
1bead169
JM
232482012-11-28 Joseph Myers <joseph@codesourcery.com>
23249
23250 [BZ #13881]
23251 * sysdeps/x86/fpu/powl_helper.c: New file.
23252 * sysdeps/x86/fpu/Makefile: Likewise.
23253 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23254 (p3): New object.
23255 (__ieee754_powl): Use __powl_helper for finite arguments except
23256 integer exponents below 8.
23257 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23258 (p3): New object.
23259 (__ieee754_powl): Use __powl_helper for finite arguments except
23260 integer exponents below 8.
23261 * math/libm-test.inc (pow_test): Add more tests and enable some
23262 previously disabled tests.
23263 * sysdeps/i386/fpu/libm-test-ulps: Update.
23264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23265
0817d63d
SP
232662012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23267 Carlos O'Donell <carlos_odonell@mentor.com>
23268
23269 * nss/makedb.c (is_prime): Assert that input is odd and greater
23270 than 4. Note that fact in a comment too.
23271 (next_prime): Add 4 to input.
23272
de2fd463
SP
232732012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23274
23275 [BZ #11741]
23276 * libio/Makefile (tests): Add test case tst-fwrite-error.
23277 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23278 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23279 * libio/tst-fwrite-error.c: New test case.
23280
c515fb51
L
232812012-11-26 H.J. Lu <hongjiu.lu@intel.com>
23282
23283 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23284 before casting to void *.
23285 * include/libc-internal.h (__pointer_type): New macro.
23286 (__integer_if_pointer_type_sub): Likewise.
23287 (__integer_if_pointer_type): Likewise.
23288 (cast_to_integer): Likewise.
23289 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23290 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23291 before casting to atomic64_t.
23292 (atomic_exchange_acq): Likewise.
23293 (__arch_exchange_and_add_body): Likewise.
23294 (__arch_add_body): Likewise.
23295 (atomic_add_negative): Likewise.
23296 (atomic_add_zero): Likewise.
23297
4cf77aa9
JM
232982012-11-26 Joseph Myers <joseph@codesourcery.com>
23299
23300 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23301 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23302 (add_fdes): Likewise.
23303 (linear_search_fdes): Likewise.
23304 (binary_search_unencoded_fdes): Likewise.
23305
d260b3b4
AS
233062012-11-26 Andreas Schwab <schwab@linux-m68k.org>
23307
23308 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23309
67060746
AC
233102012-11-24 Adam Conrad <adconrad@0c3.net>
23311
23312 * configure.in: Autodetect C++ header directories.
23313 * configure: Regenerated.
23314
800938a1
MF
233152012-11-23 Mike Frysinger <vapier@gentoo.org>
23316
23317 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23318
4e6e34e6
AS
233192012-11-23 Andreas Schwab <schwab@linux-m68k.org>
23320
23321 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23322
7c7feb47
JM
233232012-11-22 Joseph Myers <joseph@codesourcery.com>
23324
7184dcdf
JM
23325 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23326 LDBL_MANT_DIG == 106]: Disable some tests.
23327 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23328 Likewise.
23329 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23330 Likewise.
23331
0a42601f
JM
23332 [BZ #14871]
23333 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23334 input for small inputs. Return +/- pi/2 for large inputs.
23335 * math/libm-test.inc (atan_test): Add more tests.
23336
79c9b9fe
JM
23337 * sysdeps/generic/unwind-dw2-fde-glibc.c
23338 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23339 __attribute__ ((unused)).
23340
c60d3bf2
JM
23341 [BZ #14645]
23342 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23343 x * y if x and y are nonzero and z is zero.
23344
ef1e0867
JM
23345 [BZ #14811]
23346 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23347 nonzero exponents with absolute value below 0x1p-117 to +/-
23348 0x1p-117.
23349
1468ded3
JM
23350 [BZ #14869]
23351 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23352 up arguments below 2**-450, not just those below 2**-500.
23353 * math/libm-test.inc (hypot_test): Add another test.
23354
8e27e3cc
JM
23355 [BZ #14868]
23356 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23357 Return a+b for ratio over 2**120, not 2**60.
23358 * math/libm-test.inc (hypot_test): Add another test.
23359
c9c0279b
JM
23360 * math/libm-test.inc (clog_test): Use
23361 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23362 (clog10_test): Likewise.
23363
7c7feb47
JM
23364 [BZ #6778]
23365 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23366
fff1530e
AS
233672012-11-22 Andreas Schwab <schwab@suse.de>
23368
23369 * sysdeps/i386/fpu/libm-test-ulps: Update.
23370
94558d30
PT
233712012-11-22 Pino Toscano <toscano.pino@tiscali.it>
23372
23373 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23374 printf output with newline.
23375
7e1be741
L
233762012-11-21 H.J. Lu <hongjiu.lu@intel.com>
23377
6bfea974
L
23378 [BZ #14865]
23379 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23380 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23381 -z nodlopen, -z initfirst and -z execstack support.
23382 * configure: Regenerated.
23383
7e1be741
L
23384 * elf/elf.h (DF_1_NODIRECT): New macro.
23385 (DF_1_IGNMULDEF): Likewise.
23386 (DF_1_NOKSYMS): Likewise.
23387 (DF_1_NOHDR): Likewise.
23388 (DF_1_EDITED): Likewise.
23389 (DF_1_NORELOC): Likewise.
23390 (DF_1_SYMINTPOSE): Likewise.
23391 (DF_1_GLOBAUDIT): Likewise.
23392 (DF_1_SINGLETON): Likewise.
23393 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23394 DT_1_SUPPORTED_MASK bits.
23395 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23396
105ce2ce
CD
233972012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
23398
23399 * sysdeps/unix/make-syscalls.sh: Document prefixes.
23400
123be9de
TS
234012012-11-20 Thomas Schwinge <thomas@codesourcery.com>
23402
d072f3f7
TS
23403 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23404 macro.
23405
123be9de
TS
23406 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23407 (sendmmsg): Move declarations...
23408 * socket/sys/socket.h: ... here.
23409 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23410 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23411 include it from...
23412 * socket/recvmmsg.c: ... this new file.
23413 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23414 (sendmmsg): Rename to __sendmmsg, create weak alias and make
23415 definition of __sendmmsg hidden.
23416 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23417 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23418 Move ENOSYS stub into and include it from...
23419 * socket/sendmmsg.c: ... this new file.
23420 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23421 (sysdep_routines): Move recvmmsg and sendmmsg...
23422 * socket/Makefile (routines): ... here.
23423 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23424 (GLIBC_PRIVATE): Add __sendmmsg.
23425 * include/sys/socket.h (__sendmmsg): Add declarations.
23426 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23427 sendmmsg.
23428
cf9a5d18
JM
234292012-11-20 Joseph Myers <joseph@codesourcery.com>
23430
23431 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23432 variable I1 with __attribute__ ((unused)).
23433 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23434
ecd4caf9
JM
234352012-11-19 Joseph Myers <joseph@codesourcery.com>
23436
be14d48f
JM
23437 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23438 DUMMY variables with __attribute__ ((unused)).
23439
ecd4caf9
JM
23440 * bits/byteswap.h: Include <bits/types.h>.
23441 (__bswap_64): Use __uint64_t instead of unsigned long long int.
23442
986cab95
PT
234432012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23444
23445 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
23446 string_t. Do not manually set errno.
23447 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
23448 length with __strnlen. Make sure to both set errno and return it on
23449 failure.
23450
6d33cc9d
DM
234512012-11-19 David S. Miller <davem@davemloft.net>
23452
23453 With help from Joseph Myers.
23454 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
23455 very large arguments properly.
23456 * math/libm-test.inc (atan_test): New tests.
23457 (atan2_test): New tests.
23458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23459 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23460
ee663277
JM
234612012-11-19 Joseph Myers <joseph@codesourcery.com>
23462
877f2d8e
JM
23463 [BZ #14856]
23464 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
23465 Define to 3.
23466
116fc08a
JM
23467 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
23468 [POSIX] (EADDRNOTAVAIL): Likewise.
23469 [POSIX] (EAFNOSUPPORT): Likewise.
23470 [POSIX] (EALREADY): Likewise.
23471 [POSIX] (ECONNABORTED): Likewise.
23472 [POSIX] (ECONNREFUSED): Likewise.
23473 [POSIX] (ECONNRESET): Likewise.
23474 [POSIX] (EDESTADDRREQ): Likewise.
23475 [POSIX] (EDQUOT): Likewise.
23476 [POSIX] (EHOSTUNREACH): Likewise.
23477 [POSIX] (EIDRM): Likewise.
23478 [POSIX] (EISCONN): Likewise.
23479 [POSIX] (ELOOP): Likewise.
23480 [POSIX] (EMULTIHOP): Likewise.
23481 [POSIX] (ENETDOWN): Likewise.
23482 [POSIX] (ENETUNREACH): Likewise.
23483 [POSIX] (ENOBUFS): Likewise.
23484 [POSIX] (ENODATA): Likewise.
23485 [POSIX] (ENOLINK): Likewise.
23486 [POSIX] (ENOMSG): Likewise.
23487 [POSIX] (ENOPROTOOPT): Likewise.
23488 [POSIX] (ENOSR): Likewise.
23489 [POSIX] (ENOSTR): Likewise.
23490 [POSIX] (ENOTCONN): Likewise.
23491 [POSIX] (ENOTSOCK): Likewise.
23492 [POSIX] (EOPNOTSUPP): Likewise.
23493 [POSIX] (EOVERFLOW): Likewise.
23494 [POSIX] (EPROTO): Likewise.
23495 [POSIX] (EPROTONOSUPPORT): Likewise.
23496 [POSIX] (EPROTOTYPE): Likewise.
23497 [POSIX] (ESTALE): Likewise.
23498 [POSIX] (ETIME): Likewise.
23499 [POSIX] (ETXTBSY): Likewise.
23500 [POSIX] (EWOULDBLOCK): Likewise.
23501 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
23502 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
23503 [POSIX] (SEEK_CUR): Likewise.
23504 [POSIX] (SEEK_END): Likewise.
23505 [POSIX || UNIX98] (mode_t): Do not require.
23506 [POSIX] (off_t): Likewise.
23507 [POSIX] (pid_t): Likewise.
23508 [POSIX] (sys/stat.h): Do not allow header.
23509 [POSIX] (unistd.h): Likewise.
23510 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
23511 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
23512 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
23513 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
23514 require.
23515 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
23516 sigevent): Specify elements.
23517 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
23518 entry.
23519 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
23520 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
23521
a483863f
JM
23522 * conform/data/cpio.h-data [POSIX]: Disable whole file.
23523 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
23524 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
23525 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
23526 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
23527 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
23528 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
23529 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
23530 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
23531 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
23532 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
23533 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
23534 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
23535 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
23536 Likewise.
23537 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
23538 Likewise.
23539 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
23540 Likewise.
23541 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
23542 Likewise.
23543 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
23544 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
23545 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
23546 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
23547 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
23548 Specify lower bound on value.
23549 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
23550 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
23551 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
23552 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
23553 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
23554 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
23555 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
23556 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
23557 value.
23558 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
23559 as optional.
23560 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
23561 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
23562 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
23563 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
23564 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
23565 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
23566 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
23567 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
23568 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
23569 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
23570 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
23571 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
23572 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
23573 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
23574 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
23575 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
23576 entry.
23577 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
23578 optional.
23579 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
23580 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
23581 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
23582 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
23583 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
23584 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
23585 Likewise.
23586 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
23587 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
23588 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
23589 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
23590 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
23591 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
23592 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
23593 as optional.
23594 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
23595 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
23596 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
23597 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
23598 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
23599 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
23600 specify as optional.
23601 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
23602 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
23603 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
23604 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
23605 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
23606 [XPG3] (NL_LANGMAX): Likewise.
23607 [POSIX || XPG3] (NL_MSGMAX): Likewise.
23608 [POSIX || XPG3] (NL_NMAX): Likewise.
23609 [POSIX || XPG3] (NL_SETMAX): Likewise.
23610 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
23611 [XPG3] (NZERO): Likewise.
23612 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
23613 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
23614 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
23615 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
23616 (REG_ERANGE): Expect.
23617 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
23618 optional-constant.
23619 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
23620 Use (void) in prototype.
23621 [POSIX] (*_t): Allow.
23622 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
23623 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
23624 (WRDE_BADVAL): Expect.
23625
5ba924e3
JM
23626 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
23627 expect.
23628 [XPG3 || XPG4] (O_RSYNC): Likewise.
23629 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
23630 Likewise.
23631 [XPG3 || XPG4] (pthread_sigmask): Likewise.
23632 [XPG3 || XPG4] (sigqueue): Likewise.
23633 [XPG3 || XPG4] (sigtimedwait): Likewise.
23634 [XPG3 || XPG4] (sigwaitinfo): Likewise.
23635 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
23636 [XPG3 || XPG4] (vsnprintf): Likewise.
23637 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
23638 Likewise.
23639 [XPG3 || XPG4] (blksize_t): Likewise.
23640 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
23641 Likewise.
23642 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
23643 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23644 [XPG3 || XPG4] (struct itimerspec): Likewise.
23645 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
23646 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
23647 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
23648 [XPG3 || XPG4] (clockid_t): Likewise.
23649 [XPG3 || XPG4] (timer_t): Likewise.
23650 [XPG3 || XPG4] (clock_getres): Likewise.
23651 [XPG3 || XPG4] (clock_gettime): Likewise.
23652 [XPG3 || XPG4] (clock_settime): Likewise.
23653 [XPG3 || XPG4] (nanosleep): Likewise.
23654 [XPG3 || XPG4] (timer_create): Likewise.
23655 [XPG3 || XPG4] (timer_delete): Likewise.
23656 [XPG3 || XPG4] (timer_gettime): Likewise.
23657 [XPG3 || XPG4] (timer_getoverrun): Likewise.
23658 [XPG3 || XPG4] (timer_settime): Likewise.
23659 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
23660 [XPG3 || XPG4] (getlogin_r): Likewise.
23661 [XPG3 || XPG4] (pread): Likewise.
23662 [XPG3 || XPG4] (pthread_atfork): Likewise.
23663 [XPG3 || XPG4] (pwrite): Likewise.
23664
ee663277
JM
23665 [BZ #14835]
23666 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
23667 <bits/siginfo.h>.
23668
942caa16
PT
236692012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23670
e19af380
PT
23671 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
23672 finalizing MALLSTREAM.
23673
942caa16
PT
23674 * sysdeps/mach/hurd/syncfs.c: New file.
23675
cfde9b46
SP
236762012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23677
23678 [BZ #14719]
23679 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
23680 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
23681 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
23682 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
23683 (_nss_dns_gethostbyname4_r): Likewise.
23684 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
23685 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
23686
f6da27e5
PH
236872012-11-19 Peng Haitao <penght@cn.fujitsu.com>
23688
23689 [BZ #13763]
23690 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
23691
6665d4a2
SM
236922012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
23693
1f51ee92
SM
23694 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
23695 * elf/cache.c (print_entry): Print ",AArch64" for
23696 FLAG_AARCH64_LIB64
23697
6665d4a2
SM
23698 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
23699 * elf/cache.c (print_entry): Print ",hard-float" for
23700 FLAG_ARM_LIBHF.
23701
05b227bd
DM
237022012-11-18 David S. Miller <davem@davemloft.net>
23703
23704 With help from Joseph Myers.
23705 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
23706 cutoff to 2**-13.
23707 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
23708 cutoff to 2**-25.
23709 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
23710 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
23711 small.
23712 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
23713 * math/libm-test.inc (y0_test): New tests.
23714 (y1_test): New tests.
23715 * sysdeps/i386/fpu/libm-test-ulps: Update.
23716 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23718
786b0b67
AS
237192012-11-18 Andreas Schwab <schwab@linux-m68k.org>
23720
23721 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
23722 64-bit targets.
23723 * configure: Regenerated.
23724
8e18b86d
DM
237252012-11-17 David S. Miller <davem@davemloft.net>
23726
23727 [BZ #14811]
23728 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
23729 nonzero exponents with absolute value below 0x1p-128 to +/-
23730 0x1p-128.
23731
531f1ae0
JM
237322012-11-17 Joseph Myers <joseph@codesourcery.com>
23733
12df29e2
JM
23734 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
23735
150dc1a0
JM
23736 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
23737
531f1ae0
JM
23738 * posix/getconf-speclist.c: New file.
23739 * posix/posix-envs.def: Likewise.
23740 * posix/confstr.c (START_ENV_GROUP): New macro.
23741 (END_ENV_GROUP): Likewise.
23742 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23743 (KNOWN_PRESENT_ENV_STRING): Likewise.
23744 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23745 (UNKNOWN_ENVIRONMENT): Likewise.
23746 (confstr): Include posix-envs.def instead of handling
23747 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
23748 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
23749 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
23750 (END_ENV_GROUP): Likewise.
23751 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23752 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23753 (UNKNOWN_ENVIRONMENT): Likewise.
23754 (__sysconf): Include posix-envs.def instead of handling associated
23755 cases directly here.
23756 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
23757 preprocessing getconf-speclist.c rather than running getconf or
23758 generating empty file.
23759
a93f9cbc
PT
237602012-11-16 Pino Toscano <toscano.pino@tiscali.it>
23761
23762 * scripts/check-local-headers.sh: Ignore 'mach' headers.
23763
d64d9f87
AL
237642012-11-16 Andrej Lajovic <natrij@gmail.com>
23765
23766 [BZ #14672]
23767 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
23768
447885eb
DM
237692012-11-16 David S. Miller <davem@davemloft.net>
23770
23771 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
23772 smaller than LDBL_EPSILON/2.0L, just return xm1.
23773
bcbf9830
L
237742012-11-16 H.J. Lu <hongjiu.lu@intel.com>
23775
23776 * elf/tst-array1.c (init): Set constructor priority to 1000.
23777 (fini): Set destructor priority to 1000.
23778 * elf/tst-array2dep.c: Likewise.
23779
2b766585
SP
237802012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23781
23782 [BZ #11741]
23783 * libio/fileops.c (_IO_new_file_write): Correctly return error.
23784 (_IO_new_file_xsputn): Also return EOF if none of the input
23785 data was written when overflow failed.
23786 * libio/iopadn.c (_IO_padn): Likewise.
23787 * libio/iowpadn.c (_IO_wpadn): Likewise.
23788 * stdio-common/tst-put-error.c: Add copyright notice.
23789 (do_test): Add case for printing padded string.
23790 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
23791 _IO_padn returned error.
23792 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
23793 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
23794 return EOF.
23795
b1848fde
SP
237962012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23797
23798 * libio/libioP.h: Add comment note that the references to C++
23799 bits are now obsolete.
23800
2fd89785
MS
238012012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23802
23803 * math/libm-test.inc (check_complex): Use asprintf.
23804
e3ea5409
JM
238052012-11-14 Joseph Myers <joseph@codesourcery.com>
23806
23807 * debug/pcprofiledump.c (print_version): Update copyright year.
23808 * malloc/memusagestat.c (print_version): Likewise.
23809
2e64d265
L
238102012-11-14 H.J. Lu <hongjiu.lu@intel.com>
23811
23812 [BZ #14831]
23813 * elf/Makefile (tests): Add tst-audit8.
23814 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
23815 ($(objpfx)tst-audit8.out): New target.
23816 (tst-audit8-ENV): New variable.
23817 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
23818 audit if l_reloc_result is NULL.
23819 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
23820 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
23821 * elf/tst-audit8.c: New file.
23822
c485e4d2
MS
238232012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23824
23825 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
23826 * misc/Makefile (CFLAGS-select.c): Define.
23827 * posix/Makefile (CFLAGS-pause.c): Define.
23828
3a0d900a
DM
238292012-11-13 David S. Miller <davem@davemloft.net>
23830
23831 * crypt/Makefile: Move test targets after toplevel Rules
23832 inclusion. Grab any necessary sysdep routines when linking.
23833 * crypt/md5.c (md5_process_block): Remove define, we will always
23834 name it __md5_process_block.
23835 (md5_finish_ctx): Update md5_process_block call.
23836 (md5_stream): Likewise.
23837 (md5_process_bytes): Likewise.
23838 (md5_process_block): Rename to __md5_process_block and move to ...
23839 * crypt/md5-block.c: ... here.
23840 * crypt/sha256.c (sha256_process_block): Move to ...
23841 * crypt/sha256-block.c: ... here.
23842 * crypt/sha512.c (sha512_process_block): Move to ...
23843 * crypt/sha512-block.c: ... here.
23844 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
23845 path.
23846 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
23847 * sysdeps/sparc/sparc64/multiarch/Makefile
23848 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
23849 crypt subdir.
23850 (localedef-aux): Add md5 crypto assembler when in locale subdir.
23851 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
23852 multiarch changes.
23853 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
23854 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
23855 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
23856 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
23857 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
23858 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
23859 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
23860 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
23861 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
23862 file.
23863 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
23864 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
23865 file.
23866 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
23867
8ca89318
JM
238682012-11-13 Joseph Myers <joseph@codesourcery.com>
23869
e27d476a
JM
23870 * timezone/tzselect.ksh: Update from tzcode git revision
23871 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
23872 * timezone/zdump.c: Likewise.
23873 * timezone/zic.c: Likewise.
23874 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
23875 in TZVERSION setting, not $(PKGVERSION).
23876 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
23877 REPORT_BUGS_TO settings.
23878
8ca89318
JM
23879 [BZ #14838]
23880 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
23881 macro.
23882
47594329
MS
238832012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23884
23885 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
23886 detection to immediately after _FP_ROUND().
23887 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
23888 bits are 0.
23889
640ac3f1
DM
238902012-11-11 David S. Miller <davem@davemloft.net>
23891
23892 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
23893 inttypes.h
23894 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
23895 __close rather than their public counterparts.
23896
3d2577bb
JM
238972012-11-10 Joseph Myers <joseph@codesourcery.com>
23898
23899 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
23900 file.
23901 [UNIX98] (sem_timedwait): Do not expect.
23902 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
23903 [XPG4 || UNIX98] (sockatmark): Do not expect.
23904 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
23905 (clock_getcpuclockid): Do not expect.
23906 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
23907 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
23908 Do not expect.
23909 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
23910 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
23911 [UNIX98] (vwscanf): Likewise.
23912 [UNIX98] (vswscanf): Likewise.
23913
fb1ae1ee
JM
239142012-11-09 Joseph Myers <joseph@codesourcery.com>
23915
9ec6f8bd
JM
23916 * timezone/version.h: Remove file.
23917 * timezone/README: Do not refer to version.h.
23918 * timezone/Makefile ($(objpfx)zic.o): New dependency on
23919 $(objpfx)version.h.
23920 ($(objpfx)zdump.o): Likewise.
c3f81911 23921 ($(objpfx)version.h): New target.
9ec6f8bd 23922
0aa8f8a1
JM
23923 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
23924 2012i.
23925 * timezone/README: Don't mention modification to tzselect.ksh.
23926 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
23927 work on unmodified tzselect.ksh. Substitute version numbers in
23928 tzselect.ksh.
23929
4e87147f
JM
23930 * Makefile (format-me): Remove.
23931 (INSTALL): Adjust indentation. Use commands directly instead of
23932 using $(format-me).
23933
8b748aed
JM
23934 * aclocal.m4 (ACX_PKGVERSION): New macro.
23935 (ACX_BUGURL): Likewise.
23936 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
23937 (PKGVERSION): New AC_DEFINE_UNQUOTED.
23938 (REPORT_BUGS_TO): Likewise.
23939 * configure: Regenerated.
23940 * config.h.in (PKGVERSION): New macro.
23941 (REPORT_BUGS_TO): Likewise.
23942 * config.make.in (PKGVERSION): New variable.
23943 (PKGVERSION_TEXI): Likewise.
23944 (REPORT_BUGS_TO): Likewise.
23945 (REPORT_BUGS_TEXI): Likewise.
23946 * Makefile (format-me): Use -I$(common-objpfx)manual.
23947 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
23948 ($(common-objpfx)manual/%): New target.
23949 (manual/%): Remove target.
23950 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
23951 (print_version): Use PKGVERSION.
23952 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
23953 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
23954 and REPORT_BUGS_TO.
23955 ($(objpfx)xtrace): Likewise.
23956 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
23957 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
23958 (print_version): Use PKGVERSION.
23959 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
23960 (do_version): Use PKGVERSION.
23961 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
23962 REPORT_BUGS_TO.
23963 (common-ldd-rewrite): Likewise.
23964 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
23965 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
23966 (print_version): Use PKGVERSION.
23967 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
23968 * elf/pldd.c (argp_program_bug_address): Remove variable.
23969 (more_help): New function.
23970 (argp): Use more_help.
23971 (print_version): Use PKGVERSION.
23972 * elf/sln.c (main): Use PKGVERSION.
23973 (usage): Use REPORT_BUGS_TO.
23974 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
23975 (top level): Use PKGVERSION.
23976 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
23977 (print_version): Use PKGVERSION.
23978 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
23979 (print_version): Use PKGVERSION.
23980 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
23981 (print_version): Use PKGVERSION.
23982 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
23983 (print_version): Use PKGVERSION.
23984 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
23985 (print_version): Use PKGVERSION.
23986 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
23987 (print_version): Use PKGVERSION.
23988 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
23989 and BUGURL.
23990 ($(objpfx)memusage): Likewise.
23991 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
23992 (do_version): Use PKGVERSION.
23993 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
23994 (print_version): Use PKGVERSION.
23995 * malloc/mtrace.pl ($PACKAGE): Remove variable.
23996 ($PKGVERSION): New variable.
23997 ($REPORT_BUGS_TO): Likewise.
23998 (usage): Use $REPORT_BUGS_TO.
23999 (top level): Use $PKGVERSION.
24000 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24001 ($(objpfx)pkgvers.texi): New rule.
24002 ($(objpfx)stamp-pkgvers): Likewise.
24003 * manual/install.texi: Include pkgvers.texi.
24004 (--with-pkgversion): Document new configure option.
24005 (--with-bugurl): Likewise.
24006 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24007 than necessarily for this particular distribution. Use
24008 REPORT_BUGS_TO for where to report bugs.
24009 * INSTALL: Regenerated.
24010 * manual/libc.texinfo: Include pkgvers.texi.
24011 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24012 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24013 (print_version): Use PKGVERSION.
24014 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24015 (print_version): Use PKGVERSION.
24016 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24017 (print_version): Use PKGVERSION.
24018 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24019 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24020 macro.
24021 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24022 (print_version): Use PKGVERSION.
24023 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24024 (print_version): Use PKGVERSION.
24025 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24026 and PKGVERSION.
24027
92e4b6a9
JM
24028 * timezone/checktab.awk: Update from tzcode 2012i.
24029 * timezone/ialloc.c: Likewise.
24030 * timezone/private.h: Likewise.
24031 * timezone/scheck.c: Likewise.
24032 * timezone/tzfile.h: Likewise.
24033 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24034 (TZVERSION): Hardcode tzcode version number.
24035 * timezone/zdump.c: Update from tzcode 2012i.
24036 * timezone/zic.c: Likewise.
24037 * timezone/version.h: New file.
24038 * timezone/README: Describe version.h. Update upstream location.
24039
9bde902c
JM
24040 [BZ #14824]
24041 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24042 (mktemp): Enable declaration.
24043 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24044 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24045 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24046 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24047 Likewise.
24048 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24049 Likewise.
24050 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24051 Likewise.
24052 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24053 Likewise.
24054 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24055 Likewise.
24056 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24057 Likewise.
24058
fb1ae1ee
JM
24059 [BZ #14821]
24060 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24061 offset in buffer as u_int32_t not u_long. Consistently use memcpy
24062 for copies of such integer values.
24063 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24064 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24065
2c1adbcb
AJ
240662012-11-09 Andreas Jaeger <aj@suse.de>
24067
24068 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24069 definitions and declarations that are provided by
24070 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24071
d0f8457e
AK
240722012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24073
3a235abb 24074 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
24075 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24076 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24077 definition.
24078
57241e26
MS
240792012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24080
24081 * elf/elf.h: Update comment before AArch64 relocations.
24082
60e8270d
DM
240832012-11-07 David S. Miller <davem@davemloft.net>
24084
24085 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24086 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24087 (__start_context): Declare.
24088 (__makecontext_ret): Delete.
24089 (__makecontext): Hook up __start_context instead of
24090 __makecontext_ret.
24091 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24092 (sysdep_routines): Add __start_context when in stdlib.
24093
0fbb0fbc
JM
240942012-11-07 Joseph Myers <joseph@codesourcery.com>
24095
24096 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24097 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24098 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
24099 hardcoded "nm".
24100 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
24101 (READELF): New variable. Use it instead of hardcoded "readelf".
24102
eb48db7e
L
241032012-11-07 H.J. Lu <hongjiu.lu@intel.com>
24104
24105 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24106 * sysdeps/x86/Makefile: Here.
24107 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24108 * sysdeps/x86/tst-xmmymm.sh: This.
24109
05bcf62a
JM
241102012-11-07 Joseph Myers <joseph@codesourcery.com>
24111
c4b6cf53
JM
24112 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24113 expectations.
24114 [UNIX98] (pthread_barrier_t): Do not expect.
24115 [UNIX98] (pthread_barrierattr_t): Likewise.
24116 [UNIX98] (pthread_spinlock_t): Likewise.
24117 [UNIX98] (pthread_barrier_destroy): Likewise.
24118 [UNIX98] (pthread_barrier_init): Likewise.
24119 [UNIX98] (pthread_barrier_wait): Likewise.
24120 [UNIX98] (pthread_barrierattr_destroy): Likewise.
24121 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24122 [UNIX98] (pthread_barrierattr_init): Likewise.
24123 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24124 [UNIX98] (pthread_getcpuclockid): Likewise.
24125 [UNIX98] (pthread_mutex_timedlock): Likewise.
24126 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24127 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24128 [UNIX98] (pthread_sigmask): Likewise.
24129 [UNIX98] (pthread_spin_destroy): Likewise.
24130 [UNIX98] (pthread_spin_init): Likewise.
24131 [UNIX98] (pthread_spin_lock): Likewise.
24132 [UNIX98] (pthread_spin_trylock): Likewise.
24133 [UNIX98] (pthread_spin_unlock): Likewise.
24134 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24135 Do not expect.
24136 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24137 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24138 [XPG3 || XPG4] (pthread_cond_t): Likewise.
24139 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24140 [XPG3 || XPG4] (pthread_key_t): Likewise.
24141 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24142 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24143 [XPG3 || XPG4] (pthread_once_t): Likewise.
24144 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24145 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24146 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24147 [XPG3 || XPG4] (pthread_t): Likewise.
24148
cbe6e120
JM
24149 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24150 not expect.
24151 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24152
1b126443
JM
24153 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24154 Change function return type to int.
24155
b961a573
JM
24156 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24157 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24158 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24159 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24160 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24161 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24162 [!POSIX] (posix_madvise): Likewise.
24163 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24164 && !UNIX98].
24165 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24166 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24167 (mode_t): Likewise.
24168 (posix_mem_offset): Likewise.
24169 (posix_typed_mem_get_info): Likewise.
24170 (posix_typed_mem_open): Likewise.
24171
9e188909
JM
24172 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24173 Change condition to [XOPEN2K8].
24174
05bcf62a
JM
24175 * conform/conformtest.pl: Preprocess allow-header data with -x c
24176 instead of from stdin.
24177 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24178 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24179 [C99-based standards] (cerfc): Likewise.
24180 [C99-based standards] (cexp2): Likewise.
24181 [C99-based standards] (cexpm1): Likewise.
24182 [C99-based standards] (clog10): Likewise.
24183 [C99-based standards] (clog1p): Likewise.
24184 [C99-based standards] (clog2): Likewise.
24185 [C99-based standards] (clgamma): Likewise.
24186 [C99-based standards] (ctgamma): Likewise.
24187 [C99-based standards] (cerff): Likewise.
24188 [C99-based standards] (cerfcf): Likewise.
24189 [C99-based standards] (cexp2f): Likewise.
24190 [C99-based standards] (cexpm1f): Likewise.
24191 [C99-based standards] (clog10f): Likewise.
24192 [C99-based standards] (clog1pf): Likewise.
24193 [C99-based standards] (clog2f): Likewise.
24194 [C99-based standards] (clgammaf): Likewise.
24195 [C99-based standards] (ctgammaf): Likewise.
24196 [C99-based standards] (cerfl): Likewise.
24197 [C99-based standards] (cerfcl): Likewise.
24198 [C99-based standards] (cexp2l): Likewise.
24199 [C99-based standards] (cexpm1l): Likewise.
24200 [C99-based standards] (clog10l): Likewise.
24201 [C99-based standards] (clog1pl): Likewise.
24202 [C99-based standards] (clog2l): Likewise.
24203 [C99-based standards] (clgammal): Likewise.
24204 [C99-based standards] (ctgammal): Likewise.
24205 * conform/data/inttypes.h-data [C99-based standards]: Include
24206 stdint.h-data. Remove all expectations for stdint.h contents.
24207 [C99-based standards] (PRI*): Do not allow.
24208 [C99-based standards] (SCN*): Likewise.
24209 [C99-based standards] (*_t): Likewise.
24210 [C99-based-standards] (PRId8): Expect macro.
24211 [C99-based-standards] (PRIi8): Likewise.
24212 [C99-based-standards] (PRIo8): Likewise.
24213 [C99-based-standards] (PRIu8): Likewise.
24214 [C99-based-standards] (PRIx8): Likewise.
24215 [C99-based-standards] (PRIX8): Likewise.
24216 [C99-based-standards] (SCNd8): Likewise.
24217 [C99-based-standards] (SCNi8): Likewise.
24218 [C99-based-standards] (SCNo8): Likewise.
24219 [C99-based-standards] (SCNu8): Likewise.
24220 [C99-based-standards] (SCNx8): Likewise.
24221 [C99-based-standards] (PRIdLEAST8): Likewise.
24222 [C99-based-standards] (PRIiLEAST8): Likewise.
24223 [C99-based-standards] (PRIoLEAST8): Likewise.
24224 [C99-based-standards] (PRIuLEAST8): Likewise.
24225 [C99-based-standards] (PRIxLEAST8): Likewise.
24226 [C99-based-standards] (PRIXLEAST8): Likewise.
24227 [C99-based-standards] (SCNdLEAST8): Likewise.
24228 [C99-based-standards] (SCNiLEAST8): Likewise.
24229 [C99-based-standards] (SCNoLEAST8): Likewise.
24230 [C99-based-standards] (SCNuLEAST8): Likewise.
24231 [C99-based-standards] (SCNxLEAST8): Likewise.
24232 [C99-based-standards] (PRIdFAST8): Likewise.
24233 [C99-based-standards] (PRIiFAST8): Likewise.
24234 [C99-based-standards] (PRIoFAST8): Likewise.
24235 [C99-based-standards] (PRIuFAST8): Likewise.
24236 [C99-based-standards] (PRIxFAST8): Likewise.
24237 [C99-based-standards] (PRIXFAST8): Likewise.
24238 [C99-based-standards] (SCNdFAST8): Likewise.
24239 [C99-based-standards] (SCNiFAST8): Likewise.
24240 [C99-based-standards] (SCNoFAST8): Likewise.
24241 [C99-based-standards] (SCNuFAST8): Likewise.
24242 [C99-based-standards] (SCNxFAST8): Likewise.
24243 [C99-based-standards] (PRId16): Likewise.
24244 [C99-based-standards] (PRIi16): Likewise.
24245 [C99-based-standards] (PRIo16): Likewise.
24246 [C99-based-standards] (PRIu16): Likewise.
24247 [C99-based-standards] (PRIx16): Likewise.
24248 [C99-based-standards] (PRIX16): Likewise.
24249 [C99-based-standards] (SCNd16): Likewise.
24250 [C99-based-standards] (SCNi16): Likewise.
24251 [C99-based-standards] (SCNo16): Likewise.
24252 [C99-based-standards] (SCNu16): Likewise.
24253 [C99-based-standards] (SCNx16): Likewise.
24254 [C99-based-standards] (PRIdLEAST16): Likewise.
24255 [C99-based-standards] (PRIiLEAST16): Likewise.
24256 [C99-based-standards] (PRIoLEAST16): Likewise.
24257 [C99-based-standards] (PRIuLEAST16): Likewise.
24258 [C99-based-standards] (PRIxLEAST16): Likewise.
24259 [C99-based-standards] (PRIXLEAST16): Likewise.
24260 [C99-based-standards] (SCNdLEAST16): Likewise.
24261 [C99-based-standards] (SCNiLEAST16): Likewise.
24262 [C99-based-standards] (SCNoLEAST16): Likewise.
24263 [C99-based-standards] (SCNuLEAST16): Likewise.
24264 [C99-based-standards] (SCNxLEAST16): Likewise.
24265 [C99-based-standards] (PRIdFAST16): Likewise.
24266 [C99-based-standards] (PRIiFAST16): Likewise.
24267 [C99-based-standards] (PRIoFAST16): Likewise.
24268 [C99-based-standards] (PRIuFAST16): Likewise.
24269 [C99-based-standards] (PRIxFAST16): Likewise.
24270 [C99-based-standards] (PRIXFAST16): Likewise.
24271 [C99-based-standards] (SCNdFAST16): Likewise.
24272 [C99-based-standards] (SCNiFAST16): Likewise.
24273 [C99-based-standards] (SCNoFAST16): Likewise.
24274 [C99-based-standards] (SCNuFAST16): Likewise.
24275 [C99-based-standards] (SCNxFAST16): Likewise.
24276 [C99-based-standards] (PRId32): Likewise.
24277 [C99-based-standards] (PRIi32): Likewise.
24278 [C99-based-standards] (PRIo32): Likewise.
24279 [C99-based-standards] (PRIu32): Likewise.
24280 [C99-based-standards] (PRIx32): Likewise.
24281 [C99-based-standards] (PRIX32): Likewise.
24282 [C99-based-standards] (SCNd32): Likewise.
24283 [C99-based-standards] (SCNi32): Likewise.
24284 [C99-based-standards] (SCNo32): Likewise.
24285 [C99-based-standards] (SCNu32): Likewise.
24286 [C99-based-standards] (SCNx32): Likewise.
24287 [C99-based-standards] (PRIdLEAST32): Likewise.
24288 [C99-based-standards] (PRIiLEAST32): Likewise.
24289 [C99-based-standards] (PRIoLEAST32): Likewise.
24290 [C99-based-standards] (PRIuLEAST32): Likewise.
24291 [C99-based-standards] (PRIxLEAST32): Likewise.
24292 [C99-based-standards] (PRIXLEAST32): Likewise.
24293 [C99-based-standards] (SCNdLEAST32): Likewise.
24294 [C99-based-standards] (SCNiLEAST32): Likewise.
24295 [C99-based-standards] (SCNoLEAST32): Likewise.
24296 [C99-based-standards] (SCNuLEAST32): Likewise.
24297 [C99-based-standards] (SCNxLEAST32): Likewise.
24298 [C99-based-standards] (PRIdFAST32): Likewise.
24299 [C99-based-standards] (PRIiFAST32): Likewise.
24300 [C99-based-standards] (PRIoFAST32): Likewise.
24301 [C99-based-standards] (PRIuFAST32): Likewise.
24302 [C99-based-standards] (PRIxFAST32): Likewise.
24303 [C99-based-standards] (PRIXFAST32): Likewise.
24304 [C99-based-standards] (SCNdFAST32): Likewise.
24305 [C99-based-standards] (SCNiFAST32): Likewise.
24306 [C99-based-standards] (SCNoFAST32): Likewise.
24307 [C99-based-standards] (SCNuFAST32): Likewise.
24308 [C99-based-standards] (SCNxFAST32): Likewise.
24309 [C99-based-standards] (PRId64): Likewise.
24310 [C99-based-standards] (PRIi64): Likewise.
24311 [C99-based-standards] (PRIo64): Likewise.
24312 [C99-based-standards] (PRIu64): Likewise.
24313 [C99-based-standards] (PRIx64): Likewise.
24314 [C99-based-standards] (PRIX64): Likewise.
24315 [C99-based-standards] (SCNd64): Likewise.
24316 [C99-based-standards] (SCNi64): Likewise.
24317 [C99-based-standards] (SCNo64): Likewise.
24318 [C99-based-standards] (SCNu64): Likewise.
24319 [C99-based-standards] (SCNx64): Likewise.
24320 [C99-based-standards] (PRIdLEAST64): Likewise.
24321 [C99-based-standards] (PRIiLEAST64): Likewise.
24322 [C99-based-standards] (PRIoLEAST64): Likewise.
24323 [C99-based-standards] (PRIuLEAST64): Likewise.
24324 [C99-based-standards] (PRIxLEAST64): Likewise.
24325 [C99-based-standards] (PRIXLEAST64): Likewise.
24326 [C99-based-standards] (SCNdLEAST64): Likewise.
24327 [C99-based-standards] (SCNiLEAST64): Likewise.
24328 [C99-based-standards] (SCNoLEAST64): Likewise.
24329 [C99-based-standards] (SCNuLEAST64): Likewise.
24330 [C99-based-standards] (SCNxLEAST64): Likewise.
24331 [C99-based-standards] (PRIdFAST64): Likewise.
24332 [C99-based-standards] (PRIiFAST64): Likewise.
24333 [C99-based-standards] (PRIoFAST64): Likewise.
24334 [C99-based-standards] (PRIuFAST64): Likewise.
24335 [C99-based-standards] (PRIxFAST64): Likewise.
24336 [C99-based-standards] (PRIXFAST64): Likewise.
24337 [C99-based-standards] (SCNdFAST64): Likewise.
24338 [C99-based-standards] (SCNiFAST64): Likewise.
24339 [C99-based-standards] (SCNoFAST64): Likewise.
24340 [C99-based-standards] (SCNuFAST64): Likewise.
24341 [C99-based-standards] (SCNxFAST64): Likewise.
24342 [C99-based-standards] (PRIdMAX): Likewise.
24343 [C99-based-standards] (PRIiMAX): Likewise.
24344 [C99-based-standards] (PRIoMAX): Likewise.
24345 [C99-based-standards] (PRIuMAX): Likewise.
24346 [C99-based-standards] (PRIxMAX): Likewise.
24347 [C99-based-standards] (PRIXMAX): Likewise.
24348 [C99-based-standards] (SCNdMAX): Likewise.
24349 [C99-based-standards] (SCNiMAX): Likewise.
24350 [C99-based-standards] (SCNoMAX): Likewise.
24351 [C99-based-standards] (SCNuMAX): Likewise.
24352 [C99-based-standards] (SCNxMAX): Likewise.
24353 [C99-based-standards] (PRIdPTR): Likewise.
24354 [C99-based-standards] (PRIiPTR): Likewise.
24355 [C99-based-standards] (PRIoPTR): Likewise.
24356 [C99-based-standards] (PRIuPTR): Likewise.
24357 [C99-based-standards] (PRIxPTR): Likewise.
24358 [C99-based-standards] (PRIXPTR): Likewise.
24359 [C99-based-standards] (SCNdPTR): Likewise.
24360 [C99-based-standards] (SCNiPTR): Likewise.
24361 [C99-based-standards] (SCNoPTR): Likewise.
24362 [C99-based-standards] (SCNuPTR): Likewise.
24363 [C99-based-standards] (SCNxPTR): Likewise.
24364 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24365 allow.
24366 * conform/data/stdint.h-data: Update comments to clarify
24367 requirements.
24368 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
24369 type.
24370 [C99-based standards] (INT8_MAX): Likewise.
24371 [C99-based standards] (INT16_MIN): Likewise.
24372 [C99-based standards] (INT16_MAX): Likewise.
24373 [C99-based standards] (INT32_MIN): Likewise.
24374 [C99-based standards] (INT32_MAX): Likewise.
24375 [C99-based standards] (INT64_MIN): Likewise.
24376 [C99-based standards] (INT64_MAX): Likewise.
24377 [C99-based standards] (UINT8_MAX): Likewise.
24378 [C99-based standards] (UINT16_MAX): Likewise.
24379 [C99-based standards] (UINT32_MAX): Likewise.
24380 [C99-based standards] (UINT64_MAX): Likewise.
24381 [C99-based standards] (INT_LEAST8_MIN): Likewise.
24382 [C99-based standards] (INT_LEAST8_MAX): Likewise.
24383 [C99-based standards] (INT_LEAST16_MIN): Likewise.
24384 [C99-based standards] (INT_LEAST16_MAX): Likewise.
24385 [C99-based standards] (INT_LEAST32_MIN): Likewise.
24386 [C99-based standards] (INT_LEAST32_MAX): Likewise.
24387 [C99-based standards] (INT_LEAST64_MIN): Likewise.
24388 [C99-based standards] (INT_LEAST64_MAX): Likewise.
24389 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24390 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24391 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24392 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24393 [C99-based standards] (INT_FAST8_MIN): Likewise.
24394 [C99-based standards] (INT_FAST8_MAX): Likewise.
24395 [C99-based standards] (INT_FAST16_MIN): Likewise.
24396 [C99-based standards] (INT_FAST16_MAX): Likewise.
24397 [C99-based standards] (INT_FAST32_MIN): Likewise.
24398 [C99-based standards] (INT_FAST32_MAX): Likewise.
24399 [C99-based standards] (INT_FAST64_MIN): Likewise.
24400 [C99-based standards] (INT_FAST64_MAX): Likewise.
24401 [C99-based standards] (UINT_FAST8_MAX): Likewise.
24402 [C99-based standards] (UINT_FAST16_MAX): Likewise.
24403 [C99-based standards] (UINT_FAST32_MAX): Likewise.
24404 [C99-based standards] (UINT_FAST64_MAX): Likewise.
24405 [C99-based standards] (INTPTR_MIN): Likewise.
24406 [C99-based standards] (INTPTR_MAX): Likewise.
24407 [C99-based standards] (UINTPTR_MAX): Likewise.
24408 [C99-based standards] (INTMAX_MIN): Likewise.
24409 [C99-based standards] (INTMAX_MAX): Likewise.
24410 [C99-based standards] (UINTMAX_MAX): Likewise.
24411 [C99-based standards] (PTRDIFF_MIN): Likewise.
24412 [C99-based standards] (PTRDIFF_MAX): Likewise.
24413 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24414 [C99-based standards] (SIZE_MAX): Likewise.
24415 [C99-based standards] (WCHAR_MAX): Likewise.
24416 [C99-based standards] (WINT_MAX): Likewise.
24417 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
24418 constraint on value.
24419 [C99-based standards] (WCHAR_MIN): Likewise.
24420 [C99-based standards] (WINT_MIN): Likewise.
24421 [C99-based standards] (*_t): Allow.
24422 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24423 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24424 Include math.h-data and complex.h-data. Remove all expectations
24425 of math.h and complex.h contents.
24426 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24427 at end of line.
24428 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24429 (struct tm): Expect tag.
24430 [C99-based-standards] (wcstof): Expect function.
24431 [C99-based-standards] (wcstold): Likewise.
24432 [C99-based-standards] (wcstoll): Likewise.
24433 [C99-based-standards] (wcstoull): Likewise.
24434 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24435 macro-int-constant. Specify type.
24436 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
24437 constraint on value.
24438 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24439 Specify type.
24440 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24441 Specify value.
24442 [ISO C standards]: Do not allow headers.
24443 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24444 wcs[abcdefghijklmnopqrstuvwxyz]*.
24445 [ISO C standards] (*_t): Do not allow.
24446 * conform/data/wctype.h-data [C99-based standards] (iswblank):
24447 Expect function.
24448 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
24449 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24450 Specify type.
24451 [ISO C standards]: Do not allow headers.
24452 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
24453 is[abcdefghijklmnopqrstuvwxyz]*.
24454 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
24455 to[abcdefghijklmnopqrstuvwxyz]*.
24456 [ISO C standards] (*_t): Do not allow.
24457 * conform/data/stdalign.h-data: New file.
24458 * conform/data/stdbool.h-data: Likewise.
24459 * conform/data/stdnoreturn.h-data: Likewise.
24460
7514feb8
RM
244612012-11-07 Roland McGrath <roland@hack.frob.com>
24462
24463 [BZ #14815]
24464 * manual/filesys.texi (Directory Entries): Typo fix.
24465 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
24466
19b2ecfc
MS
244672012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24468
24469 * elf/elf.h (EM_AARCH64): New macro.
24470 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
24471 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
24472 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
24473 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
24474 (R_AARCH64_TLSDESC): Likewise.
24475 (NT_ARM_TLS): Likewise.
24476 (NT_ARM_HW_BREAK): Likewise.
24477 (NT_ARM_HW_WATCH): Likewise.
24478
60e235ee
JM
244792012-11-07 Joseph Myers <joseph@codesourcery.com>
24480
24481 [BZ #14811]
24482 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
24483 (__ieee754_powl): Saturate nonzero exponents with absolute value
24484 below 0x1p-79 to +/- 0x1p-79.
24485 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
24486 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
24487 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
24488 nonzero exponents with absolute value below 0x1p-32 to +/-
24489 0x1p-32.
24490 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
24491 (__ieee754_powl): Saturate nonzero exponents with absolute value
24492 below 0x1p-79 to +/- 0x1p-79.
24493 * math/libm-test.inc (pow_test): Add more tests.
24494
0ab234b7
AK
244952012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24496
24497 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
24498 _dl_s390_cap_flags with kernel. Increase string length.
24499 (_dl_s390_platforms): Add z196 and zEC12.
24500
45832f74
JM
245012012-11-07 Joseph Myers <joseph@codesourcery.com>
24502
24503 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
24504 Change XOPEN21K to XOPEN2K.
24505
19218757
MK
245062012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
24507
24508 * string/memmove.c: Use memcpy when possible.
24509
c5f45721
AJ
245102012-11-06 Andreas Jaeger <aj@suse.de>
24511
24512 * po/eo.po: Update from translation team.
24513
82477c28
JM
245142012-11-06 Joseph Myers <joseph@codesourcery.com>
24515
24516 [BZ #14793]
24517 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
24518 exponent and small x and y exponents, scale x or y up. Increase
24519 by 2 the exponent used in scaling up.
24520 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24521 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24522 * math/libm-test.inc (fma_test): Add more tests.
24523 (fma_test_towardzero): Likewise.
24524 (fma_test_downward): Likewise.
24525 (fma_test_upward): Likewise.
24526
99252c8c
JM
245272012-11-05 Joseph Myers <joseph@codesourcery.com>
24528
acfa885f
JM
24529 [BZ #14805]
24530 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
24531 fenv_t *.
24532
99252c8c
JM
24533 [BZ #14801]
24534 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
24535 namespace for names of struct fields.
24536 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
24537 fenv_t fields.
24538 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24539 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
24540
d6d98dea
ST
245412012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24542
24543 [BZ #3665]
24544 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
24545
e10bb107
TS
245462012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24547
24548 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
24549 PTR_DEMANGLE.
24550
24551 [BZ #5246]
24552 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
24553 PTR_DEMANGLE.
24554
a0c2940d
JM
245552012-11-04 Joseph Myers <joseph@codesourcery.com>
24556
24557 [BZ #14797]
24558 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
24559 definitely overflow as x * y not x * y + z.
24560 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24561 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24562 * math/libm-test.inc (fma_test): Add more tests.
24563 (fma_test_towardzero): Likewise.
24564 (fma_test_downward): Likewise.
24565 (fma_test_upward): Likewise.
24566
b830319d
TS
245672012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24568
24569 [BZ #157]
24570
24571 * include/stub-tag.h: Remove file.
24572 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
24573 '#include' of it.
24574 * manual/maint.texi (Porting): Don't reference it.
24575 * Makerules ($(objpfx)stubs): Likewise.
24576 * dirent/closedir.c: Don't include <stub-tag.h>.
24577 * dirent/dirfd.c: Likewise.
24578 * dirent/fdopendir.c: Likewise.
24579 * dirent/getdents.c: Likewise.
24580 * dirent/getdents64.c: Likewise.
24581 * dirent/opendir.c: Likewise.
24582 * dirent/readdir.c: Likewise.
24583 * dirent/readdir64.c: Likewise.
24584 * dirent/readdir64_r.c: Likewise.
24585 * dirent/readdir_r.c: Likewise.
24586 * dirent/rewinddir.c: Likewise.
24587 * dirent/seekdir.c: Likewise.
24588 * dirent/telldir.c: Likewise.
24589 * gmon/profil.c: Likewise.
24590 * grp/setgroups.c: Likewise.
24591 * inet/if_index.c: Likewise.
24592 * io/access.c: Likewise.
24593 * io/chdir.c: Likewise.
24594 * io/chmod.c: Likewise.
24595 * io/chown.c: Likewise.
24596 * io/close.c: Likewise.
24597 * io/dup.c: Likewise.
24598 * io/dup2.c: Likewise.
24599 * io/dup3.c: Likewise.
24600 * io/euidaccess.c: Likewise.
24601 * io/faccessat.c: Likewise.
24602 * io/fchdir.c: Likewise.
24603 * io/fchmod.c: Likewise.
24604 * io/fchmodat.c: Likewise.
24605 * io/fchown.c: Likewise.
24606 * io/fchownat.c: Likewise.
24607 * io/fcntl.c: Likewise.
24608 * io/flock.c: Likewise.
24609 * io/fstatfs.c: Likewise.
24610 * io/fstatfs64.c: Likewise.
24611 * io/fstatvfs.c: Likewise.
24612 * io/fstatvfs64.c: Likewise.
24613 * io/futimens.c: Likewise.
24614 * io/fxstat.c: Likewise.
24615 * io/fxstat64.c: Likewise.
24616 * io/fxstatat.c: Likewise.
24617 * io/fxstatat64.c: Likewise.
24618 * io/getcwd.c: Likewise.
24619 * io/isatty.c: Likewise.
24620 * io/lchmod.c: Likewise.
24621 * io/lchown.c: Likewise.
24622 * io/link.c: Likewise.
24623 * io/linkat.c: Likewise.
24624 * io/lseek.c: Likewise.
24625 * io/lseek64.c: Likewise.
24626 * io/lxstat64.c: Likewise.
24627 * io/mkdir.c: Likewise.
24628 * io/mkdirat.c: Likewise.
24629 * io/mkfifo.c: Likewise.
24630 * io/mkfifoat.c: Likewise.
24631 * io/open.c: Likewise.
24632 * io/open64.c: Likewise.
24633 * io/openat.c: Likewise.
24634 * io/openat64.c: Likewise.
24635 * io/pipe.c: Likewise.
24636 * io/pipe2.c: Likewise.
24637 * io/poll.c: Likewise.
24638 * io/posix_fadvise.c: Likewise.
24639 * io/posix_fadvise64.c: Likewise.
24640 * io/posix_fallocate.c: Likewise.
24641 * io/posix_fallocate64.c: Likewise.
24642 * io/read.c: Likewise.
24643 * io/readlink.c: Likewise.
24644 * io/readlinkat.c: Likewise.
24645 * io/rmdir.c: Likewise.
24646 * io/sendfile.c: Likewise.
24647 * io/sendfile64.c: Likewise.
24648 * io/statfs.c: Likewise.
24649 * io/statfs64.c: Likewise.
24650 * io/statvfs.c: Likewise.
24651 * io/statvfs64.c: Likewise.
24652 * io/symlink.c: Likewise.
24653 * io/symlinkat.c: Likewise.
24654 * io/ttyname.c: Likewise.
24655 * io/ttyname_r.c: Likewise.
24656 * io/umask.c: Likewise.
24657 * io/unlink.c: Likewise.
24658 * io/unlinkat.c: Likewise.
24659 * io/utime.c: Likewise.
24660 * io/utimensat.c: Likewise.
24661 * io/write.c: Likewise.
24662 * io/xmknod.c: Likewise.
24663 * io/xmknodat.c: Likewise.
24664 * io/xstat.c: Likewise.
24665 * io/xstat64.c: Likewise.
24666 * login/getpt.c: Likewise.
24667 * login/grantpt.c: Likewise.
24668 * login/unlockpt.c: Likewise.
24669 * math/e_acoshl.c: Likewise.
24670 * math/e_acosl.c: Likewise.
24671 * math/e_asinl.c: Likewise.
24672 * math/e_atan2l.c: Likewise.
24673 * math/e_atanhl.c: Likewise.
24674 * math/e_coshl.c: Likewise.
24675 * math/e_expl.c: Likewise.
24676 * math/e_fmodl.c: Likewise.
24677 * math/e_gammal_r.c: Likewise.
24678 * math/e_hypotl.c: Likewise.
24679 * math/e_j0l.c: Likewise.
24680 * math/e_j1l.c: Likewise.
24681 * math/e_jnl.c: Likewise.
24682 * math/e_lgammal_r.c: Likewise.
24683 * math/e_log10l.c: Likewise.
24684 * math/e_log2l.c: Likewise.
24685 * math/e_logl.c: Likewise.
24686 * math/e_powl.c: Likewise.
24687 * math/e_rem_pio2l.c: Likewise.
24688 * math/e_sinhl.c: Likewise.
24689 * math/e_sqrtl.c: Likewise.
24690 * math/fclrexcpt.c: Likewise.
24691 * math/fedisblxcpt.c: Likewise.
24692 * math/feenablxcpt.c: Likewise.
24693 * math/fegetenv.c: Likewise.
24694 * math/fegetexcept.c: Likewise.
24695 * math/fegetround.c: Likewise.
24696 * math/feholdexcpt.c: Likewise.
24697 * math/fesetenv.c: Likewise.
24698 * math/fesetround.c: Likewise.
24699 * math/feupdateenv.c: Likewise.
24700 * math/fgetexcptflg.c: Likewise.
24701 * math/fraiseexcpt.c: Likewise.
24702 * math/fsetexcptflg.c: Likewise.
24703 * math/ftestexcept.c: Likewise.
24704 * math/k_cosl.c: Likewise.
24705 * math/k_rem_pio2l.c: Likewise.
24706 * math/k_sinl.c: Likewise.
24707 * math/k_tanl.c: Likewise.
24708 * math/s_asinhl.c: Likewise.
24709 * math/s_atanl.c: Likewise.
24710 * math/s_cbrtl.c: Likewise.
24711 * math/s_erfl.c: Likewise.
24712 * math/s_expm1l.c: Likewise.
24713 * math/s_log1pl.c: Likewise.
24714 * math/s_tanhl.c: Likewise.
24715 * misc/acct.c: Likewise.
24716 * misc/brk.c: Likewise.
24717 * misc/chflags.c: Likewise.
24718 * misc/chroot.c: Likewise.
24719 * misc/fchflags.c: Likewise.
24720 * misc/fgetxattr.c: Likewise.
24721 * misc/flistxattr.c: Likewise.
24722 * misc/fremovexattr.c: Likewise.
24723 * misc/fsetxattr.c: Likewise.
24724 * misc/fsync.c: Likewise.
24725 * misc/ftruncate.c: Likewise.
24726 * misc/futimes.c: Likewise.
24727 * misc/futimesat.c: Likewise.
24728 * misc/getdomain.c: Likewise.
24729 * misc/getdtsz.c: Likewise.
24730 * misc/gethostid.c: Likewise.
24731 * misc/gethostname.c: Likewise.
24732 * misc/getloadavg.c: Likewise.
24733 * misc/getpagesize.c: Likewise.
24734 * misc/getsysstats.c: Likewise.
24735 * misc/getxattr.c: Likewise.
24736 * misc/gtty.c: Likewise.
24737 * misc/ioctl.c: Likewise.
24738 * misc/lgetxattr.c: Likewise.
24739 * misc/listxattr.c: Likewise.
24740 * misc/llistxattr.c: Likewise.
24741 * misc/lremovexattr.c: Likewise.
24742 * misc/lsetxattr.c: Likewise.
24743 * misc/lutimes.c: Likewise.
24744 * misc/madvise.c: Likewise.
24745 * misc/mincore.c: Likewise.
24746 * misc/mlock.c: Likewise.
24747 * misc/mlockall.c: Likewise.
24748 * misc/mmap.c: Likewise.
24749 * misc/mprotect.c: Likewise.
24750 * misc/msync.c: Likewise.
24751 * misc/munlock.c: Likewise.
24752 * misc/munlockall.c: Likewise.
24753 * misc/munmap.c: Likewise.
24754 * misc/preadv.c: Likewise.
24755 * misc/preadv64.c: Likewise.
24756 * misc/ptrace.c: Likewise.
24757 * misc/pwritev.c: Likewise.
24758 * misc/pwritev64.c: Likewise.
24759 * misc/readv.c: Likewise.
24760 * misc/reboot.c: Likewise.
24761 * misc/remap_file_pages.c: Likewise.
24762 * misc/removexattr.c: Likewise.
24763 * misc/revoke.c: Likewise.
24764 * misc/select.c: Likewise.
24765 * misc/setdomain.c: Likewise.
24766 * misc/setegid.c: Likewise.
24767 * misc/seteuid.c: Likewise.
24768 * misc/sethostid.c: Likewise.
24769 * misc/sethostname.c: Likewise.
24770 * misc/setregid.c: Likewise.
24771 * misc/setreuid.c: Likewise.
24772 * misc/setxattr.c: Likewise.
24773 * misc/sstk.c: Likewise.
24774 * misc/stty.c: Likewise.
24775 * misc/swapoff.c: Likewise.
24776 * misc/swapon.c: Likewise.
24777 * misc/sync.c: Likewise.
24778 * misc/syncfs.c: Likewise.
24779 * misc/syscall.c: Likewise.
24780 * misc/truncate.c: Likewise.
24781 * misc/ualarm.c: Likewise.
24782 * misc/usleep.c: Likewise.
24783 * misc/ustat.c: Likewise.
24784 * misc/utimes.c: Likewise.
24785 * misc/vhangup.c: Likewise.
24786 * misc/writev.c: Likewise.
24787 * posix/_exit.c: Likewise.
24788 * posix/alarm.c: Likewise.
24789 * posix/execve.c: Likewise.
24790 * posix/fexecve.c: Likewise.
24791 * posix/fork.c: Likewise.
24792 * posix/fpathconf.c: Likewise.
24793 * posix/getaddrinfo.c: Likewise.
24794 * posix/getegid.c: Likewise.
24795 * posix/geteuid.c: Likewise.
24796 * posix/getgid.c: Likewise.
24797 * posix/getgroups.c: Likewise.
24798 * posix/getlogin.c: Likewise.
24799 * posix/getlogin_r.c: Likewise.
24800 * posix/getpgid.c: Likewise.
24801 * posix/getpid.c: Likewise.
24802 * posix/getppid.c: Likewise.
24803 * posix/getresgid.c: Likewise.
24804 * posix/getresuid.c: Likewise.
24805 * posix/getsid.c: Likewise.
24806 * posix/getuid.c: Likewise.
24807 * posix/glob64.c: Likewise.
24808 * posix/nanosleep.c: Likewise.
24809 * posix/pathconf.c: Likewise.
24810 * posix/pause.c: Likewise.
24811 * posix/posix_madvise.c: Likewise.
24812 * posix/pread.c: Likewise.
24813 * posix/pread64.c: Likewise.
24814 * posix/pwrite.c: Likewise.
24815 * posix/pwrite64.c: Likewise.
24816 * posix/sched_getaffinity.c: Likewise.
24817 * posix/sched_getp.c: Likewise.
24818 * posix/sched_gets.c: Likewise.
24819 * posix/sched_primax.c: Likewise.
24820 * posix/sched_primin.c: Likewise.
24821 * posix/sched_rr_gi.c: Likewise.
24822 * posix/sched_setaffinity.c: Likewise.
24823 * posix/sched_setp.c: Likewise.
24824 * posix/sched_sets.c: Likewise.
24825 * posix/sched_yield.c: Likewise.
24826 * posix/setgid.c: Likewise.
24827 * posix/setlogin.c: Likewise.
24828 * posix/setpgid.c: Likewise.
24829 * posix/setresgid.c: Likewise.
24830 * posix/setresuid.c: Likewise.
24831 * posix/setsid.c: Likewise.
24832 * posix/setuid.c: Likewise.
24833 * posix/sleep.c: Likewise.
24834 * posix/spawni.c: Likewise.
24835 * posix/sysconf.c: Likewise.
24836 * posix/times.c: Likewise.
24837 * posix/wait.c: Likewise.
24838 * posix/wait3.c: Likewise.
24839 * posix/wait4.c: Likewise.
24840 * posix/waitpid.c: Likewise.
24841 * resolv/gai_sigqueue.c: Likewise.
24842 * resource/getpriority.c: Likewise.
24843 * resource/getrlimit.c: Likewise.
24844 * resource/getrusage.c: Likewise.
24845 * resource/nice.c: Likewise.
24846 * resource/setpriority.c: Likewise.
24847 * resource/setrlimit.c: Likewise.
24848 * resource/ulimit.c: Likewise.
24849 * rt/aio_cancel.c: Likewise.
24850 * rt/aio_fsync.c: Likewise.
24851 * rt/aio_read.c: Likewise.
24852 * rt/aio_sigqueue.c: Likewise.
24853 * rt/aio_suspend.c: Likewise.
24854 * rt/aio_write.c: Likewise.
24855 * rt/clock_getres.c: Likewise.
24856 * rt/clock_gettime.c: Likewise.
24857 * rt/clock_nanosleep.c: Likewise.
24858 * rt/clock_settime.c: Likewise.
24859 * rt/lio_listio.c: Likewise.
24860 * rt/mq_close.c: Likewise.
24861 * rt/mq_getattr.c: Likewise.
24862 * rt/mq_notify.c: Likewise.
24863 * rt/mq_open.c: Likewise.
24864 * rt/mq_receive.c: Likewise.
24865 * rt/mq_send.c: Likewise.
24866 * rt/mq_setattr.c: Likewise.
24867 * rt/mq_timedreceive.c: Likewise.
24868 * rt/mq_timedsend.c: Likewise.
24869 * rt/mq_unlink.c: Likewise.
24870 * rt/shm_open.c: Likewise.
24871 * rt/shm_unlink.c: Likewise.
24872 * rt/timer_create.c: Likewise.
24873 * rt/timer_delete.c: Likewise.
24874 * rt/timer_getoverr.c: Likewise.
24875 * rt/timer_gettime.c: Likewise.
24876 * rt/timer_settime.c: Likewise.
24877 * setjmp/__longjmp.c: Likewise.
24878 * setjmp/setjmp.c: Likewise.
24879 * signal/kill.c: Likewise.
24880 * signal/killpg.c: Likewise.
24881 * signal/raise.c: Likewise.
24882 * signal/sigaction.c: Likewise.
24883 * signal/sigaltstack.c: Likewise.
24884 * signal/sigblock.c: Likewise.
24885 * signal/sigignore.c: Likewise.
24886 * signal/sigintr.c: Likewise.
24887 * signal/signal.c: Likewise.
24888 * signal/sigpause.c: Likewise.
24889 * signal/sigpending.c: Likewise.
24890 * signal/sigqueue.c: Likewise.
24891 * signal/sigreturn.c: Likewise.
24892 * signal/sigset.c: Likewise.
24893 * signal/sigsetmask.c: Likewise.
24894 * signal/sigstack.c: Likewise.
24895 * signal/sigsuspend.c: Likewise.
24896 * signal/sigtimedwait.c: Likewise.
24897 * signal/sigvec.c: Likewise.
24898 * signal/sigwait.c: Likewise.
24899 * signal/sigwaitinfo.c: Likewise.
24900 * signal/sysv_signal.c: Likewise.
24901 * socket/accept.c: Likewise.
24902 * socket/accept4.c: Likewise.
24903 * socket/bind.c: Likewise.
24904 * socket/connect.c: Likewise.
24905 * socket/getpeername.c: Likewise.
24906 * socket/getsockname.c: Likewise.
24907 * socket/getsockopt.c: Likewise.
24908 * socket/isfdtype.c: Likewise.
24909 * socket/listen.c: Likewise.
24910 * socket/recv.c: Likewise.
24911 * socket/recvfrom.c: Likewise.
24912 * socket/recvmsg.c: Likewise.
24913 * socket/send.c: Likewise.
24914 * socket/sendmsg.c: Likewise.
24915 * socket/sendto.c: Likewise.
24916 * socket/setsockopt.c: Likewise.
24917 * socket/shutdown.c: Likewise.
24918 * socket/sockatmark.c: Likewise.
24919 * socket/socket.c: Likewise.
24920 * socket/socketpair.c: Likewise.
24921 * stdio-common/ctermid.c: Likewise.
24922 * stdio-common/cuserid.c: Likewise.
24923 * stdio-common/remove.c: Likewise.
24924 * stdio-common/rename.c: Likewise.
24925 * stdio-common/renameat.c: Likewise.
24926 * stdio-common/tempname.c: Likewise.
24927 * stdlib/getcontext.c: Likewise.
24928 * stdlib/makecontext.c: Likewise.
24929 * stdlib/setcontext.c: Likewise.
24930 * stdlib/swapcontext.c: Likewise.
24931 * stdlib/system.c: Likewise.
24932 * streams/fattach.c: Likewise.
24933 * streams/fdetach.c: Likewise.
24934 * streams/getmsg.c: Likewise.
24935 * streams/getpmsg.c: Likewise.
24936 * streams/putmsg.c: Likewise.
24937 * streams/putpmsg.c: Likewise.
24938 * sysdeps/unix/bsd/getpt.c: Likewise.
24939 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
24940 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
24941 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24943 Likewise.
24944 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
24945 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24946 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24947 * sysvipc/msgctl.c: Likewise.
24948 * sysvipc/msgget.c: Likewise.
24949 * sysvipc/msgrcv.c: Likewise.
24950 * sysvipc/msgsnd.c: Likewise.
24951 * sysvipc/semctl.c: Likewise.
24952 * sysvipc/semget.c: Likewise.
24953 * sysvipc/semop.c: Likewise.
24954 * sysvipc/semtimedop.c: Likewise.
24955 * sysvipc/shmat.c: Likewise.
24956 * sysvipc/shmctl.c: Likewise.
24957 * sysvipc/shmdt.c: Likewise.
24958 * sysvipc/shmget.c: Likewise.
24959 * termios/tcdrain.c: Likewise.
24960 * termios/tcflow.c: Likewise.
24961 * termios/tcflush.c: Likewise.
24962 * termios/tcgetattr.c: Likewise.
24963 * termios/tcgetpgrp.c: Likewise.
24964 * termios/tcsendbrk.c: Likewise.
24965 * termios/tcsetattr.c: Likewise.
24966 * termios/tcsetpgrp.c: Likewise.
24967 * time/adjtime.c: Likewise.
24968 * time/clock.c: Likewise.
24969 * time/getitimer.c: Likewise.
24970 * time/gettimeofday.c: Likewise.
24971 * time/setitimer.c: Likewise.
24972 * time/settimeofday.c: Likewise.
24973 * time/stime.c: Likewise.
24974 * time/time.c: Likewise.
24975
249762012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 24977
a20492cf
PT
24978 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
24979 /usr/old/bin.
24980
72e182e3
PT
24981 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
24982 instead of spaces.
24983 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
24984
fbeafede
JM
249852012-11-03 Joseph Myers <joseph@codesourcery.com>
24986
5b5b04d6
JM
24987 [BZ #14796]
24988 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
24989 FE_TONEAREST before applying Dekker multiplication and Knuth
24990 addition. Clear inexact exceptions and check for exact zero
24991 results afterwards.
24992 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24993 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24994 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24995 * math/libm-test.inc (fma_test): Add more tests.
24996 (fma_test_towardzero): Likewise.
24997 (fma_test_downward): Likewise.
24998 (fma_test_upward): Likewise.
24999 * sysdeps/generic/math_private.h (default_libc_fesetround): New
25000 function.
25001 (libc_fesetround): New macro.
25002 (libc_fesetroundf): Likewise.
25003 (libc_fesetroundl): Likewise.
25004 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25005 function.
25006 (libc_fesetround_387): Likewise.
25007 (libc_fesetroundf): New macro.
25008 (libc_fesetround): Likewise.
25009 (libc_fesetroundl): Likewise.
25010 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25011 function.
25012 (libc_fesetroundf): New macro.
25013 (libc_fesetround): Likewise.
25014 (libc_fesetroundl): Likewise.
25015 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25016 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25017 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25018 libm_hidden_ver.
25019 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25020 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25021 libm_hidden_def.
25022 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25023 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25024 libm_hidden_ver.
25025 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25026 libm_hidden_def.
25027
fbeafede
JM
25028 [BZ #3439]
25029 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25030 integer constant usable in #if and use that to give value to enum
25031 constant.
25032 (FE_DIVBYZERO): Likewise.
25033 (FE_UNDERFLOW): Likewise.
25034 (FE_OVERFLOW): Likewise.
25035 (FE_INVALID): Likewise.
25036 (FE_INVALID_SNAN): Likewise.
25037 (FE_INVALID_ISI): Likewise.
25038 (FE_INVALID_IDI): Likewise.
25039 (FE_INVALID_ZDZ): Likewise.
25040 (FE_INVALID_IMZ): Likewise.
25041 (FE_INVALID_COMPARE): Likewise.
25042 (FE_INVALID_SOFTWARE): Likewise.
25043 (FE_INVALID_SQRT): Likewise.
25044 (FE_INVALID_INTEGER_CONVERSION): Likewise.
25045 (FE_TONEAREST): Likewise.
25046 (FE_TOWARDZERO): Likewise.
25047 (FE_UPWARD): Likewise.
25048 (FE_DOWNWARD): Likewise.
25049 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25050 (FE_DIVBYZERO): Likewise.
25051 (FE_OVERFLOW): Likewise.
25052 (FE_UNDERFLOW): Likewise.
25053 (FE_INEXACT): Likewise.
25054 (FE_TONEAREST): Likewise.
25055 (FE_DOWNWARD): Likewise.
25056 (FE_UPWARD): Likewise.
25057 (FE_TOWARDZERO): Likewise.
25058 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25059 (FE_UNDERFLOW): Likewise.
25060 (FE_OVERFLOW): Likewise.
25061 (FE_DIVBYZERO): Likewise.
25062 (FE_INVALID): Likewise.
25063 (FE_TONEAREST): Likewise.
25064 (FE_TOWARDZERO): Likewise.
25065 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25066 (FE_OVERFLOW): Likewise.
25067 (FE_UNDERFLOW): Likewise.
25068 (FE_DIVBYZERO): Likewise.
25069 (FE_INEXACT): Likewise.
25070 (FE_TONEAREST): Likewise.
25071 (FE_TOWARDZERO): Likewise.
25072 (FE_UPWARD): Likewise.
25073 (FE_DOWNWARD): Likewise.
25074 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25075 (FE_DIVBYZERO): Likewise.
25076 (FE_OVERFLOW): Likewise.
25077 (FE_UNDERFLOW): Likewise.
25078 (FE_INEXACT): Likewise.
25079 (FE_TONEAREST): Likewise.
25080 (FE_DOWNWARD): Likewise.
25081 (FE_UPWARD): Likewise.
25082 (FE_TOWARDZERO): Likewise.
25083
105ca950
CM
250842012-11-02 Chris Metcalf <cmetcalf@tilera.com>
25085
25086 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25087
a542b389
AS
250882012-11-03 Andreas Schwab <schwab@linux-m68k.org>
25089
25090 * scripts/cross-test-ssh.sh (command): Use newlines to separate
25091 commands. Quote $PWD.
25092 (blacklist_exports): Don't use remove_newlines. Replace "declare
25093 -x" by "export".
25094 (remove_newlines): Remove.
25095
f62c8abc
L
250962012-11-02 H.J. Lu <hongjiu.lu@intel.com>
25097
25098 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25099 * stdlib/stdlib.h (atof): Moved to ...
25100 * include/bits/stdlib-float.h: Here. New file.
25101 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25102 * stdlib/bits/stdlib-float.h: New file.
25103 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25104 -mno-sse -mno-mmx.
25105 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25106 <xmmintrin.h>.
25107
0155d5b2
JM
251082012-11-02 Joseph Myers <joseph@codesourcery.com>
25109
a68d0680
JM
25110 * conform/conformtest.pl (@headers): Add fenv.h.
25111 * conform/data/fenv.h-data: New file.
25112 * include/fenv.h [_ISOMAC]: Disable all contents of file except
25113 include of <math/fenv.h>.
25114
caf7f573
JM
25115 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25116 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25117 && !UNIX98]. Enables tests for XOPEN2K8.
25118 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25119 POSIX2008]: Likewise.
25120
6c073ad6
JM
25121 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25122 (struct rusage): Do not expect type or its members.
25123
0155d5b2
JM
25124 [BZ #3439]
25125 * math/math.h (FP_NAN): Define macro to integer constant usable in
25126 #if and use that to give value to enum constant.
25127 (FP_INFINITE): Likewise.
25128 (FP_ZERO): Likewise.
25129 (FP_SUBNORMAL): Likewise.
25130 (FP_NORMAL): Likewise.
25131
b5dcacb4
AS
251322012-11-02 Andreas Schwab <schwab@linux-m68k.org>
25133
25134 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25135 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25136 arguments.
25137
f7934be8
RM
251382012-11-02 Roland McGrath <roland@hack.frob.com>
25139
25140 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25141 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25142 autoconf-time if not.
25143 * configure.in: Remove AC_PREREQ.
25144
d7d08bde
TMQMF
251452012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25146
25147 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25148 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25149 of the internal implementation.
25150
dcdae19a
JM
251512012-11-02 Joseph Myers <joseph@codesourcery.com>
25152
25153 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25154 except include of <misc/sys/syslog.h>.
25155
d6cffd3e
AS
251562012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25157
25158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25159 function returns with a NULL context exit with zero.
25160
b3563932
TMQMF
251612012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25162
25163 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25164
b288a93d
L
251652012-11-01 H.J. Lu <hongjiu.lu@intel.com>
25166
25167 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25168 (run_program_cmd): This.
25169 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25170 (tst_langinfo): New variable. Use it.
25171
a2421a68
SAS
251722012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
25173
25174 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25175 floating point opcodes.
25176
6f796e1b
TS
251772012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25178
7402596b
TS
25179 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25180 variable.
25181
d0d4f868
TS
25182 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25183
6f796e1b
TS
25184 * sysdeps/mach/hurd/powerpc: Remove directory.
25185 * sysdeps/mach/powerpc: Likewise.
25186
4da224a2
AS
251872012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25188
25189 * scripts/check-local-headers.sh: Ignore c++ headers.
25190
341dd673
TS
251912012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25192
25193 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25194 __libc_cleanup_region_start argument.
25195
473611b2
JM
251962012-11-01 Joseph Myers <joseph@codesourcery.com>
25197
25198 [BZ #14784]
25199 [BZ #14785]
25200 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25201 x * y using scaling, not as x * y + z.
25202 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25203 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25204 * math/libm-test.inc (fma_test): Add more tests.
25205 (fma_test_towardzero): Likewise.
25206 (fma_test_downward): Likewise.
25207 (fma_test_upward): Likewise.
25208
4078da3d
TS
252092012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25210
25211 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25212
903252aa
JM
252132012-10-31 Joseph Myers <joseph@codesourcery.com>
25214
25215 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25216 New variable.
25217
cbc818d0
TS
252182012-10-31 Thomas Schwinge <thomas@codesourcery.com>
25219
25220 * rt/tst-shm.c (worker): Correct checking for mmap failure.
25221
5a03cb1e
AS
252222012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25223
25224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25225 Fix sort order.
25226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25227 Likewise.
25228
90aff2ff
TMQMF
252292012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25230
25231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25232 Fix the order of the list for glibc 2.17.
25233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25234 Likewise.
25235
1818fcb7
AS
252362012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25237
25238 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25239
ef82f4da
JM
252402012-10-31 Joseph Myers <joseph@codesourcery.com>
25241
16a0e2ec
JM
25242 [BZ #14610]
25243 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25244 for low part of x being zero before using __atanl (y).
25245 * math/libm-test.inc (atan2_test): Add another test.
25246
0eb69512
JM
25247 * manual/install.texi (Configuring and compiling): Document
25248 general use of test-wrapper and test-wrapper-env.
25249 * INSTALL: Regenerated.
25250
ef82f4da
JM
25251 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25252 (__fma): Do not extract and scale down low bits on after-rounding
25253 systems when result rounded to normal precision would have normal
25254 exponent.
25255 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25256 (__fmal): Do not extract and scale down low bits on after-rounding
25257 systems when result rounded to normal precision would have normal
25258 exponent.
25259 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25260 (__fmal): Do not extract and scale down low bits on after-rounding
25261 systems when result rounded to normal precision would have normal
25262 exponent.
25263 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25264 macro.
25265 (fma_test): Add more tests.
25266 (fma_test_towardzero): Likewise.
25267 (fma_test_downward): Likewise.
25268 (fma_test_upward): Likewise.
25269
954ef0d9
L
252702012-10-30 H.J. Lu <hongjiu.lu@intel.com>
25271
25272 * sysdeps/i386/tininess.h: Renamed to ...
25273 * sysdeps/x86/tininess.h: This.
25274 * sysdeps/x86_64/tininess.h: Removed.
25275
df61ffb2
JM
252762012-10-30 Joseph Myers <joseph@codesourcery.com>
25277
25278 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25279 input. Use $(build-program-cmd).
25280 ($(objpfx)tst-array1-static.out): Likewise.
25281 ($(objpfx)tst-array2.out): Likewise.
25282 ($(objpfx)tst-array3.out): Likewise.
25283 ($(objpfx)tst-array4.out): Likewise.
25284 ($(objpfx)tst-array5.out): Likewise.
25285 ($(objpfx)tst-array5-static.out): Likewise.
25286
01767843
CM
252872012-10-30 Chris Metcalf <cmetcalf@tilera.com>
25288
47cc1490
CM
25289 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25290 if defined.
25291
01767843
CM
25292 * nss/nsswitch.h (nss_interface_function): Provide new
25293 macro for use with NSS functions.
25294 * grp/initgroups.c: Use new macro.
25295 * nss/getXXbyYY.c: Likewise.
25296 * nss/getXXbyYY_r.c: Likewise.
25297 * nss/getXXent.c: Likewise.
25298 * nss/getXXent_r.c: Likewise.
25299 * sysdeps/posix/getaddrinfo.c: Likewise.
25300
8321aa97
AJ
253012012-10-30 Andreas Jaeger <aj@suse.de>
25302
25303 * po/ru.po: Update Russion translation from translation project.
25304
2a27fd6d
JM
253052012-10-30 Joseph Myers <joseph@codesourcery.com>
25306
8627a232
JM
25307 [BZ #14152]
25308 [BZ #14783]
25309 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25310 result and shift together with sticky bit instead of replicating
25311 round-to-nearest rounding.
25312 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25313 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25314 * math/libm-test.inc (fma_test): Add more tests. Do not permit
25315 missing underflow exceptions.
25316 (fma_test_towardzero): Add more tests.
25317 (fma_test_downward): Likewise.
25318 (fma_test_upward): Likewise.
25319
2a27fd6d
JM
25320 [BZ #14047]
25321 * sysdeps/generic/tininess.h: New file.
25322 * sysdeps/i386/tininess.h: Likewise.
25323 * sysdeps/sh/tininess.h: Likewise.
25324 * sysdeps/x86_64/tininess.h: Likewise.
25325 * stdlib/tst-strtod-underflow.c: Likewise.
25326 * stdlib/tst-tininess.c: Likewise.
25327 * stdlib/strtod_l.c: Include <tininess.h>.
25328 (round_and_return): Do not set errno for exact underflow cases.
25329 Force an underflow exception when setting errno for underflow.
25330 Determine underflow based on rounding to normal precision if
25331 TININESS_AFTER_ROUNDING.
25332 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25333 ERANGE for exact underflow cases.
25334 * stdlib/Makefile (tests): Add tst-tininess and
25335 tst-strtod-underflow.
25336 ($(objpfx)tst-tininess): Use $(link-libm).
25337 ($(objpfx)tst-strtod-underflow): Likewise.
25338
e7170363
AJ
253392012-10-30 Andreas Jaeger <aj@suse.de>
25340
e5088dc6
AJ
25341 [BZ#14767]
25342 * elf/Makefile (tests): Remove conditional for have-initfini-array
25343 since this is now always required and the variable does not exist
25344 anymore.
25345 (tests-static): Likewise.
25346 (modules-names): Likewise.
25347
e7170363 25348 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
25349
25350 * elf/tst-array1.c (fini_array): Make writeable so that it can be
25351 merged with constructor/destructor.
25352 (init_array): Likewise.
25353 * elf/tst-array2dep.c (fini_array): Likewise.
25354 (init_array): Likewise.
25355
60457d8a
MF
253562012-10-29 Mike Frysinger <vapier@gentoo.org>
25357
25358 * manual/message.texi: Delete @cartouche tags.
25359
8bece752
PT
253602012-10-29 Pino Toscano <toscano.pino@tiscali.it>
25361
94ce799f
PT
25362 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25363 EOPNOTSUPP.
25364 * sysdeps/mach/hurd/fsync.c: Likewise.
25365
8bece752
PT
25366 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25367 [_POSIX_REALTIME_SIGNALS]: Change condition to
25368 [_POSIX_REALTIME_SIGNALS > 0].
25369
86ebe6b1
AJ
253702012-10-27 Andreas Jaeger <aj@suse.de>
25371
25372 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25373 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25374 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25375 [__WORDSIZE != 64]: Likewise.
25376
54399c08
L
253772012-10-26 H.J. Lu <hongjiu.lu@intel.com>
25378
25379 * iconvdata/tst-table.sh: Remove ${SHELL}.
25380 * iconvdata/tst-tables.sh: Likewise.
25381
e2211bed
DM
253822012-10-25 David S. Miller <davem@davemloft.net>
25383
25384 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25385 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25386 of strtoull.
25387
f303f97c
DM
25388 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25389 ifunc-impl-list.c
25390 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25391 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25392 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25393 file.
25394
1e9d84cd
RM
253952012-10-25 Roland McGrath <roland@hack.frob.com>
25396
25397 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25398 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25399 __getdirentries.
25400
df381762
JM
254012012-10-25 Joseph Myers <joseph@codesourcery.com>
25402 Jim Blandy <jimb@codesourcery.com>
25403
25404 * scripts/cross-test-ssh.sh: New file.
25405 * manual/install.texi (Configuring and compiling): Document use of
25406 cross-test-ssh.sh.
25407 * INSTALL: Regenerated.
25408
bff64913
PT
254092012-10-25 Pino Toscano <toscano.pino@tiscali.it>
25410
25411 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25412 EOPNOTSUPP.
25413
25fe8932
JM
254142012-10-25 Joseph Myers <joseph@codesourcery.com>
25415
25416 * Makeconfig (run-program-prefix): Fix comment.
25417
cc1290d0
JM
254182012-10-24 Joseph Myers <joseph@codesourcery.com>
25419 Jim Blandy <jimb@codesourcery.com>
25420
25421 * Makeconfig (test-wrapper): New variable,
25422 (test-wrapper-env): Likewise.
25423 [$(cross-compiling) = yes && $(test-wrapper) != ""]
25424 (run-built-tests): Define to yes.
25425 (run-program-prefix): Use $(test-wrapper).
25426 (built-program-cmd): Likewise.
25427 * Rules (make-test-out): Use $(test-wrapper-env) and
25428 $(host-built-program-cmd).
25429 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25430 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25431 tst-pathopt.sh.
25432 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25433 $(test-wrapper-env) to tst-rtld-load-self.sh.
25434 ($(objpfx)order2.out): Use $(test-wrapper).
25435 ($(objpfx)tst-initorder.out): Likewise.
25436 ($(objpfx)tst-initorder2.out): Likewise.
25437 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25438 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25439 (test_wrapper_env): New variable. Use it to run ld.so.
25440 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25441 Use it to run ld.so.
25442 (test_wrapper_env): Likewise.
25443 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25444 $(test-wrapper) to run-iconv-test.sh.
25445 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
25446 (ICONV): Use $test_wrapper.
25447 * posix/Makefile ($(objpfx)globtest.out): Pass
25448 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
25449 globtest.sh, not $(run-program-prefix).
25450 * posix/globtest.sh (run_via_rtld_prefix): New variable.
25451 (test_wrapper): Likewise.
25452 (test_wrapper_env): Likewise. Use it to run globtest with HOME
25453 set together with run_via_rtld_prefix.
25454 (run_program_prefix): Define in terms of test_wrapper and
25455 run_via_rtld_prefix.
25456
6e6249d0
RM
254572012-10-24 Roland McGrath <roland@hack.frob.com>
25458
25459 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
25460 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
25461 Targets removed.
25462
25463 [BZ #14743]
25464 * include/time.h: Remove librt_hidden_proto (clock_gettime).
25465 Declare __clock_getres, __clock_gettime, __clock_settime,
25466 __clock_nanosleep, and __clock_getcpuclockid.
25467 * rt/clock_gettime.c: Define __clock_gettime as an alias.
25468 Remove librt_hidden_def (clock_gettime).
25469 * sysdeps/unix/clock_gettime.c: Likewise.
25470 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
25471 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25472 * rt/clock_getres.c: Define __clock_getres as an alias.
25473 * sysdeps/posix/clock_getres.c: Likewise.
25474 * rt/clock_settime.c: Define __clock_settime as an alias.
25475 * sysdeps/unix/clock_settime.c: Likewise.
25476 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
25477 * sysdeps/unix/clock_nanosleep.c: Likewise.
25478 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25479 * rt/clock-compat.c: New file.
25480 * rt/Makefile (librt-routines): Add clock-compat and move
25481 $(clock-routines) to ...
25482 (routines): ... here, new variable.
25483 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
25484 Don't add get_clockfreq here.
25485 * rt/Versions (libc: GLIBC_2.17): New version set.
25486 Add clock_* symbols here.
25487 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
25488 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
25489 (GLIBC_2.17): Add clock_* symbols.
25490 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25491 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25492 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25494 Likewise.
25495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25496 Likewise.
25497 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25498 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25500 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25501 * NEWS: Mention the move.
25502
25503 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25504 Use __open, __read, __close rather than their public counterparts.
25505 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25506 (__get_clockfreq_via_cpuinfo): Likewise.
25507 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
25508 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
25509
25510 * config.h.in (HAVE_IFUNC): New #undef.
25511 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
25512 was successful.
25513 * configure: Regenerated.
25514
0cae3f4b
MF
255152012-10-24 Mike Frysinger <vapier@gentoo.org>
25516
25517 * configure.in: Move READELF check to start of file.
25518 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
25519 libc_cv_asm_gnu_indirect_function in the process.
25520 * configure: Regenerated.
25521
8175a253
MF
255222012-10-24 Mike Frysinger <vapier@gentoo.org>
25523
25524 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
25525 send the output to /dev/null.
25526 (libc_cv_cc_with_libunwind): Likewise.
25527 (libc_cv_as_noexecstack): Likewise.
25528 * configure: Regenerate.
25529
0708a7d1
JM
255302012-10-24 Joseph Myers <joseph@codesourcery.com>
25531
10b40d85
JM
25532 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
25533
0708a7d1
JM
25534 * posix/globtest.sh (TMPDIR): Do not set.
25535 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
25536 (testout): Likewise.
25537
9fddec1a
AJ
255382012-10-24 Andreas Jaeger <aj@suse.de>
25539
3a8db22f
AJ
25540 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
25541 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
25542 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
25543 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
25544 posix_fadvise64, posix_fallocate64.
25545
9fddec1a
AJ
25546 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
25547 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
25548 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
25549 Likewise.
25550 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
25551 Likewise.
25552 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
25553
25554 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
25555 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
25556 <bits/fcntl-linux.h>.
25557 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
25558
25559 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
25560 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
25561 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
25562 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
25563 [__WORDSIZE != 64]: Likewise.
25564
ebfd1bbd
JM
255652012-10-23 Joseph Myers <joseph@codesourcery.com>
25566
03ac099f
JM
25567 * Makeconfig (run-built-tests): New variable.
25568 * Rules [$(cross-compiling) = yes]: Change condition to
25569 [$(run-built-tests) = no].
25570 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
25571 to [$(run-built-tests) = yes].
25572 * elf/Makefile [$(cross-compiling) = no]: Likewise
25573 * grp/Makefile [$(cross-compiling) = no]: Likewise.
25574 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
25575 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
25576 * intl/Makefile [$(cross-compiling) = no]: Likewise.
25577 * io/Makefile [$(cross-compiling) = no]: Likewise.
25578 * libio/Makefile [$(cross-compiling) = no]: Likewise.
25579 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
25580 * misc/Makefile [$(cross-compiling) = no]: Likewise.
25581 * posix/Makefile [$(cross-compiling) = no]: Likewise.
25582 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
25583 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
25584 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
25585 * string/Makefile [$(cross-compiling) = no]: Likewise.
25586
ebfd1bbd
JM
25587 * posix/Makefile ($(objpfx)globtest.out): Pass
25588 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
25589 $(rtld-installed-name).
25590 * posix/globtest.sh (elf_objpfx): Remove variable.
25591 (rtld_installed_name): Likewise.
25592 (library_path): Likewise.
25593 (run_program_prefix): New variable. Use for running globtest
25594 binary.
25595
166bca24
JB
255962012-10-23 Jim Blandy <jimb@codesourcery.com>
25597 Joseph Myers <joseph@codesourcery.com>
25598
25599 * Makeconfig (host-built-program-cmd): New variable.
25600 * elf/Makefile (tst-stackguard1-ARGS): Use
25601 $(host-built-program-cmd).
25602 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
25603 (tst-spawn-ARGS): Likewise.
25604 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
25605
88866099
JM
256062012-10-23 Joseph Myers <joseph@codesourcery.com>
25607 Jim Blandy <jimb@codesourcery.com>
25608
25609 * Makeconfig (run-via-rtld-prefix): New variable.
25610 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
25611 (built-program-cmd): Likewise.
25612
b4b4c296
AJ
256132012-10-22 Andreas Jaeger <aj@suse.de>
25614
25615 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
25616 __O_RSYNC if it exists, otherwise to O_SYNC.
25617
6fb54a22
JB
256182012-10-22 Jim Blandy <jimb@codesourcery.com>
25619 Joseph Myers <joseph@codesourcery.com>
25620
25621 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
25622 /dev/null.
25623 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
25624 from /dev/null
25625 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
25626 /dev/null.
25627
481b90b9
AJ
256282012-10-22 Andreas Jaeger <aj@suse.de>
25629
2a0e2669
AJ
25630 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
25631 Define always.
25632 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
25633
76e38f9a
AJ
25634 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25635 bits/fcntl-linux.h.
25636
7cd37b43
AJ
25637 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
25638 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
25639
481b90b9
AJ
25640 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
25641 to __O_LARGEFILE.
25642 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
25643 to __O_LARGEFILE.
25644
aba75984
JB
256452012-10-21 Jim Blandy <jimb@codesourcery.com>
25646 Joseph Myers <joseph@codesourcery.com>
25647
25648 * config.make.in (NM): New variable.
25649
88d4247f
AJ
256502012-10-21 Andreas Jaeger <aj@suse.de>
25651
25652 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
25653 definitions and declarations that are provided by
25654 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25655
f2eed205
L
256562012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25657
25658 [BZ #14683]
25659 * elf/Makefile (tests-static): Add tst-leaks1-static.
25660 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
25661 ($(objpfx)tst-leaks1-static): New rule.
25662 ($(objpfx)tst-leaks1-static-mem): Likewise.
25663 (tst-leaks1-static-ENV): New macro.
25664 * elf/dl-open.c (dl_open_worker): Check the main application
25665 only if SHARED is defined.
25666 * elf/tst-leaks1-static.c: New file.
25667
335e6931
AJ
256682012-10-20 Andreas Jaeger <aj@suse.de>
25669
25670 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
25671 generic values for Linux.
25672 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
25673 and declarations that are provided by <bits/fcntl-linux.h> and
25674 include <bits/fcntl-linux.h>.
25675 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25676 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25677
ac5c94d3
RM
256782012-10-20 Roland McGrath <roland@hack.frob.com>
25679
25680 * io/fcntl.h: Move include of <bits/types.h> to the top and
25681 include it unconditionally.
25682
de54b33a
L
256832012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25684
228cfb01
L
25685 * wcsmbs/Makefile (tests-ifunc): New variable.
25686 (tests): Add $(tests-ifunc).
25687 * wcsmbs/test-wcschr-ifunc.c: New file.
25688 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25689 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25690 * wcsmbs/test-wcslen-ifunc.c: Likewise.
25691 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25692 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25693
69f07e5f
L
25694 * string/Makefile (tests-ifunc): New variable.
25695 (tests): Add $(tests-ifunc).
25696 * string/test-memccpy.c (TEST_NAME): New macro.
25697 * string/test-memchr.c (TEST_NAME): Likewise.
25698 * string/test-memcmp.c (TEST_NAME): Likewise.
25699 * string/test-memcpy.c (TEST_NAME): Likewise.
25700 * string/test-memmem.c (TEST_NAME): Likewise.
25701 * string/test-memmove.c (TEST_NAME): Likewise.
25702 * string/test-memset.c (TEST_NAME): Likewise.
25703 * string/test-rawmemchr.c (TEST_NAME): Likewise.
25704 * string/test-stpcpy.c (TEST_NAME): Likewise.
25705 * string/test-stpncpy.c (TEST_NAME): Likewise.
25706 * string/test-strcasecmp.c (TEST_NAME): Likewise.
25707 * string/test-strcasestr.c (TEST_NAME): Likewise.
25708 * string/test-strcat.c (TEST_NAME): Likewise.
25709 * string/test-strchr.c (TEST_NAME): Likewise.
25710 * string/test-strcmp.c(TEST_NAME): Likewise.
25711 * string/test-strcpy.c (TEST_NAME): Likewise.
25712 * string/test-strcspn.c (TEST_NAME): Likewise.
25713 * string/test-strlen.c (TEST_NAME): Likewise.
25714 * string/test-strncasecmp.c (TEST_NAME): Likewise.
25715 * string/test-strncmp.c (TEST_NAME): Likewise.
25716 * string/test-strncpy.c (TEST_NAME): Likewise.
25717 * string/test-strnlen.c (TEST_NAME): Likewise.
25718 * string/test-strpbrk.c (TEST_NAME): Likewise.
25719 * string/test-strrchr.c (TEST_NAME): Likewise.
25720 * string/test-strspn.c (TEST_NAME): Likewise.
25721 * string/test-strstr.c (TEST_NAME): Likewise.
25722 * string/test-bcopy-ifunc.c: New file.
25723 * string/test-bzero-ifunc.c: Likewise.
25724 * string/test-memccpy-ifunc.c: Likewise.
25725 * string/test-memchr-ifunc.c: Likewise.
25726 * string/test-memcmp-ifunc.c: Likewise.
25727 * string/test-memcpy-ifunc.c: Likewise.
25728 * string/test-memmem-ifunc.c: Likewise.
25729 * string/test-memmove-ifunc.c: Likewise.
25730 * string/test-mempcpy-ifunc.c: Likewise.
25731 * string/test-memset-ifunc.c: Likewise.
25732 * string/test-rawmemchr-ifunc.c: Likewise.
25733 * string/test-stpcpy-ifunc.c: Likewise.
25734 * string/test-stpncpy-ifunc.c: Likewise.
25735 * string/test-strcasecmp-ifunc.c: Likewise.
25736 * string/test-strcasestr-ifunc.c: Likewise.
25737 * string/test-strcat-ifunc.c: Likewise.
25738 * string/test-strchr-ifunc.c: Likewise.
25739 * string/test-strchrnul-ifunc.c: Likewise.
25740 * string/test-strcmp-ifunc.c: Likewise.
25741 * string/test-strcpy-ifunc.c: Likewise.
25742 * string/test-strcspn-ifunc.c: Likewise.
25743 * string/test-strlen-ifunc.c: Likewise.
25744 * string/test-strncasecmp-ifunc.c: Likewise.
25745 * string/test-strncat-ifunc.c: Likewise.
25746 * string/test-strncmp-ifunc.c: Likewise.
25747 * string/test-strncpy-ifunc.c: Likewise.
25748 * string/test-strnlen-ifunc.c: Likewise.
25749 * string/test-strpbrk-ifunc.c: Likewise.
25750 * string/test-strrchr-ifunc.c: Likewise.
25751 * string/test-strspn-ifunc.c: Likewise.
25752 * string/test-strstr-ifunc.c: Likewise.
25753
de54b33a
L
25754 * debug/Makefile (tests-ifunc): New variable.
25755 (tests): Add $(tests-ifunc).
25756 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
25757 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
25758 * debug/test-stpcpy_chk-ifunc.c: New file.
25759 * debug/test-strcpy_chk-ifunc.c: Likewise.
25760
88481c16
SP
257612012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25762
25763 [BZ #13601]
25764 * elf/dl-load.c (open_verify): Retry read if the entire ELF
25765 header is not read in.
25766
135948bd
JM
257672012-10-19 Joseph Myers <joseph@codesourcery.com>
25768
89f1c388
JM
25769 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
25770 script to $(SHELL) as $<. Pass $(common-objpfx) to script
25771 directly. Pass built executable to script as
25772 $(built-program-cmd).
25773 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
25774 $testprogram without using LD_LIBRARY_PATH and $ldso.
25775
e40a0d21
JM
25776 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
25777 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
25778 $(rtld-installed-name).
25779 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
25780 (rtld_installed_name): Likewise.
25781 (library_path): Likewise.
25782 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
25783 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
25784 $(run-program-prefix) to tst-tables.sh.
25785 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
25786 it to run tst-table-from and tst-table-to.
25787 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
25788 Pass it to tst-table.sh.
25789 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
25790 $(run-program-prefix) to tst-gettext.sh.
25791 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
25792 tst-translit.sh.
25793 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
25794 tst-gettext2.sh.
25795 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
25796 to run tst-gettext.
25797 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
25798 to run tst-gettext2.
25799 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
25800 to run tst-translit.
25801 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
25802 $(run-program-prefix) to tst-mtrace.sh.
25803 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
25804 to run tst-mtrace.
25805 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
25806 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
25807 $(rtld-installed-name).
25808 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
25809 (rtld_installed_name): Likewise.
25810 (run_program_prefix): New variable. Use it to run wordexp-test.
25811
728e272a
JM
25812 * Makeconfig (ARCH): Remove all definitions.
25813 (machine): Likewise.
25814 [ARCH]: Remove conditional code.
25815 [!objdir]: Give error.
25816 [!objdir] (objpfx): Remove.
25817 [!objdir] (common-objpfx): Likewise.
25818 [!objdir] (common-objdir): Likewise.
25819 * configure.in (config_makefile): Remove. Hardcode Makefile in
25820 AC_CONFIG_FILES call.
25821 * configure: Regenerated.
25822
d528cdcf
JM
25823 [BZ #13888]
25824 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
25825 or TMPDIR.
25826 (testout): Likewise.
25827
135948bd
JM
25828 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
25829 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
25830 $(rtld-installed-name).
25831 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
25832 (rtld_installed_name): Likwise.
25833 (runit): Remove function.
25834 (run_getconf): New variable, Use it for running getconf binary.
25835
38c78296
L
258362012-10-18 H.J. Lu <hongjiu.lu@intel.com>
25837
25838 [BZ #14716]
25839 * string/test-memmem.c (check_result): New function.
25840 (do_one_test): Use it.
25841 (check1): New function.
25842 (test_main): Use it.
25843
d077f65f
MT
258442012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
25845
25846 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
25847
ced52c71
JM
258482012-10-18 Joseph Myers <joseph@codesourcery.com>
25849
25850 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
25851 (_G_LSEEK64): Likewise.
25852 (_G_MMAP64): Likewise.
25853 (_G_FSTAT64): Likewise.
25854 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
25855 (_G_LSEEK64): Likewise.
25856 (_G_MMAP64): Likewise.
25857 (_G_FSTAT64): Likewise.
25858 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
25859 unconditional. Call __mmap64 directly.
25860 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
25861 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
25862 __lseek64 directly.
25863 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
25864 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
25865 __mmap64 directly.
25866 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
25867 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
25868 __lseek64 directly.
25869 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
25870 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
25871 __lseek64 directly.
25872 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
25873 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
25874 __lseek64 directly.
25875 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
25876 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
25877 __fxstat64 directly.
25878 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
25879 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
25880 unconditional.
25881 (freopen64) [!_G_OPEN64]: Remove conditional code.
25882 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
25883 unconditional.
25884 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
25885 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
25886 unconditional.
25887 (ftello64) [!_G_LSEEK64]: Remove conditional code.
25888 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
25889 unconditional.
25890 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25891 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
25892 unconditional.
25893 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
25894 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
25895 unconditional.
25896 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25897 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
25898 unconditional.
25899 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25900 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
25901 unconditional.
25902 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25903
b741de23
SP
259042012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25905
25906 [BZ #12140]
25907 * manual/memory.texi (Malloc Tunable Parameters): Add note
25908 about free list pointers overwriting some perturb bytes.
25909 Wording suggested by Roland McGrath.
25910
f9b9d9c9
JM
259112012-10-17 Joseph Myers <joseph@codesourcery.com>
25912
25913 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
25914 (lgamma_test): Likewise.
25915 (tgamma_test): Likewise.
25916
172a631a
FW
259172012-10-16 Florian Weimer <fweimer@redhat.com>
25918
25919 [BZ #14700]
25920 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
25921 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
25922
e9f37252
MK
259232012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
25924
25925 * NEWS: Mention BZ #14716.
25926 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
25927 when removing AVAILABLE1_USES_J macro.
25928
d394eb74
L
259292012-10-12 H.J. Lu <hongjiu.lu@intel.com>
25930
25931 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
25932 (__bswap_64): __uint64_t for unsigned 64-bit int.
25933
ca38dc17
AS
259342012-10-12 Andreas Schwab <schwab@linux-m68k.org>
25935
25936 * include/string.h (memmem): Declare libc hidden alias.
25937 * string/memmem.c (memmem): Define libc hidden alias.
25938 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
25939 __read, __close instead of open, read, close.
25940
9a387d1f
L
259412012-10-11 H.J. Lu <hongjiu.lu@intel.com>
25942
ac49ecaf
L
25943 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
25944 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
25945 global and hidden.
25946 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
25947 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
25948 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
25949 Likewise.
25950 (__rawmemchr_sse2): Likewise.
25951 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
25952 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
25953 (__strchr_sse2): Likewise.
25954 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
25955 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
25956 (__strcasecmp_sse2): Likewise.
25957 (__strncasecmp_sse2): Likewise.
25958 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
25959 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
25960 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
25961 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
25962 (__strrchr_sse2): Likewise.
25963 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
25964 ifunc-impl-list.c.
25965 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25966 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25967 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25968 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25969 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25970 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25971 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25972 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25973 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
25974 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
25975 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
25976 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
25977 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
25978 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25979 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25980 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25981 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25982 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25983 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
25984 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
25985 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
25986 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
25987 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
25988 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25989 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
25990 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25991 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25992 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25993 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25994 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25995
b090e8ea
L
25996 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
25997 global and hidden.
25998 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
25999 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26000 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26001 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26002 Likewise.
26003 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26004 Likewise.
26005 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26006 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26007 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26008 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26009 ifunc-impl-list.c.
26010 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26011 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26012 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26013 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26014 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26015 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26016 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26017 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26018 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26019 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26020 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26021 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26022 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26023 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26024 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26025 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26026 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26027 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26028 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26029 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26030 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26031 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26032 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26033 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26034 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26035 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26036 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26037 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26038 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26039 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26040 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26041 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26042 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26043 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26044 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26045 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26046 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26047 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26048 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26049 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26050 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26051
11dd4af6
L
26052 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26053 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26054 * include/ifunc-impl-list.h: New file.
26055 * misc/ifunc-impl-list.c: Likewise.
26056 * misc/Makefile (routines): Add ifunc-impl-list.
26057 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26058 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
26059 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26060 TEST_NAME]: New variables.
11dd4af6
L
26061 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26062 are defined.
26063 (test_init): Call __libc_ifunc_impl_list to initialize
26064 func_list if TEST_IFUNC and TEST_NAME are defined.
26065
9a387d1f
L
26066 * string/Makefile (strop-tests): Add bcopy and bzero.
26067 * string/test-bcopy.c: New file.
26068 * string/test-bzero.c: Likewise.
26069 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26070 defined.
26071 * string/test-memset.c: Support bzero test if TEST_BZERO is
26072 defined.
26073 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26074 __libc_memmove.
26075 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26076 __libc_memset.
26077 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26078 of memset.
26079
472371b9
JM
260802012-10-10 Joseph Myers <joseph@codesourcery.com>
26081
1e4a9536
JM
26082 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26083 * configure: Regenerated.
26084
d173d12e
JM
26085 * Makeconfig (+link-static-before-libc): Don't include
26086 $(link-static-libc).
26087
472371b9
JM
26088 * libio/libio.h (_IO_pos_t): Remove.
26089
89a3ad0b
AO
260902012-10-10 Alexandre Oliva <aoliva@redhat.com>
26091
26092 * NEWS: Add note about FIPS mode. Wording suggested by Roland
26093 McGrath.
26094
e7451425
AO
260952012-10-10 Alexandre Oliva <aoliva@redhat.com>
26096
26097 * crypt/crypt-entry.c: Include fips-private.h.
26098 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26099 * crypt/md5c-test.c (main): Tolerate disabled MD5.
26100 * sysdeps/unix/sysv/linux/fips-private.h: New file.
26101 * sysdeps/generic/fips-private.h: New file, dummy fallback.
26102
4ba74a35
AO
261032012-10-10 Alexandre Oliva <aoliva@redhat.com>
26104
26105 * crypt/crypt-private.h: Include stdbool.h.
26106 (_ufc_setup_salt_r): Return bool.
26107 * crypt/crypt-entry.c: Include errno.h.
26108 (__crypt_r): Return NULL with EINVAL for bad salt.
26109 * crypt/crypt_util.c (bad_for_salt): New.
26110 (_ufc_setup_salt_r): Check that salt is long enough and within
26111 the specified alphabet.
26112 * crypt/badsalttest.c: New file.
26113 * crypt/Makefile (tests): Add it.
26114 ($(objpfx)badsalttest): New.
26115
f96f1242
MK
261162012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
26117
26118 * NEWS: Add entry for BZ #14602.
26119
0e8e0c1c
JM
261202012-10-09 Joseph Myers <joseph@codesourcery.com>
26121
26122 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26123 type-generic.
26124 * math/libm-test.inc: Update comment listing what functions and
26125 macros are tested.
26126 (isgreater_test): New function.
26127 (isgreaterequal_test): Likewise.
26128 (isless_test): Likewise.
26129 (islessequal_test): Likewise.
26130 (islessgreater_test): Likewise.
26131 (isunordered_test): Likewise.
26132 (main): Call the new functions.
26133
273edc5e
RM
261342012-10-09 Roland McGrath <roland@hack.frob.com>
26135
b8493de0
RM
26136 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26137 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26138 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26139 * sysdeps/i386/configure: Regenerated.
26140 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26141 * sysdeps/mach/configure: Regenerated.
26142 * sysdeps/mach/hurd/configure: Regenerated.
26143 * sysdeps/powerpc/configure: Regenerated.
26144 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26145 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26146 * sysdeps/s390/s390-32/configure: Regenerated.
26147 * sysdeps/s390/s390-64/configure: Regenerated.
26148 * sysdeps/sh/configure: Regenerated.
26149 * sysdeps/sparc/configure: Regenerated.
26150 * sysdeps/unix/sysv/linux/configure: Regenerated.
26151 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26152 * sysdeps/x86_64/configure: Regenerated.
26153
273edc5e
RM
26154 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26155 defined. Don't check if MAP is NULL.
26156
c8450f70
JM
261572012-10-09 Joseph Myers <joseph@codesourcery.com>
26158
26159 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26160 (_G_stat64): Likewise.
26161 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26162 (_G_stat64): Likewise.
26163 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26164 instead of struct _G_stat64.
26165 * libio/fileops.c (mmap_remap_check): Likewise.
26166 (decide_maybe_mmap): Likewise.
26167 (_IO_new_file_seekoff): Likewise.
26168 (_IO_file_stat): Likewise.
26169 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26170 _G_off64_t.
26171 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26172 instead of struct _G_stat64.
26173 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26174
57e605ba
MK
261752012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
26176
26177 [BZ #14602]
26178 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26179 Replace with ...
26180 (CHECK_EOL): New macro.
26181 (two_way_short_needle): Check beginning of haystack for EOL. Use
26182 CHECK_EOL.
26183 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26184 Replace with CHECK_EOL.
26185 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26186 Replace with CHECK_EOL.
26187
ef1bb361
JM
261882012-10-08 Joseph Myers <joseph@codesourcery.com>
26189
26190 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26191 type-generic.
26192 * math/libm-test.inc: Update comment listing what functions and
26193 macros are tested.
26194 (finite_test): New function.
26195 (isinf_test): Likewise.
26196 (isnan_test): Likewise.
26197 (fpclassify_test): Test subnormal input.
26198 (isfinite_test): Likewise.
26199 (isnormal_test): Likewise.
26200 (main): Call the new functions.
26201
55f11534
JN
262022012-10-08 Jonathan Nieder <jrnieder@gmail.com>
26203
26204 [BZ #14660]
26205 * Makerules (%.dynsym): Force C locale when running
26206 $(OBJDUMP) --dynamic-syms.
26207
1ab29350
AS
262082012-10-08 Andreas Schwab <schwab@linux-m68k.org>
26209
26210 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26211 <stdint.h>.
26212
f1ecb7ef
DM
262132012-10-06 David S. Miller <davem@davemloft.net>
26214
26215 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26216 upper 32-bits of the length value in %o2 since we use branch-on-register
26217 tests which consider the entire 64-bit register.
26218
5d41d91a
L
262192012-10-06 H.J. Lu <hongjiu.lu@intel.com>
26220
26221 * string/test-strstr.c (check2): Add a test for page boundary.
26222
3baddb72
DM
262232012-10-05 David S. Miller <davem@davemloft.net>
26224
26225 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26226 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26227 file.
26228 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26229 sysdep_routines.
26230 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26231 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26232 and bzero when HWCAP_SPARC_CRYPTO is present.
26233
9cee5585
L
262342012-10-05 H.J. Lu <hongjiu.lu@intel.com>
26235
d7e0dab9
L
26236 [BZ #14602]
26237 * string/test-strstr.c (check2): New function.
26238 (test_main): Call check2.
26239
03759f47
L
26240 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26241 and bug-strchr1.
26242 * string/bug-strcasestr1.c (do_test): Moved to ...
26243 * string/test-strcasestr.c (check1): Here. New function.
26244 (do_one_test): Break out result checking code into ...
26245 (check_result): This. New function.
26246 (do_one_test): Call check_result.
26247 (test_main): Call check1.
26248 * string/bug-strchr1.c (do_test): Moved to ...
26249 * string/test-strchr.c (check1): Here. New function.
26250 (do_one_test): Break out result checking code into ...
26251 (check_result): This. New function.
26252 (do_one_test): Call check_result.
26253 (test_main): Call check1.
26254 * string/bug-strstr1.c (main): Moved to ...
046f153e 26255 * string/test-strstr.c (check1): Here. New function.
03759f47
L
26256 (do_one_test): Break out result checking code into ...
26257 (check_result): This. New function.
26258 (do_one_test): Call check_result.
26259 (test_main): Call check1.
26260 * string/bug-strcasestr1.c: Removed.
26261 * string/bug-strchr1.c: Likewise.
26262 * string/bug-strstr1.c: Likewise.
26263
53cea63e
L
26264 * elf/Makefile (dl-routines): Add hwcaps.
26265 * elf/dl-support.c (_dl_important_hwcaps): Removed.
26266 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26267 (_dl_important_hwcaps): Moved to ...
26268 * elf/dl-hwcaps.c: Here. New file.
26269 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26270
9cee5585 26271 [BZ #14557]
bb859b06
L
26272 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26273 if IS_IN_rtld isn't defined.
26274
9cee5585
L
26275 * elf/dl-support.c (_dl_sysinfo_map): New.
26276 Include "get-dynamic-info.h" and "setup-vdso.h".
26277 (_dl_non_dynamic_init): Call setup_vdso.
26278 * elf/dynamic-link.h: Don't include <assert.h>.
26279 (elf_get_dynamic_info): Moved to ...
26280 * elf/get-dynamic-info.h: Here. New file.
26281 * elf/dynamic-link.h: Include "get-dynamic-info.h".
26282 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26283 * elf/setup-vdso.h: Here. New file.
26284 * elf/rtld.c: Include "setup-vdso.h".
26285 (dl_main): Call setup_vdso.
26286
23c31b76
JM
262872012-10-05 Joseph Myers <joseph@codesourcery.com>
26288
28234b07
JM
26289 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26290 creal in comment listing functions tested. List finite, isinf,
26291 isnan, isless, islessequal, isgreater, isgreaterequal,
26292 islessgreater, isunordered, lgamma_r and pow10 as functions and
26293 macros not tested. Mention which functions not tested are aliases
26294 for other functions. Fix typo. Note that signs of NaNs are not
26295 tested.
26296
23c31b76
JM
26297 * scripts/config.guess: Update from config.git.
26298 * scripts/config.sub: Likewise.
26299
9043e228
RM
263002012-10-04 Roland McGrath <roland@hack.frob.com>
26301
26302 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26303 * misc/madvise.c (madvise): Renamed to __madvise.
26304 Make madvise a weak alias.
26305 * include/sys/mman.h: Declare __madvise.
26306 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26307 * sysdeps/unix/syscalls.list
26308 (madvise): Make __madvise the strong name, and madvise a weak alias.
26309 * sysdeps/unix/sysv/linux/syscalls.list
26310 (madvise, mmap): Remove redundant entries.
26311 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26312 * malloc/malloc.c (mtrim): Likewise.
26313 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26314
f57f8055
RM
263152012-10-03 Roland McGrath <roland@hack.frob.com>
26316
26317 * sysdeps/mach/hurd/dl-cache.c: File removed.
26318 * config.h.in (USE_LDCONFIG): New #undef.
26319 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26320 * configure: Regenerated.
26321 * elf/Makefile (dl-routines): Add dl-cache only under
26322 [$(use-ldconfig) = yes].
26323 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26324 cache on [USE_LDCONFIG].
26325 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26326 [USE_LDCONFIG].
26327 * elf/rtld.c (dl_main): Likewise.
26328
5bb0c10a
PT
263292012-10-03 Pino Toscano <toscano.pino@tiscali.it>
26330
26331 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26332 _SC_LEVEL4_CACHE_LINESIZE.
26333
010188c6
RM
263342012-10-03 Roland McGrath <roland@hack.frob.com>
26335
26336 * sysdeps/unix/bsd/confstr.h: File removed.
26337
b6c5ec07
AO
263382012-10-02 Alexandre Oliva <aoliva@redhat.com>
26339
26340 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26341 sys/sdt-config.h.
26342
408223d4
RM
263432012-10-02 Roland McGrath <roland@hack.frob.com>
26344
26345 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26346 Make 'mapoff' field ElfW(Off) rather than off_t.
26347
bb9510dc
DL
263482012-10-02 Dmitry V. Levin <ldv@altlinux.org>
26349
fc997c6e
DL
26350 * nscd/Makefile: Remove nscd-cflags and all its users.
26351 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26352 (CFLAGS-nonlib): Add compiler flags for nscd modules.
26353
bb9510dc
DL
26354 [BZ #10631]
26355 * malloc.c (malloc_printerr): Clarify error message.
26356
05699367
L
263572012-10-02 H.J. Lu <hongjiu.lu@intel.com>
26358
26359 [BZ #14648]
26360 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26361 Set bit_FMA_Usable if FMA is supported.
26362 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26363 macro.
26364 (bit_FMA4_Usable): Updated.
26365 (index_FMA_Usable): New macro.
26366 (CPUID_FMA): Likewise
26367 (HAS_FMA): Defined with bit_FMA_Usable.
26368
51367701
RM
263692012-10-01 Roland McGrath <roland@hack.frob.com>
26370
26371 * bits/types.h (__swblk_t): Type removed.
26372 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26373 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26374 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26375 (__SWBLK_T_TYPE): Likewise.
26376 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26377 (__SWBLK_T_TYPE): Likewise.
26378 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26379 (__SWBLK_T_TYPE): Likewise.
26380 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26381 (__SWBLK_T_TYPE): Likewise.
26382
4d57bf63 263832012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 26384 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
26385
26386 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26387 (xdr_mapname): Use YPMAXMAP as maxsize.
26388 (xdr_peername): Use YPMAXPEER as maxsize.
26389 (xdr_keydat): Use YPAXRECORD as maxsize.
26390 (xdr_valdat): Use YPMAXRECORD as maxsize.
26391
93c65d43
RM
263922012-10-01 Roland McGrath <roland@hack.frob.com>
26393
497a03d6
RM
26394 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26395
93c65d43
RM
26396 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26397 * csu/init-first.c: ... here.
26398 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26399 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26400 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26401 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26402 * sysdeps/i386/init-first.c: File removed.
26403 * sysdeps/sh/init-first.c: File removed.
26404
bec749fd
JM
264052012-10-01 Joseph Myers <joseph@codesourcery.com>
26406
26407 [BZ #14645]
26408 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26409 if x * y might underflow to zero and z is zero.
26410 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26411 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26412 * math/libm-test.inc (min_subnorm_value): New variable.
26413 (fma_test): Add more tests.
26414 (fma_test_towardzero): Likewise.
26415 (fma_test_downward): Likewise
26416 (fma_test_upward): Likewise.
26417 (initialize): Set min_subnorm_value.
26418
8ec5b013
JM
264192012-09-29 Joseph Myers <joseph@codesourcery.com>
26420
26421 [BZ #14638]
26422 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26423 0 + 0.
26424 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26425 mode for addition resulting in exact zero.
26426 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26427 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26428 exact 0 + 0.
26429 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26430 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26431 * math/libm-test.inc (fma_test): Add more tests.
26432 (fma_test_towardzero): New function.
26433 (fma_test_downward): Likewise.
26434 (fma_test_upward): Likewise.
26435 (main): Call the new functions.
26436
b1fa802e
DM
264372012-09-28 David S. Miller <davem@davemloft.net>
26438
26439 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26440
d3b9fd9e
RM
264412012-09-28 Roland McGrath <roland@hack.frob.com>
26442
ea4d37b3
RM
26443 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26444 instead of SIGALRM.
26445
ac51c949
RM
26446 * sysdeps/gnu/_G_config.h: Moved to ...
26447 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
26448 * sysdeps/mach/hurd/_G_config.h: Moved to ...
26449 * sysdeps/generic/_G_config.h: ... here.
26450
28c195f7
RM
26451 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
26452
848917f9
RM
26453 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
26454
6bacf05b
RM
26455 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
26456 Conditionalize target on [libnss_test1.so-version].
26457
91363dbb
RM
26458 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
26459
cc87f7d8
RM
26460 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
26461 (elfobjdir): Move out of conditionals.
26462
b1c608fe
RM
26463 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
26464 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
26465 (__nss_lookup_function): Conditionalize label remove_from_tree on
26466 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 26467
1d9a6d96
DM
264682012-09-28 David S. Miller <davem@davemloft.net>
26469
26470 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
26471 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
26472 file.
26473 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26474 sysdep_routines.
26475 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26476 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
26477 when HWCAP_SPARC_CRYPTO is present.
26478
72581615
PT
264792012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26480
26481 * io/tst-mknodat.c: Create a FIFO instead of a socket.
26482
715a900c
JL
264832012-09-28 Andreas Schwab <schwab@linux-m68k.org>
26484
26485 [BZ #6530]
26486 * stdio-common/vfprintf.c (process_string_arg): Revert
26487 2000-07-22 change.
26488
264892011-09-28 Jonathan Nieder <jrnieder@gmail.com>
26490
26491 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
26492 for testcase.
26493 * stdio-common/tst-sprintf.c: Include <locale.h>
26494 (main): Test sprintf's handling of incomplete multibyte
26495 characters.
26496
9bac1d86
L
264972012-09-28 H.J. Lu <hongjiu.lu@intel.com>
26498
26499 * elf/dl-runtime.c (VERSYMIDX): Removed.
26500 * elf/dl-version.c (VERSYMIDX): Likewise.
26501 * elf/do-rel.h (VERSYMIDX): Likewise.
26502 (VALIDX): Likewise.
26503 * elf/dynamic-link.h (VERSYMIDX): Likewise.
26504 * elf/rtld.c (VALIDX): Likewise.
26505 (ADDRIDX): Likewise.
9bac1d86
L
26506 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
26507 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
26508 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
26509 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
26510 (VALIDX): Likewise.
26511 (ADDRIDX): Likewise.
9bac1d86 26512
b31606c0
PT
265132012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26514
26515 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
26516
11541177
JL
265172012-09-28 Dmitry V. Levin <ldv@altlinux.org>
26518
26519 [BZ #11438]
26520 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
26521 to global scope.
26522 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
26523 addresses are in the same scope as 192.0.2/24.
26524 * posix/gai.conf: Document new scope table defaults.
26525
adb26fae
SP
265262012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26527
26528 [BZ #5298]
26529 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
26530 for ftell. Compute offsets from write pointers instead.
26531 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26532
4573c6b0
SP
265332012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26534
26535 [BZ #14543]
26536 * libio/Makefile (tests): New test case tst-fseek.
26537 * libio/tst-fseek.c: New test case to verify that fseek/ftell
26538 combination works in wide mode.
26539 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
26540 state when the external buffer state changes.
26541
aa9bbfe6
DM
265422012-09-27 David S. Miller <davem@davemloft.net>
26543
26544 [BZ #14376]
26545 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
26546 pass reloc->r_addend in as the 'high' argument to
26547 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
26548
784421e7
DM
26549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26550
c39bc8b8
PT
265512012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26552
26553 * rt/tst-aio2.c: Include <pthread.h>.
26554 * rt/tst-aio3.c: Likewise.
26555
1ccc2399
SE
265562012-09-27 Steve Ellcey <sellcey@mips.com>
26557
26558 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
26559
31ed4153
L
265602012-09-27 H.J. Lu <hongjiu.lu@intel.com>
26561
25f5f885
L
26562 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
26563 contents on [SHARED].
31ed4153 26564
b7bfe116
MP
265652012-09-26 Marek Polacek <polacek@redhat.com>
26566
26567 [BZ #14530]
26568 [BZ #13741]
26569 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
26570 for C++ and GCC <4.3 as well as for non GCC compilers.
26571
43c4edba
MT
265722012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
26573
26574 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26575
6a1bf82f
RM
265762012-09-25 Roland McGrath <roland@hack.frob.com>
26577
26578 * Makefile.in (all, install): Declare with .PHONY.
26579 Reported by Michael Hope <michael.hope@linaro.org>.
26580
8ad11b9a
TMQMF
265812012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26582
26583 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
26584 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
26585 system header.
26586 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
26587 Likewise.
26588 (sydep_routines): Add the new and the internal functions.
26589 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
26590 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
26591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
26592 (GLIBC_2.17): Add the new function.
26593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26594 (GLIBC_2.17): Likewise.
26595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
26596 (GLIBC_2.17): Likewise.
26597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
26598 (GLIBC_2.17): Likewise.
26599 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
26600
7e2fca8d
AM
266012012-09-25 Alan Modra <amodra@gmail.com>
26602
26603 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
26604 Add release barrier before setting once_control to say
26605 initialisation is done. Add hints on lwarx. Use macro in
26606 place of isync.
26607 (clear_once_control): Add release barrier.
26608
b87c4b24
JM
266092012-09-25 Joseph Myers <joseph@codesourcery.com>
26610
d032e0d2
JM
26611 [BZ #13629]
26612 * math/s_clog.c (__clog): Handle more values close to |z| = 1
26613 specially.
26614 * math/s_clog10.c (__clog10): Likewise.
26615 * math/s_clog10f.c (__clog10f): Likewise.
26616 * math/s_clog10l.c (__clog10l): Likewise.
26617 * math/s_clogf.c (__clogf): Likewise.
26618 * math/s_clogl.c (__clogl): Likewise.
26619 * math/Makefile (libm-calls): Add x2y2m1.
26620 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
26621 (__x2y2m1): Likewise.
26622 (__x2y2m1l): Likewise.
26623 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
26624 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
26625 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
26626 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26627 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
26628 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
26629 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
26630 * sysdeps/i386/fpu/libm-test-ulps: Update.
26631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26632
b87c4b24
JM
26633 [BZ #14621]
26634 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
26635 int as type of variable DEPTH.
26636 (glob): Use size_t instead of int as type of variables NEWCOUNT
26637 and OLD_PATHC.
26638
6d3bf199
LD
266392012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26640
22bf5c17
LD
26641 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26642 Add s_sincosf-sse2.
26643 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
26644 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
26645 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
26646 macros for using routine as __sincosf_ia32.
26647 Use macro for function declaration and weak_alias.
26648 * sysdeps/i386/fpu/libm-test-ulps: Update.
26649
26650 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
26651 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26652
26653 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
26654 subnormal argument.
26655 * math/s_cexpf.c (__cexpf): Likewise.
26656 * math/s_csinf.c (__csinf): Likewise.
26657 * math/s_csinhf.c (__csinhf): Likewise.
26658 * math/s_ctanf.c (__ctanf): Likewise.
26659 * math/s_ctanhf.c (__ctanhf): Likewise.
26660 * math/s_ccosh.c (__ccoshf): Likewise.
26661 * math/s_cexp.c (__cexpl): Likewise.
26662 * math/s_csin.c (__csin): Likewise.
26663 * math/s_csinh.c (__csinh): Likewise.
26664 * math/s_ctan.c (__ctan): Likewise.
26665 * math/s_ctanh.c (ctanh): Likewise.
26666 * math/s_ccoshl.c (__ccoshl): Likewise.
26667 * math/s_cexpl.c (__cexpl): Likewise.
26668 * math/s_csinl.c (__csinl): Likewise.
26669 * math/s_csinhl.c (__csinhl): Likewise.
26670 * math/s_ctanl.c (__ctanl): Likewise.
26671 * math/s_ctanhl.c (__ctanhl): Likewise.
26672
203e5603
JM
266732012-09-25 Joseph Myers <joseph@codesourcery.com>
26674
26675 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
26676 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
26677 (_IO_off_t): Define to __off_t, not _G_off_t.
26678 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
26679 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
26680 (_IO_wint_t): Define to wint_t, not _G_wint_t.
26681 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
26682 type of __dummy and __dummy2 fields.
26683 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
26684 (_G_ssize_t): Likewise.
26685 (_G_off_t): Likewise.
26686 (_G_pid_t): Likewise.
26687 (_G_uid_t): Likewise.
26688 (_G_wchar_t): Likewise.
26689 (_G_wint_t): Likewise.
26690 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
26691 (_G_ssize_t): Likewise.
26692 (_G_off_t): Likewise.
26693 (_G_pid_t): Likewise.
26694 (_G_uid_t): Likewise.
26695 (_G_wchar_t): Likewise.
26696 (_G_wint_t): Likewise.
26697 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
26698 (_G_ssize_t): Likewise.
26699 (_G_off_t): Likewise.
26700 (_G_pid_t): Likewise.
26701 (_G_uid_t): Likewise.
26702 (_G_wchar_t): Likewise.
26703 (_G_wint_t): Likewise.
26704
9fab36eb
SP
267052012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26706
26707 * malloc/arena.c: Include malloc-sysdep.h.
26708 (shrink_heap): Use check_may_shrink_heap to decide if madvise
26709 is sufficient to shrink the heap or an unmap is needed.
26710 * sysdeps/generic/malloc-sysdep.h: New file. Define
26711 new function check_may_shrink_heap.
26712 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
26713 new function check_may_shrink_heap.
26714
2b4f00d1
SP
267152012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26716
26717 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
26718 comments.
26719
9a9028b1
DL
267202012-09-24 Dmitry V. Levin <ldv@altlinux.org>
26721
57c69bef
DL
26722 * catgets/test-gencat.sh: Add "set -e".
26723 * elf/tst-pathopt.sh: Likewise.
26724 * grp/tst_fgetgrent.sh: Likewise.
26725 * iconvdata/run-iconv-test.sh: Likewise.
26726 * intl/tst-gettext.sh: Likewise.
26727 * intl/tst-gettext2.sh: Likewise.
26728 * intl/tst-gettext4.sh: Likewise.
26729 * intl/tst-gettext6.sh: Likewise.
26730 * intl/tst-translit.sh: Likewise.
26731 * io/ftwtest-sh: Likewise.
26732 * libio/test-freopen.sh: Likewise.
26733 * malloc/tst-mtrace.sh: Likewise.
26734 * posix/globtest.sh: Likewise.
26735 * posix/tst-getconf.sh: Likewise.
26736 * posix/wordexp-tst.sh: Likewise.
26737 * stdio-common/tst-printf.sh: Likewise.
26738 * stdio-common/tst-unbputc.sh: Likewise.
26739 * stdlib/tst-fmtmsg.sh: Likewise.
26740 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26741 * catgets/Makefile: Do not specify -e option when running
26742 testsuite shell scripts.
26743 * elf/Makefile: Likewise.
26744 * grp/Makefile: Likewise.
26745 * iconvdata/Makefile: Likewise.
26746 * intl/Makefile: Likewise.
26747 * io/Makefile: Likewise.
26748 * libio/Makefile: Likewise.
26749 * malloc/Makefile: Likewise.
26750 * posix/Makefile: Likewise.
26751 * stdio-common/Makefile: Likewise.
26752 * stdlib/Makefile: Likewise.
26753 * sysdeps/x86_64/Makefile: Likewise.
26754
9a9028b1
DL
26755 * io/ftwtest-sh: Add copyright header.
26756 * posix/globtest.sh: Likewise.
26757 * posix/tst-getconf.sh: Likewise.
26758 * posix/wordexp-tst.sh: Likewise.
26759 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26760
ced6f16e
L
267612012-09-24 H.J. Lu <hongjiu.lu@intel.com>
26762
94b32c39
L
26763 [BZ #13679]
26764 * Makeconfig (+link): Defined as $(+link-static) if
26765 $(build-shared) isn't yes.
26766 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
26767 isn't yes.
26768 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
26769
189e935b
L
26770 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
26771
ced6f16e
L
26772 [BZ #14562]
26773 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
26774 new chunk size with MALLOC_ALIGN_MASK.
26775
a9f8e53a
JM
267762012-09-24 Joseph Myers <joseph@codesourcery.com>
26777
26778 [BZ #5044]
26779 * stdio-common/printf_fphex.c: Include <stdbool.h> and
26780 <rounding-mode.h>.
26781 (__printf_fphex): Determine rounding using get_rounding_mode and
26782 round_away.
26783 * stdio-common/tst-printf-round.c (struct hex_test): New
26784 structure.
26785 (hex_tests): New variable.
26786 (test_hex_in_one_mode): New function.
26787 (do_test): Also run tests for hex float output.
26788
43153109
JM
267892012-09-21 Joseph Myers <joseph@codesourcery.com>
26790
26791 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26792 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26793 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
26794 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26795 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26796 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
26797 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26798 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26799
8a26625d
JM
268002012-09-20 Joseph Myers <joseph@codesourcery.com>
26801
26802 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
26803 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
26804 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
26805 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
26806
f3fd569c
DL
268072012-09-19 Dmitry V. Levin <ldv@altlinux.org>
26808
26809 [BZ #14579]
26810 * elf/rtld.c (dl_main): Limit the check for self loading to normal
26811 mode only.
26812 * elf/tst-rtld-load-self.sh: New test.
26813 * elf/Makefile: Run it.
26814
63bbedd4
JM
268152012-09-18 Joseph Myers <joseph@codesourcery.com>
26816
26817 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
26818 (tst-writev-ENV): Remove.
26819 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
26820
626f8b6a
CM
268212012-09-17 Chris Metcalf <cmetcalf@tilera.com>
26822
26823 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
26824
b7aaa4d6
JM
268252012-09-17 Joseph Myers <joseph@codesourcery.com>
26826
26827 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
26828 unconditional.
26829 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
26830 Likewise.
26831 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
26832 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
26833 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
26834 Likewise.
26835
65513990
L
268362012-09-14 H.J. Lu <hongjiu.lu@intel.com>
26837
26838 [BZ #14587]
26839 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
26840 * config.make.in (have-cpp-asm-debuginfo): Removed.
26841 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
26842 * configure: Regenerated.
26843
784761be
JM
268442012-09-14 Joseph Myers <joseph@codesourcery.com>
26845
26846 [BZ #5044]
26847 * stdio-common/printf_fp.c: Include <stdbool.h> and
26848 <rounding-mode.h>.
26849 (___printf_fp): Determine rounding using get_rounding_mode and
26850 round_away.
26851 * stdio-common/tst-printf-round.c: New file.
26852 * stdio-common/Makefile (tests): Add tst-printf-round.
26853 (link-libm): New variable.
26854 ($(objpfx)tst-printf-round): Depend in $(link-libm).
26855
9503345f
L
268562012-09-13 H.J. Lu <hongjiu.lu@intel.com>
26857
26858 [BZ #14576]
26859 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
26860 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
26861 Likewise.
26862 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
26863 Likewise.
26864
ad35fc00
JM
268652012-09-13 Joseph Myers <joseph@codesourcery.com>
26866
26867 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
26868 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26869 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26870 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26871
6c9b0f68
JM
268722012-09-12 Joseph Myers <joseph@codesourcery.com>
26873
26874 [BZ #14518]
26875 * include/rounding-mode.h: New file.
26876 * sysdeps/generic/get-rounding-mode.h: Likewise.
26877 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
26878 * stdlib/strtod_l.c: Include <rounding-mode.h>.
26879 (MAX_VALUE): New macro.
26880 (MIN_VALUE): Likewise.
26881 (overflow_value): New function.
26882 (underflow_value): Likewise.
26883 (round_and_return): Use overflow_value and underflow_value to
26884 determine return values in overflow and underflow cases. Use
26885 round_away to determine rounding depending on rounding mode.
26886 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
26887 determine return values in overflow and underflow cases.
26888 * stdlib/tst-strtod-round.c: Include <fenv.h>.
26889 (struct test_results): New structure.
26890 (struct test): Use struct test_results to store expected results
26891 for all rounding modes.
26892 (TEST): Include expected results for all rounding modes.
26893 (test_in_one_mode): New function.
26894 (do_test): Use test_in_one_mode to compute and check results.
26895 Check results for all rounding modes.
26896 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
26897 $(link-libm).
26898
19fcedd5
AM
268992012-12-09 Allan McRae <allan@archlinux.org>
26900
1e9d84cd 26901 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 26902
8bbfd2f1
JM
269032012-09-11 Joseph Myers <joseph@codesourcery.com>
26904
26905 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
26906 (_G_int32_t): Likewise.
26907 (_G_uint16_t): Likewise.
26908 (_G_uint32_t): Likewise.
26909 (_G_HAVE_BOOL): Likewise.
26910 (_G_HAVE_ATEXIT): Likewise.
26911 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26912 (_G_HAVE_IO_FILE_OPEN): Likewise.
26913 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
26914 (_G_int32_t): Likewise.
26915 (_G_uint16_t): Likewise.
26916 (_G_uint32_t): Likewise.
26917 (_G_HAVE_BOOL): Likewise.
26918 (_G_HAVE_ATEXIT): Likewise.
26919 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26920 (_G_HAVE_IO_FILE_OPEN): Likewise.
26921 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
26922 (_G_int32_t): Likewise.
26923 (_G_uint16_t): Likewise.
26924 (_G_uint32_t): Likewise.
26925 (_G_HAVE_BOOL): Likewise.
26926 (_G_HAVE_ATEXIT): Likewise.
26927 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26928 (_G_HAVE_IO_FILE_OPEN): Likewise.
26929
b1dc5912
L
269302012-09-11 H.J. Lu <hongjiu.lu@intel.com>
26931
26932 * csu/libc-tls.c: Update copyright years.
26933
0e886ef9
JM
269342012-09-10 Joseph Myers <joseph@codesourcery.com>
26935
28361c5e
JM
26936 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
26937 [!_G_USING_THUNKS]: Remove conditional code.
26938 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
26939 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
26940
0e886ef9
JM
26941 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
26942 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
26943 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26944 (_G_VTABLE_LABEL_PREFIX): Likewise.
26945 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26946 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26947 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26948 (_G_VTABLE_LABEL_PREFIX): Likewise.
26949 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26950 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26951 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26952 (_G_VTABLE_LABEL_PREFIX): Likewise.
26953 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26954
bcba7aa2
L
269552012-09-10 H.J. Lu <hongjiu.lu@intel.com>
26956
26957 * libio/Makefile: Include ../Makeconfig before tests.
26958 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
26959 only if $(build-shared) is yes.
26960
06585ee8
L
26961 * iconv/gconv_db.c: Update copyright years.
26962
80ccd52c
LD
269632012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26964
26965 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
26966 unwind info if defined PIC. Fix special cases description.
26967 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
26968
26969 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
26970 DP_HI_MASK entry.
26971 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
26972
691bc9c1
L
269732012-09-07 H.J. Lu <hongjiu.lu@intel.com>
26974
3d9b46b3
L
26975 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
26976
de2139a9
L
26977 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
26978 is NULL.
26979
5ca78dd0
L
26980 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
26981 (LDLIBS-tst-chk4): This.
26982 (LDFLAGS-tst-chk5): Renamed to ...
26983 (LDLIBS-tst-chk5): This.
26984 (LDFLAGS-tst-chk6): Renamed to ...
26985 (LDLIBS-tst-chk6): This.
26986 (LDFLAGS-tst-lfschk4): Renamed to ...
26987 (LDLIBS-tst-lfschk4): This.
26988 (LDFLAGS-tst-lfschk5): Renamed to ...
26989 (LDLIBS-tst-lfschk5): This.
26990 (LDFLAGS-tst-lfschk6): Renamed to ...
26991 (LDLIBS-tst-lfschk6): This.
26992
691bc9c1
L
26993 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
26994 on $(common-objpfx)soversions.mk.
26995
65cafb1c
JM
269962012-09-07 Joseph Myers <joseph@codesourcery.com>
26997
26998 [BZ #10014]
26999 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27000 example host name.
27001
c78ab094
SP
270022012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27003
27004 * malloc/arena.c (arena_get_retry): New function that gets
27005 another arena for the caller to try its request on.
27006 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27007 current arena cannot fulfill the request.
27008 (__libc_memalign): Likewise.
27009 (__libc_memalign): Likewise.
27010 (__libc_pvalloc): Likewise.
27011 (__libc_calloc): Likewise.
27012
01f49f59
JT
270132012-09-05 John Tobey <john.tobey@gmail.com>
27014
27015 [BZ #13542]
27016 * manual/arith.texi (Operations on Complex): Fix description
27017 of carg branch cut.
27018
4c23fed5
JM
270192012-09-06 Joseph Myers <joseph@codesourcery.com>
27020
1d3c8572
JM
27021 [BZ #10014]
27022 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27023 host name.
27024
4c23fed5
JM
27025 [BZ #10038]
27026 * manual/memory.texi (Memory): Make order of menu items match
27027 order of sections.
27028
04570aaa
L
270292012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27030
27031 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27032 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
27033 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27034
b80af2f4
L
270352012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27036
27037 * csu/libc-tls.c (static_dtv): Renamed to ...
27038 (_dl_static_dtv): This. Make it global.
27039 (_dl_initial_dtv): Removed.
27040 (__libc_setup_tls): Updated.
27041 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27042 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27043 DL_INITIAL_DTV.
27044
2abe9f15
PM
270452012-09-06 Petr Machata <pmachata@redhat.com>
27046
27047 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27048 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27049 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27050 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27051
0948c3af
L
270522012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27053
27054 [BZ #14545]
27055 * csu/libc-tls.c (_dl_initial_dtv): New variable.
27056 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27057 freeing dtv[-1].
27058
a5055ad1
L
270592012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27060
27061 [BZ #14544]
27062 * Makeconfig (link-static-before-libc): Replace $(+prector)
27063 with $(+prectorT).
27064 (link-static-after-libc): Replace $(+postctor) with
27065 $(+postctorT).
27066 (link-bounded): Replace $(+prector)/$(+postctor) with
27067 $(+prectorT)/$(+postctorT).
27068 (+prectorT): New macro.
27069 (+postctorT): Likewise.
27070
ed8c2ecd
JM
270712012-09-06 Joseph Myers <joseph@codesourcery.com>
27072
27073 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27074 (round_str): Handle values above the maximum for IBM long double
27075 as inexact.
27076 * stdlib/tst-strtod-round.c (tests): Regenerated.
27077
14c996c8
AK
270782012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27079
27080 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27081 assembler flag.
27082 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27083 zarch_nohighgprs around the zarch optimized routines.
27084 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27085 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27086 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27087 for zarch.
27088
430d6ce6
DM
270892012-09-05 David S. Miller <davem@davemloft.net>
27090
27091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27092
57f41c40
AS
27093 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27094 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
27095 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27096 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27097 entries.
27098
24d4e01b
AO
270992012-09-05 Alexandre Oliva <aoliva@redhat.com>
27100
27101 * malloc/arena.c: Fold copyright years.
27102 * malloc/mcheck.c, malloc/memusage.c: Likewise.
27103
61d58174
AO
271042012-09-05 Alexandre Oliva <aoliva@redhat.com>
27105
27106 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27107
20196a5e
AO
271082012-09-05 Alexandre Oliva <aoliva@redhat.com>
27109
27110 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
27111
5c447383
AO
271122012-09-05 Alexandre Oliva <aoliva@redhat.com>
27113
27114 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27115 change internal state upon failure.
27116
fad64255
AO
271172012-09-05 Alexandre Oliva <aoliva@redhat.com>
27118
27119 * malloc/mcheck.c (mcheck_check_all): Fix typo.
27120 * malloc/memusage.c (mmap): Likewise.
27121 (mmap64, mremap): Likewise. Adjust name in comment.
27122
1ffb8c90
SP
271232012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27124
27125 * libio/fileops.c: Fix typos in comments.
27126 * libio/oldfileops.c: Likewise.
27127 * libio/wfileops.c: Likewise.
27128
6ef9cc37
SP
271292012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27130
27131 [BZ #1349]
27132 * malloc/Makefile (tests): Add tst-malloc-usable test case.
27133 (tst-malloc-usable-ENV): Set environment for test case.
27134 * malloc/hooks.c (malloc_check_get_size): New function to get
27135 requested size.
27136 * malloc/malloc.c (musable): Use malloc_check_get_size.
27137 * malloc/tst-malloc-usable.c: New test case.
27138
4d038ae3
AS
271392012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27140
27141 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27142
c4e85184
AM
271432012-09-05 Allan McRae <allan@archlinux.org>
27144
b9dafc56 27145 [BZ #13966]
c4e85184
AM
27146 * configure.in (CXX_SYSINCLUDES): Use compiler output to
27147 determine header location.
27148 * configure: Regenerated.
27149
e1343020
AS
271502012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27151
27152 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27153 float format.
27154 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
27155 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27156 format.
e1343020
AS
27157 (test): Regenerate.
27158
0a9f1987
DM
271592012-09-04 David S. Miller <davem@davemloft.net>
27160
27161 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27162 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27163 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27164
29237804
FW
271652012-09-04 Florian Weimer <fweimer@redhat.com>
27166
27167 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27168 failures.
27169
edb3cb88
FW
27170 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27171
60160d83
JM
271722012-09-04 Joseph Myers <joseph@codesourcery.com>
27173
27174 [BZ #9914]
27175 * libio/iogetdelim.c: Include <limits.h>.
27176 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27177 + len + 1 would overflow.
27178
bcd6c8dc
AJ
271792012-09-03 Andreas Jaeger <aj@suse.de>
27180
27181 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27182 * sysdeps/i386/fpu/libm-test-ulps: Update.
27183
4ffffbd2
LD
271842012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27185
27186 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27187 Add s_sinf-sse2, s_conf-sse2.
27188
27189 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27190 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27191 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27192 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27193
27194 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27195 for using routine as __sinf_ia32.
27196 Use macro for function declaration and weak_alias.
27197 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27198 for using routine as __cosf_ia32.
27199 Use macro for function declaration and weak_alias.
27200
27201 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27202 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27203
27204 * sysdeps/x86_64/fpu/s_sinf.S: New file.
27205 * sysdeps/x86_64/fpu/s_cosf.S: New file.
27206 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27207
27208 * math/libm-test.inc (cos_test): Add more test cases.
27209 (sin_test): Likewise.
27210 (sincos_test): Likewise.
27211
511fa286
AK
272122012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27213
27214 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27215 (IFUNC_RESOLVE): Make pointers to the specialized implementations
27216 hidden.
27217 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27218
5f30cfec
L
272192012-09-02 H.J. Lu <hongjiu.lu@intel.com>
27220
27221 [BZ #14538]
27222 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27223 first element of the GOT.
27224 (elf_machine_load_address): Return the difference between
27225 the runtime address of _DYNAMIC and elf_machine_dynamic ().
27226
0786794f
AM
272272012-09-01 Allan McRae <allan@archlinux.org>
27228
5f30cfec
L
27229 [BZ #13412]
27230 * configure.in (AWK): Require gawk version 3.0 or later.
27231 * configure: Regenerated.
0786794f 27232
26889eac
JM
272332012-09-01 Joseph Myers <joseph@codesourcery.com>
27234
27235 * sysdeps/unix/sysv/linux/kernel-features.h
27236 (__ASSUME_POSIX_CPU_TIMERS): Remove.
27237 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27238 [__NR_clock_getres]: Make code unconditional.
27239 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27240 (clock_getcpuclockid): Remove code left unreachable by removal of
27241 conditionals.
27242 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27243 code unconditional.
27244 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27245 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27246 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27247 Make code unconditional.
27248 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27249 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27250 * sysdeps/unix/sysv/linux/clock_settime.c
27251 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27252 conditional code.
27253 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27254 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27255
d22e28b0
L
272562012-08-29 H.J. Lu <hongjiu.lu@intel.com>
27257
27258 [BZ #14476]
27259 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27260 scripts/test-installation.pl.
27261
27262 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27263 and $ld_so_version if it is set.
27264
050af9c4
SP
272652012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27266
27267 [BZ #14516]
27268 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27269 failure if reading from procfs failed.
27270 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27271
ad845c0b
JM
272722012-08-27 Joseph Myers <joseph@codesourcery.com>
27273
27274 * sysdeps/unix/sysv/linux/kernel-features.h
27275 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27276 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27277 Remove conditional code.
27278 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27279 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27280 Remove conditional code.
27281 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27282 * sysdeps/unix/sysv/linux/i386/fxstat.c
27283 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27284 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27285 * sysdeps/unix/sysv/linux/i386/fxstatat.c
27286 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27287 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27288 * sysdeps/unix/sysv/linux/i386/lxstat.c
27289 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27290 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27291 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27292 Remove conditional code.
27293 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27294 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27295 Remove conditional code.
27296 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27297 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27298 <kernel-features.h>.
27299 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27300 Remove.
27301 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27302 Remove conditional code.
27303 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27304 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27305 Remove conditional.
27306
5dbf56af
MF
273072012-08-27 Mike Frysinger <vapier@gentoo.org>
27308
27309 [BZ #5400]
27310 * NEWS: Add fixed bug number.
27311
d6e70f43
JM
273122012-08-27 Joseph Myers <joseph@codesourcery.com>
27313
7efb4737
JM
27314 [BZ #14519]
27315 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27316 underflowing exponent in case of negative sign.
27317 * stdlib/tst-strtod-round-data: Add more tests.
27318 * stdlib/tst-strtod-round.c (tests): Regenerated.
27319
af92131a
JM
27320 [BZ #3479]
27321 * stdlib/strtod_l.c (NDIG): Remove.
27322 (HEXNDIG): Likewise.
27323 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27324 smallest representable value.
27325 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27326 lie within an exact representation of 1/2 ulp of the result.
27327 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27328 unconditionally.
27329 (TENS_P9_IDX): Define unconditionally.
27330 (TENS_P9_SIZE): Likewise.
27331 (TENS_P10_IDX): Likewise.
27332 (TENS_P10_SIZE): Likewise.
27333 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27334 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27335 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27336 entries for 10^2^13 and 10^2^14.
27337 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27338 (TENS_P13_IDX): Define.
27339 (TENS_P13_SIZE): Likewise.
27340 (TENS_P14_IDX): Likewise.
27341 (TENS_P14_SIZE): Likewise.
27342 (_fpioconst_pow10): Change array size to
27343 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
27344 unconditional.
27345 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27346 1024]: Add entries for 10^2^13 and 10^2^14.
27347 [LAST_POW10 > _LAST_POW10]: Remove #error.
27348 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27349 (_fpioconst_pow10): Change array size to
27350 FPIOCONST_POW10_ARRAY_SIZE.
27351 * stdlib/gen-fpioconst.c: New file.
27352 * stdlib/gen-tst-strtod-round.c: Likewise.
27353 * stdlib/tst-strtod-round-data: Likewise.
27354 * stdlib/tst-strtod-round.c: Likewise.
27355 * stdlib/Makefile (tests): Add tst-strtod-round.
27356
d6e70f43
JM
27357 [BZ #14459]
27358 * stdlib/strtod_l.c: Include <stdint.h>.
27359 (NDEBUG): Do not define.
27360 (round_and_return): Change EXPONENT parameter to type intmax_t.
27361 Rearrange calculations to avoid internal overflow possibilities.
27362 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27363 Rearrange calculations to avoid internal overflow possibilities.
27364 Assert that number fits inside MPNSIZE limbs.
27365 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27366 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
27367 calculations and add assertions to avoid internal overflow
27368 possibilities. Add casts to avoid signed/unsigned operations.
27369 * stdlib/tst-strtod-overflow.c: New file.
27370 * stdlib/Makefile (tests): Add tst-strtod-overflow.
27371
1f529f7d
MP
273722012-08-25 Marek Polacek <polacek@redhat.com>
27373
27374 * time/time.h: Fix some typos in comments.
27375
59a629f1
RM
273762012-08-23 Roland McGrath <roland@hack.frob.com>
27377
27378 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27379 * posix/tst-rfc3484-2.c: Likewise.
27380 * posix/tst-rfc3484-3.c: Likewise.
27381
d3bafbc9
SM
273822012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
27383
27384 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27385 (EF_ARM_ABI_FLOAT_HARD): Likewise.
27386
4efcc022
JM
273872012-08-23 Joseph Myers <joseph@codesourcery.com>
27388
27389 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27390 #include of fxstatat64.c.
27391
3cc3ef96
RM
273922012-08-22 Roland McGrath <roland@hack.frob.com>
27393
f04e2132
RM
27394 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27395 * shadow/getspent_r.c: Likewise.
27396 * shadow/getspnam.c: Likewise.
27397 * shadow/getspnam_r.c: Likewise.
27398 * gshadow/getsgent.c: Likewise.
27399 * gshadow/getsgent_r.c: Likewise.
27400 * gshadow/getsgnam.c: Likewise.
27401 * gshadow/getsgnam_r.c: Likewise.
27402 * inet/getnetbyad.c: Likewise.
27403 * inet/getnetbyad_r.c: Likewise.
27404 * inet/getnetbynm.c: Likewise.
27405 * inet/getnetbynm_r.c: Likewise.
27406 * inet/getnetent.c: Likewise.
27407 * inet/getnetent_r.c: Likewise.
27408 * inet/getproto.c: Likewise.
27409 * inet/getproto_r.c: Likewise.
27410 * inet/getprtent.c: Likewise.
27411 * inet/getprtent_r.c: Likewise.
27412 * inet/getprtname.c: Likewise.
27413 * inet/getprtname_r.c: Likewise.
27414 * inet/getrpcbyname.c: Likewise.
27415 * inet/getrpcbyname_r.c: Likewise.
27416 * inet/getrpcbynumber.c: Likewise.
27417 * inet/getrpcbynumber_r.c: Likewise.
27418 * inet/getrpcent.c: Likewise.
27419 * inet/getrpcent_r.c: Likewise.
27420 * inet/getaliasent.c: Likewise.
27421 * inet/getaliasent_r.c: Likewise.
27422 * inet/getaliasname.c: Likewise.
27423 * inet/getaliasname_r.c: Likewise.
27424 * nscd/getgrgid_r.c: Likewise.
27425 * nscd/getgrnam_r.c: Likewise.
27426 * nscd/gethstbyad_r.c: Likewise.
27427 * nscd/gethstbynm3_r.c: Likewise.
27428 * nscd/getpwnam_r.c: Likewise.
27429 * nscd/getpwuid_r.c: Likewise.
27430 * nscd/getsrvbynm_r.c: Likewise.
27431 * nscd/getsrvbypt_r.c: Likewise.
27432 * nscd/gai.c: Likewise.
27433
c53d909c
RM
27434 * configure.in (build_nscd): New substituted variable, set
27435 by --disable-build-nscd and defaults to $use_nscd.
27436 * configure: Regenerated.
27437 * config.make.in (build-nscd): New substituted variable.
27438 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27439 Change conditional to require [$(build-nscd) = yes] as well.
27440 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27441
3cc3ef96
RM
27442 [BZ# 13696]
27443 * configure.in (use_nscd): New substituted variable, set by
27444 --disable-nscd. If enabled, define USE_NSCD.
27445 * configure: Regenerated.
27446 * config.h.in: Add USE_NSCD.
27447 * config.make.in (use-nscd): New substituted variable.
27448 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
27449 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
27450 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
27451 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
27452 (CFLAGS-getgrnam_r.c): Likewise.
27453 (CFLAGS-initgroups.c): Likewise.
27454 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
27455 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
27456 Variables removed.
27457 * inet/getnetgrent_r.c
27458 (nscd_setnetgrent): New function, broken out of ...
27459 (setnetgrent): ... here. Call it.
27460 (innetgr): Conditionalize nscd bits on [USE_NSCD].
27461 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
27462 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
27463 * nscd/Makefile (routines, aux): Move definitions after include of
27464 Makeconfig. Conditionalize on [$(use-nscd) != no].
27465 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
27466 Conditionalize on [USE_NSCD].
27467 (is_nscd, nscd_init_cb): Likewise.
27468 (nss_load_library): Conditionalize init callback on [USE_NSCD].
27469 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
27470 * nss/nss_db/db-init.c: Likewise.
27471 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
27472 [USE_NSCD].
27473 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
27474 (make_request): Use it.
27475 (cache_valid_p): New function.
27476 (__check_pf): Use it.
27477 * NEWS: Add item for --disable-nscd.
27478
07e51550
DL
274792012-08-22 Dmitry V. Levin <ldv@altlinux.org>
27480
27481 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
27482 to support sed >= 4.2.1-20-ga9bf076.
27483 * configure: Regenerated.
27484
35a5b08b
RM
274852012-08-22 Roland McGrath <roland@hack.frob.com>
27486
27487 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
27488 Conditionalize whole body on [IREL].
27489
8479f23a
JL
274902012-08-22 Jeff Law <law@redhat.com>
27491
27492 [BZ #14505]
27493 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
27494 if the family is PF_UNSPEC.
27495
48da0b21
MF
274962012-08-22 Mike Frysinger <vapier@gentoo.org>
27497
27498 * Makerules (lib-version): Rename from V.
27499 (install-lib-nosubdir): Change V to lib-version.
27500
15d0da8c
WS
275012012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
27502
27503 [BZ #14252]
27504 * powerpc32/power6/wcschr.c: New file.
27505 * powerpc32/power6/wcscpy.c: New file.
27506 * powerpc32/power6/wcsrchr.c: New file.
27507 * powerpc64/power6/wcschr.c: New file.
27508 * powerpc64/power6/wcscpy.c: New file.
27509 * powerpc64/power6/wcsrchr.c: New file.
27510
bcca0895
MK
275112012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27512
27513 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
27514 (two_way_short_needle): Use it.
5a4aaa33
RM
27515 * string/strstr.c (AVAILABLE1_USES_J): Define.
27516 * string/strcasestr.c: Likewise.
99677e57
MK
27517
27518 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
27519 array references.
27520 * string/strcasestr.c (TOLOWER): Make side-effect safe.
27521
400726de
MK
27522 [BZ #11607]
27523 * NEWS: Add an entry.
27524 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
27525 define their defaults.
27526 (two_way_short_needle): Detect end-of-string on-the-fly.
27527 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
27528 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
27529 * string/bug-strcasestr1.c: New test.
27530 * string/Makefile: Run it.
27531
20a71f2c
MK
275322012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27533
27534 [BZ #11607]
27535 * string/str-two-way.h (two_way_short_needle): Optimize matching of
27536 the first character.
27537
21ad0558
RM
275382012-08-21 Roland McGrath <roland@hack.frob.com>
27539
27540 * csu/elf-init.c (__libc_csu_irel): Function removed.
27541 * csu/libc-start.c (apply_irel): New function.
27542 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
27543
0e1d9911
JM
275442012-08-21 Joseph Myers <joseph@codesourcery.com>
27545
27546 * sysdeps/unix/sysv/linux/kernel-features.h
27547 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
27548 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27549 <kernel-features.h>.
27550 [__NR_fadvise64_64]: Make code unconditional.
27551 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
27552 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27553 !__NR_fadvise64_64)]: Likewise.
27554 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27555 !__NR_fadvise64_64))]: Likewise.
27556 [__NR_fadvise64]: Make code unconditional.
27557 [!__NR_fadvise64]: Remove conditional code.
27558 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
27559 <kernel-features.h>.
27560 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27561 unconditional.
27562 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27563 conditional code.
27564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
27565 not include <kernel-features.h>.
27566 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27567 unconditional.
27568 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27569 conditional code.
27570 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
27571 include <kernel-features.h>.
27572 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27573 unconditional.
27574 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27575 conditional code.
27576
14a50c9d
WS
275772012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27578
27579 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
27580 slight instruction rearrangements per scrollpipe analysis.
27581 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27582
c0f4faf0
RM
275832012-08-20 Roland McGrath <roland@hack.frob.com>
27584
696da859
RM
27585 * manual/syslog.texi (syslog; vsyslog, closelog):
27586 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
27587 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
27588
c0f4faf0
RM
27589 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
27590 DSOCAPS to match condition on defining it.
27591
348363b2
JM
275922012-08-20 Joseph Myers <joseph@codesourcery.com>
27593
a35cbf28
JM
27594 * sysdeps/unix/sysv/linux/kernel-features.h
27595 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
27596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
27597 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27598 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
27600 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27601 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
27603 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27604 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27605
445f7ecd
JM
27606 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
27607 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
27608
348363b2
JM
27609 * sysdeps/unix/sysv/linux/kernel-features.h
27610 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
27611 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
27612 unconditional.
27613 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27614 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
27615 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27616 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27617 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
27618 Make code unconditional.
27619 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27620 (__mmap64) [!__NR_mmap2]: Likewise.
27621 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
27622 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27623 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27624 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
27625 [__NR_mmap2]: Make code unconditional.
27626 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27627 (__mmap64) [!__NR_mmap2]: Likewise.
27628
bc5bc0e5
AK
276292012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27630
27631 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
27632
88d506de
AJ
276332012-08-18 Andreas Jaeger <aj@suse.de>
27634
27635 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
27636
493387d2
MF
276372012-08-18 Mike Frysinger <vapier@gentoo.org>
27638
27639 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
27640 * include/unistd.h (__have_sock_cloexec): Likewise.
27641 (__have_pipe2): Likewise.
27642 (__have_dup3): Likewise.
27643
a277af22
MF
276442012-08-18 Mike Frysinger <vapier@gentoo.org>
27645
27646 [BZ #9685]
27647 * include/unistd.h (__have_pipe2): Change define into an extern int.
27648 (__have_dup3): Likewise.
27649 * socket/have_sock_cloexec.c: Include fcntl.h.
27650 (__have_pipe2): New variable.
27651 (__have_dup3): Likewise.
27652
fdab8fd3
MF
276532012-08-17 Mike Frysinger <vapier@gentoo.org>
27654
27655 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
27656
31035e80
MP
276572012-08-17 Marek Polacek <polacek@redhat.com>
27658
27659 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
27660 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
27661
3bd9e993
RM
276622012-08-17 Roland McGrath <roland@hack.frob.com>
27663
c91c505f
RM
27664 * configure.in: Add AC_SUBST for sysheaders.
27665 * configure: Regenerated.
27666 * config.make.in (sysheaders): New substituted variable.
27667
7c6f9d53
RM
27668 * sysdeps/unix/mkfifo.c: Moved ...
27669 * sysdeps/posix/mkfifo.c: ... here.
27670 * sysdeps/unix/mkfifoat.c: Moved ...
27671 * sysdeps/posix/mkfifoat.c: ... here.
27672
27673 * sysdeps/unix/utime.c: Moved ...
27674 * sysdeps/posix/utime.c: ... here.
27675
27676 * sysdeps/unix/time.c: Moved ...
27677 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
27678 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
27679 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
27680
27681 * sysdeps/unix/nice.c: Moved ...
27682 * sysdeps/posix/nice.c: ... here.
27683
27684 * sysdeps/unix/alarm.c: Moved ...
27685 * sysdeps/posix/alarm.c: ... here.
27686
3bd9e993
RM
27687 * intl/Makefile ($(codeset_mo)): Depend on the input file.
27688
d1f09384
JL
276892012-08-17 Jeff Law <law@redhat.com>
27690
27691 * intl/Makefile (codeset_mo): New variable.
27692 ($(codeset_mo)): New target.
27693 (tst-codeset.out): Depend on that. Remove explicit rule.
27694 (tst-gettext3.out, tst-gettext5.out): Likewise.
27695 (LOCPATH-ENV, tst-codeset-ENV): New variables.
27696 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
27697 * intl/tst-codeset.sh: Remove.
27698 * intl/tst-gettext3.sh: Likewise.
27699 * intl/tst-gettext5.sh: Likewise.
27700
2ae1ae5c
RM
277012012-08-17 Roland McGrath <roland@hack.frob.com>
27702
c31fdb83
RM
27703 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
27704 * sysdeps/unix/syscalls.list: ... here.
27705
a0844057
RM
27706 * sysdeps/posix/getaddrinfo.c
27707 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
27708 (gaiconf_init, gaiconf_reload): Use them.
27709 [!_STATBUF_ST_NSEC]
27710 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
27711 Define using time_t rather than struct timespec.
27712
750c1f2a
RM
27713 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
27714 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
27715 Macros removed.
27716 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
27717 [!NO_THREADS].
27718 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
27719 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
27720 Likewise.
27721
2ae1ae5c
RM
27722 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
27723 __libc_cleanup_push argument.
27724
e66a42f5
RM
27725 * bits/param.h: New file.
27726 * misc/sys/param.h: New file.
27727 * include/sys/param.h: New file.
27728 * misc/Makefile (headers): Add bits/param.h.
27729 * sysdeps/generic/sys/param.h: File removed.
27730 * sysdeps/unix/sysv/linux/bits/param.h: New file.
27731 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
27732 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 27733 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 27734
b7c08a66
RM
27735 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
27736 last change.
27737
b2e1c562
RM
27738 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
27739 [_IO_MTSAFE_IO].
27740 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
27741 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
27742 New macros.
27743
c75ccd4c
RM
27744 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
27745 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
27746 rather than -D_IO_MTSAFE_IO conditionally.
27747 * stdio-common/Makefile (CPPFLAGS): Likewise.
27748 * wcsmbs/Makefile (CPPFLAGS): Likewise.
27749 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
27750 Use $(libio-mtsafe).
27751 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
27752 of -D_IO_MTSAFE_IO.
27753 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
27754 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
27755 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
27756 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
27757 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
27758 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
27759 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
27760 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
27761 (CFLAGS-fread_u_chk.c): Likewise.
27762 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
27763 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
27764 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
27765 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
27766 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
27767 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
27768 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
27769 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
27770 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
27771
27772 * libio/Makefile: Test [$(libc-reentrant) = yes]
27773 instead of [$(filter %REENTRANT, $(defines)) nonempty].
27774
27775 * Makeconfig
27776 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
27777 * sysdeps/pthread/configure: File removed.
27778 * sysdeps/pthread/Makeconfig: New file.
27779 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
27780 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
27781
d9195db8
GB
277822012-08-16 Gary Benson <gbenson@redhat.com>
27783
27784 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
27785 unmapping the first object in a namespace.
27786
86466cd9
RM
277872012-08-16 Roland McGrath <roland@hack.frob.com>
27788
27789 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
27790 (__internal_setnetgrent): ... this. Add internal_function to
27791 definition. Add libc_hidden_def.
27792 (setnetgrent): Update caller.
27793 (internal_endnetgrent): Renamed to ...
27794 (__internal_endnetgrent): ... this. Add internal_function to
27795 definition. Add libc_hidden_def.
27796 (endnetgrent): Update caller.
27797 (internal_getnetgrent_r): Renamed to ...
27798 (__internal_getnetgrent_r): ... this. Add internal_function to
27799 definition. Add libc_hidden_def.
27800 (__getnetgrent_r): Update caller.
27801 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
27802
c3c8283c
JM
278032012-08-16 Joseph Myers <joseph@codesourcery.com>
27804
27805 * stdlib/longlong.h: Update from GCC.
27806
db1ee0a8
RM
278072012-08-16 Roland McGrath <roland@hack.frob.com>
27808
27809 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
27810 on _QL, which is set by umul_ppmm but never used.
27811 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
27812 variables, which are set by GMP macros but never used.
27813 * stdio-common/_itowa.c (_itowa): Likewise.
27814 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
27815 * stdlib/mod_1.c (mpn_mod_1): Likewise.
27816
30f69637
CD
278172012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
27818
27819 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
27820 struct La_sh_regs is not constant.
27821 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
27822 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
27823 and struct La_sparc64_regs are not constant.
27824
93a78ac4
JM
278252012-08-16 Joseph Myers <joseph@codesourcery.com>
27826
27827 * sysdeps/unix/sysv/linux/kernel-features.h
27828 (__ASSUME_POSIX_TIMERS): Remove.
27829 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27830 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27831 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
27832 Make code unconditional.
27833 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27834 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
27835 Make code unconditional.
27836 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27837 * sysdeps/unix/sysv/linux/clock_nanosleep.c
27838 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
27839 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27840 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
27841 Make code unconditional.
27842 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27843 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
27844 (__libc_missing_posix_timers): Remove.
27845
dd924cd7
RM
278462012-08-15 Roland McGrath <roland@hack.frob.com>
27847
4b4f2771
RM
27848 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
27849 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
27850
601c888b
RM
27851 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
27852
176790a7
RM
27853 * elf/dl-sym.c: Include <stdlib.h>.
27854
329bc018
RM
27855 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
27856 constants, which avoids warnings in 32-bit builds.
27857
e04e272d
RM
27858 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
27859 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
27860
952bf94a
RM
27861 * misc/lseek.c: File moved to ...
27862 * io/lseek.c: ... here.
27863
7c99b50a
RM
27864 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
27865
dd924cd7
RM
27866 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
27867 shifting LEN more than 31 bits at once.
27868
b3f479a8
LD
278692012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27870
27871 [BZ #14195]
8c4ae0d4
RM
27872 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
27873 segmentation fault for a case of two empty input strings.
b3f479a8
LD
27874 * string/test-strncasecmp.c (check1): Renamed to...
27875 (bz12205): ...this.
27876 (bz14195): Add new testcase for two empty input strings and N > 0.
27877 (test_main): Call new testcase, adapt for renamed function.
27878
9c55864e
AJ
278792012-08-15 Andreas Jaeger <aj@suse.de>
27880
27881 [BZ #14090]
27882 * crypt/md5test2.c: New test, based on test supplied by Serge
27883 Belyshev <belyshev@depni.sinp.msu.ru>.
27884 * crypt/Makefile (xtests): Add md5test-giant..
27885 * crypt/Makefile ($(objpfx)md5test-giant): Add.
27886
02dcb6c5
PE
278872012-08-15 Paul Eggert <eggert@cs.ucla.edu>
27888
27889 [BZ #14090]
27890 * crypt/md5.c (md5_process_block): Don't assume the buffer
27891 length is less than 2**32.
27892 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
27893 length is less than 2**64.
27894
a3f95dcc
RM
278952012-08-15 Roland McGrath <roland@hack.frob.com>
27896
be75d758
RM
27897 * string/str-two-way.h: Include <sys/param.h>.
27898 (MAX): Macro removed.
27899
7312ca90
RM
27900 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
27901 Move #define and #undef of memmove to just before and after
27902 including <string.h>.
27903
9a0a5486
RM
27904 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
27905 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
27906 and after including <string.h>. Move declarations of
27907 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
27908 to before #include "string/memmove.c".
27909
67cc348d
RM
27910 * include/dirent.h: Declare __getdirentries.
27911
a3f95dcc
RM
27912 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
27913 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
27914
ca98e171
MF
279152012-08-14 Mike Frysinger <vapier@gentoo.org>
27916
27917 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
27918 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
27919 * sysdeps/i386/configure: Regenerated.
27920 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
27921 STABS_CURRENT_FILE, and STABS_FUN.
27922 (END): Remove call to STABS_FUN_END.
27923 (STABS_CURRENT_FILE1): Delete.
27924 (STABS_CURRENT_FILE): Likewise.
27925 (STABS_FUN): Likewise.
27926 (STABS_FUN_END): Likewise.
27927 (STABS_FUN2): Likewise.
27928 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
27929 * sysdeps/x86_64/configure: Regenerated.
27930
5908bf46
RM
279312012-08-14 Roland McGrath <roland@hack.frob.com>
27932
27933 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 27934 * elf/dl-lookup.c: Likewise.
5908bf46 27935
f2c05b9e
JM
279362012-08-14 Joseph Myers <joseph@codesourcery.com>
27937
27938 * sysdeps/unix/sysv/linux/kernel-features.h
27939 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
27940 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
27941 unconditionally.
27942 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
27943 unconditionally.
27944 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
27945 condition on __ASSUME_CLONE_THREAD_FLAGS.
27946
e11f5155
AJ
279472012-08-14 Andreas Jaeger <aj@suse.de>
27948
27949 * sysdeps/i386/fpu/libm-test-ulps: Update.
27950
51a9ba86
MK
279512012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
27952
2fdd4f78
AJ
27953 * include/atomic.h (atomic_exchange_and_add): Split into ...
27954 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
27955 New atomic macros.
51a9ba86 27956
ba6cba9e
MT
279572012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
27958
27959 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27960
42443a47
JL
279612012-08-13 Jeff Law <law@redhat.com>
27962
27963 * manual/stdio.texi (snprintf): Clarify handling of the trailing
27964 null byte in the output string.
27965
121dce05
JM
279662012-08-10 Joseph Myers <joseph@codesourcery.com>
27967
27968 * sysdeps/unix/sysv/linux/kernel-features.h
27969 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
27970 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
27971 (__ASSUME_ARG_MAX_STACK_BASED): Define.
27972 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27973 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
27974 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
27975 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
27976
bf51f568
JL
279772012-08-09 Jeff Law <law@redhat.com>
27978
27979 [BZ #13939]
27980 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
27981 When avoid_arena is set, don't retry in the that arena. Pick the
27982 next one, whatever it might be.
27983 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
27984 (arena_lock): Pass in new parameter to arena_get2.
27985 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
27986 arena_get2.
27987 (__libc_malloc): Unify retrying after main arena failure with
27988 __libc_memalign version.
27989 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
27990
f85fa270
L
279912012-08-09 H.J. Lu <hongjiu.lu@intel.com>
27992
27993 [BZ #14166]
27994 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
27995 to __redirect_strstr.
27996 (__strstr_sse42): Use typeof __redirect_strstr.
27997 (__strstr_ia32): Likewise.
27998 (__libc_strstr): New prototype.
27999 (strstr): Renamed to ...
28000 (__libc_strstr): This.
28001 (strstr): New strong alias of __libc_strstr.
28002 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28003 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28004 __redirect_time.
28005 Include <time.h>.
28006 (__libc_time): New prototype.
28007 (time_ifunc): Replace time with __libc_time.
28008 (time): New strong alias and hidden definition of __libc_time.
28009 (__GI_time): Remove strong alias.
28010 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28011 Include <stddef.h>.
28012 (memmove): Redefined to __redirect_memmove.
28013 (__memmove_sse2): Use typeof __redirect_memmove.
28014 (__memmove_ssse3): Likewise.
28015 (__memmove_ssse3_back): Likewise.
28016 (__libc_memmove): New prototype.
28017 (memmove): Renamed to ...
28018 (__libc_memmove): This.
28019 (memmove): New strong alias of __libc_memmove.
28020
33b4a91e
MS
280212012-08-08 Mark Salter <msalter@redhat.com>
28022
28023 * elf/elf.h
28024 (R_MN10300_TLS_GD): Define.
28025 (R_MN10300_TLS_LD): Likewise.
28026 (R_MN10300_TLS_LDO): Likewise.
28027 (R_MN10300_TLS_GOTIE): Likewise.
28028 (R_MN10300_TLS_IE): Likewise.
28029 (R_MN10300_TLS_LE): Likewise.
28030 (R_MN10300_TLS_DTPMOD): Likewise.
28031 (R_MN10300_TLS_DTPOFF): Likewise.
28032 (R_MN10300_TLS_TPOFF): Likewise.
28033 (R_MN10300_SYM_DIFF): Likewise.
28034 (R_MN10300_ALIGN): Likewise.
28035 (R_MN10300_NUM): Update.
28036
b36137f1
JM
280372012-08-08 Joseph Myers <joseph@codesourcery.com>
28038
28039 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28040 Remove.
28041
cdd915fd
RM
280422012-08-08 Roland McGrath <roland@hack.frob.com>
28043
a2433aac
RM
28044 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28045
cdd915fd
RM
28046 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28047 sysdeps/unix -> sysdeps/posix move.
28048 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28049
bf9b740a
AM
280502012-08-07 Allan McRae <allan@archlinux.org>
28051
28052 [BZ #14303]
28053 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28054 (SUNOS_CPP): Likewise.
28055 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28056 not found.
28057 (open_input): Call CPP using execvp.
28058
93df14ee
JM
280592012-08-07 Joseph Myers <joseph@codesourcery.com>
28060
28061 * sysdeps/unix/sysv/linux/kernel-features.h
28062 (__ASSUME_PROT_GROWSUPDOWN): Remove.
28063 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28064 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28065 (__ASSUME_WAITID_SYSCALL): Likewise.
28066 * sysdeps/unix/sysv/linux/dl-execstack.c
28067 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28068 code unconditional.
28069 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28070 conditional code.
28071 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28072 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28073 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28074 code.
28075 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28076 unconditional.
28077 [__ASSUME_WAITID_SYSCALL]: Likewise.
28078 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28079
d34689de
RM
280802012-08-07 Roland McGrath <roland@hack.frob.com>
28081
a281decc
RM
28082 * sysdeps/unix/closedir.c: Renamed to ...
28083 * sysdeps/posix/closedir.c: ... here.
28084 * sysdeps/unix/dirfd.c: Renamed to ...
28085 * sysdeps/posix/dirfd.c: ... here.
28086 * sysdeps/unix/dirstream.h: Renamed to ...
28087 * sysdeps/posix/dirstream.h: ... here.
28088 * sysdeps/unix/fdopendir.c: Renamed to ...
28089 * sysdeps/posix/fdopendir.c: ... here.
28090 * sysdeps/unix/opendir.c: Renamed to ...
28091 * sysdeps/posix/opendir.c: ... here.
28092 * sysdeps/unix/readdir.c: Renamed to ...
28093 * sysdeps/posix/readdir.c: ... here.
28094 * sysdeps/unix/readdir_r.c: Renamed to ...
28095 * sysdeps/posix/readdir_r.c: ... here.
28096 * sysdeps/unix/rewinddir.c: Renamed to ...
28097 * sysdeps/posix/rewinddir.c: ... here.
28098 * sysdeps/unix/seekdir.c: Renamed to ...
28099 * sysdeps/posix/seekdir.c: ... here.
28100 * sysdeps/unix/telldir.c: Renamed to ...
28101 * sysdeps/posix/telldir.c: ... here.
28102 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28103 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28104 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28105 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28106
22895b47
RM
28107 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28108 * bits/fcntl.h: ... here.
28109
707a53b6
RM
28110 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28111 not 0.
28112 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28113 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28114 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28115 (struct flock): Move l_start, l_len to the beginning.
28116 Use __pid_t for l_pid.
28117 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28118 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28119 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28120 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28121 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28122 [__USE_LARGEFILE64] (struct flock64): New type.
28123 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28124
f0bd3e25
RM
28125 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28126 * bits/dirent.h: ... here.
28127
d34689de
RM
28128 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28129 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28130
6dad2c06
JM
281312012-08-07 Joseph Myers <joseph@codesourcery.com>
28132
28133 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28134 Change from 2.6.0 to 2.6.16.
28135 * sysdeps/unix/sysv/linux/configure: Regenerated.
28136 * sysdeps/unix/sysv/linux/kernel-features.h
28137 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28138 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28139 version.
28140 (__ASSUME_UTIMES): Likewise.
28141 (__ASSUME_CLONE_STOPPED): Remove.
28142 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28143 architectures, not kernel version.
28144 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28145 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28146 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28147 (__ASSUME_WAITID_SYSCALL): Likewise.
28148 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28149 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28150 * README: State 2.6.16 as minimum Linux kernel version. Do not
28151 refer to older versions.
28152
03af9520
RM
281532012-08-06 Roland McGrath <roland@hack.frob.com>
28154
8e49df1d
RM
28155 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28156 Define alphasort64 as an alias.
28157 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28158 Define versionsort64 as an alias.
28159 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28160 Define scandir64 as an alias.
28161 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28162 Define scandirat64 as an alias.
28163 * dirent/alphasort64.c (alphasort64):
28164 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28165 * dirent/versionsort64.c: Likewise.
28166 * dirent/scandir64.c: Likewise.
28167 * dirent/scandirat64.c: Likewise.
28168 * sysdeps/wordsize-64/alphasort.c: File removed.
28169 * sysdeps/wordsize-64/alphasort64.c: File removed.
28170 * sysdeps/wordsize-64/scandir.c: File removed.
28171 * sysdeps/wordsize-64/scandir64.c: File removed.
28172 * sysdeps/wordsize-64/scandirat.c: File removed.
28173 * sysdeps/wordsize-64/scandirat64.c: File removed.
28174 * sysdeps/wordsize-64/versionsort.c: File removed.
28175 * sysdeps/wordsize-64/versionsort64.c: File removed.
28176 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28177 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28178 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28179 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28180 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28181 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28182 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28183 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28184
28185 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28186 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28187 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28188 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28189 [defined __arch64__ || defined __sparcv9]
28190 (__INO_T_MATCHES_INO64_T): New macro.
28191 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28192 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28193 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28194 * sysdeps/unix/sysv/linux/bits/dirent.h
28195 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28196 (_DIRENT_MATCHES_DIRENT64): New macro.
28197
03af9520
RM
28198 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28199 Define lockf64 as an alias.
28200 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28201 Define fseeko64 as an alias.
28202 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28203 Define ftello64 as an alias.
28204 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28205 Define _IO_fgetpos64 and fgetpos64 as aliases.
28206 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28207 Define _IO_fsetpos64 and fsetpos64 as aliases.
28208 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28209 Conditionalize body on this.
28210 * libio/fseeko64.c: Likewise.
28211 * libio/ftello64.c: Likewise.
28212 * libio/iofgetpos64.c: Likewise.
28213 * libio/iofsetpos64.c: Likewise.
28214 * sysdeps/wordsize-64/lockf.c: File removed.
28215 * sysdeps/wordsize-64/lockf64.c: File removed.
28216 * sysdeps/wordsize-64/fseeko.c: File removed.
28217 * sysdeps/wordsize-64/fseeko64.c: File removed.
28218 * sysdeps/wordsize-64/ftello.c: File removed.
28219 * sysdeps/wordsize-64/ftello64.c: File removed.
28220 * sysdeps/wordsize-64/iofgetpos.c: File removed.
28221 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28222 * sysdeps/wordsize-64/iofsetpos.c: File removed.
28223 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28224 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28225 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28226 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28227 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28228 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28229 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28230 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28231 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28232 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28233 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28234
28235 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28236 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28237 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28238 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28239 [defined __arch64__ || defined __sparcv9]
28240 (__OFF_T_MATCHES_OFF64_T): New macro.
28241 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28242 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28243 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28244 (__OFF_T_MATCHES_OFF64_T): New macro.
28245
c5757acd
L
282462012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28247
28248 * stdlib/secure-getenv.c (__secure_getenv): Replace
28249 GLIBC_2_16 with GLIBC_2_17.
28250
3a31811e
L
282512012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28252
28253 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28254 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28255
faa2bccb
DM
282562012-08-03 David S. Miller <davem@davemloft.net>
28257
28258 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28259
85fe1997
JM
282602012-08-03 Joseph Myers <joseph@codesourcery.com>
28261
28262 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28263 Remove.
28264 (__ASSUME_CORRECT_SI_PID): Likewise.
28265 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28266 (__ASSUME_TMPFS_NAME): Likewise.
28267 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28268 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28269 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28270 (HAVE_AUX_SECURE): Make definition unconditional.
28271 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28272 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28273
4f75b7a0
RM
282742012-08-03 Roland McGrath <roland@hack.frob.com>
28275
28276 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28277 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28278 * sysdeps/mach/hurd/eloop-threshold.h: New file.
28279 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28280 __eloop_threshold instead of SYMLOOP_MAX.
28281
28282 * sysdeps/generic/eloop-threshold.h: New file.
28283 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28284 of MAXSYMLINKS.
28285 * elf/chroot_canon.c (chroot_canon): Likewise.
28286
7aab07e4
JM
282872012-08-03 Joseph Myers <joseph@codesourcery.com>
28288
28289 [BZ #13717]
28290 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28291 Change to 2.6.0 everywhere.
28292 * sysdeps/unix/sysv/linux/configure: Regenerated.
28293 * sysdeps/unix/sysv/linux/kernel-features.h
28294 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28295 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28296 kernel versions.
28297 (__ASSUME_POSIX_TIMERS): Define unconditionally.
28298 (__ASSUME_FUTEX_REQUEUE): Remove.
28299 (__ASSUME_STATFS64): Define unconditionally.
28300 (__ASSUME_AT_SECURE): Likewise.
28301 (__ASSUME_CORRECT_SI_PID): Likewise.
28302 (__ASSUME_TGKILL): Define without depending on kernel version for
28303 i386.
28304 (__ASSUME_UTIMES): Likewise.
28305 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28306 kernel version.
28307 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28308 (__ASSUME_TMPFS_NAME): Likewise.
28309 * README: Update reference to Linux kernel versions.
28310
b67e9372
MP
283112012-08-02 Marek Polacek <polacek@redhat.com>
28312
1f529f7d 28313 [BZ# 14150]
b67e9372
MP
28314 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
28315 libc_cv_asm_type_prefix with %.
28316 * configure: Regenerated.
d2441631
RM
28317 * include/libc-symbols.h: Remove comment about
28318 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
28319 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28320 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28321 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28322 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28323 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28324 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28325 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28326 * elf/tst-unique2mod1.c: Likewise.
28327 * elf/tst-unique1mod2.c: Likewise.
28328 * elf/tst-unique1mod1.c: Likewise.
28329 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28330 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28331 Replace ASM_TYPE_DIRECTIVE with .type.
28332 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28333 * sysdeps/i386/sysdep.h: Likewise.
28334 * sysdeps/x86_64/sysdep.h: Likewise.
28335 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
28336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28337 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 28338 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
28339 * sysdeps/powerpc/powerpc32/sysdep.h:
28340 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
28341 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28342 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28343 * sysdeps/i386/fpu/e_powf.S: Likewise.
28344 * sysdeps/i386/fpu/e_expl.S: Likewise.
28345 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28346 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28347 * sysdeps/i386/fpu/e_pow.S: Likewise.
28348 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28349 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28350 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28351 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28352 * sysdeps/i386/fpu/e_log2.S: Likewise.
28353 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28354 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28355 * sysdeps/i386/fpu/e_powl.S: Likewise.
28356 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28357 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28358 * sysdeps/i386/fpu/e_logl.S: Likewise.
28359 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28360 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28361 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28362 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28363 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28364 * sysdeps/i386/fpu/e_log.S: Likewise.
28365 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28366 * sysdeps/i386/fpu/e_logf.S: Likewise.
28367 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28368 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28369 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28370 * sysdeps/i386/fpu/e_log10.S: Likewise.
28371 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28372 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28373 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28374 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28375 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28376 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28377 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28378 * sysdeps/i386/i686/strtok.S: Likewise.
28379 * sysdeps/i386/i386-mcount.S: Likewise.
28380 * sysdeps/i386/strtok.S: Likewise.
28381 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28382 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28383 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28384 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28385 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28386 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28387 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28388 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28389 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28390 * sysdeps/x86_64/_mcount.S: Likewise.
28391 * sysdeps/x86_64/strtok.S: Likewise.
28392 * sysdeps/sh/_mcount.S: Likewise.
28393
2747bf9a
RM
283942012-08-01 Roland McGrath <roland@hack.frob.com>
28395
28396 * libio/iofopen.c: Include <fcntl.h>.
28397 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28398 (_IO_fopen64, fopen64): Define as aliases.
28399 * libio/iofopen64.c: Include <fcntl.h>.
28400 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28401 Conditionalize body on this.
28402 * sysdeps/wordsize-64/iofopen.c: File removed.
28403 * sysdeps/wordsize-64/iofopen64.c: File removed.
28404
3fb791b8
MP
284052012-08-01 Marek Polacek <polacek@redhat.com>
28406
28407 * libc/Makeconfig: Use elf in place of binfmt-subdir.
28408 Use dlfcn directly instead of a variable.
28409 (binfmt-subdir): Do not define.
28410 (dlfcn): Likewise.
28411
a9f1039f
JM
284122012-08-01 Joseph Myers <joseph@codesourcery.com>
28413
23bddc06
JM
28414 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28415 Remove all definitions.
28416 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28417 <kernel-features.h>.
28418 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28419 (miss_F_GETOWN_EX): Remove all definitions.
28420 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28421 macro definition.
28422 [!__ASSUME_FCNTL64]: Remove conditional code.
28423 [__ASSUME_FCNTL64]: Make code unconditional.
28424 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28425 <kernel-features.h>.
28426 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28427 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28428 (lockf64) [__NR_fcntl64]: Make code unconditional.
28429 (lockf64) [__ASSUME_FCNTL64]: Likewise.
28430
a9f1039f
JM
28431 * sysdeps/unix/sysv/linux/kernel-features.h
28432 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28433 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28434 Make code unconditional.
28435 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28436 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28438 [__NR_vfork]: Make code unconditional.
28439 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28440 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28442 [__NR_vfork]: Make code unconditional.
28443 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28444 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28445
09c0ee5f
RM
284462012-08-01 Roland McGrath <roland@hack.frob.com>
28447
48aec5b9
RM
28448 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
28449 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
28450
cd97c966
RM
28451 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28452 Define mkstemp64 as an alias.
3f55550c
RM
28453 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28454 Define mkstemps64 as an alias.
cd97c966
RM
28455 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28456 Define mkostemp64 as an alias.
b8625cfc
RM
28457 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28458 Define mkostemps64 as an alias.
cd97c966
RM
28459 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
28460 Conditionalize body on this.
28461 * misc/mkostemp64.c: Likewise.
b8625cfc 28462 * misc/mkostemps64.c: Likewise.
3f55550c 28463 * misc/mkstemps64.c: Likewise.
cd97c966
RM
28464 * sysdeps/wordsize-64/mkstemp64.c: File removed.
28465 * sysdeps/wordsize-64/mkostemp64.c: File removed.
28466 * sysdeps/wordsize-64/mkostemp.c: File removed.
28467 * sysdeps/wordsize-64/mkstemp.c: File removed.
28468 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
28469 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
28470 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
28471 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
28472
09c0ee5f
RM
28473 [BZ #14138]
28474 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
28475 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
28476 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
28477 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
28478
28479 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
28480 compat_symbol macros from <shlib-compat.h> rather than the underlying
28481 default_symbol_version and symbol_version macros, so that DEFAULT
28482 lines in shlib-versions are respected.
28483 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
28484
7e66ee51
FW
284852012-08-01 Florian Weimer <fweimer@redhat.com>
28486
28487 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
28488 Declare with warn_unused_result.
28489 (setgid, setregid, setegid, setresgid): Likewise.
28490 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
28491 Likewise.
28492 * WUR-REPORT: Remove set*id functions.
28493
d2a54255
PT
284942012-07-31 Pino Toscano <toscano.pino@tiscali.it>
28495
28496 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
28497
7ecdb005
RM
284982012-07-31 Roland McGrath <roland@hack.frob.com>
28499
b4180a5e 28500 [BZ #10191]
789bd351
RM
28501 * include/sys/socket.h (__libc_accept, __libc_accept4):
28502 Add attribute_hidden.
28503 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
28504
40ce302d
RM
28505 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
28506 use of PTR_MANGLE.
28507 * inet/getnetgrent_r.c (setup): Likewise.
28508
7ecdb005
RM
28509 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
28510
e2eabb2c
DM
285112012-07-31 David S. Miller <davem@davemloft.net>
28512
28513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28514
d0419dbf
JM
285152012-07-31 Joseph Myers <joseph@codesourcery.com>
28516
28517 [BZ #13629]
28518 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
28519 value between 1.0 and 2.0 and smaller part has absolute value less
28520 than 1.0.
28521 * math/s_clog10.c (__clog10): Likewise.
28522 * math/s_clog10f.c (__clog10f): Likewise.
28523 * math/s_clog10l.c (__clog10l): Likewise.
28524 * math/s_clogf.c (__clogf): Likewise.
28525 * math/s_clogl.c (__clogl): Likewise.
28526 * math/libm-test.inc (clog_test): Add more tests.
28527 (clog10_test): Likewise.
28528 * sysdeps/i386/fpu/libm-test-ulps: Update.
28529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28530
2bc13872
FW
285312012-07-31 Florian Weimer <fweimer@redhat.com>
28532
28533 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
28534 Exit with zero in case no suitable GID is found, and write a
28535 message to standard error.
28536
bea9b193
RM
285372012-07-30 Roland McGrath <roland@hack.frob.com>
28538
28539 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
28540 rather than to 1.
28541 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
28542 (MAXPATHLEN): Removed.
28543 (NOGROUP, NODEV): New macros.
28544 (setbit, clrbit, isset, isclr): New macros.
28545 (howmany, roundup, powerof2): New macros.
28546 (DEV_BSIZE): New macro.
28547
28548 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
28549 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
28550
28551 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
28552 definition on [!__NO_LONG_DOUBLE_MATH].
28553
28554 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
28555 PTR_MANGLE and PTR_DEMANGLE.
28556
28557 * socket/accept4.c (accept4): Rename to __libc_accept4.
28558 Define accept4 as a weak alias.
28559
28560 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
28561 on [_DIRENT_HAVE_D_TYPE].
28562 * io/ftw.c (ftw_dir): Likewise.
28563
28564 * io/xmknod.c (__xmknod): Don't check PATH for being null.
28565
28566 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
28567
28568 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
28569 Use the BSD numbers rather than the arbitrary ones we had.
28570 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
28571 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
28572 (SIGXCPU, SIGXFSZ): New macros.
28573 (_NSIG): Now 32.
28574
28575 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
28576 initializer on [_LIBC_REENTRANT].
28577
28578 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
28579 definitions inside [_POSIX_MAPPED_FILES].
28580
28581 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
28582
28583 * dirent/opendir.c: Include <fcntl.h>.
28584
28585 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
28586 (__libc_getspecific): Likewise.
28587 (__libc_key_create): Likewise.
28588
28589 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
28590 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
28591 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
28592 (tmpfile64): Define as alias.
28593 * sysdeps/wordsize-64/tmpfile.c: File removed.
28594 * sysdeps/wordsize-64/tmpfile64.c: File removed.
28595 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
28596 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
28597
28598 * stdio-common/vfscanf.c: Include <stdbool.h>.
28599 * nss/makedb.c: Likewise.
28600 * stdio-common/_i18n_number.h: Likewise.
28601 * argp/argp-help.c: Likewise.
28602 * posix/wordexp.c: Likewise.
28603 * sysdeps/posix/spawni.c: Likewise.
28604 * nss/nss_files/files-initgroups.c: Likewise.
28605 * stdio-common/reg-modifier.c: Include <stdlib.h>.
28606 * nss/nss_files/files-initgroups.c: Likewise.
28607 * nss/nss_db/db-netgrp.c: Likewise.
28608 * nss/nss_db/db-initgroups.c: Likewise.
28609 * io/fchmodat.c: Include <sys/stat.h>.
28610
28611 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
28612 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
28613
28614 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
28615 [HAVE_MMAP].
28616
28617 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
28618 Add multiple inclusion protection.
28619
e5abc686
DM
286202012-07-27 David S. Miller <davem@davemloft.net>
28621
28622 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28623
815e6fa3
GB
286242012-07-27 Gary Benson <gbenson@redhat.com>
28625
28626 [BZ #14298]
28627 * elf/rtld.c: Include <stap-probe.h>.
28628 (dl_main): Added static probes "init_start" and "init_complete".
28629 * elf/dl-load.c: Include <stap-probe.h>.
28630 (lose): Take new parameter "nsid".
28631 Added static probe "map_failed".
28632 (_dl_map_object_from_fd): Pass namespace id to lose.
28633 Added static probe "map_start".
28634 (open_verify): Pass namespace id to lose.
28635 * elf/dl-open.c: Include <stap-probe.h>.
28636 (dl_open_worker) Added static probes "map_complete", "reloc_start"
28637 and "reloc_complete".
28638 * elf/dl-close.c: Include <stap-probe.h>.
28639 (_dl_close_worker): Added static probes "unmap_start" and
28640 "unmap_complete".
28641 * elf/rtld-debugger-interface.txt: New file documenting the above.
28642
9f98c16c
RM
286432012-07-26 Roland McGrath <roland@hack.frob.com>
28644
28645 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
28646 rather than a string variable.
28647 * sunrpc/rpc_main.c (h_output): Likewise.
28648 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
28649
f3c22df3
PT
286502012-07-26 Pino Toscano <toscano.pino@tiscali.it>
28651
28652 * inet/check_native.c: New file.
28653
3129cfc6
JM
286542012-07-26 Joseph Myers <joseph@codesourcery.com>
28655
da865e95
JM
28656 [BZ #13629]
28657 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
28658 if larger part has absolute value 1.0.
28659 * math/s_clog10.c (__clog10): Likewise.
28660 * math/s_clog10f.c (__clog10f): Likewise.
28661 * math/s_clog10l.c (__clog10l): Likewise.
28662 * math/s_clogf.c (__clogf): Likewise.
28663 * math/s_clogl.c (__clogl): Likewise.
28664 * math/libm-test.inc (clog_test): Add more tests.
28665 (clog10_test): Likewise.
28666 * sysdeps/i386/fpu/libm-test-ulps: Update.
28667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28668
3129cfc6
JM
28669 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
28670 (pltexit): Likewise.
28671 (La_regs): Likewise.
28672 (La_retval): Likewise.
28673 (int_retval): Likewise.
28674 Update #error for removed macros to refer only to definitions in
28675 tst-audit.h.
28676 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
28677 macro.
28678 (pltexit): Likewise.
28679 (La_regs): Likewise.
28680 (La_retval): Likewise.
28681 (int_retval): Likewise.
28682 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
28683 macro.
28684 (pltexit): Likewise.
28685 (La_regs): Likewise.
28686 (La_retval): Likewise.
28687 (int_retval): Likewise.
28688 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
28689 macro.
28690 (pltexit): Likewise.
28691 (La_regs): Likewise.
28692 (La_retval): Likewise.
28693 (int_retval): Likewise.
28694 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
28695 macro.
28696 (pltexit): Likewise.
28697 (La_regs): Likewise.
28698 (La_retval): Likewise.
28699 (int_retval): Likewise.
28700 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
28701 macro.
28702 (pltexit): Likewise.
28703 (La_regs): Likewise.
28704 (La_retval): Likewise.
28705 (int_retval): Likewise.
28706 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
28707 macro.
28708 (pltexit): Likewise.
28709 (La_regs): Likewise.
28710 (La_retval): Likewise.
28711 (int_retval): Likewise.
28712 * sysdeps/generic/tst-audit.h: Update comment to refer only to
28713 macro definitions in tst-audit.h.
28714 * sysdeps/i386/tst-audit.h: New file.
28715 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
28716 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
28717 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
28718 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
28719 * sysdeps/sh/tst-audit.h: Likewise.
28720 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
28721 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
28722 * sysdeps/x86_64/tst-audit.h: Likewise.
28723
bfc07087
AJ
287242012-07-26 Andreas Jaeger <aj@suse.de>
28725
b1b2aaf8
AJ
28726 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
28727 ptrace.
28728
28729 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
28730 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
28731 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
28732 PTRACE_O_MASK.
28733 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
28734 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
28735 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
28736
bfc07087
AJ
28737 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
28738 value.
28739
28740 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
28741 _sigsys.
28742 (si_call_addr, si_syscall, si_arch): Define new macro.
28743 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
28744 _sigsys.
28745 (si_call_addr, si_syscall, si_arch): Define new marcro.
28746 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
28747 _sigsys.
28748 (si_call_addr, si_syscall, si_arch): Define new macro.
28749 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
28750 _sigsys.
28751 (si_call_addr, si_syscall, si_arch): Define new macro.
28752
89b4b02f
JM
287532012-07-25 Joseph Myers <joseph@codesourcery.com>
28754
28755 [BZ #13717]
28756 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28757 Change to 2.4.21 where previously 2.4.1.
28758 * sysdeps/unix/sysv/linux/configure: Regenerated.
28759 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
28760 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
28761 Linux kernel version.
28762 (__ASSUME_STD_AUXV): Remove.
28763 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
28764 kernel version.
28765 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
28766 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
28767 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
28768 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
28769 (__ASSUME_NETLINK_SUPPORT): Likewise.
28770 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
28771 (__no_netlink_support): Remove conditional definition.
28772 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
28773 Remove.
28774 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28775 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
28776 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
28777 (if_nameindex_ioctl): Remove.
28778 (if_nameindex_netlink): Do not handle __no_netlink_support.
28779 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28780 code.
28781 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
28782 Remove conditional code.
28783 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28784 code.
28785 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
28786 unconditional.
28787 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28788 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
28789 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
28790 Remove.
28791 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
28792 [!__ASSUME_STD_AUXV]: Remove conditional code.
28793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
28794 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
28795 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
28796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
28797 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
28798 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28799 code.
28800 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28802 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
28803 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28804 conditional code.
28805 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28807 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28808 code.
28809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28810 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28811 conditional code.
28812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
28813 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28814 code unconditional.
28815 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28816 conditional code.
28817 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28818 unconditional.
28819 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28820 conditional code.
28821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28822 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28823 unconditional.
28824 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28825 conditional code.
28826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28827 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28828 code unconditional.
28829 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28830 conditional code.
28831 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28832 unconditional.
28833 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28834 conditional code.
28835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28836 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28837 code unconditional.
28838 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28839 conditional code.
28840 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28841 unconditional.
28842 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28843 conditional code.
28844
842a39cd
AS
288452012-07-25 Andreas Schwab <schwab@linux-m68k.org>
28846
28847 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
28848 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
28849 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28850 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
28851 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
28852 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28853 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28854 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
28855 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
28856 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
28857 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
28858 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
28859 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
28860 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28861 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
28862 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
28863 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
28864 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
28865 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
28866 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
28867 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
28868 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
28869 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28870
84b3fd84
FW
288712012-07-25 Florian Weimer <fweimer@redhat.com>
28872
28873 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
28874 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
28875 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
28876 Introduce __libc_secure_getenv.
0c7936d5
FW
28877 * stdlib/Versions (2.17): Add secure_getenv
28878 (GLIBC_PRIVATE): Add __libc_secure_getenv.
28879 * stdlib/secure-getenv.c: Rename __secure_getenv to
28880 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
28881 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
28882 * stdlib/tst-secure-getenv.c: New.
28883 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
28884 * manual/startup.texi (Environment Access): Document
28885 secure_getenv.
84b3fd84
FW
28886 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
28887 __libc_secure_getenv.
28888 * inet/ruserpass.c (ruserpass): Likewise.
28889 * malloc/mtrace.c (mtrace): Likewise.
28890 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 28891 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
28892 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
28893 * sysdeps/posix/tempname.c: Likewise. Evaluate
28894 HAVE_SECURE_GETENV.
28895 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 28896 __secure_getenv to __libc_secure_getenv.
84b3fd84 28897 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
28898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28899 Likewise.
28900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28901 Likewise.
28902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28904 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28905 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28906 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28907 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28908 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 28909
56e49b71
JM
289102012-07-25 Joseph Myers <joseph@codesourcery.com>
28911
28912 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
28913 (struct La_i86_retval): Likewise.
28914 (struct La_x86_64_regs): Likewise.
28915 (struct La_x86_64_retval): Likewise.
28916 (struct La_x32_regs): Likewise.
28917 (struct La_x32_retval): Likewise.
28918 (struct La_ppc32_regs): Likewise.
28919 (struct La_ppc32_retval): Likewise.
28920 (struct La_ppc64_regs): Likewise.
28921 (struct La_ppc64_retval): Likewise.
28922 (struct La_sh_regs): Likewise.
28923 (struct La_sh_retval): Likewise.
28924 (struct La_s390_32_regs): Likewise.
28925 (struct La_s390_32_retval): Likewise.
28926 (struct La_s390_64_regs): Likewise.
28927 (struct La_s390_64_retval): Likewise.
28928 (struct La_sparc32_regs): Likewise.
28929 (struct La_sparc32_retval): Likewise.
28930 (struct La_sparc64_regs): Likewise.
28931 (struct La_sparc64_retval): Likewise.
28932 (struct audit_ifaces): Remove architecture-specific pltenter and
28933 pltexit members.
28934 * sysdeps/i386/ldsodefs.h: New file.
28935 * sysdeps/powerpc/ldsodefs.h: Likewise.
28936 * sysdeps/s390/ldsodefs.h: Likewise.
28937 * sysdeps/sh/ldsodefs.h: Likewise.
28938 * sysdeps/sparc/ldsodefs.h: Likewise.
28939 * sysdeps/x86_64/ldsodefs.h: Likewise.
28940
354691b7
MP
289412012-07-25 Marek Polacek <polacek@redhat.com>
28942
28943 [BZ #6808]
28944 * math/libm-test.inc (yn_test): Add another test.
28945 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
28946 to ERANGE when the result is +-Inf.
28947 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28948 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28949 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
28950 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
28951
bf9e2071
JM
289522012-07-24 Joseph Myers <joseph@codesourcery.com>
28953
28954 * conform/data/time.h-data (NULL): Use macro-constant. Require
28955 equal to 0.
28956 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
28957 clock_t.
28958 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
28959
57633811
TS
289602012-07-23 Thomas Schwinge <thomas@codesourcery.com>
28961
28962 * configure.in <sysdeps resolving>: Correct printing
28963 Implies_before.
28964 * configure: Regenerate.
28965
c23c33b0
TS
289662012-07-22 Thomas Schwinge <thomas@codesourcery.com>
28967
28968 * math/w_ilogb.c: Include <limits.h>.
28969 * math/w_ilogbl.c: Likewise.
28970
b5982523
JM
289712012-07-20 Joseph Myers <joseph@codesourcery.com>
28972
28973 * manual/lang.texi (__va_copy): Document primarily as ISO C99
28974 va_copy. Document allowing for unavailable va_copy only as
28975 pre-C99 compatibility.
28976 * manual/string.texi (Copying and Concatenation): Use va_copy
28977 instead of __va_copy in concat example.
28978
ac4ea442
PT
289792012-07-20 Pino Toscano <toscano.pino@tiscali.it>
28980
28981 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
28982 (__sendto): Use create_address_port. Initialize APORT and deallocate
28983 it if not null.
28984
f98eafbd
PT
28985 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
28986 with O_NOLINK passed to __file_name_lookup.
28987
898c7aab
PT
28988 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
28989 with O_NOLINK passed to __file_name_lookup.
28990
0ced335a
PT
28991 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
28992 negative N or less than NGIDS.
28993
b3404dbd
PT
28994 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
28995 type to string_t. Set ERANGE as errno and return it if NAME is not big
28996 enough. Use memcpy instead of strncpy.
28997
0f48659e
JM
289982012-07-20 Joseph Myers <joseph@codesourcery.com>
28999
29000 * elf/Makefile (check-data): Remove.
29001 (localplt.data): New vpath directive.
29002 ($(objpfx)check-localplt.out): Use localplt.data from vpath
29003 instead of $(check-data).
29004 * scripts/data/localplt-generic.data: Move to ...
29005 * sysdeps/generic/localplt.data: ... here.
29006 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29007 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29008 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29010 ... here.
29011 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29013 ... here.
29014 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29016 ... here.
29017 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29018 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29019 ... here.
29020 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29021 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29022 ... here.
29023 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29024 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29025 ... here.
29026
d37cbdaa
AZ
290272012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29028
29029 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29030 PPC32 and PPC64 files.
29031 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29032 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29033
46f85fc2
AK
290342012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29035
29036 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29037 __makecontext_ret to ...
29038 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29039 ... here and call exit if uc_link is NULL. New file.
29040 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29041 __makecontext_ret.S.
29042 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29043 __makecontext_ret to ...
29044 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29045 ... here and call exit if uc_link is NULL. New file.
29046 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29047 __makecontext_ret.S.
29048
08f43f9b
AK
290492012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29050
29051 * elf/elf.h (R_390_IRELATIVE): New definition.
29052 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29053 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
29054 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29055 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29056 (elf_machine_lazy_rel): Likewise.
29057 * sysdeps/s390/dl-irel.h: New file.
29058 * sysdeps/s390/s390-64/memcpy.S: New asm code.
29059 * sysdeps/s390/s390-64/memset.S: New asm code.
29060 * sysdeps/s390/s390-64/memcmp.S: New asm code.
29061 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29062 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29063 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29064 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29065 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29066 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29067 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29068 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29069 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29070 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29071 * sysdeps/s390/s390-32/memcpy.S: New asm code.
29072 * sysdeps/s390/s390-32/memset.S: New asm code.
29073 * sysdeps/s390/s390-32/memcmp.S: New asm code.
29074
3b05db33
MP
290752012-07-17 Marek Polacek <polacek@redhat.com>
29076
29077 [BZ #14349]
29078 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29079 * sysdeps/s390/s390-64/configure.in: Likewise.
29080 * sysdeps/sparc/configure.in: Likewise.
29081 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29082 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29083 * sysdeps/i386/configure.in: Likewise.
29084 * sysdeps/x86_64/configure.in: Likewise.
29085 * sysdeps/sh/configure.in: Likewise.
29086 * sysdeps/s390/s390-32/configure: Regenerated.
29087 * sysdeps/s390/s390-64/configure: Likewise.
29088 * sysdeps/x86_64/configure: Likewise.
29089 * sysdeps/sh/configure: Likewise.
29090 * sysdeps/powerpc/powerpc64/configure: Likewise.
29091 * sysdeps/powerpc/powerpc32/configure: Likewise.
29092 * sysdeps/sparc/configure: Likwise.
29093 * sysdeps/i386/configure: Likewise.
29094
a66877c6
MP
29095 * elf/dl-open.c: Comment fixes.
29096
cfc82fd8
JM
290972012-07-17 Joseph Myers <joseph@codesourcery.com>
29098
bd29910a
JM
29099 * Makefile [CXX] (check-data): Remove.
29100 [CXX] (c++-types.data): New vpath directive.
29101 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29102 vpath. Do not allow for C++ type data being missing.
29103 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29104 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29105 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29106 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29107 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29108 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29109 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29111 ... here.
29112 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29114 ... here.
29115 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29117 ... here.
29118 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29120 ... here.
29121 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29123 ... here.
29124 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29125 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29126 ... here.
29127 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29128 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29129 ... here.
29130 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29132
cfc82fd8
JM
29133 * elf/tls-macros.h (TLS_LE): Move architecture-specific
29134 definitions to architecture-specific files.
29135 (TLS_IE): Likewise.
29136 (TLS_LD): Likewise.
29137 (TLS_GD): Likewise.
29138 * sysdeps/i386/tls-macros.h: New file.
29139 * sysdeps/powerpc/tls-macros.h: Likewise.
29140 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29141 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29142 * sysdeps/sh/tls-macros.h: Likewise.
29143 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29144 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29145 * sysdeps/x86_64/tls-macros.h: Likewise.
29146
f7db3170
TS
291472012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29148
07cbfc23
TS
29149 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29150 zero value for regular exit case.
29151
f7db3170
TS
29152 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29153 (__start_context): Preserve zero value for regular exit case.
29154
dc97c227
TS
291552012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29156 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29157
29158 * manual/setjmp.texi (setcontext): Clarify normal process
29159 termination when uc_link is the null pointer.
29160 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29161 exit call.
29162
d0cd7d02
AS
291632012-07-16 Andreas Schwab <schwab@linux-m68k.org>
29164
29165 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29166 preprocessor. Test for each exception mask separately.
29167
dd318934
AJ
291682012-07-16 Andreas Jaeger <aj@suse.de>
29169
29170 * po/ru.po: Update from translation team.
29171
8048311a
JM
291722012-07-15 Joseph Myers <joseph@codesourcery.com>
29173
29174 * conform/data/string.h-data (NULL): Use macro-constant. Require
29175 equal to 0.
29176 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29177 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29178 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29179 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29180 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29181
b637d46e
AJ
291822012-07-13 Andreas Jaeger <aj@suse.de>
29183
29184 * po/fr.po: Update from translation team.
29185
541428fe
MP
291862012-07-12 Marek Polacek <polacek@redhat.com>
29187
29188 [BZ #14173]
29189 * math/libm-test.inc (yn_test): Add test for BZ #14173.
29190 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29191 loop condition.
29192
ec332e94
JM
291932012-07-12 Joseph Myers <joseph@codesourcery.com>
29194
29195 [BZ #13717]
29196 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29197 Change to 2.4.1 where previously 2.4.0.
29198 * sysdeps/unix/sysv/linux/configure: Regenerated.
29199 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29200 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29201 version.
29202 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29203 (__ASSUME_AT_CLKTCK): Remove.
29204 (__ASSUME_AT_PAGESIZE): Likewise.
29205 (__ASSUME_AT_XID): Likewise.
29206 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29207 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29208 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29209 unconditionally.
29210 (HAVE_AUX_PAGESIZE): Likewise.
29211 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29212 [__ASSUME_AT_CLKTCK]: Make code unconditional.
29213 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29214
7b6e99be
JB
292152012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
29216
29217 [BZ #14307]
29218 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29219 the temporary buffer used to invoke __gethostbyname2_r,
29220 __gethostbyaddr_r and gethostbyname4_r to make room for struct
29221 host_data / struct gaih_addrtuple.
29222 * resolv/nss_dns/dns-host.c (global scope): Move definition of
29223 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29224 header file nss/nsswitch.h.
29225 * nss/nsswitch.h (global scope): Add definition of implementation
29226 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29227 resolv/nss_dns/dns-host.c).
29228
608404eb
AJ
292292012-07-11 Andreas Jaeger <aj@suse.de>
29230
29231 * po/fr.po: Update from translation team.
29232
71220aca
AJ
29233 * po/sv.po: Update from translation team
29234 * po/fr.po: Another update from translation team.
29235
28cfe843
AZ
292362012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29237
29238 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29239 for subnormals or multiply small sinh result by itself.
29240 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29242
6b90f981
DM
292432012-07-11 David S. Miller <davem@davemloft.net>
29244
29245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29246
c6825772
AS
292472012-07-10 Andreas Schwab <schwab@linux-m68k.org>
29248
29249 [BZ #14347]
29250 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29251 (INTERNAL_MARK): Shift it here.
29252
7b8e0d49
MP
292532012-07-10 Marek Polacek <polacek@redhat.com>
29254
29255 [BZ #14151]
29256 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
29257 libc_cv_asm_global_directive with .globl.
29258 * configure: Regenerated.
29259 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29260 with .globl.
29261 * sysdeps/i386/configure: Regenerated.
29262 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29263 with .globl.
29264 * sysdeps/x86_64/configure: Regenerated.
29265 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29266 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29267 * elf/tst-unique2mod2.c: Likewise.
29268 * elf/tst-unique2mod1.c: Likewise.
29269 * elf/tst-unique1mod2.c: Likewise.
29270 * elf/tst-unique1mod1.c: Likewise.
29271 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29272 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29273 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29274 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29275 * sysdeps/mach/sysdep.h: Likewise.
29276 * sysdeps/i386/sysdep.h: Likewise.
29277 * sysdeps/i386/i386-mcount.S: Likewise.
29278 * sysdeps/x86_64/_mcount.S: Likewise.
29279 * sysdeps/x86_64/sysdep.h: Likewise.
29280 * sysdeps/sh/_mcount.S: Likewise.
29281 * sysdeps/sh/sysdep.h: Likewise.
29282 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29283 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29284 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29285 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29286 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29287 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29288 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29289 * locale/localeinfo.h: Likewise.
29290 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29291 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29292
6c55cda3
RM
292932012-07-09 Roland McGrath <roland@hack.frob.com>
29294
29295 [BZ #14336]
29296 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29297 system".
29298 * manual/message.texi (The Uniforum approach): Likewise.
29299 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29300 (glibc iconv Implementation): Likewise.
29301
638a572e
JM
293022012-07-09 Joseph Myers <joseph@codesourcery.com>
29303
29304 [BZ #14337]
29305 * math/s_clog.c (__clog): Avoid scaling a value down where that
29306 could result in underflow.
29307 * math/s_clog10.c (__clog10): Likewise.
29308 * math/s_clog10f.c (__clog10f): Likewise.
29309 * math/s_clog10l.c (__clog10l): Likewise.
29310 * math/s_clogf.c (__clogf): Likewise.
29311 * math/s_clogl.c (__clogl): Likewise.
29312 * math/libm-test.inc (clog_test): Add more tests.
29313 (clog10_test): Likewise.
29314 * sysdeps/i386/fpu/libm-test-ulps: Update.
29315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29316
261f4859
AS
293172012-07-06 Andreas Schwab <schwab@linux-m68k.org>
29318
0abaf3e4
AS
29319 [BZ #14283]
29320 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29321 by 7 not 8 to examine high bit of fractional part.
29322
261f4859
AS
29323 [BZ #14042]
29324 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29325 for call to __mcount_internal.
29326 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29327 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29328 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29329
f17ac40d
JM
293302012-07-06 Joseph Myers <joseph@codesourcery.com>
29331
9ad63c23
JM
29332 [BZ #14154]
29333 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29334 approximation for values within 0x1p-13f of an odd multiple of
29335 pi/4.
29336 * math/libm-test.inc (tan_test): Do not allow spurious underflow
29337 exception. Add more tests.
29338 * sysdeps/i386/fpu/libm-test-ulps: Update.
29339
f17ac40d
JM
29340 [BZ #6778]
29341 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29342 inputs and return -1 for them. Do not check for +Inf in case not
29343 reachable for +Inf.
29344 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29345 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29346 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29347 and return -1 for them. Do not check for +Inf in case not
29348 reachable for +Inf.
29349 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29350 define.
29351 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29352 and return -1 for them. Do not check for +Inf in case not
29353 reachable for +Inf.
29354 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
29355 spurious underflow.
29356 * sysdeps/i386/fpu/libm-test-ulps: Update.
29357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29358
fb21f89b
MF
293592012-07-06 Mike Frysinger <vapier@gentoo.org>
29360
29361 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29362
cdfe2c5e
JM
293632012-07-05 Joseph Myers <joseph@codesourcery.com>
29364
29365 [BZ #14157]
29366 [BZ #14331]
29367 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29368 could result in spurious underflow. Scale down values above
29369 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29370 * math/s_csqrtf.c (__csqrtf): Likewise.
29371 * math/s_csqrtl.c (__csqrtl): Likewise.
29372 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
29373 spurious underflow.
29374 * sysdeps/i386/fpu/libm-test-ulps: Update.
29375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29376
70d35b67
AS
293772012-07-04 Andreas Schwab <schwab@linux-m68k.org>
29378
704bc459
AS
29379 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29380 xopen-msg.sed.
29381 * catgets/xopen-msg.awk: New file.
29382 * catgets/xopen-msg.sed: Removed.
29383
70d35b67
AS
29384 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29385 po2text.sed.
29386 * intl/po2test.awk: New file.
29387 * intl/po2test.sed: Removed.
29388
ca61cf32
JM
293892012-07-04 Joseph Myers <joseph@codesourcery.com>
29390
29391 [BZ #14328]
29392 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29393 or multiply small sinh result by itself.
29394 * math/s_ctanf.c (__ctanf): Likewise.
29395 * math/s_ctanh.c (__ctanh): Likewise.
29396 * math/s_ctanhf.c (__ctanhf): Likewise.
29397 * math/s_ctanhl.c (__ctanhl): Likewise.
29398 * math/s_ctanl.c (__ctanl): Likewise.
29399 * math/libm-test.inc (ctan_test_tonearest): New function.
29400 (ctan_test_towardzero): Likewise.
29401 (ctan_test_downward): Likewise.
29402 (ctan_test_upward): Likewise.
29403 (ctanh_test_tonearest): Likewise.
29404 (ctanh_test_towardzero): Likewise.
29405 (ctanh_test_downward): Likewise.
29406 (ctanh_test_upward): Likewise.
29407 (main): Call these new functions.
29408 * sysdeps/i386/fpu/libm-test-ulps: Update.
29409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29410
ca48a46a
MF
294112012-07-03 Mike Frysinger <vapier@gentoo.org>
29412
29413 * .gitignore: Delete /ports entry.
29414
9d63d37d
AJ
294152012-07-03 Andreas Jaeger <aj@suse.de>
29416
29417 * po/bg.po: Update from translation team.
29418 * po/cs.po: Likewise.
29419 * po/de.po: Likewise.
29420 * po/hr.po: Likewise.
29421 * po/nl.pl: Likewise.
29422 * po/pl.po: Likewise.
29423 * po/vi.po: Likewise.
29424
370ca3d2
JM
294252012-07-03 Joseph Myers <joseph@codesourcery.com>
29426
95f5a9a8
JM
29427 * Makeconfig [!+link] (+link-before-libc): New variable.
29428 [!+link] (+link-after-libc): Likewise.
29429 [!+link] (+link-tests): Likewise.
29430 [!+link] (+link): Define in terms of $(+link-before-libc) and
29431 $(+link-after-libc).
29432 [!+link-static] (+link-static-before-libc): New variable.
29433 [!+link-static] (+link-static-after-libc): Likewise.
29434 [!+link-static] (+link-static-tests): Likewise.
29435 [!+link-static] (+link-static): Define in terms of
29436 $(+link-static-before-libc) and $(+link-static-after-libc).
29437 [build-shared] (link-libc-before-gnulib): New variable.
29438 [build-shared] (link-libc-tests): Likewise.
29439 [build-shared] (link-libc): Define in terms of
29440 $(link-libc-before-gnulib).
29441 [!build-shared] (link-libc-tests): New variable.
29442 (link-libc-static-tests): New variable.
29443 [!gnulib] (gnulib-arch): New variable.
29444 [!gnulib] (gnulib-tests): Likewise.
29445 [!gnulib] (static-gnulib-arch): Likewise.
29446 [!gnulib] (static-gnulib-tests): Likewise.
29447 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
29448 Define with "=" instead of ":=".
29449 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
29450 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
29451 * Rules (binaries-all-notests): New variable.
29452 (binaries-all-tests): Likewise.
29453 (binaries-static-notests): Likewise.
29454 (binaries-static-tests): Likewise.
29455 (binaries-all): Define using $(binaries-all-notests) and
29456 $(binaries-all-tests).
29457 (binaries-static): Define using $(binaries-static-notests) and
29458 $(binaries-static-tests).
29459 (binaries-shared-tests): New variable.
29460 (binaries-shared-notests): Likewise.
29461 (binaries-shared): Remove variable.
29462 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
29463 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
29464 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
29465 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
29466 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
29467 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
29468 * elf/Makefile (sln-modules): New variable.
29469 (extra-objs): Add $(sln-modules:=.o).
29470 (ldconfig-modules): Add static-stubs.
29471 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
29472 * elf/static-stubs.c: New file.
29473
7a845b2c
JM
29474 [BZ #14283]
29475 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
29476 by 7 not 8 to examine high bit of fractional part. Use volatile
29477 variables when splitting into final array of floats if
29478 __FLT_EVAL_METHOD__ != 0.
29479 * math/libm-test.inc (cos_test): Add another test.
29480 (sin_test): Likewise.
29481 * sysdeps/i386/fpu/libm-test-ulps: Update.
29482
e2283f38
JM
29483 [BZ #14273]
29484 * math/libm-test.inc (cosh_test): Add more tests.
29485
370ca3d2
JM
29486 * version.h (RELEASE): Set to "development".
29487 (VERSION): Set to "2.16.90".
29488
ee9247c3
CD
294892012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
29490
29491 * NEWS: Update copyright. Remove last-updated date.
29492 Mention math library bug fixes and timezone data changes.
29493 * README: Mention GNU/Hurd, x32, and HPPA support status.
29494
4648c381
TS
294952012-06-28 Thomas Schwinge <thomas@codesourcery.com>
29496
29497 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
29498
aac78a43
AJ
294992012-06-27 Andreas Jaeger <aj@suse.de>
29500
29501 * manual/contrib.texi (Contributors): Add Samuel Thibault.
29502
ed3dbfad
AJ
295032012-06-25 Andreas Jaeger <aj@suse.de>
29504
29505 * sysdeps/s390/fpu/libm-test-ulps: Update.
29506
4d0ee855
AS
295072012-06-23 Andreas Schwab <schwab@linux-m68k.org>
29508 Thomas Schwinge <thomas@codesourcery.com>
29509
29510 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
29511 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
29512 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
29513 fanotify_mark.
29514
af1bce34
TS
295152012-06-23 Thomas Schwinge <thomas@codesourcery.com>
29516
a9fa33ba
TS
29517 * sysdeps/mach/start.c: Remove file.
29518 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
29519 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
29520 * sysdeps/sh/init-first.c: Likewise.
29521
58f902b8
TS
29522 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
29523 registers for frame unwinding purposes, add CFI directives.
29524 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29525 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
29526 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
29527 Likewise.
29528
1518f58b
TS
29529 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
29530 __fortify_fail returning.
29531 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29532
db9b5059
TS
29533 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
29534 sysdeps/sh/____longjmp_chk.S.
29535 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
29536 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
29537 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
29538 (gen-as-const-headers): Append sigaltstack-offsets.sym.
29539
967705fe
TS
29540 * sysdeps/sh/abort-instr.h: New file.
29541 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
29542 process in case exit returns.
29543
a9def8c4
TS
29544 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
29545 initialize the GOT register before use.
29546
2a649725
TS
29547 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
29548 calculation of ARGC > 4.
29549
af1bce34
TS
29550 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
29551 meaningful names to some local labels.
29552
d230f50a
KK
295532012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29554 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29555
29556 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
29557 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
29558 (__arch_compare_and_exchange_val_16_acq): Likewise.
29559 (__arch_compare_and_exchange_val_32_acq): Likewise.
29560 (atomic_exchange_and_add): Fix gUSA sequence.
29561 (atomic_add): Likewise.
29562 (atomic_add_negative): Likewise.
29563 (atomic_add_zero): Likewise.
29564 (atomic_bit_test_set): Likewise.
29565
0479b305
AS
295662012-06-22 Andreas Schwab <schwab@redhat.com>
29567
29568 [BZ #13579]
29569 * include/link.h (struct link_map): Add l_free_initfini.
29570 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
29571 l_initfini.
29572 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
29573 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
29574 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
29575 set.
29576
0e3933b9
CD
295772012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
29578
29579 * configure.in: Use AC_LANG_SOURCE.
29580 * configure: Regenerate.
29581
4248b1b1
RM
295822012-06-22 Roland McGrath <roland@hack.frob.com>
29583
29584 * configure.in (libc_cv_localstatedir): New substituted variable.
29585 * configure: Regenerated.
29586 * config.make.in (localstatedir): New variable, substituted from
29587 libc_cv_localstatedir.
29588 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
29589 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
29590 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
29591 * sysdeps/gnu/configure: Regenerated.
29592
006dd861
JL
295932012-06-21 Jeff Law <law@redhat.com>
29594
29595 [BZ #14277]
29596 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
29597 free. Simplify list management for _LIBC case.
29598
79662d42
JM
295992012-06-21 Joseph Myers <joseph@codesourcery.com>
29600
b7abb4bf
JM
29601 [BZ #14273]
29602 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29603 Clear sign bit of 64-bit integer value before comparing against
29604 overflow value.
29605
79662d42
JM
29606 * sysdeps/mach/configure: Regenerated.
29607
1f150908
L
296082012-06-21 H.J. Lu <hongjiu.lu@intel.com>
29609
29610 [BZ #14278]
29611 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
29612
28363bbf
JL
296132012-06-21 Jeff Law <law@redhat.com>
29614
29615 [BZ #13882]
29616 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
29617 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 29618 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
29619 * elf/dl-open.c (dl_open_worker): Likewise.
29620
09615db4
CD
296212012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
29622
29623 * scripts/list-sources.sh: Scan PORTS for translations.
29624 * po/libc.pot: Regenerated.
29625
2174c6dd
AJ
296262012-06-21 Andreas Jaeger <aj@suse.de>
29627
29628 [BZ #12194]
29629 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
29630 warning.
29631 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
29632 * bits/byteswap-16.h (__bswap_16): Likewise.
29633 * bits/byteswap.h (__bswap_constant_16): Likewise.
29634
3ee947b1
L
296352012-06-18 H.J. Lu <hongjiu.lu@intel.com>
29636
29637 [BZ #14117]
a2f34833
L
29638 * sysdeps/i386/fpu_control.h: Removed.
29639 * sysdeps/x86_64/fpu_control.h: Moved to ...
29640 * sysdeps/x86/fpu_control.h: Here.
29641
3ee947b1
L
29642 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
29643 (_FPU_SETCW): Likewise.
29644
ed1825f8
L
296452012-06-15 H.J. Lu <hongjiu.lu@intel.com>
29646
25f1282a
L
29647 [BZ #14117]
29648 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
29649 * sysdeps/x86/fpu/bits/mathinline.h: This.
29650 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
29651
ed1825f8
L
29652 [BZ #14050]
29653 [BZ #14117]
29654 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
29655 functions if __x86_64__ is defined.
29656
36d54b74
CLT
296572012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
29658
29659 * string/endian.h: Add !__ASSEMBLER__ condition for including
29660 conversion interfaces.
29661
10285c21
JM
296622012-06-15 Joseph Myers <joseph@codesourcery.com>
29663
29664 [BZ #14241]
29665 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
29666 of ABS(x) in calculating zero to negative powers other than odd
29667 integers.
29668 * math/libm-test.inc (pow_test): Add more tests.
29669
06c5abbd
AJ
296702012-06-15 Andreas Jaeger <aj@suse.de>
29671
29672 * manual/contrib.texi (Contributors): Update entry of Liubov
29673 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
29674 Machado Filho.
29675
a3aeac40
CH
296762012-06-15 Cyril Hrubis <metan@ucw.cz>
29677
29678 * string/string.h: Add __wur to GNU version of strerror_r.
29679
49bdf4c1
L
296802012-06-14 H.J. Lu <hongjiu.lu@intel.com>
29681
29682 [BZ #14229]
29683 * string/Makefile (tests): Add tst-strtok_r.
29684 * string/tst-strtok_r.c: New file.
29685 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
29686 RAX_LP/RDX_LP on SAVE_PTR.
29687
834f9b8d
RM
296882012-06-14 Roland McGrath <roland@hack.frob.com>
29689
29690 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
29691
75fa1921
JM
296922012-06-14 Joseph Myers <joseph@codesourcery.com>
29693
29694 * libm_test.inc (csqrt_test): Allow more spurious underflow
29695 exceptions.
29696 (j0_test): Likewise.
29697 (j1_test): Likewise.
29698 (y0_test): Likewise.
29699 (y1_test): Likewise.
29700
771766df
CD
297012012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
29702
29703 * po/Makefile (libc.pot): Use UTF-8 charset.
29704
ceb9e56b
PP
297052012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
29706
29707 [BZ #14210]
29708 Suppress sign-conversion warning from FD_SET.
29709 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
29710 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
29711 not unsigned long int.
29712 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
29713
ddb28975
L
297142012-06-12 H.J. Lu <hongjiu.lu@intel.com>
29715
29716 [BZ #14050]
29717 [BZ #14117]
29718 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
29719 __extern_always_inline instead of __extern_inline.
29720 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
29721 (__signbit): Likewise.
29722 (__signbitl): Support C++ namespace.
29723 (lrintf): New inline function.
29724 (lrint): Likewise.
29725 (llrintf): Likewise.
29726 (llrint): Likewise.
29727 (fmaxf): Likewise.
29728 (fmax): Likewise.
29729 (fminf): Likewise.
29730 (fmin): Likewise.
29731 (rint): Likewise.
29732 (rintf): Likewise.
29733 (ceil): Likewise.
29734 (ceilf): Likewise.
29735 (floor): Likewise.
29736 (floorf): Likewise.
29737 (nearbyint): Likewise.
29738 (nearbyintf): Likewise.
29739
d7b4fb26
TS
297402012-06-12 Thomas Schwinge <thomas@codesourcery.com>
29741
29742 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
29743 non-default versions.
29744
eb55f5c2
RM
297452012-06-11 Roland McGrath <roland@hack.frob.com>
29746
29747 [BZ #14218]
29748 * manual/argp.texi (Argp): Reword argp_parse description slightly.
29749
366af02c
TS
297502012-06-09 Thomas Schwinge <thomas@codesourcery.com>
29751
99ff6e5c
TS
29752 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
29753 (FE_UPWARD, FE_DOWNWARD): Don't define.
29754 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
29755 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29756
366af02c
TS
29757 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
29758 reading it.
29759 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29760 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29761
793ea851
KK
297622012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29763
29764 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29765 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
29766 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
29767 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
29768
a728a38f
L
297692012-06-06 H.J. Lu <hongjiu.lu@intel.com>
29770
29771 [BZ #14117]
c08010c7
L
29772 * sysdeps/i386/fpu/bits/fenv.h: Removed.
29773 * sysdeps/i386/fpu/Implies: New file.
29774 * sysdeps/x86_64/fpu/Implies: Likewise.
29775 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
29776 * sysdeps/x86/fpu/bits/fenv.h: This.
29777
a728a38f
L
29778 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
29779 __SSE_MATH__.
29780
6e230d11
SP
297812012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29782
29783 [BZ #14134]
29784 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
29785 character 0xffff that matches the last element of the
29786 conversion table.
29787
1b671feb
AZ
297882012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29789
29790 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
29791 fmodl commit.
29792
6043738b
AZ
297932012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29794
29795 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
29796 values higher than 25.6283.
29797
34ae0b32
AZ
297982012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29799
29800 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
29801 subnormal exponent extraction and add some __builtin_expect.
29802 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
29803 Fix for subnormal mantissa calculation.
29804
1214ec8f
MF
298052012-06-04 Mike Frysinger <vapier@gentoo.org>
29806
29807 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
29808 cpu2 is -1 and errno is not ENOSYS.
29809
f3d1f93c
L
298102012-06-04 H.J. Lu <hongjiu.lu@intel.com>
29811
29812 [BZ #14117]
0e4a3cd7
L
29813 * sysdeps/i386/i486/bits/string.h: Renamed to ...
29814 * sysdeps/x86/bits/string.h: This.
29815 * sysdeps/x86_64/bits/string.h: Removed.
29816
6704c645
L
29817 * sysdeps/i386/i486/bits/string.h: Define inline functions only
29818 if not compiling for x86-64, but compiling for >= i486.
29819
48495318
L
29820 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
29821 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
29822
14adcbfc
L
29823 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
29824 New macro from Linux kernel 3.4.0.
29825 (FP_XSTATE_MAGIC2): Likewise.
29826 (FP_XSTATE_MAGIC2_SIZE): Likewise.
29827 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
29828 (struct _fpx_sw_bytes): New struct.
29829 (struct _xsave_hdr): Likewise.
29830 (struct _ymmh_state): Likewise.
29831 (struct _xstate): Likewise.
29832
68e408ab
L
29833 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
29834 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
29835 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
29836 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
29837 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
29838 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
29839
f3d1f93c
L
29840 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
29841 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
29842 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
29843 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
29844 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
29845 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
29846
d9dc34cd
TMQMF
298472012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29848
29849 [BZ #13743]
29850 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
29851 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
29852 (sysdep_headers): Include sys/platform/ppc.h.
29853 * sysdeps/powerpc/test-gettimebase.c: Test for
29854 __ppc_get_timebase() to catch future ISA opcode/insn changes.
29855 * manual/Makefile (appendices): Include platform.texi.
29856 * manual/contrib.texi (Contributors): Update @node pointers.
29857 * manual/maint.texi (Maintenance): Likewise.
29858 (Platform): New node.
29859 * manual/platform.texi: New file. Document the new features.
29860
4af3879c
SP
298612012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29862 Jakub Jelinek <jakub@redhat.com>
29863
29864 [BZ #14188]
29865 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
29866 where __builtin_expect is unavailable.
29867
2fd6ff13
DM
298682012-06-03 David S. Miller <davem@davemloft.net>
29869
29870 * stdlib/longlong.h: Updated from GCC.
29871
173f7220
AS
298722012-06-02 Andreas Schwab <schwab@linux-m68k.org>
29873
29874 [BZ #14042]
29875 * sysdeps/powerpc/powerpc32/mcount.c: New file.
29876 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
29877 __mcount_internal.
29878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29879 (GLIBC_2.16): Likewise.
29880
f34a1c6f
L
298812012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29882
29883 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
29884
88a4576f
JM
298852012-06-01 Joseph Myers <joseph@codesourcery.com>
29886
ea32bcdd
JM
29887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
29888 (default-abi): New variable.
29889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
29890 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
29891 variable.
29892 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
29893 Likewise.
29894 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
29895 Likewise.
29896 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
29897 Likewise.
29898
88a4576f
JM
29899 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
29900 definition. Document in comment.
29901
402fe938
DM
299022012-06-01 David S. Miller <davem@davemloft.net>
29903
29904 * stdlib/longlong.h: Updated from GCC.
29905
3553723f
L
299062012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29907
29908 [BZ #14117]
3bd872c4
L
29909 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
29910 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
29911 sys/debugreg.h sys/io.h here.
29912 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
29913 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
29914 sys/io.h.
29915 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
29916 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
29917 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
29918 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
29919 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
29920 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
29921
3553723f
L
29922 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
29923 Define only if __x86_64__ is defined.
29924
4842e4fe
JM
299252012-06-01 Joseph Myers <joseph@codesourcery.com>
29926
c5bfe3d5
JM
29927 [BZ #14048]
29928 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
29929 Use int64_t for variable i.
29930 * math/libm-test.inc (fmod_test): Add more tests.
29931
4842e4fe
JM
29932 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
29933 z computation is not scheduled after fetestexcept.
29934 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
29935 Use math_force_eval instead of asm to ensure calculation scheduled
29936 before exception test.
29937 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
29938 Ensure a1 + u.d computation is not scheduled after fetestexcept.
29939
efb73488
AJ
299402012-06-01 Aurelien Jarno <aurelien@aurel32.net>
29941
29942 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
29943 computation is not scheduled after fetestexcept.
29944
29bcce7c
L
299452012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29946
29947 [BZ #14117]
29948 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
29949 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
29950
73a68f94
AZ
299512012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29952
29953 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
29954 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29955
67b6df78
L
299562012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29957
edf2933a 29958 [BZ #14117]
ebc64a18
L
29959 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
29960 <bits/wordsize.h>.
29961 (__WCHAR_MIN): Support __WORDSIZE == 64.
29962 (__WCHAR_MAX): Likewise.
29963
edf2933a
L
29964 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
29965 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
29966
57c6cf40
L
29967 [BZ #14183]
29968 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
29969 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
29970
67b6df78 29971 [BZ #14117]
8eb6281e
L
29972 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
29973 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
29974
aac639f4
L
29975 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
29976 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
29977
67b6df78
L
29978 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
29979 Defined to 1 if __x86_64__ isn't defined.
29980 (_STAT_VER_LINUX_OLD): New.
29981 (st_atime): Remove duplicate.
29982 (st_mtime): Likewise.
29983 (st_ctime): Likewise.
29984
1c2cfe81
DM
299852012-05-31 David S. Miller <davem@davemloft.net>
29986
29987 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
29988 entries.
29989
5be8418c
AS
299902012-06-01 Andreas Schwab <schwab@linux-m68k.org>
29991
e7725326
AS
29992 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
29993 gen-libm-test.pl.
29994
5be8418c
AS
29995 [BZ #14132]
29996 * elf/dl-reloc.c: Include <_itoa.h>.
29997 (_dl_reloc_bad_type): Remove use of INTUSE.
29998 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
29999 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30000 * stdio-common/psiginfo.c (psiginfo): Likewise.
30001 * stdio-common/psignal.c (psignal): Likewise.
30002 * string/strsignal.c (strsignal): Likewise.
30003 * include/signal.h (_sys_siglist): Declare hidden proto.
30004 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
30005 INTVARDEF with libc_hidden_data_def.
30006 * stdio-common/itoa-udigits.c: Likewise.
30007 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30008 (_itoa_lower_digits_internal): Remove declaration.
30009 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30010 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30011 (_sys_sigabbrev_internal): Remove aliases.
30012 (_sys_siglist): Define hidden alias.
30013
507352f1
MT
300142012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
30015
30016 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30017 bits/sysctl.h.
30018
42bbb1c3
L
300192012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30020
30021 [BZ #14117]
6bd784b6
L
30022 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30023 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30024
8bca20f0
L
30025 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30026 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30027 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30028 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30029 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30030 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30031
f9e890a9
L
30032 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30033 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30034 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30035
471101a1
L
30036 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30037 with __addr.
30038 (insw): Likewise.
30039 (insl): Likewise.
30040 (outsb): Likewise.
30041 (outsw): Likewise.
30042 (outsl): Likewise.
30043
6451c862
L
30044 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30045 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30046 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30047
a254b8c9
L
30048 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30049 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30050 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30051 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30052 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30053 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30054
b8dfdd92
L
30055 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30056 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30057
578cd270
L
30058 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30059 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30060
de662f5f
L
30061 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30062 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30063 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30064
25653439
L
30065 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30066 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30067 to ...
30068 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30069
6bad24a0
L
30070 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30071 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30072 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30073
42bbb1c3
L
30074 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30075 for x86-64.
30076 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30077
2d10d547
JM
300782012-05-31 Joseph Myers <joseph@codesourcery.com>
30079
30080 * math/math.h (M_El): Use two more decimal places.
30081 (M_LOG2El): Likewise.
30082 (M_LOG10El): Likewise.
30083 (M_LN2l): Likewise.
30084 (M_LN10l): Likewise.
30085 (M_PIl): Likewise.
30086 (M_PI_2l): Likewise.
30087 (M_PI_4l): Likewise.
30088 (M_1_PIl): Likewise.
30089 (M_2_PIl): Likewise.
30090 (M_2_SQRTPIl): Likewise.
30091 (M_SQRT2l): Likewise.
30092 (M_SQRT1_2l): Likewise.
30093
f230c29b
DM
300942012-05-31 David S. Miller <davem@davemloft.net>
30095
30096 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30097 values between float registers.
30098 * sysdeps/sparc/sparc64/memset.S: Likewise.
30099 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30100
fed806c3
MF
301012012-05-31 Mike Frysinger <vapier@gentoo.org>
30102
30103 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30104 -D_FORTIFY_SOURCE=1.
30105 (CPPFLAGS-tst-longjmp_chk.c): Define.
30106 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30107 (CPPFLAGS-tst-longjmp_chk2.c): Define.
30108 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30109 CFLAGS-tst-wchar-h.c.
30110
30917259
MP
301112012-05-31 Marek Polacek <polacek@redhat.com>
30112
30113 [BZ #14132]
30114 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30115 __endmntent_internal): Remove declaration.
30116 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30117 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30118 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30119
1c58d5dc
DM
301202012-05-30 David S. Miller <davem@davemloft.net>
30121
30122 * sysdeps/sparc/sparc32/soft-fp/q_util.c
30123 (___Q_simulate_exceptions): Use real FP ops rather than writing
30124 into the %fsr.
30125 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30126 Likewise.
30127
7dc00e0d
L
301282012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30129
30130 [BZ #14117]
0bd53985
L
30131 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30132 * sysdeps/x86/bits/xtitypes.h: This.
30133
3a257e66
L
30134 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30135 * sysdeps/x86/bits/wordsize.h: This.
30136
62f62904
L
30137 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30138 * sysdeps/x86/bits/huge_vall.h: This.
30139
404fe9d9
L
30140 * sysdeps/i386/bits/select.h: Removed.
30141 * sysdeps/x86_64/bits/select.h: Renamed to ...
30142 * sysdeps/x86/bits/select.h: This.
30143
d48d0446
L
30144 * sysdeps/i386/bits/setjmp.h: Removed.
30145 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30146 * sysdeps/x86/bits/setjmp.h: This.
30147
7dc00e0d
L
30148 * sysdeps/i386/bits/mathdef.h: Removed.
30149 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30150 * sysdeps/x86/bits/mathdef.h: This.
30151
03277f8f
AS
301522012-05-30 Andreas Schwab <schwab@linux-m68k.org>
30153
30154 [BZ #14132]
30155 * include/sys/socket.h (__connect_internal)
30156 (__libc_sa_len_internal): Remove declaration.
30157 (__connect, __libc_sa_len): Declare hidden_proto.
30158 (SA_LEN): Remove use of INTUSE.
30159 * socket/connect.c: Add libc_hidden_def.
30160 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30161 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30162 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30163 alias.
30164 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30165 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30166 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30167 of adding _internal alias.
30168
13764867
L
301692012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30170
30171 [BZ #14117]
6bd97696
L
30172 * sysdeps/i386/bits/link.h: Removed.
30173 * sysdeps/i386/bits/linkmap.h: Likewise.
30174 * sysdeps/x86_64/bits/link.h: Renamed to ...
30175 * sysdeps/x86/bits/link.h: This.
30176 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30177 * sysdeps/x86/bits/linkmap.h: This.
30178
f726f0bb
L
30179 * sysdeps/i386/bits/endian.h: Removed.
30180 * sysdeps/x86_64/bits/endian.h: Renamed to ...
30181 * sysdeps/x86/bits/endian.h: This.
30182
13764867
L
30183 * sysdeps/i386/bits/byteswap.h: Removed.
30184 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30185 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30186 * sysdeps/x86/bits/byteswap.h: This.
30187 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30188 * sysdeps/x86/bits/byteswap-16.h: This.
30189 * sysdeps/i386/Implies: Add x86.
30190 * sysdeps/x86_64/Implies: Likewise.
30191
ae251b0b
DM
301922012-05-30 David S. Miller <davem@davemloft.net>
30193
30194 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30195 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30196 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30197 (FP_TRAPPING_EXCEPTIONS): Define.
30198 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30199 (FP_TRAPPING_EXCEPTIONS): Define.
30200 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30201 subnormals only when inexact has been signalled or underflow
30202 exceptions are enabled.
30203 (_FP_PACK_CANONICAL): Likewise.
30204
d5c90867
L
302052012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30206
30207 [BZ #14183]
30208 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30209 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30210
63f1549e
RH
302112012-05-30 Richard Henderson <rth@twiddle.net>
30212
8d8f2279
RH
30213 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30214 with #ifndef NOT_IN_libc.
30215
63f1549e
RH
30216 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
30217 marked to avoid plt entry.
30218
0ab0291b
L
302192012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30220
30221 [BZ #14112]
30222 * Makeconfig (default-abi): New macro.
30223 (abi-includes): Likewise.
30224 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
30225 $(abi-$(default-abi)-lib-soname) for soname if defined.
30226 ($(common-objpfx)gnu/lib-names.stmp): Generate from
30227 abi-variants.
30228 * Makefile (installed-stubs): Likewise.
30229 * include/stubs-biarch.h: Removed.
30230 * scripts/lib-names.awk: Only handle one library at a time.
30231 * scripts/soversions.awk: Remove WORDSIZE support.
30232 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30233 entries.
30234 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30235 Removed.
30236 (syscall-list-default-condition): Likewise.
30237 (syscall-list-default-condition): Likewise.
30238 (syscall-list-includes): Likewise.
30239 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30240 syscall-list-* with abi-*. Handle undefined abi-variants.
30241 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30242 * sysdeps/unix/sysv/linux/i386/Implies: New file.
30243 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30244 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30245 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30246 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30247 Removed.
30248 (syscall-list-32-options): Likewise.
30249 (syscall-list-32-condition): Likewise.
30250 (syscall-list-64-options): Likewise.
30251 (syscall-list-64-condition): Likewise.
30252 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30253 macro.
30254 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30255 Renamed to ...
30256 (abi-*): This.
30257 (abi-64-ld-soname): New macro.
30258 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30259 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30260 Renamed to ...
30261 (abi-*): This.
30262 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30263 * sysdeps/x86_64/x32/shlib-versions: Likewise.
30264
4da0431d
JM
302652012-05-30 Joseph Myers <joseph@codesourcery.com>
30266
3a85279c
JM
30267 * sysdeps/unix/sysv/linux/kernel-features.h
30268 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30269 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30270 include <kernel-features.h>.
30271 [!__NR_ftruncate64]: Remove conditional code.
30272 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30273 [__NR_ftruncate64]: Make code unconditional.
30274 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30275 * sysdeps/unix/sysv/linux/truncate64.c: Do not
30276 include <kernel-features.h>.
30277 [!__NR_ftruncate64]: Remove conditional code.
30278 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30279 [__NR_ftruncate64]: Make code unconditional.
30280 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30282 include <kernel-features.h>.
30283 [!__NR_ftruncate64]: Remove conditional code.
30284 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30285 [__NR_ftruncate64]: Make code unconditional.
30286 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30288 include <kernel-features.h>.
30289 [!__NR_ftruncate64]: Remove conditional code.
30290 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30291 [__NR_ftruncate64]: Make code unconditional.
30292 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30293
4da0431d
JM
30294 * configure.in (libc_cv_fpie): Weaken to a compile test using
30295 LIBC_TRY_CC_OPTION.
30296 * configure: Regenerated.
30297
11ef492c
AK
302982012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30299
30300 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30302 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30304 Refreshed.
30305 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30309 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30310 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30311 Refreshed.
30312
d66ef399
DM
303132012-05-27 David S. Miller <davem@davemloft.net>
30314
30315 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30316 (___Q_zero): New.
30317 (__Q_simulate_exceptions): Return void. Change to simulate
30318 exceptions by writing into the %fsr.
30319 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30320 (__Qp_handle_exceptions): Likewise.
30321 (numbers): Delete.
30322 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30323 __Qp_handle_exceptions.
30324 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30325 __Qp_handle_exceptions.
30326 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30327 as unused and give dummy FP_RND_NEAREST initializer.
30328 (FP_INHIBIT_RESULTS): Define.
30329 (___Q_simulate_exceptions): Update declaration.
30330 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30331 formatting.
30332 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30333 as unused and give dummy FP_RND_NEAREST initializer.
30334 (__Qp_handle_exceptions): Update declaration.
30335 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30336 formatting.
30337
04fb54b5
TS
303382012-05-27 Thomas Schwinge <thomas@codesourcery.com>
30339
30340 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30341 the temporary FPU control word.
30342 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30343 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30344 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30345 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30346 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30347 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30348 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30349 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30350 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30351 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30352 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30353
3f99608f
KK
303542012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30355
30356 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30357 fields.
30358
65a4de4e
CLT
303592012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
30360
30361 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30362 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30363 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30364 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30365 Likewise.
30366 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30367 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30368 Likewise.
30369
15749d40
UD
303702012-05-27 Ulrich Drepper <drepper@gmail.com>
30371
30372 * po/h.po: Update from translation team.
30373
25dbcb27
AS
303742012-05-26 Andreas Schwab <schwab@linux-m68k.org>
30375
3d3f8e55
AS
30376 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30377
25dbcb27
AS
30378 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30379 handling of denormals.
30380 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30381 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30382 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30383 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30384 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30385 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30386 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30387 Likewise.
30388
7ad47a80 303892012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
30390
30391 [BZ #14152]
30392 * math/libm-test.inc (fma_test): Don't always expect underflow
30393 exception.
30394
9c6ea9fa
SP
303952012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30396
30397 [BZ #12416]
30398 * elf/tst-execstack.c: Include stackinfo.h.
30399 (do_test): Adjust test case to ensure that pthread_getattr_np
30400 behaviour remains the same after marking stack executable.
30401
a8239222
JM
304022012-05-25 Joseph Myers <joseph@codesourcery.com>
30403
30404 * sysdeps/unix/sysv/linux/kernel-features.h
30405 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30406 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30407 kernel-features.h.
30408 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30409 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30410 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30411 kernel-features.h.
30412 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30413 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30414
918b5606
L
304152012-05-25 H.J. Lu <hongjiu.lu@intel.com>
30416
30417 * configure.in: Define the default includes to being none.
30418 * configure: Regenerated.
30419
3a097cc7
RM
304202012-05-25 Roland McGrath <roland@hack.frob.com>
30421
8422c9a5
RM
30422 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30423 * sysdeps/x86_64/setjmp.S: Likewise.
30424 * sysdeps/i386/bsd-setjmp.S: Likewise.
30425 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30426 * sysdeps/i386/setjmp.S: Likewise.
30427 * sysdeps/i386/__longjmp.S: Likewise.
30428 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30429 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30430
3a097cc7
RM
30431 * include/stap-probe.h: New file.
30432 * configure.in: Handle --enable-systemtap.
30433 * configure: Regenerated.
30434 * config.h.in (USE_STAP_PROBE): New #undef.
30435 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30436 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30437 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30438
21708942
JM
304392012-05-25 Joseph Myers <joseph@codesourcery.com>
30440
30441 [BZ #13717]
30442 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30443 to 2.4.0 where earlier.
30444 * sysdeps/unix/sysv/linux/configure: Regenerated.
30445 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30446 <kernel-features.h>.
30447 [__ASSUME_32BITUIDS]: Make code unconditional.
30448 [!__ASSUME_32BITUIDS]: Remove conditional code.
30449 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
30450 <kernel-features.h>.
30451 [__ASSUME_32BITUIDS]: Make code unconditional.
30452 [!__ASSUME_32BITUIDS]: Remove conditional code.
30453 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
30454 [__ASSUME_32BITUIDS]: Make code unconditional.
30455 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
30456 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
30457 <kernel-features.h>.
30458 [__ASSUME_32BITUIDS]: Make code unconditional.
30459 [!__ASSUME_32BITUIDS]: Remove conditional code.
30460 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
30461 <kernel-features.h>.
30462 [__ASSUME_32BITUIDS]: Make code unconditional.
30463 [!__ASSUME_32BITUIDS]: Remove conditional code.
30464 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
30465 <kernel-features.h>.
30466 [__ASSUME_32BITUIDS]: Make code unconditional.
30467 [!__ASSUME_32BITUIDS]: Remove conditional code.
30468 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
30469 <kernel-features.h>.
30470 [__ASSUME_32BITUIDS]: Make code unconditional.
30471 [!__ASSUME_32BITUIDS]: Remove conditional code.
30472 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30473 <kernel-features.h>.
30474 [__ASSUME_32BITUIDS]: Make code unconditional.
30475 [!__ASSUME_32BITUIDS]: Remove conditional code.
30476 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30477 <kernel-features.h>.
30478 [__ASSUME_32BITUIDS]: Make code unconditional.
30479 [!__ASSUME_32BITUIDS]: Remove conditional code.
30480 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
30481 <kernel-features.h>.
30482 [__ASSUME_32BITUIDS]: Make code unconditional.
30483 [!__ASSUME_32BITUIDS]: Remove conditional code.
30484 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30485 <kernel-features.h>.
30486 [__ASSUME_32BITUIDS]: Make code unconditional.
30487 [!__ASSUME_32BITUIDS]: Remove conditional code.
30488 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30489 <kernel-features.h>.
30490 [__ASSUME_32BITUIDS]: Make code unconditional.
30491 [!__ASSUME_32BITUIDS]: Remove conditional code.
30492 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
30493 <kernel-features.h>.
30494 [__ASSUME_32BITUIDS]: Make code unconditional.
30495 [!__ASSUME_32BITUIDS]: Remove conditional code.
30496 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
30497 <kernel-features.h>.
30498 [__NR_setresgid] (__setresgid): Do not declare.
30499 [__ASSUME_32BITUIDS]: Make code unconditional.
30500 [!__ASSUME_32BITUIDS]: Remove conditional code.
30501 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
30502 <kernel-features.h>.
30503 [__NR_setresuid] (__setresuid): Do not declare.
30504 [__ASSUME_32BITUIDS]: Make code unconditional.
30505 [!__ASSUME_32BITUIDS]: Remove conditional code.
30506 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
30507 <kernel-features.h>.
30508 [__ASSUME_32BITUIDS]: Make code unconditional.
30509 [!__ASSUME_32BITUIDS]: Remove conditional code.
30510 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
30511 <kernel-features.h>.
30512 [__ASSUME_32BITUIDS]: Make code unconditional.
30513 [!__ASSUME_32BITUIDS]: Remove conditional code.
30514 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
30515 <kernel-features.h>.
30516 [__ASSUME_32BITUIDS]: Make code unconditional.
30517 [!__ASSUME_32BITUIDS]: Remove conditional code.
30518 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
30519 <kernel-features.h>.
30520 [__ASSUME_32BITUIDS]: Make code unconditional.
30521 [!__ASSUME_32BITUIDS]: Remove conditional code.
30522 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
30523 <kernel-features.h>.
30524 [__ASSUME_32BITUIDS]: Make code unconditional.
30525 [!__ASSUME_32BITUIDS]: Remove conditional code.
30526 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
30527 <kernel-features.h>.
30528 [__ASSUME_32BITUIDS]: Make code unconditional.
30529 [!__ASSUME_32BITUIDS]: Remove conditional code.
30530 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
30531 <kernel-features.h>.
30532 [__ASSUME_32BITUIDS]: Make code unconditional.
30533 [!__ASSUME_32BITUIDS]: Remove conditional code.
30534 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
30535 <kernel-features.h>.
30536 [__ASSUME_32BITUIDS]: Make code unconditional.
30537 [!__ASSUME_32BITUIDS]: Remove conditional code.
30538 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
30539 <kernel-features.h>.
30540 [__ASSUME_32BITUIDS]: Make code unconditional.
30541 [!__ASSUME_32BITUIDS]: Remove conditional code.
30542 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30543 <kernel-features.h>.
30544 [__ASSUME_32BITUIDS]: Make code unconditional.
30545 [!__ASSUME_32BITUIDS]: Remove conditional code.
30546 * sysdeps/unix/sysv/linux/kernel-features.h
30547 (__ASSUME_SETRESUID_SYSCALL): Remove.
30548 (__ASSUME_SETRESGID_SYSCALL): Likewise.
30549 (__ASSUME_32BITUIDS): Likewise.
30550 (__ASSUME_LDT_WORKS): Likewise.
30551 (__ASSUME_O_DIRECTORY): Likewise.
30552 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
30553 architecture but not kernel version.
30554 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30555 (__ASSUME_MMAP2_SYSCALL): Likewise.
30556 (__ASSUME_STAT64_SYSCALL): Likewise.
30557 (__ASSUME_IPC64): Likewise.
30558 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
30559 <kernel-features.h>.
30560 [__ASSUME_32BITUIDS]: Make code unconditional.
30561 [!__ASSUME_32BITUIDS]: Remove conditional code.
30562 * sysdeps/unix/sysv/linux/opendir.c: Do not include
30563 <kernel-features.h>.
30564 [__ASSUME_O_DIRECTORY]: Make code unconditional.
30565 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
30566 132096]: Remove conditional code.
30567 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
30568 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30569 <kernel-features.h>.
30570 [__ASSUME_32BITUIDS]: Make code unconditional.
30571 [!__ASSUME_32BITUIDS]: Remove conditional code.
30572 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30573 <kernel-features.h>.
30574 [__ASSUME_32BITUIDS]: Make code unconditional.
30575 [!__ASSUME_32BITUIDS]: Remove conditional code.
30576 * sysdeps/unix/sysv/linux/setegid.c: Do not include
30577 <kernel-features.h>.
30578 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
30579 unconditional.
30580 (__setresgid): Do not declare.
30581 [__ASSUME_32BITUIDS]: Make code unconditional.
30582 [!__ASSUME_32BITUIDS]: Remove conditional code.
30583 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
30584 <kernel-features.h>.
30585 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
30586 unconditional.
30587 (__setresuid): Do not declare.
30588 [__ASSUME_32BITUIDS]: Make code unconditional.
30589 [!__ASSUME_32BITUIDS]: Remove conditional code.
30590 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30591 <kernel-features.h>.
30592 [__ASSUME_32BITUIDS]: Make code unconditional.
30593 [!__ASSUME_32BITUIDS]: Remove conditional code.
30594 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
30595 <kernel-features.h>.
30596 [__ASSUME_32BITUIDS]: Make code unconditional.
30597 [!__ASSUME_32BITUIDS]: Remove conditional code.
30598
a386f1cc
RH
305992012-05-25 Richard Henderson <rth@twiddle.net>
30600
30601 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
30602 dl_hwcap to ifunc resolver.
30603 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
30604 elf_ifunc_invoke.
30605 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
30606 dl_hwcap to ifunc resolver.
30607 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
30608
b6550497
JM
306092012-05-24 Joseph Myers <joseph@codesourcery.com>
30610
30611 [BZ #14153]
30612 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
30613 for |x| <= 2**-26, not 2**-57.
30614 * math/libm-test.inc (acos_test): Do not allow spurious underflow
30615 exception.
30616
b0bc23a1
JL
306172012-05-24 Jeff Law <law@redhat.com>
30618
30619 * stdio-common/Makefile (tests): Add bug25.
30620 * stdio-common/bug25.c: New test.
30621
347c92e9
L
306222012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30623
30624 [BZ #13576]
30625 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
30626 multiple of MALLOC_ALIGNMENT in size.
30627 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
30628
6bcc8b3f
JM
306292012-05-24 Joseph Myers <joseph@codesourcery.com>
30630
30631 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
30632 Require >= 256.
30633 (FILENAME_MAX): Use macro-int-constant.
30634 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
30635 (_IOFBF): Use macro-int-constant.
30636 (_IOLBF): Likewise.
30637 (_IONBF): Likewise.
30638 (SEEK_CUR): Likewise.
30639 (SEEK_END): Likewise.
30640 (SEEK_SET): Likewise.
30641 (TMP_MAX): Likewise.
30642 (EOF): Use macro-int-constant. Require < 0.
30643 (NULL): Use macro-constant. Require == 0.
30644 (stdin): Require type to be FILE *.
30645 (stdout): Likewise.
30646 (stderr): Likewise.
30647 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
30648 macro-int-constant.
30649 (EXIT_SUCCESS): Likewise.
30650 (NULL): Use macro-constant. Require == 0.
30651 (RAND_MAX): Use macro-int-constant.
30652 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
30653 [C99-based standards] (strtof): Require function.
30654 [C99-based standards] (strtold): Likewise.
30655 [C99-based standards] (strtoll): Likewise.
30656 [C99-based standards] (strtoull): Likewise.
30657 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30658 [ISO || ISO99 || ISO11] (limits.h): Likewise.
30659 [ISO || ISO99 || ISO11] (math.h): Likewise.
30660 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
30661 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30662 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30663
d18ea0c5
AS
306642012-05-24 Andreas Schwab <schwab@linux-m68k.org>
30665
30666 [BZ #14132]
56d25bb8
AS
30667 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
30668 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
30669 * intl/dgettext.c (DCGETTEXT): Likewise.
30670 * intl/gettext.c (DCGETTEXT): Likewise.
30671 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
30672 * posix/regex_internal.h (gettext): Likewise.
30673 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
30674 Remove declaration.
30675 * include/argz.h (__argz_count_internal)
30676 (__argz_stringify_internal): Remove declaration.
30677 (__argz_count, __argz_stringify): Declare hidden proto.
30678 * intl/dcgettext.c: Remove use of INTDEF.
30679 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
30680 * string/argz-stringify.c: Likewise.
30681 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30682 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30683 Declare hidden proto.
d18ea0c5
AS
30684 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30685 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30686 Declare hidden proto.
30687 * include/stdio.h (__asprintf_internal): Don't declare.
30688 (__asprintf): Don't define as macro. Declare hidden proto.
30689 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
30690 (__fsetlocking): Declare hidden proto.
30691 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
30692 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
30693 hidden proto.
30694 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
30695 (_IO_setlinebuf): Remove use of INTUSE.
30696 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
30697 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
30698 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
30699 Remove declaration.
30700 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
30701 (_IO_do_flush): Remove use of INTUSE.
30702 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
30703 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
30704 (_IO_adjust_column, _IO_least_wmarker)
30705 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
30706 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
30707 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
30708 (_IO_default_doallocate, _IO_wdefault_doallocate)
30709 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
30710 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
30711 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
30712 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
30713 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
30714 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
30715 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
30716 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
30717 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
30718 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
30719 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
30720 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
30721 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
30722 proto.
30723 (_IO_flush_all_internal, _IO_adjust_column_internal)
30724 (_IO_default_uflow_internal, _IO_default_finish_internal)
30725 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
30726 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
30727 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
30728 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
30729 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
30730 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
30731 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
30732 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
30733 (_IO_file_close_internal, _IO_file_close_it_internal)
30734 (_IO_file_underflow_internal, _IO_file_overflow_internal)
30735 (_IO_file_init_internal, _IO_file_attach_internal)
30736 (_IO_file_fopen_internal, _IO_file_read_internal)
30737 (_IO_file_sync_internal, _IO_file_seek_internal)
30738 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
30739 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
30740 (_IO_str_underflow_internal, _IO_str_overflow_internal)
30741 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
30742 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
30743 (_IO_list_all_internal, _IO_link_in_internal)
30744 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
30745 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
30746 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
30747 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
30748 (_IO_do_write_internal, _IO_padn_internal)
30749 (_IO_getline_info_internal, _IO_getline_internal)
30750 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
30751 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
30752 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
30753 (_IO_vfscanf_internal, _IO_vfprintf_internal)
30754 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
30755 (_IO_init_internal, _IO_un_link_internal): Don't declare.
30756 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
30757 with libc_hidden_ver, remove use of INTUSE.
30758 * libio/genops.c: Likewise.
30759 * libio/freopen.c: Likewise.
30760 * libio/freopen64.c: Likewise.
30761 * libio/iofclose.c: Likewise.
30762 * libio/iofdopen.c: Likewise.
30763 * libio/iofflush.c: Likewise.
30764 * libio/iofflush_u.c: Likewise.
30765 * libio/iofgets.c: Likewise.
30766 * libio/iofgets_u.c: Likewise.
30767 * libio/iofopen.c: Likewise.
30768 * libio/iofopncook.c: Likewise.
30769 * libio/iofread.c: Likewise.
30770 * libio/iofread_u.c: Likewise.
30771 * libio/ioftell.c: Likewise.
30772 * libio/iofwrite.c: Likewise.
30773 * libio/iogetline.c: Likewise.
30774 * libio/iogets.c: Likewise.
30775 * libio/iogetwline.c: Likewise.
30776 * libio/iopadn.c: Likewise.
30777 * libio/iopopen.c: Likewise.
30778 * libio/ioseekoff.c: Likewise.
30779 * libio/ioseekpos.c: Likewise.
30780 * libio/iosetbuffer.c: Likewise.
30781 * libio/iosetvbuf.c: Likewise.
30782 * libio/ioungetc.c: Likewise.
30783 * libio/ioungetwc.c: Likewise.
30784 * libio/iovdprintf.c: Likewise.
30785 * libio/iovsprintf.c: Likewise.
30786 * libio/iovsscanf.c: Likewise.
30787 * libio/memstream.c: Likewise.
30788 * libio/obprintf.c: Likewise.
30789 * libio/oldfileops.c: Likewise.
30790 * libio/oldiofclose.c: Likewise.
30791 * libio/oldiofdopen.c: Likewise.
30792 * libio/oldiofopen.c: Likewise.
30793 * libio/oldiopopen.c: Likewise.
30794 * libio/oldstdfiles.c: Likewise.
30795 * libio/putc.c: Likewise.
30796 * libio/setbuf.c: Likewise.
30797 * libio/setlinebuf.c: Likewise.
30798 * libio/stdfiles.c: Likewise.
30799 * libio/strops.c: Likewise.
30800 * libio/vasprintf.c: Likewise.
30801 * libio/vscanf.c: Likewise.
30802 * libio/vsnprintf.c: Likewise.
30803 * libio/vswprintf.c: Likewise.
30804 * libio/wfiledoalloc.c: Likewise.
30805 * libio/wfileops.c: Likewise.
30806 * libio/wgenops.c: Likewise.
30807 * libio/wmemstream.c: Likewise.
30808 * libio/wstrops.c: Likewise.
30809 * libio/__fpurge.c: Likewise.
30810 * libio/__fsetlocking.c: Likewise.
30811 * assert/assert.c: Likewise.
30812 * debug/fgets_chk.c: Likewise.
30813 * debug/fgets_u_chk.c: Likewise.
30814 * debug/fread_chk.c: Likewise.
30815 * debug/fread_u_chk.c: Likewise.
30816 * debug/gets_chk.c: Likewise.
30817 * debug/obprintf_chk.c: Likewise.
30818 * debug/vasprintf_chk.c: Likewise.
30819 * debug/vdprintf_chk.c: Likewise.
30820 * debug/vsnprintf_chk.c: Likewise.
30821 * debug/vsprintf_chk.c: Likewise.
30822 * malloc/mtrace.c: Likewise.
30823 * misc/error.c: Likewise.
30824 * misc/syslog.c: Likewise.
30825 * stdio-common/asprintf.c: Likewise.
30826 * stdio-common/fxprintf.c: Likewise.
30827 * stdio-common/getw.c: Likewise.
30828 * stdio-common/isoc99_fscanf.c: Likewise.
30829 * stdio-common/isoc99_scanf.c: Likewise.
30830 * stdio-common/isoc99_vfscanf.c: Likewise.
30831 * stdio-common/isoc99_vscanf.c: Likewise.
30832 * stdio-common/isoc99_vsscanf.c: Likewise.
30833 * stdio-common/printf-prs.c: Likewise.
30834 * stdio-common/printf_fp.c: Likewise.
30835 * stdio-common/printf_fphex.c: Likewise.
30836 * stdio-common/printf_size.c: Likewise.
30837 * stdio-common/putw.c: Likewise.
30838 * stdio-common/scanf.c: Likewise.
30839 * stdio-common/sprintf.c: Likewise.
30840 * stdio-common/tmpfile.c: Likewise.
30841 * stdio-common/vfprintf.c: Likewise.
30842 * stdio-common/vfscanf.c: Likewise.
30843 * stdlib/strfmon_l.c: Likewise.
30844 * sunrpc/openchild.c: Likewise.
30845 * sunrpc/xdr_stdio.c: Likewise.
30846 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
30847 * sysdeps/mach/hurd/tmpfile.c: Likewise.
30848
d6c33fda
RM
308492012-05-24 Roland McGrath <roland@hack.frob.com>
30850
c1487492
RM
30851 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30852
30853 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
30854 in the third column, to generate for the shared library an IFUNC
30855 that uses _dl_vdso_vsym.
30856 * Makerules (COMPILE.c, compile-stdin.c): New variables.
30857 * Makeconfig (object-suffixes-noshared): New variable.
30858
30859 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
30860 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
30861 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
30862 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
30863
d6c33fda
RM
30864 [BZ #14132]
30865 * include/sys/time.h (__gettimeofday): Remove macro.
30866 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
30867 * time/gettimeofday.c (__gettimeofday): Remove #undef.
30868 Remove INTDEF.
30869 (__gettimeofday): Add libc_hidden_def.
30870 (gettimeofday): Add libc_hidden_weak.
30871 * sysdeps/mach/gettimeofday.c: Likewise.
30872 * sysdeps/posix/gettimeofday.c: Likewise.
30873 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30874 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30875 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
30876 (__gettimeofday_internal): Remove strong_alias.
30877 (__gettimeofday): Add libc_hidden_def.
30878 (gettimeofday): Add libc_hidden_weak.
30879 * sysdeps/unix/syscalls.list (gettimeofday):
30880 Remove __gettimeofday_internal alias.
30881
b5a2bbe6
L
308822012-05-24 Daniel Jacobowitz <drow@false.org>
30883 H.J. Lu <hongjiu.lu@intel.com>
30884
30885 [BZ #12495]
30886 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
30887 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
30888 (largebin_index_32_big): New.
30889 (largebin_index): Use it for 16-byte alignment.
30890 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
30891 correction with front_misalign.
30892
cfba4fda
L
308932012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30894
7f907421
L
30895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
30896 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
30897 Likewise.
30898 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
30899 Likewise.
30900 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30901 Likewise.
30902 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
30903 Likewise.
30904 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
30905 Likewise.
30906 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
30907 Likewise.
30908 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
30909 Likewise.
30910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30911 Likewise.
30912 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
30913 Likewise.
30914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
30915 Likewise.
30916 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
30917 Likewise.
30918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
30919 Likewise.
30920
cfba4fda
L
30921 * scripts/data/c++-types-x32-linux-gnu.data: New file.
30922 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
30923
80bad0cc
JM
309242012-05-24 Joseph Myers <joseph@codesourcery.com>
30925
7a25eb06
JM
30926 [BZ #10846]
30927 [BZ #14036]
30928 * math/libm-test.inc (exp_test): Add test from bug 14036.
30929 (pow_test): Add test from bug 10846.
30930
795405f9
JM
30931 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
30932 and other flags.
30933 (special_function): Do not include flags in test name.
30934 (parse_args): Likewise.
30935 * sysdeps/i386/fpu/libm-test-ulps: Update.
30936 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30937 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30938 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30940
80bad0cc
JM
30941 * math/gen-libm-test.pl (%beautify): Add entries for underflow
30942 exceptions.
30943 * math/libm-test.inc ("Philosophy"): Update comment about
30944 exception testing.
30945 (UNDERFLOW_EXCEPTION): New macro.
30946 (UNDERFLOW_EXCEPTION_OK): Likewise.
30947 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
30948 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
30949 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
30950 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
30951 (INVALID_EXCEPTION_OK): Update value.
30952 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30953 (OVERFLOW_EXCEPTION_OK): Likewise.
30954 (IGNORE_ZERO_INF_SIGN): Likewise.
30955 (test_exceptions): Handle underflow exceptions.
30956 (acos_test): Update for underflow exception expectations.
30957 (cexp_test): Likewise.
30958 (clog_test): Likewise.
30959 (clog10_test): Likewise.
30960 (csqrt_test): Likewise.
30961 (ctan_test): Likewise.
30962 (ctanh_test): Likewise.
30963 (exp_test): Likewise.
30964 (exp10_test): Likewise.
30965 (exp2_test): Likewise.
30966 (expm1_test): Likewise.
30967 (fma_test): Likewise.
30968 (j0_test): Likewise.
30969 (jn_test): Likewise.
30970 (nexttoward_test): Likewise.
30971 (pow_test): Likewise.
30972 (scalbn_test): Likewise.
30973 (scalbln_test): Likewise.
30974 (tan_test): Likewise.
30975 (y1_test): Likewise.
30976 * sysdeps/i386/fpu/libm-test-ulps: Update.
30977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30978
9e0e3d0b
DM
309792012-05-23 David S. Miller <davem@davemloft.net>
30980
30981 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30982 (__libc_sigaction): Remove unused local variables.
30983
ccd0a08f
L
309842012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30985
30986 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
30987
62bdf9a6
PE
309882012-05-23 Paul Eggert <eggert@cs.ucla.edu>
30989
f8591f80
PE
30990 mktime: avoid signed integer overflow
30991 * time/mktime.c (__mktime_internal): Do not mishandle the case
30992 where diff == INT_MIN.
30993
94c7d826
PE
30994 mktime: simplify computation of average
30995 * time/mktime.c (ranged_convert): Use new time_t_avg function
30996 instead of rolling our own (probably-slower) code.
30997
ce73d683
PE
30998 mktime: do not assume signed right shift propagates sign bit
30999 * time/mktime.c (isdst_differ): New static function.
31000 (__mktime_internal): No need to normalize tm_isdst now.
31001 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31002 tm_isdst values.
31003
72a22e59
PE
31004 mktime: merge another wrapv change from gnulib
31005 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31006 from some compilers.
31007
68605433
PE
31008 mktime: remove incorrect attempt at unusual arithmetics
31009 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31010 The code didn't really work on such machines anyway.
31011 (TYPE_MINIMUM): Assume two's complement.
31012 (twos_complement_arithmetic): Verify that long_int and time_t
31013 are two's complement (or unsigned, in the latter case).
31014
03cf7fe3
PE
31015 mktime: check signed shifts on long_int and time_t, too
31016 * time/mktime.c (SHR): Check that shifts work as desired
31017 on the types long_int and time_t too, as SHR is used on
31018 such types.
31019
f04dfbc2
PE
31020 mktime: do not assume 'long' is wide enough
31021 * time/mktime.c (verify): Move decl up.
31022 (long_int): New type.
31023 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31024 to remove assumption in the code that 'long' is wide enough to
31025 store year values. This assumption is not true on x32 and on
31026 some non-glibc platforms.
31027
62bdf9a6
PE
31028 mktime: merge wrapv change from gnulib
31029 * time/mktime.c (WRAPV): New macro.
31030 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31031 (guess_time_tm, __mktime_internal): Do not assume that signed
31032 integer overflow wraps around; modern compilers generate code
31033 where this assumption is no longer valid.
31034
5e292e4f
L
310352012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31036
31037 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31038 Replace "jmp L(pseudo_end)" with "ret".
31039 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31040 Likewise.
31041
8caf8c87
AJ
310422012-05-23 Andreas Jaeger <aj@suse.de>
31043
31044 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31045 * sysdeps/unix/sysv/linux/poll.c: Remove file.
31046
1a09dc56
AJ
310472012-05-23 Andreas Jaeger <aj@suse.de>
31048 Maximilian Attems <max@stro.at>
31049
31050 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31051 New macros.
31052
1c87aba0
L
310532012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31054
31055 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31056 code so that pseudo_end is just ret and the stack pointer is
31057 correct also for static library in error case.
31058
40e45bd5
JM
310592012-05-23 Joseph Myers <joseph@codesourcery.com>
31060
c2670533
JM
31061 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31062 move to syscalls.list.
31063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31067
40e45bd5
JM
31068 * manual/install.texi (Running make install): Do not mention Linux
31069 kernel version for which pt_chown is not needed.
31070 (Linux): Do not mention problems with nscd with 2.0 kernels.
31071 * INSTALL: Regenerated.
31072
be08eda5
AJ
310732012-05-23 Andreas Jaeger <aj@suse.de>
31074
31075 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31076 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31077 macro.
31078 * sysdeps/unix/sysv/linux/s390/bits/mman.h
31079 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31080 * sysdeps/unix/sysv/linux/sh/bits/mman.h
31081 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31082 * sysdeps/unix/sysv/linux/i386/bits/mman.h
31083 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31084 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31085 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31086 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31087 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31088 * sysdeps/unix/sysv/linux/bits/in.h
31089 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31090
a6a056bb
RM
310912012-05-22 Roland McGrath <roland@hack.frob.com>
31092
31093 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31094 (PREPARE_VERSION): Just use assert instead, it will be elided
31095 under [NDEBUG] anyway.
31096
c9009328
L
310972012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31098
31099 * sysdeps/unix/sysv/linux/Makefile: Include
31100 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 31101 (sysdep_routines): Remove sysctl.
c9009328
L
31102 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31103 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31104 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31105 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31106 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31107
73338355
AJ
311082012-05-22 Andreas Jaeger <aj@suse.de>
31109
31110 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31111 that pseudo_end is just ret and the stack pointer is correct also
31112 for static library in error case.
31113
d44638b0
PP
311142012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
31115
31116 [BZ #14122]
31117 * nss/nsswitch.c (defconfig_entries): New variable.
31118 (__nss_database_lookup): Don't leak defconfig entries.
31119 (nss_parse_service_list): Don't leak on error paths.
31120 (free_database_entries): New function.
31121 (free_defconfig): New function.
31122 (free_mem): Move common code to free_database_entries.
31123
31a39bd8
L
311242012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31125
da0331a8
L
31126 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31127 Add arch_prctl.
31128 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31129
31a39bd8
L
31130 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31131 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31132 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31133 New macro.
31134 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31135 (INTERNAL_SYSCALL_TYPES): Likewise.
31136 (LOAD_ARGS_TYPES_[1-6]): Likewise.
31137 (LOAD_REGS_TYPES_[1-6]): Likewise.
31138 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31139 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31140
45470df3
AZ
311412012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31142
31143 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31144 copysignl for GLIBC_2_0.
31145 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31146 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31147 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31148 logbl for GLIBC_2_0.
31149 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31150 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31151
98a61bcb
L
311522012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31153
a4f6e481
L
31154 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31155 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31156
f63d5db6
L
31157 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31158 Use "neg %eax".
31159
98a61bcb
L
31160 * time/mktime.c: Update copyright years.
31161
95770f14
PE
311622012-05-22 Paul Eggert <eggert@cs.ucla.edu>
31163
6226efbd
PE
31164 mktime: merge comment-quoting-style change from gnulib
31165 * time/mktime.c: Quote 'like this' in comments.
31166 The GNU coding standards suggest that we no longer quote `like this',
31167 as "`" and "'" are typically rendered asymmetrically nowadays.
31168 The typical gnulib style is to quote 'like this' when quoting
31169 code, and "like this" when quoting English.
31170
b99e4f78
PE
31171 * time/mktime.c (compile-command): Add "-I.".
31172
643e01e6
PE
31173 mktime: merge mktime-internal.h change from gnulib
31174 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31175
2554247d
PE
31176 mktime: merge time_r change from gnulib
31177 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31178
826dd0ab
PE
31179 mktime: merge DEBUG change from gnulib
31180 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31181 case system <time.h> has a #define.
31182
bd83aabe
PE
31183 mktime: merge <sys/types.h> change from gnulib
31184 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31185 since <time.t> is now guaranteed to define time_t.
31186
95770f14
PE
31187 mktime: merge HAVE_CONFIG_H change from gnulib
31188 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31189
5e1a27a9
L
311902012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31191
0e44a77e
L
31192 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31193 Use "neg %eax".
31194
5e1a27a9
L
31195 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31196 __rlim_t cast.
31197 (struct rusage): Use anonymous union to pad each field to
31198 __syscall_slong_t.
31199
46259bec
DM
312002012-05-21 David S. Miller <davem@davemloft.net>
31201
31202 * Makefules (o-iterator): Remove .s cases.
31203 (compile-command.s): Delete.
31204 (COMPILE.s): Delete.
31205 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31206
59f0c22e
JM
312072012-05-21 Joseph Myers <joseph@codesourcery.com>
31208
31209 * configure.in (libc_cv_predef_stack_protector): Only consider
31210 "foobar" and "__stack_chk_fail" lines in libc_undefs.
31211 * configure: Regenerated.
31212
20c07380
L
312132012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31214
bbb3154b
L
31215 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31216 New macro. Use R*LP on int and pointer.
31217 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
31218 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31219 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
31220 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31221
20c07380
L
31222 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31223 [__WORDSIZE_TIME64_COMPAT32] instead of
31224 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31225 (struct utmp): Likewise.
31226 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31227 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31228 Renamed to ...
31229 (__WORDSIZE_TIME64_COMPAT32): This.
31230 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31231 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31232 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31233 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31234 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31235 (__WORDSIZE_TIME64_COMPAT32): New macro.
31236
d8d1017e
AJ
312372012-05-21 Andreas Jaeger <aj@suse.de>
31238
31239 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31240 only if [SHARED]. Add prototype for __wcschr_ia32.
31241
6c7fb145
RM
312422012-05-21 Roland McGrath <roland@hack.frob.com>
31243
31244 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31245 of %rbp unmolested in the jmp_buf while mangling the low bits.
31246 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31247 unmolested high bits of %rbp while demangling the low bits.
31248 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31249
66274218
AJ
312502012-05-21 Andreas Jaeger <aj@suse.de>
31251
07c58f8f
AJ
31252 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31253 * sunrpc/svc_simple.c: Use it for registerrpc.
31254 * sunrpc/xcrypt.c: Use it for passwd2des.
31255
66274218
AJ
31256 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31257
61f65140
L
312582012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31259
31260 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31261 Don't define if [__SYSCALL_WORDSIZE != 32].
31262 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31263 New macro.
31264
5fefb436
AJ
312652012-05-21 Bruno Haible <bruno@clisp.org>
31266 Andreas Jaeger <aj@suse.de>
31267
31268 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31269 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31270 inptr and inend for must_buffer_ch.
31271 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31272 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31273 * stdio-common/Makefile (tests): Remove bug15.
31274 (bug15-ENV): Remove macro.
31275 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31276 anymore.
31277
d8e272ab
AJ
312782012-05-19 Andreas Jaeger <aj@suse.de>
31279 Roland McGrath <roland@hack.frob.com>
31280
31281 * manual/contrib.texi: Completely rewritten. It contains now an
31282 alphabetical list of contributors and their contributions.
31283
4a56a162
RH
312842012-05-21 Richard Henderson <rth@twiddle.net>
31285
31286 * misc/getauxval.c (__getauxval): Use unsigned long int.
31287 * misc/sys/auxv.h: Include <sys/cdefs.h>.
31288 (getauxval): Use unsigned long int.
31289
d024d23c
L
312902012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31291
31292 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31293
cbc00a03
RM
312942012-05-21 Roland McGrath <roland@hack.frob.com>
31295
31296 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31297 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31298 __alignof__ (long double).
31299
478143fa
AZ
313002012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31301
31302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31303
c7683a6d
RH
313042012-05-20 Richard Henderson <rth@twiddle.net>
31305
31306 * misc/getauxval.c: New file.
31307 * misc/sys/auxv.h: New file.
31308 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31309 (routines): Add getauxval.
31310 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31311 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31312 * elf/dl-sysdep.c (_dl_auxv): Remove.
31313 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31314 * elf/dl-support.c (_dl_auxv): New variable.
31315 (_dl_aux_init): Initialize it.
31316 * manual/startup.texi (Auxiliary Vector): New node.
31317 * sysdeps/generic/bits/hwcap.h: New file.
31318 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31319 * sysdeps/powerpc/sysdep.h: ... here. Include it.
31320 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31321 * sysdeps/sparc/sysdep.h: ... here. Include it.
31322 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31323 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
31324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31325 Update.
c7683a6d
RH
31326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31328 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31329 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31330 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31331 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31332 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31333 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31334
a6f1845d
AZ
313352012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31336
31337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31338
cbcbe830
DM
313392012-05-19 David S. Miller <davem@davemloft.net>
31340
31341 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31342
e0b16cc2
JM
313432012-05-19 Joseph Myers <joseph@codesourcery.com>
31344
31345 [BZ #14123]
31346 * math/s_ccosh.c: Include <float.h>
31347 (__ccosh): Avoid internal overflow calculating sinh and cosh
31348 values before multiplying by sin and cos values.
31349 * math/s_ccoshf.c: Likewise.
31350 * math/s_ccoshl.c: Likewise.
31351 * math/s_csin.c: Likewise.
31352 * math/s_csinf.c: Likewise.
31353 * math/s_csinl.c: Likewise.
31354 * math/s_csinh.c: Likewise.
31355 * math/s_csinhf.c: Likewise.
31356 * math/s_csinhl.c: Likewise.
31357 * math/libm-test.inc (ccos_test): Add more tests.
31358 (ccosh_test): Likewise.
31359 (csin_test): Likewise.
31360 (csinh_test): Likewise.
31361 * sysdeps/i386/fpu/libm-test-ulps: Update.
31362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31363
6ad13e08
L
313642012-05-19 H.J. Lu <hongjiu.lu@intel.com>
31365
f66f0ce8
L
31366 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31367 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31368
6ad13e08
L
31369 * sysdeps/x86_64/x32/_itoa.h: Add comment.
31370
b1d072a7
JM
313712012-05-19 Joseph Myers <joseph@codesourcery.com>
31372
31373 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31374 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31375 * sysdeps/powerpc/soft-fp/Versions: Likewise.
31376 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31377 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31378 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31379 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31380 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31381 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31382 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31383 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31384 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31385 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31386 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31387 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31388 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31389 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31390 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31391 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31392 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31393 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31394 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31395 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31396 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31397 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31398 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31399 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31400 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31401 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31402 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31403 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31404
9eae47cb
AJ
314052012-05-18 Andreas Jaeger <aj@suse.de>
31406
31407 * csu/.gitignore: Delete.
31408
bb07f69f
L
314092012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31410
31411 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31412 (timex): Use __syscall_slong_t.
31413
e6bdb741
AJ
314142012-05-18 Andreas Jaeger <aj@suse.de>
31415 Carlos O'Donell <carlos_odonell@mentor.com>
31416
31417 * manual/install.texi (Configuring and compiling): Update
31418 description about files modified in the source directory.
d6c33fda 31419 * INSTALL: Regenerated.
e6bdb741 31420
1b74487e
L
314212012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31422
31423 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31424 value. Use "or" to set return value to -1.
31425 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31426 negate return value.
31427
a88b64b9
TMQMF
314282012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31429
57f41c40
AS
31430 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31431 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
31432 failure if the compiler has Graphite support disabled.
31433 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31434 Likewise.
57f41c40
AS
31435 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31436 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
31437 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31438 Likewise.
31439
3707636e
L
314402012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31441
610b8622
L
31442 * sysdeps/x86_64/x32/_itoa.h: New file.
31443
7cd195df
L
31444 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31445 getdents system call only if kernel and user dirents have the
31446 same d_ino and d_off.
31447
94b07d20
L
31448 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31449 LLONG_MAX != LONG_MAX.
31450 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31451 (_fitoa_word): Likewise.
31452
18298070
L
31453 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
31454 years.
31455 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
31456 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
31457 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
31458
553c7ea4
L
31459 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
31460 include <bits/wordsize.h>. Check __x86_64__ instead of
31461 __WORDSIZE.
31462 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
31463 if __x86_64__ is defined. Use anonymous union on fpstate.
31464
3707636e
L
31465 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
31466 anonymous union.
31467
b53ef01a
AS
314682012-05-18 Andreas Schwab <schwab@linux-m68k.org>
31469
37fb1dc0
AS
31470 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31471 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
31472 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
31473 Refer to _rtld_local_ro instead of _rtld_global_ro.
31474 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
31475 Likewise.
31476 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
31477 Likewise.
31478 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
31479 Likewise.
31480 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
31481 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
31482 of _rtld_global, and rtld_progname instead of _dl_argv[0].
31483
b53ef01a
AS
31484 * sysdeps/powerpc/powerpc32/dl-machine.c
31485 (__elf_machine_runtime_setup) [PROF]: Don't reference
31486 _dl_prof_resolve.
31487
7a185db2
AJ
314882012-05-18 Andreas Jaeger <aj@suse.de>
31489
31490 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
31491 function only available for GCCs before 3.4 since GCC 3.4
31492 introduced a builtin.
31493 (lrint): Likewise.
31494 (llrintf): Likewise.
31495 (llrint): Likewise.
31496 (fmaxf): Likewise.
31497 (fmax): Likewise.
31498 (fminf): Likewise.
31499 (fmin): Likewise.
31500 (rint): Likewise.
31501 (rintf): Likewise.
31502 (nearbyint): Likewise.
31503 (nearbyintf): Likewise.
31504 (ceil): Likewise.
31505 (ceilf): Likewise.
31506 (floor): Likewise.
31507 (floorf): Likewise.
31508
3e5aef87
L
315092012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31510
428bd707
L
31511 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
31512 on both fields and cast pointer to __syscall_ulong_t.
31513
3e5aef87
L
31514 * bits/types.h (__fsword_t): New type.
31515 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
31516 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
31517 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31518 (__FSWORD_T_TYPE): Likewise.
31519 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31520 (__FSWORD_T_TYPE): Likewise.
31521 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31522 (__FSWORD_T_TYPE): Likewise.
31523 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
31524 (__FSWORD_T_TYPE): Likewise.
31525 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
31526 __SWORD_TYPE with __fsword_t.
31527 (statfs64): Likewise.
31528
1ba7c3dc
DM
315292012-05-17 David S. Miller <davem@davemloft.net>
31530
31531 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
31532
59910343
AJ
315332012-05-17 Andreas Jaeger <aj@suse.de>
31534
31535 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
31536 warning.
31537
2e4c1e9e
L
315382012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31539
31540 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
31541
de7f5ce7
AJ
315422012-05-17 Andreas Jaeger <aj@suse.de>
31543
31544 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
31545 when it is used.
31546
286abc3d
CM
315472012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31548
31549 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
31550
477cc68e
L
315512012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31552
31553 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
31554 * sysdeps/x86_64/tst-mallocalign1.c: New file.
31555
1a0994f5
CD
315562012-05-17 Andreas Jaeger <aj@suse.de>
31557 Carlos O'Donell <carlos_odonell@mentor.com>
31558
31559 [BZ #14059]
31560 * sysdeps/x86_64/multiarch/init-arch.h
31561 (bit_YMM_Usable): Rename to...
31562 (bit_AVX_Usable): ... this.
31563 (bit_FMA4_Usable): New macro.
31564 (bit_XMM_state): New macro.
31565 (bit_YMM_state): New macro.
31566 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
31567 [__ASSEMBLER__] (index_AVX_Usable): ... this.
31568 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
31569 (CPUID_OSXSAVE): New macro.
31570 (CPUID_AVX): New macro.
31571 (CPUID_FMA4): New macro.
31572 (index_YMM_Usable): Rename to...
31573 (index_AVX_Usable): ... this.
31574 (HAS_AVX): Use HAS_ARCH_FEATURE.
31575 (HAS_FMA4): Likewise.
31576 (HAS_YMM_USABLE): Remove.
31577 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31578 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
31579 are present.
31580 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
31581 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
31582 * sysdeps/x86_64/multiarch/Makefile: Likewise.
31583 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
31584 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
31585
0af797de
CM
315862012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31587
31588 * math/libm-test.c: Support platforms without multiple rounding modes.
31589 * math/bug-nextafter.c: Support platforms without FP exceptions.
31590 * math/bug-nexttoward.c: Likewise.
31591 * math/test-fenv.c: Likewise.
31592 * math/test-misc.c: Likewise.
31593 * stdlib/bug-getcontext.c: Likewise.
31594
e39745ff
AJ
315952012-05-17 Andreas Jaeger <aj@suse.de>
31596
31597 * manual/examples/search.c (critter_cmp): Change signature to
31598 avoid warnings.
31599 * manual/string.texi (Collation Functions): Likewise.
31600
48970aba
L
316012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31602
31603 * bits/types.h: Fold copyright years.
31604 * bits/typesizes.h: Likewise.
31605 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
31606 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31607 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
31608 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
31609 * time/time.h: Likewise.
31610
bedee953
PP
316112012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
31612
31613 [BZ #208]
31614 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
31615 in instead of returning them. Return void.
31616 (__libc_mallinfo): Accumulate over all arenas.
31617 (__malloc_stats): Adjust for change in int_mallinfo interface.
31618
61653dfb
RM
316192012-05-16 Roland McGrath <roland@hack.frob.com>
31620
30b99d79
RM
31621 [BZ #10375]
31622 * configure.in (NM): Add AC_CHECK_TOOL for it.
31623 (libc_extra_cflags): New substituted variable.
31624 Check for -fstack-protector being used implicitly.
31625 * configure: Regenerated.
31626 * config.make.in (config-extra-cflags): New variable,
31627 gets @libc_extra_cflags@.
31628 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
31629
61653dfb
RM
31630 [BZ #10375]
31631 * configure.in: Check for _FORTIFY_SOURCE being predefined.
31632 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
31633 * configure: Regenerated.
31634 * config.make.in (CPPUNDEFS): New substituted variable.
31635 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
31636 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
31637 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
31638
661768bb
L
316392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31640
31641 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
31642 (mq_attr): Use __syscall_slong_t.
31643
d4261567
L
316442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31645
31646 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
31647 Check __x86_64__ instead of __WORDSIZE.
31648 (_STAT_VER_LINUX): Likewise.
31649 (stat): Check __x86_64__ instead of __WORDSIZE. Use
31650 __syscall_ulong_t and __syscall_slong_t.
31651 (stat64): Likewise.
31652
cf3ff365
L
316532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31654
31655 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
31656
76cf3e4d
L
316572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31658
31659 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
31660
a637753a
L
316612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31662
31663 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
31664 __syscall_ulong_t.
31665
d5e05119
L
31666 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
31667 include <bits/wordsize.h>. Check __x86_64__ instead of
31668 __WORDSIZE.
31669 (greg_t): Use "__extension__ long long int" if __x86_64__ is
31670 defined.
31671 (mcontext_t): Replace "unsigned long" with "unsigned long long".
31672
f62ee380
L
31673 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
31674 include <bits/wordsize.h>. Check __x86_64__ instead of
31675 __WORDSIZE.
31676 (user_regs_struct): Use "__extension__ unsigned long long"
31677 instead of "unsigned long" if __x86_64__ is defined.
31678 (user): Likewise. Pad after pointer field if __ILP32__ is
31679 defined.
31680
4e124ced
JM
316812012-05-16 Joseph Myers <joseph@codesourcery.com>
31682
6a3951a0
JM
31683 * configure.in (makeinfo): Require version 4.5 or later. Allow
31684 versions 5 to 9.
31685 * configure: Regenerated.
31686 * manual/install.texi (texinfo): Increase version requirement to
31687 4.5 or later.
31688 * INSTALL: Regenerated.
31689
4e124ced
JM
31690 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
31691
953ca31a
L
316922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31693
31694 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
31695
617aca05
L
31696 * sysdeps/x86_64/x32/ffs.c: New file.
31697
5762f7ae
L
31698 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
31699 __syscall_ulong_t.
31700 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
31701 defined. Use __syscall_ulong_t.
31702 (shminfo): Use __syscall_ulong_t.
31703 (shm_info): Likewise.
31704
a26b6856
L
31705 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
31706 __syscall_ulong_t.
31707
cb2b9ef7
L
31708 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
31709 <bits/wordsize.h>.
31710 (msgqnum_t): Use __syscall_ulong_t.
31711 (msglen_t): Likewise.
31712 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
31713 __syscall_ulong_t.
31714
34683bb0
L
31715 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
31716 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31717
84a68786
L
31718 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
31719
48baa5f1
L
31720 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
31721 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
31722
180be88b
L
31723 * sysvipc/sys/msg.h (msgbuf): Replace long int with
31724 __syscall_slong_t.
31725
5e90c8ad
L
31726 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
31727 include <bits/wordsize.h>. Check __x86_64__ instead of
31728 __WORDSIZE.
31729
23dfb58b
L
31730 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
31731 "unsigned long long int" if __x86_64__ is defined.
31732 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
31733
ce5d54b0
L
31734 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
31735 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31736 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
31737
13dc9eac
L
31738 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
31739 <stdint.h>.
31740 (GET_PC): Cast to uintptr_t first.
31741 (GET_FRAME): Likewise.
31742 (GET_STACK): Likewise.
31743
a7895d15
L
31744 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
31745 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
31746 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
31747 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
31748 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
31749 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
31750 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
31751 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
31752 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31753 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
31754 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
31755 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
31756 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31757 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
31758 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
31759 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
31760 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
31761 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
31762 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
31763 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
31764 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
31765 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
31766 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
31767 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
31768 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
31769 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
31770 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
31771 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
31772 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
31773
656416c9
AS
317742012-05-16 Andreas Schwab <schwab@linux-m68k.org>
31775
5bd66283
AS
31776 * Makerules (+depfiles): Also collect depfiles from .oS in
31777 $(extra-objs).
31778 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
31779 .oS, $(libnldbl-routines)).
31780
656416c9
AS
31781 * Makerules (native-compile-mkdep-flags): Define.
31782 * sunrpc/Makefile (extra-objs): Add $(addprefix
31783 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
31784 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
31785 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
31786 calling $(make-target-directory).
31787
a46f2169
L
317882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31789
31790 * bits/types.h (__snseconds_t): Removed.
31791 * time/time.h (struct timespec): Replace __snseconds_t with
31792 __syscall_slong_t.
31793 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
31794 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
31795 Likewise.
31796 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31797 (__SNSECONDS_T_TYPE): Likewise.
31798 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31799 (__SNSECONDS_T_TYPE): Likewise.
31800 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31801 (__SNSECONDS_T_TYPE): Likewise.
31802
6af6528b
L
318032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31804
31805 * sysdeps/mach/hurd/bits/typesizes.h
31806 (__SYSCALL_SLONG_TYPE): New macro.
31807 (__SYSCALL_ULONG_TYPE): Likewise.
31808
de986b56
L
318092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31810
31811 * bits/types.h (__syscall_slong_t): New type.
31812 (__syscall_ulong_t): Likewise.
31813
31814 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
31815 (__SYSCALL_ULONG_TYPE): Likewise.
31816 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31817 (__SYSCALL_SLONG_TYPE): Likewise.
31818 (__SYSCALL_ULONG_TYPE): Likewise.
31819 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31820 (__SYSCALL_SLONG_TYPE): Likewise.
31821 (__SYSCALL_ULONG_TYPE): Likewise.
31822 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31823 (__SYSCALL_SLONG_TYPE): Likewise.
31824 (__SYSCALL_ULONG_TYPE): Likewise.
31825
85736dc7
L
318262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31827
31828 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
31829 Add sigaltstack-offsets.sym.
31830 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
31831 <sigaltstack-offsets.h>.
31832 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
31833 longjmp_msg pointer.
31834 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
31835 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
31836 signal stack.
31837 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
31838
cc03b296
JM
318392012-05-15 Joseph Myers <joseph@codesourcery.com>
31840
a9538892
JM
31841 * elf/stackguard-macros.h: Remove file.
31842 * sysdeps/generic/stackguard-macros.h: New file.
31843 * sysdeps/i386/stackguard-macros.h: Likewise.
31844 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31845 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31846 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31847 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31848 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31849 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31850 * sysdeps/x86_64/stackguard-macros.h: Likewise.
31851 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
31852 <elf/stackguard-macros.h>.
31853
cc03b296
JM
31854 [BZ #14109]
31855 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
31856 __aligned__ in attribute.
31857 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
31858 (gregset_t): Likewise.
31859
93171016
L
318602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31861
31862 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
31863 * sysdeps/x86_64/64/Implies-after: Here. New file.
31864 * sysdeps/x86_64/x32/Implies-after: New file.
31865
d86813a0
L
318662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31867
31868 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
31869 and access return value for _dl_profile_fixup. Use R10_LP to
31870 load frame size.
31871
2953ec75
L
318722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31873
31874 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
31875
3b550e9e
L
318762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31877
31878 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
31879 * sysdeps/x86_64/x32/sysdep.h: New file.
31880
eda41706
L
318812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31882
31883 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
31884 * sysdeps/x86_64/setjmp.S: Likewise.
31885
9ea01d93
AZ
318862012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31887
31888 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
31889 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
31890 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
31891 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
31892 remove unused global constant.
31893
02a91938
CM
318942012-05-15 Chris Metcalf <cmetcalf@tilera.com>
31895
31896 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
31897 include of <not-cancel.h>.
31898
6540185f
RM
318992012-05-15 Roland McGrath <roland@hack.frob.com>
31900
31901 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
31902
509072a0
AJ
319032012-05-15 Jeff Law <law@redhat.com>
31904 Andreas Jaeger <aj@suse.de>
31905
31906 [BZ #13594]
31907 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
31908 out from...
31909 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
31910 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
31911 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
31912 code changing __hst_map_handle.map.
31913
ba75122d
RM
319142012-05-15 Roland McGrath <roland@hack.frob.com>
31915
31916 * configure.in (sysnames): Look for Implies-before and Implies-after
31917 files.
31918 * configure: Regenerated.
31919
890d8bd8
L
319202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31921
31922 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
31923 8-byte data alignment with LP_SIZE alignment.
31924
f6ee6623
L
319252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31926
31927 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
31928 into R10_LP.
31929
ea2626f6
L
319302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31931
31932 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
31933
085f715e
L
319342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31935
31936 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
31937 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
31938 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
31939 Likewise.
31940 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31941
be8498fc
L
319422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31943
31944 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
31945 (stackinfo_sub_sp): Likewise.
31946
70bc83b9
L
319472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31948
31949 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
31950 RAX_LP.
31951
9bc0b730
L
319522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31953
31954 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
31955 into R*_LP.
31956
6d2850e7
L
319572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31958
31959 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
31960 sizes into R*_LP.
31961
3cb84561
L
319622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31963
31964 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
31965
54e2ed81
L
319662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31967
31968 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
31969 into R11_LP and load __x86_64_shared_cache_size_half into
31970 R8_LP.
31971
8a17f349
L
319722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31973
31974 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
31975 R8_LP.
31976
777b1eea
AZ
319772012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31978
31979 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
31980 logb for POWER7.
31981 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
31982 logbf for POWER7.
31983 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
31984 logbl for POWER7.
31985 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
31986 powerpc32/power7/fpu/s_logb.c via #include.
31987 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
31988 powerpc32/power7/fpu/s_logbf.c via #include.
31989 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
31990 powerpc32/power7/fpu/s_logbl.c via #include.
31991
d20d4ac2
JM
319922012-05-15 Joseph Myers <joseph@codesourcery.com>
31993
31994 * README.libm: Remove file.
31995
6cdef1ab
L
319962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31997
31998 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
31999 count for x32. Use R*_LP and omit operand-size suffix.
32000
0b254d8f
L
320012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32002
32003 * shlib-versions: Move x86_64-.*-linux.* entries to ...
32004 * sysdeps/x86_64/64/shlib-versions: Here. New file.
32005 * sysdeps/x86_64/x32/shlib-versions: New file.
32006
ceb809dc
RM
320072012-05-14 Roland McGrath <roland@hack.frob.com>
32008
32009 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32010 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32011 Use _dl_fatal_printf instead.
32012
37f1abd4
JM
320132012-05-14 Joseph Myers <joseph@codesourcery.com>
32014
32015 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32016 set if not set by the user. Do not allow for being unset.
32017 * sysdeps/unix/sysv/linux/configure: Regenerated.
32018
11de3a33
L
320192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32020
32021 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32022 the `q' suffix from lea and replace .quad with ASM_ADDR.
32023
e02f153a
L
320242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32025
32026 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32027 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
32028 instead of $17.
32029 (PTR_DEMANGLE): Likewise.
32030
520ae0fd
L
320312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32032
32033 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32034 (LP_OP): Likewise.
32035 (ASM_ADDR): Likewise.
32036 (RAX_LP): Likewise.
32037 (RBP_LP): Likewise.
32038 (RBX_LP): Likewise.
32039 (RCX_LP): Likewise.
32040 (RDI_LP): Likewise.
32041 (RSI_LP): Likewise.
32042 (RSP_LP): Likewise.
32043 (R8_LP): Likewise.
32044 (R9_LP): Likewise.
32045 (R10_LP): Likewise.
32046 (R10_LP): Likewise.
32047 (R11_LP): Likewise.
32048 (R12_LP): Likewise.
32049 (R13_LP): Likewise.
32050 (R14_LP): Likewise.
32051 (R15_LP): Likewise.
32052
b985be81
L
320532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32054
32055 * sysdeps/x86_64/x32/dl-machine.h: New file.
32056
6a4888ff
AJ
320572012-05-14 Andreas Jaeger <aj@suse.de>
32058
32059 * manual/Makefile (subdir): Remove export of subdir.
32060 (all): Remove target.
32061 (.PHONY): Remove all from list.
32062 (mkinstalldirs): Remove.
32063 (.PHONY): Remove installdirs from list.
32064 ($(inst_infodir)/libc.info): Use make-target-directory.
32065 (installdirs): Remove.
32066 (subdir_%): Remove.
32067 (glibc-targets): Remove.
32068 (lib): Remove.
32069 (stubs): Remove.
32070 ($(objpfx)stubs ../po/manual.pot): Remove.
32071 ($(objpfx)stamp%): Remove.
32072 (make-target-directory): Remove.
32073 (subdir_install): Remove.
32074 (routines): Remove.
32075 (aux): Remove.
32076 (sources): Remove.
32077 (objects): Remove.
32078 (headers): Remove.
32079
32080 [BZ #13750]
32081 * manual/.gitignore: Remove, it's not needed anymore.
32082 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32083 all files in it.
32084 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32085 directory.
32086 (texis): Renamed to $(objpfx)texis.
32087 (texis-path): New, contains path to generated files.
32088 (chapters.%): Use texis-path for complete path, add extra argument
32089 libc-texinfo.sh.
32090 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32091 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32092 (summary,texi, stamp-summary): Use complete path of
32093 files. Generate files in build dir.
32094 (dir-add.texi): Build in build dir.
32095 (libm-err.texi,stamp-libm-err): Likewise.
32096 (version.texi, stamp-version): Likewise.
32097 (.%c.texi): Likewise.
32098 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32099 (mostlyclean): Remove target.
32100 (realclean): Remove target.
32101 (generated): Add new variable with contents from mostlyclean and
32102 realclean, remove entries duplicated in common-mostlyclean, add
32103 stamp-libm-err and stamp-version.
32104 (generated-dirs): Add libc directory.
32105 ($(inst_infodir)/libc.info): Install files from build dir.
32106
32107 * manual/install.texi (Configuring and compiling): Adjust since
32108 the info files are not part of the tar ball anymore.
32109
7ac77294
AJ
321102012-05-14 Andreas Jaeger <aj@suse.de>
32111
32112 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32113 variable.
32114
ffb7875d
JM
321152012-05-14 Joseph Myers <joseph@codesourcery.com>
32116
32117 [BZ #13717]
32118 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32119 to 2.2.0 where earlier.
32120 * sysdeps/unix/sysv/linux/configure: Regenerated.
32121 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32122 Remove conditional code.
32123 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32124 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32125 Remove conditional code.
32126 [!__NR_lchown]: Likewise.
32127 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32128 [__NR_lchown]: Likewise.
32129 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32130 comment referencing __ASSUME_LCHOWN_SYSCALL.
32131 * sysdeps/unix/sysv/linux/i386/sigaction.c
32132 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32133 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32134 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32135 Remove conditional code.
32136 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32137 (__protocol_available): Remove #if 0 code.
32138 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32139 conditional code.
32140 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32141 * sysdeps/unix/sysv/linux/kernel-features.h
32142 (__ASSUME_GETCWD_SYSCALL): Don't define.
32143 (__ASSUME_REALTIME_SIGNALS): Likewise.
32144 (__ASSUME_PREAD_SYSCALL): Likewise.
32145 (__ASSUME_PWRITE_SYSCALL): Likewise.
32146 (__ASSUME_POLL_SYSCALL): Likewise.
32147 (__ASSUME_LCHOWN_SYSCALL): Likewise.
32148 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32149 non-SPARC.
32150 (__ASSUME_SIOCGIFNAME): Don't define.
32151 (__ASSUME_MSG_NOSIGNAL): Likewise.
32152 (__ASSUME_SENDFILE): Define unconditionally.
32153 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32154 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32155 conditional code.
32156 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32157 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32158 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32159 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32160 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32161 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32162 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32164 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32165 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32167 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32168 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32170 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32171 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32173 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32174 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32176 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32177 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32179 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32180 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32182 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32183 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32185 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32186 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32187 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32188 Remove conditional code.
32189 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32190 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32191 Remove conditional code.
32192 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32193 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32194 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32195 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32196 Remove conditional code.
32197 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32198 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32199 Remove conditional code.
32200 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32201 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32202 Remove conditional code.
32203 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32204 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32205 Remove conditional code.
32206 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32207 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32208 Remove conditional code.
32209 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32210 * sysdeps/unix/sysv/linux/sh/pwrite64.c
32211 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32212 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32213 * sysdeps/unix/sysv/linux/sigaction.c
32214 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32215 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32216 * sysdeps/unix/sysv/linux/sigpending.c
32217 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32218 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32219 * sysdeps/unix/sysv/linux/sigprocmask.c
32220 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32221 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32222 * sysdeps/unix/sysv/linux/sigsuspend.c
32223 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32224 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32225 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32226 (__libc_missing_rt_sigs): Remove.
32227 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32228 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32229 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32230 Remove conditional code.
32231 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32232 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32233 return 1.
32234 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32235 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32236 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32237 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32238
1bfb7291
AJ
322392012-05-14 Andreas Jaeger <aj@suse.de>
32240
caae5a81
AJ
32241 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32242 it's not used in glibc.
32243 (__coshm1): Likewise.
32244 (__acosh1p): Likewise.
32245 (__sgn): Likewise.
32246
1bfb7291
AJ
32247 * manual/string.texi (Copying and Concatenation): Add missing
32248 variable in concat example.
32249 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32250
c044d724
L
322512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32252
144c5467 32253 [BZ #14103]
c044d724
L
32254 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32255 __builtin_clzl with __builtin_clzll.
32256
2523c62b
L
322572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32258
32259 [BZ #14104]
32260 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32261 libc_freeres_ptr.
32262
d7bb4c42
LD
322632012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32264
32265 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32266 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32267 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32268 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32269
9dc4e1fb
MF
322702012-05-14 Mike Frysinger <vapier@gentoo.org>
32271
32272 * NEWS: Update ia64 info.
32273
c7df0112
AS
322742012-05-12 Andreas Schwab <schwab@linux-m68k.org>
32275
32276 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32277 used as bcopy.
32278
dc70356c
TS
322792012-05-12 Thomas Schwinge <thomas@codesourcery.com>
32280
32281 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32282 * sysdeps/unix/syscalls.list (dup3): Likewise.
32283 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32284 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32285
9fb1a21f
L
322862012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32287
32288 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32289 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32290
4822a2a5
L
322912012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32292
32293 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32294 thread pointer.
32295 (TLS_IE): Use mov/add instead of movq/addq to load thread
32296 pointer.
32297 (TLS_GD_PREFIX): New.
32298 (TLS_GD): Use it.
32299
842b81d6
DM
323002012-05-11 David S. Miller <davem@davemloft.net>
32301
32302 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32303 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32304 (_FPU_SETCW): Likewise.
32305
1cf463cd
L
323062012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32307
32308 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32309 is 32-byte aligned.
32310
60cc4a18
AS
323112012-05-11 Andreas Schwab <schwab@linux-m68k.org>
32312
32313 [BZ #11837]
32314 * iconvdata/gb18030.c: Update tables.
32315 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
32316 characters specially.
32317 (BODY for TO_LOOP): Add encoding of missing ranges.
32318
febb44a4
TS
323192012-05-11 Thomas Schwinge <thomas@codesourcery.com>
32320
32321 [BZ #13673]
32322 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32323 * sysdeps/mach/hurd/dup3.c: Likewise.
32324 * sysdeps/mach/hurd/readlinkat.c: Likewise.
32325 * sysdeps/powerpc/memmove.c:: Likewise.
32326
0a10fb9e
L
323272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32328
32329 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32330 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32331
df8a552f
L
323322012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32333
32334 * elf/elf.h (R_X86_64_RELATIVE64): New.
32335 (R_X86_64_NUM): Updated.
32336 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32337 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
32338 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32339 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32340 tst-quad1pie tst-quad2pie
32341 (modules-names): Add tst-quadmod1 tst-quadmod2.
32342 ($(objpfx)tst-quad1): New dependency.
32343 ($(objpfx)tst-quad2): Likewise.
32344 ($(objpfx)tst-quad1pie): Likewise.
32345 ($(objpfx)tst-quad2pie): Likewise.
32346 * sysdeps/x86_64/tst-quad1.c: New file.
32347 * sysdeps/x86_64/tst-quad1pie.c: New file.
32348 * sysdeps/x86_64/tst-quad2.c: Likewise.
32349 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32350 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32351 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32352 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32353 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32354
f34d6f84
ST
323552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32356
f42d41d1
ST
32357 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32358 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32359 * streams/stropts.h (t_scalar_t): Define type.
32360
3c3571fc
ST
32361 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32362 (_PATH_PRESERVE): Set to "/var/lib".
32363 (_PATH_RWHODIR): Set to "/var/spool/rwho".
32364
61f06bd3
ST
32365 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32366 instead of int.
32367
918d4d71
ST
32368 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32369 if __dir_mkfile succeeded.
32370
f34d6f84
ST
32371 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32372 checking for _hurd_dtablesize. Unlock it right after having
32373 finished _hurd_dtable allocation.
32374
10589b4a
TS
323752012-05-10 Thomas Schwinge <thomas@schwinge.name>
32376
674cdbc7
TS
32377 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32378 * sysdeps/mach/hurd/configure: Regenerated.
32379 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32380 special-casing to...
32381 * sysdeps/gnu/configure.in: ... this new file.
32382 * sysdeps/unix/sysv/linux/configure: Regenerated.
32383 * sysdeps/gnu/configure: New generated file.
32384
8e41b99f
TS
32385 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32386 for Linux: use nsec instead of usec, as well as:
32387 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32388 members of type struct timespec.
32389 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32390 New macros.
32391 (struct stat64): Likewise.
32392 (_STATBUF_ST_NSEC): New macro.
32393 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32394
10589b4a
TS
32395 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32396 __strtoul_internal rather than strtoul.
32397
63643c85
PT
323982012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32399
32400 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32401 and reject them.
32402
3faebe6a
ST
324032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32404
32405 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32406 which preserves existing values.
32407 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32408
c6474b07
PT
324092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32410
32411 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32412 TIMEOUT values. Return EINVAL for NFDS values either negative or
32413 greater than FD_SETSIZE.
32414
1043890b
ST
324152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32416
32417 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32418 allocated, call __vm_protect to finish enabling the existing space, and
32419 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32420 allocate the remainder.
32421
37ed8b9b
PT
324222012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32423
32424 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32425 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
32426
db653660
ST
324272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32428
37ed8b9b
PT
32429 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32430 sysdeps/mach/hurd/readlink.c.
b29d4053 32431
db653660
ST
32432 * posix/tst-sysconf.c (posix_options): Only use
32433 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32434 _POSIX_SYNCHRONIZED_IO when they are defined
32435 * sysdeps/mach/hurd/bits/posix_opt.h:
32436 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32437 (_XOPEN_REALTIME): Undefine macro.
32438 (_XOPEN_REALTIME_THREADS): Undefine macro.
32439 (_XOPEN_SHM): Undefine macro.
32440 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32441 macro to -1.
32442 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32443 macro to -1.
32444 (_POSIX_ASYNC_IO): Undefine macro.
32445 (_POSIX_PRIORITIZED_IO): Undefine macro.
32446 (_POSIX_SPIN_LOCKS): Define macro to -1.
32447
ee16e894
ST
32448 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
32449 SA_NODEFER, SA_RESETHAND.
32450 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
32451 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
32452 F_DUPFD_CLOEXEC.
32453
6103ae3b
TS
324542012-05-10 Thomas Schwinge <thomas@schwinge.name>
32455
32456 * elf/Makefile (pldd-modules): Define unconditionally.
32457
80b4e5f3
TS
324582012-05-10 Thomas Schwinge <thomas@schwinge.name>
32459
32460 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
32461
edadcbd6
ST
324622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32463
32464 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
32465 Return ENOENT when name is empty.
32466 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
32467
80694780
TS
324682012-05-10 Thomas Schwinge <thomas@schwinge.name>
32469
1792c087
TS
32470 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
32471
80694780
TS
32472 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
32473
6b645f0d
ST
324742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32475
80694780
TS
32476 Fix mlock in all cases except non-readable pages.
32477 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
32478 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 32479
6b645f0d
ST
32480 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
32481 (__mkdir): When path is `/', just fail with EEXIST.
32482 * sysdeps/mach/hurd/mkdirat.c: Likewise.
32483
e468f8a3
TS
324842012-05-10 Thomas Schwinge <thomas@schwinge.name>
32485
32486 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
32487 <sys/uio.h> (for writev).
32488 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
32489 and <sys/param.h> (for MIN).
32490
a4186cff
PT
324912012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32492
32493 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
32494 REQUESTED_TIME. Properly set the remaining time and return EINTR
32495 if interrupted.
32496
510bbf14
TS
324972012-05-10 Thomas Schwinge <thomas@schwinge.name>
32498
32499 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
32500 Depend on against $(link-rpcuserlibs).
32501
5d5722e8
ST
325022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32503
a4186cff
PT
32504 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
32505 (__libc_stack_end): Do not use attribute_relro.
32506 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
32507 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 32508 to libthread-provided value.
a4186cff
PT
32509 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
32510 attribute_relro.
5d5722e8 32511
37233df9
TS
325122012-05-10 Thomas Schwinge <thomas@schwinge.name>
32513
be971a2b
TS
32514 [BZ #3748]
32515 * bits/libc-lock.h (__libc_once_get): New macro.
32516 * sysdeps/mach/bits/libc-lock.h: Likewise.
32517 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
32518 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
32519 instead of using implementation details.
32520
37233df9
TS
32521 * libio/fileops.c: Unconditionally include <kernel-features.h>.
32522 * libio/freopen.c: Likewise.
32523 * libio/freopen64.c: Likewise.
32524 * misc/syslog.c: Likewise.
32525 * nscd/connections.c: Likewise.
32526 * nscd/netgroupcache.c: Likewise.
32527 * sysdeps/posix/getcwd.c: Likewise.
32528
38de94a5
RM
325292012-05-10 Roland McGrath <roland@hack.frob.com>
32530
32531 * math/w_ilogbf.c: Add #include <limits.h>.
32532
67530489
ST
325332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32534
a4186cff 32535 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
32536 path instead of returning without unlocking.
32537
67530489
ST
32538 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
32539 immediate-write ioctls.
32540 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
32541
5aa3a74a
TS
325422012-05-10 Thomas Schwinge <thomas@schwinge.name>
32543
18bad2ae
TS
32544 * sysdeps/mach/hurd/i386/init-first.c (init): Use
32545 __builtin_frame_address instead of making assumptions about the
32546 location of the return address relative to DATA. Force early load of
32547 the return address.
32548 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
32549 __builtin_frame_address.
32550
5aa3a74a
TS
32551 dup3 for GNU Hurd.
32552 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
32553 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
32554 implement dup3 and do some further code clean-ups.
32555 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
32556 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
32557
ecd0de9a
ST
325582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32559
cd9fa985
ST
32560 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
32561
a4186cff
PT
32562 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
32563 HURD_CRITICAL_END around holding _hurd_dtable_lock.
32564 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
32565 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
32566 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
32567 d->port.lock.
802ca5a5 32568
a4186cff
PT
32569 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
32570 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
32571 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 32572
bcf55240
TS
325732012-05-10 Thomas Schwinge <thomas@schwinge.name>
32574
6960eb42
TS
32575 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
32576 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
32577 definitions.
32578
eb43375f
TS
32579 accept4 for GNU Hurd.
32580 * include/sys/socket.h (__libc_accept4): New prototype.
32581 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
32582 to implement __libc_accept4.
32583 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
32584 __libc_accept4.
32585 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
32586
bcf55240
TS
32587 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
32588 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
32589 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
32590 signal-defines.sym.
32591
6178c55b
ST
325922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32593
a4186cff 32594 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 32595
6f080c2f
TS
325962012-05-10 Thomas Schwinge <thomas@schwinge.name>
32597
32598 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
32599 assertion on O_CLOEXEC flag.
32600 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
32601 * hurd/intern-fd.c: Likewise.
32602 * hurd/port2fd.c: Likewise.
32603
bcfe3a54
ST
326042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32605
32606 [BZ #3906]
32607 * bits/in.h (IPV6_PKTINFO): Define new macro.
32608 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
32609
89c9aa49
AZ
326102012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32611
32612 [BZ #13954]
32613 [BZ #13955]
32614 [BZ #13956]
32615 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
32616 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32617 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
32618 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32619 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32620 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32621 * math/libm-test.inc (logb_test) : Additional logb tests.
32622
021db4be
AJ
326232012-05-09 Andreas Schwab <schwab@linux-m68k.org>
32624 Andreas Jaeger <aj@suse.de>
32625
32626 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
32627 * configure: Regenerated.
32628 * config.h.in (LINK_OBSOLETE_RPC): New macro.
32629 * config.make.in (link-obsolete-rpc): New substituted variable.
32630 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
32631 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
32632 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32633 (shared-only-routines): Don't set it under [link-obsolete-rpc],
32634 so that libc.a contains the symbols.
32635 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32636 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
32637 * sunrpc/auth_none.c: Likewise.
32638 * sunrpc/auth_unix.c: Likewise.
32639 * sunrpc/authdes_prot.c: Likewise.
32640 * sunrpc/authuxprot.c: Likewise.
32641 * sunrpc/clnt_gen.c: Likewise.
32642 * sunrpc/clnt_perr.c: Likewise.
32643 * sunrpc/clnt_raw.c: Likewise.
32644 * sunrpc/clnt_simp.c: Likewise.
32645 * sunrpc/clnt_tcp.c: Likewise.
32646 * sunrpc/clnt_udp.c: Likewise.
32647 * sunrpc/clnt_unix.c: Likewise.
32648 * sunrpc/des_crypt.c: Likewise.
32649 * sunrpc/des_soft.c: Likewise.
32650 * sunrpc/get_myaddr.c: Likewise.
32651 * sunrpc/key_call.c: Likewise.
32652 * sunrpc/key_prot.c: Likewise.
32653 * sunrpc/netname.c: Likewise.
32654 * sunrpc/pm_getmaps.c: Likewise.
32655 * sunrpc/pm_getport.c: Likewise.
32656 * sunrpc/pmap_clnt.c: Likewise.
32657 * sunrpc/pmap_prot.c: Likewise.
32658 * sunrpc/pmap_prot2.c: Likewise.
32659 * sunrpc/pmap_rmt.c: Likewise.
32660 * sunrpc/publickey.c: Likewise.
32661 * sunrpc/rpc_cmsg.c: Likewise.
32662 * sunrpc/rpc_common.c: Likewise.
32663 * sunrpc/rpc_dtable.c: Likewise.
32664 * sunrpc/rpc_prot.c: Likewise.
32665 * sunrpc/rpc_thread.c: Likewise.
32666 * sunrpc/rtime.c: Likewise.
32667 * sunrpc/svc.c: Likewise.
32668 * sunrpc/svc_auth.c: Likewise.
32669 * sunrpc/svc_raw.c: Likewise.
32670 * sunrpc/svc_run.c: Likewise.
32671 * sunrpc/svc_tcp.c: Likewise.
32672 * sunrpc/svc_udp.c: Likewise.
32673 * sunrpc/svc_unix.c: Likewise.
32674 * sunrpc/svcauth_des.c: Likewise.
32675 * sunrpc/xcrypt.c: Likewise.
32676 * sunrpc/xdr.c: Likewise.
32677 * sunrpc/xdr_array.c: Likewise.
32678 * sunrpc/xdr_float.c: Likewise.
32679 * sunrpc/xdr_intXX_t.c: Likewise.
32680 * sunrpc/xdr_mem.c: Likewise.
32681 * sunrpc/xdr_rec.c: Likewise.
32682 * sunrpc/xdr_ref.c: Likewise.
32683 * sunrpc/xdr_sizeof.c: Likewise.
32684 * sunrpc/xdr_stdio.c: Likewise.
32685
b5c086a2
RM
326862012-05-10 Roland McGrath <roland@hack.frob.com>
32687
32688 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
32689 change. Update copyright years.
32690
6d74dd09
JM
326912012-05-10 Joseph Myers <joseph@codesourcery.com>
32692
32693 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
32694
28e72501
MK
326952012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
32696 Joseph Myers <joseph@codesourcery.com>
32697 Paul Pluzhnikov <ppluzhnikov@google.com>
32698
32699 [BZ #14012]
32700 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
32701 requiring rpcgen.
32702 [cross-compiling] (extra-libs): Likewise.
32703 [cross-compiling] (extra-libs-others): Likewise.
32704 [cross-compiling] (librpcsvc-routines): Likewise.
32705 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
32706 [cross-compiling] (omit-deps): Likewise.
32707 (sunrpc-CPPFLAGS): New variable.
32708 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
32709 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
32710 (cross-rpcgen-objs): New variable.
32711 (extra-objs): Append $(cross-rpcgen-objs).
32712 ($(cross-rpcgen-objs)): New rule.
32713 ($(objpfx)cross-rpcgen): Likewise.
32714 (rpcgen-cmd): Define to use $(built-program-file). Expand
32715 comment.
32716 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
32717 ($(objpfx)x%.stmp): Likewise.
32718 * sunrpc/proto.h [IS_IN_build] (_): Define.
32719 [IS_IN_build] (_libc_intl_domainname): Likewise.
32720
c8c59454
L
327212012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32722
32723 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
32724 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
32725 and R_X86_64_TPOFF64.
32726
6f27cd16
JM
327272012-05-10 Joseph Myers <joseph@codesourcery.com>
32728
32729 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
32730 sysdeps/unix/sysv/syscalls.list.
32731 (stime): Likewise.
32732 (utime): Likewise.
32733 * sysdeps/unix/sysv/syscalls.list: Remove file.
32734
02467e1c
PE
327352012-05-10 Paul Eggert <eggert@cs.ucla.edu>
32736
32737 [BZ #3440]
32738 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
32739 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
32740 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
32741 (__LC_IDENTIFICATION): Make these macros useful in #if
32742 expressions, as required by C99.
32743
da392631
AS
327442012-05-10 Andreas Schwab <schwab@linux-m68k.org>
32745
32746 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
32747 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
32748 after this.
32749
8115f29b
L
327502012-05-09 H.J. Lu <hongjiu.lu@intel.com>
32751
32752 * stdlib/longlong.h: Updated from GCC.
32753
bdd74070
AJ
327542012-05-09 Andreas Jaeger <aj@suse.de>
32755
edfe0dbe
AJ
32756 * nscd/nscd.c (run_modes): Make named enum, reorder so that
32757 default is first entry.
32758 (run_mode): Set type.
32759 (main): Remove informal message about syslog.
32760 (options): Fix typo.
32761
bcfe3a54
ST
32762 [BZ #14053]
32763 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 32764 to asm.
bcfe3a54
ST
32765 (lrint): Likewise.
32766 (llrintf): Likewise.
32767 (llrint): Likewise.
32768 (rint): Likewise.
32769 (rintf): Likewise.
32770 (nearbyint): Likewise.
32771 (nearbyintf): Likewise.
bdd74070 32772
91d8d69e
AJ
327732012-05-09 Andreas Jaeger <aj@suse.de>
32774 Pedro Alves <palves@redhat.com>
32775
32776 * nscd/nscd.c (run_mode): Use enum.
32777 (main): Cleanup coding style issue.
32778
bb90b80b
AJ
327792012-05-09 Alexandre Oliva <aoliva@redhat.com>
32780 Andreas Jaeger <aj@suse.de>
32781
bcfe3a54
ST
32782 * nscd/nscd.c (go_background): Replaced with...
32783 (run_mode): ... this.
bb90b80b 32784 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
32785 (options): Add -F --foreground.
32786 (main): Implement it.
32787 (parse_opt): Parse it.
bb90b80b 32788
1a4b75a1
AJ
327892012-05-09 Andreas Jaeger <aj@suse.de>
32790
32791 [BZ #14083]
32792 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
32793 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
32794 -Wconversion warning.
32795 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
32796 Likewise.
32797
b1cc2472
JM
327982012-05-09 Joseph Myers <joseph@codesourcery.com>
32799
32800 * conform/data/locale.h-data (NULL): Use macro-constant. Require
32801 == 0.
32802 (LC_ALL): Use macro-int-constant.
32803 (LC_COLLATE): Likewise.
32804 (LC_CTYPE): Likewise.
32805 (LC_MESSAGES): Likewise.
32806 (LC_MONETARY): Likewise.
32807 (LC_NUMERIC): Likewise.
32808 (LC_TIME): Likewise.
32809 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
32810 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32811 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32812 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
32813 Specify type.
32814 [C99-based standards] (float_t): Expect type.
32815 [C99-based standards] (double_t): Expect type.
32816 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
32817 type.
32818 [C99-based standards] (HUGE_VALL): Likewise.
32819 [C99-based standards] (INFINITY): Likewise.
32820 [C99-based standards] (NAN): Likewise.
32821 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
32822 [C99-based standards] (FP_NAN): Likewise.
32823 [C99-based standards] (FP_NORMAL): Likewise.
32824 [C99-based standards] (FP_SUBNORMAL): Likewise.
32825 [C99-based standards] (FP_ZERO): Likewise.
32826 [C99-based standards] (FP_FAST_FMA): Use
32827 optional-macro-int-constant. Specify type. Require == 1.
32828 [C99-based standards] (FP_FAST_FMAF): Likewise.
32829 [C99-based standards] (FP_FAST_FMAL): Likewise.
32830 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
32831 [C99-based standards] (FP_ILOGBNAN): Likewise.
32832 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
32833 Specify type.
32834 [C99-based standards] (MATH_ERREXCEPT): Likewise.
32835 [C99-based standards] (math_errhandling): Specify type.
32836 [ISO99 || ISO11] (signgam): Do not allow.
32837 [non-C99-based standards] (copysignf): Do not allow.
32838 [non-C99-based standards] (exp2f): Likewise.
32839 [non-C99-based standards] (log2f): Likewise.
32840 [non-C99-based standards] (modff): Allow.
32841 [non-C99-based standards] (erff): Do not allow.
32842 [non-C99-based standards] (erfcf): Likewise.
32843 [non-C99-based standards] (gammaf): Likewise.
32844 [non-C99-based standards] (hypotf): Likewise.
32845 [non-C99-based standards] (j0f): Likewise.
32846 [non-C99-based standards] (j1f): Likewise.
32847 [non-C99-based standards] (jnf): Likewise.
32848 [non-C99-based standards] (lgammaf): Likewise.
32849 [non-C99-based standards] (tgammaf): Likewise.
32850 [non-C99-based standards] (y0f): Likewise.
32851 [non-C99-based standards] (y1f): Likewise.
32852 [non-C99-based standards] (ynf): Likewise.
32853 [non-C99-based standards] (isnanf): Likewise.
32854 [non-C99-based standards] (acoshf): Likewise.
32855 [non-C99-based standards] (asinhf): Likewise.
32856 [non-C99-based standards] (atanhf): Likewise.
32857 [non-C99-based standards] (cbrtf): Likewise.
32858 [non-C99-based standards] (expm1f): Likewise.
32859 [non-C99-based standards] (ilogbf): Likewise.
32860 [non-C99-based standards] (log1pf): Likewise.
32861 [non-C99-based standards] (logbf): Likewise.
32862 [non-C99-based standards] (nextafterf): Likewise.
32863 [non-C99-based standards] (remainderf): Likewise.
32864 [non-C99-based standards] (rintf): Likewise.
32865 [non-C99-based standards] (scalbf): Likewise.
32866 [non-C99-based standards] (copysignl): Likewise.
32867 [non-C99-based standards] (exp2l): Likewise.
32868 [non-C99-based standards] (log2l): Likewise.
32869 [non-C99-based standards] (modfl): Allow.
32870 [non-C99-based standards] (erfl): Do not allow.
32871 [non-C99-based standards] (erfcl): Likewise.
32872 [non-C99-based standards] (gammal): Likewise.
32873 [non-C99-based standards] (hypotl): Likewise.
32874 [non-C99-based standards] (j0l): Likewise.
32875 [non-C99-based standards] (j1l): Likewise.
32876 [non-C99-based standards] (jnl): Likewise.
32877 [non-C99-based standards] (lgammal): Likewise.
32878 [non-C99-based standards] (tgammal): Likewise.
32879 [non-C99-based standards] (y0l): Likewise.
32880 [non-C99-based standards] (y1l): Likewise.
32881 [non-C99-based standards] (ynl): Likewise.
32882 [non-C99-based standards] (isnanl): Likewise.
32883 [non-C99-based standards] (acoshl): Likewise.
32884 [non-C99-based standards] (asinhl): Likewise.
32885 [non-C99-based standards] (atanhl): Likewise.
32886 [non-C99-based standards] (cbrtl): Likewise.
32887 [non-C99-based standards] (expm1l): Likewise.
32888 [non-C99-based standards] (ilogbl): Likewise.
32889 [non-C99-based standards] (log1pl): Likewise.
32890 [non-C99-based standards] (logbl): Likewise.
32891 [non-C99-based standards] (nextafterl): Likewise.
32892 [non-C99-based standards] (remainderl): Likewise.
32893 [non-C99-based standards] (rintl): Likewise.
32894 [non-C99-based standards] (scalbl): Likewise.
32895 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32896 [non-C99-based standards] (FP_*): Do not allow.
32897 [C99-based standards] (FP_*): Change to
32898 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32899 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32900 allow.
32901 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
32902 (SIG_ERR): Likewise.
32903 [X/Open-based standards] (SIG_HOLD): Likewise.
32904 (SIG_IGN): Likewise.
32905 (SIGABRT): Use macro-int-constant. Specify type. Require
32906 positive value.
32907 (SIGFPE): Likewise.
32908 (SIGILL): Likewise.
32909 (SIGINT): Likewise.
32910 (SIGSEGV): Likewise.
32911 (SIGTER): Likewise.
32912 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
32913 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
32914 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
32915 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
32916 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
32917 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
32918 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
32919 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
32920 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
32921 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
32922 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
32923 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
32924 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
32925 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
32926 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
32927 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
32928 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
32929 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
32930 [X/Open-based standards] (SIGTRAP): Likewise.
32931 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
32932 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
32933 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
32934 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
32935 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32936 allow.
32937
b9f1922d
IW
329382012-05-08 Ian Wienand <ianw@vmware.com>
32939
32940 [BZ #14080]
32941 * time/tzset.c (__tzset_parse_tz): Update default rules for
32942 daylight time changes in the Energy Policy Act of 2005.
32943
1db86e88
AJ
329442012-05-09 Andreas Jaeger <aj@suse.de>
32945
32946 [BZ #13983]
32947 * elf/ldconfig.c (parse_conf): Change string to make clear that
32948 ldconfig only issued a warning if ld.so.conf does not exist.
32949
dee4a4e3
DM
329502012-05-08 David S. Miller <davem@davemloft.net>
32951
ee0db190
DM
32952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
32953 movxtod instead of popping the value on the stack.
32954
dee4a4e3
DM
32955 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32956
6a43ec98
CD
329572012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
32958
32959 * config.h.in: Add HAVE_ARM_PCS_VFP.
32960
05c2c961
RMG
329612012-05-08 Roland Mc Grath <roland@hack.frob.com>
32962
bcfe3a54
ST
32963 [BZ #13979]
32964 * include/features.h: Warn if user requests __FORTIFY_SOURCE
32965 checking but the checks are disabled for any reason.
05c2c961 32966
4b30f61a
L
329672012-05-08 H.J. Lu <hongjiu.lu@intel.com>
32968
32969 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
32970 and ELF64_R_TYPE with ELFW(R_TYPE).
32971
eee2bc67
JM
329722012-05-08 Joseph Myers <joseph@codesourcery.com>
32973
7ea5391a
JM
32974 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
32975 (ulimit): Likewise.
32976
eee2bc67
JM
32977 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
32978 (settimeofday): Likewise.
32979
abb66a67
MF
329802012-05-08 Mike Frysinger <vapier@gentoo.org>
32981
32982 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
32983 a struct th_u2 inside the union, and move tu_block/tu_code into
32984 a new th_u3 union of tu_block/tu_code inside of that. Move
32985 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
32986 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
32987 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
32988 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
32989 (th_stuff): Change to th_u1.tu_stuff.
32990 (th_data): Define.
32991 (th_msg): Change to th_u1.th_u2.tu_data.
32992
7f18b530
DM
329932012-05-07 David S. Miller <davem@davemloft.net>
32994
05760585
DM
32995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32996
7f18b530
DM
32997 [BZ #14074]
32998 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
32999 (SETUP_PIC_REG): Use it.
33000 (SETUP_PIC_REG_LEAF): Use it.
33001
495fd99f
JM
330022012-05-07 Joseph Myers <joseph@codesourcery.com>
33003
33004 [BZ #13885]
33005 [BZ #13923]
33006 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33007 USE_AS_EXPM1L.
33008 (EXPL_FINITE): Likewise.
33009 (FLDLOG): Likewise.
33010 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33011 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33012 e_expl.S.
33013 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33014 USE_AS_EXPM1L.
33015 (EXPL_FINITE): Likewise.
33016 (FLDLOG): Likewise.
33017 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33018 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33019 e_expl.S.
33020 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
33021 test of -max_value argument for long double.
33022 * sysdeps/i386/fpu/libm-test-ulps: Update.
33023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33024
6693d694
DM
330252012-05-06 David S. Miller <davem@davemloft.net>
33026
33027 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33028 quad soft-float symbols whose references which are compiler
33029 generated.
33030 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33031
6c23e11c
JM
330322012-05-06 Joseph Myers <joseph@codesourcery.com>
33033
d8b82cad
JM
33034 [BZ #13884]
33035 [BZ #13914]
33036 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33037 USE_AS_EXP10L.
33038 (EXPL_FINITE): Likewise.
33039 (FLDLOG): Likewise.
33040 (c0): Likewise.
33041 (c1): Likewise.
33042 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33043 Adjust comments for base varying.
33044 (__expl_finite): Change alias to EXPL_FINITE.
33045 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33046 e_expl.S.
33047 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33048 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33049 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33050 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33051 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33052 USE_AS_EXP10L.
33053 (EXPL_FINITE): Likewise.
33054 (FLDLOG): Likewise.
33055 (c0): Likewise.
33056 (c1): Likewise.
33057 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33058 Adjust comments for base varying.
33059 (__expl_finite): Change alias to EXPL_FINITE.
33060 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
33061 tests for bugs.
33062 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33063
6c23e11c
JM
33064 [BZ #14064]
33065 * math/libm-test.inc (check_float_internal): Correct ulp
33066 calculation for subnormal expected results.
33067
29ba805c
AJ
330682012-05-06 Andreas Jaeger <aj@suse.de>
33069
33070 * Makeconfig (+math-flags): New, set to -frounding-math.
33071 (+cflags): Add +math-flags so that all of glibc gets compiled with
33072 it.
33073
33074 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33075
7b17aeda
JM
330762012-05-05 Joseph Myers <joseph@codesourcery.com>
33077
5779f134
JM
33078 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33079 Disable one test.
33080
41498f4d
JM
33081 [BZ #13787]
33082 [BZ #13922]
33083 [BZ #14036]
33084 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33085 (__ieee754_expl): Allow for and saturate large arguments.
33086 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33087 (u_threshold): Likewise.
33088 (__exp): Call __ieee754_exp before checking for overflow and
33089 underflow.
33090 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33091 (u_threshold): Likewise.
33092 (__expf): Call __ieee754_expf before checking for overflow and
33093 underflow.
33094 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33095 (u_threshold): Likewise.
33096 (__expl): Call __ieee754_expl before checking for overflow and
33097 underflow.
33098 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33099 (__ieee754_expl): Allow for and saturate large arguments.
33100 * math/libm-test.inc (exp_test): Add another test. Do not allow
33101 missing overflow exception on overflow.
33102 (expm1_test): Do not allow missing overflow exception on overflow.
33103
6698b8bf
JM
33104 * sysdeps/i386/fpu/e_expl.c: Move to ...
33105 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
33106 rather than using inline asm.
33107 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33108 * sysdeps/x86_64/fpu/e_expl.S: Copy from
33109 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33110
7b17aeda
JM
33111 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33112 (nice): Likewise.
33113 (poll): Likewise.
33114 (signal): Likewise.
33115 (time): Likewise.
33116 (times): Likewise.
33117
f7c85819
JM
331182012-05-04 Joseph Myers <joseph@codesourcery.com>
33119
33120 * sysdeps/unix/syscalls.list (adjtime): Add entry from
33121 sysdeps/unix/common/syscalls.list.
33122 (fchmod): Likewise.
33123 (fchown): Likewise.
33124 (ftruncate): Likewise.
33125 (getrusage): Likewise.
33126 (gettimeofday): Likewise.
33127 (setpgid): Likewise.
33128 (setregid): Likewise.
33129 (setreuid): Likewise.
33130 (sigaction): Likewise.
33131 (truncate): Likewise.
33132 (vhangup): Likewise.
33133 * sysdeps/unix/common/syscalls.list: Remove file.
33134 * sysdeps/unix/bsd/Implies: Don't include unix/common.
33135 * sysdeps/unix/sysv/linux/Implies: Likewise.
33136
336270d0
L
331372012-05-04 H.J. Lu <hongjiu.lu@intel.com>
33138
33139 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33141 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33142 Moved to ...
33143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33144 Here.
33145 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33146 to ...
33147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33148 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33149 to ...
33150 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33151 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33152 to ...
33153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33154 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33155 to ...
33156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33157 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33158 to ...
33159 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33160 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33161 to ...
33162 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33163 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33164 to ...
33165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33166 Here.
33167 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33168 to ...
33169 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33170 Here.
33171 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33172 to ...
33173 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33174 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33175 Moved to ...
33176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33177 Here.
33178 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33179 to ...
33180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33181
d128e450
JM
331822012-05-04 Joseph Myers <joseph@codesourcery.com>
33183
fa8ee516
JM
33184 * sysdeps/unix/common/bits/dirent.h: Remove file.
33185 * sysdeps/unix/common/bits/fcntl.h: Likewise.
33186
d128e450
JM
33187 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33188 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33189 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33190 * sysdeps/unix/bsd/isatty.c: Likewise.
33191 * sysdeps/unix/bsd/tcdrain.c: Likewise.
33192 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33193 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33194
ff8faaf0 331952012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 33196
62881be4 33197 [BZ #13563]
31dc8730
AZ
33198 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33199 long double comparison inaccuracies.
33200 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33201 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33202
6fef930c
AS
332032012-05-04 Andreas Schwab <schwab@linux-m68k.org>
33204
33205 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33206 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33207
8f203e6c
JM
332082012-05-04 Joseph Myers <joseph@codesourcery.com>
33209
33210 [BZ #14049]
33211 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33212 nonzero digits before rounding a hex value.
33213 * stdlib/tst-strtod.c (tests): Add another test.
33214
5197d9c2
AK
332152012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33216
33217 * sysdeps/s390/fpu/libm-test-ulps: Update.
33218
f0c1dedf
AJ
332192012-05-03 Andreas Jaeger <aj@suse.de>
33220
33221 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33222 does not get optimized out.
33223 (malloc_opt_barrier): New.
33224
a65ef2ae 332252012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 33226 Roland McGrath <roland@hack.frob.com>
a65ef2ae 33227
2b942cb7 33228 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 33229 intermediate file deletion.
2b942cb7 33230 (generated): Add .symlist files.
a65ef2ae 33231
54b71e02
JM
332322012-05-03 Joseph Myers <joseph@codesourcery.com>
33233
33234 [BZ #13775]
33235 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33236 Redirect under this condition.
33237 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33238 [__USE_GNU] (__dprintf_chk): Not under this condition.
33239 [__USE_GNU] (__vdprintf_chk): Likewise.
33240 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33241 under this condition.
33242 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33243 [__USE_XOPEN2K8] (dprintf): Define under this condition.
33244 [__USE_XOPEN2K8] (vdprintf): Likewise.
33245 [__USE_GNU] (__dprintf_chk): Not under this condition.
33246 [__USE_GNU] (__vdprintf_chk): Likewise.
33247 [__USE_GNU] (dprintf): Likewise.
33248 [__USE_GNU] (vdprintf): Likewise.
33249
d3dfcc41
RM
332502012-05-03 Roland McGrath <roland@hack.frob.com>
33251
33252 * elf/Makefile (common-generated): Set this instead of generated for
33253 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
33254 $(all-built-dso)-derived lists.
33255
7ac30cc5
AJ
332562012-05-03 Andreas Jaeger <aj@suse.de>
33257
0c51e550
AJ
33258 * sysdeps/i386/fpu/libm-test-ulps: Update.
33259
7ac30cc5
AJ
33260 * FAQ: Removed.
33261 * FAQ.in: Likewise.
33262 * scripts/gen-FAQ.pl: Likewise.
33263 * manual/install.texi (Installation): Point to online location of
33264 FAQ.
33265 * Makefile (files-for-dist): Remove FAQ.
33266 (FAQ): Remove.
33267
d4c2917f
AM
332682012-05-02 Allan McRae <allan@archlinux.org>
33269
33270 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33271 (LDFLAGS-reldepmod5.so): Likewise.
33272 (LDFLAGS-reldep6mod1.so): Likewise.
33273 (LDFLAGS-reldep6mod4.so): Likewise.
33274 (LDFLAGS-reldep8mod3.so): Likewise.
33275 (LDFLAGS-unload4mod1.so): Likewise.
33276 (LDFLAGS-unload4mod2.so): Likewise.
33277 (LDFLAGS-tst-initorder): Likewise.
33278 (LDFLAGS-tst-initordera2.so): Likewise.
33279 (LDFLAGS-tst-initordera3.so): Likewise.
33280 (LDFLAGS-tst-initordera4.so): Likewise.
33281 (LDFLAGS-tst-initorderb2.so): Likewise.
33282 (LDFLAGS-noload): Likewise.
33283 (LDFLAGS-next): Likewise.
33284 (LDFLAGS-order2mod1.so): Likewise.
33285 (LDFLAGS-order2mod2.so): Likewise.
33286 (LDFLAGS-tst-initorder2): Likewise.
33287 (LDFLAGS-tst-initorder2a.so): Likewise.
33288 (LDFLAGS-tst-initorder2b.so): Likewise.
33289 (LDFLAGS-tst-initorder2c.so): Likewise.
33290 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33291
d77f993f
DM
332922012-05-02 David S. Miller <davem@davemloft.net>
33293
33294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33295
171a70b4
PP
332962012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
33297
33298 [BZ #14055]
33299 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33300
0be196ad
AJ
333012012-05-02 Andreas Jaeger <aj@suse.de>
33302
33303 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33304 since we manipulate rounding mode.
33305 (CPPFLAGS-test-idouble.c): Likewise.
33306 (CPPFLAGS-test-ifloat.c): Likewise.
33307 (CFLAGS-test-ldouble.c): Likewise.
33308 (CFLAGS-test-double.c): Likewise.
33309 (CFLAGS-test-float.c): Likewise.
33310 (CFLAGS-test-misc.c): Likewise.
33311 (CFLAGS-test-test-fenv.c): Likewise.
33312
4f9d04aa
AZ
333132012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33314
2b942cb7
RM
33315 [BZ #2550]
33316 [BZ #2570]
33317 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33318 comparisons to determine direction to adjust input.
4f9d04aa 33319
82a79e7d
RM
333202012-05-01 Roland McGrath <roland@hack.frob.com>
33321
f5a01ca9
RM
33322 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33323 output to the target.
33324
90fe4186
RM
33325 * scripts/localplt.awk: New file.
33326 * elf/Makefile ($(objpfx)check-localplt): Target removed.
33327 (check-localplt-CFLAGS): Variable removed.
33328 ($(all-built-dso:=.jmprel)): New static pattern rule.
33329 (generated): Add those targets.
33330 (localplt-built-dso): New variable.
33331 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33332
33333 * elf/check-localplt.c: File removed.
33334
82397ed6
RM
33335 * scripts/check-execstack.awk: New file.
33336 * elf/Makefile ($(objpfx)check-execstack): Target removed.
33337 (check-execstack-CFLAGS): Variable removed.
33338 ($(objpfx)check-execstack.h): Target removed.
33339 ($(objpfx)execstack-default): New target.
33340 (generated): Add that instead of check-execstack.h.
33341 ($(all-built-dso:=.phdr)): New static pattern rule.
33342 (generated): Add those targets.
33343 * elf/check-execstack.c: File removed.
33344
82a79e7d
RM
33345 * scripts/check-textrel.awk: New file.
33346 * elf/Makefile ($(objpfx)check-textrel): Target removed.
33347 (check-textrel-CFLAGS): Variable removed.
33348 (all-built-dso): Use := to define.o
33349 ($(all-built-dso:=.dyn)): New static pattern rule.
33350 (generated): Add those targets.
33351 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33352 * config.make.in (READELF): New substituted variable.
33353 * elf/check-textrel.c: File removed.
33354
62fde54f 333552012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 33356
615605c9
JM
33357 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33358 allow.
33359 * conform/data/ctype.h-data [C99-based standards] (isblank):
33360 Expect function.
33361 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33362 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33363 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33364 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33365 Specify type. Require positive value.
33366 (EILSEQ): Likewise.
33367 (ERANGE): Likewise.
33368 [ISO || POSIX] (EILSEQ): Do not expect.
33369 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33370 Specify type. Require positive value.
33371 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33372 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33373 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33374 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33375 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33376 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33377 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33378 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33379 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33380 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33381 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33382 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33383 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33384 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33385 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33386 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33387 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33388 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33389 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33390 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33391 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33392 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33393 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33394 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33395 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33396 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33397 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33398 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33399 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33400 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33401 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33402 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33403 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33404 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33405 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33406 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33407 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33408 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33409 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33410 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33411 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33412 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33413 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33414 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33415 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33416 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33417 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33418 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33419 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33420 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33421 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33422 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33423 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33424 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33425 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33426 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33427 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33428 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33429 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33430 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33431 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33432 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33433 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33434 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33435 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33436 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33437 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33438 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33439 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33440 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33441 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33442 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33443 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33444 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33445 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
33446 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
33447 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
33448 Require >= 2.
33449 (FLT_ROUNDS): Expect as macro, not constant.
33450 (FLT_MANT_DIG): Use macro-int-constant.
33451 (DBL_MANT_DIG): Likewise.
33452 (LDBL_MANT_DIG): Likewise.
33453 (FLT_DIG): Likewise.
33454 (DBL_DIG): Likewise.
33455 (LDBL_DIG): Likewise.
33456 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
33457 (DBL_MIN_EXP): Likewise.
33458 (LDBL_MIN_EXP): Likewise.
33459 (FLT_MAX_EXP): Use macro-int-constant.
33460 (DBL_MAX_EXP): Likewise.
33461 (LDBL_MAX_EXP): Likewise.
33462 (FLT_MAX_10_EXP): Likewise.
33463 (DBL_MAX_10_EXP): Likewise.
33464 (LDBL_MAX_10_EXP): Likewise.
33465 (FLT_MAX): Use macro-constant.
33466 (DBL_MAX): Likewise.
33467 (LDBL_MAX): Likewise.
33468 (FLT_EPSILON): Use macro-constant. Give upper bound.
33469 (DBL_EPSILON): Likewise.
33470 (LDBL_EPSILON): Likewise.
33471 (FLT_MIN): Likewise.
33472 (DBL_MIN): Likewise.
33473 (LDBL_MIN): Likewise.
33474 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
33475 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
33476 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
33477 [ISO11] (FLT_HAS_SUBNORM): Likewise.
33478 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
33479 [ISO11] (DBL_DECIMAL_DIG): Likewise.
33480 [ISO11] (FLT_DECIMAL_DIG): Likewise.
33481 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
33482 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
33483 [ISO11] (FLT_TRUE_MIN): Likewise.
33484 [ISO11] (LDBL_TRUE_MIN): Likewise.
33485 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33486 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
33487 (SCHAR_MIN): Use macro-int-constant. Specify type.
33488 (SCHAR_MAX): Likewise.
33489 (UCHAR_MAX): Likewise.
33490 (CHAR_MIN): Likewise.
33491 (CHAR_MAX): Likewise.
33492 (MB_LEN_MAX): Use macro-int-constant.
33493 (SHRT_MIN): Use macro-int-constant. Specify type.
33494 (SHRT_MAX): Likewise.
33495 (USHRT_MAX): Likewise.
33496 (INT_MAX): Likewise.
33497 (INT_MIN): Use macro-int-constant. Specify type. Make upper
33498 bound negative.
33499 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
33500 bound with "U".
33501 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33502 bound with "L".
33503 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
33504 bound negative. Suffix upper bound with "L".
33505 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33506 bound with "UL".
33507 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
33508 Specify type.
33509 [C99-based standards] (LLONG_MAX): Likewise.
33510 [C99-based standards] (ULLONG_MAX): Likewise.
33511 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
33512 == 0.
33513 [ISO11] (max_align_t): Require type.
33514 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33515
c9140a62
JM
33516 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
33517 from $CFLAGS, without defining away __attribute__ calls.
33518 (checknamespace): Use $CFLAGS_namespace.
33519
9af0bf29
JM
33520 * conform/conformtest.pl (@keywords): Only include C99 keywords
33521 for standards based on C99 or C11.
33522
343222a2
JM
33523 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
33524 Disable tests.
33525 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
33526 UNIX98]: Likewise.
33527
661f8cf0
JM
33528 * conform/conformtest.pl: Handle "macro-int-constant" and test for
33529 usability of symbols in #if.
33530
ee74b9cb
JM
33531 * conform/conformtest.pl: If macro or constant types start
33532 "promoted:", expect the symbol to be of the following type
33533 promoted by the integer promotions.
62fde54f 33534
aafc49b3
JM
33535 * conform/conformtest.pl: Parse all "constant" and "macro" lines
33536 in one place. Also handle "macro-constant".
33537
fefdf574
JM
33538 * conform/conformtest.pl: Only accept expected macro values with
33539 "==". Parse all "macro" lines in one place.
33540 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
33541
f2d922fe
JM
33542 * conform/conformtest.pl: Handle braced types on "constant" lines
33543 instead of handling "typed-constant".
33544 * conform/data/signal.h-data: Use "constant" instead of
33545 "typed-constant".
33546
d22956c9
JM
33547 * conform/conformtest.pl: Handle "optional-" at start of lines in
33548 one place rather than duplicating several cases. Handle each
33549 format of "macro" line with initial "optional-".
33550
028e2e38
JM
33551 * conform/conformtest.pl: Only accept expected constant or
33552 optional-constant values with "==". Parse all "constant" lines in
33553 one place. Parse all "optional-constant" lines in one place.
33554 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
33555 * conform/data/fmtmsg.h-data: Likewise.
33556 * conform/data/netinet/in.h-data: Likewise.
33557 * conform/data/tar.h-data: Likewise.
33558 * conform/data/limits.h-data: Use "==" form on "constant" and
33559 "optional-constant" lines.
33560
1b8f2850
JM
33561 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
33562 Use -std=c99 for XOPEN2K.
33563 (@knownproblems): Remove.
33564 (newtoken): Don't check %isknown.
33565
a05a144b
JM
33566 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
33567 Do not expect macro.
33568 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
33569 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
33570 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
33571 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
33572 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
33573 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
33574 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
33575 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
33576 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
33577 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
33578 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
33579 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
33580 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
33581 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
33582 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
33583 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
33584 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
33585 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
33586 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
33587 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
33588 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
33589 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
33590 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
33591 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
33592 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
33593 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
33594 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
33595 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
33596 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
33597 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
33598 [XPG3] (acosh): Likewise.
33599 [XPG3] (asinh): Likewise.
33600 [XPG3] (atanh): Likewise.
33601 [XPG3] (cbrt): Likewise.
33602 [XPG3] (expm1): Likewise.
33603 [XPG3] (ilogb): Likewise.
33604 [XPG3] (log1p): Likewise.
33605 [XPG3] (logb): Likewise.
33606 [XPG3] (nextafter): Likewise.
33607 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
33608 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
33609 [XPG3] (remainder): Likewise.
33610 [XPG3] (rint): Likewise.
33611 [XPG3 || XPG4 || UNIX98] (round): Likewise.
33612 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
33613 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
33614 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
33615 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
33616 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
33617 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
33618 [UNIX98 || XOPEN2K] (scalb): Expect.
33619 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
33620 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
33621 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
33622 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
33623 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
33624 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
33625 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
33626 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
33627 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
33628 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
33629 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
33630 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
33631 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
33632 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
33633 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
33634 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
33635 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
33636 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
33637 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
33638 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
33639 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
33640 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
33641 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
33642 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
33643 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
33644 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
33645 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
33646 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
33647 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
33648 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
33649 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
33650 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
33651 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
33652 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
33653 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
33654 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
33655 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
33656 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
33657 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
33658 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
33659 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
33660 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
33661 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
33662 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
33663 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
33664 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
33665 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
33666 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
33667 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
33668 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
33669 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
33670 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
33671 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
33672 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
33673 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
33674 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
33675 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
33676 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
33677 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
33678 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
33679 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
33680 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
33681 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
33682 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
33683 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
33684 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
33685 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
33686 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
33687 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
33688 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
33689 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
33690 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
33691 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
33692 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
33693 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
33694 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
33695 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
33696 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
33697 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
33698 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
33699 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
33700 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
33701 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
33702 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
33703 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
33704 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
33705 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
33706 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
33707 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
33708 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
33709 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
33710 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
33711 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
33712 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
33713 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
33714 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
33715 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
33716 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
33717 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
33718 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
33719 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
33720 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
33721 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
33722 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
33723 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
33724 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
33725 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
33726 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
33727 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
33728 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
33729 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
33730 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
33731 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
33732 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
33733 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
33734 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
33735 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
33736 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
33737 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
33738 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
33739 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
33740 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
33741 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
33742 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
33743 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
33744 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
33745 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
33746 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
33747 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
33748 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
33749 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
33750 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
33751 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
33752 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
33753 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
33754 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
33755 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
33756
73c5ebe3
JM
33757 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
33758 _XOPEN_SOURCE_EXTENDED for XPG4.
33759
39c33b6c
JM
33760 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
33761
62fde54f
JM
33762 * Makeconfig (localtime): Remove variable.
33763 (inst_localtime-file): Likewise.
33764
0741d64c
AS
337652012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33766
33767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33768 Update.
33769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33770 Update.
33771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33772 Update.
33773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33774 Update.
33775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33776 Update.
33777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
33778 Update.
33779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33780 Update.
33781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
33782 Update.
33783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33784 Update.
33785
7cb029ee
JM
337862012-05-01 Joseph Myers <joseph@codesourcery.com>
33787
33788 [BZ #2550]
33789 [BZ #2570]
33790 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
33791 comparisons to determine direction to adjust input.
33792 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33793 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
33794 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33795 Likewise.
33796 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33797 Likewise.
33798 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33799 Likewise.
33800 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33801 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33802 Likewise.
33803 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33804 Likewise.
33805 * math/libm-test.inc (nexttoward_test): Add more tests.
33806
412bd966
AS
338072012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33808
33809 [BZ #14040]
33810 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
33811 in version GLIBC_2.1, not GLIBC_2.0.
33812 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
33813 Likewise.
33814
9568c0c2
JM
338152012-04-30 Joseph Myers <joseph@codesourcery.com>
33816
adfbc8ac
JM
33817 [BZ #13942]
33818 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
33819 (1 - x) * (1 + x).
33820 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33821 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
33822 * math/libm-test.inc (acos_test): Add more tests.
33823 (asin_test): Likewise.
33824 * sysdeps/i386/fpu/libm-test-ulps: Update.
33825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33826
5ba3cc69
JM
33827 [BZ #14034]
33828 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
33829 of square root.
33830 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
33831 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33832 * math/libm-test.inc (acos_test_tonearest): New function.
33833 (acos_test_towardzero): Likewise.
33834 (acos_test_downward): Likewise.
33835 (acos_test_upward): Likewise.
33836 (asin_test_tonearest): Likewise.
33837 (asin_test_towardzero): Likewise.
33838 (asin_test_downward): Likewise.
33839 (asin_test_upward): Likewise.
33840 (main): Call the new functions.
33841 * sysdeps/i386/fpu/libm-test-ulps: Update.
33842 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33843
9568c0c2
JM
33844 [BZ #13884]
33845 [BZ #13924]
33846 * math/e_exp10.c: Include <float.h>.
33847 (__ieee754_exp10): Handle underflow here rather than multiplying
33848 large negative argument by M_LN10.
33849 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
33850 of __ieee754_expf.
33851 * math/e_exp10l.c: Include <float.h>.
33852 (__ieee754_exp10l): Handle underflow here rather than multiplying
33853 large negative argument by M_LN10l.
33854 * math/libm-test.inc (exp10_test): Add another test. Do not allow
33855 spurious overflow exception on underflow.
33856
5ac3ea17
MP
338572012-04-29 Marek Polacek <polacek@redhat.com>
33858
33859 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
33860 (__fortify_function): New macro.
33861 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
33862 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
33863 __extern_always_inline.
33864 * libio/bits/stdio2.h: Likewise.
33865 * libio/bits/stdio.h: Likewise.
33866 * string/string.h: Likewise.
33867 * string/bits/string3.h: Likewise.
33868 * include/stdio.h: Likewise.
33869 * stdlib/bits/stdlib.h: Likewise.
33870 * stdlib/stdlib.h: Likewise.
33871 * rt/bits/mqueue2.h: Likewise.
33872 * rt/mqueue.h: Likewise.
33873 * posix/bits/unistd.h: Likewise.
33874 * posix/unistd.h: Likewise.
33875 * io/bits/poll2.h: Likewise.
33876 * io/bits/fcntl2.h: Likewise.
33877 * io/fcntl.h: Likewise.
33878 * io/sys/poll.h: Likewise.
33879 * misc/bits/syslog.h: Likewise.
33880 * misc/bits/syslog-ldbl.h: Likewise.
33881 * misc/sys/syslog.h: Likewise.
33882 * socket/bits/socket2.h: Likewise.
33883 * socket/sys/socket.h: Likewise.
33884 * debug/tst-chk1.c: Likewise.
33885 * wcsmbs/bits/wchar2.h: Likewise.
33886 * wcsmbs/bits/wchar-ldbl.h: Likewise.
33887 * wcsmbs/wchar.h: Likewise.
33888
ecf0ebfb
AJ
338892012-04-29 Andreas Jaeger <aj@suse.de>
33890
33891 * Makerules (tests): Remove enable-check-abi protection.
33892 (check-abi-warn): Remove.
33893 (check-abi-%): Remove check-abi-warn usage.
33894
33895 * configure.in: Remove check-abi configure option.
33896 * configure: Regenerated.
33897 * config.make.in (enable-check-abi): Remove.
33898
6d5c57fa
AS
338992012-04-28 Andreas Schwab <schwab@linux-m68k.org>
33900
24c5d07e 33901 [BZ #14033]
ded5180a
AS
33902 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
33903 double functions to double *_finite functions.
33904
7e0d315d
AS
33905 [BZ #13941]
33906 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
33907 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
33908 LDBL_MIN_EXP.
33909 * stdio-common/Makefile (tests): Add tst-sprintf3.
33910 * stdio-common/tst-sprintf3.c: New file.
33911
6d5c57fa
AS
33912 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
33913 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
33914
0749ff8b
JM
339152012-04-28 Joseph Myers <joseph@codesourcery.com>
33916
33917 * conform/conformtest.pl: Remove duplicate typed-constant
33918 handling.
33919
8dbd5d7b
DM
339202012-04-28 David S. Miller <davem@davemloft.net>
33921
33922 * Makerules (%.abilist): Add vpath on sysdep_dirs.
33923 (check-abi-%): Remove AWK script prerequisite and explicit
33924 abilist directory.
33925 (check-abi): Rewrite to just diff the symlist with the abilist.
33926 (config-tls, config-abi-config): Delete, no longer used.
33927 (update-abi-%): Remove AWK script and explicit abilist directory.
33928 (update-abi): Rewrite to simply compare and conditionally copy the
33929 symlist and the sysdep abilist file. Remove update-abi-config
33930 checks.
33931 * abilist/ld.abilist: Remove.
33932 * abilist/libBrokenLocale.abilist: Remove.
33933 * abilist/libanl.abilist: Remove.
33934 * abilist/libcrypt.abilist: Remove.
33935 * abilist/libdl.abilist: Remove.
33936 * abilist/librt.abilist: Remove.
33937 * abilist/libthread_db.abilist: Remove.
33938 * abilist/libutil.abilist: Remove.
33939 * scripts/extract-abilist.awk: Remove.
33940 * scripts/merge-abilist.awk: Remove.
33941 * sysdeps/generic/libcidn.abilist: New file.
33942 * sysdeps/generic/libnss_compat.abilist: New file.
33943 * sysdeps/generic/libnss_db.abilist: New file.
33944 * sysdeps/generic/libnss_dns.abilist: New file.
33945 * sysdeps/generic/libnss_files.abilist: New file.
33946 * sysdeps/generic/libnss_hesiod.abilist: New file.
33947 * sysdeps/generic/libnss_nis.abilist: New file.
33948 * sysdeps/generic/libnss_nisplus.abilist: New file.
33949 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
33950 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
33951 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
33952 file.
33953 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
33954 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
33955 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
33956 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
33957 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
33958 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
33959 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
33960 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
33961 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
33962 file.
33963 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
33964 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
33965 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
33966 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
33967 file.
33968 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
33969 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
33970 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
33971 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
33972 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
33973 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
33974 file.
33975 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
33976 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
33977 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
33978 file.
33979 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
33980 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
33981 New file.
33982 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
33983 New file.
33984 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
33985 New file.
33986 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
33987 New file.
33988 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
33989 New file.
33990 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
33991 New file.
33992 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
33993 New file.
33994 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
33995 New file.
33996 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
33997 New file.
33998 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
33999 New file.
34000 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34001 New file.
34002 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34003 New file.
34004 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34005 New file.
34006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34007 file.
34008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34009 New file.
34010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34011 New file.
34012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34013 file.
34014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34015 New file.
34016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34017 New file.
34018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34019 file.
34020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34021 New file.
34022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34023 New file.
34024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34025 New file.
34026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34027 New file.
34028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34029 New file.
34030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34031 New file.
34032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34034 file.
34035 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34036 New file.
34037 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34038 file.
34039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34040 file.
34041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34042 file.
34043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34044 file.
34045 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34046 file.
34047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34048 New file.
34049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34050 file.
34051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34052 file.
34053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34054 New file.
34055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34056 file.
34057 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34059 file.
34060 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34061 New file.
34062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34063 file.
34064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34065 file.
34066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34067 file.
34068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34069 file.
34070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34071 file.
34072 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34073 New file.
34074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34075 file.
34076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34077 file.
34078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34079 New file.
34080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34081 file.
34082 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34083 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34084 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34085 file.
34086 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34087 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34088 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34089 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34090 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34091 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34092 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34093 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34094 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34095 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34098 file.
34099 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34100 New file.
34101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34102 file.
34103 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34104 file.
34105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34106 file.
34107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34108 file.
34109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34110 file.
34111 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34112 New file.
34113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34114 New file.
34115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34116 file.
34117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34118 New file.
34119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34120 file.
34121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34123 file.
34124 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34125 New file.
34126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34127 file.
34128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34129 file.
34130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34131 file.
34132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34133 file.
34134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34135 file.
34136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34137 New file.
34138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34139 New file.
34140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34141 file.
34142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34143 New file.
34144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34145 file.
34146
41d73a1b
JM
341472012-04-28 Joseph Myers <joseph@codesourcery.com>
34148
34149 * conform/conformtest.pl: Fix typo in handling typed-constant from
34150 allow-header.
34151
28aeeda4
JM
341522012-04-27 Joseph Myers <joseph@codesourcery.com>
34153
adae8f5e
JM
34154 * README: Cut down references to pre-2.6 Linux kernels and
34155 Linuxthreads. Update lists of configurations in libc and ports
34156 and sort alphabetically. Say "or newer" with Linux kernel version
34157 requirements.
34158
28aeeda4
JM
34159 * config.h.in [IS_IN_build]: Allow compiling without optimization.
34160
a462cb63
RA
341612012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34162
34163 [BZ #887]
34164 * math/libm-test.inc (logb_test_downward): New test to expose
34165 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34166 rounding mode.
34167
6ad3493e
JM
341682012-04-27 Joseph Myers <joseph@codesourcery.com>
34169
34170 [BZ #14027]
34171 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34172 to be done.
34173 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34174 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34175
2ce4f015
JM
341762012-04-26 Joseph Myers <joseph@codesourcery.com>
34177
5aeb141a
JM
34178 * sysdeps/unix/i386/brk.S: Remove file.
34179 * sysdeps/unix/i386/dl-brk.S: Likewise.
34180 * sysdeps/unix/i386/pipe.S: Likewise.
34181 * sysdeps/unix/i386/sigreturn.S: Likewise.
34182 * sysdeps/unix/i386/syscall.S: Likewise.
34183 * sysdeps/unix/i386/vfork.S: Likewise.
34184 * sysdeps/unix/i386/wait.S: Likewise.
34185
7143acae
JM
34186 * sysdeps/unix/common/tcsendbrk.c: Move to ...
34187 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34188
2ce4f015
JM
34189 * configure.in (arm*-none*): Do not allow without
34190 --enable-hacker-mode.
34191 (netbsd*): Remove case setting base_os.
34192 (386bsd*): Likewise.
34193 (freebsd*): Likewise.
34194 (bsdi*): Likewise.
34195 (osf*): Likewise.
34196 (sunos*): Likewise.
34197 (ultrix*): Likewise.
34198 (newsos*): Likewise.
34199 (dynix*): Likewise.
34200 (*bsd*): Likewise.
34201 (sysv*): Likewise.
34202 (isc*): Likewise.
34203 (esix*): Likewise.
34204 (sco*): Likewise.
34205 (minix*): Likewise.
34206 (irix4*): Likewise.
34207 (irix6*): Likewise.
34208 (solaris[2-9]*): Likewise.
34209 (none): Likewise.
34210 * configure: Regenerated.
34211
0ac229c8
AZ
342122012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34213
34214 [BZ #11521]
34215 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34216 overflow or cancellation in calculating denominator.
34217 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34218 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34219 down expression to avoid unexpected rounding in newer GCCs.
34220 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34221
33f244f4
DM
342222012-04-26 David S. Miller <davem@davemloft.net>
34223
34224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34225 long-double compat symbols.
34226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34239
cfa1f3e8
DM
342402012-04-25 David S. Miller <davem@davemloft.net>
34241
34242 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34243 HWCAP_* values only after the memory barriers have been defined.
34244 (atomic_full_barrier): Define.
34245 (atomic_read_barrier): Define.
34246 (atomic_write_barrier): Define.
34247
6e236b92
SP
342482012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34249
34250 * shlib-versions: Add libgcc_s version information.
34251 * sysdeps/generic/libgcc_s.h: Remove.
34252 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34253 libgcc_s.h.
34254 * sysdeps/gnu/unwind-resume.c: Likewise.
34255 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34256
aab39a09
DM
342572012-04-25 David S. Miller <davem@davemloft.net>
34258
34259 * sysdeps/unix/sparc/brk.S: Delete.
34260 * sysdeps/unix/sparc/dl-brk.S: Delete.
34261 * sysdeps/unix/sparc/pipe.S: Delete.
34262 * sysdeps/unix/sparc/sysdep.S: Delete.
34263 * sysdeps/unix/sparc/sysdep.h: Delete.
34264 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
34265 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34266 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34267 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34268 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
34269 (JUMPTARGET): Remove.
34270 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34271 sysdeps/unix/sparc/sysdep.h
34272 (ENTRY, END): Remove.
34273 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34274
a3cc4f48
JM
342752012-04-25 Joseph Myers <joseph@codesourcery.com>
34276
2ed8cda2
JM
34277 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34278 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34279 -DIS_IN_build.
34280
35d76d59
JM
34281 * timezone/README: Update upstream location and email address for
34282 tzcode and tzdata.
34283 * timezone/zdump.c: Update from tzcode 2012b.
34284 * timezone/zic.c: Likewise.
34285
a3cc4f48
JM
34286 * configure.in (libc_cv_as_needed): Remove test.
34287 * configure: Regenerated.
34288 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34289 conditional definition.
34290 [$(have-as-needed) != yes] (no-as-needed): Likewise.
34291 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34292 * config.make.in (have-as-needed): Remove variable.
34293
ceab42c3
SP
342942012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34295 Paul Pluzhnikov <ppluzhnikov@google.com>
34296
34297 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34298 strings correctly.
34299
3ce2865f
CLT
343002012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
34301
34302 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34303 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34304 * sysdeps/sh/strlen.S: Likewise.
34305
f37e0d68
JM
343062012-04-24 Joseph Myers <joseph@codesourcery.com>
34307
ae186e9a
JM
34308 * sysdeps/unix/fork.S: Remove file.
34309 * sysdeps/unix/i386/fork.S: Likewise.
34310 * sysdeps/unix/sparc/fork.S: Likewise.
34311
b96914af
JM
34312 * sysdeps/unix/system.c: Remove file.
34313 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34314
f37e0d68
JM
34315 * sysdeps/unix/getegid.S: Remove file.
34316 * sysdeps/unix/geteuid.S: Likewise.
34317
87ef29ca
RM
343182012-04-24 Roland McGrath <roland@hack.frob.com>
34319
83bcd236
RM
34320 * scripts/check-localplt.awk: New file.
34321 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34322 of diff.
34323 * scripts/data/localplt-generic.data: Add a comment.
34324
87ef29ca
RM
34325 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34326 NODE when __dir_mkfile failed.
34327 * sysdeps/mach/hurd/symlinkat.c: Likewise.
34328 Reported by Ludovic Courtès <ludo@gnu.org>.
34329
e5a6e567
AJ
343302012-04-24 Andreas Jaeger <aj@suse.de>
34331
34332 * Makerules (common-clean): Also remove gen-as-const-headers
34333 files.
34334
c1820385
JM
343352012-04-24 Joseph Myers <joseph@codesourcery.com>
34336
34337 * Makerules (native-compile): Do not change working directory for
34338 build. Use $(OUTPUT_OPTION) in command.
34339 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34340
94e02fc4
AZ
343412012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34342
34343 [BZ #13886]
34344 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34345 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34346 * math/libm-test.inc (floor_test): Add more tests.
34347 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34348
3a533ca3
JM
343492012-04-24 Joseph Myers <joseph@codesourcery.com>
34350
940ab4b3
JM
34351 * sysdeps/unix/getdents.c: Remove file.
34352 * sysdeps/unix/sysv/getdents.c: Likewise.
34353 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34354
90e037bd
JM
34355 * sysdeps/unix/syscalls.list (madvise): Add syscall from
34356 sysdeps/unix/mman/syscalls.list.
34357 (mmap): Likewise.
34358 (mprotect): Likewise.
34359 (msync): Likewise.
34360 (munmap): Likewise.
34361 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34362 * sysdeps/unix/mman/syscalls.list: Remove.
34363 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34364
3a533ca3
JM
34365 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34366 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34367 * configure: Regenerated.
34368 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34369 $(libgcc_s_suffix).
34370 * config.make.in (libgcc_s_suffix): Remove variable.
34371
1ad743de
JM
343722012-04-23 Joseph Myers <joseph@codesourcery.com>
34373
4ad451e2
JM
34374 * sysdeps/unix/sysv/gethostname.c: Move to ...
34375 * sysdeps/posix/gethostname.c: ... here.
34376
5e37ce39
JM
34377 * sysdeps/unix/execve.S: Remove file.
34378
1ad743de
JM
34379 * sysdeps/unix/_exit.S: Remove file.
34380
4e681b5b
AJ
343812012-04-23 Andreas Jaeger <aj@suse.de>
34382
34383 [BZ #13739]
34384 * manual/Makefile: Remove make dist support, there's no
34385 need for a stand-alone documentation tar ball.
34386 (TEXI2DVI): Define always, it's not in Makeconfig.
34387 (dist): Removed.
34388 (tar-it): Removed.
34389 (edition): Removed.
34390 (glibc-doc-$(edition).tar): Removed
34391 (%.Z): Removed.
34392 (%.gz): Removed.
34393 (%.uu): Removed.
34394 (ETAGS): Remove, it's in Makeconfig.
34395 (move-if-change): Remove, it's in Makeconfig.
34396
38686a03 343972012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
34398
34399 [BZ #13970]
34400 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34401 (strtod, strtof, strtold, strtol, strtoul, strtoq)
34402 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34403 (strtod_l, strtof_l, strtold_l): Remove __wur.
34404 It is not necessarily an error to ignore strtol's return value.
34405 One can reliably look at the stored endptr to decide whether
34406 the number had valid syntax.
34407
7c0616fa
AJ
344082012-04-21 Andreas Jaeger <aj@suse.de>
34409
803cb6b7 34410 [BZ #13739]
7c0616fa
AJ
34411 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34412
b0fe253f
JM
344132012-04-21 Joseph Myers <joseph@codesourcery.com>
34414
34415 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34416 * sysdeps/unix/sysv/Versions: Remove file.
34417
8280f22d
MT
344182012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
34419
34420 [BZ #13927]
34421 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34422
75ce411f 344232012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
34424
34425 [BZ #7064]
34426 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34427 version from __vm86.
34428
097d59fa
JM
344292012-04-20 Joseph Myers <joseph@codesourcery.com>
34430
a90f3bcb
JM
34431 * sysdeps/unix/common/lxstat.c: Remove file.
34432 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34433
edc7ea78
JM
34434 * sysdeps/unix/sysv/Makefile: Remove file.
34435
cb78c221
JM
34436 * sysdeps/unix/sysv/direct.h: Remove file.
34437
efa6a45f
JM
34438 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34439 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34440 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34441 * sysdeps/unix/sysv/bits/signum.h: Likewise.
34442 * sysdeps/unix/sysv/bits/stat.h: Likewise.
34443 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34444 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34445
9c9f2d0c
JM
34446 * sysdeps/unix/sysv/setrlimit.c: Remove file.
34447
4541c83b
JM
34448 * sysdeps/unix/xmknod.c: Remove file.
34449 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
34450
f5d153a0
JM
34451 * sysdeps/unix/sysv/settimeofday.c: Remove file.
34452
aa746595
JM
34453 * sysdeps/unix/sysv/i386/time.S: Remove file.
34454
cce5905e
JM
34455 * sysdeps/unix/fxstat.c: Remove file.
34456 * sysdeps/unix/xstat.c: Likewise.
34457 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
34458
37fa3841
JM
34459 * sysdeps/unix/sysv/sigaction.c: Remove file.
34460
ff1962a3
JM
34461 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
34462 (sysdep_headers): Remove variable.
34463 [termio.h not in sysdep_headers] (generated): Likewise.
34464 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
34465 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
34466 * sysdeps/unix/sysv/tcdrain.c: Likewise.
34467 * sysdeps/unix/sysv/tcflow.c: Likewise.
34468 * sysdeps/unix/sysv/tcflush.c: Likewise.
34469 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
34470 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
34471 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
34472 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
34473 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
34474
e7740d31
JM
34475 * sysdeps/unix/siglist.c: Remove file.
34476
ee06f18b
JM
34477 * sysdeps/unix/getppid.S: Remove file.
34478
097d59fa
JM
34479 * sysdeps/unix/mkdir.c: Remove file.
34480 * sysdeps/unix/rmdir.c: Likewise.
34481
ff3d51ec
AS
344822012-04-19 Andreas Schwab <schwab@linux-m68k.org>
34483
34484 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
34485 ERR_MAX value.
34486 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
34487 errlist-compat value.
34488
50f81fd7
DM
344892012-04-18 David S. Miller <davem@davemloft.net>
34490
34491 * sysdeps/generic/memcopy.h (reg_char): Delete.
34492 * debug/strcat_chk.c: Use char, not reg_char.
34493 * debug/strcpy_chk.c: Likewise.
34494 * debug/strncat_chk.c: Likewise.
34495 * debug/strncpy_chk.c: Likewise.
34496 * string/memchr.c: Likewise.
34497 * string/memrchr.c: Likewise.
34498 * string/rawmemchr.c: Likewise.
34499 * string/strcat.c: Likewise.
34500 * string/strchr.c: Likewise.
34501 * string/strchrnul.c: Likewise.
34502 * string/strcmp.c: Likewise.
34503 * string/strcpy.c: Likewise.
34504 * string/strncat.c: Likewise.
34505 * string/strncmp.c: Likewise.
34506 * string/strncpy.c: Likewise.
34507
8ff41c46
WS
345082012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34509
34510 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
34511 __builtin_memcopy is called when src and dest ranges are known to not
34512 overlap.
34513
6b652f46
WS
345142012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34515
34516 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
34517 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
34518 fwd_align_merge macro call.
34519 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
34520 bwd_align_merge macro call.
34521 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34522
b282631e
WS
345232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34524
34525 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
34526 bwd_align_merge macros.
34527 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
34528 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
34529 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34530
95aa737c
DM
345312012-04-18 David S. Miller <davem@davemloft.net>
34532
34533 * sysdeps/sparc/sparc64/memcopy.h: Delete.
34534
7a99a614
AJ
345352012-04-18 Andreas Jaeger <aj@suse.de>
34536
34537 [BZ# 6794]
34538 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
34539 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
34540 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34541
34542 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
34543 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
34544 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34545
34546 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
34547 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
34548 Adjust for changed ldbl-128 files.
34549
34550 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
34551 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
34552 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34553
e5270c23
DM
345542012-04-17 David S. Miller <davem@davemloft.net>
34555
34556 * sysdeps/sparc/sparc32/memcopy.h: Delete.
34557
fb5e92c9
AS
345582012-04-17 Andreas Schwab <schwab@linux-m68k.org>
34559
34560 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
34561 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
34562 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
34563 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
34564 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34565 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
34566
76da7265
AZ
345672012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34568
34569 [BZ #6794]
34570 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
34571 * math/libm-test.inc: Add ilogb errno and exception tests.
34572 * math/w_ilogb.c: New file: ilogb wrapper.
34573 * math/w_ilogbf.c: New file: ilogbf wrapper.
34574 * math/w_ilogbl.c: New file: ilogbl wrapper.
34575 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
34576 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
34577 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
34578 exception being thrown with 0.0 as argument.
34579 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
34580 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
34581 exception being thrown with 0.0 as argument.
34582 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
34583 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34584 exception being thrown with 0.0 as argument.
34585 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
34586 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34587 exception being thrown with 0.0 as argument.
34588 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
34589 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 34590 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
34591 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
34592 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
34593 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
34594 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
34595 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
34596 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
34597
0396e69d
PB
345982012-04-17 Petr Baudis <pasky@ucw.cz>
34599
34600 * include/sys/uio.h: Change __vector to __iovec to avoid clash
34601 with altivec.
34602
750b5926
MP
346032012-04-16 Marek Polacek <polacek@redhat.com>
34604
34605 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
34606
751728a1
MP
346072012-04-16 Marek Polacek <polacek@redhat.com>
34608
34609 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
34610 operands of fdivp instruction.
34611
34a27407
L
346122012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34613
34614 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
34615 * elf/tst-auditmod3b.c: Likewise.
34616 * elf/tst-auditmod4b.c: Likewise.
34617 * elf/tst-auditmod5b.c: Likewise.
34618 * elf/tst-auditmod6b.c: Likewise.
34619 * elf/tst-auditmod6c.c: Likewise.
34620 * elf/tst-auditmod7b.c: Likewise.
34621 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
34622 * sysdeps/x86_64/preconfigure.in: Likewise.
34623 * sysdeps/x86_64/preconfigure: Regenerated.
34624
7e73e17d
L
346252012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34626
34627 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
34628 __ILP32__.
34629
c7a6ab72
AB
346302012-04-13 Antoine Balestrat <merkil33@gmail.com>
34631
34632 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34633 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
34634
a9e8e0e0
CL
346352012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
34636
34637 [BZ #13973]
34638 * locale/iso-639.def: Fix gl language name. Spotted by
34639 Yaron Shahrabani.
34640
ec98af7d
RM
346412012-04-12 Roland McGrath <roland@hack.frob.com>
34642
34643 [BZ #2074]
34644 * libio/libio.h (__io_write_fn): Update comment.
34645
247c3ede
PB
346462012-04-12 Petr Baudis <pasky@ucw.cz>
34647
34648 [BZ #2074]
34649 * stdio.texi (Hook Functions): The user provided writer function
34650 is not allowed to return -1.
34651
55939d6d
DM
346522012-04-11 David S. Miller <davem@davemloft.net>
34653
34654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34655
90020f5a
MF
346562012-04-11 Mike Frysinger <vapier@gentoo.org>
34657
34658 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
34659 Add a leading slash to rtkaio.
34660
288f9098
JM
346612012-04-11 Jim Meyering <meyering@redhat.com>
34662
90020f5a
MF
34663 [BZ #11959]
34664 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
34665 It is not necessarily an error to ignore fwrite's return
34666 value. One can reliably use ferror to test for errors after
34667 the fact.
288f9098 34668
4be2b570
L
346692012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34670
34671 * bits/types.h (__snseconds_t): New type.
34672 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
34673
34674 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
34675 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34676 (__SNSECONDS_T_TYPE): Likewise.
34677 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34678 (__SNSECONDS_T_TYPE): Likewise.
34679 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34680 (__SNSECONDS_T_TYPE): Likewise.
34681
288f9098 346822012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
34683
34684 [BZ #2636]
34685 * manual/time.texi (Processor Time): Return type of times is
34686 elapsed real time since an arbitrary point in the past.
34687 (CPU Time): Move CLK_TCK from here...
34688 (Processor Time): ...to here. Correct description.
34689 * manual/conf.texi (Constants for Sysconf): Correct description of
34690 _SC_CLK_TCK.
34691
d7dd4413
DM
346922012-04-10 David S. Miller <davem@davemloft.net>
34693
34694 [BZ #13967]
34695 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
34696 where the is a gap between DT_REL(A) and DT_JMPREL.
34697
b46068fc
L
346982012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34699
34700 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
34701 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34702 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34703
73d65cc3
SP
347042012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34705
34706 * elf/dl-support.c (_dl_inhibit_cache): New variable.
34707 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
34708 (dl_main): Handle --inhibit-cache.
34709 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
34710 _dl_inhibit_cache.
34711 * elf/dl-load.c (_dl_map_object): Use it.
34712 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
34713
bcc8d661
JM
347142012-04-09 Joseph Myers <joseph@codesourcery.com>
34715
8f9a2fae
JM
34716 [BZ #13872]
34717 * sysdeps/i386/fpu/e_powl.S (p78): New object.
34718 (__ieee754_powl): Saturate large exponents rather than testing for
34719 overflow of y*log2(x).
34720 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34721 * math/libm-test.inc (pow_test): Do not permit spurious overflow
34722 exceptions.
34723
bcc8d661
JM
34724 [BZ #11521]
34725 * math/s_ctan.c: Include <float.h>.
34726 (__ctan): Avoid internal overflow or cancellation in calculating
34727 denominator.
34728 * math/s_ctanf.c: Likewise.
34729 * math/s_ctanl.c: Likewise.
34730 * math/s_ctanh.c: Likewise.
34731 * math/s_ctanhf.c: Likewise.
34732 * math/s_ctanhl.c: Likewise.
34733 * math/libm-test.inc (ctan_test): Add more tests.
34734 (ctanh_test): Likewise.
34735 * sysdeps/i386/fpu/libm-test-ulps: Update.
34736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34737
823fbbb4
AJ
347382012-04-09 Andreas Jaeger <aj@suse.de>
34739
03879793
AJ
34740 [BZ #6894]
34741 * manual/filesys.texi (Directory Entries): Mention that d_namlen
34742 is an optional BSD extension.
34743
823fbbb4
AJ
34744 [BZ #10254]
34745 * manual/stdio.texi (Opening Streams): Document additional fopen
34746 parameters.
34747
8de131cb
RM
347482012-04-09 Roland McGrath <roland@hack.frob.com>
34749
34750 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
34751 %eax without telling the compiler.
34752
c0ed9d7d
CD
347532012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
34754
34755 [BZ # 13963]
34756 * manual/install.texi: Use sourceware.org.
34757
c483f6b4
JM
347582012-04-09 Joseph Myers <joseph@codesourcery.com>
34759
d7dd9453
JM
34760 [BZ #13873]
34761 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
34762 (__ieee754_pow): Generate overflow and underflow using huge*huge
34763 and tiny*tiny rather than just returning constant infinity or zero
34764 for large exponents.
34765 * math/libm-test.inc (pow_test): Require overflow exceptions for
34766 applicable cases of large exponents.
34767
c483f6b4
JM
34768 [BZ #706]
34769 * sysdeps/i386/fpu/e_pow.S (p10): New object.
34770 (__ieee754_pow): Use iterative multiplication algorithm only for
34771 integer exponents with absolute value below 1024. Check for odd
34772 integer exponents when using algorithm for real exponents.
34773 * math/libm-test.inc (pow_test): Add more tests.
34774 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34775
d2de7579
JM
347762012-04-08 Joseph Myers <joseph@codesourcery.com>
34777
34778 [BZ #13705]
34779 * math/libm-test.inc (exp_test): Do not allow overflow exception
34780 on underflow test.
34781
f77f1232
AJ
347822012-04-08 Aurelien Jarno <aurelien@aurel32.net>
34783
34784 [BZ #13705]
34785 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
34786 instead of __kernel_standard_f.
34787
3884932b
MF
347882012-04-08 Mike Frysinger <vapier@gentoo.org>
34789
34790 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
34791 * sysdeps/x86_64/memset_chk.S: Likewise.
34792
54472e9c
AJ
347932012-04-08 Andreas Jaeger <aj@suse.de>
34794
6ab0fbfc
AJ
34795 [BZ #10153]
34796 * manual/startup.texi (Environment Access): Describe return value
34797 for putenv and setenv.
34798
61efba8c
AJ
34799 [BZ #6895]
34800 * manual/filesys.texi (Directory Entries): Add description for
34801 DT_LNK.
34802
95c3f29a
AJ
34803 [BZ #6890]
34804 * manual/filesys.texi (Directory Entries): Clarify that it's file
34805 system not operating system in the description of DT_UNKNOWN.
34806
54472e9c
AJ
34807 [BZ #6578]
34808 * manual/syslog.texi (closelog): Fix reference, it's openlog.
34809
624254b1
SC
348102012-04-08 Stephen Compall <s11@member.fsf.org>
34811
34812 [BZ #6649]
34813 * manual/llio.texi (Opening and Closing Files): Add cross
34814 reference to explain mode argument.
34815
1e4920e0
MF
348162012-04-07 Mike Frysinger <vapier@gentoo.org>
34817
34818 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
34819 * sysdeps/x86_64/memset_chk.S: Likewise.
34820
5ed848f3
DM
348212012-04-07 David S. Miller <davem@davemloft.net>
34822
34823 * elf/elf.h (R_SPARC_WDISP10): Define.
34824 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
34825 R_SPARC_SIZE32.
34826 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
34827 R_SPARC_SIZE64 and R_SPARC_H34.
34828
96154cd8
CD
348292012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
34830
34831 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
34832 conditions and remove no longer applicable assertion.
34833
9904dc47
L
348342012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34835
34836 * bits/byteswap.h: Include <features.h>.
34837 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34838 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34839
f8887d0a
L
348402012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34841
34842 * bits/byteswap.h (__bswap_16): Removed.
34843 Include <bits/byteswap-16.h> to get __bswap_16.
34844 * sysdeps/i386/bits/byteswap.h: Likewise.
34845 * sysdeps/s390/bits/byteswap.h: Likewise.
34846 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34847 * bits/byteswap-16.h: New file.
34848 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34849 * sysdeps/s390/bits/byteswap-16.h: Likewise.
34850 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
34851 * string/Makefile (headers): Add bits/byteswap-16.h.
34852
62470f60
PP
348532012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34854
34855 [BZ #13895]
34856 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
34857 extra indirection.
34858 * nss/Makefile (tests-static, tests): Add tst-nss-static.
34859 * nss/tst-nss-static.c: New.
34860
4dad7bab
RM
348612012-04-06 Robert Millan <rmh@gnu.org>
34862
34863 [BZ #6486]
34864 * manual/llio.texi (File Position Primitive): lseek
34865 refers to WHENCE when it really means OFFSET.
34866
e9142a17
AJ
348672012-04-06 Andreas Jaeger <aj@suse.de>
34868
2c040eff
AJ
34869 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
34870 strncmp declarations.
34871
e9142a17
AJ
34872 * abilist/libc.abilist: Add __poll and __ppoll.
34873
ff9f1c5f
DM
348742012-04-05 David S. Miller <davem@davemloft.net>
34875
dcd2ae90
DM
34876 * scripts/check-local-headers.sh: Accept a host triplet in the
34877 path matched by the exclude regexp.
34878
993eb054
DM
34879 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
34880 definition.
34881 * sysdeps/powerpc/powerpc32/dl-machine.h
34882 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
34883 * sysdeps/s390/s390-32/dl-machine.h
34884 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34885 * sysdeps/sparc/sparc32/dl-machine.h
34886 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34887 * sysdeps/sparc/sparc64/dl-machine.h
34888 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34889
ff9f1c5f
DM
34890 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
34891 lazy binding.
48e2e132 34892 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
34893 undefined symbol errors.
34894
48e2e132 34895 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
34896 DT_NEEDED entries.
34897
e80d6f94
MM
348982012-04-05 Michael Matz <matz@suse.de>
34899
34900 [BZ #13592]
34901 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
34902
349fa79f
AJ
349032012-04-05 Andreas Jaeger <aj@suse.de>
34904
34905 [BZ #13908]
34906 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
34907 comment.
34908
f402708f
KK
349092012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34910
34911 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
34912 which ROUND is no valid rounding mode.
34913
2ecccfc9
KK
349142012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34915
34916 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
34917 read again.
34918 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
34919
8a53f50f
KK
349202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34921
34922 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
34923 an exception using FPU order intentionally.
34924
349252012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34926
34927 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
34928 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
34929 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
34930 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
34931
d653abb7
SJ
349322012-04-05 Simon Josefsson <simon@josefsson.org>
34933
34934 [BZ #12340]
34935 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
34936 EINVAL when BUFLEN is too smal.
34937
c3b1bf7d
TS
349382012-04-05 Thomas Schwinge <thomas@codesourcery.com>
34939
34940 [BZ #13553]
34941 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
34942 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
34943
b1aa60f3
AJ
349442012-04-03 Andreas Jaeger <aj@suse.de>
34945
c3b1bf7d 34946 [BZ #13938]
67f60a26
AJ
34947 * manual/setjmp.texi (System V contexts): Fix sentence.
34948
b1aa60f3
AJ
34949 [BZ #13926]
34950 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
34951 New macro for this case.
34952 [!__GNUC__] (__bswap_64): New inline function for this case.
34953 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34954 * bits/byteswap.h: Likewise.
34955 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
34956 ull, guard with __GLIBC_HAVE_LONG_LONG.
34957
34958 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
34959 __GLIBC_HAVE_LONG_LONG.
34960
34961 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
34962 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
34963
39c59c35
TMQMF
349642012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34965
34966 [BZ #13691]
34967 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
34968 inptr and inend, rather than using last_ch.
34969
135ffda8
DM
349702012-04-02 David S. Miller <davem@davemloft.net>
34971
34972 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
34973 * stdio-common/printf-parse.h (read_int): Change return type to
34974 'int', return -1 on INT_MAX overflow.
34975 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
34976 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
34977 overflows INT_MAX. Check for overflow of in-format-string precision
34978 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
34979 SIZE_MAX not INT_MAX for integer overflow test.
34980 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
34981 skip the construct in the format string but do not record anything.
34982 * stdio-common/bug22.c: Adjust to test both width/prevision
34983 INT_MAX overflow as well as total length INT_MAX overflow. Check
34984 explicitly for proper errno values.
34985
228c019e
TS
349862012-04-02 Thomas Schwinge <thomas@codesourcery.com>
34987
302cadd3
TS
34988 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
34989 CHAR_MAX.
34990 * string/test-strcmp.c [! WIDE]: Likewise.
34991 * time/tst-mktime2.c: Likewise for INT_MAX.
34992 * string/test-string.h: #include <sys/param.h> for MIN.
34993
228c019e
TS
34994 * csu/init-first.c (__libc_init_first): Call __ctype_init.
34995 * sysdeps/i386/init-first.c (init): Likewise.
34996 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
34997 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
34998 * sysdeps/sh/init-first.c (init): Likewise.
34999
cfa633f5
UD
350002012-04-01 Ulrich Drepper <drepper@gmail.com>
35001
35002 * po/ru.po: Update from translation team.
d1635ef8 35003 * po/vi.po: Likewise.
cfa633f5 35004
6cd0a5ea
SP
350052012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35006
35007 * resolv/nss_dns/dns-host.c: Merge copyright years.
35008
4b43400f
LD
350092012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35010
35011 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35012 Optimize memcpy with prefetch if
35013 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
35014 src, dst pointers have unequal 16 byte alignments.
35015
48c41d04
SP
350162012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35017
35018 [BZ #13928]
35019 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35020 from a CNAME entry and return the minimum ttl for the query.
35021 (gaih_getanswer_slice): Likewise.
35022
b8dc394d
JL
350232012-03-30 Jeff Law <law@redhat.com>
35024
35025 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35026 due to long keys.
35027 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35028 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35029
2f5a5ed0
JL
35030 * resolv/nss_dns/dns-host.c: Update copyright year.
35031
1d39e359
UD
350322012-03-30 Ulrich Drepper <drepper@gmail.com>
35033
c030f70c 35034 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 35035 requests to save a system call. Fix check that all bytes are sent.
c030f70c 35036
1d39e359
UD
35037 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35038 comments for sendmmsg.
35039
350402012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
35041
35042 [BZ #13691]
35043 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35044 with only 1 character between 0x0041 and 0x01b0.
35045 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35046 * wcsmbs/tst-mbsnrtowcs.c: New file.
35047
20fde227
DM
350482012-03-29 David S. Miller <davem@davemloft.net>
35049
35050 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35051 small copies by hand.
35052
984a4237
JL
350532012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35054
35055 [BZ #13761]
57f41c40
AS
35056 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35057 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35058 group memberships.
984a4237 35059
18c9d62b
DM
350602012-03-28 David S. Miller <davem@davemloft.net>
35061
88d85d4f
DM
35062 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35063 that branches into memcpy.
35064 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35065 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35066 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35067 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35068 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35069 bits.
35070 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35071 implementation too.
35072 * sysdeps/sparc/mempcpy.S: New file.
35073
e5aa83e1
DM
35074 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35075 the IFUNC routine in the libc case.
35076 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35077
88570753
DM
35078 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35079 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35080 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35081 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35082 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35083 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35084 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35085 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35086
249d7567
DM
35087 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35088 loop to 256 bytes instead of 64 bytes and fix test signedness.
35089
18c9d62b
DM
35090 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35091 * sysdeps/sparc/sparc32/Makefile: rather than here...
35092 * sysdeps/sparc/sparc64/Makefile: and here.
35093
05f3d1f6
UD
350942012-03-28 Ulrich Drepper <drepper@gmail.com>
35095
35096 * malloc/mallocbug.c: Avoid warnings about unused variables.
35097
86ae07a8
JL
350982012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35099
35100 [BZ #13760]
35101 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35102 in the right place. Discard and retry query if response is
35103 larger than input buffer size.
35104
41bf21a1
JM
351052012-03-28 Joseph Myers <joseph@codesourcery.com>
35106
d6270972
JM
35107 [BZ #369]
35108 [BZ #2678]
35109 [BZ #3866]
35110 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35111 x for large integer exponent.
35112 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35113 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
35114 sign of result as needed afterwards.
35115 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35116 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35117 result for underflowing pow the same as for overflow.
35118 (__kernel_standard_l): Handle powl overflow and underflow here
35119 rather than calling __kernel_standard.
35120 * math/libm-test.inc (pow_test): Add more tests.
35121
414fca03 35122 [BZ #3868]
41bf21a1
JM
35123 [BZ #13879]
35124 [BZ #13910]
35125 [BZ #13911]
35126 [BZ #13912]
35127 [BZ #13913]
35128 [BZ #13915]
35129 [BZ #13916]
35130 [BZ #13917]
35131 [BZ #13918]
35132 [BZ #13919]
35133 [BZ #13920]
35134 [BZ #13921]
35135 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35136 * sysdeps/ieee754/k_standard.c: Include <float.h>.
35137 (__kernel_standard_l): New function.
35138 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35139 __kernel_standard.
35140 * math/w_acosl.c (__acosl): Likewise.
35141 * math/w_asinl.c (__asinl): Likewise.
35142 * math/w_atan2l.c (__atan2l): Likewise.
35143 * math/w_atanhl.c (__atanhl): Likewise.
35144 * math/w_coshl.c (__coshl): Likewise.
35145 * math/w_exp10l.c (__exp10l): Likewise.
35146 * math/w_exp2l.c (__exp2l): Likewise.
35147 * math/w_fmodl.c (__fmodl): Likewise.
35148 * math/w_hypotl.c (__hypotl): Likewise.
35149 * math/w_j0l.c (__j0l, __y0l): Likewise.
35150 * math/w_j1l.c (__j1l, __y1l): Likewise.
35151 * math/w_jnl.c (__jnl, __ynl): Likewise.
35152 * math/w_lgammal.c (__lgammal): Likewise.
35153 * math/w_log10l.c (__log10l): Likewise.
35154 * math/w_log2l.c (__log2l): Likewise.
35155 * math/w_logl.c (__logl): Likewise.
35156 * math/w_powl.c (__powl): Likewise.
35157 * math/w_remainderl.c (__remainderl): Likewise.
35158 * math/w_scalbl.c (sysv_scalbl): Likewise.
35159 * math/w_sinhl.c (__sinhl): Likewise.
35160 * math/w_sqrtl.c (__sqrtl): Likewise.
35161 * math/w_tgammal.c (__tgammal): Likewise.
35162 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35163 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35164 * math/libm-test.inc (acos_test): Add more tests.
35165 (acosh_test): Likewise.
35166 (asin_test): Likewise.
35167 (atanh_test): Likewise.
35168 (exp_test): Likewise.
35169 (exp10_test): Likewise.
35170 (exp2_test): Likewise.
35171 (expm1_test): Likewise.
35172 (lgamma_test): Likewise.
35173 (log_test): Likewise.
35174 (log10_test): Likewise.
35175 (log1p_test): Likewise.
35176 (log2_test): Likewise.
35177 (pow_test): Do not allow some spurious overflow exceptions.
35178 (sqrt_test): Add more tests.
35179 (tgamma_test): Likewise.
35180 (y0_test): Likewise.
35181 (y1_test): Likewise.
35182 (yn_test): Likewise.
35183
dd62fda6
AB
351842012-03-27 Anton Blanchard <anton@samba.org>
35185
35186 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35187 MAP_HUGETLB.
35188 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35189 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35190 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35191
1e3cdfda
AJ
351922012-03-27 David S. Miller <davem@davemloft.net>
35193
b855ab85
DM
35194 * conform/Makefile: Run run-conformtest.sh using $(BASH).
35195
1e3cdfda
AJ
35196 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35197 have-as-vis3 check.
35198
351992012-03-27 Andreas Jaeger <aj@suse.de>
35200
35201 * sysdeps/x86_64/elf/configure.in: Moved to ...
35202 * sysdeps/x86_64/configure.in: ... here.
35203 * sysdeps/x86_64/elf/start.S: Moved to ...
35204 * sysdeps/x86_64/start.S: ... here.
35205 * sysdeps/x86_64/elf/configure: Delete.
35206
35207 * sysdeps/x86_64/configure.in: Merge contents from
35208 sysdeps/i386/configure.in (without i686 check).
35209
35210 * sysdeps/i386/elf/Versions: Merge into ...
35211 * sysdeps/i386/Versions: ... this.
35212 * sysdeps/i386/elf/Versions: Delete file.
35213 * sysdeps/i386/elf/start.S: Moved to ...
35214 * sysdeps/i386/start.S: ...here.
35215 * sysdeps/i386/elf/configure.in: Merge into...
35216 * sysdeps/i386/configure.in: ...here.
35217 * sysdeps/i386/elf/configure.in: Delete file.
35218 * sysdeps/i386/elf/configure: Delete file.
35219
35220 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35221 * debug/backtracesyms.c: ... here.
35222 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35223 * debug/backtracesymsfd.c: ... here.
35224 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35225 * sysdeps/generic/ifunc-sel.h: ... here.
35226
35227 * sysdeps/unix/i386/start.c: Delete file.
35228 * sysdeps/unix/sparc/start.c: Delete file.
35229 * sysdeps/unix/start.c: Delete file.
35230
35231 * sysdeps/sh/elf/configure.in: Moved to ...
35232 * sysdeps/sh/configure.in: ... here.
35233 * sysdeps/sh/elf/start.S: Moved to ...
35234 * sysdeps/sh/start.S: ... here.
35235 * sysdeps/sh/elf/configure: Delete file.
35236
35237 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35238 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35239 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35240 * sysdeps/powerpc/powerpc64/entry.h: ... here.
35241 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35242 * sysdeps/powerpc/powerpc64/start.S: here.
35243 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35244 * sysdeps/powerpc/powerpc64/Makefile: ... this.
35245 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35246 * sysdeps/powerpc/powerpc64/configure.in: ... this.
35247 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35248
35249 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35250 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35251 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35252 * sysdeps/powerpc/powerpc32/start.S: ... here.
35253 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35254 * sysdeps/powerpc/powerpc32/configure.in: ... this.
35255 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35256
35257 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35258 * sysdeps/powerpc/ifunc-sel.h: ... here.
35259 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35260 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35261
35262 * sysdeps/sparc/elf/configure.in: Moved to ...
35263 * sysdeps/sparc/configure.in: ... here.
35264 * sysdeps/sparc/elf/configure: Delete file.
35265 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35266 * sysdeps/sparc/sparc32/start.S: ... here.
35267 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35268 * sysdeps/sparc/sparc64/start.S: ... here.
35269 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35270 * sysdeps/sparc/sparc32/Makefile: ... this.
35271 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35272 * sysdeps/sparc/sparc64/Makefile: ... this.
35273
35274 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35275 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35276 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35277 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35278 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35279 * sysdeps/s390/s390-32/setjmp.S: ... here.
35280 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35281 * sysdeps/s390/s390-32/configure.in: ... here.
35282 * sysdeps/s390/s390-32/elf/configure: Delete file.
35283 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35284 * sysdeps/s390/s390-32/start.S: ... here.
35285
35286 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35287 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35288 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35289 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35290 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35291 * sysdeps/s390/s390-64/setjmp.S: ... here.
35292 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35293 * sysdeps/s390/s390-64/configure.in: ... here
35294 * sysdeps/s390/s390-64/elf/configure: Delete file.
35295 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35296 * sysdeps/s390/s390-64/start.S: ... here.
35297 * sysdeps/s390/s390-64/elf/configure: Delete.
35298
35299 * configure.in: Remove support for elf directories in sysdeps.
35300
35301 * configure: Regenerated.
35302 * sysdeps/i386/configure: Regenerated.
35303 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35304 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35305 * sysdeps/s390/s390-32/configure: Regenerated.
35306 * sysdeps/s390/s390-64/configure: Regenerated.
35307 * sysdeps/sh/configure: Regenerated.
35308 * sysdeps/sparc/configure: Regenerated.
35309 * sysdeps/x86_64/configure: Regenerated.
35310
a3f61311
AS
353112012-03-26 Andreas Schwab <schwab@linux-m68k.org>
35312
c876e002
AS
35313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35314
a3f61311
AS
35315 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35316 denormal result into account.
35317
ac4c54f0
RM
353182012-03-25 Roland McGrath <roland@hack.frob.com>
35319
35320 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35321 Reported by Allan McRae <allan@archlinux.org>.
35322
6a9b9c02
JL
353232012-03-23 Jeff Law <law@redhat.com>
35324
35325 * nss/getnssent.c (__nss_getent): Fix typo.
35326
4c42a0c1
DM
353272012-03-23 David S. Miller <davem@davemloft.net>
35328
35329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35330
1532c7ac
L
353312012-03-23 H.J. Lu <hongjiu.lu@intel.com>
35332
35333 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35334 to pad to uint64_t for each field.
35335 (dl_tls_index): Replace unsigned long with uint64_t.
35336
3ff42526
PP
353372012-03-23 Daniel Jacobowitz <dmj@google.com>
35338 Paul Pluzhnikov <ppluzhnikov@google.com>
35339
35340 [BZ #6528]
35341 * grp/Makefile (otherlibs): Don't set it.
35342 * inet/Makefile (otherlibs): Likewise.
35343 * login/Makefile (otherlibs): Likewise.
35344 * nscd/Makefile (otherlibs): Likewise.
35345 * posix/Makefile (otherlibs): Likewise.
35346 * pwd/Makefile (otherlibs): Likewise.
35347 * rt/Makefile (otherlibs): Likewise.
35348 * sunrpc/Makefile (otherlibs): Likewise.
35349 * nss/Makefile (otherlibs): Likewise.
35350 Add libnss_files to routines and static-only-routines.
35351 ($(objpfx)getent): Remove rule.
35352 * resolv/Makefile: Add libnss_dns and libresolv to routines and
35353 static-only-routines.
35354
7c69cd14
JM
353552012-03-22 Joseph Myers <joseph@codesourcery.com>
35356
35357 [BZ #13892]
35358 * math/s_cexp.c: Include <float.h>.
35359 (__cexp): Handle exp result overflowing not necessarily
35360 overflowing both real and imaginary parts of result.
35361 * math/s_cexpf.c: Likewise.
35362 * math/s_cexpl.c: Likewise.
35363 * math/libm-test.inc (cexp_test): Add more tests.
35364 * sysdeps/i386/fpu/libm-test-ulps: Update.
35365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35366
81b035fe
L
353672012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35368
35369 * include/link.h (ELFW): New macro.
35370 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35371 Replace ELF64_R_TYPE with ELFW(R_TYPE).
35372
1da7940c
L
353732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35374
35375 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35376 with uint64_t.
35377
b749dbb9
L
353782012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35379
35380 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35381 declaration.
35382 (struct La_x32_retval): Likewise.
35383
2ff87f3f
L
353842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35385
35386 * sysdeps/x86_64/preconfigure.in: New file.
35387 * sysdeps/x86_64/preconfigure: New generated file.
35388
c0df8e69
JM
353892012-03-22 Joseph Myers <joseph@codesourcery.com>
35390
48e44791
JM
35391 [BZ #13824]
35392 * math/e_exp2l.c: Include <float.h>.
35393 (__ieee754_exp2l): Handle overflow and underflow cases
35394 separately. Only pass fractional part of argument to
35395 __ieee754_expl.
35396 * math/libm-test.inc (exp2_test): Add more tests.
35397
c0df8e69
JM
35398 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35399 negating x to take absolute value.
35400 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35401 Likewise.
35402 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35403 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35404 Likewise.
35405 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35406 computing low part if x was negated.
35407 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35408
c8e43ba7
L
354092012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35410
35411 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35412 la_x32_gnu_pltexit.
35413 (pltexit): Cast int_retval to ptrdiff_t.
35414 * elf/tst-auditmod3b.c: Likewise.
35415 * elf/tst-auditmod4b.c: Likewise.
35416 * elf/tst-auditmod5b.c: Likewise.
35417 * elf/tst-auditmod6b.c: Likewise.
35418 * elf/tst-auditmod6c.c: Likewise.
35419 * elf/tst-auditmod7b.c: Likewise.
35420
35421 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35422 and x32_gnu_pltexit.
35423
35424 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35425 __ELF_NATIVE_CLASS.
35426 (La_x32_regs): New macro.
35427 (La_x32_retval): Likewise.
35428 (la_x32_gnu_pltenter): New function prototype.
35429 (la_x32_gnu_pltexit): Likewise.
35430
7998fa78
AS
354312012-03-21 Andreas Schwab <schwab@linux-m68k.org>
35432
dcb33988
AS
35433 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35434 exponent.
35435
233fc563
AS
35436 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35437
7998fa78
AS
35438 * configure.in (libc_cv_cc_nofma): Check for option to disable
35439 generation of FMA instructions.
35440 * configure: Regenerate.
35441 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35442 * sysdeps/ieee754/dbl-64/Makefile: New file.
35443 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35444 Remove brandred-fma4.
35445 (CFLAGS-brandred-fma4.c): Remove.
35446 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
35447 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
35448 define.
35449 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
35450 define.
35451
8e95c99a
L
354522012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35453
35454 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35455 LLONG_MAX != LONG_MAX.
35456 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35457 (_fitoa_word): Likewise.
35458 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
35459 LLONG_MAX != LONG_MAX.
35460 * stdio-common/_itowa.h: Include <_itoa.h>.
35461 (_itowa_word): Use _ITOA_WORD_TYPE on value.
35462 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
35463 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
35464 only if not defined.
35465 (_ITOA_WORD_TYPE): Likewise.
35466 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35467 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
35468
6f4db457
DM
354692012-03-21 David S. Miller <davem@davemloft.net>
35470
35471 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35472
7785fe5a
L
354732012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35474
35475 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
35476 of x86_64 when setting libc_cv_slibdir, libdir and
35477 libc_cv_localedir.
35478 * sysdeps/unix/sysv/linux/configure: Regenerated.
35479
4535cd55
JM
354802012-03-21 Joseph Myers <joseph@codesourcery.com>
35481
35482 * manual/lang.texi (Old Varargs): Remove section.
35483 (How Variadic): Update menu.
35484 (va_start): Do not mention varargs.h.
35485
17228132
TS
354862012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35487 Joseph Myers <joseph@codesourcery.com>
35488
35489 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
35490 link test.
35491 * configure: Regenerated.
35492
8149f976
TS
354932012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35494
05f3d1f6
UD
35495 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
35496 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
35497 conformtest.pl
8149f976 35498
1a4ac776
JM
354992012-03-21 Joseph Myers <joseph@codesourcery.com>
35500
be22ce65
JM
35501 * NOTES: Remove.
35502 * Makefile (files-for-dist): Remove NOTES.
35503 (NOTES): Remove rule.
35504 * README: Don't refer to NOTES.
35505 * manual/creature.texi: Don't include macros.texi.
35506 * manual/intro.texi (creature.texi): Remove comment referring to
35507 NOTES.
35508
40b601fb
JM
35509 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
35510 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
35511 * configure: Regenerated.
35512 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
35513 LIBC_TRY_CC_OPTION.
35514 (libc_cv_as_i686): Likewise.
35515 (libc_cv_cc_avx): Likewise.
35516 (libc_cv_cc_sse2avx): Likewise.
35517 (libc_cv_cc_fma4): Likewise.
35518 (libc_cv_cc_novzeroupper): Likewise.
35519 * sysdeps/i386/configure: Regenerated.
35520
1a4ac776
JM
35521 [BZ #13883]
35522 * sysdeps/i386/fpu/s_cexp.S: Remove.
35523 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35524 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35525 * math/libm-test.inc (cexp_test): Add more tests.
35526 * sysdeps/i386/fpu/libm-test-ulps: Update.
35527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35528
a458e7fe
AM
355292012-03-21 Allan McRae <allan@archlinux.org>
35530
35531 * timezone/Makefile: Do not install iso3166.tab and zone.tab
35532
0cb7efc5
JM
355332012-03-21 Joseph Myers <joseph@codesourcery.com>
35534
35535 [BZ #13871]
35536 * math/w_exp2.c: Do not include <float.h>.
35537 (o_threshold, u_threshold): Remove.
35538 (__exp2): Calculate result before checking finiteness and calling
35539 __kernel_standard.
35540 * math/w_exp2f.c: Likewise.
35541 * math/w_exp2l.c: Likewise.
35542 * math/libm-test.inc (exp2_test): Require overflow exception for
35543 1e6 input.
2460d3aa
JM
35544
35545 [BZ #3866]
35546 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
35547 range of signed 64-bit integers before using fistpll. Remove
35548 checks for whether integers fit in mantissa bits.
35549 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
35550 the range of signed 32-bit integers before using fistpl. Remove
35551 checks for whether integers fit in mantissa bits.
35552 * sysdeps/i386/fpu/e_powl.S (p64): New object.
35553 (__ieee754_powl): Test for y outside the range of signed 64-bit
35554 integers before using fistpll. Reduce 64-bit values to 63-bit
35555 ones as needed.
35556 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
35557 divide-by-zero is raised for zero to large negative powers.
35558 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
35559 (__ieee754_powl): Test for y outside the range of signed 64-bit
35560 integers before using fistpll. Reduce 64-bit values to 63-bit
35561 ones as needed.
35562 * math/libm-test.inc (pow_test): Add more tests.
35563
eb96ffb0
L
355642012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35565
35566 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
35567 <stdio-common/_itoa.h>.
35568 * debug/segfault.c: Likewise.
35569 * elf/dl-cache.c: Likewise.
35570 * elf/dl-minimal.c: Likewise.
35571 * elf/dl-misc.c: Likewise.
35572 * elf/dl-sysdep.c: Likewise.
35573 * elf/dl-version.c: Likewise.
35574 * elf/rtld.c: Likewise.
35575 * hurd/hurdsock.c: Likewise.
35576 * hurd/lookup-retry.c: Likewise.
35577 * malloc/malloc.c: Likewise.
35578 * malloc/mtrace.c: Likewise.
35579 * nscd/nscd_getgr_r.c: Likewise.
35580 * nscd/nscd_getpw_r.c: Likewise.
35581 * nscd/nscd_getserv_r.c: Likewise.
35582 * posix/getopt_init.c: Likewise.
35583 * posix/wordexp.c: Likewise.
35584 * stdio-common/_itoa.c: Likewise.
35585 * stdio-common/printf_fphex.c: Likewise.
35586 * stdio-common/vfprintf.c: Likewise.
35587 * string/_strerror.c: Likewise.
35588 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
35589 * sysdeps/i386/i686/hp-timing.h: Likewise.
35590 * sysdeps/mach/_strerror.c: Likewise.
35591 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
35592 * sysdeps/mach/hurd/sethostid.c: Likewise.
35593 * sysdeps/mach/hurd/xmknodat.c: Likewise.
35594 * sysdeps/mach/xpg-strerror.c: Likewise.
35595 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35596 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35597 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
35598 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
35599 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35600 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
35601 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35602 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35603 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
35604 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
35605 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
35606 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
35607 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
35608 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35609 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35610 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
35611 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
35612 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
35613 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35614 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35615 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
35616
35617 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
35618
35619 * stdio-common/_itoa.h: Moved to ...
35620 * sysdeps/generic/_itoa.h: Here.
35621
35622 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
35623
35624 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
35625 instead of "_itoa.h" and "_itowa.h".
35626 * stdio-common/vfprintf.: Likewise.
35627
d1af992d
L
356282012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35629
35630 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
35631 <bits/wordsize.h>.
35632 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
35633 (__signbit): Likwise.
35634 (llrintf): Likwise.
35635 (llrint): Likwise.
35636
114883e0
L
356372012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35638
35639 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
35640 __WORDSIZE != 64.
35641
c135cc1b
JM
356422012-03-20 Joseph Myers <joseph@codesourcery.com>
35643
35644 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
35645 OVERFLOW_EXCEPTION_OK.
35646 * math/libm-test.inc ("Philosophy"): Update comment about
35647 exception testing.
35648 (OVERFLOW_EXCEPTION): Define.
35649 (OVERFLOW_EXCEPTION_OK): Likewise.
35650 (INVALID_EXCEPTION_OK): Renumber.
35651 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35652 (IGNORE_ZERO_INF_SIGN): Likewise.
35653 (test_exceptions): Handle FE_OVERFLOW.
35654 (exp10_test): Expect overflow exceptions.
35655 (exp2_test): Likewise.
35656 (expm1_test): Likewise.
35657 (nextafter_test): Likewise.
35658 (pow_test): Likewise.
35659 (scalbn_test): Likewise.
35660 (scalbln_test): Likewise.
35661
95443d88
L
356622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35663
35664 * sysdeps/x86_64/bits/atomic.h
35665 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
35666 64bit integer.
35667 (atomic_exchange_acq): Likewise.
35668 (__arch_exchange_and_add_body): Likewise.
35669 (__arch_add_body): Likewise.
35670 (atomic_add_negative): Likewise.
35671 (atomic_add_zero): Likewise.
35672
490df6c4
L
356732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35674
c2722551 35675 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
35676 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
35677
5e52b189
L
356782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35679
35680 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
35681 Check __x86_64__ instead of __WORDSIZE.
35682
a9879d4c
L
356832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35684
35685 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
35686
5df98260
DM
356872012-03-19 David S. Miller <davem@davemloft.net>
35688
e1497744
DM
35689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35690
5df98260
DM
35691 * sysdeps/sparc/fpu/fenv_private.h: New file.
35692 * sysdeps/sparc/fpu/math_private.h: Use it.
35693 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
35694 Remove.
57f41c40 35695 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
35696 (libc_feholdexcept_setroundl): Remove.
35697 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
35698 Remove.
35699 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
35700 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
35701
b4c35121
L
357022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35703
35704 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
35705 int64_t instead of long int.
35706 (INSERT_WORDS64): Likwise.
35707
56965fd7
L
357082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35709
35710 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
35711 _Unwind_GetCFA return to _Unwind_Ptr first.
35712
83d1aec8
JM
357132012-03-19 Joseph Myers <joseph@codesourcery.com>
35714
1897ad44
JM
35715 [BZ #13629]
35716 * math/s_clog.c: Include <float.h>.
35717 (__clog): Scale large or subnormal inputs.
35718 * math/s_clogf.c: Likewise.
35719 * math/s_clogl.c: Likewise.
35720 * math/s_clog10.c: Include <float.h>.
35721 (M_LOG10_2): Define.
35722 (__clog10): Scale large or subnormal inputs.
35723 * math/s_clog10f.c: Likewise.
35724 * math/s_clog10l.c: Likewise.
35725 * math/libm-test.inc (clog_test): Add more tests.
35726 (clog10_test): Likewise.
35727 * sysdeps/i386/fpu/libm-test-ulps: Update.
35728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35729
7726d6a9
JM
35730 [BZ #11451]
35731 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
35732 x and y.
35733 * math/libm-test.inc (atan2_test): Add another test.
35734
83d1aec8
JM
35735 * Makerules (common-objdir-compile): Remove.
35736 * sysdeps/unix/Makefile (config-generated): Do not add
35737 $(unix-generated) to variable.
35738 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
35739 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
35740 Remove rule.
35741 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
35742 Likewise.
35743 [generic bits/local_lim.h] (before-compile): Do not append to
35744 variable.
35745 [generic bits/local_lim.h] (common-generated): Likewise.
35746 [generic sys/param.h] (before-compile): Do not append to variable.
35747 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
35748 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
35749 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
35750 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
35751 include.
35752 [generic sys/param.h] (sys/param.h-includes): Remove variable.
35753 [generic sys/param.h] (sys/param.h-includes): Remove rule.
35754 [generic sys/param.h] ($(addprefix
35755 $(common-objpfx),$(sys/param.h-includes))): Likewise.
35756 [generic sys/param.h] (common-generated): Do not append to
35757 variable.
35758 [generic sys/param.h] (sysdep_headers): Likewise.
35759 [generic bits/errno.h] (before-compile): Do not append to
35760 variable.
35761 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
35762 rule.
35763 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
35764 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
35765 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
35766 [generic bits/errno.h] (common-generated): Do not append to
35767 variable.
35768 [generic bits/ioctls.h] (before-compile): Do not append to
35769 variable.
35770 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
35771 rule.
35772 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
35773 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
35774 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
35775 rule.
35776 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
35777 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
35778 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
35779 [generic bits/ioctls.h] (common-generated): Do not append to
35780 variable.
35781 [generic sys/syscall.h] (syscall.h): Remove variable.
35782 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
35783 rule.
35784 [generic sys/syscall.h] (before-compile): Do not append to
35785 variable.
35786 [generic sys/syscall.h] (common-generated): Likewise.
35787 * sysdeps/unix/errnos-tmpl.c: Remove file.
35788 * sysdeps/unix/errnos.awk: Likewise.
35789 * sysdeps/unix/ioctls-tmpl.c: Likewise.
35790 * sysdeps/unix/ioctls.awk: Likewise.
35791 * sysdeps/unix/mk-local_lim.c: Likewise.
35792 * sysdeps/unix/snarf-ioctls: Likewise.
35793
4851a949
RH
357942012-03-19 Richard Henderson <rth@twiddle.net>
35795
bd37f2ee
RH
35796 * sysdeps/i386/fpu/fenv_private.h: New file.
35797 * sysdeps/i386/fpu/math_private.h: Use it.
35798 (math_opt_barrier, math_force_eval): Remove.
35799 (libc_feholdexcept_setround_53bit): Remove.
35800 (libc_feupdateenv_53bit): Remove.
35801 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35802 (math_opt_barrier, math_force_eval): Remove.
35803 (libc_feholdexcept): Remove.
35804 (libc_feholdexcept_setround): Remove.
35805 (libc_fetestexcept, libc_fesetenv): Remove.
35806 (libc_feupdateenv_test): Remove.
35807 (libc_feupdateenv, libc_feholdsetround): Remove.
35808 (libc_feresetround): Remove.
35809
d0adc922
RH
35810 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
35811 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35812
0fe0f1f8
RH
35813 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
35814 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
35815 (libc_feupdateenv_testl): New.
35816 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
35817 (libc_feupdateenv_testf): New.
35818 (libc_feupdateenv): Use libc_feupdateenv_test.
35819 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
35820 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
35821
eb92c487
RH
35822 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
35823 (libc_feholdsetroundf, libc_feholdsetroundl): New.
35824 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
35825 (libc_feresetround_noex): New.
35826 (libc_feresetround_noexf): New.
35827 (libc_feresetround_noexl): New.
35828 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
35829 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
35830 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
35831 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
35832 SET_RESTORE_ROUND.
35833 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35834 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
35835 (__cos): Likewise.
35836 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
35837 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
35838 SET_RESTORE_ROUND_NOEX.
35839 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
35840 SET_RESTORE_ROUND_NOEXF.
35841 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
35842 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
35843 (libc_feholdsetroundf): New.
35844 (libc_feresetround, libc_feresetroundf): New.
35845
7d2e8012
RH
35846 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
35847 (libc_feholdexcept_setround_53bit): Convert from macro to function.
35848 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
35849
b4dabbb4
RH
35850 * sysdeps/generic/math_private.h: Include <fenv.h>.
35851 (default_libc_feholdexcept): New.
35852 (default_libc_feholdexcept_setround): New.
35853 (default_libc_fesetenv, default_libc_feupdateenv): New.
35854 (libc_feholdexcept): Only define if undefined.
35855 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
35856 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
35857 (libc_feholdexcept_setroundl): Likewise.
35858 (libc_feholdexcept_setround_53bit): Likewise.
35859 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
35860 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
35861 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
35862 (libc_feupdateenv_53bit): Likewise.
35863 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
35864 (libc_feholdexcept): Convert from macro to inline function.
35865 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
35866 (libc_fesetenv, libc_feupdateenv): Likewise.
35867
4851a949
RH
35868 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
35869 not previously defined.
35870 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
35871 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
35872 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
35873 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
35874 * sysdeps/ieee754/flt-32/math_private.h: New file.
35875 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
35876 math_private.h below SET_FLOAT_WORD.
35877 (__isnan, __isinf_ns, __finite): Remove.
35878 (__isnanf, __isinf_nsf, __finitef): Remove.
35879
e79d442e
AS
358802012-03-18 Andreas Schwab <schwab@linux-m68k.org>
35881
35882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35883
90b80344
DM
358842012-03-17 David S. Miller <davem@davemloft.net>
35885
35886 [BZ #6471]
35887 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
35888 for 2.16.
35889
edc21804
DM
358902012-03-16 David S. Miller <davem@davemloft.net>
35891
77e927af
DM
35892 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
35893 warnings.
35894
374976dd
DM
35895 [BZ #6471]
35896 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
35897 properly.
35898 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
35899 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
35900 sysdep_routines when subdir is sysvipc.
35901 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
35902 __getshmlba helper.
35903
edc21804
DM
35904 * sysdeps/sparc/fpu/libm-test/ulps: Update.
35905
473c3ef3
L
359062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35907
35908 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
35909 [__LP64__].
35910
eb0f39b6
L
359112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35912
35913 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
35914 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
35915 (__lround): Renamed to ...
35916 (__llround): This. Replace long int with long long int.
35917 Define lround functions as aliases of llround functions.
35918 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
35919
6b6cd74b
L
359202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35921
35922 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
35923 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
35924 adresses to uintptr_t. Replace "long int" and "unsigned long
35925 int" with "greg_t" on va_arg.
35926
f1a77b01
L
359272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35928
35929 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
35930 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
35931
35932 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
35933 Move e_machine check before EI_CLASS check. Handle x32
35934 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
35935 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
35936 SKIP_EM_IA_64 and include
35937 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
35938
35939 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
35940 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
35941 (add_system_dir): New macro.
35942
35943 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
35944 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
35945
11b90b9f
JM
359462012-03-16 Joseph Myers <joseph@codesourcery.com>
35947
c36e1d23
JM
35948 [BZ #2551]
35949 [BZ #2552]
35950 [BZ #2553]
35951 [BZ #2554]
35952 [BZ #2562]
35953 [BZ #2563]
35954 [BZ #2565]
35955 [BZ #2566]
35956 [BZ #2576]
35957 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
35958 (y0): Likewise.
35959 * math/w_j0f.c (j0f): Likewise.
35960 (y0f): Likewise.
35961 * math/w_j0l.c (__j0l): Likewise.
35962 (__y0l): Likewise.
35963 * math/w_j1.c (j1): Likewise.
35964 (y1): Likewise.
35965 * math/w_j1f.c (j1f): Likewise.
35966 (y1f): Likewise.
35967 * math/w_j1l.c (__j1l): Likewise.
35968 (__y1l): Likewise.
35969 * math/w_jn.c (jn): Likewise.
35970 (yn): Likewise.
35971 * math/w_jnf.c (jnf): Likewise.
35972 (ynf): Likewise.
35973 * math/w_jnl.c (__jnl): Likewise.
35974 (__ynl): Likewise.
35975 * math/libm-test.inc (j0_test): Add more tests.
35976 (j1_test): Likewise.
35977 (jn_test): Likewise. Add trailing semicolon to existing test.
35978 (y0_test): Likewise.
35979 (y1_test): Likewise.
35980 * sysdeps/i386/fpu/libm-test-ulps: Update.
35981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35982
11b90b9f
JM
35983 [BZ #13851]
35984 [BZ #13854]
35985 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
35986 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
35987 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
35988 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
35989 (__tanl): Set errno for infinite argument.
35990 * sysdeps/i386/fpu/mptan.c: Remove.
35991 * sysdeps/i386/fpu/s_tan.S: Likewise.
35992 * sysdeps/i386/fpu/s_tanl.S: Likewise.
35993 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
35994 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
35995 * math/libm-test.inc (tan_test): Add more tests and enable more
35996 tests for double and long double.
35997 * sysdeps/i386/fpu/libm-test-ulps: Update.
35998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35999
6a1bd2a1
JK
360002012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
36001
36002 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36003 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36004
10a803e0
RM
360052012-03-16 Roland McGrath <roland@hack.frob.com>
36006
36007 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36008 * configure.in: Use it for both main tree and add-ons.
36009 * configure: Regenerated.
36010
f196c7f7
L
360112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36012
36013 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36014
8848d99d
JM
360152012-03-16 Joseph Myers <joseph@codesourcery.com>
36016
96cbe7f4
JM
36017 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36018 in comment.
36019
8848d99d
JM
36020 [BZ #13851]
36021 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36022 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36023 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36024 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36025 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36026 infinite argument.
36027 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36028 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36029 != 0 for prec == 2.
36030 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36031 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36032 * sysdeps/i386/fpu/s_cosl.S: Likewise.
36033 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36034 * sysdeps/i386/fpu/s_sinl.S: Likewise.
36035 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36036 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36037 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36038 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36039 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36040 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36041 * math/libm-test.inc (cos_test): Add more tests and enable more
36042 tests for long double.
36043 (sin_test): Likewise.
36044 (sincos_test): Likewise.
36045 * sysdeps/i386/fpu/libm-test-ulps: Update.
36046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36047
dd7f4703
DM
360482012-03-16 David S. Miller <davem@davemloft.net>
36049
36050 * sysdeps/sparc/fpu/math_private.h: New file.
36051
006f1daa
DM
360522012-03-15 David S. Miller <davem@davemloft.net>
36053
c0c83bc8
DM
36054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36055 file.
e6a62e18 36056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
36057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36058 file.
e6a62e18
DM
36059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36060 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36061 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36062 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36063 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36064 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36065 sysdep routines.
36066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36067
88cb87d9
DM
36068 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36069 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36070
006f1daa 36071 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
36072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36073 sparc-ifunc.h
006f1daa 36074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
36075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36076 Likewise.
36077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36078 Likewise.
006f1daa
DM
36079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
36082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36083 Likewise.
006f1daa
DM
36084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
36088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36089 Likewise.
36090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36091 Likewise.
006f1daa
DM
36092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36096 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36097 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36098 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36099 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36100 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36101 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36102 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36103 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36104 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36105 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36106 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36107 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36108 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36109 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36110 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36111 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36112 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36113 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36114 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36115 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36116
11e0098e
AS
361172012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36118
36119 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36120 scaling.
36121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36122
e85b09d0
AJ
361232012-03-15 Andreas Jaeger <aj@suse.de>
36124
36125 [BZ #13852]
36126 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36127 ieee754/flt-32 implementation for sin, cos and sincos.
36128 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36129 * sysdeps/i386/fpu/s_cosf.S: Likewise.
36130 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36131 * sysdeps/i386/fpu/s_sinf.S: Likewise.
36132 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36133 ieee754/flt-32 implementation for tan.
36134
36135 * math/libm-test.inc (cos_test): Enable some large input tests for
36136 float as well
36137 (sin_test): Likewise.
36138 (sincos_test): Likewise.
36139 (tan_test): Add tests for large input.
36140
36141 * sysdeps/i386/fpu/libm-test-ulps: Update.
36142
81c64153
AJ
361432012-03-15 Andreas Jaeger <aj@suse.de>
36144
36145 [BZ #13658]
36146 * math/libm-test.inc (cos_test): Add more test cases.
36147 (sin_test): Likewise.
36148 (sincos_test): Likewise.
36149
7bbfa5c6
AJ
361502012-03-15 Andreas Jaeger <aj@suse.de>
36151
36152 [BZ #13837]
36153 * math/libm-test.inc (cos_test): Add a test case for large input
36154 value.
36155 (sin_test): Likewise.
36156 (sincos_test): Likewise.
36157
57f41c40
AS
361582012-03-15 Andreas Jaeger <aj@suse.de>
36159 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
36160
36161 [BZ #13658]
0671f479 36162 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
36163 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36164 * sysdeps/i386/fpu/branred.c: Likewise.
36165 * sysdeps/i386/fpu/dosincos.c: Likewise.
36166 * sysdeps/i386/fpu/mpa.c: Likewise.
36167 * sysdeps/i386/fpu/s_cos.S: Likewise.
36168 * sysdeps/i386/fpu/s_sin.S: Likewise.
36169 * sysdeps/i386/fpu/s_sincos.S: Likewise.
36170 * sysdeps/i386/fpu/sincos32.c: Likewise.
36171
36172 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36173 Define.
36174 (libc_feupdateenv_53bit): Define.
36175 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36176 Define.
36177 (libc_feupdateenv_53bit): Define.
36178
36179 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36180 53 bit (without extend i386 double precision).
36181
36182 * math/libm-test.inc (sincos_test): Add tests for large input.
36183 (sin): Likewise.
36184 (cos): Likewise.
36185
36186 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36187
9cad04ea
AS
361882012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36189
36190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36191
f7062b9a
DM
361922012-03-15 David S. Miller <davem@davemloft.net>
36193
36194 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36195 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36196 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36197 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36202 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36203 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36204 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36205 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36206 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36207 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36208 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
36209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36210 file.
f7062b9a 36211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
36212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36213 file.
f7062b9a 36214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
36215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36216 file.
f7062b9a 36217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
36218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36219 file.
f7062b9a
DM
36220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36221 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36222 fmin/fmax sysdep routines.
36223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36224
7bd951ff
DM
362252012-03-14 David S. Miller <davem@davemloft.net>
36226
559398ab
DM
36227 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36228 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36229 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36230 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36231 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36232 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36233 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36234 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36235 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36236 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36237 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36238 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36239 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36240 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36241 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36242 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36243 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36244 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36245 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36246 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36247 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36248 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36249 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36250 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36251 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36252 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36253 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36254 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
36255 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36256 routines.
36257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36258 file.
559398ab 36259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
36260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36261 file.
559398ab 36262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
36263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36264 file.
559398ab 36265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
36266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36267 file.
559398ab 36268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
36269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36270 file.
559398ab 36271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
36272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36273 file.
36274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36275 file.
36276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36277 file.
36278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36279 file.
36280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36281 New file.
36282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36283 file.
36284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36285 file.
559398ab 36286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
36287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36288 file.
559398ab 36289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
36290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36291 file.
559398ab 36292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
36293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36294 file.
559398ab 36295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
36296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36297 VIS3 routines.
559398ab
DM
36298
36299 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36300 New file.
36301
5a1c1e32
DM
36302 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36303
eae47a36
DM
36304 * sysdeps/sparc/configure.in: New file.
36305 * sysdeps/sparc/configure: Generate.
36306 * configure.in (libc_cv_sparc_as_vis3): Substitute.
36307 * configure: Regenerate.
36308 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36309 * config.make.in (have-as-vis3): New.
36310 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36311 available use -Av9d instead of -Av9a.
36312 * sysdeps/sparc/sparc64/Makefile: Likewise.
36313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
36314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36315 New file.
36316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36317 file.
36318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36319 New file.
36320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36321 file.
eae47a36
DM
36322 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36323 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36324 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36325 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36326 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36327
c0c83bc8
DM
36328 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36329 fzeros/fnegs to load 0x80000000 into a float register instead of
36330 using the stack.
7bd951ff
DM
36331 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36332
bd951ccb
JM
363332012-03-14 Joseph Myers <joseph@codesourcery.com>
36334
36335 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36336 bits/syscall.h.
36337 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36338 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36339 ($(inst_includedir)/bits/syscall.h): Remove rule.
36340 ($(objpfx)bits/syscall.d): Include instead of
36341 $(objpfx)syscall-list.d.
36342 (generated): Change syscall-list.h and syscall-list.d to
36343 bits/syscall.h and bits/syscall.d.
36344
bb4e6db2
RM
363452012-03-14 Roland McGrath <roland@hack.frob.com>
36346
36347 [BZ #13846]
36348 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36349
aa4a2ae1
JM
363502012-03-14 Joseph Myers <joseph@codesourcery.com>
36351
e456826d
JM
36352 [BZ #13841]
36353 * math/s_csqrt.c: Include <float.h>.
36354 (__csqrt): Scale large or subnormal inputs.
36355 * math/s_csqrtf.c: Likewise.
36356 * math/s_csqrtl.c: Likewise.
36357 * math/libm-test.inc (csqrt_test): Add more tests.
36358 * sysdeps/i386/fpu/libm-test-ulps: Update.
36359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36360
aa4a2ae1
JM
36361 [BZ #13840]
36362 * math/libm-test.inc (hypot_test): Add more tests.
36363
7c10fd35
DM
363642012-03-13 David S. Miller <davem@davemloft.net>
36365
36366 [BZ #13840]
36367 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36368 double-precision for the calculation instead of scaling.
36369
f453b98b
JM
363702012-03-13 Joseph Myers <joseph@codesourcery.com>
36371
36372 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36373 manipulate bits before adding and subtracting TWO52[sx].
36374 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36375 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36376 Likewise.
36377 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36378
09a3453f
DM
363792012-03-13 David S. Miller <davem@davemloft.net>
36380
8e59da90
DM
36381 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36382 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36383 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36384 rtld-global-offsets.h
36385 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36386
2a8ab7f2
DM
36387 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36388 large parameters.
36389
10f62770
DM
36390 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36391
5f0bdb18
DM
36392 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36393 'err' in the ifdef scope in which it is actually used.
36394
09a3453f
DM
36395 * nss/nss_db/db-init.c: Include string.h
36396
b4b2eb5e
DM
363972012-03-12 David S. Miller <davem@davemloft.net>
36398
98bb2f1c
DM
36399 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36400 masking out of the most significant byte of random value used.
36401 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36402 Fix coding style in previous change.
36403
b4b2eb5e
DM
36404 * sysdeps/unix/sysv/linux/kernel-features.h
36405 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36406 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36407 expression.
36408 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36409 later.
36410
6e226b09
DM
364112012-03-11 David S. Miller <davem@davemloft.net>
36412
a1bcbd40
DM
36413 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36414 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36415 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36416 for 'resultvar' otherwise things get truncated on 64-bit.
36417
cb9d6174
DM
36418 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36419 Fix masking out of the most significant byte of random value used.
36420
6e226b09
DM
36421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36422
058c132d
AS
364232012-03-10 Andreas Schwab <schwab@linux-m68k.org>
36424
36425 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36426
2d2cd515
DM
364272012-03-09 David S. Miller <davem@davemloft.net>
36428
36429 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36430 variables with appropriate CPP guards.
57f41c40
AS
36431 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36432 from the frame pointer, not the stack pointer. Correct layout
36433 comments. Fix test on resulting framesize and the management of
36434 the outregs buffer for pltexit. Preserve floating point return
36435 values across _dl_call_pltexit call.
2d2cd515
DM
36436 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36437 framesize and the management of the outregs buffer for pltexit.
36438 Preserve floating point return values across _dl_call_pltexit
36439 call.
57f41c40
AS
36440 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36441 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36442 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
36443 (print_exit): Fix format string for return register value.
36444
9a07f9d0
JM
364452012-03-10 Joseph Myers <joseph@codesourcery.com>
36446
36447 * sunrpc/Makefile (others): Add rpcgen.
36448 ($(objpfx)rpcgen): Remove special build rule and dependency on
36449 libc.
36450 * sunrpc/rpcgen.c: New file.
36451
547b5e30
PE
364522012-03-09 Paul Eggert <eggert@cs.ucla.edu>
36453
c524201a
PE
36454 [BZ #13673]
36455 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
36456 * stdio-common/bug-vfprintf-nargs.c: Likewise.
36457 * sysdeps/i386/crti.S: Likewise.
36458 * sysdeps/i386/crtn.S: Likewise.
36459 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
36460 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
36461 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
36462 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
36463 * sysdeps/sh/crti.S: Likewise.
36464 * sysdeps/sh/crtn.S: Likewise.
36465 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36466
7b6235f2
PE
36467 [BZ #13673]
36468 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
36469 with URL.
36470 * locale/programs/locfile-kw.gperf: Likewise.
36471 * locale/programs/charmap-kw.h: Regenerated.
36472 * locale/programs/locfile-kw.h: Likewise.
36473
547b5e30
PE
36474 [BZ #13673]
36475 * intl/plural.y: Replace FSF snail mail address with URL.
36476 * intl/plural.c: Regenerated.
36477
5f0a5dae
RH
364782012-03-09 Richard Henderson <rth@twiddle.net>
36479
36480 * include/math_private.h: Remove file.
36481 * math/math_private.h: Move file ...
36482 * sysdeps/generic/math_private.h: ... here.
36483
b8c03620
RH
36484 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
36485 * sysdeps/powerpc/fpu/math_private.h: Likewise.
36486 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36487
4e234f5d 36488 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
36489 and <math_private.h>.
36490 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36491 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36492 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36493 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36494 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36495 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
36496 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36497 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36498 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36499 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36500 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36501 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36502 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36503 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36504 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36505 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36506 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36507 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36508 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36509 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36510 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36511 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36512 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36513 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36514 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36515 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36516 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36517 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36518 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36519 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36520 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36521 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36522 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36523 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36524 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36525 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36526 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36527 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36528 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36529 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36530 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
36531 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36532 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36533 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36534 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36535 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36536 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
36537 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36538 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36539 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36540 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36541 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
36542 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36543 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36544 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36545 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36546 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36547 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36548 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36549 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
36550 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36551 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36552 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36553 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36554 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
36555 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36556 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36557 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36558 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
36559 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
36560 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36561 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36562 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36563 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36564 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
36565 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
36566 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
36567 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36568 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
36569 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
36570 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36571 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
36572 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36573 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36574 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36575 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36576 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
36577 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
36578 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36579 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36580 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36581 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36582 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36583 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36584 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36585 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36586 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36587 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36588 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36589 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36590 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36591 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36592 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36593 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36594 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36595 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36596 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36597 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36598 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36599 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36600 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36601 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36602 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36603 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36604 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
36605 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36606 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36607 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36608 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36609 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36610 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36611 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36612 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36613 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
36614 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36615 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36616 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36617 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
36618 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36619 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
36620 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
36621 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36622 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36623 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
36624 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
36625 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36626 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36627 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36628 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
36629 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36630 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36631 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36632 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36633 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
36634 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
36635 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36636 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36637 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36638 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
36639 * sysdeps/ieee754/k_standard.c: Likewise.
36640 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36641 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36642 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36643 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36644 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36645 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36646 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36647 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36648 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36649 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36650 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36651 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36652 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36653 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36654 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36655 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36656 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36657 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36658 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36659 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
36660 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
36661 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
36662 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36663 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36664 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36665 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36666 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36667 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36668 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36669 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36670 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36671 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36672 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36673 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36674 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36675 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36676 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36677 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
36678 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
36679 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36680 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36681 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36682 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36683 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36684 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36685 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36686 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36687 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36688 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36689 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36690 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36691 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36692 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36693 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
36694 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36695 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36696 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
36697 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
36698 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36699 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36700 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36701 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36702 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36703 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36704 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36705 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36706 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36707 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36708 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36709 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36710 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36711 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36712 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36713 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36714 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36715 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36716 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
36717 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36718 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36719 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36720 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36721 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36722 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36723 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36724 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
36725 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36726 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36727 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36728 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36729 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36730 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
36731 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36732 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36733 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36734 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36735 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36736 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
36737 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36738 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36739 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
36740 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36741 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36742 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36743 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36744 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
36745 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36746 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36747 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36748 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
36749 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36750 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36751 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36752 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36753 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36754 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36755 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36756 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36757 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36758 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36759 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36760 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36761 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36762 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36763 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36764 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36765 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
36766 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36767 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36768 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36769 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36770 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36771 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36772 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36773 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36774 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36775 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36776 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
36777 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36778 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36779 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
36780 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
36781 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36782 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
36783 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
36784 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36785 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36786 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36787 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36788 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36789 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
36790 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36791 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36792 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36793 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36794 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
36795 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
36796 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36797 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36798 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36799 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36800 * sysdeps/ieee754/s_lib_version.c: Likewise.
36801 * sysdeps/ieee754/s_matherr.c: Likewise.
36802 * sysdeps/ieee754/s_signgam.c: Likewise.
36803 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36804 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36805 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
36806 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
36807 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
36808 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36809 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
36810 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
36811 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
36812 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
36813 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36814 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
36815 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36816 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36817 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
36818 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36819 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36820 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36821 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36822 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36823 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 36824
1991fa03
JM
368252012-03-09 Joseph Myers <joseph@codesourcery.com>
36826
36827 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
36828 * sunrpc/rpc_main.c: Likewise.
36829 * sunrpc/rpc_svcout.c: Likewise.
36830
60d6f5a6
DM
368312012-03-09 David S. Miller <davem@davemloft.net>
36832
36833 * include/math_private.h: New file.
36834
4962050e
JM
368352012-03-09 Joseph Myers <joseph@codesourcery.com>
36836
02a6f887
JM
36837 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
36838 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
36839 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
36840 from <bits/socket_type.h>.
36841 (enum __socket_type): Don't define here.
36842 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
36843 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36844 bits/socket_type.h.
36845
c6e013c1
JM
36846 [BZ #13566]
36847 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
36848 checking __USE_GNU.
36849
4962050e
JM
36850 * Makerules ($(inst_includedir)/%.h): New rule.
36851 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
36852 (install-others): Remove variable setting.
36853 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
36854
38842f45
RH
368552012-03-08 Richard Henderson <rth@twiddle.net>
36856
67bb6da6
RH
36857 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
36858 from macro to inline function; merge with the
36859 !__LIBC_INTERNAL_MATH_INLINES version.
36860 (__ieee754_sqrtf): Likewise.
36861
15194b4b
RH
36862 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
36863 to inline function.
36864 (__rintf, __floor, __floorf): Likewise.
36865
64e21ede
RH
36866 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
36867 macro to inline function.
36868 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
36869
38842f45
RH
36870 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
36871 not <math/math_private.h>.
36872
c64bf5fe
DM
368732012-03-08 David S. Miller <davem@davemloft.net>
36874
36875 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
36876 copyright year.
36877 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
36878
82d86f28
TS
368792012-03-08 Thomas Schwinge <thomas@codesourcery.com>
36880
36881 * resolv/gai_misc.c (handle_requests): Fix struct timespec
36882 normalization.
36883 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
36884 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36885
aea5d727
UD
368862012-03-08 Ulrich Drepper <drepper@gmail.com>
36887
36888 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
36889 be defined individually, they must be defined as a block. Define
36890 S for printing a string instead of hidint the different by using a
36891 macro for adding the 'l'.
36892 * stdio-common/tst-fphex-wide.c: Adjust.
36893
70bca0a3
MP
368942012-03-07 Marek Polacek <polacek@redhat.com>
36895
36896 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
36897
65b81130
MP
368982012-03-08 Marek Polacek <polacek@redhat.com>
36899
36900 [BZ #13806]
36901 * stdio-common/Makefile (tests): Add tst-fphex-wide.
36902 * stdio-common/tst-fphex.c: Define a few macros to make the
36903 test reusable. Use them.
36904 * stdio-common/tst-fphex-wide.c: New file.
36905
07037eeb
JM
369062012-03-08 Joseph Myers <joseph@codesourcery.com>
36907
a7a93d50
JM
36908 [BZ #6911]
36909 * manual/macros.texi (gnusystems): New macro.
36910 (nongnusystems): Likewise.
36911 (gnulinuxhurdsystems): Likewise.
36912 (gnuhurdsystems): Likewise..
36913 (gnulinuxsystems): Likewise.
36914 * manual/charset.texi: Use new macros or @theglibc{} to refer to
36915 variants of the GNU system, not "GNU system".
36916 * manual/conf.texi: Likewise.
36917 * manual/errno.texi: Likewise. Update example of errno macro
36918 expansion.
36919 * manual/filesys.texi: Likewise.
36920 (getumask): Document as specific to GNU/Hurd.
36921 * manual/install.texi: Likewise. Reword some references to
36922 GNU/Linux.
36923 * manual/intro.texi: Likewise.
36924 * manual/io.texi: Likewise.
36925 (File Name Portability): Detail which constraints are inapplicable
36926 to all GNU systems and which are only inapplicable to GNU/Hurd.
36927 * manual/job.texi: Likewise.
36928 * manual/llio.texi: Likewise.
36929 (O_NOCTTY): Document as present on GNU/Linux.
36930 * manual/maint.texi: Likewise.
36931 * manual/memory.texi: Likewise.
36932 * manual/pattern.texi: Likewise.
36933 * manual/pipe.texi: Likewise.
36934 * manual/process.texi: Likewise.
36935 * manual/resource.texi: Likewise.
36936 (RUSAGE_CHILDREN): Remove statement about specifying a particular
36937 child on GNU/Hurd.
36938 * manual/setjmp.texi: Likewise.
36939 * manual/signal.texi: Likewise.
36940 * manual/startup.texi: Likewise.
36941 * manual/stdio.texi: Likewise.
36942 * manual/terminal.texi: Likewise.
36943 (ONLCR): Document as POSIX.
36944 (OXTABS): Document availability on GNU/Linux as XTABS.
36945 (ONOEOT): Document availability separately from other bits.
36946 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
36947 * manual/time.texi: Likewise.
36948 * manual/users.texi: Likewise.
36949 * INSTALL: Regenerated.
36950 * sysdeps/gnu/errlist.c: Regenerated.
36951
07037eeb
JM
36952 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
36953 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
36954 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
36955 puts.
36956 * configure: Regenerated.
36957
d1d3431a
JM
369582012-03-07 Joseph Myers <joseph@codesourcery.com>
36959
af6a1e37
JM
36960 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
36961 default includes instead of AC_HEADER_CHECK.
36962 * sysdeps/i386/configure: Regenerated.
36963
d1d3431a
JM
36964 [BZ #10716]
36965 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
36966 * math/s_cacoshf.c (__cacoshf): Likewise.
36967 * math/s_cacoshl.c (__cacoshl): Likewise.
36968 * math/s_casinh.c (__casinh): Set signs of result from argument.
36969 * math/s_casinhf.c (__casinhf): Likewise.
36970 * math/s_casinhl.c (__casinhl): Likewise.
36971 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
36972 (casinh_test): Add more tests.
36973 * sysdeps/i386/fpu/libm-test-ulps: Update.
36974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36975
482ff4da
UD
369762012-03-07 Ulrich Drepper <drepper@gmail.com>
36977
872fda05
UD
36978 * po/zh_TW.po: Update from translation team.
36979
a4300c7a
UD
36980 * login/Makefile (distribute): Remove variable.
36981 * catgets/Makefile: Likewise.
36982 * mach/Makefile: Likewise.
36983 * malloc/Makefile: Likewise.
36984 * misc/Makefile: Likewise.
36985 * iconv/Makefile: Likewise.
36986 * nscd/Makefile: Likewise.
36987 * hurd/Makefile: Likewise.
36988 * manual/Makefile: Likewise.
36989 * locale/Makefile: Likewise.
36990 * intl/Makefile: Likewise.
36991 * conform/Makefile: Likewise.
36992 * nss/Makefile: Likewise.
36993 * time/Makefile: Likewise.
36994 * soft-fp/Makefile: Likewise.
36995 * dirent/Makefile: Likewise.
36996 * gmon/Makefile: Likewise.
36997 * po/Makefile: Likewise.
36998 * rt/Makefile: Likewise.
36999 * socket/Makefile: Likewise.
37000 * math/Makefile: Likewise.
37001 * signal/Makefile: Likewise.
37002 * debug/Makefile: Likewise.
37003 * elf/Makefile: Likewise.
37004 * timezone/Makefile: Likewise.
37005 * stdlib/Makefile: Likewise.
37006 * iconvdata/Makefile: Likewise.
37007 * sunrpc/Makefile: Likewise.
37008 * io/Makefile: Likewise.
37009 * argp/Makefile: Likewise.
37010 * inet/Makefile: Likewise.
37011 * hesiod/Makefile: Likewise.
37012 * grp/Makefile: Likewise.
37013 * csu/Makefile: Likewise.
37014 * wctype/Makefile: Likewise.
37015 * crypt/Makefile: Likewise.
37016 * libio/Makefile: Likewise.
37017 * string/Makefile: Likewise.
37018 * nis/Makefile: Likewise.
37019 * resolv/Makefile: Likewise.
37020 * stdio-common/Makefile: Likewise.
37021 * wcsmbs/Makefile: Likewise.
37022 * dlfcn/Makefile: Likewise.
37023 * posix/Makefile: Likewise.
37024
3b7c4e74 37025 [BZ #6959]
482ff4da
UD
37026 * timezone/Makefile: Don't install timezone files, just the programs
37027 and scripts.
37028
f72ed77d
UD
370292012-03-06 Ulrich Drepper <drepper@gmail.com>
37030
a000466f
UD
37031 * nss/databases.def: Add missing gshadow entry.
37032
f72ed77d
UD
37033 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
37034
a53b7a4e
MP
370352012-03-06 Marek Polacek <polacek@redhat.com>
37036
37037 [BZ #13726]
37038 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37039 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37040 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37041 * stdio-common/tst-long-dbl-fphex.c: New file.
37042
e9258400
DM
370432012-03-06 David S. Miller <davem@davemloft.net>
37044
37045 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37046 (set_obp_int): New function.
37047 (get_obp_int): New function.
37048 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
37049 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37050 Avoid unused variable warnings on 'val' and use builtin_expect.
37051 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37052 __builtin_expect.
e9258400
DM
37053 (INLINE_CLONE_SYSCALL): Likewise.
37054
3bd2c723
DM
370552012-03-05 David S. Miller <davem@davemloft.net>
37056
37057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37058
bbb78d03
AS
370592012-03-05 Andreas Schwab <schwab@linux-m68k.org>
37060
884c5db4
AS
37061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37062
bbb78d03
AS
37063 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37064 only for |x| >= 40.
37065 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37066
1c9f702a 370672012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
37068
37069 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37070 Replace gettimeofday with __vdso_gettimeofday.
37071
7be16f82
RM
37072 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37073 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37074 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
37075
37076 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37077 time with __vdso_time.
37078
ed58a00f
JM
370792012-03-05 Joseph Myers <joseph@codesourcery.com>
37080
37081 * manual/lang.texi (size_t): Note types to which size_t may be
37082 equivalent with the GNU C Library, but do not describe when
37083 differences between them are significant.
37084
30ee4ced
AJ
370852012-03-05 Andreas Jaeger <aj@suse.de>
37086
37087 * sysdeps/i386/fpu/libm-test-ulps: Update.
37088
b7cd39e8
JM
370892012-03-05 Joseph Myers <joseph@codesourcery.com>
37090
37091 [BZ #3976]
37092 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37093 (__ieee754_pow): Save and restore rounding mode and use
37094 round-to-nearest for main computations.
37095 * math/libm-test.inc (pow_test_tonearest): New function.
37096 (pow_test_towardzero): Likewise.
37097 (pow_test_downward): Likewise.
37098 (pow_test_upward): Likewise.
37099 (main): Call the new functions.
37100 * sysdeps/i386/fpu/libm-test-ulps: Update.
37101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
37102
37103 [BZ #3976]
37104 * math/libm-test.inc (cosh_test_tonearest): New function.
37105 (cosh_test_towardzero): Likewise.
37106 (cosh_test_downward): Likewise.
37107 (cosh_test_upward): Likewise.
37108 (sinh_test_tonearest): Likewise.
37109 (sinh_test_towardzero): Likewise.
37110 (sinh_test_downward): Likewise.
37111 (sinh_test_upward): Likewise.
37112 (main): Call the new functions.
37113 * sysdeps/i386/fpu/libm-test-ulps: Update.
37114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37115
6c6a98c9
TV
371162012-03-05 Tom de Vries <tom@codesourcery.com>
37117
37118 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37119 default stack guard is set in last bytes.
37120 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37121
21bb2d2e 371222012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 37123
21bb2d2e 37124 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 37125
21bb2d2e
AJ
37126 [BZ #13656]
37127 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37128 possibly allocate from heap instead of stack.
37129 * stdio-common/bug-vfprintf-nargs.c: New file.
37130 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 37131
c6922934
AS
371322012-03-03 Andreas Schwab <schwab@linux-m68k.org>
37133
37134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37135
bc957d53
MP
371362012-03-03 Marek Polacek <polacek@redhat.com>
37137
37138 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37139 * math/math_private.h: Likewise.
37140 * stdlib/tst-strtod.c: Likewise.
37141 * sysdeps/i386/i486/bits/atomic.h: Likewise.
37142 * sysdeps/x86_64/bits/atomic.h: Likewise.
37143
6358490d
DM
371442012-03-02 David S. Miller <davem@davemloft.net>
37145
37146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37150 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37151 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37152 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37153 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37154
01ae168d
RM
371552012-03-02 Roland McGrath <roland@hack.frob.com>
37156
d9a17c07
RM
37157 [BZ #13792]
37158 * manual/examples/README: New file, says the example source files
37159 can be used under GPL>=2.
37160 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37161 line containing just "*/".
37162 * manual/examples/add.c: Add copyright header (GPL>=2).
37163 * manual/examples/argp-ex1.c: Likewise.
37164 * manual/examples/argp-ex2.c: Likewise.
37165 * manual/examples/argp-ex3.c: Likewise.
37166 * manual/examples/argp-ex4.c: Likewise.
37167 * manual/examples/atexit.c: Likewise.
37168 * manual/examples/db.c: Likewise.
37169 * manual/examples/dir.c: Likewise.
37170 * manual/examples/dir2.c: Likewise.
37171 * manual/examples/execinfo.c: Likewise.
37172 * manual/examples/filecli.c: Likewise.
37173 * manual/examples/filesrv.c: Likewise.
37174 * manual/examples/fmtmsgexpl.c: Likewise.
37175 * manual/examples/genpass.c: Likewise.
37176 * manual/examples/inetcli.c: Likewise.
37177 * manual/examples/inetsrv.c: Likewise.
37178 * manual/examples/isockad.c: Likewise.
37179 * manual/examples/longopt.c: Likewise.
37180 * manual/examples/memopen.c: Likewise.
37181 * manual/examples/memstrm.c: Likewise.
37182 * manual/examples/mkfsock.c: Likewise.
37183 * manual/examples/mkisock.c: Likewise.
37184 * manual/examples/mygetpass.c: Likewise.
37185 * manual/examples/pipe.c: Likewise.
37186 * manual/examples/popen.c: Likewise.
37187 * manual/examples/rprintf.c: Likewise.
37188 * manual/examples/search.c: Likewise.
37189 * manual/examples/select.c: Likewise.
37190 * manual/examples/setjmp.c: Likewise.
37191 * manual/examples/sigh1.c: Likewise.
37192 * manual/examples/sigusr.c: Likewise.
37193 * manual/examples/stpcpy.c: Likewise.
37194 * manual/examples/strdupa.c: Likewise.
37195 * manual/examples/strftim.c: Likewise.
37196 * manual/examples/strncat.c: Likewise.
37197 * manual/examples/subopt.c: Likewise.
37198 * manual/examples/swapcontext.c: Likewise.
37199 * manual/examples/termios.c: Likewise.
37200 * manual/examples/testopt.c: Likewise.
37201 * manual/examples/testpass.c: Likewise.
37202 * manual/examples/timeval_subtract.c: Likewise.
37203
01ae168d
RM
37204 [BZ #13792]
37205 * manual/time.texi (Elapsed Time): Move timeval_subtract example
37206 function to ...
37207 * manual/timeval_subtract.c.texi: ... here, new file.
37208
49efa33d
DM
372092012-03-02 David S. Miller <davem@davemloft.net>
37210
37211 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37212
28afd92d
JM
372132012-03-02 Joseph Myers <joseph@codesourcery.com>
37214
804360ed
JM
37215 [BZ #3976]
37216 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37217 (__sin): Save and restore rounding mode and use round-to-nearest
37218 for all computations.
37219 (__cos): Save and restore rounding mode and use round-to-nearest
37220 for all computations.
37221 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37222 <fenv.h>.
37223 (tan): Save and restore rounding mode and use round-to-nearest for
37224 all computations.
37225 * math/libm-test.inc (cos_test_tonearest): New function.
37226 (cos_test_towardzero): Likewise.
37227 (cos_test_downward): Likewise.
37228 (cos_test_upward): Likewise.
37229 (sin_test_tonearest): Likewise.
37230 (sin_test_towardzero): Likewise.
37231 (sin_test_downward): Likewise.
37232 (sin_test_upward): Likewise.
37233 (tan_test_tonearest): Likewise.
37234 (tan_test_towardzero): Likewise.
37235 (tan_test_downward): Likewise.
37236 (tan_test_upward): Likewise.
37237 (main): Call the new functions.
37238 * sysdeps/i386/fpu/libm-test-ulps: Update.
37239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37240
a6d06d7b
JM
37241 [BZ #10135]
37242 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37243 small n, then large n, before computing and testing k+n.
37244 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37245 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37246 Likewise.
37247 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37248 Likewise.
37249 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37250 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37251 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37252 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37253 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37254 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37255 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37256 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37257 * math/libm-test.inc (scalbn_test): Add more tests.
37258 (scalbln_test): Likewise.
37259
07e12bb3
JM
37260 * manual/filesys.texi (mode_t): Describe constraints on size and
37261 signedness, not exact equivalence to a particular type.
37262 (ino_t): Likewise.
37263 (ino64_t): Likewise.
37264 (dev_t): Likewise.
37265 (nlink_t): Likewise.
37266 (blkcnt_t): Likewise.
37267 (blkcnt64_t): Likewise.
37268 * manual/llio.texi (off_t): Likewise.
37269
28afd92d
JM
37270 [BZ #3976]
37271 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37272 (__ieee754_exp): Save and restore rounding mode and use
37273 round-to-nearest for all computations.
37274 * math/libm-test.inc (exp_test_tonearest): New function.
37275 (exp_test_towardzero): Likewise.
37276 (exp_test_downward): Likewise.
37277 (exp_test_upward): Likewise.
37278 (main): Call the new functions.
37279 * sysdeps/i386/fpu/libm-test-ulps: Update.
37280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37281
b1eeb65d
CD
372822012-03-01 Chris Demetriou <cgd@google.com>
37283
37284 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37285 have predictable order.
37286
53362a4b
DM
372872012-03-01 David S. Miller <davem@davemloft.net>
37288
3c969083
DM
37289 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37290
759707de
DM
37291 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37292 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37293 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37294 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37295
dfdb8ff2
DM
37296 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37297 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37298 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37300 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37301 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37302 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37303 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37304 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37305
ead89f96
DM
37306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37307
7f66bd07
DM
37308 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37309 * sysdeps/sparc/fpu/libm-test-ulps: to here.
37310 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37311
53362a4b
DM
37312 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37313 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37314 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37315 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37316 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37317 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37318 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37319 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37320 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37321 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37322 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37323 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37324 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37325 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37326 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37327 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37328 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37329 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37330 * sysdeps/sparc/elf/configure: Regenerated.
37331
7b1902cb
JM
373322012-03-01 Joseph Myers <joseph@codesourcery.com>
37333
bec039bc
JM
37334 * configure.in (AS, LD): Require binutils 2.20 or later.
37335 * configure: Regenerated.
37336 * manual/install.texi (Tools for Compilation): Give binutils 2.20
37337 as required minimum version.
37338 * INSTALL: Regenerated.
37339
7b1902cb
JM
37340 [BZ #2541]
37341 [BZ #4108]
37342 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37343 before squaring exponent.
37344 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37345 bottom long double and 27 bits of top long double before squaring
37346 exponent.
37347 * math/libm-test.inc (erfc_test): Add more tests.
37348 * sysdeps/i386/fpu/libm-test-ulps: Update.
37349 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37351
f775c276
KT
373522012-03-01 Kai Tietz <ktietz@redhat.com>
37353
37354 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37355 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37356 containing bit-fields.
37357 * soft-fp/extended.h (_FP_UNION_E): Likewise.
37358 * soft-fp/single.h (_FP_UNION_S): Likewise.
37359 * soft-fp/double.h (_FP_UNION_D): Likewise.
37360
5b8a4d4a
JM
373612012-02-29 Joseph Myers <joseph@codesourcery.com>
37362
0bab47b6
JM
37363 [BZ #13786]
37364 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37365 not include ../strcmp.S.
37366 [USE_AS_STRNCASECMP_L]: Likewise.
37367 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37368 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37369 * sysdeps/i386/i686/multiarch/strncase_l-c.c
37370 (__strncasecmp_l_ia32): Define as alias to
37371 __strncasecmp_l_nonascii.
37372
0fcad3e2
JM
37373 [BZ #5794]
37374 * math/libm-test.inc (expm1_test): Add test for bug 5794.
37375 * sysdeps/i386/fpu/libm-test-ulps: Update.
37376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37377
5b8a4d4a
JM
37378 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37380
8fdceb2e
JL
373812012-02-29 Jeff Law <law@redhat.com>
37382
37383 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37384 out of bounds read.
37385
1f393a11
MP
373862012-02-29 Marek Polacek <polacek@redhat.com>
37387
37388 [BZ #13706]
37389 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37390 * elf/Makefile: Add rules to run tst-unused-dep.out.
37391
8847f037
DM
373922012-02-28 David S. Miller <davem@davemloft.net>
37393
37394 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37395 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37396 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37397 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37398 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37399 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37400
169d7f11
JM
374012012-02-29 Joseph Myers <joseph@codesourcery.com>
37402
37403 * math/libm-test.inc (llround_test): Move one test from
37404 lround_test. Use TEST_f_L in moved test.
37405 (lround_test): Move misplaced test to llround_test. Add testcase
37406 from bug 2561.
37407
39adf059
UD
374082012-02-28 Ulrich Drepper <drepper@gmail.com>
37409
37410 * sysdeps/x86_64/fpu/e_expf.S: New file.
37411 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37412
71b5d1c5
SB
374132012-02-28 Stanislav Brabec <sbrabec@suse.cz>
37414
37415 [BZ #13637]
37416 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37417 of remain_len that may cause incomplete multi-byte character and
37418 false match.
37419 * posix/bug-regex33.c: New file.
37420 * posix/Makefile (tests): Add bug-regex33.
37421
1f77f049
JM
374222012-02-28 Joseph Myers <joseph@codesourcery.com>
37423
37424 * manual/macros.texi: New file.
37425 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37426 * manual/libc.texinfo: Include macros.texi.
37427 * manual/creatute.texi: Likewise.
37428 * manual/install.texi: Likewise.
37429 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37430 @glibcadj{} in references to the GNU C Library.
37431 * manual/charset.texi: Likewise.
37432 * manual/conf.texi: Likewise.
37433 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
37434 when not using those macros.
37435 * manual/creature.texi: Likewise.
37436 * manual/crypt.texi: Likewise.
37437 * manual/errno.texi: Likewise.
37438 * manual/filesys.texi: Likewise.
37439 * manual/header.texi: Likewise.
37440 * manual/install.texi: Likewise.
37441 * manual/intro.texi: Likewise.
37442 * manual/io.texi: Likewise.
37443 * manual/job.texi: Likewise.
37444 * manual/lang.texi: Likewise.
37445 * manual/libc.texiinfo: Likewise.
37446 * manual/llio.texi: Likewise.
37447 * manual/locale.texi: Likewise.
37448 * manual/maint.texi: Likewise.
37449 * manual/math.texi: Likewise.
37450 * manual/memory.texi: Likewise.
37451 * manual/message.texi: Likewise.
37452 * manual/nss.texi: Likewise.
37453 * manual/pattern.texi: Likewise.
37454 * manual/process.texi: Likewise.
37455 * manual/resource.texi: Likewise.
37456 * manual/search.texi: Likewise.
37457 * manual/setjmp.texi: Likewise.
37458 * manual/signal.texi: Likewise.
37459 * manual/socket.texi: Likewise.
37460 * manual/startup.texi: Likewise.
37461 * manual/stdio.texi: Likewise.
37462 * manual/string.texi: Likewise.
37463 * manual/sysinfo.texi: Likewise.
37464 * manual/syslog.texi: Likewise.
37465 * manual/terminal.texi: Likewise.
37466 * manual/time.texi: Likewise.
37467 * manual/users.texi: Likewise.
37468 * INSTALL: Regenerated.
37469 * NOTES: Regenerated.
d40c5d54 37470 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 37471
450bf206
AS
374722012-02-28 Andreas Schwab <schwab@linux-m68k.org>
37473
37474 * include/dirent.h: Include <dirstream.h> before
37475 <dirent/dirent.h>.
37476
741a235b
DM
374772012-02-28 David S. Miller <davem@davemloft.net>
37478
37479 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
37480 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
37481 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
37482 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
37483
d6b5aa58
DM
374842012-02-27 David S. Miller <davem@davemloft.net>
37485
1aff59a3
DM
37486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
37487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
37488 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
37489 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
37490
d6b5aa58
DM
37491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
37492 frame pointer instead of stack pointer relative arg slot.
37493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37494 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37495 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37496
433f48bf
CD
374972012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
37498
37499 [BZ #3992]
37500 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
37501
d674b76d
DM
375022012-02-27 David S. Miller <davem@davemloft.net>
37503
37504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
37505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
37508 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37509 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37510 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
37511 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
37512
0e7727f7
JM
375132012-02-27 Joseph Myers <joseph@codesourcery.com>
37514
37515 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
37516 later. Allow versions 5-9.
43be4ca2 37517 * configure: Regenerated.
0e7727f7
JM
37518 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
37519 required minimum version and 4.6 as recommended version. Do not
37520 mention bugs in GCC 2.7 and 2.8.
43be4ca2 37521 * INSTALL: Regenerated.
0e7727f7 37522
a78bc654
DM
375232012-02-27 David S. Miller <davem@davemloft.net>
37524
428d5830
DM
37525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
37526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
37527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
37528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
37529 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
37530 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
37531 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
37532 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
37533
a78bc654
DM
37534 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
37535 manipulate bits before adding and subtracting TWO112[sx].
37536 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37537
4579f81c
RM
375382012-02-27 Roland McGrath <roland@hack.frob.com>
37539
36c8acb4
RM
37540 [BZ #13775]
37541 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
37542 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
37543 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
37544 being in POSIX, because they are in 1003.1-2008.
37545
84ad622b
RM
37546 * rt/tst-aio.c: Include <fcntl.h>.
37547 * rt/tst-aio7.c: Likewise.
37548 * rt/tst-aio64.c: Likewise.
37549
4579f81c
RM
37550 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
37551
abd923db
JM
375522012-02-27 Joseph Myers <joseph@codesourcery.com>
37553
37554 * manual/install.texi (--with-headers): Describe headers as
37555 interface headers, not private headers.
37556 (Specific advice for GNU/Linux systems): Describe use of headers
37557 from "make headers_install", not private headers from older
37558 kernels.
43be4ca2 37559 * INSTALL: Regenerated.
abd923db
JM
37560 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
37561 Change to 2.6.19.
37562 * sysdeps/unix/sysv/linux/configure: Regenerated.
37563
6664049b
JM
37564 * manual/llio.texi (fclean): Remove documentation.
37565
bb8b6697
JM
37566 * manual/Makefile (libc-texi-generated): New variable. Include
37567 version.texi.
37568 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
37569 $(libc-texi-generated), not duplicated list of files.
37570 (version.texi, stamp-version): New rules.
37571 (realclean): Remove $(libc-texi-generated), not individual files
37572 from that list. Do not remove dir-add.texinfo.
37573 * manual/libc.texinfo: Comment out uses of edition numbers and
37574 references to printed manual. Remove last-updated dates.
37575 (EDITION): Comment out.
37576 (ISBN): Likewise.
37577 (VERSION, UPDATED): Remove.
37578 (version.texi): Include.
37579
12e5c3b9
AS
375802012-02-27 Andreas Schwab <schwab@linux-m68k.org>
37581
37582 * sysdeps/posix/spawni.c: Include <signal.h>.
37583 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
37584 * sysdeps/pthread/aio_fsync.c: Likewise.
37585
4efeffc1 375862012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 37587
ba63ba08
UD
37588 * conform/Makefile (tests): Run only when not cross-compiling and
37589 when fast-check is not defined.
37590
d94a4670
UD
37591 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
37592 * conform/data/limits.h-data: Fixes for POSIX2008.
37593 * conform/run-conformtest.sh: Run all tests.
37594 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
37595 headers.
37596 * include/bits/dlfcn.h: Likewise.
37597 * include/langinfo.h: Likewise.
37598 * include/monetary.h: Likewise.
37599 * include/sys/poll.h: Likewise.
37600
37601 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
37602 for __USE_GNU.
37603 * posix/spawn.h: Define __need_sigset_t.
37604 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
37605 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
37606 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
37607 to get sigevent_t only.
37608 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
37609 only for __USE_GNU.
37610 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37611 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37612 process_vm_writev only for __USE_GNU.
37613 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
37614
37615 * conform/Makefile: For now ignore errors from run-conformtest.
37616 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
37617 POSIX to avoid namespace pollution. Don't prepend headers.
37618 * conform/data/aio.h-data: Fixes for POSIX testing.
37619 * conform/data/fcntl.h-data: Likewise.
37620 * conform/data/glob.h-data: Likewise.
37621 * conform/data/grp.h-data: Likewise.
37622 * conform/data/pthread.h-data: Likewise.
37623 * conform/data/pwd.h-data: Likewise.
37624 * conform/data/signal.h-data: Likewise.
37625 * conform/data/spawn.h-data: Likewise.
37626 * conform/data/stdio.h-data: Likewise.
37627 * conform/data/stdlib.h-data: Likewise.
37628 * conform/data/stropts.h-data: Likewise.
37629 * conform/data/sys/mman.h-data: Likewise.
37630 * conform/data/sys/stat.h-data: Likewise.
37631 * conform/data/sys/types.h-data: Likewise.
37632 * conform/data/sys/wait.h-data: Likewise.
37633 * conform/data/time.h-data: Likewise.
37634 * conform/data/unistd.h-data: Likewise.
37635 * conform/data/utime.h-data: Likewise.
37636
37637 * io/sys/stat.h: fchmod was always in POSIX.
37638 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
37639 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
37640 * rt/aio.h: Define __need_timespec before including <time.h>.
37641 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
37642 struct. Add forward declaration of pthread_attr_t and use it in
37643 sigevent.
37644 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37645 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37646 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
37647 always remove CLK_TCK definition.
37648
c20105c3
AS
376492012-02-26 Andreas Schwab <schwab@linux-m68k.org>
37650
37651 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
37652
7a270350
UD
376532012-02-25 Ulrich Drepper <drepper@gmail.com>
37654
31341567
UD
37655 * conform/run-conformtest.sh: New file.
37656 * conform/Makefile: Run run-conformtest for tests.
37657 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
37658 support.
37659
37660 * conform/data/uchar.h-data: New file.
37661 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
37662 * conform/data/arpa/inet.h-data: Likewise.
37663 * conform/data/assert.h-data: Likewise.
37664 * conform/data/complex.h-data: Likewise.
37665 * conform/data/cpio.h-data: Likewise.
37666 * conform/data/ctype.h-data: Likewise.
37667 * conform/data/dirent.h-data: Likewise.
37668 * conform/data/dlfcn.h-data: Likewise.
37669 * conform/data/errno.h-data: Likewise.
37670 * conform/data/fcntl.h-data: Likewise.
37671 * conform/data/float.h-data: Likewise.
37672 * conform/data/fmtmsg.h-data: Likewise.
37673 * conform/data/fnmatch.h-data: Likewise.
37674 * conform/data/ftw.h-data: Likewise.
37675 * conform/data/glob.h-data: Likewise.
37676 * conform/data/grp.h-data: Likewise.
37677 * conform/data/iconv.h-data: Likewise.
37678 * conform/data/inttypes.h-data: Likewise.
37679 * conform/data/langinfo.h-data: Likewise.
37680 * conform/data/libgen.h-data: Likewise.
37681 * conform/data/limits.h-data: Likewise.
37682 * conform/data/locale.h-data: Likewise.
37683 * conform/data/math.h-data: Likewise.
37684 * conform/data/monetary.h-data: Likewise.
37685 * conform/data/mqueue.h-data: Likewise.
37686 * conform/data/ndbm.h-data: Likewise.
37687 * conform/data/net/if.h-data: Likewise.
37688 * conform/data/netdb.h-data: Likewise.
37689 * conform/data/netinet/in.h-data: Likewise.
37690 * conform/data/nl_types.h-data: Likewise.
37691 * conform/data/poll.h-data: Likewise.
37692 * conform/data/pthread.h-data: Likewise.
37693 * conform/data/pwd.h-data: Likewise.
37694 * conform/data/regex.h-data: Likewise.
37695 * conform/data/sched.h-data: Likewise.
37696 * conform/data/search.h-data: Likewise.
37697 * conform/data/semaphore.h-data: Likewise.
37698 * conform/data/setjmp.h-data: Likewise.
37699 * conform/data/signal.h-data: Likewise.
37700 * conform/data/spawn.h-data: Likewise.
37701 * conform/data/stdarg.h-data: Likewise.
37702 * conform/data/stdio.h-data: Likewise.
37703 * conform/data/stdlib.h-data: Likewise.
37704 * conform/data/string.h-data: Likewise.
37705 * conform/data/strings.h-data: Likewise.
37706 * conform/data/stropts.h-data: Likewise.
37707 * conform/data/sys/ipc.h-data: Likewise.
37708 * conform/data/sys/mman.h-data: Likewise.
37709 * conform/data/sys/msg.h-data: Likewise.
37710 * conform/data/sys/resource.h-data: Likewise.
37711 * conform/data/sys/select.h-data: Likewise.
37712 * conform/data/sys/sem.h-data: Likewise.
37713 * conform/data/sys/shm.h-data: Likewise.
37714 * conform/data/sys/socket.h-data: Likewise.
37715 * conform/data/sys/stat.h-data: Likewise.
37716 * conform/data/sys/statvfs.h-data: Likewise.
37717 * conform/data/sys/time.h-data: Likewise.
37718 * conform/data/sys/timeb.h-data: Likewise.
37719 * conform/data/sys/times.h-data: Likewise.
37720 * conform/data/sys/types.h-data: Likewise.
37721 * conform/data/sys/uio.h-data: Likewise.
37722 * conform/data/sys/un.h-data: Likewise.
37723 * conform/data/sys/utsname.h-data: Likewise.
37724 * conform/data/sys/wait.h-data: Likewise.
37725 * conform/data/syslog.h-data: Likewise.
37726 * conform/data/tar.h-data: Likewise.
37727 * conform/data/termios.h-data: Likewise.
37728 * conform/data/utime.h-data: Likewise.
37729 * conform/data/utmpx.h-data: Likewise.
37730 * conform/data/varargs.h-data: Likewise.
37731 * conform/data/wchar.h-data: Likewise.
37732 * conform/data/wctype.h-data: Likewise.
37733 * conform/data/wordexp.h-data: Likewise.
37734
37735 * include/stropts.h: New file.
37736 * include/uchar.h: New file.
37737 * include/aio.h: Changes to allow conformtest.pl to use the headers.
37738 * include/assert.h: Likewise.
37739 * include/ctype.h: Likewise.
37740 * include/dirent.h: Likewise.
37741 * include/dlfcn.h: Likewise.
37742 * include/fcntl.h: Likewise.
37743 * include/fnmatch.h: Likewise.
37744 * include/glob.h: Likewise.
37745 * include/grp.h: Likewise.
37746 * include/libio.h: Likewise.
37747 * include/locale.h: Likewise.
37748 * include/math.h: Likewise.
37749 * include/net/if.h: Likewise.
37750 * include/netdb.h: Likewise.
37751 * include/netinet/in.h: Likewise.
37752 * include/pthread.h: Likewise.
37753 * include/pwd.h: Likewise.
37754 * include/regex.h: Likewise.
37755 * include/sched.h: Likewise.
37756 * include/search.h: Likewise.
37757 * include/setjmp.h: Likewise.
37758 * include/signal.h: Likewise.
37759 * include/stdio.h: Likewise.
37760 * include/stdlib.h: Likewise.
37761 * include/string.h: Likewise.
37762 * include/sys/cdefs.h: Likewise.
37763 * include/sys/mman.h: Likewise.
37764 * include/sys/msg.h: Likewise.
37765 * include/sys/resource.h: Likewise.
37766 * include/sys/select.h: Likewise.
37767 * include/sys/socket.h: Likewise.
37768 * include/sys/stat.h: Likewise.
37769 * include/sys/statvfs.h: Likewise.
37770 * include/sys/time.h: Likewise.
37771 * include/sys/times.h: Likewise.
37772 * include/sys/uio.h: Likewise.
37773 * include/sys/utsname.h: Likewise.
37774 * include/sys/wait.h: Likewise.
37775 * include/termios.h: Likewise.
37776 * include/time.h: Likewise.
37777 * include/ulimit.h: Likewise.
37778 * include/unistd.h: Likewise.
37779 * include/utime.h: Likewise.
37780 * include/wchar.h: Likewise.
37781 * include/wctype.h: Likewise.
37782 * include/wordexp.h: Likewise.
37783
37784 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
37785
7a270350
UD
37786 * time/time.h: TIME_UTC must be a macro.
37787 Make timespec_get available for ISO C11 only as well.
37788
7724defc
UD
377892012-02-24 Ulrich Drepper <drepper@gmail.com>
37790
37791 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
37792 Reported by Peng Haitao <penght@cn.fujitsu.com>.
37793
6b1d1d46
JM
377942012-02-24 Joseph Myers <joseph@codesourcery.com>
37795
37796 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 37797
0f8bbd69
JM
377982012-02-24 Joseph Myers <joseph@codesourcery.com>
37799
37800 * manual/texinfo.tex: Update to version 2012-01-19.16.
37801
66ab80bc
JM
378022012-02-24 Joseph Myers <joseph@codesourcery.com>
37803
37804 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
37805
74981cc5
RM
378062012-02-24 Roland McGrath <roland@hack.frob.com>
37807
ee968201
RM
37808 [BZ #13738]
37809 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
37810 * manual/fdl-1.3.texi: New file.
37811 * manual/fdl-1.1.texi: File removed.
37812
74981cc5
RM
37813 [BZ #13738]
37814 * manual/libc.texinfo (FDL_VERSION): New @set.
37815 Use it for mention of FDL in cover text.
37816 (Documentation License): Use it in @include file name.
37817
7bb764bc
JM
378182012-02-22 Joseph Myers <joseph@codesourcery.com>
37819 Roland McGrath <roland@hack.frob.com>
37820
37821 [BZ #5461]
57f41c40
AS
37822 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
37823 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
37824 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
37825 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
37826 name.
37827 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
37828
6cbeae47
JM
378292012-02-22 Joseph Myers <joseph@codesourcery.com>
37830
37831 [BZ #2547]
37832 [BZ #11365]
37833 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
37834 manipulate bits before adding and subtracting TWO23[sx].
37835 * math/libm-test.inc (nearbyint_test): Add more tests.
37836
fe45ce09
JM
378372012-02-22 Joseph Myers <joseph@codesourcery.com>
37838
37839 [BZ #2548]
37840 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
37841 bits before adding and subtracting TWO23[sx].
37842 * math/libm-test.inc (rint_test): Add more tests.
37843 (rint_test_tonearest): Likewise.
37844 (rint_test_towardzero): Likewise.
37845 (rint_test_downward): Likewise.
37846 (rint_test_upward: Likewise.
37847
ff3b3d82
JM
378482012-02-22 Joseph Myers <joseph@codesourcery.com>
37849
37850 [BZ #10110]
37851 * include/stdc-predef.h: New file. Extracted from features.h.
37852 * include/features.h: Include stdc-predef.h.
37853 * Makefile (headers): Add stdc-predef.h.
37854 * CONFORMANCE (Compiler limitations): Update.
37855
ef0aab35
JM
378562012-02-22 Joseph Myers <joseph@codesourcery.com>
37857
37858 * manual/libc.texinfo (VERSION, UPDATED): Revert.
37859
58639409
DM
378602012-02-21 David S. Miller <davem@davemloft.net>
37861
37862 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
37863 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37864
c0e70b25
DM
378652012-02-20 David S. Miller <davem@davemloft.net>
37866
37867 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
37868 using a normal save/restore sequence, rather than allocating a
37869 dummy stack frame just to store a frame pointer and restore.
37870 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37871
fb06851d
JM
378722012-02-21 Joseph Myers <joseph@codesourcery.com>
37873
37874 * manual/install.texi: Fix stray word in line-wrapped comment.
37875
7a8b71c3
DM
378762012-02-20 David S. Miller <davem@davemloft.net>
37877
d510c123
DM
37878 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
37879 both binutils and gcc support GOTDATA.
37880
0722d7c2
DM
37881 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
37882 "rd %pc" in the PIC register setup sequences.
37883
3d2b3019
DM
37884 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
37885 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37886 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37887 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37888 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37889 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37890 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37891 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37892 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
37893 (SYSCALL_ERROR_HANDLER): Likewise.
37894 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37895 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37896 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
37897 (SYSCALL_ERROR_HANDLER): Likewise.
37898
c80098a9
DM
37899 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
37900 (HAVE_GCC_GOTDATA): New.
37901 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
37902 relocation support in both binutils and gcc.
37903 * sysdeps/sparc/elf/configure: Regenerate.
37904
3a2545a0
DM
37905 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
37906 * sysdeps/sparc/sparc32/elf/configure: Delete.
37907 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
37908 * sysdeps/sparc/sparc64/elf/configure: Delete.
37909 * sysdeps/sparc/elf/configure.in: New file.
37910 * sysdeps/sparc/elf/configure: Generate.
37911
7a8b71c3
DM
37912 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
37913 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
37914 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37915 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
37916 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
37917
f1e86fca
JM
379182012-02-21 Joseph Myers <joseph@codesourcery.com>
37919
37920 * manual/install.texi: Do not mention specific glibc version
37921 numbers.
37922 * manual/libc.texinfo (VERSION, UPDATED): Update.
37923 (@copying): Use @copyright{} and range of years.
37924
0e7dfaef
JM
379252012-02-21 Joseph Myers <joseph@codesourcery.com>
37926
37927 [BZ #13695]
37928 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
37929 [crti.S not in sysdirs] (generated): Do not append.
37930 [crti.S not in sysdirs] (omit-deps): Likewise.
37931 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
37932 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
37933 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
37934 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
37935 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
37936 Likewise.
37937 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
37938 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
37939 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
37940 * csu/defs.awk: Remove file.
37941 * sysdeps/generic/initfini.c: Likewise.
37942 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
37943 variable.
37944 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
37945 Likewise.
37946
599af3ca
JM
379472012-02-20 Joseph Myers <joseph@codesourcery.com>
37948
37949 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
37950 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
37951 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
37952 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
37953 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37954 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
37955 <bits/epoll.h>.
37956 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
37957 (__EPOLL_PACKED): Define to empty if not defined by
37958 <bits/epoll.h>.
37959 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
37960 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37961 bits/epoll.h.
37962
0e499750
JM
379632012-02-20 Joseph Myers <joseph@codesourcery.com>
37964
37965 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
37966 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
37967 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
37968 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
37969 <bits/timerfd.h>.
37970 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
37971 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37972 bits/timerfd.h.
37973
5ad91f6e
JM
379742012-02-20 Joseph Myers <joseph@codesourcery.com>
37975
37976 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
37977 in C locale.
37978 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37979 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
37980 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
37981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37982
06b99b02
AJ
379832012-02-20 Aurelien Jarno <aurelien@aurel32.net>
37984
37985 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37986 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37987
7638c0fd
AS
379882012-02-19 Andreas Schwab <schwab@linux-m68k.org>
37989
37990 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
37991 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
37992 defined.
37993 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
37994 Likewise.
37995 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
37996 entry for 2.16.
37997
92221550
AJ
379982012-02-19 Aurelien Jarno <aurelien@aurel32.net>
37999
38000 * math/w_acos.c: Use non-signaling floating-point comparisons.
38001 * math/w_acosf.c: Likewise.
38002 * math/w_acosh.c: Likewise.
38003 * math/w_acoshf.c: Likewise.
38004 * math/w_acoshl.c: Likewise.
38005 * math/w_acosl.c: Likewise.
38006 * math/w_asin.c: Likewise.
38007 * math/w_asinf.c: Likewise.
38008 * math/w_asinl.c: Likewise.
38009 * math/w_atanh.c: Likewise.
38010 * math/w_atanhf.c: Likewise.
38011 * math/w_atanhl.c: Likewise.
38012 * math/w_exp2.c: Likewise.
38013 * math/w_exp2f.c: Likewise.
38014 * math/w_exp2l.c: Likewise.
38015 * math/w_j0.c: Likewise.
38016 * math/w_j0f.c: Likewise.
38017 * math/w_j0l.c: Likewise.
38018 * math/w_j1.c: Likewise.
38019 * math/w_j1f.c: Likewise.
38020 * math/w_j1l.c: Likewise.
38021 * math/w_jn.c: Likewise.
38022 * math/w_jnf.c: Likewise.
38023 * math/w_log.c: Likewise.
38024 * math/w_log10.c: Likewise.
38025 * math/w_log10f.c: Likewise.
38026 * math/w_log10l.c: Likewise.
38027 * math/w_log2.c: Likewise.
38028 * math/w_log2f.c: Likewise.
38029 * math/w_log2l.c: Likewise.
38030 * math/w_logf.c: Likewise.
38031 * math/w_logl.c: Likewise.
38032 * math/w_sqrt.c: Likewise.
38033 * math/w_sqrtf.c: Likewise.
38034 * math/w_sqrtl.c: Likewise.
38035 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38036 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38037 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38038 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38039 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38040
ebaf36eb
JM
380412012-02-19 Joseph Myers <joseph@codesourcery.com>
38042
38043 [BZ #9739]
38044 * manual/string.texi (strnlen): Use correct parameter name in
38045 equivalent expression.
38046
71c254a6
JM
380472012-02-19 Joseph Myers <joseph@codesourcery.com>
38048
38049 [BZ #11174]
38050 * manual/users.texi (seteuid): Consistently use neweuid for
38051 argument name.
38052
16d2c631
JM
380532012-02-19 Joseph Myers <joseph@codesourcery.com>
38054
38055 [BZ #13704]
38056 * manual/nss.texi (Services in the NSS configuration): Correct
38057 list of services in example configuration file.
38058
cd837b09
NB
380592012-02-19 Nick Bowler <nbowler@draconx.ca>
38060
38061 [BZ #11322]
38062 * manual/arith.texi: Remove statements about negative zero
38063 behaving identically to zero.
38064
02c4bbad
JM
380652012-02-18 Joseph Myers <joseph@codesourcery.com>
38066
38067 [BZ #5993]
38068 * manual/install.texi: Do not document upgrading from libc5.
38069
366842e7
JM
380702012-02-18 Joseph Myers <joseph@codesourcery.com>
38071
38072 [BZ #4596]
38073 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38074
dd54084d
DM
380752012-02-18 David S. Miller <davem@davemloft.net>
38076
38077 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38078 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38079 %o7 across the call.
38080 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38081 instead.
38082 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38083 SETUP_PIC_REG_LEAF.
38084 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38085 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38086 * sysdeps/sparc/crtn.S: Likewise.
38087
2bcc53a3
UD
380882012-02-17 Ulrich Drepper <drepper@gmail.com>
38089
38090 * aout/Makefile: Remove.
38091
09c093b5
RK
380922012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
38093
38094 [BZ #13058]
38095 * manual/examples/argp-ex1.c (main): Format definition in GNU
38096 style.
38097 * manual/examples/argp-ex2.c (main): Likewise.
38098 * manual/examples/argp-ex3.c (main): Likewise.
38099 * manual/examples/argp-ex4.c (main): Likewise.
38100 * manual/examples/longopt.c (main): Use new-style prototype
38101 definition.
38102 * manual/examples/strncat.c (main): Specify return type and use
38103 (void) for arguments.
38104 * manual/examples/subopt.c (main): Use char **argv argument.
38105
2ee633a2
JM
381062012-02-17 Joseph Myers <joseph@codesourcery.com>
38107
38108 [BZ #5077]
38109 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38110 rounding modes.
38111
0520adde
FB
381122012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
38113
38114 [BZ #6907]
38115 * manual/string.texi (strchr): Change when strchrnul is
38116 recommended.
38117
3f4081cd
DGM
381182012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
38119
38120 [BZ #174]
38121 * manual/locale.texi (setlocale): Document LOCPATH.
38122
d1b10e78
JM
381232012-02-17 Joseph Myers <joseph@codesourcery.com>
38124
38125 [BZ #10210]
38126 * manual/process.texi (execle): Move @dots{} before last argument.
38127
79c6869c
PB
381282012-02-17 Paul Bolle <pebolle@tiscali.nl>
38129
38130 [BZ #12047]
38131 * manual/charset.texi (Generic Charset Conversion): Fix typo
38132 (LC_TYPE -> LC_CTYPE).
38133
cc6e48bc
NB
381342012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
38135
38136 [BZ #5805]
38137 * manual/arith.texi (scalbn): Use @var{} on parameter names.
38138 (scalbnf): Likewise.
38139 (scalbnl): Likewise.
38140 (scalbln): Likewise.
38141 (scalblnf): Likewise.
38142 (scalblnl): Likewise.
38143 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38144 (vwarnx): Likewise.
38145 (verr): Likewise.
38146 (verrx): Likewise.
38147 * manual/filesys.texi (telldir): Use braces around return type.
38148 * manual/llio.texi (mmap): Add space after comma.
38149 (mmap64): Likewise.
38150 * manual/math.texi (jn): Use @var{} on parameter names.
38151 (jnf): Likewise.
38152 (jnl): Likewise.
38153 (yn): Likewise.
38154 (ynf): Likewise.
38155 (ynl): Likewise.
38156 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38157 line.
38158 * manual/resource.texi (ulimit): Use @dots{} instead of literal
38159 "...".
38160 (sched_get_priority_min): Remove semicolon on @deftypefun line.
38161 (sched_get_priority_max): Likewise.
38162 * manual/signal.texi (sigvec): Add space after comma.
38163 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38164 names.
38165 (if_indextoname): Likewise.
38166 (if_freenameindex): Likewise.
38167 (sendto): Use ',' instead of '.' in prototype.
38168 * manual/startup.texi (syscall): Use @dots{} instead of literal
38169 "...".
38170 * manual/stdio.texi (__fpending): Separate initial words of
38171 paragraph from @deftypefun line.
38172 * manual/syslog.texi (syslog): Use @dots{} instead of literal
38173 "...".
38174 (vsyslog): Use @var{} on parameter names.
38175 * manual/terminal.texi (stty): Use @var{} on parameter names.
38176 * manual/users.texi (getutmp): Use @var{} on parameter names.
38177 (getutmpx): Likewise.
38178
5b23062f
JM
381792012-02-17 Joseph Myers <joseph@codesourcery.com>
38180
38181 [BZ #6884]
38182 * manual/stdio.texi (fopen): Fix typos in description of
38183 ",ccs=STRING".
38184
8dee4833
AJ
381852012-02-17 Aurelien Jarno <aurelien@aurel32.net>
38186
38187 [BZ #4026]
38188 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38189 get clock_id definition.
38190
9078ce93
TS
381912012-02-17 Thomas Schwinge <thomas@schwinge.name>
38192
38193 [BZ #4822]
38194 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38195 (madvise): Cast every argument to void on its own.
38196
3835c55f
JM
381972012-02-17 Joseph Myers <joseph@codesourcery.com>
38198
38199 [BZ #9902]
38200 * manual/startup.texi (Exit Status): Fix typo.
38201
35c47e37
JM
382022012-02-17 Joseph Myers <joseph@codesourcery.com>
38203
38204 [BZ #10140]
38205 * manual/examples/argp-ex1.c: Include <stdlib.h>.
38206 * manual/examples/argp-ex2.c: Likewise.
38207 * manual/examples/argp-ex3.c: Likewise.
38208
e3b69ca7
RH
382092012-02-16 Richard Henderson <rth@redhat.com>
38210
38211 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38212 * sysdeps/s390/s390-32/initfini.c: Remove.
38213 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38214 * sysdeps/s390/s390-64/initfini.c: Remove.
38215
df83af67
KK
382162012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38217
38218 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38219 compiler output for sysdeps/generic/initfini.c.
38220 * sysdeps/sh/elf/initfini.c: Remove file.
38221
f63f3380
DM
382222012-02-16 David S. Miller <davem@davemloft.net>
38223
fb59b3a4
DM
38224 [BZ #11494]
38225 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38226
f63f3380
DM
38227 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38228 * sysdeps/sparc/crti.S: New file.
38229 * sysdeps/sparc/crtn.S: New file.
38230 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38231 * sysdeps/sparc/sparc64/Makefile: Likewise.
38232
df6a4a4a
MF
382332012-02-15 Mike Frysinger <vapier@gentoo.org>
38234
6dd8f3dc 38235 [BZ #3335]
df6a4a4a
MF
38236 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38237
1cac7236
RM
382382012-02-15 Roland McGrath <roland@hack.frob.com>
38239
d2c736f8
RM
38240 [BZ #4822]
38241 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38242
1cac7236
RM
38243 * mach/devstream.c (cookie_io_functions_t): Macro removed.
38244 (write, read, close): Likewise.
38245 Patch by Aurelien Jarno <aurelien@aurel32.net>.
38246
8e475601
JM
382472012-02-15 Joseph Myers <joseph@codesourcery.com>
38248
38249 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38250 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38251 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38252 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38253 <bits/signalfd.h>.
38254 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38255 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38256 bits/signalfd.h.
38257
ed656b40
MP
382582012-02-14 Marek Polacek <polacek@redhat.com>
38259
38260 * sysdeps/x86_64/crti.S: New file.
38261 * sysdeps/x86_64/crtn.S: New file.
38262 * sysdeps/x86_64/elf/initfini.c: Remove file.
38263
2a979d3a
JM
382642012-02-13 Joseph Myers <joseph@codesourcery.com>
38265
38266 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38267 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38268 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38269 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38270 <bits/inotify.h>.
38271 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38272 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38273 bits/inotify.h.
38274
2a418ac3
JM
382752012-02-13 Joseph Myers <joseph@codesourcery.com>
38276
38277 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38278 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38279 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38280 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38281 <bits/eventfd.h>.
38282 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38283 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38284 bits/eventfd.h.
38285
fb779be7
TS
382862012-02-10 Thomas Schwinge <thomas@codesourcery.com>
38287
e19e83c5
RM
38288 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38289 __feraiseexcept instead of feraiseexcept.
7c35ffed 38290
fb779be7
TS
38291 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38292 nanosleep invocations.
38293 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38294 strings, and add error checking for a nanosleep invocations.
38295
59ba27a6
PE
382962012-02-09 Paul Eggert <eggert@cs.ucla.edu>
38297
38298 Replace FSF snail mail address with URLs, as per GNU coding standards.
38299 Most of the snail mail addresses were wrong anyway, and omitting
38300 them makes the source code easier to maintain. Almost all of the
38301 changes are to license notices and to locale LC_IDENTIFICATION
38302 addresses, except for this one:
38303 * manual/libc.texinfo: In "Published by", give the FSF's URL,
38304 not its snail mail address.
38305
57b957eb
RH
383062012-02-09 Richard Henderson <rth@twiddle.net>
38307
af850b1c
RH
38308 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38309 of kernel-features.h.
38310
57b957eb
RH
38311 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38312
6b73181a
MP
383132012-02-08 Marek Polacek <polacek@redhat.com>
38314
38315 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38316 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38317 * sysdeps/gnu/_G_config.h: Likewise.
38318 * sysdeps/generic/_G_config.h: Likewise.
38319
26ecc33a
AS
383202012-02-08 Andreas Schwab <schwab@linux-m68k.org>
38321
6c6dbc63
AS
38322 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38323 tests.
38324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38325
e216c012
AS
38326 * sysdeps/powerpc/powerpc32/crti.S: New file.
38327 * sysdeps/powerpc/powerpc32/crtn.S: New file.
38328 * sysdeps/powerpc/powerpc64/crti.S: New file.
38329 * sysdeps/powerpc/powerpc64/crtn.S: New file.
38330
26ecc33a
AS
38331 * Makeconfig (have-initfini): Don't set.
38332 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38333 * configure.in (nopic_initfini): Don't substitute.
38334 * config.h.in (HAVE_INITFINI): Don't #undef.
38335 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38336 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38337
3add8e13
JM
383382012-02-08 Joseph Myers <joseph@codesourcery.com>
38339
38340 Support crti.S and crtn.S provided directly by architectures.
38341 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38342 [crti.S in sysdirs] (omit-deps): Likewise.
38343 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38344 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38345 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38346 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38347 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38348 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38349 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38350 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38351 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38352 compiler output for sysdeps/generic/initfini.c.
38353 * sysdeps/i386/elf/Makefile: Remove file.
38354 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38355
a22f12b4
MP
383562012-02-07 Marek Polacek <polacek@redhat.com>
38357
38358 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38359 * sysdeps/gnu/_G_config.h: Likewise.
38360 * sysdeps/mach/hurd/_G_config.h: Likewise.
38361
148cf100
MP
383622012-02-07 Marek Polacek <polacek@redhat.com>
38363
38364 * math/Makefile (tests): Add tst-CMPLX2.
38365 * math/tst-CMPLX2.c: New file.
38366
cfdc0dd7
AS
383672012-02-07 Andreas Schwab <schwab@linux-m68k.org>
38368
84ba42c4
AS
38369 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38370
cfdc0dd7
AS
38371 * math/libm-test.inc (jn_test): Add missing L suffix.
38372
622c86f4
MP
383732012-02-06 Marek Polacek <polacek@redhat.com>
38374
38375 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38376 * sysdeps/i386/fpu/e_powf.S: Likewise.
38377 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38378 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38379 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38380 * sysdeps/i386/fpu/e_pow.S: Likewise.
38381 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38382 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38383 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38384 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38385 * sysdeps/i386/fpu/e_log2.S: Likewise.
38386 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38387 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38388 * sysdeps/i386/fpu/e_powl.S: Likewise.
38389 * sysdeps/i386/fpu/s_log1p.S: Likewise.
38390 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38391 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38392 * sysdeps/i386/fpu/e_logl.S: Likewise.
38393 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38394 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38395 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38396 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38397 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38398 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38399 * sysdeps/i386/fpu/e_log.S: Likewise.
38400 * sysdeps/i386/fpu/s_cexp.S: Likewise.
38401 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38402 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38403 * sysdeps/i386/fpu/e_logf.S: Likewise.
38404 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38405 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38406 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38407 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38408 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38409 * sysdeps/i386/fpu/e_log10.S: Likewise.
38410 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38411 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38412 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38413 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38414 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38415 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38416 * sysdeps/i386/asm-syntax.h: Likewise.
38417 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38418 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38419 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38420 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38421 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38422 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38423 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38424 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38425 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38426 * sysdeps/powerpc/sysdep.h: Likewise.
38427 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38428 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38429
d4a54ac6
JM
384302012-02-06 Joseph Myers <joseph@codesourcery.com>
38431
38432 [BZ #411]
38433 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38434
314054ea
JM
384352012-02-06 Joseph Myers <joseph@codesourcery.com>
38436
38437 * sysdeps/i386/sysdep.h: Include <features.h>.
38438 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38439 version.
38440
d8e0ca50
JM
384412012-02-05 Joseph Myers <joseph@codesourcery.com>
38442
38443 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38444 Define.
38445 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
38446 LOAD_PIC_REG_STR.
38447
b1da7dd9
JM
384482012-02-03 Joseph Myers <joseph@codesourcery.com>
38449
38450 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
38451 (SETUP_PIC_REG): Use GET_PC_THUNK.
38452 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
38453 macro.
38454
9a1d9254
JM
384552012-02-03 Joseph Myers <joseph@codesourcery.com>
38456
38457 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
38458 for non-PIC compilation.
38459 (SETUP_PIC_REG): Add .p2align directive.
38460 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
38461 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38462 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38463 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38464 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38465 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38466 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38467 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38468 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38469 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38470 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38471 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38472 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38473 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38474 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38475 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38476 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38477 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38478 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38479 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38480 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38481 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38482 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38483 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38484 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38485 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38486 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38487 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38488 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38489 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38490 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38491 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38492 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38493 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38494 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38495 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38496 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38497 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38498 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38499 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38500 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38501
65dc3b75
JM
385022012-02-03 Joseph Myers <joseph@codesourcery.com>
38503
38504 * math/tst-CMPLX.c: Include <stdio.h>.
38505
d55bf177
JM
385062012-01-31 Joseph Myers <joseph@codesourcery.com>
38507
38508 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
38509 float.
38510 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38511 * sysdeps/sparc/bits/mathdef.h: Likewise.
38512
69db4f8f
MP
385132012-01-31 Marek Polacek <polacek@redhat.com>
38514
38515 * libio/libio.h: Don't define _PARAMS.
38516 * locale/programs/config.h: Don't define PARAMS.
38517 * stdlib/strtol_l.c: Likewise.
38518 (__strtol_l): Remove PARAMS from the prototype.
38519
41b81892
UD
385202012-01-31 Ulrich Drepper <drepper@gmail.com>
38521
3b49edc0
UD
38522 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
38523 names. Just use the correct names. Remove unnecessary wrapper
38524 functions.
38525 * malloc/arena.c: Likewise.
38526 * malloc/hooks.c: Likewise.
38527
41b81892
UD
38528 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
38529 ARENA_TEST says not to. Simplify test for creation of a new arena.
38530 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
38531
27a25b6e
UD
385322012-01-30 Ulrich Drepper <drepper@gmail.com>
38533
38534 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
38535 into tail calls.
38536 (update_get_addr): New function.
38537 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
38538 GET_ADDR_MODULE parameter.
38539
c8a89e7d
JM
385402012-01-30 Joseph Myers <joseph@codesourcery.com>
38541
38542 * crypt/cert.c: Remove __STDC__ conditionals.
38543 * crypt/crypt-entry.c: Likewise.
38544 * crypt/crypt_util.c: Likewise.
38545 * libio/filedoalloc.c: Likewise.
38546 * libio/fileops.c: Likewise.
38547 * libio/genops.c: Likewise.
38548 * libio/iofclose.c: Likewise.
38549 * libio/iofdopen.c: Likewise.
38550 * libio/iofopen.c: Likewise.
38551 * libio/iofopen64.c: Likewise.
38552 * libio/iogetdelim.c: Likewise.
38553 * libio/iopopen.c: Likewise.
38554 * libio/obprintf.c: Likewise.
38555 * libio/oldfileops.c: Likewise.
38556 * libio/oldiofclose.c: Likewise.
38557 * libio/oldiofdopen.c: Likewise.
38558 * libio/oldiofopen.c: Likewise.
38559 * libio/oldiopopen.c: Likewise.
38560 * libio/wfiledoalloc.c: Likewise.
38561 * libio/wgenops.c: Likewise.
38562 * locale/programs/xmalloc.c: Likewise.
38563 * misc/syslog.c: Likewise.
38564 * stdio-common/xbug.c: Likewise.
38565 * string/memchr.c: Likewise.
38566 * string/memcmp.c: Likewise.
38567 * string/memrchr.c: Likewise.
38568 * string/rawmemchr.c: Likewise.
38569 * sysdeps/posix/getcwd.c: Likewise.
38570 * time/strftime_l.c: Likewise.
38571
3b100462
JM
385722012-01-30 Joseph Myers <joseph@codesourcery.com>
38573
38574 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
38575 * config.make.in (config-cflags-sse2avx): Define.
38576 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
38577 Fix typo.
38578
607998af
CM
385792012-01-29 Chris Metcalf <cmetcalf@tilera.com>
38580
38581 * scripts/config.guess: Update from upstream config git repository.
38582 * scripts/config.sub: Likewise.
38583
3601428f
CM
385842012-01-28 Chris Metcalf <cmetcalf@tilera.com>
38585
3ac8b282
CM
38586 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
38587 (EM_NUM): Update.
38588 (R_TILEPRO_*, R_TILEGX_*): New macros.
38589
e034841e
CM
38590 * scripts/firstversions.awk: Fix bug in version range handling.
38591
540d7568
CM
38592 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
38593
3601428f
CM
38594 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
38595
463de862
CM
38596 * include/sys/epoll.h: New file.
38597 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
38598 libc_hidden_def.
38599
73139a76
UD
386002012-01-28 Ulrich Drepper <drepper@gmail.com>
38601
96bc5b45
UD
38602 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
38603 Avoid unnecessary __WORDSIZE == 64 test.
38604 (fmaxf): Use VEX format if possible.
38605 (fmax): Likewise.
38606 (fminf): Likewise.
38607 (fmin): Likewise.
38608
56f6f6a2
UD
38609 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
38610 * math/math_private.h: Remove libc_fegetround* and
38611 libc_fesetround*.
38612 * sysdeps/i386/configure.in: Check for -msse2avx.
38613 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
38614 also if SSE2AVX is defined.
38615 Remove libc_fegetround* and libc_fesetround*.
38616 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
38617 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
38618 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
38619 of HAS_YMM_USABLE.
38620 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38621 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38622 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38623 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38624 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38625
73139a76
UD
38626 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
38627
d73f93a4
AZ
386282012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38629
38630 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
38631 size is not set.
38632 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38633
6ee65ed6
UD
386342012-01-27 Ulrich Drepper <drepper@gmail.com>
38635
38636 [BZ #13618]
38637 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
38638 relocation.
38639 * Makeconfig (libm): Define.
38640 * elf/Makefile: Add rules to build and run tst-relsort1.
38641 * elf/tst-relsort1.c: New file.
38642 * elf/tst-relsort1mod1.c: New file.
38643 * elf/tst-relsort1mod2.c: New file.
38644
8db21882
JM
386452012-01-27 Joseph Myers <joseph@codesourcery.com>
38646
38647 * math/s_ldexp.c: Remove __STDC__ conditionals.
38648 * math/s_ldexpf.c: Likewise.
38649 * math/s_ldexpl.c: Likewise.
38650 * math/s_nextafter.c: Likewise.
38651 * math/s_nexttowardf.c: Likewise.
38652 * math/s_significand.c: Likewise.
38653 * math/s_significandf.c: Likewise.
38654 * math/s_significandl.c: Likewise.
38655 * math/w_jnl.c: Likewise.
38656 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38657 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38658 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38659 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38660 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38661 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38662 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
38663 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38664 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38665 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38666 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38667 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38668 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38669 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38670 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38671 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38672 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38673 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38674 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38675 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38676 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38677 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38678 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38679 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38680 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38681 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38682 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38683 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38684 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38685 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38686 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38687 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38688 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38689 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38690 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38691 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38692 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38693 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38694 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38695 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38696 * sysdeps/ieee754/k_standard.c: Likewise.
38697 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38698 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38699 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38700 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38701 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38702 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38703 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38704 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38705 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38706 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38707 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38708 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38709 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38710 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38711 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38712 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38713 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38714 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38715 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38716 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38717 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38718 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38719 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38720 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38721 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38722 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38723 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38724 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38725 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38726 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38727 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38728 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
38729 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38730 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38731 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38732 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38733 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
38734 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38735 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38736 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
38737 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
38738 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38739 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38740 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
38741 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38742 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38743 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38744 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38745 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38746 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38747 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
38748 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38749 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38750 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38751 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38752 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38753 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
38754 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38755 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38756 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38757 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38758 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38759 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38760 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38761 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38762 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38763 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38764 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38765 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38766 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38767 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38768 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38769 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38770 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38771 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38772 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38773 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38774 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38775 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38776 * sysdeps/ieee754/s_matherr.c: Likewise.
38777 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38778 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38779 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38780 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38781
965a54a4
JM
387822012-01-26 Joseph Myers <joseph@codesourcery.com>
38783
38784 * crypt/md5.h: Remove __STDC__ conditionals.
38785 * libio/libioP.h: Likewise.
38786 * locale/programs/config.h: Likewise.
38787 * sysdeps/generic/sysdep.h: Likewise.
38788 * sysdeps/i386/asm-syntax.h: Likewise.
38789 * sysdeps/s390/asm-syntax.h: Likewise.
38790 * sysdeps/unix/sysdep.h: Likewise.
38791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38793
7071ad79
JM
387942012-01-26 Joseph Myers <joseph@codesourcery.com>
38795
38796 * libio/libio.h: Remove __STDC__ conditionals.
38797 * malloc/obstack.h: Likewise.
38798 * math/complex.h: Likewise.
38799 * math/math.h: Likewise.
38800 * sysdeps/generic/_G_config.h: Likewise.
38801 * sysdeps/gnu/_G_config.h: Likewise.
38802 * sysdeps/mach/hurd/_G_config.h: Likewise.
38803 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38804 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38805 * sysdeps/sparc/bits/mathdef.h: Likewise.
38806
afc5ed09
UD
388072012-01-26 Ulrich Drepper <drepper@gmail.com>
38808
38809 [BZ #13583]
38810 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 38811 Clean up HAS_* macros.
afc5ed09 38812 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
38813 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
38814 possible.
38815 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
38816 HAS_AVX.
38817 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38818 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38819 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38820 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38821 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 38822
bdb6de1d
JM
388232012-01-25 Joseph Myers <joseph@codesourcery.com>
38824
38825 * elf/tst-unique3.cc (gets): Remove declaration.
38826 * elf/tst-unique3lib.cc (gets): Likewise.
38827 * elf/tst-unique3lib2.cc (gets): Likewise.
38828 * elf/tst-unique4.cc (gets): Likewise.
38829
b15549e6
UD
388302012-01-24 Ulrich Drepper <drepper@gmail.com>
38831
38832 * include/stdio.h: Add C++ protection. Add gets declarations and
38833 definitions.
38834 * debug/tst-chk1.c: Don't declare gets here.
38835 * stdio-common/tst-gets.c: Likewise.
38836
a037381f
JM
388372012-01-24 Joseph Myers <joseph@codesourcery.com>
38838
38839 * posix/glob: Remove directory.
38840
f1d4aa75
JM
388412012-01-24 Joseph Myers <joseph@codesourcery.com>
38842
38843 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
38844
81c0c964
PT
388452012-01-22 Pino Toscano <toscano.pino@tiscali.it>
38846
38847 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
38848 of the non-standard EPFNOSUPPORT.
38849
0ea698ae
ST
388502011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
38851
38852 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
38853 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
38854 ANYWHERE set to 1 only on KERN_NO_SPACE error.
38855
d220b117
UD
388562012-01-21 Ulrich Drepper <drepper@gmail.com>
38857
38858 * wcsmbs/uchar.h: Test __STDC_VERSION__.
38859
3e1aa84e
UD
388602012-01-20 Ulrich Drepper <drepper@gmail.com>
38861
38862 * nscd/aicache.c (addhstaiX): Do not cache negative results of
38863 transient errors.
38864 * nscd/grpcache.c (cache_addgr): Likewise.
38865 * nscd/hstcache.c (cache_addhst): Likewise.
38866 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38867 * nscd/pwdcache.c (cache_addpw): Likewise.
38868 * nscd/servicescache.c (cache_addserv): Likewise.
38869
400aa020
UD
388702012-01-16 Ulrich Drepper <drepper@gmail.com>
38871
d77e7869
UD
38872 * malloc/malloc.c: Various cleanups.
38873 * malloc/hooks.c: Likewise.
38874
400aa020
UD
38875 * stdlib/Makefile (tests): Add bug-fmtmsg1.
38876 * stdlib/bug-fmtmsg1.c: New file.
38877
38878 * stdlib/fmtmsg.c (init): Add missing unlock.
38879 Patch by Peng Haitao <penght@cn.fujitsu.com>.
38880
e0a309cf
MP
388812012-01-12 Marek Polacek <polacek@redhat.com>
38882
38883 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
38884 and _GNU_SOURCE.
38885
929d11c7
WS
388862012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38887
38888 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
38889 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
38890 macro to ensure uniqueness of label name.
38891 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38892 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38893
41d0e869
UD
388942012-01-11 Ulrich Drepper <drepper@gmail.com>
38895
0cc5ed3b
UD
38896 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
38897
41d0e869
UD
38898 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
38899 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38900 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38901 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
38902
a47a831a
UD
389032012-01-10 Ulrich Drepper <drepper@gmail.com>
38904
daa891c0
UD
38905 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
38906
38907 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
38908 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38909 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38910
e58ef0f2
UD
38911 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
38912
a47a831a 38913 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
38914 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38915 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 38916 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
38917
38918 * math/bits/math-finite.h: Add ldexp support.
38919
a0bfc9c7
MP
389202012-01-10 Marek Polacek <polacek@redhat.com>
38921
38922 * locale/programs/localedef.h (show_archive_content): Add noreturn
38923 attribute.
38924
d6e97a1d
UD
389252012-01-09 Ulrich Drepper <drepper@gmail.com>
38926
38927 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
38928
d5835c26
UD
389292012-01-08 Ulrich Drepper <drepper@gmail.com>
38930
e5f484c6
UD
38931 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
38932
d5835c26
UD
38933 * io/Makefile (headers): Add bits/poll2.h.
38934
d1f741e9
WS
389352011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
38936
38937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
38938 typo #include statement.
38939
ec09c1c4
UD
389402012-01-08 Ulrich Drepper <drepper@gmail.com>
38941
38942 * include/sys/cdefs.h: Define __attribute_alloc_size.
38943 * catgets/gencat.c: Add alloc_size attribute and apply consistently
38944 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
38945 * elf/pldd.c: Likewise.
38946 * iconv/iconv_charmap.c: Likewise.
38947 * iconv/iconvconfig.c: Likewise.
38948 * iconv/strtab.c: Likewise.
38949 * locale/programs/locale.c: Likewise.
38950 * locale/programs/localedef.h: Likewise.
38951 * locale/programs/simple-hash.c: Likewise.
38952 * nscd/nscd.h: Likewise.
38953 * nss/makedb.c: Likewise.
38954 * sysdeps/generic/ldconfig.h: Likewise.
38955 * locale/programs/localedef.c: Remove xmalloc prototype.
38956 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
38957
20b38e03
PP
389582012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38959
38960 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
38961 appropriate.
38962
a0da5fe1
UD
389632012-01-08 Ulrich Drepper <drepper@gmail.com>
38964
1d5a644a 38965 * math/Makefile (tests): Add tst-CMPLX.
669704fd 38966 * math/tst-CMPLX.c: New file.
1d5a644a 38967
8784a6db
UD
38968 * math/complex.h (CMPLXL): Fix typo.
38969
d9a216c0
UD
38970 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
38971 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
38972 GLIBC_2.16.
38973 * debug/tst-chk1.c: Add poll and ppoll tests.
38974 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
38975 * include/sys/poll.h: Add hidden proto for ppoll.
38976 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
38977 * sysdeps/mach/hurd/ppoll.c: Likewise.
38978 * io/ppoll.c: Likewise.
38979 * debug/poll_chk.c: New file.
38980 * debug/ppoll_chk.c: New file.
38981 * include/bits/poll2.h: New file.
38982 * io/bits/poll2.h: New file.
38983
ac097f5c
UD
38984 [BZ #1350]
38985 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
38986
2119dcfa
UD
38987 * configure.in: static is always set to yes. Remove.
38988 * config.make.in: Don't set build-static.
38989 * Makeconfig: Remove use of build-static.
38990 * dlfcn/Makefile: Likewise.
38991 * elf/Makefile: Likewise.
38992 * math/Makefile: Likewise.
38993 * misc/Makefile: Likewise.
38994 * nptl/Makefile: Likewise.
38995 * sysdeps/mach/hurd/Makefile: Likewise.
38996
121766a9
UD
38997 * configure.in: PWD_P is not used anymore.
38998 * config.make.in: Remove PWD_P entry.
38999
51a1d39c 39000 * configure.in: Remove last remnants of RANLIB.
8720d066 39001 No need to check for signed size_t anymore.
215f4bdc
UD
39002 Don't set libc_commonpagesize and libc_relro_required here for Alpha
39003 and IA-64.
3857022a 39004 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
39005 * aclocal.m4: Likewise.
39006
d3ed7225
UD
39007 * wcsmbs/mbrtoc16.c: Implement using towc function.
39008 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39009 * wcsmbs/wcsmbsload.c: Likewise.
39010 * iconv/gconv_simple.c: Likewise.
39011 * iconv/gconv_int.h: Likewise.
39012 * iconv/gconv_builtin.h: Likewise.
39013 * iconv/iconv_prog.c: Remove CHAR16 handling.
39014
39015 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39016
39017 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39018
a0da5fe1
UD
39019 * configure.in: Remove --with-elf and --enable-bounded options.
39020 Dont set base_machine for ia64. More non-ELF conditions removed.
39021 Remove testing and setting of leading underscore information.
39022 * config.make.in (build-bounded): Set to no.
39023 * config.h.in: Remove NO_UNDERSCORES entry.
39024 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
39025 them.
39026 * csu/start.c: Remove !NO_UNDERSCORE code.
39027 * locale/localeinfo.h: Likewise.
39028 * sysdeps/generic/machine-gmon.h: Likewise.
39029 * sysdeps/generic/sysdep.h: Likewise.
39030 * sysdeps/i386/sysdep.h: Likewise.
39031 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39032 * sysdeps/mach/sysdep.h: Likewise.
39033 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39034 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39035 * sysdeps/sh/sysdep.h: Likewise.
39036 * sysdeps/sparc/sparc32/alloca.S: Likewise.
39037 * sysdeps/unix/i386/sysdep.S: Likewise.
39038 * sysdeps/unix/sparc/start.c: Likewise.
39039 * sysdeps/unix/sparc/sysdep.S: Likewise.
39040 * sysdeps/unix/sparc/sysdep.h: Likewise.
39041 * sysdeps/unix/start.c: Likewise.
39042 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39043 * sysdeps/x86_64/sysdep.h: Likewise.
39044
df78418a
UD
390452012-01-07 Ulrich Drepper <drepper@gmail.com>
39046
a784e502
UD
39047 [BZ #13553]
39048 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39049 for non-gcc.
39050 * argp/argp-fmtstream.h: Use const instead __const.
39051 * argp/argp.h: Likewise.
39052 * assert/assert.h: Likewise.
39053 * bits/fenv.h: Likewise.
39054 * bits/sched.h: Likewise.
39055 * bits/sigset.h: Likewise.
39056 * bits/sigthread.h: Likewise.
39057 * catgets/nl_types.h: Likewise.
39058 * conform/data/pthread.h-data: Likewise.
39059 * crypt/crypt-private.h: Likewise.
39060 * crypt/crypt.h: Likewise.
39061 * crypt/crypt_util.c: Likewise.
39062 * ctype/ctype.h: Likewise.
39063 * debug/execinfo.h: Likewise.
39064 * debug/mbsnrtowcs_chk.c: Likewise.
39065 * debug/mbsrtowcs_chk.c: Likewise.
39066 * debug/wcsnrtombs_chk.c: Likewise.
39067 * debug/wcsrtombs_chk.c: Likewise.
39068 * debug/wcstombs_chk.c: Likewise.
39069 * dirent/dirent.h: Likewise.
39070 * dlfcn/dlfcn.h: Likewise.
39071 * elf/neededtest4.c: Likewise.
39072 * grp/grp.h: Likewise.
39073 * gshadow/gshadow.h: Likewise.
39074 * iconv/gconv.h: Likewise.
39075 * iconv/gconv_int.h: Likewise.
39076 * iconv/gconv_simple.c: Likewise.
39077 * iconv/iconv.h: Likewise.
39078 * iconv/loop.c: Likewise.
39079 * iconv/skeleton.c: Likewise.
39080 * include/aio.h: Likewise.
39081 * include/aliases.h: Likewise.
39082 * include/argz.h: Likewise.
39083 * include/arpa/inet.h: Likewise.
39084 * include/assert.h: Likewise.
39085 * include/dirent.h: Likewise.
39086 * include/dlfcn.h: Likewise.
39087 * include/execinfo.h: Likewise.
39088 * include/fcntl.h: Likewise.
39089 * include/fenv.h: Likewise.
39090 * include/glob.h: Likewise.
39091 * include/grp.h: Likewise.
39092 * include/libintl.h: Likewise.
39093 * include/mntent.h: Likewise.
39094 * include/netdb.h: Likewise.
39095 * include/pwd.h: Likewise.
39096 * include/rpc/netdb.h: Likewise.
39097 * include/sched.h: Likewise.
39098 * include/search.h: Likewise.
39099 * include/shadow.h: Likewise.
39100 * include/signal.h: Likewise.
39101 * include/stdio.h: Likewise.
39102 * include/stdlib.h: Likewise.
39103 * include/string.h: Likewise.
39104 * include/sys/socket.h: Likewise.
39105 * include/sys/stat.h: Likewise.
39106 * include/sys/statfs.h: Likewise.
39107 * include/sys/statvfs.h: Likewise.
39108 * include/sys/syslog.h: Likewise.
39109 * include/sys/time.h: Likewise.
39110 * include/sys/uio.h: Likewise.
39111 * include/time.h: Likewise.
39112 * include/unistd.h: Likewise.
39113 * include/utmp.h: Likewise.
39114 * include/wchar.h: Likewise.
39115 * include/wctype.h: Likewise.
39116 * inet/aliases.h: Likewise.
39117 * inet/arpa/inet.h: Likewise.
39118 * inet/netinet/ether.h: Likewise.
39119 * inet/netinet/in.h: Likewise.
39120 * intl/libintl.h: Likewise.
39121 * io/bits/fcntl2.h: Likewise.
39122 * io/fcntl.h: Likewise.
39123 * io/ftw.h: Likewise.
39124 * io/sys/poll.h: Likewise.
39125 * io/sys/stat.h: Likewise.
39126 * io/sys/statfs.h: Likewise.
39127 * io/sys/statvfs.h: Likewise.
39128 * io/utime.h: Likewise.
39129 * libio/bits/stdio.h: Likewise.
39130 * libio/bits/stdio2.h: Likewise.
39131 * libio/libio.h: Likewise.
39132 * libio/libioP.h: Likewise.
39133 * libio/stdio.h: Likewise.
39134 * locale/lc-ctype.c: Likewise.
39135 * locale/locale.h: Likewise.
39136 * login/utmp.h: Likewise.
39137 * malloc/arena.c: Likewise.
39138 * malloc/malloc.c: Likewise.
39139 * malloc/malloc.h: Likewise.
39140 * malloc/mcheck.c: Likewise.
39141 * malloc/mtrace.c: Likewise.
39142 * math/bits/mathcalls.h: Likewise.
39143 * math/fenv.h: Likewise.
39144 * math/math_private.h: Likewise.
39145 * misc/bits/error.h: Likewise.
39146 * misc/bits/syslog.h: Likewise.
39147 * misc/err.h: Likewise.
39148 * misc/error.h: Likewise.
39149 * misc/fstab.h: Likewise.
39150 * misc/mntent.h: Likewise.
39151 * misc/regexp.h: Likewise.
39152 * misc/search.h: Likewise.
39153 * misc/sgtty.h: Likewise.
39154 * misc/sys/mman.h: Likewise.
39155 * misc/sys/syslog.h: Likewise.
39156 * misc/sys/uio.h: Likewise.
39157 * misc/sys/xattr.h: Likewise.
39158 * misc/ttyent.h: Likewise.
39159 * nis/rpcsvc/ypclnt.h: Likewise.
39160 * nss/nss.h: Likewise.
39161 * posix/bits/unistd.h: Likewise.
39162 * posix/fnmatch.h: Likewise.
39163 * posix/glob.h: Likewise.
39164 * posix/sched.h: Likewise.
39165 * posix/spawn.h: Likewise.
39166 * posix/sys/wait.h: Likewise.
39167 * posix/unistd.h: Likewise.
39168 * posix/wordexp.h: Likewise.
39169 * pwd/pwd.h: Likewise.
39170 * resolv/netdb.h: Likewise.
39171 * resource/sys/resource.h: Likewise.
39172 * rt/aio.h: Likewise.
39173 * rt/bits/mqueue2.h: Likewise.
39174 * rt/mqueue.h: Likewise.
39175 * shadow/shadow.h: Likewise.
39176 * signal/signal.h: Likewise.
39177 * socket/send.c: Likewise.
39178 * socket/sendto.c: Likewise.
39179 * socket/sys/socket.h: Likewise.
39180 * stdio-common/printf.h: Likewise.
39181 * stdlib/bits/stdlib.h: Likewise.
39182 * stdlib/fmtmsg.h: Likewise.
39183 * stdlib/monetary.h: Likewise.
39184 * stdlib/stdlib.h: Likewise.
39185 * stdlib/ucontext.h: Likewise.
39186 * streams/stropts.h: Likewise.
39187 * string/argz.h: Likewise.
39188 * string/bits/string2.h: Likewise.
39189 * string/string.h: Likewise.
39190 * string/strings.h: Likewise.
39191 * sunrpc/rpc/auth.h: Likewise.
39192 * sunrpc/rpc/auth_des.h: Likewise.
39193 * sunrpc/rpc/clnt.h: Likewise.
39194 * sunrpc/rpc/netdb.h: Likewise.
39195 * sunrpc/rpc/pmap_clnt.h: Likewise.
39196 * sunrpc/rpc/xdr.h: Likewise.
39197 * sysdeps/generic/inttypes.h: Likewise.
39198 * sysdeps/generic/net/if.h: Likewise.
39199 * sysdeps/generic/sys/swap.h: Likewise.
39200 * sysdeps/gnu/net/if.h: Likewise.
39201 * sysdeps/gnu/utmpx.h: Likewise.
39202 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39203 * sysdeps/i386/i486/bits/string.h: Likewise.
39204 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39205 * sysdeps/s390/bits/string.h: Likewise.
39206 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39207 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39208 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39209 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39210 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39211 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39212 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39213 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39214 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39215 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39216 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39217 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39218 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39219 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39220 * sysdeps/unix/sysv/linux/readv.c: Likewise.
39221 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39222 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39223 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39224 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39225 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39226 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39227 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39228 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39229 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39230 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39231 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39232 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39233 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39234 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39235 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39236 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39237 * sysvipc/sys/ipc.h: Likewise.
39238 * sysvipc/sys/msg.h: Likewise.
39239 * sysvipc/sys/sem.h: Likewise.
39240 * sysvipc/sys/shm.h: Likewise.
39241 * termios/termios.h: Likewise.
39242 * time/sys/time.h: Likewise.
39243 * time/time.h: Likewise.
39244 * wcsmbs/bits/wchar2.h: Likewise.
39245 * wcsmbs/uchar.h: Likewise.
39246 * wcsmbs/wchar.h: Likewise.
39247 * wctype/wctype.h: Likewise.
39248
0269750c
UD
39249 [BZ #13551]
39250 * Makeconfig: Remove all but ELF support including AIX support.
39251 * Makerules: Likewise.
39252 * config.h.in: Likewise.
39253 * config.make.in: Likewise.
39254 * configure: Likewise.
39255 * configure.in: Likewise.
39256 * csu/Makefile: Likewise.
39257 * csu/version.c: Likewise.
39258 * debug/Makefile: Likewise.
39259 * dlfcn/Makefile: Likewise.
39260 * elf/Makefile: Likewise.
39261 * extra-lib.mk: Likewise.
39262 * iconv/Makefile: Likewise.
39263 * include/libc-symbols.h: Likewise.
39264 * include/shlib-compat.h: Likewise.
39265 * resolv/Makefile: Likewise.
39266 * resolv/res_libc.c: Likewise.
39267 * rt/Makefile: Likewise.
39268 * sysdeps/i386/asm-syntax.h: Likewise.
39269 * sysdeps/i386/sysdep.h: Likewise.
39270 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39271 * sysdeps/mach/sysdep.h: Likewise.
39272 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39273 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39274 * sysdeps/s390/asm-syntax.h: Likewise.
39275 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39276 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39277 * sysdeps/sh/sysdep.h: Likewise.
39278 * sysdeps/unix/sparc/sysdep.h: Likewise.
39279 * sysdeps/wordsize-32/divdi3.c: Likewise.
39280 * sysdeps/x86_64/sysdep.h: Likewise.
39281
00bbd29b
UD
39282 * argp/Versions: Remove _argp_unlock_xxx.
39283
39284 [BZ #13559]
39285 * abilist/ld.abilist: Update. Adjust for removal of tls option.
39286 * abilist/libBrokenLocale.abilist: Likewise.
39287 * abilist/libanl.abilist: Likewise.
39288 * abilist/libc.abilist: Likewise.
39289 * abilist/libcrypt.abilist: Likewise.
39290 * abilist/libdl.abilist: Likewise.
39291 * abilist/libm.abilist: Likewise.
39292 * abilist/libnsl.abilist: Likewise.
39293 * abilist/libpthread.abilist: Likewise.
39294 * abilist/libresolv.abilist: Likewise.
39295 * abilist/librt.abilist: Likewise.
39296 * abilist/libthread_db.abilist: Likewise.
39297 * abilist/libutil.abilist: Likewise.
39298 * abilist/libnss_db.abilist: New file.
39299
39300 * scripts/abilist.awk: Add support for indirect functions.
39301
a2693a0e
UD
39302 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39303
3f05895f
UD
39304 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39305
ecb6fb48
UD
39306 * shlib-versions: Remove entries for ports architectures.
39307
664f8cb9
UD
39308 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
39309 files in ports.
39310 * elf/stackguard-macros.h: Remove support for IA-64.
39311 * elf/tst-auditmod1.c: Likewise.
39312 * sysdeps/generic/ldsodefs.h: Likewise.
39313
7ae81d88
UD
39314 * sysdeps/unix/sysv/linux/configure.in: Ports should define
39315 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39316 configure files.
39317
bdeba135
UD
39318 [BZ #13552]
39319 * configure.in: Remove --enable-omitfp support.
39320 * FAQ.in: Adjust.
39321 * config.make.in: Likewise.
39322 * Makeconfig: Likewise.
39323 * manual/install.texi: Likewise.
39324
d75a0a62
UD
39325 In case anyone cares, the IA-64 architecture could move to ports.
39326 * sysdeps/ia64/*: Removed.
39327 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 39328 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 39329
dcc9756b
UD
39330 [BZ #13555]
39331 * configure.in: Remove entries for unsupported architectures.
39332
d3761ebc 39333 [BZ #13533]
9954432e
UD
39334 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39335 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
39336 routines.
39337 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39338 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39339 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
39340 fall back to using wcrtomb.
39341 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39342 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
39343 renaming.
39344 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39345 * wcsmbs/tst-c16c32-1.c: New file.
39346
39347 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39348 local variable.
39349
c3a87236
UD
39350 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39351
28926a1b
UD
39352 * elf/tst-unique3.cc: Add explicit declaration of gets.
39353 * elf/tst-unique3lib.cc: Likewise.
39354 * elf/tst-unique3lib2.cc: Likewise.
39355 * elf/tst-unique4.cc: Likewise.
39356
df78418a
UD
39357 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39358
8ecd6b2a
JM
393592012-01-06 Joseph Myers <joseph@codesourcery.com>
39360
39361 [BZ #13566]
39362 * assert/assert.h (static_assert): Don't define for C++.
39363 * libio/stdio.h (gets): Do declare for C++ <= C++11.
39364 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39365
9f115170
UD
393662012-01-03 Ulrich Drepper <drepper@gmail.com>
39367
5e0d0300
UD
39368 * iconv/loop.c (single loop): Fix assertion in storing of
39369 remaining bytes.
39370
9f115170
UD
39371 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39372
81fb02b0
UD
393732012-01-01 Ulrich Drepper <drepper@gmail.com>
39374
39375 * posix/getconf.c: Update copyright year.
39376 * nss/getent.c: Likewise.
a316c1f6 39377 * nss/makedb.c: Likewise.
81fb02b0
UD
39378 * iconv/iconvconfig.c: Likewise.
39379 * iconv/iconv_prog.c: Likewise.
39380 * elf/ldconfig.c: Likewise.
a316c1f6
UD
39381 * elf/pldd.c: Likewise.
39382 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
39383 * catgets/gencat.c: Likewise.
39384 * csu/version.c: Likewise.
39385 * elf/ldd.bash.in: Likewise.
39386 * elf/sprof.c (print_version): Likewise.
39387 * locale/programs/locale.c: Likewise.
39388 * locale/programs/localedef.c: Likewise.
a316c1f6 39389 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
39390 * nscd/nscd.c (print_version): Likewise.
39391 * debug/xtrace.sh: Likewise.
39392 * malloc/memusage.sh: Likewise.
39393 * malloc/mtrace.pl: Likewise.
39394 * debug/catchsegv.sh: Likewise.
39395
2ba92745
JJ
393962011-12-30 Jakub Jelinek <jakub@redhat.com>
39397
39398 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39399 pure attribute.
39400
dadebdae
UD
394012011-12-24 Ulrich Drepper <drepper@gmail.com>
39402
d3761ebc 39403 [BZ #13533]
db6af3eb
UD
39404 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39405 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39406 transformations.
39407 * iconv/gconv_int.h: Likewise.
39408 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39409 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39410 from libc for GLIBC_2.16.
39411 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39412 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39413 * wcsmbs/uchar.h: Really define mbstate_t.
39414 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39415 * wcsmbs/c16rtomb.c: New file.
39416 * wcsmbs/mbrtoc16.c: New file.
39417 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39418 for C/POSIX locale.
39419 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39420 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39421
dadebdae
UD
39422 * wcsmbs/wchar.h: Add missing __restrict.
39423
67371b56
UD
394242011-12-23 Ulrich Drepper <drepper@gmail.com>
39425
74033a25
UD
39426 [BZ #13532]
39427 * time/Makefile (routines): Add timespec_get.
39428 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39429 * time/time.h: Define TIME_UTC and declare timespec_get. Define
39430 timespec for ISO C11.
39431 * time/timespec_get.c: New file.
39432 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39433 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39434
380d7e87
UD
39435 [BZ #13531]
39436 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39437 * stdlib/stdlib.h: Declare aligned_alloc.
39438 * Versions.def: Add GLIBC_2.16 for libc.
39439 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39440
4e9e7a35
UD
39441 [BZ 13527]
39442 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39443 ISO C11.
39444
380d7e87 39445 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
39446 code.
39447
03a71829
UD
39448 [BZ #13528]
39449 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
39450
839e283e
UD
39451 [BZ #13529]
39452 * assert/assert.h (static_assert): Define.
39453
ce5294e2 39454 * version.h: Update for 2.16 development version.
90fa7312 39455
8d44e150 39456 [BZ #13526]
d7809905
UD
39457 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
39458 _ISOC11_SOURCE.
39459
c0da14cd
UD
39460 * version.h (RELEASE): Bump for 2.15 release.
39461 * include/features.h (__GLIBC_MINOR__): Bump to 15.
39462
530a3249
MP
39463 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
39464 Patch by Marek Polacek <mpolacek@redhat.com>.
39465
67371b56
UD
39466 * bits/byteswap.h: Protect long long constants with __extension__.
39467 * sysdeps/i386/bits/byteswap.h: Likewise.
39468 * sysdeps/ia64/bits/byteswap.h: Likewise.
39469 * sysdeps/s390/bits/byteswap.h: Likewise.
39470 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39471
15db4de1
LD
394722011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39473
39474 [BZ #13540]
bbe315ea
LD
39475 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
39476 destination buffer.
15db4de1
LD
39477 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39478
2b2596b1
MP
394792011-12-23 Marek Polacek <polacek@redhat.com>
39480
39481 * elf/dl-addr.c (determine_info): Add inline keyword.
39482 * elf/tst-auditmod4b.c (check_avx): Likewise.
39483 * elf/tst-auditmod6b.c (check_avx): Likewise.
39484 * elf/tst-auditmod6c.c (check_avx): Likewise.
39485 * elf/tst-auditmod7b.c (check_avx): Likewise.
39486
70c6c246
UD
394872011-12-23 Ulrich Drepper <drepper@gmail.com>
39488
39489 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
39490 !__SSE_MATH__.
39491
c044cf14
LD
394922011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39493
15db4de1 39494 [BZ #13540]
c044cf14
LD
39495 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
39496 processing for last bytes.
39497
6b13d9d9
BH
394982011-08-06 Bruno Haible <bruno@clisp.org>
39499
d455f537
BH
39500 [BZ #13061]
39501 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
39502 U+0385, not to U+1FEE.
39503
6b13d9d9
BH
39504 [BZ #13062]
39505 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
39506 entry for U+00A5 U+0301.
39507
db910efd
UD
395082011-12-22 Ulrich Drepper <drepper@gmail.com>
39509
27deeafc
UD
39510 [BZ #13166]
39511 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
39512 buffer for the output is too small.
39513
aed9d171
UD
39514 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
39515 optimization.
39516
db910efd
UD
39517 [BZ #13185]
39518 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
39519 SSE flags if possible.
39520
2bd779ae
LD
395212011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39522
e7f9dac3 39523 [BZ #13540]
2bd779ae
LD
39524 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
39525 processing for last bytes.
39526
154bfc16
JM
395272011-12-22 Joseph Myers <joseph@codesourcery.com>
39528
39529 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
39530 (syscall-list-default-options, syscall-list-default-condition)
39531 (syscall-list-includes): Define.
39532 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
39533 list of ABIs and options and #if conditions for each ABI. Do not
39534 handle common syscalls between ABIs specially.
39535 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
39536 Remove.
39537 (syscall-list-variants, syscall-list-32bit-options)
39538 (syscall-list-32bit-condition, syscall-list-64bit-options)
39539 (syscall-list-64bit-condition): Define.
39540 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
39541 (syscall-list-variants, syscall-list-32bit-options)
39542 (syscall-list-32bit-condition, syscall-list-64bit-options)
39543 (syscall-list-64bit-condition): Define.
39544 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
39545 Remove.
39546 (syscall-list-variants, syscall-list-32bit-options)
39547 (syscall-list-32bit-condition, syscall-list-64bit-options)
39548 (syscall-list-64bit-condition): Define.
39549 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
39550 Remove.
39551 (syscall-list-variants, syscall-list-32bit-options)
39552 (syscall-list-32bit-condition, syscall-list-64bit-options)
39553 (syscall-list-64bit-condition): Define.
39554
21eaf3a5
UD
395552011-12-22 Ulrich Drepper <drepper@gmail.com>
39556
16c6f992
UD
39557 * locale/iso-639.def: Add brx entry.
39558
41043168
UD
39559 [BZ #13328]
39560 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
39561 Proposed by Mariusz_Cukr <marcukr@op.pl>.
39562
21eaf3a5
UD
39563 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
39564 __feraiseexcept_renamed.
39565
e3a851a2
UD
395662011-12-21 Ulrich Drepper <drepper@gmail.com>
39567
4920765e
UD
39568 [BZ #13538]
39569 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
39570 EPOLLET with unsigned values.
39571 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39572 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39573
e3a851a2
UD
39574 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
39575 to large cancellation.
39576 * math/s_cacoshf.c: Likewise.
39577 * math/s_cacoshl.c: Likewise.
39578
b27e24b8
RK
395792011-11-18 Richard B. Kreckel <kreckel@ginac.de>
39580
39581 [BZ #13305]
aebefeee 39582 [BZ #12786]
b27e24b8
RK
39583 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
39584 * math/s_cacoshf.c: Likewise.
39585 * math/s_cacoshl.c: Likewise.
39586
ee190f67
UD
395872011-12-21 Ulrich Drepper <drepper@gmail.com>
39588
39589 [BZ #13439]
39590 * iconv/gconv.h: Define __GCONV_SWAP.
39591 * iconvdata/unicode.c: The swap bit must be stored in __flags.
39592 * iconvdata/utf-16.c: Likewise.
39593 * iconvdata/utf-32.c: Likewise.
39594
707f25df
AS
395952011-12-21 Andreas Schwab <schwab@linux-m68k.org>
39596
39597 [BZ #13524]
39598 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
39599 numerator after shifting it by one limb.
39600
d2daaa1e
RÁE
396012011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
39602
39603 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
39604 under [__USE_EXTERN_INLINES].
39605
a4647e72
UD
396062011-12-17 Ulrich Drepper <drepper@gmail.com>
39607
39608 [BZ #13446]
39609 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
39610
f0b264f1
AZ
396112011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39612
39613 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
39614 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
39615 optimized code.
39616 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
39617 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
39618 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
39619 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
39620 for strncasecmp/strncasecmp_l compilation.
39621 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
39622 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
39623
8ef4f244
MP
396242011-12-08 Marek Polacek <mpolacek@redhat.com>
39625
39626 [BZ #13484]
39627 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
39628 of __asm__.
39629
97ac2654
UD
396302011-12-17 Ulrich Drepper <drepper@gmail.com>
39631
39632 [BZ #13506]
39633 * time/tzfile.c (__tzfile_read): Check values from file header.
39634
91d2a845
WS
396352011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39636
39637 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
39638 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
39639 * powerpc/powerpc32/dl-start.S: Likewise.
39640 * powerpc/powerpc32/elf/start.S: Likewise.
39641 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39642 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
39643 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
39644 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
39645 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39646 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
39647 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
39648 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39649 * powerpc/powerpc32/fpu/s_round.S: Likewise.
39650 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39651 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39652 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39653 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39654 * powerpc/powerpc32/memset.S: Likewise.
39655 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39656 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39657 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39658 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39659 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39660 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39661 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39662 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39663 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
39664 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
39665 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
39666 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39667 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39668
a1267ba1
AZ
396692011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39670
39671 * math/libm-test.inc: Added more nearbyint tests.
39672 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
39673 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
39674 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
39675 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
39676
ad8ac1bd
RL
396772011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
39678
39679 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
39680 FD_CLOEXEC.
39681
1d3e4b61
UD
396822011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39683
39684 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
39685 Add wcscpy-ssse3 wcscpy-c.
39686 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
39687 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
39688 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
39689 * sysdeps/x86_64/wcschr.S: New file.
39690 * sysdeps/x86_64/wcsrchr.S: New file.
39691 * string/test-strcmp.c: Remove checking of wcscmp function for
39692 wrong alignments.
39693 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
39694 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
39695 wcsrchr-sse2 wcsrchr-c.
39696 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
39697 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
39698 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
39699 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
39700 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
39701 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
39702 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
39703 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
39704 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
39705 * wcsmbc/wcschr.c (WCSCHR): New macro.
39706
5b330a2d
UD
397072011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39708
39709 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
39710 * wcsmbs/test-wcsrchr.c: New file.
39711 * string/test-strrchr.c: Add wcsrchr support.
39712 (WIDE): New macro.
39713 * wcsmbs/test-wcscpy.c: New file.
39714 * string/test-strcpy.c: Add wcscpy support.
39715 (WIDE): New macro.
26428b7c 39716
f039c043
UD
397172011-12-10 Ulrich Drepper <drepper@gmail.com>
39718
39719 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
39720 the inner loop.
39721
850fb039
AS
397222011-12-06 Andreas Schwab <schwab@linux-m68k.org>
39723
39724 [BZ #13472]
39725 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
39726
4efbd5cb
UD
397272011-12-04 Ulrich Drepper <drepper@gmail.com>
39728
52ff5dd0 39729 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 39730 Minor optimizations.
52ff5dd0 39731
4efbd5cb
UD
39732 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
39733 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
39734 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
39735
8a426e12
UD
397362011-12-03 Ulrich Drepper <drepper@gmail.com>
39737
aff2453d
UD
39738 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
39739 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
39740 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
39741 for gcc to avoid warnings.
39742 * inet/Makefile (tests): Add tst-checks.
39743 * inet/tst-checks.c: New file.
39744
39745 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
39746 warning.
39747
39748 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
39749 __wmemcmp_sse2.
39750
39751 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
39752 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
39753
8a426e12
UD
39754 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
39755
9bea3473
UD
397562011-12-02 Ulrich Drepper <drepper@gmail.com>
39757
3a965496
UD
39758 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
39759 problem.
39760
9bea3473
UD
39761 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
39762
f101631b
UD
397632011-11-29 Joseph Myers <joseph@codesourcery.com>
39764
39765 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
39766 conditional on GCC version.
39767 (__arch_compare_and_exchange_val_8_acq)
39768 (__arch_compare_and_exchange_val_16_acq)
39769 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
39770 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
39771 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
39772
a98275aa
UD
397732011-12-02 Joseph Myers <joseph@codesourcery.com>
39774
39775 * sysdeps/sh/backtrace.c: New file.
39776
d4cc29a2
AS
397772011-12-02 Andreas Schwab <schwab@redhat.com>
39778
39779 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
39780 parenthesis.
39781
6257af2d
AS
397822011-12-01 Andreas Schwab <schwab@redhat.com>
39783
39784 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
39785 falling back to utime.
39786
b5f44c1a
AS
397872011-11-30 Andreas Schwab <schwab@redhat.com>
39788
39789 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
39790 expectations for float.
39791
f3a6cc0a
AS
397922011-11-29 Andreas Schwab <schwab@redhat.com>
39793
39794 * locale/weight.h (findidx): Add parameter len.
39795 * locale/weightwc.h (findidx): Likewise.
39796 * posix/fnmatch_loop.c (FCT): Adjust caller.
39797 * posix/regcomp.c (build_equiv_class): Likewise.
39798 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
39799 * posix/regexec.c (check_node_accept_bytes): Likewise.
39800 * string/strcoll_l.c (STRCOLL): Likewise.
39801 * string/strxfrm_l.c (STRXFRM): Likewise.
39802
9d65ea3a
UD
398032011-11-17 Ulrich Drepper <drepper@gmail.com>
39804
39805 * Makefile.in: Remove CVSOPT handling.
39806 * configure.in: Remove use of AC_REVISION.
39807 * iconvdata/Makefile (distribute): No need to filter out CVS.
39808 * scripts/list-sources.sh: Remove CVS, subversion and monotone
39809 handling.
39810
5583a086
AS
398112011-11-16 Andreas Schwab <schwab@redhat.com>
39812
39813 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
39814 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
39815 [USE_AS_STRNCASECMP_L]: Likewise.
39816 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
39817 NO_TLS_DIRECT_SEG_REFS.
39818 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
39819 Fix argument offsets for non-PIC.
39820 [USE_AS_STRNCASECMP_L]: Likewise.
39821 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
39822 NO_TLS_DIRECT_SEG_REFS.
39823
d62a8200
UD
398242011-11-15 Ulrich Drepper <drepper@gmail.com>
39825
9d65ea3a 39826 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
39827 O_CLOEXEC.
39828 * locale/loadlocale.c (_nl_load_locale): Likewise.
39829
09f93bd3
AS
398302011-11-15 Andreas Schwab <schwab@redhat.com>
39831
446514f9
AS
39832 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
39833 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
39834 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
39835 (SYSCALL_GETTIME): Set errno on error.
39836
09f93bd3
AS
39837 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
39838 count references to noai6ai_cached.
39839
312be3f9
UD
398402011-11-15 Ulrich Drepper <drepper@gmail.com>
39841
39842 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
39843
39844 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
39845 FD_CLOEXEC for /proc/self/maps.
39846
39847 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
39848 FD_CLOEXEC for /proc/meminfo.
39849
39850 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
39851 gai.conf.
39852
39853 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
39854 FD_CLOEXEC for given file.
39855
39856 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
39857
39858 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
39859 FD_CLOEXEC for /etc/hosts.
39860 (_gethtent): Likewise.
39861
39862 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
39863
39864 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
39865 cancellation and set FD_CLOEXEC for /etc/netgroup.
39866
39867 * nss/nss_files/files-key.c (search): Don't allow cancellation when
39868 reading /etc/publickey.
39869
39870 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
39871 allow cancellation when reading /etc/group.
39872
39873 * nss/nss_files/files-alias.c (internal_setent): Don't allow
39874 cancellation.
39875 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
39876
39877 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
39878 when using data file.
39879
39880 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
39881
39882 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
39883 (write_nis_obj): Use "c" and "e" in fopen.
39884
39885 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
39886
39887 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
39888
39889 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
39890
39891 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
39892
39893 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
39894 locale.alias.
39895
39896 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
39897
39898 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
39899
39900 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
39901
39902 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
39903 file parsing and set FD_CLOEXEC.
39904
82af0fa8
UD
399052011-11-14 Ulrich Drepper <drepper@gmail.com>
39906
39907 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
39908
a5fb313c
AS
399092011-11-14 Andreas Schwab <schwab@redhat.com>
39910
39911 * malloc/arena.c (arena_get2): Don't call reused_arena when
39912 _int_new_arena failed.
39913
6abf3465
UD
399142011-11-14 Ulrich Drepper <drepper@gmail.com>
39915
39916 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
39917 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
39918 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
39919 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39920 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39921 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
39922 to compile strcasecmp and strncasecmp.
39923 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
39924 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
39925
39926 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
39927
76e3966e
UD
399282011-11-13 Ulrich Drepper <drepper@gmail.com>
39929
39930 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
39931 locale-defines.sym to gen-as-const-headers.
39932 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
39933 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
39934 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
39935 to compile strcasecmp and strncasecmp.
39936 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
39937 strcasecmp_l and strncasecmp_l.
39938 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
39939 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
39940 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
39941 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
39942 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
39943 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
39944 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
39945 * sysdeps/i386/i686/multiarch/strncase.S: New file.
39946 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
39947 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
39948 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
39949
ab26144e
UD
399502011-11-12 Ulrich Drepper <drepper@gmail.com>
39951
7edb22ef
UD
39952 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
39953 result of SYSDEP_GETTIME_CPU to retval.
39954 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
39955 parameter list to macro. Remove trailing semicolon. Adjust users.
39956
9694fc44
UD
39957 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
39958 variable.
39959
8ad89ef8
UD
39960 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
39961 mantissa words.
39962 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
39963
0c822ef9
UD
39964 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
39965 from unused variable.
39966
874e0564
UD
39967 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
39968 DWARF definitions.
39969 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
39970 for assembling.
39971
3a2edc79
UD
39972 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
39973 over namespaces.
39974
f3c2577f
UD
39975 * sunrpc/rpc_prot.c (rejected): Fix case value.
39976
294ce126
UD
39977 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
39978 unsigned long long int to avoid warnings in shift.
39979
5e2b63c6
UD
39980 * posix/regex_internal.c (re_string_reconstruct): Actually use result
39981 of use of trans.
39982 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
39983 variable tmp.
39984
e7f4b08e
UD
39985 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
39986 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
39987 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
39988
ab26144e
UD
39989 * nis/nis_table.c (nis_list): Use variable of correct type for
39990 result of __follow_path call.
39991
8a6d5255
AZ
399922011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39993
39994 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
39995 of math functions ceil, trunc, floor, round, and sqrt, when
39996 avaliable on the platform.
39997 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
39998 name clash.
39999 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40000 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40001 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40002
aaddc98c
MP
400032011-10-30 Marek Polacek <mpolacek@redhat.com>
40004
40005 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40006 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40007
95b7042b
RM
400082011-11-11 Roland McGrath <roland@hack.frob.com>
40009
40010 * include/unistd.h: Fix __readlink return type.
40011 Reported by Chris Metcalf <cmetcalf@tilera.com>.
40012
57769839
UD
400132011-11-11 Ulrich Drepper <drepper@gmail.com>
40014
40015 * stdlib/ucontext.h: Undo last change for makecontext.
40016
edc5984d
AS
400172011-11-11 Andreas Schwab <schwab@redhat.com>
40018
98591e58
AS
40019 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40020
edc5984d
AS
40021 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40022 * setjmp/setjmp.h: Mark functions as non-leaf.
40023 * setjmp/bits/setjmp2.h: Likewise.
40024 * stdlib/ucontext.h: Likewise.
40025
77cdc054
AS
400262011-11-10 Andreas Schwab <schwab@redhat.com>
40027
40028 * malloc/arena.c (_int_new_arena): Don't increment narenas.
40029 (reused_arena): Don't check arena limit.
40030 (arena_get2): Atomically check arena limit.
40031
fe72eebd
UD
400322011-11-08 Ulrich Drepper <drepper@gmail.com>
40033
5f078c32
UD
40034 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40035 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40036
fe72eebd
UD
40037 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40038 instructions.
40039
ae1bc2fa
AS
400402011-11-07 Andreas Schwab <schwab@redhat.com>
40041
7583a88d
AS
40042 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40043 handler when locking.
40044
ae1bc2fa
AS
40045 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40046 Fix size of allocated buffer.
40047
10fb0bfa
AS
400482011-11-04 Andreas Schwab <schwab@redhat.com>
40049
998832a4
AS
40050 [BZ #10103]
40051 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40052 declarations for long double functions.
40053 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40054
10fb0bfa
AS
40055 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40056
3d7ba52b
AS
400572011-11-03 Andreas Schwab <schwab@redhat.com>
40058
a9ae54a1
AS
40059 * nscd/nscd.c (main): Don't start AVC thread until credentials are
40060 installed.
40061
3d7ba52b
AS
40062 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40063 is disabled.
40064
bc8db248
ST
400652011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
40066
40067 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40068
45b96dd6
AS
400692011-11-01 Andreas Schwab <schwab@linux-m68k.org>
40070
647776f6
AS
40071 * include/alloca.h (stackinfo_alloca_round): Define.
40072 (extend_alloca): Use it.
40073 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40074 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40075 here.
40076
d91a8b93
AS
40077 * scripts/check-local-headers.sh: Ignore libaudit.h.
40078
45b96dd6
AS
40079 * nscd/Makefile (extra-objs): Make recursively expanded.
40080
432d41ce
UD
400812011-11-01 Ulrich Drepper <drepper@gmail.com>
40082
34372fc6
UD
40083 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40084 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40085
fadb59f8
UD
40086 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40087 * posix/tst-rfc3484-2.c: Likewise.
40088 * posix/tst-rfc3484-3.c: Likewise.
40089
78239589
UD
40090 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40091 process_vm_writev.
40092 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40093 process_vm_writev.
40094 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40095 process_vm_writev from libc using GLIBC_2.15 version.
40096
432d41ce
UD
40097 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40098
02f9c6cf
PP
400992011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
40100
40101 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40102 stack usage.
40103
3a2c0242
UD
401042011-10-31 Ulrich Drepper <drepper@gmail.com>
40105
f4ec4833
UD
40106 [BZ #13367]
40107 * nss/getent.c (initgroups_keys): Show error message in case no group
40108 names are given.
40109
3a2c0242
UD
40110 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40111 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40112 __bump_nl_timestamp.
40113 * nscd/connections (nscd_init): When host database is served open
40114 netlink socket and request notification about configuration changes.
40115 (main_loop_poll): Track netlink file descriptor and bump timestamp
40116 in case data becomes available.
40117 (main_loop_epoll): Likewise.
40118 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40119 (database_pers_head): Add extra_data fileds.
40120 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40121 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40122 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40123 Adjust caller.
40124 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40125 in6ai data, call __free_in6ai.
40126 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40127 Add -DHAVE_NETLINK.
40128 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
40129 interface information. Reuse previous data if netlink timestamp
40130 is not changed.
40131 (__bump_nl_timestamp): New function.
40132 (__free_in6ai): New function.
40133
636064eb
UD
401342011-10-30 Ulrich Drepper <drepper@gmail.com>
40135
40136 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40137 close_not_cancel_no_status here.
40138 (__check_pf): Reorganize code a bit to not call close twice if OOM.
40139
9beb2334
UD
401402011-10-29 Ulrich Drepper <drepper@gmail.com>
40141
6ef76f3b
UD
40142 [BZ #13276]
40143 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40144 return value.
40145
0ffc4f3e 40146 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
40147 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40148 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40149
cb95113e
UD
401502011-07-03 Andreas Jaeger <aj@suse.de>
40151
40152 [BZ #10709]
40153 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40154 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40155 * math/libm-test.inc (sin_test): Add test case.
40156
a1b560ff
UD
401572011-10-29 Ulrich Drepper <drepper@gmail.com>
40158
c9aaface
UD
40159 [BZ #13337]
40160 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40161 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40162
d272e7f1
UD
40163 * elf/chroot_canon.c (chroot_canon): Cleanups.
40164
1bc33071
UD
40165 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40166
1760874d
TJ
40167 [BZ #13335]
40168 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40169 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40170
51d91b18
UD
40171 * string/test-strchr.c: Make usable for strchrnul testing.
40172 * string/test-strchrnul.c: New file.
40173 * string/Makefile (strop-tests): Add strchrnul.
40174
a1b560ff 40175 * po/it.po: Update from translation team.
b611fb81 40176 * po/es.po: Likewise.
a1b560ff 40177
a5b81e1f
UD
401782011-10-28 Ulrich Drepper <drepper@gmail.com>
40179
fd52bc6d
UD
40180 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40181 the three constants needed as parameters. Drop the others.
40182 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40183 __m128i_strloadu_tolower.
52e4b9eb
UD
40184 Create and initialize variable zero and use it in all the places
40185 where _mm_setzero_si128 was used.
fd52bc6d 40186
a5b81e1f
UD
40187 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40188 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40189 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40190 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40191 anymore.
40192 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40193 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40194 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40195 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40196 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40197 __mpranred, __mptan.
40198 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40199 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40200 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40201 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40202 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40203 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40204 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40205 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40206 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40207
b4343346
AS
402082011-10-28 Andreas Schwab <schwab@redhat.com>
40209
0c92d8a8
AS
40210 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40211 redefine if SHARED.
40212 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40213
b4343346
AS
40214 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40215 wide char related routines to wcsmbs subdir.
40216
3871f58f
AS
402172011-10-27 Andreas Schwab <schwab@redhat.com>
40218
40219 [BZ #13344]
40220 * misc/sys/cdefs.h (__THROWNL): Define.
40221 * posix/unistd.h: Use __THREADNL instead of __THREAD
40222 for memory synchronization functions.
40223
94d44d9f
RM
402242011-10-26 Roland McGrath <roland@hack.frob.com>
40225
21b64b15 40226 [BZ #13349]
94d44d9f
RM
40227 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40228 doesn't exist.
40229 * manual/stdio.texi (Obstack Streams): Node removed.
40230
f6ce9294
AS
402312011-10-26 Andreas Schwab <schwab@redhat.com>
40232
80479147
AS
40233 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40234 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40235 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40236
f6ce9294
AS
40237 * math/math_private.h (math_force_eval): Allow non-addressable
40238 arguments.
40239 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40240
618280a1
UD
402412011-10-25 Ulrich Drepper <drepper@gmail.com>
40242
e0016b11
UD
40243 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40244 file is not needed.
40245
40246 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40247 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40248 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40249 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40250 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40251 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40252 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40253 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40254 Add AVX variants.
40255 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40256 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40257 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40258 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40259 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40260 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40261 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40262 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40263 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40264 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40265 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40266 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40267 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40268 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40269 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40270 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40271 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40272 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40273 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40274
40275 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40276 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
40277
618280a1
UD
40278 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40279 place. Use VEX encoding when compiling for AVX.
40280
37822576
AS
402812011-10-25 Andreas Schwab <schwab@redhat.com>
40282
1f1e1947
AS
40283 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40284 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40285
37822576
AS
40286 * string/test-strchr.c (do_test): Don't generate NUL bytes.
40287
31ea014d
UD
402882011-10-25 Ulrich Drepper <drepper@gmail.com>
40289
d7826aa1 40290 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 40291 useless if() expression.
d7826aa1
UD
40292 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40293 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40294 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40295 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40296 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40297 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40298 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40299 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40300 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40301 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40302 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40303 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40304 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40305 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40306 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40307 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40308 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40309 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40310 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40311
31ea014d
UD
40312 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40313
16437fec
AS
403142011-10-25 Andreas Schwab <schwab@redhat.com>
40315
40316 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40317 condition.
40318 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40319
31d3cc00
UD
403202011-10-25 Ulrich Drepper <drepper@gmail.com>
40321
40322 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40323 .text section. Avoid duplicate constants.
40324 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40325 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40326 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40327 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40328 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40329 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40330 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40331 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40332 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40333 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40334 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40335 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40336 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40337 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40338 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40339 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40340 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40341 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40342 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40343 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40344 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40345 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40346 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40347 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40348 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40349 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40350 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40351 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40352 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40353 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40354 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40355 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40356 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40357 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40358 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40359 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40360 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40361 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40362 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40363 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40364 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40365 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40366 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40367 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40368 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40369
58985aa9
UD
403702011-10-24 Ulrich Drepper <drepper@gmail.com>
40371
202c9deb
UD
40372 * sysdeps/x86_64/dla.h: Move to ...
40373 * sysdeps/x86_64/fpu/dla.h: ...here.
40374 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40375 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 40376
af968f62
UD
40377 * config.make.in: Add have-mfma4 entry.
40378 * configure.in: Substitute libc_cv_cc_fma4.
40379 * math/Makefile (dbl-only-routines): Add sincostab.
40380 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40381 Use __sincostab not sincos.
40382 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40383 name is a macro.
40384 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40385 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40386 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40387 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
40388 using __copysign.
40389 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
40390 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
40391 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40392 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40393 and __inv.
40394 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40395 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40396 __copysign.
40397 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
40398 define aliases when function name is a macro.
40399 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40400 sysdeps/ieee754/dbl-64/sincos.tbl.
40401 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40402 fma4-enabled routines.
40403 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40404 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40405 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40406 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40407 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40408 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40409 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40410 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40411 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40412 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40413 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40414 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40415 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40416 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40417 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40418 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40419 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40420 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40421 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40422 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40423 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40424 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40425 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40426 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40427 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40428 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40429 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40430 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40431 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40432 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40433
58985aa9
UD
40434 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40435 rename.
40436 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40437 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40438 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40439 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40440 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40441 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40442 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40443 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40444
a201fbcf
AS
404452011-10-24 Andreas Schwab <schwab@redhat.com>
40446
40447 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
40448
fc2ee42a
LD
404492011-10-23 Ulrich Drepper <drepper@gmail.com>
40450
bb3129bd
UD
40451 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
40452
0275fff8
UD
40453 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
40454 prediction.
40455 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
40456
2fa2ae85
UD
40457 * string/strnlen.c: Don't define STRNLEN, reverse logic.
40458 Remove unused variable magic_bits.
40459 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
40460
fc2ee42a
LD
40461 * string/strnlen.c: Define and use STRNLEN macro.
40462 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
40463 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
40464 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
40465 * wcsmbs/wcslen.c: Define and use WCSLEN.
40466 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
40467 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
40468 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
40469 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
40470 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
40471 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
40472 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40473
ce7dd29f
LD
404742011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40475
40476 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40477 strnlen-sse2-no-bsf.
40478 Rename strlen-no-bsf to strlen-sse2-no-bsf.
40479 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
40480 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
40481 Add strnlen support.
40482 (USE_AS_STRNLEN): New macro.
40483 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
40484 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
40485 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
40486 * sysdeps/x86_64/wcslen.S: New file.
40487
979c70a3
MZ
404882011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
40489
40490 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40491 XMM-moves are used for copying on small sizes.
40492
2d09f82f
LD
404932011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40494
40495 * wcsmbs/Makefile (strop-tests): Add wcschr.
40496 * wcsmbs/test-wcschr.c: New file.
40497 * string/test-strchr.c: Update.
40498 Add wcschr support.
40499 (WIDE): New macro.
40500
619fccca
LD
405012011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40502
2d09f82f 40503 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
40504 * wcsmbs/test-wcslen.c: New file.
40505 * string/test-strlen.c: Update.
40506 Add wcslen support.
40507 (WIDE): New macro.
40508
09f699ea
UD
405092011-10-23 Ulrich Drepper <drepper@gmail.com>
40510
40511 * po/it.po: Update from translation team.
40512
95584d3b
LD
405132011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40514
40515 * sysdeps/x86_64/wcscmp.S: Update.
40516 Fix wrong comparison semantics.
40517 wcscmp shall use signed comparison not unsigned.
40518 Don't use substraction to avoid overflow bug.
40519 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40520 * wcsmbc/wcscmp.c: Likewise.
40521 * string/test-strcmp.c: Likewise.
40522 Add new tests to check cases with negative values.
40523
c8b3296b
UD
405242011-10-23 Ulrich Drepper <drepper@gmail.com>
40525
40526 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
40527 * sysdeps/x86_64/dla.h: ...here. New file.
40528 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
40529 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40530 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40531 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40532 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40533 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40534 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40535 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40536 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40537
246ad57a
AS
405382011-10-23 Andreas Schwab <schwab@linux-m68k.org>
40539
40540 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
40541 __ynl_finite aliases.
40542
a1a87169
UD
405432011-10-22 Ulrich Drepper <drepper@gmail.com>
40544
0d355eb7
UD
40545 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40546
a1a87169
UD
40547 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
40548 define DLA_FMA.
40549 [DLA_FMA] (EMULV): Use DLA_FMA.
40550 [DLA_FMA] (MUL12): Use EMULV.
40551 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
40552 that are not needed.
40553 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40554 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40555 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40556 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40557 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40558 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40559 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40560
ee2aafe0
AS
405612011-10-22 Andreas Schwab <schwab@linux-m68k.org>
40562
40563 * math/s_nan.c: Undef __nan.
40564 * math/s_nanf.c: Undef __nanf.
40565 * math/s_nanl.c: Undef __nanl.
40566 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
40567 "math_private.h".
40568
bc62c2fb
UD
405692011-10-22 Ulrich Drepper <drepper@gmail.com>
40570
77425c63
UD
40571 * math/s_catan.c: Add branch predictions.
40572 * math/s_catanf.c: Likewise.
40573 * math/s_catanh.c: Likewise.
40574 * math/s_catanhf.c: Likewise.
40575 * math/s_catanhl.c: Likewise.
40576 * math/s_catanl.c: Likewise.
40577 * math/s_cexp.c: Likewise.
40578 * math/s_cexpf.c: Likewise.
40579 * math/s_cexpl.c: Likewise.
40580 * math/s_clog.c: Likewise.
40581 * math/s_clog10.c: Likewise.
40582 * math/s_clog10f.c: Likewise.
40583 * math/s_clog10l.c: Likewise.
40584 * math/s_clogf.c: Likewise.
40585 * math/s_clogl.c: Likewise.
40586 * math/s_csqrt.c: Likewise.
40587 * math/s_csqrtf.c: Likewise.
40588 * math/s_csqrtl.c: Likewise.
40589 * math/s_ctanf.c: Likewise.
40590 * math/s_ctanh.c: Likewise.
40591 * math/s_ctanhf.c: Likewise.
40592 * math/s_ctanhl.c: Likewise.
40593 * math/s_ctanl.c: Likewise.
40594
bc62c2fb
UD
40595 * math/math_private.h: Define __nan, __nanf, __nanl.
40596 * math/s_cacosh.c: Include <math_private.h>.
40597 * math/s_cacoshl.c: Likewise.
40598 * math/s_casinh.c: Likewise.
40599 * math/s_casinhf.c: Likewise.
40600 * math/s_casinhl.c: Likewise.
40601 * math/s_ccos.c: Rely entire on ccosh.
40602 * math/s_ccosf.c: Rely entire on ccoshf.
40603 * math/s_ccosl.c: Rely entirely on ccoshl.
40604 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
40605 Remove tests for FE_INVALID.
40606 * math/s_ccoshf.c: Likewise.
40607 * math/s_ccoshl.c: Likewise.
40608 * math/s_csin.c: Likewise.
40609 * math/s_csinf.c: Likewise.
40610 * math/s_csinh.c Likewise.
40611 * math/s_csinhf.c: Likewise.
40612 * math/s_csinhl.c: Likewise.
40613 * math/s_csinl.c: Likewise.
40614 * math/s_ctan.c: Likewise.
40615 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
40616 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
40617 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
40618
8ec250a4
UD
406192011-10-21 Ulrich Drepper <drepper@gmail.com>
40620
c196fed8
UD
40621 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
40622 compilation problems.
40623
8ec250a4
UD
40624 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
40625 __builtin_expect.
40626
8d4f46c6
UD
406272011-10-20 Ulrich Drepper <drepper@gmail.com>
40628
ed72b654
UD
40629 * sysdeps/i386/configure.in: Test for -mfma4 option.
40630 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
40631 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
40632 COMMON_CPUID_INDEX_80000001.
40633 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
40634 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
40635 use it if FMA3 is not supported.
40636 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
40637
8d4f46c6
UD
40638 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
40639 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40640
d45c60c2
AS
406412011-10-20 Andreas Schwab <schwab@redhat.com>
40642
40643 [BZ #12892]
40644 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
40645 it would create a cycle with a link time dependency.
40646
d9a4d2ab
UD
406472011-10-19 Ulrich Drepper <drepper@gmail.com>
40648
855d1560
UD
40649 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
40650 instruction.
40651 * string/Makefile (strop-tests): Add rawmemchr.
40652 * string/test-rawmemchr.c: New file.
40653
d9a4d2ab
UD
40654 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
40655 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
40656 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
40657 when compiling str{,n}casecmp and when AVX is available. Hook up
40658 new optimized code in initializers.
40659
8f3b1ffe
AS
406602011-10-19 Andreas Schwab <schwab@redhat.com>
40661
40662 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
40663 __feraiseexcept instead of feraiseexcept.
40664
d38f1dba
UD
406652011-10-18 Ulrich Drepper <drepper@gmail.com>
40666
d9a8d0ab
UD
40667 * math/math_private.h: Define defaults for libc_fetestexcept and
40668 libc_feupdateenv.
40669 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
40670 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
40671 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40672 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40673 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40674 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40675 libc_fetestexcept and libc_feupdateenv.
40676
4855e3dd
UD
40677 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
40678 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
40679 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
40680 * sysdeps/x86_64/fpu/math_private.h: Define special version of
40681 libc_feholdexcept_setround.
40682
581d30e3
UD
40683 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
40684 Add s_nearbyint-c and s_nearbyintf-c.
40685 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
40686 nearbyintf inlines.
40687 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
40688 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
40689 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
40690 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
40691
d38f1dba
UD
40692 * math/math_private.h: Define defaults for libc_fegetround,
40693 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
40694 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
40695 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
40696 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
40697 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
40698 standard functions.
40699 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40700 Remove comments and hacks for old compiler versions.
40701 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40702 libc_fegetround, libc_fesetround, libc_feholdexcept, and
40703 libc_feholdexceptl.
40704
caa6c9d8
AS
407052011-10-18 Andreas Schwab <schwab@redhat.com>
40706
40707 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
40708 (__feraiseexcept_renamed): Add __NTH.
40709 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
40710 namespace violations.
40711
97c066e6
UD
407122011-10-17 Ulrich Drepper <drepper@gmail.com>
40713
99ce7b04
UD
40714 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
40715
1004d182
UD
40716 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
40717
228a984d
UD
40718 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
40719 recently added interfaces.
40720 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
40721
c8553a6a
UD
40722 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
40723 about macro parameter expansion.
40724
ed22dcf6
UD
40725 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
40726 __NO_MATH_INLINES is defined. Cleanups.
40727
40728 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
40729 and __floorf is target has SSE4.1.
40730 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
40731 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
40732 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
40733 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
40734
b171c137
UD
40735 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
40736 name.
40737 (floorf): Likewise.
40738
97c066e6
UD
40739 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
40740
629f62ef
AS
407412011-10-17 Andreas Schwab <schwab@redhat.com>
40742
49a43d80
AS
40743 * misc/sys/cdefs.h: Fix last change.
40744
629f62ef
AS
40745 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
40746 database lookup.
40747
e453f6cd
UD
407482011-10-16 Ulrich Drepper <drepper@gmail.com>
40749
aa78043a
UD
40750 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
40751
ad0f5cad
UD
40752 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
40753 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40754 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40755 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40756 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40757 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40758 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40759 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40760 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40761 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
40762 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
40763 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
40764 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
40765 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
40766 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
40767 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
40768 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
40769 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
40770 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
40771 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
40772 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
40773 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
40774
40775 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
40776 ceil, ceilf, floor, floorf.
40777
40778 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
40779 Perform IRELATIVE relocations last.
40780
e453f6cd
UD
40781 * elf/do-rel.h: Add another parameter nrelative, replacing the
40782 local variable with the same name. Change name of the function
40783 to end in Rel or Rela (uppercase).
40784 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
40785 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
40786 elf_dynamic_do_##reloc function.
40787
fd5bdc09
UD
407882011-10-15 Ulrich Drepper <drepper@gmail.com>
40789
79b195b5
UD
40790 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
40791 is sufficient, at least on modern CPUs.
40792
d4a28569
UD
40793 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
40794
b61099b5
UD
40795 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
40796 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
40797
bcf01e6d
UD
40798 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
40799 __expl_finite.
40800 * math/bits/math-finite.h: Add entries for exp.
40801 * math/e_expl.c: Add __*_finite alias.
40802 * sysdeps/i386/fpu/e_exp.S: Likewise.
40803 * sysdeps/i386/fpu/e_expf.S: Likewise.
40804 * sysdeps/i386/fpu/e_expl.c: Likewise.
40805 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40806 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40807 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40808 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40809 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
40810 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40811 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40812
ba1a0d59
UD
40813 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
40814 is sufficient, at least on modern CPUs.
40815
fd5bdc09
UD
40816 * ctype/ctype-info.c (__ctype_init): Define.
40817 * include/ctype.h (__ctype_init): Declare.
40818 (__ctype_b_loc): The variable is always initialized.
40819 (__ctype_toupper_loc): Likewise.
40820 (__ctype_tolower_loc): Likewise.
40821 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
40822 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
40823
7872cfb0
AS
408242011-10-15 Andreas Schwab <schwab@linux-m68k.org>
40825
b468825a
AS
40826 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
40827
7872cfb0
AS
40828 * configure.in: Also look in $cxxmachine/include for C++ system
40829 headers.
40830
be13f7bf
LD
408312011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40832
40833 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
40834 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
40835 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
40836 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
40837 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
40838 (USE_AS_WMEMCMP): New macro.
40839 Fixing indents.
40840 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
40841 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
40842 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
40843 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
40844 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40845 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
40846 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
40847 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
40848 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
40849 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
40850 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
40851 (USE_AS_WMEMCMP): New macro.
40852 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
40853 * sysdeps/string/test-memcmp.c: Update.
40854 Fix simple_wmemcmp.
40855 Add new tests.
40856 * wcsmbs/wmemcmp.c: Update.
40857 (WMEMCMP): New macro.
40858 Fix overflow bug.
40859
556a2007
AJ
408602011-10-12 Andreas Jaeger <aj@suse.de>
40861
40862 [BZ #13268]
40863 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
40864
538faaa7
UD
408652011-10-15 Ulrich Drepper <drepper@gmail.com>
40866
ab6737ff
UD
40867 * libio/iofwide.c (do_length): Avoid warning.
40868
538faaa7
UD
40869 * ctype/ctype.h (__isctype_f): Add missing __THROW.
40870
396a21b1
UD
408712011-10-14 Ulrich Drepper <drepper@gmail.com>
40872
cdf2901f
UD
40873 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
40874
38ad40ce
UD
40875 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
40876 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
40877 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
40878 * sysdeps/i386/i686/fpu/e_log.S: New file.
40879 * sysdeps/i386/i686/fpu/e_logf.S: New file.
40880 * sysdeps/i386/i686/fpu/e_logl.S: New file.
40881
396a21b1
UD
40882 * ctype/ctype.h: Add support for inlined isXXX functions when
40883 compiling C++ code.
40884
6b1f68c9
AS
408852011-10-14 Andreas Schwab <schwab@redhat.com>
40886
349290c0
AS
40887 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40888
6b1f68c9
AS
40889 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
40890
f2282d42
RM
408912011-10-13 Roland McGrath <roland@hack.frob.com>
40892
40893 [BZ #13291]
40894 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
40895
5298ffa8
AS
408962011-10-13 Andreas Schwab <schwab@redhat.com>
40897
714fad23
AS
40898 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
40899 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
40900 feraiseexcept.
40901
81dcc7fb
AS
40902 * sysdeps/x86_64/memrchr.S: Check for zero size.
40903
5298ffa8
AS
40904 * string/stratcliff.c: Add memrchr tests.
40905
951fbcec
LD
409062011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40907
40908 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40909 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
40910 rawmemchr-sse2 rawmemchr-sse2-bsf.
40911 * sysdeps/i386/i686/multiarch/memchr.S: New file.
40912 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
40913 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
40914 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
40915 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
40916 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
40917 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
40918 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
40919 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
40920 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
40921 * string/memrchr.c (MEMRCHR): New macro.
40922
0ac5ae23
UD
409232011-10-12 Ulrich Drepper <drepper@gmail.com>
40924
40925 Add integration with gcc's -ffinite-math-only and optimize wrapper
40926 functions in libm.
40927 * Versions.def: Define GLIBC_2.15 version for libm.
40928 * math/Makefile (headers): Add bits/math-finite.h.
40929 * math/bits/math-finite.h: New file.
40930 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
40931 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
40932 * math/e_acoshl.c: Add __*_finite alias.
40933 * math/e_acosl.c: Likewise.
40934 * math/e_asinl.c: Likewise.
40935 * math/e_atan2l.c: Likewise.
40936 * math/e_atanhl.c: Likewise.
40937 * math/e_coshl.c: Likewise.
40938 * math/e_exp10.c: Likewise.
40939 * math/e_exp10f.c: Likewise.
40940 * math/e_exp10l.c: Likewise.
40941 * math/e_exp2l.c: Likewise.
40942 * math/e_fmodl.c: Likewise.
40943 * math/e_gammal_r.c: Likewise.
40944 * math/e_hypotl.c: Likewise.
40945 * math/e_j0l.c: Likewise.
40946 * math/e_j1l.c: Likewise.
40947 * math/e_jnl.c: Likewise.
40948 * math/e_lgammal_r.c: Likewise.
40949 * math/e_log10l.c: Likewise.
40950 * math/e_log2l.c: Likewise.
40951 * math/e_logl.c: Likewise.
40952 * math/e_powl.c: Likewise.
40953 * math/e_sinhl.c: Likewise.
40954 * math/e_sqrtl.c: Likewise.
40955 * math/e_scalb.c: Completely rewritten and optimized.
40956 * math/e_scalbf.c: Likewise.
40957 * math/e_scalbl.c: Likewise.
40958 * math/w_acos.c: Likewise.
40959 * math/w_acosf.c: Likewise.
40960 * math/w_acosl.c: Likewise.
40961 * math/w_acosh.c: Likewise.
40962 * math/w_acoshf.c: Likewise.
40963 * math/w_acoshl.c: Likewise.
40964 * math/w_asin.c: Likewise.
40965 * math/w_asinf.c: Likewise.
40966 * math/w_asinl.c: Likewise.
40967 * math/w_atan2.c: Likewise.
40968 * math/w_atan2f.c: Likewise.
40969 * math/w_atan2l.c: Likewise.
40970 * math/w_atanh.c: Likewise.
40971 * math/w_atanhf.c: Likewise.
40972 * math/w_atanhl.c: Likewise.
40973 * math/w_exp10.c: Likewise.
40974 * math/w_exp10f.c: Likewise.
40975 * math/w_exp10l.c: Likewise.
40976 * math/w_fmod.c: Likewise.
40977 * math/w_fmodf.c: Likewise.
40978 * math/w_fmodl.c: Likewise.
40979 * math/w_j0.c: Likewise.
40980 * math/w_j0f.c: Likewise.
40981 * math/w_j0l.c: Likewise.
40982 * math/w_j1.c: Likewise.
40983 * math/w_j1f.c: Likewise.
40984 * math/w_j1l.c: Likewise.
40985 * math/w_jn.c: Likewise.
40986 * math/w_jnf.c: Likewise.
40987 * math/w_log.c: Likewise.
40988 * math/w_logf.c: Likewise.
40989 * math/w_logl.c: Likewise.
40990 * math/w_log10.c: Likewise.
40991 * math/w_log10f.c: Likewise.
40992 * math/w_log10l.c: Likewise.
40993 * math/w_log2.c: Likewise.
40994 * math/w_log2f.c: Likewise.
40995 * math/w_log2l.c: Likewise.
40996 * math/w_pow.c: Likewise.
40997 * math/w_powf.c: Likewise.
40998 * math/w_powl.c: Likewise.
40999 * math/w_remainder.c: Likewise.
41000 * math/w_remainderf.c: Likewise.
41001 * math/w_remainderl.c: Likewise.
41002 * math/w_scalb.c: Likewise.
41003 * math/w_scalbf.c: Likewise.
41004 * math/w_scalbl.c: Likewise.
41005 * math/w_sqrt.c: Likewise.
41006 * math/w_sqrtf.c: Likewise.
41007 * math/w_sqrtl.c: Likewise.
41008 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41009 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
41010 used.
41011 * math/math_private.h: Declare __kernel_standard_f.
41012 * math/w_cosh.c: Remove cruft and optimize a bit.
41013 * math/w_coshf.c: Likewise.
41014 * math/w_coshl.c: Likewise.
41015 * math/w_exp2.c: Likewise.
41016 * math/w_exp2f.c: Likewise.
41017 * math/w_exp2l.c: Likewise.
41018 * math/w_hypot.c: Likewise.
41019 * math/w_hypotf.c: Likewise.
41020 * math/w_hypotl.c: Likewise.
41021 * math/w_lgamma.c: Likewise.
41022 * math/w_lgamma_r.c: Likewise.
41023 * math/w_lgammaf.c: Likewise.
41024 * math/w_lgammaf_r.c: Likewise.
41025 * math/w_lgammal.c: Likewise.
41026 * math/w_lgammal_r.c: Likewise.
41027 * math/w_sinh.c: Likewise.
41028 * math/w_sinhf.c: Likewise.
41029 * math/w_sinhl.c: Likewise.
41030 * math/w_tgamma.c: Likewise.
41031 * math/w_tgammaf.c: Likewise.
41032 * math/w_tgammal.c: Likewise.
41033 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41034 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41035 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41036 Minor optimizations. Pretty printing. Remove cruft.
41037 * sysdeps/i386/fpu/e_acosf.S: Likewise.
41038 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41039 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41040 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41041 * sysdeps/i386/fpu/e_acosl.c: Likewise.
41042 * sysdeps/i386/fpu/e_asin.S: Likewise.
41043 * sysdeps/i386/fpu/e_asinf.S: Likewise.
41044 * sysdeps/i386/fpu/e_atan2.S: Likewise.
41045 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41046 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41047 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41048 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41049 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41050 * sysdeps/i386/fpu/e_exp10.S: Likewise.
41051 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41052 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41053 * sysdeps/i386/fpu/e_exp2.S: Likewise.
41054 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41055 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41056 * sysdeps/i386/fpu/e_fmod.S: Likewise.
41057 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41058 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41059 * sysdeps/i386/fpu/e_hypot.S: Likewise.
41060 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41061 * sysdeps/i386/fpu/e_log.S: Likewise.
41062 * sysdeps/i386/fpu/e_log10.S: Likewise.
41063 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41064 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41065 * sysdeps/i386/fpu/e_log2.S: Likewise.
41066 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41067 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41068 * sysdeps/i386/fpu/e_logf.S: Likewise.
41069 * sysdeps/i386/fpu/e_logl.S: Likewise.
41070 * sysdeps/i386/fpu/e_pow.S: Likewise.
41071 * sysdeps/i386/fpu/e_powf.S: Likewise.
41072 * sysdeps/i386/fpu/e_powl.S: Likewise.
41073 * sysdeps/i386/fpu/e_remainder.S: Likewise.
41074 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41075 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41076 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41077 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41078 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41079 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41080 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41081 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41082 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41083 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41084 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41085 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41086 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41087 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41088 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41089 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41090 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41091 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41092 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41093 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41094 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41095 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41096 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41097 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41098 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41099 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41100 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41101 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41102 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41103 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41104 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41105 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41106 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41107 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41108 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41109 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41110 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41111 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41112 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41113 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41114 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41115 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41116 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41117 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41118 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41119 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41120 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41121 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41122 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41123 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41124 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41125 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41126 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41127 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41128 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41129 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41130 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41131 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41132 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41133 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41134 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41135 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41136 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41137 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41138 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41139 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41140 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41141 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41142 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41143 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41144 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41145 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41146 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41147 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41148 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41149 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41150 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41151 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41152 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41153 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41154 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41155 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41156 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41157 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41158 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41159 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41160 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41161 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41162 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41163 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41164 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41165 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41166 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41167 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41168 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41169 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41170 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41171 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41172 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41173 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41174 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41175 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41176 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41177 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41178 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41179 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41180 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41181 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41182 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41183 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41184 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41185 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41186 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41187 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41188 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41189 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41190 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41191 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41192 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
41193 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41194 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41195 (__isnanf): Likewise.
41196 (__isinf_ns): Likewise.
41197 (__isinf_nsf): Likewise.
41198 (__finite): Likewise.
41199 (__finitef): Likewise.
41200 (__ieee754_sqrt): Define as macro.
41201 (__ieee754_sqrtf): Define as macro.
41202 (__ieee754_sqrtl): Define as macro.
41203 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41204 inlined copy.
41205 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41206 __FINITE_MATH_ONLY__ consistent.
41207 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41208
12cc2fcd
AS
412092011-10-10 Andreas Schwab <schwab@linux-m68k.org>
41210
a843a204
AS
41211 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41212 of rawmemchr.
41213
12cc2fcd
AS
41214 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41215
c853acd5
UD
412162011-10-09 Ulrich Drepper <drepper@gmail.com>
41217
41218 * po/ja.po: Update from translation team.
41219
c658d255
RM
412202011-10-08 Roland McGrath <roland@hack.frob.com>
41221
110946e4
RM
41222 * locale/programs/locarchive.c (prepare_address_space): New function.
41223 (create_archive, enlarge_archive, open_archive): Use it.
41224
50604220
RM
41225 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41226 inside [SHARED], where it is used.
41227
c658d255
RM
41228 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41229
41230 * nss/getent.c (netgroup_keys): Remove unused variable.
41231 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41232
6a621eb7
UD
412332011-10-08 Ulrich Drepper <drepper@gmail.com>
41234
7edb55ce
UD
41235 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41236 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41237 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41238 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41239 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41240 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41241 * math/Makefile (libm-calls): Add s_isinf_ns.
41242 * math/divtc3.c: Use __isinf_nsl instead of isinf.
41243 * math/multc3.c: Likewise.
41244 * math/s_casin.c: Likewise.
41245 * math/s_casinf.c: Likewise.
41246 * math/s_casinl.c: Likewise.
41247 * math/s_ccos.c: Likewise.
41248 * math/s_ccosf.c: Likewise.
41249 * math/s_ccosl.c: Likewise.
41250 * math/s_ctan.c: Likewise.
41251 * math/s_ctanf.c: Likewise.
41252 * math/s_ctanh.c: Likewise.
41253 * math/s_ctanhf.c: Likewise.
41254 * math/s_ctanhl.c: Likewise.
41255 * math/s_ctanl.c: Likewise.
41256 * math/w_fmod.c: Likewise.
41257 * math/w_fmodf.c: Likewise.
41258 * math/w_fmodl.c: Likewise.
41259 * math/w_remainder.c: Likewise.
41260 * math/w_remainderf.c: Likewise.
41261 * math/w_remainderl.c: Likewise.
41262 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41263 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41264 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41265 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41266 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41267 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41268 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41269 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41270
187da0ae
UD
41271 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41272 of the number.
41273 * stdio-common/printf_fphex.c: Likewise.
41274 * stdio-common/printf_size.c: Likewise.
41275
9277c064
UD
41276 * math/e_exp10.c: Include math_private.h using <...> not "...".
41277 * math/e_exp10f.c: Likewise.
41278 * math/e_exp10l.c: Likewise.
41279 * math/e_exp2l.c: Likewise.
41280 * math/e_j0l.c: Likewise.
41281 * math/e_j1l.c: Likewise.
41282 * math/e_jnl.c: Likewise.
41283 * math/e_lgammal_r.c: Likewise.
41284 * math/e_rem_pio2l.c: Likewise.
41285 * math/e_scalb.c: Likewise.
41286 * math/e_scalbf.c: Likewise.
41287 * math/e_scalbl.c: Likewise.
41288 * math/k_cosl.c: Likewise.
41289 * math/k_sinl.c: Likewise.
41290 * math/k_tanl.c: Likewise.
41291 * math/s_cacoshf.c: Likewise.
41292 * math/s_catan.c: Likewise.
41293 * math/s_catanf.c: Likewise.
41294 * math/s_catanh.c: Likewise.
41295 * math/s_catanhf.c: Likewise.
41296 * math/s_catanhl.c: Likewise.
41297 * math/s_catanl.c: Likewise.
41298 * math/s_ccosh.c: Likewise.
41299 * math/s_ccoshf.c: Likewise.
41300 * math/s_ccoshl.c: Likewise.
41301 * math/s_cexp.c: Likewise.
41302 * math/s_cexpf.c: Likewise.
41303 * math/s_cexpl.c: Likewise.
41304 * math/s_clog.c: Likewise.
41305 * math/s_clog10.c: Likewise.
41306 * math/s_clog10f.c: Likewise.
41307 * math/s_clog10l.c: Likewise.
41308 * math/s_clogf.c: Likewise.
41309 * math/s_clogl.c: Likewise.
41310 * math/s_csin.c: Likewise.
41311 * math/s_csinf.c: Likewise.
41312 * math/s_csinh.c: Likewise.
41313 * math/s_csinhf.c: Likewise.
41314 * math/s_csinhl.c: Likewise.
41315 * math/s_csinl.c: Likewise.
41316 * math/s_csqrt.c: Likewise.
41317 * math/s_csqrtf.c: Likewise.
41318 * math/s_csqrtl.c: Likewise.
41319 * math/s_ctan.c: Likewise.
41320 * math/s_ctanf.c: Likewise.
41321 * math/s_ctanh.c: Likewise.
41322 * math/s_ctanhf.c: Likewise.
41323 * math/s_ctanhl.c: Likewise.
41324 * math/s_ctanl.c: Likewise.
41325 * math/s_ldexp.c: Likewise.
41326 * math/s_ldexpf.c: Likewise.
41327 * math/s_ldexpl.c: Likewise.
41328 * math/s_significand.c: Likewise.
41329 * math/s_significandf.c: Likewise.
41330 * math/s_significandl.c: Likewise.
41331 * math/w_acos.c: Likewise.
41332 * math/w_acosf.c: Likewise.
41333 * math/w_acosh.c: Likewise.
41334 * math/w_acoshf.c: Likewise.
41335 * math/w_acoshl.c: Likewise.
41336 * math/w_acosl.c: Likewise.
41337 * math/w_asin.c: Likewise.
41338 * math/w_asinf.c: Likewise.
41339 * math/w_asinl.c: Likewise.
41340 * math/w_atan2.c: Likewise.
41341 * math/w_atan2f.c: Likewise.
41342 * math/w_atan2l.c: Likewise.
41343 * math/w_atanh.c: Likewise.
41344 * math/w_atanhf.c: Likewise.
41345 * math/w_atanhl.c: Likewise.
41346 * math/w_cosh.c: Likewise.
41347 * math/w_coshf.c: Likewise.
41348 * math/w_coshl.c: Likewise.
41349 * math/w_dremf.c: Likewise.
41350 * math/w_exp10.c: Likewise.
41351 * math/w_exp10f.c: Likewise.
41352 * math/w_exp10l.c: Likewise.
41353 * math/w_exp2.c: Likewise.
41354 * math/w_exp2f.c: Likewise.
41355 * math/w_fmod.c: Likewise.
41356 * math/w_fmodf.c: Likewise.
41357 * math/w_fmodl.c: Likewise.
41358 * math/w_hypot.c: Likewise.
41359 * math/w_hypotf.c: Likewise.
41360 * math/w_hypotl.c: Likewise.
41361 * math/w_j0.c: Likewise.
41362 * math/w_j0f.c: Likewise.
41363 * math/w_j0l.c: Likewise.
41364 * math/w_j1.c: Likewise.
41365 * math/w_j1f.c: Likewise.
41366 * math/w_j1l.c: Likewise.
41367 * math/w_jn.c: Likewise.
41368 * math/w_jnf.c: Likewise.
41369 * math/w_jnl.c: Likewise.
41370 * math/w_lgamma.c: Likewise.
41371 * math/w_lgamma_r.c: Likewise.
41372 * math/w_lgammaf.c: Likewise.
41373 * math/w_lgammaf_r.c: Likewise.
41374 * math/w_lgammal.c: Likewise.
41375 * math/w_lgammal_r.c: Likewise.
41376 * math/w_log.c: Likewise.
41377 * math/w_log10.c: Likewise.
41378 * math/w_log10f.c: Likewise.
41379 * math/w_log10l.c: Likewise.
41380 * math/w_log2.c: Likewise.
41381 * math/w_log2f.c: Likewise.
41382 * math/w_log2l.c: Likewise.
41383 * math/w_logf.c: Likewise.
41384 * math/w_logl.c: Likewise.
41385 * math/w_pow.c: Likewise.
41386 * math/w_powf.c: Likewise.
41387 * math/w_powl.c: Likewise.
41388 * math/w_remainder.c: Likewise.
41389 * math/w_remainderf.c: Likewise.
41390 * math/w_remainderl.c: Likewise.
41391 * math/w_scalb.c: Likewise.
41392 * math/w_scalbf.c: Likewise.
41393 * math/w_scalbl.c: Likewise.
41394 * math/w_sinh.c: Likewise.
41395 * math/w_sinhf.c: Likewise.
41396 * math/w_sinhl.c: Likewise.
41397 * math/w_sqrt.c: Likewise.
41398 * math/w_sqrtf.c: Likewise.
41399 * math/w_sqrtl.c: Likewise.
41400 * math/w_tgamma.c: Likewise.
41401 * math/w_tgammaf.c: Likewise.
41402 * math/w_tgammal.c: Likewise.
41403
6a621eb7
UD
41404 * po/ja.po: Update from translation team.
41405
bf582445
AJ
414062011-09-29 Andreas Jaeger <aj@suse.de>
41407
f9efbf3a
AJ
41408 [BZ #13179]
41409 * sunrpc/netname.c (netname2host): Fix logic.
41410
bf582445
AJ
41411 [BZ #6779]
41412 [BZ #6783]
41413 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41414 correctly.
41415 * math/w_remainder.c (__remainder): Likewise.
41416 * math/w_remainderf.c (__remainderf): Likewise.
41417 * math/libm-test.inc (remainder_test): Add test cases.
41418
48693bea
AK
414192011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41420
41421 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
41422 sdiv_qrnnd.
41423
42622229
LD
414242011-10-07 Ulrich Drepper <drepper@gmail.com>
41425
41426 * string/test-memcmp.c: Avoid unncessary #defines.
41427 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41428
093ecf92
LD
414292011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41430
41431 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41432 Use new sse2 version for core i3 - i7 as it's faster
41433 than sse42 version.
41434 (bit_Prefer_PMINUB_for_stringop): New.
41435 * sysdeps/x86_64/rawmemchr.S: Update.
41436 Replace with faster SSE2 version.
41437 * sysdeps/x86_64/memrchr.S: New file.
41438 * sysdeps/x86_64/memchr.S: Update.
41439 Replace with faster SSE2 version.
41440
fde56e5c
MP
414412011-09-12 Marek Polacek <mpolacek@redhat.com>
41442
41443 * elf/dl-load.c (lose): Add cast to avoid warning.
41444
21fd49a9
UD
414452011-10-07 Ulrich Drepper <drepper@gmail.com>
41446
5a06e643
UD
41447 * po/ca.po: Update from translation team.
41448
684ae515
UD
41449 * inet/getnetgrent_r.c: Hook up nscd.
41450 * nscd/Makefile (routines): Add nscd_netgroup.
41451 (nscd-modules): Add netgroupcache.
41452 (CFLAGS-netgroupcache.c): Define.
41453 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
41454 (cache_search): Add const to second parameter.
41455 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
41456 INNETGR.
41457 (dbs): Add netgrdb entry.
41458 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
41459 (verify_persistent_db): Handle netgrdb.
41460 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
41461 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
41462 GETFDNETGR.
41463 (netgroup_response_header): Define.
41464 (innetgroup_response_header): Define.
41465 (datahead): Add netgroup_response_header and innetgroup_response_header
41466 elements.
41467 * nscd/nscd.conf: Add entries for netgroup cache.
41468 * nscd/nscd.h (dbtype): Add netgrdb.
41469 (_PATH_NSCD_NETGROUP_DB): Define.
41470 (netgroup_iov_disabled): Declare.
41471 (xmalloc, xcalloc, xrealloc): Move declarations here.
41472 (cache_search): Adjust prototype.
41473 Add netgroup-related prototypes.
41474 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
41475 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
41476 (__nscd_innetgr): Declare.
41477 * nscd/selinux.c (perms): Use access_vector_t as element type and
41478 add netgroup-related initializers.
41479 * nscd/netgroupcache.c: New file.
41480 * nscd/nscd_netgroup.c: New file.
41481 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
41482 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
41483 For four parameters use innetgr.
41484 * nss/nss_files/files-init.c: Add definition and callback for netgr.
41485 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
41486 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
41487 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
41488
21fd49a9
UD
41489 * nscd/connections.c (register_traced_file): Don't register file
41490 for disabled databases.
41491
054c0457
UD
414922011-10-06 Ulrich Drepper <drepper@gmail.com>
41493
32b63198
UD
41494 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
41495
054c0457
UD
41496 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
41497 from tree and freeing node.
41498
64031225
JO
414992011-09-25 Jiri Olsa <jolsa@redhat.com>
41500
41501 * nss/nsswitch.c (__nss_database_lookup): Handle
41502 nss_parse_service_list out of memory case.
41503
0490345c
JO
415042011-09-15 Jiri Olsa <jolsa@redhat.com>
41505
41506 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
41507 out of memory case.
41508
3a62d00d
AS
415092011-10-04 Andreas Schwab <schwab@redhat.com>
41510
41511 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
41512 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
41513 pass it down.
41514 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
41515 elf_machine_rela, elf_machine_lazy_rel.
41516 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
41517 (ELF_DYNAMIC_DO_REL): Likewise.
41518 (ELF_DYNAMIC_DO_RELA): Likewise.
41519 (ELF_DYNAMIC_RELOCATE): Likewise.
41520 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
41521 to ELF_DYNAMIC_DO_REL.
41522 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
41523 (dl_main): In trace mode always set __RTLD_NOIFUNC.
41524 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
41525 elf_machine_rela.
41526 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
41527 skip_ifunc, don't call ifunc function if non-zero.
41528 (elf_machine_rela): Likewise.
41529 (elf_machine_lazy_rel): Likewise.
41530 (elf_machine_lazy_rela): Likewise.
41531 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
41532 (elf_machine_lazy_rel): Likewise.
41533 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
41534 Likewise.
41535 (elf_machine_lazy_rel): Likewise.
41536 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41537 Likewise.
41538 (elf_machine_lazy_rel): Likewise.
41539 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
41540 (elf_machine_lazy_rel): Likewise.
41541 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
41542 (elf_machine_lazy_rel): Likewise.
41543 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41544 (elf_machine_lazy_rel): Likewise.
41545 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
41546 (elf_machine_lazy_rel): Likewise.
41547 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
41548 (elf_machine_lazy_rel): Likewise.
41549 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41550 (elf_machine_lazy_rel): Likewise.
41551
68577918
UD
415522011-09-28 Ulrich Drepper <drepper@gmail.com>
41553
41554 * nss/nss_files/files-init.c (_nss_files_init): Use static
41555 initialization for all the *_traced_file variables.
41556
68822d74
AS
415572011-09-28 Andreas Schwab <schwab@redhat.com>
41558
41559 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41560
2056100b
RM
415612011-09-27 Roland McGrath <roland@hack.frob.com>
41562
41563 [BZ #13226]
41564 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
41565
32c76b63
AS
415662011-09-27 Andreas Schwab <schwab@redhat.com>
41567
41568 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41569 Reread the line before reparsing it.
41570
bf972c9d
AS
415712011-09-26 Andreas Schwab <schwab@redhat.com>
41572
41573 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
41574
e057a1b5
JM
415752011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
41576 Maxim Kuvyrkov <maxim@codesourcery.com>
41577 Joseph Myers <joseph@codesourcery.com>
41578
41579 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
41580 if needed for __stack_chk_guard.
41581
bc7e1c36
RM
415822011-09-19 Roland McGrath <roland@hack.frob.com>
41583
ecb1482f
RM
41584 * sysdeps/posix/spawni.c (script_execute): Always define it.
41585 It will be optimized away if unused.
41586 (maybe_script_execute): New function.
41587 (__spawni): Call it.
41588
bc7e1c36
RM
41589 * Makerules: Don't include tls.make.
41590 (config-tls): Always set to thread.
41591 * tls.make.c: File removed.
41592
1c3b002b
MF
415932011-09-19 Mike Frysinger <vapier@gentoo.org>
41594
41595 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
41596 * config.make.in (CPPFLAGS-config): New substituted variable.
41597
2840865d
UD
415982011-09-15 Ulrich Drepper <drepper@gmail.com>
41599
88738eb6
UD
41600 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
41601
cbf645a6 41602 [BZ #13192]
2840865d
UD
41603 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
41604 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
41605
b402e91a
RM
416062011-09-15 Roland McGrath <roland@hack.frob.com>
41607
41608 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
41609 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
41610 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41611 (CALL_FAIL): Likewise.
41612 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
41613 (CALL_FAIL): Macro removed.
41614 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
41615
4c1a1f71
UD
416162011-09-15 Ulrich Drepper <drepper@gmail.com>
41617
41618 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
41619 for __FINITE_MATH_ONLY__ == 1.
41620
edc121be
AS
416212011-09-15 Andreas Schwab <schwab@redhat.com>
41622
41623 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
41624 __ieee754_sqrt instead of sqrt.
41625 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
41626 __ieee754_sqrtf instead of sqrtf.
41627 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
41628 __floorf instead of floorf.
41629 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
41630 __floorf, __truncf instead of floorf, truncf.
41631
cd205654
UD
416322011-09-14 Ulrich Drepper <drepper@gmail.com>
41633
ee4d0315
UD
41634 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
41635
cd205654
UD
41636 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
41637 __extern_always_inline.
41638 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
41639 32-bit.
41640
48b67d71
AS
416412011-09-14 Andreas Schwab <schwab@redhat.com>
41642
41643 * elf/rtld.c (dl_main): Also relocate in dependency order when
41644 doing symbol dependency testing.
41645
1ae12c75
AS
416462011-09-13 Andreas Schwab <schwab@linux-m68k.org>
41647
41648 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41649 Always define `refsym'.
41650
995a80df
AS
416512011-09-13 Andreas Schwab <schwab@redhat.com>
41652
e529793b
AS
41653 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
41654 (__FD_ELT): Renamed from __FDELT.
41655 * misc/bits/select2.h (__FD_ELT): Likewise.
41656 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
41657 __FD_MASK instead of __FDELT, __FDMASK.
41658 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41659 Likewise.
41660 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41661 Likewise.
41662
52d4fef8
AS
41663 * elf/Makefile (gen-ldd): Fix pattern.
41664
995a80df
AS
41665 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
41666 (init_tls): Likewise.
41667
8682f8b0
UD
416682011-09-12 Ulrich Drepper <drepper@gmail.com>
41669
41670 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
41671
de82006d
AS
416722011-09-12 Andreas Schwab <schwab@redhat.com>
41673
a7c8e6a1
AS
41674 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
41675 `struct cmsghdr *' instead of `void *'.
41676 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
41677 Likewise.
41678
0f31fe77
AS
416792011-09-11 Andreas Schwab <schwab@linux-m68k.org>
41680
41681 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
41682 if non-absolute.
41683 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
41684 ldd_rewrite_script.
0f31fe77 41685
32b4c839
UD
416862011-09-11 Ulrich Drepper <drepper@gmail.com>
41687
83cd1420
UD
41688 * configure.in: Remove --with-tls option.
41689 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
41690 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
41691 out in case it is missing.
41692 * sysdeps/ia64/elf/configure.in: Likewise.
41693 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
41694 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
41695 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
41696 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
41697 * sysdeps/sh/elf/configure.in: Likewise.
41698 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
41699 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41700 * sysdeps/x86_64/elf/configure.in: Likewise.
41701 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
41702 * sysdeps/mach/hurd/tls.h: Likewise.
41703
633f745d
UD
41704 [BZ #13067]
41705 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
41706
f318beb8
UD
41707 [BZ #13090]
41708 * configure.in: Fix use of AC_INIT.
41709
32b4c839
UD
41710 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
41711
3ce1f295
UD
417122011-09-10 Ulrich Drepper <drepper@gmail.com>
41713
bb016596
UD
41714 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
41715 __set_errno.
8e58439c
UD
41716 * malloc/hooks.c: Likewise.
41717
aebae053 41718 [BZ #11929]
02d46fc4
UD
41719 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
41720 variables statically.
41721 (narenas): Initialize.
41722 (list_lock): Initialize.
bb016596
UD
41723 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
41724 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
41725 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
41726 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
41727 Add initializers to main_arena and mp_.
41728 (malloc_state): Remove pagesize member. Change all users to use
41729 GLRO(dl_pagesize).
41730
41731 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
41732 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
41733 is always initialized.
41734
22a89187
UD
41735 * malloc/malloc.c: Removed unused configurations and dead code.
41736 * malloc/arena.c: Likewise.
41737 * malloc/hooks.c: Likewise.
02d46fc4 41738 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 41739
d063d164
UD
41740 * include/tls.h: Removed. USE___THREAD must always be defined.
41741 * bits/libc-tsd.h: Don't handle !USE___THREAD.
41742 * elf/dl-libc.c: Likewise.
41743 * elf/dl-tsd.c: Likewise.
41744 * include/errno.h: Likewise.
41745 * include/netdb.h: Likewise.
41746 * include/resolv.h: Likewise.
41747 * inet/herrno-loc.c: Likewise.
41748 * inet/herrno.c: Likewise.
41749 * malloc/arena.c: Likewise.
41750 * malloc/hooks.c: Likewise.
41751 * malloc/malloc.c: Likewise.
41752 * resolv/res-state.c: Likewise.
41753 * resolv/res_libc.c: Likewise.
41754 * sysdeps/i386/dl-machine.h: Likewise.
41755 * sysdeps/ia64/dl-machine.h: Likewise.
41756 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41757 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41758 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41759 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41760 * sysdeps/sh/dl-machine.h: Likewise.
41761 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41762 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41763 * sysdeps/unix/i386/sysdep.S: Likewise.
41764 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41765 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41766 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41767 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41768 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41769 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41770 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41771 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41772 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41773 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41774 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41775 * sysdeps/x86_64/dl-machine.h: Likewise.
41776 * tls.make.c: Likewise.
41777
3ce1f295
UD
41778 * configure.in: Remove --with-__thread option. Make tests for
41779 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
41780 tls_model attribute fail if no support is available. Remove
41781 USE_IN_LIBIO.
41782 * Makeconfig: Adjust for dropped configure option. All features are
41783 now mandatory.
41784 * Makerules: Likewise.
41785 * Versions.def: Likewise.
41786 * argp/argp-fmtstream.c: Likewise.
41787 * argp/argp-fmtstream.h: Likewise.
41788 * argp/argp-help.c: Likewise.
41789 * assert/assert.c: Likewise.
41790 * config.h.in: Likewise.
41791 * config.make.in: Likewise.
41792 * configure: Likewise.
41793 * configure.in: Likewise.
41794 * csu/Versions: Likewise.
41795 * csu/init.c: Likewise.
41796 * elf/tst-audit2.c: Likewise.
41797 * elf/tst-tls10.c: Likewise.
41798 * elf/tst-tls10.h: Likewise.
41799 * elf/tst-tls11.c: Likewise.
41800 * elf/tst-tls12.c: Likewise.
41801 * elf/tst-tls14.c: Likewise.
41802 * elf/tst-tlsmod11.c: Likewise.
41803 * elf/tst-tlsmod12.c: Likewise.
41804 * elf/tst-tlsmod13.c: Likewise.
41805 * elf/tst-tlsmod13a.c: Likewise.
41806 * elf/tst-tlsmod14a.c: Likewise.
41807 * elf/tst-tlsmod15b.c: Likewise.
41808 * elf/tst-tlsmod16a.c: Likewise.
41809 * elf/tst-tlsmod16b.c: Likewise.
41810 * elf/tst-tlsmod7.c: Likewise.
41811 * elf/tst-tlsmod8.c: Likewise.
41812 * elf/tst-tlsmod9.c: Likewise.
41813 * gmon/gmon.c: Likewise.
41814 * grp/fgetgrent_r.c: Likewise.
41815 * grp/putgrent.c: Likewise.
41816 * hurd/fopenport.c: Likewise.
41817 * include/libc-symbols.h: Likewise.
41818 * include/tls.h: Likewise.
41819 * intl/gettextP.h: Likewise.
41820 * intl/loadinfo.h: Likewise.
41821 * locale/global-locale.c: Likewise.
41822 * locale/localeinfo.h: Likewise.
41823 * mach/devstream.c: Likewise.
41824 * malloc/arena.c: Likewise.
41825 * malloc/set-freeres.c: Likewise.
41826 * misc/err.c: Likewise.
41827 * misc/getttyent.c: Likewise.
41828 * misc/mntent_r.c: Likewise.
41829 * posix/getopt.c: Likewise.
41830 * posix/wordexp.c: Likewise.
41831 * pwd/fgetpwent_r.c: Likewise.
41832 * resolv/Versions: Likewise.
41833 * resolv/res_hconf.c: Likewise.
41834 * shadow/fgetspent_r.c: Likewise.
41835 * shadow/putspent.c: Likewise.
41836 * stdio-common/printf_fphex.c: Likewise.
41837 * stdio-common/tmpfile.c: Likewise.
41838 * stdlib/abort.c: Likewise.
41839 * stdlib/fmtmsg.c: Likewise.
41840 * sunrpc/auth_unix.c: Likewise.
41841 * sunrpc/clnt_perr.c: Likewise.
41842 * sunrpc/clnt_tcp.c: Likewise.
41843 * sunrpc/clnt_udp.c: Likewise.
41844 * sunrpc/clnt_unix.c: Likewise.
41845 * sunrpc/openchild.c: Likewise.
41846 * sunrpc/svc_simple.c: Likewise.
41847 * sunrpc/svc_tcp.c: Likewise.
41848 * sunrpc/svc_udp.c: Likewise.
41849 * sunrpc/svc_unix.c: Likewise.
41850 * sunrpc/xdr.c: Likewise.
41851 * sunrpc/xdr_array.c: Likewise.
41852 * sunrpc/xdr_rec.c: Likewise.
41853 * sunrpc/xdr_ref.c: Likewise.
41854 * sunrpc/xdr_stdio.c: Likewise.
41855
1248c1c4
PB
418562011-09-09 Ulrich Drepper <drepper@gmail.com>
41857
41858 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41859
418602011-07-03 Andreas Jaeger <aj@suse.de>
41861
41862 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
41863 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
41864 regenerate with gen-libm-tests.pl.
41865
418662010-05-12 Petr Baudis <pasky@suse.cz>
41867
41868 [BZ #11589]
41869 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
41870 around j0() zero points by switching to j1().
41871 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41872 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41873 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41874 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41875
f22e1074
UD
418762011-09-09 Ulrich Drepper <drepper@gmail.com>
41877
f19009c1
UD
41878 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
41879 instead of 0.
41880 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 41881 instead of 0.
f19009c1
UD
41882 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41883 Patch in part by Pavel Roskin <proski@gnu.org>.
41884
3f8cc204
UD
41885 [BZ #13138]
41886 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
41887 realloc.
41888 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
41889 Free memory block if necessary.
41890
f22e1074
UD
41891 [BZ #12847]
41892 * libio/genops.c (INTDEF): For string streams the _lock pointer can
41893 be NULL. Don't lock in this case.
41894
0a2349f9
RM
418952011-09-09 Roland McGrath <roland@hack.frob.com>
41896
41897 * elf/elf.h (ELFOSABI_GNU): New macro.
41898 (ELFOSABI_LINUX): Define to that.
41899
f3cdd467
DZ
419002011-07-29 Denis Zaitceff <zaitceff@gmail.com>
41901
41902 * string/strncat.c (strncat): Undef the symbol in case it has been
41903 defined in bits/string.h.
41904
74718d13
UD
419052011-09-09 Ulrich Drepper <drepper@gmail.com>
41906
633e9e0f
UD
41907 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
41908
0a2349f9 41909 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
41910 link map.
41911
f9924780
AJ
419122011-08-17 Andreas Jaeger <aj@suse.de>
41913
41914 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
41915
7f5517aa
PP
419162011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
41917 Ian Lance Taylor <iant@google.com>
41918
41919 * math/libm-test.inc (lround_test): New testcase.
41920 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
41921
762011fe
UD
419222011-09-08 Ulrich Drepper <drepper@gmail.com>
41923
92963737
UD
41924 * Makefile: Remove support for automatic cvs check-ins.
41925 * Makerules: Likewise.
41926 * config.make.in: Likewise.
41927 * configure.in: Likewise.
41928 * intl/Makefile: Likewise.
41929 * locale/Makefile: Likewise.
41930 * po/Makefile: Likewise.
41931 * posix/Makefile: Likewise.
41932 * sysdeps/gnu/Makefile: Likewise.
41933 * sysdeps/mach/hurd/Makefile: Likewise.
41934 * sysdeps/sparc/sparc32/Makefile: Likewise.
41935
b0727fd8
JS
41936 [BZ #13118]
41937 * posix/Makefile (bug-regex32-ENV): Define.
41938 Patch by John Stanley <jpsinthemix@verizon.net>.
41939
a0f33f99
UD
41940 * misc/Makefile (headers): Add bits/select2.h.
41941 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
41942 * misc/bits/select2.h: New file.
41943 * include/bits/select2.h: New file.
41944 * debug/Makefile (routines): Add fdelt_chk.
41945 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
41946 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
41947 FD_ISSET.
41948 * debug/fdelt_chk.c: New file.
41949
762011fe
UD
41950 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
41951 * wcsmbs/test-wmemcmp.c: Likewise.
41952 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 41953 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
41954
419552011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41956
41957 * string/Makefile (strop-tests): Add memcmp.
41958 * string/test-wmemcmp.c: New file.
41959 * string/test-memcmp.c: Add wmemcmp support.
41960
7f513ec8
RM
419612011-09-08 Roland McGrath <roland@hack.frob.com>
41962
0442afb4
RM
41963 [BZ #13153]
41964 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
41965 2011-07-19 change.
41966
7f513ec8
RM
41967 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
41968 garbage value in a __mach_port_mod_refs call in the cases of the
41969 task-self and thread-self ports.
41970
a12b2239
ST
419712011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
41972
41973 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
41974
610f9ab4
AS
419752011-09-08 Andreas Schwab <schwab@redhat.com>
41976
7f513ec8 41977 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 41978
48882a1a
LD
419792011-09-07 Ulrich Drepper <drepper@gmail.com>
41980
b49865be
UD
41981 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
41982
fdc86bc9
UD
41983 * elf/dl-libc.c (dlerror_run): Pass back error code from
41984 dl_catch_error.
41985
c966526a
UD
41986 [BZ #13123]
41987 * elf/dl-load.c (lose): Free l_origin if it is valid.
41988
48882a1a
LD
41989 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
41990 names.
41991 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41992 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41993 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41994 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41995 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41996 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
41997
77a2a8b4
AZ
419982011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41999
42000 * sysdeps/powerpc/fpu/e_hypot.c: New file.
42001 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42002 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42003 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42004 * sysdeps/powerpc/fpu/k_cosf.c: New file.
42005 * sysdeps/powerpc/fpu/k_sinf.c: New file.
42006 * sysdeps/powerpc/fpu/s_cosf.c: New file.
42007 * sysdeps/powerpc/fpu/s_sinf.c: New file.
42008 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42009 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42010
24f579d8
AM
420112011-08-15 Alan Modra <amodra@gmail.com>
42012
42013 [BZ #13092]
42014 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42015 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42016 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
42017 ppc_mcount to static-only-routines.
42018 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42019 __mcount_internal.
42020 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42021 __mcount_internal with usual JUMPTARGET. Remove useless nop.
42022
3d4837df
UD
420232011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
42024
42025 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42026 for finite and infinity parameters.
42027
22700377
WS
420282011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42029
42030 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42031 and add nop instructions for throughput optimization.
42032 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42033
5025581e
WS
420342011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
42035
42036 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42037 aligned copy for power7 with vector-scalar instructions.
42038 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42039
08a300c9
L
420402011-07-24 H.J. Lu <hongjiu.lu@intel.com>
42041
42042 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42043 AVX check.
42044
59178ef9
AS
420452011-09-07 Andreas Schwab <schwab@redhat.com>
42046
42047 [BZ #13144]
42048 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42049 last change.
42050
e38ba7ab
UD
420512011-09-07 Ulrich Drepper <drepper@gmail.com>
42052
42053 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42054 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42055 syscall wrapper around clock_gettime in __vdso_clock_gettime.
42056 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42057 clock_gettime.
42058
d53a73ac
UD
420592011-09-06 Ulrich Drepper <drepper@gmail.com>
42060
fc8bffcc
UD
42061 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42062 Forgot to demangle the pointer.
42063
ceaa0c5d
UD
42064 * sysdeps/i386/sysdep.h: Define atom_text_section.
42065 * sysdeps/x86_64/sysdep.h: Likewise.
42066 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42067 section with atom_text_section.
42068 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42069 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42070 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42071 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42072 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42073
a77d3c17
UD
42074 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42075 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42076 already be defined. Change to take two parameters and don't assign
42077 result to variable. Adjust all users.
42078 Define INTERNAL_GETTIME if not already defined.
42079 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42080 call.
42081 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42082 HAVE_CLOCK_GETTIME_VSYSCALL.
42083 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42084
d53a73ac
UD
42085 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42086 gettimeofday vsyscall, just use time.
42087
a8f84144
AS
420882011-09-06 Andreas Schwab <schwab@redhat.com>
42089
42090 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42091 <errno.h>.
42092
ef606249
UD
420932011-09-06 Ulrich Drepper <drepper@gmail.com>
42094
42095 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42096 syscall on x86-64.
42097 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42098 syscall.
42099 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42100 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42101 syscall if possible.
42102
6585cb60
UD
421032011-09-05 Ulrich Drepper <drepper@gmail.com>
42104
42105 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42106 e_ident. Don't pass to find_mapsXX.
42107 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42108
a5f524e4
LD
421092011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42110
42111 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42112 strchr-sse2-no-bsf strrchr-sse2-no-bsf
42113 * sysdeps/x86_64/multiarch/strchr.S: Update.
42114 Check bit_slow_BSF bit.
42115 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42116 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42117 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42118
554881ef
UD
421192011-09-05 Ulrich Drepper <drepper@gmail.com>
42120
d96de963
UD
42121 [BZ #13134]
42122 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42123 before glibc 2.15.
42124 (tryshell): Define.
42125 (__spawni): Change last parameter to be flag. Test
42126 SPAWN_XFLAGS_USE_PATH flag to use path or not.
42127 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42128 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42129 * posix/spawni.c: Likewise.
42130 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42131 * posix/spawnp.c: Likewise. Change normal version to use
42132 SPAWN_XFLAGS_USE_PATH.
42133 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42134 SPAWN_XFLAGS_TRY_SHELL.
42135
d48e5868
UD
42136 [BZ #13150]
42137 * posix/glob.h: Remove gcc 1.x support.
42138
554881ef
UD
42139 [BZ #13068]
42140 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42141
693fb948
LD
421422011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42143
42144 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42145 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42146 strrchr-sse2-bsf
42147 * sysdeps/i386/i686/multiarch/strchr.S: New file.
42148 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42149 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42150 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42151 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42152 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42153
1b48c537
UD
421542011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42155
49d42c37
UD
42156 * sysdeps/x86_64/wcscmp.S: New file.
42157
1b48c537
UD
42158 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42159 wcscmp-c wcscmp-sse2
42160 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42161 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42162 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42163 * wcsmbs/wcscmp.c: Allow renaming.
42164
15c95c5d
DM
421652011-09-05 David S. Miller <davem@davemloft.net>
42166
42167 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42168 stack slot, rather than the struct return pointer slot.
42169 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42170 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42172 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42173
2f0ad8f3
UD
421742011-09-05 Ulrich Drepper <drepper@gmail.com>
42175
d88ae418
UD
42176 * po/ja.po: Update from translation team.
42177
2f0ad8f3
UD
42178 [BZ #13144]
42179 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42180 kernel in 64-bit binaries.
42181
5f4318d1
DM
421822011-09-01 David S. Miller <davem@davemloft.net>
42183
42184 * elf/elf.h (HWCAP_SPARC_*): Move to..
42185 * sysdeps/sparc/sysdep.h: this new file and add new values.
42186 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42187 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42188 _DL_HWCAP_COUNT to 24.
42189 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42190 entries.
42191 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42192 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42193 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42194 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42195 instead of magic constants.
42196 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42197
3ba57516
DM
421982011-08-31 David S. Miller <davem@davemloft.net>
42199
42200 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42201 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42202 Reimplement to do errno handling inline.
42203 (SYSCALL_ERROR_HANDLER): New macro.
42204 (__SYSCALL_STRING): Do not do errno handling in asm.
42205 (__CLONE_SYSCALL_STRING): Delete.
42206 (__INTERNAL_SYSCALL_STRING): Delete.
42207 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42208 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42209 (PSEUDO): Reimplement to do errno handling inline.
42210 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42211 (SYSCALL_ERROR_HANDLER): New macro.
42212 (__SYSCALL_STRING): Do not do errno handling in asm.
42213 (__CLONE_SYSCALL_STRING): Delete.
42214 (__INTERNAL_SYSCALL_STRING): Delete.
42215 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42216 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42217 i386.
42218 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42219 (inline_syscall*): Add 'err' argument.
42220 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42221 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42222 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42223 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42224
42225 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42226 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42227
2bc17433
AS
422282011-08-30 Andreas Schwab <schwab@redhat.com>
42229
42230 * elf/rtld.c (dl_main): Relocate objects in dependency order.
42231
fbeb5f4d
JO
422322011-08-29 Jiri Olsa <jolsa@redhat.com>
42233
42234 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42235 directive.
42236
ad69cc26
DM
422372011-08-24 David S. Miller <davem@davemloft.net>
42238
42239 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42240
39dd69df
AS
422412011-08-24 Andreas Schwab <schwab@redhat.com>
42242
42243 * elf/Makefile: Add rules to build and run unload8 test.
42244 * elf/unload8.c: New file.
42245 * elf/unload8mod1.c: New file.
42246 * elf/unload8mod1x.c: New file.
42247 * elf/unload8mod2.c: New file.
42248 * elf/unload8mod3.c: New file.
42249
42250 * elf/dl-close.c (_dl_close_worker): Reset private search list if
42251 it wasn't used.
42252
2c0b250a
DM
422532011-08-23 David S. Miller <davem@davemloft.net>
42254
42255 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42256 subtract stack bias.
42257 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42258 %sp not %fp in calculations.
42259 (_JMPBUF_UNWINDS_ADJ): Likewise.
42260
22044b48
DM
42261 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42262 (aio_suspend): Call it to force an exception region around the
42263 AIO_MISC_WAIT() invocation.
42264
2cae4995
AS
422652011-08-23 Andreas Schwab <schwab@redhat.com>
42266
42267 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42268 backslash.
42269
873a772e
AJ
422702011-07-04 Aurelien Jarno <aurelien@aurel32.net>
42271
42272 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42273 protection macro.
42274 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42275 and <dl-machine.h>.
42276 (Elf64_FuncDesc): Remove.
42277
25ad0df1
DM
422782011-08-22 David S. Miller <davem@davemloft.net>
42279
42280 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42281 sigaltstack check, add missing cfi directives.
42282 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42283 missing cfi directives, and sigaltstack handling.
42284
e888bcbe
AS
422852011-08-16 Andreas Schwab <schwab@redhat.com>
42286
42287 [BZ #11724]
42288 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42289 object is seen twice.
42290 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42291
42292 * elf/Makefile (distribute): Add tst-initorder2.c.
42293 (tests): Add tst-initorder2.
42294 (modules-names): Add tst-initorder2a tst-initorder2b
42295 tst-initorder2c tst-initorder2d. Add rules to build them.
42296 ($(objpfx)tst-initorder2.out): New rule.
42297 * elf/tst-initorder2.c: New file.
42298 * elf/tst-initorder2.exp: New file.
42299
87162f46
AS
423002011-08-22 Andreas Schwab <schwab@redhat.com>
42301
70538b7f
AS
42302 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42303
f55ffe58
AS
42304 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42305 dependencies back to end of function.
42306
87162f46
AS
42307 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42308 $(elfobjdir)/ld.so.
42309
91b392a4
UD
423102011-08-21 Ulrich Drepper <drepper@gmail.com>
42311
42312 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42313 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42314 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42315 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42316 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42317 of __vdso_gettimeofday.
42318 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42319 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
42320 attribute_hidden.
42321 (_libc_vdso_platform_setup): Remove initialization of
42322 __vdso_gettimeofday and __vdso_time.
42323
5c43483f
UD
423242011-08-20 Ulrich Drepper <drepper@gmail.com>
42325
775a77e7
UD
42326 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42327 and fgetc_unlocked.
42328 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42329 getc_unlocked.
89f447ed 42330
49c74ba9
UD
42331 * elf/dl-open.c (add_to_global): Report additions to the global scope
42332 for LD_DEBUG=scopes.
42333 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 42334 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 42335
5c43483f
UD
42336 [BZ #13114]
42337 * stdio-common/Makefile (tests): Add bug24.
42338 * stdio-common/bug24.c: New file.
42339
a101b025
AJ
423402011-08-19 Andreas Jaeger <aj@suse.de>
42341
42342 [BZ #13114]
42343 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42344 non-existant file when using close-on-exec mode.
42345
c88f1766
UD
423462011-08-20 Ulrich Drepper <drepper@gmail.com>
42347
0276a718
UD
42348 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42349 the very first instruction.
42350
c88f1766
UD
42351 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42352 the CFI state in the end.
42353 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42354 inclusion of dl-trampoline.h.
42355 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42356
51ccffa0
AS
423572011-08-19 Andreas Schwab <schwab@redhat.com>
42358
94d7165f
AS
42359 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42360 expectations for long double.
42361
51ccffa0
AS
42362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42363 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42364
fd708658 423652011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
42366
42367 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42368 artificual limit depends upon the system page size.
42369
44f0a71e
UD
423702011-08-17 Ulrich Drepper <drepper@gmail.com>
42371
42372 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42373 * resolv/Makefile: Define CFLAGS-libresolv.
42374
8de79a24
AS
423752011-08-17 Andreas Schwab <schwab@redhat.com>
42376
42377 * nss/makedb.c (compute_tables): Make variables used in nested
42378 function static.
42379
27724598
UD
423802011-08-17 Ulrich Drepper <drepper@gmail.com>
42381
c5305d88
UD
42382 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42383 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42384 if buffer was too small.
42385
27724598
UD
42386 * elf/pldd.c (main): Attach to all threads in the process.
42387 Rewrite /proc handling to use *at functions.
42388
076fe015
UD
423892011-08-16 Ulrich Drepper <drepper@gmail.com>
42390
174baab3
UD
42391 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42392 specifies first scope to show.
42393 (dl_open_worker): Update callers. Move printing scope of new
42394 object to before the relocation.
44f0a71e 42395 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
42396 * sysdeps/generic/ldsodefs.h: Update declaration.
42397
076fe015
UD
42398 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42399 string for the scope number.
42400
a60df2c3
UD
424012011-08-14 Ulrich Drepper <drepper@gmail.com>
42402
42403 * nscd/servicescache.c (cache_addserv): Make sure written is always
42404 initialized.
42405
5e4287d1
RM
424062011-08-14 Roland McGrath <roland@hack.frob.com>
42407
85ae0589
RM
42408 * sysdeps/i386/i486/bits/atomic.h
42409 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42410 statement expression, so as to suppress "set but not used" warning.
42411 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42412
69f63097
RM
42413 * string/strncat.c (STRNCAT): Use prototype definition.
42414
675456ef
RM
42415 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42416 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42417 -Iprograms here.
42418 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42419 (localedef-modules): Add localedef.
42420 (locale-modules): Add locale.
42421
5e4287d1
RM
42422 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42423 * elf/rtld.c (dl_main): Invert order of assignment in last change,
42424 to avoid a warning.
42425
9c96ff23
DM
424262011-08-14 David S. Miller <davem@davemloft.net>
42427
42428 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42429 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42430
f9ddf089
UD
424312011-08-13 Ulrich Drepper <drepper@gmail.com>
42432
44f0a71e 42433 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
42434 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42435 * elf/rtld.c (dl_main): Set l_name of vDSO.
42436 Call _dl_show_scope when DL_DEBUG_SCOPES.
42437 (process_dl_debug): Recognize scopes flag and also set it for all.
42438 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42439 Declare _dl_show_scope.
42440
1dc27704
UD
42441 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42442 (do_dlopen): Pass caller_dlopen to dl_open.
42443 (__libc_dlopen_mode): Initialize caller_dlopen.
42444
f9ddf089
UD
42445 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
42446 of libc. Make tolower call locale-independent. Optimize a bit by
42447 using isdigit instead of isalnum.
42448 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
42449
9ac533d3
UD
424502011-08-12 Ulrich Drepper <drepper@gmail.com>
42451
42452 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
42453 was a dependency or dynamically loaded.
42454
89edf2e9
UD
424552011-08-11 Ulrich Drepper <drepper@gmail.com>
42456
8e999d29
UD
42457 * intl/l10nflist.c: Allow architecture-specific pop function.
42458 * sysdeps/x86_64/l10nflist.c: New file.
42459
89edf2e9
UD
42460 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
42461 classification.
42462
14d96785
AS
424632011-08-10 Andreas Schwab <schwab@redhat.com>
42464
42465 * include/dirent.h: Add libc_hidden_proto for scandirat and
42466 scandirat64. Don't declare __scandirat64.
42467 * dirent/scandirat.c: Add libc_hidden_def.
42468 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
42469 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
42470
6761ac04
DM
424712011-08-10 David S. Miller <davem@davemloft.net>
42472
42473 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
42474 enum.
42475 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42476 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42477 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42478
c55fbd1e
UD
424792011-08-09 Ulrich Drepper <drepper@gmail.com>
42480
42481 * Versions.def [libc]: Add GLIBC_2.15.
42482 * dirent/Makefile (routines): Add scandirat and scandirat64.
42483 * dirent/Versions [libc]: Export scandirat and scandirat64 for
42484 GLIBC_2.15.
42485 * dirent/dirent.h: Declare scandirat and scandirat64.
42486 * dirent/scandirat.c: New file.
42487 * dirent/scandirat64.c: New file.
42488 * sysdeps/wordsize-64/scandirat.c: New file.
42489 * sysdeps/wordsize-64/scandirat64.c: New file.
42490 * dirent/opendir.c: Define opendirat.
42491 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
42492 using scandirat.
42493 * dirent/scandir64.c: Adjust for scandir.c change.
42494 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
42495 __scandirat64, and __scandir_cancel_handler.
42496 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
42497 additional parameter and use openat instead of open (outside of ld.so).
42498 Add new __opendir as wrapper around __opendirat.
42499 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
42500 here without requiring old scandirat implementation.
42501
879165f2
UD
425022011-08-08 Ulrich Drepper <drepper@gmail.com>
42503
42504 * dirent/scandir.c (cancel_handler): Renamed to
42505 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
42506 defined. Adjust users.
42507 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
42508 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
42509
cb7e923b
UD
425102011-08-04 Ulrich Drepper <drepper@gmail.com>
42511
16292edd
UD
42512 * string/test-string.h (IMPL): Use __STRING to expand name and then
42513 stringify it.
42514
cb7e923b
UD
42515 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
42516 of cleanups.
42517
cff82933
LD
425182011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42519
42520 * string/Makefile: Update.
42521 (strop-tests): Append strncat.
42522 * string/test-wcscmp.c: New file.
42523 New comprehensive test for wcscmp.
42524 * string/test-strcmp.c: Update.
42525 (WIDE): New define.
42526
9be9bfcc
AS
425272011-07-22 Andreas Schwab <schwab@redhat.com>
42528
42529 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
42530 line.
42531
2e96f1c7
AS
425322011-07-26 Andreas Schwab <schwab@redhat.com>
42533
42534 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42535 encoding to ACE if AI_IDN.
42536
85188888
JJ
425372011-08-01 Jakub Jelinek <jakub@redhat.com>
42538
42539 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
42540 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
42541
5fa16e9b
LD
425422011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42543
42544 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
42545 Fix overflow bug in strncat.
42546 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42547
42548 * string/test-strncat.c: Update.
42549 Add new tests for checking overflow bugs.
42550
425512011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42552
42553 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42554 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
42555 * sysdeps/i386/i686/multiarch/strcat.S: New file.
42556 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
42557 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
42558 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
42559 * sysdeps/i386/i686/multiarch/strncat.S: New file.
42560 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
42561 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
42562
42563 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
42564 (USE_AS_STRCAT): Define.
42565 Add strcat and strncat support.
42566 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42567
8c1a459f
AS
425682011-07-25 Andreas Schwab <schwab@redhat.com>
42569
42570 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
42571 __n bigger than INT_MAX+1.
42572 (__strncmp_g): Likewise.
42573
bba33c28
UD
425742011-07-23 Ulrich Drepper <drepper@gmail.com>
42575
798be72d
UD
42576 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
42577 * libio/stido.h: Likewise.
42578
8accd4dc
UD
42579 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
42580 (AF_NFC): Define.
42581 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
42582 (AF_NFC): Define.
42583
cbff0d96
UD
42584 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
42585 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42586 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42587 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
42588 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42589
9191c04a
UD
42590 [BZ #13021]
42591 * scripts/test-installation.pl: Don't expect libnss_test1 to be
42592 installed.
42593
bba33c28
UD
42594 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
42595 typo.
42596 (_dl_x86_64_save_sse): Likewise.
42597
90f139dd
UD
425982011-07-22 Ulrich Drepper <drepper@gmail.com>
42599
1aae088a
UD
42600 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
42601 OSXSAVE.
42602 (_dl_x86_64_save_sse): Likewise.
42603
8e2045f5
UD
42604 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
42605
90f139dd
UD
42606 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
42607
1d002f25
AS
426082011-07-21 Andreas Schwab <schwab@redhat.com>
42609
42610 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
42611 change.
42612 (_dl_x86_64_save_sse): Use correct AVX check.
42613
21137f89
UD
426142011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42615
42616 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
42617 bug in strncpy/strncat.
42618 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42619
a65c0b7a
UD
426202011-07-21 Ulrich Drepper <drepper@gmail.com>
42621
42622 * string/tester.c (test_strcat): Add tests for different alignments
42623 of source and destination.
42624 (test_strncat): Likewise.
42625
6986b98a
UD
426262011-07-20 Ulrich Drepper <drepper@gmail.com>
42627
90bb2039
UD
42628 [BZ #12852]
42629 * posix/glob.c (glob): Check passed in values before using them in
42630 expressions to avoid some overflows.
42631 (glob_in_dir): Likewise.
42632
5644ef54
UD
42633 [BZ #13007]
42634 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
42635 check for AVX enablement so that we don't crash with old kernels and
42636 new hardware.
42637 * elf/tst-audit4.c: Add same checks here.
42638 * elf/tst-audit6.c: Likewise.
42639
42640 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 42641
bfc9dc9b
AS
426422011-07-09 Andreas Schwab <schwab@linux-m68k.org>
42643
42644 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
42645
702e64bb
UD
426462011-07-20 Ulrich Drepper <drepper@gmail.com>
42647
42648 * po/cs.po: Update from translation team.
42649 * po/bg.po: Likewise.
42650
295e904f
MP
426512011-07-12 Marek Polacek <mpolacek@redhat.com>
42652
42653 * misc/sys/cdefs.h: Add support for const attribute.
42654 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
42655 to gnu_dev_{major,minor,makedev} functions.
42656
3ff94596
MP
426572011-07-20 Marek Polacek <mpolacek@redhat.com>
42658
42659 * intl/dcigettext.c (get_output_charset): Add missing bracket.
42660
28b59fca
AS
426612011-07-20 Andreas Schwab <schwab@redhat.com>
42662
42663 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
42664 strlen results.
42665
19df733e
AK
426662011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42667
42668 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
42669 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
42670 register in order to avoid conflicts with the soft frame pointer
42671 being held in r11 when necessary.
42672 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
42673 (INTERNAL_VSYSCALL_NCS): Likewise.
42674
c8835729
MP
426752011-07-14 Marek Polacek <mpolacek@redhat.com>
42676
42677 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
42678 * elf/dl-fini.c (_dl_fini): Adjust caller.
42679 * elf/dl-close.c (_dl_close_worker): Likewise.
42680 * sysdeps/generic/ldsodefs.h: Adjust declaration.
42681
b902330c
MP
426822011-07-15 Marek Polacek <mpolacek@redhat.com>
42683
8991e135
MP
42684 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
42685 "aux_cache->nlibs < 0".
42686
b902330c
MP
42687 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
42688 in the reload-count case.
42689
99710781
LD
426902011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42691
42692 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42693 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
42694 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
42695 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
42696 * sysdeps/x86_64/multiarch/strcat.S: New file.
42697 * sysdeps/x86_64/multiarch/strncat.S: New file.
42698 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
42699 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
42700 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
42701 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
42702 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
42703 (USE_AS_STRCAT): Define.
42704 Add strcat and strncat support.
42705 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42706 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42707 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
42708 * string/strncat.c: Update.
42709 (USE_AS_STRNCAT): Define.
42710 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42711 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
42712 and i7.
42713 * sysdeps/x86_64/multiarch/init-arch.h
42714 (bit_Prefer_PMINUB_for_stringop): New.
42715 (index_Prefer_PMINUB_for_stringop): Likewise.
42716 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
42717 bit_Prefer_PMINUB_for_stringop.
42718
7dc6bd90
UD
427192011-07-19 Ulrich Drepper <drepper@gmail.com>
42720
42721 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
42722 buffer64.
42723 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
42724 of casting of buffer.
42725 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
42726 buffer32 and buffer64.
42727 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
42728 writes instead of casting of buffer.
42729 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
42730 buffer32.
42731 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
42732 casting of buffer.
42733
e0e72284
AS
427342011-07-19 Andreas Schwab <schwab@redhat.com>
42735
42736 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
42737
feb1eb0b
UD
427382011-07-19 Ulrich Drepper <drepper@gmail.com>
42739
42740 * nscd/nscd.c (termination_handler): Don't do anything for a database
42741 if it has not yet been initialized.
42742
298711ff
UD
427432011-07-18 Ulrich Drepper <drepper@gmail.com>
42744
42745 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42746
427472011-07-15 Marek Polacek <mpolacek@redhat.com>
42748
42749 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42750
f9d68389
UD
427512011-07-18 Ulrich Drepper <drepper@gmail.com>
42752
42753 * po/nl.po: Update from translation team.
42754 * po/sv.po: Likewise.
42755
db290cf5
RM
427562011-07-16 Roland McGrath <roland@hack.frob.com>
42757
42758 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
42759 now disallowed by GCC.
5c550700 42760
fd5e21c7
RM
42761 * configure.in (use-default-link): Default to yes if a test -shared
42762 link meets our qualifications.
42763 * configure: Regenerated.
42764
5c550700
RM
42765 * config.make.in (output-format): New variable.
42766 * configure.in: Check for ld --print-output-format support.
42767 * configure: Regenerated.
42768 * Makerules ($(common-objpfx)format.lds)
42769 [$(output-format) != unknown]: Just use $(output-format),
42770 instead of the linker-script munging.
42771
9fa2c032
RM
427722011-07-14 Roland McGrath <roland@hack.frob.com>
42773
a6928d51
RM
42774 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
42775 of $(common-objpfx)shlib.lds.
42776 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
42777
661607b3
RM
42778 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
42779 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
42780
9fa2c032
RM
42781 * configure.in (-z relro check): Adjust test code to add a large
42782 writable data section after it.
42783 * configure: Regenerated.
42784
defe9061
RM
427852011-07-11 Roland McGrath <roland@hack.frob.com>
42786
42787 * configure.in (-z relro check): Fix test code to make the variable
42788 truly const.
42789 * configure: Regenerated.
42790
319b9ad4
UD
427912011-07-11 Ulrich Drepper <drepper@gmail.com>
42792
42793 * nscd/nscd.h (struct traced_file): Define.
42794 (struct database_dyn): Remove inotify_descr, reset_res, and filename
42795 elements. Add traced_files.
42796 (inotify_fd): Declare.
42797 (register_traced_file): Declare.
42798 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
42799 (inotify_fd): Export.
42800 (resolv_conf_descr): Remove.
42801 (nscd_init): Move inotify descriptor creation to main.
42802 Don't register files for notification here.
42803 (register_traced_file): New function.
42804 (invalidate_cache): Don't use reset_res to determine whether to call
42805 res_init, go through the list of registered files.
42806 (main_loop_poll): The inotify descriptors are now stored in the
42807 structures for the traced files.
42808 (main_loop_epoll): Likewise
42809 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
42810 to __nss_disable_nscd.
42811 * nscd/cache.c (prune_cache): There is no single inotify descriptor
42812 for a database anymore. Check the records for all the registered
42813 files instead.
42814 * nss/Makefile (libnss_files-routines): Add files-init.
42815 (libnss_db-routines): Add db-init.
42816 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
42817 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
42818 * nss/nss_db/db-init.c: New file.
42819 * nss/nss_files/files-init.c: New file.
42820 * nss/nsswitch.c (nss_load_library): New function. Broken out of
42821 __nss_lookup_function.
42822 (__nss_lookup_function): Call nss_load_library.
42823 (nss_load_all_libraries): New function.
42824 (__nss_disable_nscd): Take parameter with callback function for files
42825 to register. Set is_nscd. Load all the DSOs for the NSS modules
42826 used for the cached services.
42827 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
42828 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
42829 options for features to all the files in nscd.
42830
42831 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
42832
23bee3e8
RM
428332011-07-10 Roland McGrath <roland@hack.frob.com>
42834
42835 * csu/elf-init.c (__libc_csu_init): Comment typo.
42836
46a5b7f0
UD
428372011-07-09 Ulrich Drepper <drepper@gmail.com>
42838
42839 * po/pl.po: Update from translation team.
42840 * po/ja.po: Likewise.
42841 * po/ru.po: Likewise.
42842 * po/ko.po: Likewise.
42843 * po/fr.po: Likewise.
42844
d30cf5bb
RM
428452011-07-09 Roland McGrath <roland@hack.frob.com>
42846
113ddea4
RM
42847 * configure.in (.ctors/.dtors header and trailer check):
42848 Use an empirical test on a built program.
42849 * configure: Regenerated.
42850
574920b4
RM
42851 * configure.in (-z relro check): Use an empirical test on a built DSO.
42852 Detect, but do not require, on ia64.
42853 * configure: Regenerated.
42854
d30cf5bb
RM
42855 * configure.in (READELF): Find it with AC_CHECK_TOOL.
42856 Update tests that use readelf to use $READELF instead.
42857 * configure: Regenerated.
42858
8538fdb3
UD
428592011-07-08 Ulrich Drepper <drepper@gmail.com>
42860
42861 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
42862 if the result is not used.
42863
04d08991
AJ
428642011-07-05 Andreas Jaeger <aj@suse.de>
42865
42866 [BZ#9696]
42867 * stdlib/tst-strtod.c: Add testcase.
42868
de283087
AD
428692011-07-07 Ulrich Drepper <drepper@gmail.com>
42870
4e5f31c8 42871 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 42872 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
42873 The latter has a higher limit. Take additional parameter to pass to
42874 the new function.
42875 (__pathconf): Pass file to __statfs_link_max.
42876 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
42877 __statfs_link_max.
42878 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
42879 __statfs_link_max.
42880
de283087
AD
42881 [BZ #12868]
42882 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
42883 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42884 Handle Lustre.
42885 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
42886 (__statfs_filesize_max): Likewise.
42887 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
42888
c75fa153
AJ
428892011-07-05 Andreas Jaeger <aj@suse.de>
42890
42891 * resolv/res_comp.c (dn_skipname): Remove unused variable.
42892
1a544854
UD
428932011-07-06 Marek Polacek <mpolacek@redhat.com>
42894
42895 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
42896 `status' variable.
42897 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
42898 Likewise.
42899
6f0eec67
UD
429002011-07-04 H.J. Lu <hongjiu.lu@intel.com>
42901
42902 * Makefile (strop-tests): Add strncat.
42903 * string/test-strncat.c: New file.
42904
aae30307
UD
429052011-06-30 Marek Polacek <mpolacek@redhat.com>
42906
42907 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
42908
c0cfb5eb
UD
429092011-06-21 Andreas Jaeger <aj@suse.de>
42910
42911 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
42912 Copy rule from iconvdata/Makefile.
42913
01636b21
UD
429142011-07-06 Ulrich Drepper <drepper@gmail.com>
42915
42916 [BZ #12922]
42917 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
42918 but no long options are defined, just return 'W'.
42919
9895c8bc
UD
429202011-06-22 Marek Polacek <mpolacek@redhat.com>
42921
42922 [BZ #9696]
42923 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
42924
5d4cf042
UD
429252011-07-06 Ulrich Drepper <drepper@gmail.com>
42926
42927 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
42928 netgroups to read.
960e5535 42929 (innetgr): Likewise.
5d4cf042 42930
751eb97e
RM
429312011-07-05 Roland McGrath <roland@hack.frob.com>
42932
42933 * config.make.in (install_root): Default to $(DESTDIR).
42934
f15f1e45
UD
429352011-07-05 Ulrich Drepper <drepper@gmail.com>
42936
42937 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
42938
4e34ac6a
RM
429392011-07-02 Roland McGrath <roland@hack.frob.com>
42940
5e9b6af4
RM
42941 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
42942
84f9ea0f
RM
42943 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
42944 containing directory rather than embedding absolute directory names.
42945
ea5ee9f7
RM
42946 * scripts/check-local-headers.sh: Rewritten using awk.
42947 Match by word, not by line. Print error messages for matches.
42948 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
42949
1b74661a
RM
42950 * Makerules [shlib-lds-flags empty]:
42951 ($(common-objpfx)libc_pic.opts): New target.
42952 ($(common-objpfx)libc_pic.os.clean): New target.
42953 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
42954
42955 * config.make.in (OBJCOPY): New variable.
42956 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
42957 * configure: Regenerated.
42958
f781ef40
RM
42959 * config.make.in (use-default-link): New variable.
42960 * configure.in (use_default_link): Grok --with-default-link to set it.
42961 * configure: Regenerated.
42962 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
42963 (shlib-lds, shlib-lds-flags): Define to empty.
42964
2d4fa81e
RM
42965 * Makerules (shlib-lds): New variable.
42966 (shlib-lds-flags): New variable.
42967 (build-shlib, build-moduile, build-module-asneeded): Use it.
42968 ($(common-objpfx)libc.so): Use $(shlib-lds).
42969 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
42970 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
42971
31fffa6b
RM
42972 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
42973 DT_FLAGS/DT_FLAGS_1 with zero flags.
42974
4e34ac6a
RM
42975 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
42976 linker script munging.
42977
fcfc776b
UD
429782011-07-02 Ulrich Drepper <drepper@gmail.com>
42979
42980 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
42981 as 128-bit value.
42982 * crypt/sha512.c (sha512_process_block): Perform total addition using
42983 128-bit if possible.
42984 (__sha512_finish_ctx): Likewise.
42985 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
42986 as 64-bit value.
42987 * crypt/sha256.c (SWAP64): Define.
42988 (sha256_process_block): Perform total addition using 64-bit if
42989 possible.
42990 (__sha256_finish_ctx): Likewise.
42991
99231d9a
UD
429922011-07-01 Ulrich Drepper <drepper@gmail.com>
42993
42994 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
42995 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42996 * nscd/hstcache.c (cache_addhst): Likewise.
42997 * nscd/grpcache.c (cache_addgr): Likewise.
42998 * nscd/aicache.c (addhstaiX): Likewise
42999 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43000
445b4a53
TK
430012011-07-01 Thorsten Kukuk <kukuk@suse.de>
43002
43003 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43004 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43005 * nscd/hstcache.c (cache_addhst): Likewise.
43006 * nscd/grpcache.c (cache_addgr): Likewise.
43007 * nscd/aicache.c (addhstaiX): Likewise
43008
6d4d8e8e
AS
430092011-07-01 Andreas Schwab <schwab@redhat.com>
43010
43011 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43012 domain only when needed.
43013
89f654c5
AS
430142011-06-30 Andreas Schwab <schwab@redhat.com>
43015
43016 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43017 is always restored.
43018
cf3b23ff
UD
430192011-06-29 Ulrich Drepper <drepper@gmail.com>
43020
43021 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43022 are re-adding the entry.
43023 * nscd/servicescache.c (cache_addserv): Likewise.
43024
751626f9
AJ
430252011-06-30 Aurelien Jarno <aurelien@aurel32.net>
43026
43027 * sysdeps/generic/dl-irel.h: fix protection against multiple
43028 inclusions.
43029 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43030
9113ea1f
UD
430312011-06-28 Ulrich Drepper <drepper@gmail.com>
43032
5c0b8d90
UD
43033 [BZ #12935]
43034 * malloc/memusage.sh: Fix quoting in message.
43035 * debug/xtrace.sh: Likewise.
43036
9113ea1f
UD
43037 * configure.in: Remove support for --experimental-malloc option, make
43038 it the default.
43039 * config.make.in: Likewise.
43040 * malloc/Makefile: Likewise.
43041
a4172181
AS
430422011-06-27 Andreas Schwab <schwab@redhat.com>
43043
43044 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43045 two-byte characters.
43046
78a7eee7
RM
430472011-06-27 Roland McGrath <roland@hack.frob.com>
43048
62bede13
RM
43049 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43050 AC_CACHE_CHECK invocation.
43051 * configure: Regenerated.
43052
78a7eee7
RM
43053 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43054
5ce33a62
UD
430552011-06-27 Ulrich Drepper <drepper@gmail.com>
43056
034807a9
UD
43057 [BZ #12350]
43058 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
43059 bit from old_res_options.
43060
4902da17
UD
43061 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43062
5ce33a62
UD
43063 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43064 value type for setfct.
43065
c2344f56
L
430662011-06-23 H.J. Lu <hongjiu.lu@intel.com>
43067
43068 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43069 __gettimeofday instead of gettimeofday.
43070
68468076
UD
430712011-06-26 Ulrich Drepper <drepper@gmail.com>
43072
43073 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43074
acb0d739
L
430752011-06-24 H.J. Lu <hongjiu.lu@intel.com>
43076
43077 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43078
43079 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43080 info.
43081
8912479f
L
430822011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43083
43084 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43085 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43086 strcpy-sse2-unaligned strncpy-sse2-unaligned
43087 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43088 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43089 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43090 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43091 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43092 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43093 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43094 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43095 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43096 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43097 (STRCPY): Support SSE2 and SSSE3 versions.
43098
d5495a11
UD
430992011-06-24 Ulrich Drepper <drepper@gmail.com>
43100
43101 [BZ #12874]
43102 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43103 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43104 kernels which artificially limit size of requests.
43105
0b1cbaae
L
431062011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43107
43108 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43109 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43110 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43111 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43112 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43113 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43114 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43115 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43116 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43117 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43118 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43119 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43120 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43121 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43122 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43123 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43124 Enable unaligned load optimization for Intel Core i3, i5 and i7
43125 processors.
43126 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43127 Define.
43128 (index_Fast_Unaligned_Load): Define.
43129 (HAS_FAST_UNALIGNED_LOAD): Define.
43130
07f494a0
MP
431312011-06-23 Marek Polacek <mpolacek@redhat.com>
43132
43133 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43134
fa3fc0fe
UD
431352011-06-22 Ulrich Drepper <drepper@gmail.com>
43136
43137 [BZ #12907]
43138 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43139 until it is clear that the information is realy needed.
43140 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43141
e12df166
AS
431422011-06-22 Andreas Schwab <schwab@redhat.com>
43143
43144 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43145
852eb34d
UD
431462011-06-22 Ulrich Drepper <drepper@gmail.com>
43147
84e2a551
UD
43148 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43149 /sys/devices/system/cpu/online if it is usable.
43150
852eb34d
UD
43151 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43152 reading the information from the /proc filesystem to once a second.
43153
6e502e19
UD
431542011-06-21 Andreas Jaeger <aj@suse.de>
43155
43156 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43157 NULL after inclusion of kernel headers.
43158
75d39ff2
UD
431592011-06-21 Ulrich Drepper <drepper@gmail.com>
43160
51f9aa6a
UD
43161 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43162 calls to internal_setent.
43163
c0244a9d
UD
43164 [BZ #12885]
43165 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43166 addresses using gethostbyname4_r ignore IPv4 addresses.
43167
c5e3c2ae
UD
43168 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43169 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
43170
75d39ff2
UD
43171 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43172
42675c6f
DM
431732011-06-20 David S. Miller <davem@davemloft.net>
43174
43175 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43176 inclusions.
43177 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43178
43179 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43180 (elf_irel): Use it.
43181 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43182 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43183 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43184 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43185 * sysdeps/x86_64/dl-irel.h: Likewise.
43186
43187 * elf/dl-runtime.c: Use elf_ifunc_invoke.
43188 * elf/dl-sym.c: Likewise.
43189
57912a71
UD
431902011-06-15 Ulrich Drepper <drepper@gmail.com>
43191
43192 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
43193 need to dereference resplen2.
43194
ee22793d
AS
431952011-06-14 Andreas Schwab <schwab@redhat.com>
43196
43197 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43198
a9e836b0
UD
431992011-06-15 Ulrich Drepper <drepper@gmail.com>
43200
77fb9117
UD
43201 * Makeconfig: Define vardbdir and inst_vardbdir.
43202 * nss/Makefile: Add rules to install db-Makefile.
43203
40c1b22c
UD
43204 * nss/nss_db/db-XXX.c: Cleanup.
43205
9f2da732
UD
43206 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43207 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43208 GLIBC_PRIVATE.
43209 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43210 * nss/makedb.c: Implement -g option to specify that value strings
43211 are generated and should not be added to table iterated over for
43212 get*ent calls.
43213 * nss/nss_db/db-initgroups.c: New file.
43214
82e9a1f7
UD
43215 * nss/getent.c: Add support for initgroups lookups through getgrouplist
43216 interface.
43217
c41af17e
UD
43218 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43219 (internal_getgrouplist): Adjust to name change.
43220 Update use_initgroups_entry if this is not the first call.
43221 * nss/databases.def: Add initgroups entry.
43222
a9e836b0
UD
43223 * nss/makedb.c (compute_tables): Check result of multiple hash table
43224 sizes to minimize maximum chain length.
43225
2666d441
UD
432262011-06-14 Ulrich Drepper <drepper@gmail.com>
43227
43228 * Versions.def: Add entry for libnss_db.
43229 * shlib-versions: Likewise.
43230 * nss/Makefile: Add rules to build libnss_db.
43231 * nss/Versions: Add libnss_db information. Organize libnss_files
43232 entries better.
43233 * nss/db-Makefile: Add gshadow support. Change rules for the new
43234 makedb progra. Some minor improvements to generate smaller files.
43235 * nss/nss_db/nss_db.h: Move NSS database header data structures to
43236 here from...
43237 * nss/makedb.c: ...here.
43238 Improve database format to be smaller and require less memory at
43239 runtime.
43240 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
43241 db anymore.
43242 * nss/nss_db/db-netgrp.c: Likewise.
43243 * nss/nss_db/db-open.c: Likewise.
43244 * nss/nss_files/flies-XXX.x: Adjust comments.
43245 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43246 * nss/nss_files/files-grp.c: Likewise.
43247 * nss/nss_files/files-hosts.c: Likewise.
43248 * nss/nss_files/files-network.c: Likewise.
43249 * nss/nss_files/files-proto.c: Likewise.
43250 * nss/nss_files/files-pwd.c: Likewise.
43251 * nss/nss_files/files-rpc.c: Likewise.
43252 * nss/nss_files/files-service.c: Likewise.
43253 * nss/nss_files/files-sgrp.c: Likewise.
43254 * nss/nss_files/files-spwd.c: Likewise.
43255 * nss/nss_db/db-alias.c: Removed.
43256 * nss/nss_db/dummy-db.h: Removed.
43257
9ee76b5a
UD
432582011-06-02 Ulrich Drepper <drepper@gmail.com>
43259
43260 * nss/makedb.c: Rewritten to not use database library.
43261 * nss/Makefile: Update to build new makedb program.
43262
c71ca1f8
AJ
432632011-06-14 Andreas Jaeger <aj@suse.de>
43264
43265 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43266 memset declaration.
43267
3154bfb8
UD
432682011-06-10 Andreas Schwab <schwab@redhat.com>
43269
43270 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43271 tmpbuf.
43272
b350afab
RM
432732011-06-10 Roland McGrath <roland@hack.frob.com>
43274
decd4e50
RM
43275 * Makerules (shlib.lds): Fail if the linker script comes out empty.
43276 * elf/Makefile ($(objpfx)ld.so): Likewise.
43277
5615eaf2
RM
43278 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43279 Don't list ld.so twice in dependencies.
43280
43281 * posix/bug-regex31.c: Include <stdlib.h>.
43282
43283 * nscd/hstcache.c (cache_addhst): Remove unused variable.
43284
43285 * nis/nss_compat/compat-spwd.c
43286 (getspent_next_nss_netgr): Remove unused variable.
43287 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43288
43289 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43290 nonmembers" output to use the right array.
43291
43292 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43293
43294 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43295
43296 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43297 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43298 * catgets/gencat.c (read_input_file): Likewise.
43299 * locale/programs/locarchive.c (enlarge_archive): Likewise.
43300
43301 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43302 variable definition inside #if's controlling its use.
43303
43304 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43305
43306 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43307
43308 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43309
43310 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43311 unreachable code.
43312
43313 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43314
b68e08db
RM
43315 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43316 * configure: Regenerated.
43317
b350afab
RM
43318 * Makerules: Revert last change.
43319 * elf/Makefile: Likewise.
43320
28368601
RM
433212011-06-09 Roland McGrath <roland@hack.frob.com>
43322
43323 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43324 * elf/Makefile ($(objpfx)librtld.os): Likewise.
43325 (reloc-link): Likewise.
43326
11988f8f
UD
433272011-06-09 Ulrich Drepper <drepper@gmail.com>
43328
43329 * elf/Makefile: Add rules to build pldd.
43330 * elf/pldd.c: New file.
43331 * elf/pldd-xx.c: New file.
43332
e80fab37
UD
433332011-06-07 Ulrich Drepper <drepper@gmail.com>
43334
43335 * version.h: Update for 2.15 development version.
43336
9b849836
DM
433372011-06-07 David S. Miller <davem@davemloft.net>
43338
43339 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43340 ifuncs.
43341 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43342 elf_machine_lazy_rel): Likewise.
43343 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43344 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43345 elf_machine_lazy_rel): Likewise.
43346 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43347 dl_hwcap via passed in argument.
43348 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43349 Likewise.
43350
5a31b283
AK
433512011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43352
43353 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
43354
069e52f8
RM
433552011-06-06 Roland McGrath <roland@hack.frob.com>
43356
43357 [BZ #12849]
43358 * manual/fdl-1.1.texi: New file, verbatim from:
43359 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43360 * manual/lgpl-2.1.texi: New file, verbatim from:
43361 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43362 * manual/Makefile (licenses): New variable, list those new file names.
43363 (texis): Use it.
43364 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43365
43366 * manual/fdl.texi: File removed.
43367 * manual/lesser.texi: File removed.
43368 * manual/libc.texinfo (Copying, Documentation License):
43369 Use new @include file names, put @appendix directive before @include.
43370
f16846a5
JJ
433712011-06-04 Jakub Jelinek <jakub@redhat.com>
43372
43373 [BZ #12841]
43374 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43375 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43376 (mq_open): Add __NTH.
43377
3d29045b
L
433782011-06-02 H.J. Lu <hongjiu.lu@intel.com>
43379
43380 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43381 Assume Intel Core i3/i5/i7 processor if AVX is available.
43382
8c297311
UD
433832011-05-31 Ulrich Drepper <drepper@gmail.com>
43384
43385 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43386 typo.
43387
c8fc0c91
UD
433882011-05-31 Andreas Schwab <schwab@redhat.com>
43389
43390 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43391 memory. Use alloca_account. Fix memory leak when retrying.
43392
5b27a807
UD
433932011-05-31 Ulrich Drepper <drepper@gmail.com>
43394
356f8bc6
UD
43395 * version.h (RELEASE): Bump for 2.14 release.
43396 * include/features.h (__GLIBC_MINOR__): Bump to 14.
43397
5b27a807
UD
43398 * config.make.in (RANLIB): Remove entry.
43399
01f16ab0
UD
434002011-05-30 Ulrich Drepper <drepper@gmail.com>
43401
41fce8bd
UD
43402 * po/Makefile (po-sed-cmd): Add ksh to extensions.
43403 (libc.pot): Work around missing support for .ksh extension in xgettext.
43404
4769ae77
UD
43405 [BZ #12684]
43406 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43407 if both request failed.
43408 (send_dg): In case of server errors clear resplen or *resplen2.
43409
6b1e7d19
UD
43410 [BZ #12454]
43411 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43412 when there are multiple maps.
43413 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43414 (_dl_fini): Remove test here.
43415
01f16ab0
UD
43416 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43417
b1ebd700
UD
434182011-05-29 Ulrich Drepper <drepper@gmail.com>
43419
7ae22829
UD
43420 [BZ #12350]
43421 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43422 bit from old_res_options.
43423 (gaih_inet): Likewise.
43424
553149f6 43425 [BZ #11099]
18a84741 43426 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
43427 as signed.
43428
652ffab1
UD
43429 * resolv/res_init.c (res_setoptions): Make the code more compact.
43430
16985fd0
UD
43431 [BZ #11558]
43432 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43433 set RES_USEVC.
43434
0464f746
UD
43435 [BZ #11634]
43436 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43437
7d17596c
UD
43438 * malloc/malloc.h: Mark malloc hook variables as deprecated.
43439
cf6bbbd7
UD
43440 [BZ #11781]
43441 * malloc/malloc.h: Declare malloc hook variables as volatile.
43442
13f1ab36
UD
43443 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43444 in last patch.
43445
b1ebd700
UD
43446 [BZ #11799]
43447 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 43448 raise in the comment.
80e2212d
UD
43449 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43450 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43451 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 43452
ce67228d
UD
434532011-05-28 Ulrich Drepper <drepper@gmail.com>
43454
8887a920
UD
43455 [BZ #12811]
43456 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
43457 grow the buffers more if it already has to be sufficient.
43458 (build_wcs_upper_buffer): Likewise.
43459 * posix/regexec.c (check_matching): Likewise.
43460 (clean_state_log_if_needed): Likewise.
43461 (extend_buffers): Don't enlarge buffers beyond size of the input
43462 buffer.
43463 Patches mostly by Emil Wojak <emil@wojak.eu>.
43464 * posix/bug-regex32.c: New file.
43465 * posix/Makefile (tests): Add bug-regex32.
43466
4f031072
UD
43467 * locale/findlocale.c (_nl_find_locale): Return right away if
43468 _nl_explode_name failed.
43469 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
43470
d0478f0c
UD
43471 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
43472
de81b246
UD
43473 * debug/xtrace.sh: Unify messages.
43474 * malloc/memusage.sh: Likewise.
43475
c738465a
UD
43476 [BZ #12813]
43477 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
43478 time symbol from vDSO. Substitute with vsyscall if not available.
43479 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
43480 __vdso_time.
43481
f1f929d7
UD
43482 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
43483 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
43484 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
43485 Add sendmmsg and internal_sendmmsg.
43486 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
43487 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
43488 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
43489
ce67228d
UD
43490 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
43491 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
43492 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
43493
e57420c6
UD
434942011-05-27 Ulrich Drepper <drepper@gmail.com>
43495
a8509ca5
UD
43496 [BZ #12813]
43497 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
43498 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
43499 available.
43500 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
43501 __vdso_getcpu.
43502
e57420c6
UD
43503 [BZ #12814]
43504 * iconvdata/Makefile (tests): Add bug-iconv9.
43505 * iconvdata/bug-iconv9.c: New file.
43506
4d07db15
AS
435072011-05-27 Andreas Schwab <schwab@redhat.com>
43508
43509 [BZ #12814]
43510 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
43511
ea486f69
JJ
435122011-05-25 Jakub Jelinek <jakub@redhat.com>
43513
43514 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43515 (struct user_regs_struct): Change intcs field back to cs.
43516
6f038433
UD
435172011-05-25 Ulrich Drepper <drepper@gmail.com>
43518
43519 * po/ja.po: Update from translation team.
43520
67f86a25
UD
435212011-05-23 Ulrich Drepper <drepper@gmail.com>
43522
43523 [BZ #12795]
43524 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
43525 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
43526
def7fbd6
AS
435272011-05-20 Andreas Schwab <schwab@redhat.com>
43528
43529 * stdlib/longlong.h: Update from GCC.
43530
f50ef8f1
AS
435312011-05-23 Andreas Schwab <schwab@redhat.com>
43532
43533 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
43534 parameter name.
43535 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
43536 Add parameter name.
43537 (__sysconf): Pass it down.
43538
de7ce8f1
UD
435392011-05-22 Ulrich Drepper <drepper@gmail.com>
43540
f2962a71
UD
43541 [BZ #12671]
43542 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
43543 some situations.
43544 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43545 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
43546 add in in __libc_use_alloca calls. Adjust callers.
43547 (glob): Use malloc in some situations.
43548
de7ce8f1
UD
43549 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
43550 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
43551 pltexit.
43552
aec84f53
UD
435532011-05-21 Ulrich Drepper <drepper@gmail.com>
43554
05bb4a68
UD
43555 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
43556 and CLOCK_BOOTTIME_ALARM.
43557
7ea72f99
UD
43558 [BZ #12782]
43559 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
43560 is returned.
43561
7e4afad5
UD
43562 * string/_strerror.c (__strerror_r): Print negative errors as signed
43563 numbers.
43564
8e211fec
UD
43565 [BZ #12777]
43566 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
43567 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
43568 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
43569
f7d82dc9
UD
43570 * configure.in: Fix typo in redirection and correct removal of test
43571 files in two cases.
43572
cc9e536d
UD
43573 [BZ #12788]
43574 * locale/setlocale.c (new_composite_name): Fix test to check for
43575 identical name of all categories.
43576
aec84f53
UD
43577 [BZ #12792]
43578 * libio/filedoalloc.c (local_isatty): New function.
43579 (_IO_file_doallocate): Use local_isatty.
43580 * stdio-common/perror.c (perror): In case a new stream is used
43581 forward the stream error.
43582 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
43583 error flag.
43584
78e64fdc
RT
435852011-05-20 Ulrich Drepper <drepper@gmail.com>
43586
34a9094f
UD
43587 [BZ #11869]
43588 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
43589 alloca.
43590 * include/alloca.h (extend_alloca_account): Define.
43591
78e64fdc
RT
43592 [BZ #11857]
43593 * posix/regex.h: Fix comments with documentation of user-accessible
43594 fields after compilation and describe correct free'ing of pattern
43595 after re_compile_pattern.
43596 Patch by Reuben Thomas <rrt@sc3d.org>.
43597
457bddfc
RA
435982011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
43599
43600 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
43601 and -mno-altivec to prevent the compiler from using Altivec and/or
43602 VSX instructions when the corresponding registers are not available.
43603
a4527b51
AS
436042011-05-19 Andreas Schwab <schwab@redhat.com>
43605
43606 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
43607
ed690b2f
UD
436082011-05-19 Ulrich Drepper <drepper@gmail.com>
43609
43610 * libio/freopen.c (freopen): Use __dup2, not dup2.
43611 * libio/freopen64.c (freopen64): Likewise.
43612
8db73634
L
436132011-05-17 H.J. Lu <hongjiu.lu@intel.com>
43614
43615 [BZ #12775]
43616 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
43617 * math/Makefile (tests): Add test-powl.
43618 (CFLAGS-test-powl.c): Define.
43619 * math/test-powl.c: New file.
43620
0a197a9d
L
436212011-05-16 H.J. Lu <hongjiu.lu@intel.com>
43622
43623 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
43624
ee30c380
UD
436252011-05-17 Ulrich Drepper <drepper@gmail.com>
43626
43627 [BZ #11837]
43628 * iconvdata/gb18030.c: Update to GB18020-2005.
43629
6ce75379
UD
436302011-05-16 Ulrich Drepper <drepper@gmail.com>
43631
a4b89fd8
AR
43632 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
43633 RE_SYNTAX_POSIX_AWK): Update to match recent development.
43634 Patch by Aharon Robbins <arnold@skeeve.com>.
43635
ea389b12
UD
43636 [BZ #11892]
43637 * stdlib/putenv.c (putenv): Don't always create copy of the variable
43638 on the stack.
43639
68a3f91f
UD
43640 [BZ #11895]
43641 * misc/pselect.c (__pselect): Handle timeout value errors hidden
43642 through underflows.
43643
15cc7dd1
UD
43644 [BZ #12766]
43645 * misc/error.c (error_at_line): Ensure file_name and old_file_name
43646 point to strings before performing equality test for error_one_per_line
43647 mode.
43648
f3799213
UD
43649 [BZ #11697]
43650 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
43651
d79a9c94
UD
43652 [BZ #11820]
43653 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43654 (struct user_fpregs_struct): Avoid __uint*_t types.
43655
56e5eb46
UD
43656 [BZ #6420]
43657 * malloc/mtrace.c (tr_where): Add additional parameter to point to
43658 symbol info. Use it instead of calling _dl_addr locally.
43659 (lock_and_info): New function.
43660 (tr_freehook): Call lock_and_info and pass symbol info as additional
43661 parameter to tr_where.
43662 (tr_mallochook): Likewise.
43663 (tr_reallochook): Likewise.
43664 (tr_memalignhook): Likewise.
43665
6ce75379
UD
43666 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
43667 used and couldn't be at all thread-safe.
43668
f8a3b5bf
UD
436692011-05-15 Ulrich Drepper <drepper@gmail.com>
43670
94b7cc37
UD
43671 * libio/freopen.c (freopen): Don't close old file descriptor
43672 before the new one is opened. Instead dup the new file descriptor
43673 to the old one after the new stream is created.
43674 * libio/freopen64.c (freopen64): Likewise.
43675 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
43676 * libio/fileops.c (_IO_new_file_close_it): Handle new
43677 _IO_FLAGS2_NOCLOSE flag.
43678 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
43679 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
43680 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
43681 _IO_FLAGS2_NOCLOSE flag.
43682 * include/unistd.h: Add hidden_proto for dup3.
43683 Define __have_dup3.
43684 * io/dup3.c: Define hidden symbol.
43685 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
43686
bd25564e
UD
43687 [BZ #7101]
43688 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
43689 when an incomplete long option is used.
43690 * posix/tst-getopt_long1.c: New file.
43691 * posix/Makefile (tests): Add tst-getopt_long1.
43692
c84cfef4
UD
43693 [BZ #10138]
43694 * scripts/config.guess: Update from autoconf-2.68.
43695 * scripts/config.sub: Likewise.
43696
3b85df27
UD
43697 [BZ #10157]
43698 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
43699 tests into ...
43700 (has_cpuclock): ...this. New function.
43701 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
43702 macro here based on has_cpuclock code.
43703
15a856b1
UD
43704 [BZ #10149]
43705 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43706 First byte (not low byte) is now always NUL.
43707 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
43708
05f399e6
UD
43709 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43710 Use non-cancelable interfaces.
43711
10a52685 43712 [BZ #9809]
94ecc67d
UD
43713 * locale/iso-639.def: Add entry for Sorani.
43714
f8a3b5bf
UD
43715 [BZ #11901]
43716 * include/stdlib.h: Move include protection to the right place.
43717 Define abort_msg_s. Declare __abort_msg with it.
43718 * stdlib/abort.c (__abort_msg): Adjust type.
43719 * assert/assert.c (__assert_fail_base): New function. Majority
43720 of code from __assert_fail. Allocate memory for __abort_msg with
43721 mmap.
43722 (__assert_fail): Now call __assert_fail_base.
43723 * assert/assert-perr.c: Remove bulk of implementation. Use
43724 __assert_fail_base.
43725 * include/assert.hL Declare __assert_fail_base.
43726 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
43727 mmap.
43728 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
43729
1af4e298
UD
437302011-05-14 Ulrich Drepper <drepper@gmail.com>
43731
f8a3b5bf 43732 [BZ #11952]
d26dfc60
MG
43733 [BZ #12453]
43734 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
43735 until all modules are registered in the DTV.
43736 * elf/Makefile: Add rules to build and run tst-tls19.
43737 * elf/tst-tls19.c: New file.
43738 * elf/tst-tls19mod1.c: New file.
43739 * elf/tst-tls19mod2.c: New file.
43740 * elf/tst-tls19mod3.c: New file.
43741 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
43742
2fc54d6f
UD
43743 [BZ #12083]
43744 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
43745 correctly.
43746
98d76b46
UD
43747 [BZ #12601]
43748 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
43749 two-byte sequence errors.
43750 * iconvdata/Makefile (tests): Add bug-iconv8.
43751 * iconvdata/bug-iconv8.c: New file.
43752
da3c19ef
UD
43753 [BZ #12626]
43754 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
43755 buf2 definition.
43756
ca408c15
UD
43757 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
43758
d6f67f7d
UD
43759 [BZ #12432]
43760 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
43761 (dummy_getcfa): New function.
43762 (init): Get _Unwind_GetCFA address, use dummy if not found.
43763 (backtrace_helper): In recursion check, also check whether CFA changes.
43764 (__backtrace): Completely initialize arg.
43765
1af4e298 43766 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
43767 storing incomplete byte sequence in state object. Avoid testing for
43768 guaranteed too small input if we know there is enough data available.
1af4e298 43769
da62f81b
AS
437702011-05-11 Andreas Schwab <schwab@redhat.com>
43771
43772 * Makeconfig (+link-pie): Indent.
43773 * Rules (binaries-pie): Define if $(have-fpie) and
43774 $(build-shared).
43775 (binaries-shared): Also filter out $(binaries-pie).
43776 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
43777 * nscd/Makefile (others-pie): Add nscd.
43778 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
43779 ($(objpfx)nscd): Remove command override.
43780 * login/Makefile (others-pie): Add pt_chown.
43781 ($(objpfx)pt_chown): Remove command override.
43782 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
43783 remove command overrides.
43784
fcabc0f8
UD
437852011-05-13 Ulrich Drepper <drepper@gmail.com>
43786
20030ae6
UD
43787 * libio/tst_putwc.c: Fix error messages.
43788
fcabc0f8
UD
43789 [BZ #12724]
43790 * libio/fileops.c (_IO_new_file_close_it): Always flush when
43791 currently writing and seek to current position when not.
43792 * libio/Makefile (tests): Add bug-fclose1.
43793 * libio/bug-fclose1.c: New file.
43794
320a5dc0
PB
437952011-05-12 Ulrich Drepper <drepper@gmail.com>
43796
43797 [BZ #12511]
43798 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
43799 don't set DF_1_NODELETE here.
43800 (do_lookup_x): When entering new entry test for copy relocation
43801 and if necessary set DF_1_NODELETE flag.
43802 * elf/tst-unique4.cc: New file.
43803 * elf/tst-unique4.h: New file.
43804 * elf/tst-unique4lib.cc: New file.
43805 * elf/Makefile: Add rules to build and run tst-unique4.
43806 Patch by Piotr Bury <pbury@goahead.com>.
43807
22836f52
UD
438082011-05-11 Ulrich Drepper <drepper@gmail.com>
43809
f574184a
UD
43810 [BZ #12052]
43811 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
43812
e1fb097f
UD
43813 [BZ #12625]
43814 * misc/mntent_r.c (addmntent): Flush the stream after the output
43815
22836f52
UD
43816 [BZ #12393]
43817 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
43818 (is_trusted_path_normalize): Skip initial colon. Append slash
43819 to empty buffer. Duplicate is_trusted_path code but allow
43820 constructed patch to be prefix.
43821 (is_dst): Allow $ORIGIN followed by /.
43822 (_dl_dst_substitute): Correct clearing of check_for_trusted.
43823 Correct testing of result of is_trusted_path_normalize
43824 (decompose_rpath): Fix warning.
43825
7b3b0b2a
UD
438262011-05-10 Ulrich Drepper <drepper@gmail.com>
43827
43828 [BZ #11257]
43829 * grp/initgroups.c (internal_getgrouplist): When we found the service
43830 list through the initgroups entry in nsswitch.conf do not always
43831 continue on a successful lookup. Don't always use the
eac80ce2 43832 __nss_group_database value if it is set.
7b3b0b2a
UD
43833 * nss/nsswitch.conf (initgroups): Change action for successful db
43834 lookup to continue for compatibility.
43835
2a81eaa5
UD
438362011-05-09 Ulrich Drepper <drepper@gmail.com>
43837
be97a69e
UD
43838 [BZ #11532]
43839 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
43840 and CP774 modules.
43841 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
43842 and CP774 modules.
43843 * iconvdata/tst-tables.sh: Likewise.
43844 * iconvdata/cp770.c: New file.
43845 * iconvdata/cp771.c: New file.
43846 * iconvdata/cp772.c: New file.
43847 * iconvdata/cp773.c: New file.
43848 * iconvdata/cp774.c: New file.
43849 * iconvdata/testdata/CP770: New file.
43850 * iconvdata/testdata/CP770..UTF8: New file.
43851 * iconvdata/testdata/CP771: New file.
43852 * iconvdata/testdata/CP771..UTF8: New file.
43853 * iconvdata/testdata/CP772: New file.
43854 * iconvdata/testdata/CP772..UTF8: New file.
43855 * iconvdata/testdata/CP773: New file.
43856 * iconvdata/testdata/CP773..UTF8: New file.
43857 * iconvdata/testdata/CP774: New file.
43858 * iconvdata/testdata/CP774..UTF8: New file.
43859
43860 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
43861 END CHARMAP line.
43862 * iconvdata/gen-8bit-gap.sh: Likewise.
43863 * iconvdata/gen-8bit.sh: Likewise.
43864
c1e9e399
UD
43865 * locale/iso-639.def: Add ary entry.
43866
24c55fb3 43867 [BZ #11258]
96b4b1b0
UD
43868 * locale/C-translit.h.in: Add U20A1 transliteration.
43869
bdc2f971
KB
43870 [BZ #12178]
43871 * locale/iso-639.def: Add wae entry.
43872 Patch by Kevin Bortis <bortis@translate-wae.ch>.
43873
2952b117
UD
43874 [BZ #12545]
43875 * locale/programs/localedef.c (construct_output_path): Use ssize_t
43876 for n.
43877
2a81eaa5
UD
43878 [BZ #12711]
43879 * locale/C-translit.h.in: Add entry for U20B9.
43880 Patch by pravin.d.s@gmail.com.
43881
28377d1b
UD
438822011-05-08 Ulrich Drepper <drepper@gmail.com>
43883
7fb90fb8
UD
43884 [BZ #12713]
43885 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
43886 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
43887 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
43888 in rtld. Use *stat64.
7fb90fb8 43889 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 43890 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 43891 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
43892 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
43893 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
43894 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
43895 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
43896 __fstatat64 macros.
7fb90fb8
UD
43897 * include/dirent.h: Add libc_hidden_proto for rewinddir.
43898 * dirent/rewinddir.c: Add libc_hidden_def.
43899 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 43900 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 43901
28377d1b
UD
43902 * include/dirent.h (__alloc_dir): Add flags parameter.
43903 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
43904 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
43905 __alloc_dir.
43906 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
43907 from fdopendir if O_CLOEXEC is already set.
43908
66bdbaa4
AM
439092011-03-15 Alan Modra <amodra@gmail.com>
43910
43911 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
43912 l_tls_firstbyte_offset non-zero. Save padding offset in
43913 l_tls_firstbyte_offset for later use.
43914 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
43915 freeing static tls block.
43916
95721191
JN
439172011-03-05 Jonathan Nieder <jrnieder@gmail.com>
43918
43919 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
43920 where #ifdef was intended. The intent is to prevent ARG_MAX from
43921 being defined by the kernel headers.
43922
f87dfb1f
UD
439232011-05-07 Ulrich Drepper <drepper@gmail.com>
43924
43925 [BZ #12734]
43926 * resolv/resolv.h: Define RES_NOTLDQUERY.
43927 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
43928 no-tld-query and set RES_NOTLDQUERY.
43929 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
43930 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
43931 modern BIND to search name as TLD unless forbidden.
43932
47c3cd7a
UD
439332011-05-07 Petr Baudis <pasky@suse.cz>
43934 Ulrich Drepper <drepper@gmail.com>
43935
43936 [BZ #12393]
43937 * elf/dl-load.c (fillin_rpath): Move trusted path check...
43938 (is_trusted_path): ...to here.
c1e9ea35 43939 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 43940 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 43941 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 43942
8a35c912
PP
439432011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
43944
43945 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
43946 __BEGIN/__END_DECLS.
43947
acd41f47
UD
439482011-05-06 Ulrich Drepper <drepper@gmail.com>
43949
43950 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
43951 NSS_STATUS_NOTFOUND if no record was found.
43952
597df647
AS
439532011-05-05 Andreas Schwab <schwab@redhat.com>
43954
43955 * sunrpc/Makefile (headers): Add rpc/netdb.h.
43956 (headers-not-in-tirpc): Remove rpc/netdb.h
43957 * resolv/netdb.h: Revert last change.
43958
b9af1301
PP
439592011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43960
43961 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
43962 circular dependency between libgcc.a and libc.a.
43963
4e34d5f5
AS
439642011-05-05 Andreas Schwab <schwab@redhat.com>
43965
43966 * resolv/netdb.h: Don't include <rpc/netdb.h>.
43967 * nis/Makefile: Don't install rpcsvc/*.
43968 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
43969 instead of <rpc/types.h>.
43970 (MAXHOSTNAMELEN): Define.
43971
00ee369c
AS
439722011-05-03 Andreas Schwab <schwab@redhat.com>
43973
43974 * elf/ldconfig.c (add_dir): Don't crash on empty path.
43975
0b592a30
MB
439762011-04-28 Maciej Babinski <mbabinski@google.com>
43977
43978 [BZ #12714]
43979 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
43980 gethostbyname4_r when IPv6 results are possible.
43981
6e04cbbe
UD
439822011-05-02 Ulrich Drepper <drepper@gmail.com>
43983
43984 [BZ #12723]
43985 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
43986 _PC_PIPE_BUF handling.
43987
e4ecafe0
BH
439882011-04-30 Bruno Haible <bruno@clisp.org>
43989
43990 [BZ #12717]
43991 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
43992 * resolv/netdb.h (getnameinfo): Change type of flags parameter
43993 to 'int'.
43994 * inet/getnameinfo.c (getnameinfo): Likewise.
43995
125ee683
UD
439962011-04-29 Ulrich Drepper <drepper@gmail.com>
43997
43998 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
43999 to groups setting in database lookup.
44000 * nss/nsswitch.conf: Add initgroups entry.
44001
b722481a
EB
440022011-04-22 Ulrich Drepper <drepper@gmail.com>
44003
44004 [BZ #12685]
44005 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44006 mode string.
44007 Patch by Eric Blake <eblake@redhat.com>.
44008
4df46dbd
L
440092011-04-20 H.J. Lu <hongjiu.lu@intel.com>
44010
44011 * sunrpc/Makefile (need-export-routines): Add svc_run.
44012 (routines): Remove svc_run.
44013 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44014 * sunrpc/clnt_perr.c (clnt_perrno): Export.
44015 * sunrpc/svc_run.c (svc_run): Likewise.
44016 * sunrpc/svc_udp.c (svcudp_create): Likewise.
44017
e84142d2
UD
440182011-04-21 Ulrich Drepper <drepper@gmail.com>
44019
44020 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44021 problem in reallocation in last patch.
44022
877175d8
UD
440232011-04-20 Ulrich Drepper <drepper@gmail.com>
44024
44025 * sunrpc/Makefile: Move inclusion of Rules.
44026
ab8eed78
UD
440272011-04-19 Ulrich Drepper <drepper@gmail.com>
44028
44029 * nss/nss_files/files-initgroups.c: New file.
44030 * nss/Makefile (libnss_files-routines): Add files-initgroups.
44031 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44032 _nss_files_initgroups_dyn.
44033
e3d8f584
RS
440342011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
44035
44036 * elf/elf.h (R_ARM_IRELATIVE): Define.
44037
af190f45
UD
440382011-04-19 Ulrich Drepper <drepper@gmail.com>
44039
44040 * po/ru.po: Update from translation team.
44041
53cf59ef
UD
440422011-04-17 Ulrich Drepper <drepper@gmail.com>
44043
44044 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44045 dependencies.
44046
4c559bcd
MF
440472011-02-06 Mike Frysinger <vapier@gentoo.org>
44048
44049 [BZ #12653]
44050 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44051 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44052 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44053 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44054 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44055
4420675c
AS
440562011-03-28 Andreas Schwab <schwab@linux-m68k.org>
44057
44058 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44059 differing bytes.
44060 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44061 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44062 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44063
75ea32ab
UD
440642011-04-17 Ulrich Drepper <drepper@gmail.com>
44065
44066 [BZ #12420]
44067 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44068 storing it.
44069 * stdlib/bug-getcontext.c: New file.
44070 * stdlib/Makefile: Add rules to build and run bug-getcontext.
44071
27390476
AK
440722011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44073
44074 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44075 instructions into .machine "z9-109".
44076 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44077 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44078
10442705
AK
440792011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44080
44081 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44082 between environment variables and auxiliary vector.
44083
7b57bfe5
UD
440842011-04-16 Ulrich Drepper <drepper@gmail.com>
44085
44086 * Makefile: Add rules to build linkobj/libc.so.
44087 * include/libc-symbols.h: Define libc_hidden_nolink.
44088 * include/rpc/auth.h: Mark functions which are to be hidden.
44089 * include/rpc/auth_des.h: Likewise.
44090 * include/rpc/auth_unix.h: Likewise.
44091 * include/rpc/clnt.h: Likewise.
44092 * include/rpc/des_crypt.h: Likewise.
44093 * include/rpc/key_prot.h: Likewise.
44094 * include/rpc/pmap_clnt.h: Likewise.
44095 * include/rpc/pmap_prot.h: Likewise.
44096 * include/rpc/pmap_rmt.h: Likewise.
44097 * include/rpc/rpc_msg.h: Likewise.
44098 * include/rpc/svc.h: Likewise.
44099 * include/rpc/svc_auth.h: Likewise.
44100 * include/rpc/xdr.h: Likewise.
44101 * nis/Makefile: Link all DSOs against linkobj/libc.so.
44102 * nss/Makefile: Likewise.
44103 * sunrpc/Makefile: Don't install headers. Build library with normal
44104 entry points. Don't build rpcinfo. Link RPC tests appropriately.
44105 * sunrpc/auth_des.c: Hide exported symbols by default, export some
44106 for the compat linking library. Remove use of INTDEF/INTUSE.
44107 * sunrpc/auth_none.c: Likewise.
44108 * sunrpc/auth_unix.c: Likewise.
44109 * sunrpc/authdes_prot.c: Likewise.
44110 * sunrpc/authuxprot.c: Likewise.
44111 * sunrpc/clnt_gen.c: Likewise.
44112 * sunrpc/clnt_perr.c: Likewise.
44113 * sunrpc/clnt_raw.c: Likewise.
44114 * sunrpc/clnt_simp.c: Likewise.
44115 * sunrpc/clnt_tcp.c: Likewise.
44116 * sunrpc/clnt_udp.c: Likewise.
44117 * sunrpc/clnt_unix.c: Likewise.
44118 * sunrpc/des_crypt.c: Likewise.
44119 * sunrpc/des_soft.c: Likewise.
44120 * sunrpc/get_myaddr.c: Likewise.
44121 * sunrpc/key_call.c: Likewise.
44122 * sunrpc/key_prot.c: Likewise.
44123 * sunrpc/netname.c: Likewise.
44124 * sunrpc/pm_getmaps.c: Likewise.
44125 * sunrpc/pm_getport.c: Likewise.
44126 * sunrpc/pmap_clnt.c: Likewise.
44127 * sunrpc/pmap_prot.c: Likewise.
44128 * sunrpc/pmap_prot2.c: Likewise.
44129 * sunrpc/pmap_rmt.c: Likewise.
44130 * sunrpc/publickey.c: Likewise.
44131 * sunrpc/rpc_cmsg.c: Likewise.
44132 * sunrpc/rpc_common.c: Likewise.
44133 * sunrpc/rpc_dtable.c: Likewise.
44134 * sunrpc/rpc_prot.c: Likewise.
44135 * sunrpc/rpc_thread.c: Likewise.
44136 * sunrpc/rtime.c: Likewise.
44137 * sunrpc/svc.c: Likewise.
44138 * sunrpc/svc_auth.c: Likewise.
44139 * sunrpc/svc_authux.c: Likewise.
44140 * sunrpc/svc_raw.c: Likewise.
44141 * sunrpc/svc_run.c: Likewise.
44142 * sunrpc/svc_simple.c: Likewise.
44143 * sunrpc/svc_tcp.c: Likewise.
44144 * sunrpc/svc_udp.c: Likewise.
44145 * sunrpc/svc_unix.c: Likewise.
44146 * sunrpc/svcauth_des.c: Likewise.
44147 * sunrpc/xcrypt.c: Likewise.
44148 * sunrpc/xdr.c: Likewise.
44149 * sunrpc/xdr_array.c: Likewise.
44150 * sunrpc/xdr_float.c: Likewise.
44151 * sunrpc/xdr_intXX_t.c: Likewise.
44152 * sunrpc/xdr_mem.c: Likewise.
44153 * sunrpc/xdr_rec.c: Likewise.
44154 * sunrpc/xdr_ref.c: Likewise.
44155 * sunrpc/xdr_sizeof.c: Likewise.
44156 * sunrpc/xdr_stdio.c: Likewise.
44157
e6c61494
UD
441582011-04-10 Ulrich Drepper <drepper@gmail.com>
44159
44160 [BZ #12650]
44161 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44162 * sysdeps/ia64/dl-tls.h: Likewise.
44163 * sysdeps/powerpc/dl-tls.h: Likewise.
44164 * sysdeps/s390/dl-tls.h: Likewise.
44165 * sysdeps/sh/dl-tls.h: Likewise.
44166 * sysdeps/sparc/dl-tls.h: Likewise.
44167 * sysdeps/x86_64/dl-tls.h: Likewise.
44168 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44169
34fe483e
AS
441702011-03-14 Andreas Schwab <schwab@redhat.com>
44171
44172 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44173 rpath element also skip the following colon.
44174 (expand_dynamic_string_token): Add is_path parameter and pass
44175 down to DL_DST_REQUIRED and _dl_dst_substitute.
44176 (decompose_rpath): Call expand_dynamic_string_token with
44177 non-zero is_path. Ignore empty rpaths.
44178 (_dl_map_object_from_fd): Call expand_dynamic_string_token
44179 with zero is_path.
44180
f12a32e6
AS
441812011-04-08 Andreas Schwab <schwab@linux-m68k.org>
44182
44183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44184 Make cancelable.
44185
38a7d692
UD
441862011-04-09 Ulrich Drepper <drepper@gmail.com>
44187
44188 [BZ #12655]
44189 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44190 Patch by Filipe David Manana <fdmanana@apache.org>.
44191
e451d22b
AS
441922011-04-07 Andreas Schwab <schwab@redhat.com>
44193
44194 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44195 Maintain aligned stack.
44196 (CHECK_RSP): Remove unused macro.
44197
dedc7c7b
UD
441982011-04-03 Ulrich Drepper <drepper@gmail.com>
44199
44200 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44201 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44202
94521213
UD
442032011-04-02 Ulrich Drepper <drepper@gmail.com>
44204
44205 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44206
8cb700c0 44207 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 44208
0354e355
L
442092011-03-26 H.J. Lu <hongjiu.lu@intel.com>
44210
44211 [BZ #12518]
44212 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44213 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44214 * sysdeps/x86_64/memmove.c: New file.
44215 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44216 (memcpy): Renamed to ...
44217 (__new_memcpy): This.
44218 (memcpy): Provide GLIBC_2_14 memcpy.
44219 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44220 (memcpy): Provide GLIBC_2_2_5 memcpy.
44221
8593482f
UD
442222011-04-01 Ulrich Drepper <drepper@gmail.com>
44223
44224 [BZ #12631]
44225 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44226
81a5726b
AS
442272011-03-30 Andreas Schwab <schwab@redhat.com>
44228
44229 * misc/syncfs.c: New file.
44230 * misc/Makefile (routines): Add syncfs.
44231 * posix/unistd.h: Declare syncfs.
44232 * sysdeps/unix/syscalls.list: Add syncfs.
44233
00e5419f
AS
442342011-04-01 Andreas Schwab <schwab@redhat.com>
44235
44236 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44237 open_by_handle_at.
44238 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44239 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44240 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44241 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44242 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44243 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44244 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44245
748876bf
UD
442462011-04-01 Ulrich Drepper <drepper@gmail.com>
44247
658e451d
UD
44248 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44249 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44250 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44251 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44252 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44253 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44254 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44255
748876bf
UD
44256 * io/Makefile: Compile fallocate.c, fallocate64.c, and
44257 sync_file_range.c with -fexceptions.
44258 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44259 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44260 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44261 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44262 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44263 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44264 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
44265 sync_file_range as cancellation point
44266 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
44267 now a wrapper around __call_sync_file_range with cancellation handling.
44268 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44269 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
44270 function name to __call_sync_file_range.
44271 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44272 Add call_sync_file_range.
748876bf 44273
6e63d5e1
AS
442742011-04-01 Andreas Schwab <schwab@redhat.com>
44275
44276 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 44277 bits/timex.h.
6e63d5e1 44278
46998f74
UD
442792011-04-01 Ulrich Drepper <drepper@gmail.com>
44280
4c1423ed
UD
44281 * iconv/iconv.h: Fix typo in comment.
44282 * io/fcntl.h: Likewise.
44283 * libio/stdio.h: Likewise.
44284 * posix/spawn.h: Likewise.
44285 * posix/unistd.h: Likewise.
44286 * stdlib/stdlib.h: Likewise.
44287 * time/time.h: Likewise.
44288 * wcsmbs/wchar.h: Likewise.
44289
158648c0
UD
44290 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44291 open_by_handle): Add.
44292 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44293 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
44294 Augment a few comments.
44295 * sysdeps/unix/sysv/linux/ia64/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 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44301 open_by_handle.
44302
46998f74
UD
44303 * io/fcntl.h (AT_EMPTY_PATH): Define.
44304
83fe108b
UD
443052011-03-30 Ulrich Drepper <drepper@gmail.com>
44306
44307 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44308 * sysdeps/unix/sysv/linux/bits/time.h: New file.
44309 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44310 to...
44311 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
44312 * Versions.def: Add GLIBC_2.14.
44313 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44314 Export.
83fe108b 44315
bb242059
UD
443162011-03-22 Ulrich Drepper <drepper@gmail.com>
44317
44318 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44319 round counter.
44320 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44321
c97a1282
L
443222011-03-20 H.J. Lu <hongjiu.lu@intel.com>
44323
44324 [BZ #12597]
44325 * string/test-strncmp.c (do_page_test): New function.
44326 (check2): Likewise.
44327 (test_main): Call check2.
44328 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44329
2a115601
UD
443302011-03-20 Ulrich Drepper <drepper@gmail.com>
44331
44332 [BZ #12587]
44333 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44334 Handle cache information in CPU leaf 4.
44335 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44336
8126d904
UD
443372011-03-18 Ulrich Drepper <drepper@gmail.com>
44338
042c49c6 44339 [BZ #12583]
8126d904
UD
44340 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44341 character representation.
44342 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44343
ccfe366e
RA
443442011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
44345
44346 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44347 END(__isnan) to END(__isnanf) to match function entry point/label
44348 EALIGN(__isnanf,...).
44349
c6e13027
JJ
443502011-03-10 Jakub Jelinek <jakub@redhat.com>
44351
44352 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44353
33f85a3f
UD
443542011-03-10 Ulrich Drepper <drepper@gmail.com>
44355
028478fa
UD
44356 [BZ #12510]
44357 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44358 copy from the symbol referenced in the relocation to initialize the
44359 used variable.
44360 Patch by Piotr Bury <pbury@goahead.com>.
44361 * elf/Makefile: Add rules to build and tst-unique3.
44362 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44363 * elf/tst-unique3.cc: New file.
44364 * elf/tst-unique3.h: New file.
44365 * elf/tst-unique3lib.cc: New file.
44366 * elf/tst-unique3lib2.cc: New file.
44367
33f85a3f
UD
44368 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44369
03592fc7
MF
443702011-03-10 Mike Frysinger <vapier@gentoo.org>
44371
44372 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44373 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
44374 to _start.
03592fc7 44375
6a5ee102
UD
443762011-03-06 Ulrich Drepper <drepper@gmail.com>
44377
44378 * elf/dl-load.c (_dl_map_object): If we are looking for the first
44379 to-be-loaded object along a path to loader is ld.so.
44380
7e4ba49c
HJ
443812011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44382 Ulrich Drepper <drepper@gmail.com>
44383
44384 * sysdeps/x86_64/memset.S: After aligning destination, code
44385 branches to different locations depending on the value of
44386 misalignment, when multiarch is enabled. Fix this.
44387
443882011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44389
44390 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44391 Set _x86_64_preferred_memory_instruction for AMD processsors.
44392 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44393 Set bit_Prefer_SSE_for_memop for AMD processors.
44394
13a804de
UD
443952011-03-04 Ulrich Drepper <drepper@gmail.com>
44396
44397 * libio/fmemopen.c (fmemopen): Optimize a bit.
44398
9d25c392
AS
443992011-03-03 Andreas Schwab <schwab@redhat.com>
44400
44401 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44402
a5543c6a
RM
444032011-03-03 Roland McGrath <roland@redhat.com>
44404
44405 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44406
012d35f7
DM
444072011-02-28 Aurelien Jarno <aurelien@aurel32.net>
44408
7e4ba49c 44409 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
44410 __bzero_ultra1 instead of __memset_ultra1.
44411
4bff6e01
AS
444122011-02-23 Andreas Schwab <schwab@redhat.com>
44413 Ulrich Drepper <drepper@gmail.com>
44414
44415 [BZ #12509]
44416 * include/link.h (struct link_map): Add l_orig_initfini.
44417 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44418 returning unsuccessfully.
44419 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44420 close of a file loaded at startup, restore the original l_initfini
44421 list.
44422 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44423 list, store the pointer.
44424 * elf/Makefile ($(objpfx)noload-mem): New rule.
44425 (noload-ENV): Define.
44426 (tests): Add $(objpfx)noload-mem.
44427 * elf/noload.c: Include <memcheck.h>.
44428 (main): Call mtrace. Close all opened handles.
44429
f2092faf
AS
444302011-02-17 Andreas Schwab <schwab@redhat.com>
44431
44432 [BZ #12454]
44433 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44434 dependencies are missing.
44435
6c8a2e88
ST
444362011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
44437
f2092faf 44438 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
44439 Hurd needs munmap.
44440 * sysdeps/mach/hurd/ifreq.h: New file.
44441
84a42118
PB
444422011-01-27 Petr Baudis <pasky@suse.cz>
44443 Ulrich Drepper <drepper@gmail.com>
44444
071f805e 44445 [BZ 12445]#
84a42118
PB
44446 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
44447 to extend_alloca().
44448 * stdio-common/bug23.c: New file.
44449 * stdio-common/Makefile (tests): Add bug23.
44450
e23fe25b
AS
444512010-09-28 Andreas Schwab <schwab@redhat.com>
44452 Ulrich Drepper <drepper@gmail.com>
44453
44454 [BZ #12489]
44455 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
44456 before performing relro protection. At old place add assertion
44457 to make sure nothing changed.
44458
d3f02e10
NS
444592011-02-17 Nathan Sidwell <nathan@codesourcery.com>
44460 Glauber de Oliveira Costa <glommer@gmail.com>
44461
44462 * elf/elf.h: Add new ARM TLS relocs.
44463
d55fd7a5
RA
444642011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
44465
44466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44467 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
44468 cast from r3.
44469 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
44470 'tests' variable.
44471 * sysdeps/wordsize-64/tst-writev.c: New file.
44472
2206397e
RA
444732011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
44474
44475 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
44476 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
44477 insns in _dl_start to prevent a TOC reference before relocs are
44478 resolved.
44479
e9433893
UD
444802011-02-15 Ulrich Drepper <drepper@gmail.com>
44481
44482 [BZ #12469]
44483 * Makeconfig: Remove RANLIB definition.
44484 * Makerules: Don't use RANLIB.
44485 * aclocal.m4: Remove ranlib test.
44486 * configure.in: No need to check for ranlib.
44487 * elf/rtld-Rules: Don't use RANLIB.
44488
f75286c6
ST
444892011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
44490
8e31c82d
ST
44491 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
44492 protection macro.
44493 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
44494 inclusion protection macro.
44495
f75286c6
ST
44496 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
44497 SIGRTMIN and SIGRTMAX and print information in that case only when
44498 SIGRTMIN is defined.
44499
c1d0e639
JJ
445002011-02-11 Jakub Jelinek <jakub@redhat.com>
44501
44502 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
44503 arginfo fn returning -1.
44504
44505 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
44506 and thousands string is zero terminated.
44507
edf9294e
AS
445082011-02-03 Andreas Schwab <schwab@redhat.com>
44509
44510 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
44511 sysdeps/unix/sysv/linux/bits/socket.h.
44512
2b7e92df
ST
445132011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
44514
edf9294e
AS
44515 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
44516 (__CPU_COUNT): Remove old macros.
44517 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
44518 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
44519 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
44520 (__sched_cpualloc, __sched_cpufree): Add declarations.
44521
a4c7ea7b
UD
445222011-02-05 Ulrich Drepper <drepper@gmail.com>
44523
44524 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
44525 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
44526 * nscd/aicache.c (addhstaiX): Return timeout of added value.
44527 (readdhstai): Return value of addhstaiX call.
44528 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
44529 (addgrbyX): Return value returned by cache_addgr.
44530 (readdgrbyname): Return value returned by addgrbyX.
44531 (readdgrbygid): Likewise.
44532 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
44533 (addpwbyX): Return value returned by cache_addpw.
44534 (readdpwbyname): Return value returned by addhstbyX.
44535 (readdpwbyuid): Likewise.
44536 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
44537 (addservbyX): Return value returned by cache_addserv.
44538 (readdservbyname): Return value returned by addservbyX:
44539 (readdservbyport): Likewise.
44540 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
44541 (addhstbyX): Return value returned by cache_addhst.
44542 (readdhstbyname): Return value returned by addhstbyX.
44543 (readdhstbyaddr): Likewise.
44544 (readdhstbynamev6): Likewise.
44545 (readdhstbyaddrv6): Likewise.
44546 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
44547 (readdinitgroups): Return value returned by addinitgroupsX.
44548 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
44549 (prune_cache): Keep track of timeout value of re-added entries.
44550 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
44551 * nscd/nscd.h: Adjust prototypes of readd* functions.
44552
a0bf67cc
RM
445532011-02-04 Roland McGrath <roland@redhat.com>
44554
44555 * nis/nis_server.c (nis_servstate): Use the right name for 0.
44556 (nis_stats): Likewise.
44557 * nis/nis_modify.c (nis_modify): Likewise.
44558 * nis/nis_remove.c (nis_remove): Likewise.
44559 * nis/nis_add.c (nis_add): Likewise.
44560
44561 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
44562
44563 * posix/fnmatch_loop.c: Add some consts.
44564
44565 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
44566
435b95eb
L
445672011-02-02 H.J. Lu <hongjiu.lu@intel.com>
44568
44569 [BZ #12460]
44570 * config.make.in (config-cflags-novzeroupper): Define.
44571 * configure.in: Substitute libc_cv_cc_novzeroupper.
44572 * elf/Makefile (AVX-CFLAGS): Define.
44573 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
44574 (CFLAGS-tst-auditmod4a.c): Likewise.
44575 (CFLAGS-tst-auditmod4b.c): Likewise.
44576 (CFLAGS-tst-auditmod6b.c): Likewise.
44577 (CFLAGS-tst-auditmod6c.c): Likewise.
44578 (CFLAGS-tst-auditmod7b.c): Likewise.
44579 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
44580
8517b15e
UD
445812011-02-02 Ulrich Drepper <drepper@gmail.com>
44582
44583 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
44584 function to the callback.
44585 Patch partly by Jiri Olsa <jolsa@redhat.com>.
44586
10a656fe
AS
445872011-02-02 Andreas Schwab <schwab@redhat.com>
44588
44589 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
44590 of errno.
44591
968dad0a
UD
445922011-01-19 Ulrich Drepper <drepper@gmail.com>
44593
9f94d2ea 44594 [BZ #11724]
968dad0a
UD
44595 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
44596 of constructors.
44597 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
44598 of destructors.
44599 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
44600
44601 [BZ #11724]
44602 * elf/Makefile: Add rules to build and run new test.
44603 * elf/tst-initorder.c: New file.
44604 * elf/tst-initorder.exp: New file.
44605 * elf/tst-initordera1.c: New file.
44606 * elf/tst-initordera2.c: New file.
44607 * elf/tst-initordera3.c: New file.
44608 * elf/tst-initordera4.c: New file.
44609 * elf/tst-initorderb1.c: New file.
44610 * elf/tst-initorderb2.c: New file.
44611 * elf/tst-order-a1.c: New file.
44612 * elf/tst-order-a2.c: New file.
44613 * elf/tst-order-a3.c: New file.
44614 * elf/tst-order-a4.c: New file.
44615 * elf/tst-order-b1.c: New file.
44616 * elf/tst-order-b2.c: New file.
44617 * elf/tst-order-main.c: New file.
44618 New test case by George Gensure <werkt0@gmail.com>.
44619
86e92359
UD
446202010-10-01 Andreas Schwab <schwab@redhat.com>
44621
44622 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44623 decoding ACE if AI_CANONIDN.
44624
5d5732b0
UD
446252011-01-18 Ulrich Drepper <drepper@gmail.com>
44626
44627 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
44628
a77e8cbc
UD
446292011-01-17 Ulrich Drepper <drepper@gmail.com>
44630
6392473f
UD
44631 * version.h (RELEASE): Bump for 2.13 release.
44632 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
44633
620a0529
UD
44634 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
44635
18ba70a5
UD
44636 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
44637 MADV_NOHUGEPAGE.
32465c3e
UD
44638 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
44639 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44640 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44641 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44642 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44643 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44644
c0dafcf1
UD
44645 * posix/getconf.c: Update copyright year.
44646 * catgets/gencat.c: Likewise.
44647 * csu/version.c: Likewise.
44648 * debug/catchsegv.sh: Likewise.
44649 * debug/xtrace.sh: Likewise.
44650 * elf/ldconfig.c: Likewise.
44651 * elf/ldd.bash.in: Likewise.
44652 * elf/sprof.c (print_version): Likewise.
44653 * iconv/iconv_prog.c: Likewise.
44654 * iconv/iconvconfig.c: Likewise.
44655 * locale/programs/locale.c: Likewise.
44656 * locale/programs/localedef.c: Likewise.
44657 * malloc/memusage.sh: Likewise.
44658 * malloc/mtrace.pl: Likewise.
44659 * nscd/nscd.c (print_version): Likewise.
44660 * nss/getent.c: Likewise.
44661
a77e8cbc
UD
44662 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
44663 PF_CAIF, and PF_ALG.
44664 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44665
77e8bddf
AS
446662011-01-16 Andreas Schwab <schwab@linux-m68k.org>
44667
1f20b93a
AS
44668 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
44669 (modules-names): Use them.
44670 (ifunc-test-modules, ifunc-pie-tests): Define.
44671 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
44672 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
44673 (test-extras): Likewise.
44674 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
44675 $(compile-command.c).
44676 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
44677 (all-built-dso): Define.
44678 (check-textrel.out, check-execstack.out): Depend on it.
44679
77e8bddf
AS
44680 * configure.in: Don't override --enable-multi-arch.
44681
bc425b33
UD
446822011-01-15 Ulrich Drepper <drepper@gmail.com>
44683
44684 [BZ #6812]
44685 * nscd/hstcache.c (tryagain): Define.
44686 (cache_addhst): Return tryagain not notfound for temporary errors.
44687 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
44688 failed.
44689
794c3ad3
UD
446902011-01-14 Ulrich Drepper <drepper@gmail.com>
44691
70181fdd
UD
44692 [BZ #10563]
44693 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
44694 to make the syscall.
44695 * sysdeps/unix/sysv/linux/setgroups.c: New file.
44696
794c3ad3
UD
44697 [BZ #12378]
44698 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
44699 and fall back to matching as normal character if the string ends before
44700 the matching ']' is found. This is what POSIX requires.
44701 * posix/testfnm.c: Adjust test result.
44702 * posix/globtest.sh: Adjust test result. Add new test.
44703 * posix/tst-fnmatch.input: Likewise.
44704 * posix/tst-fnmatch2.c: Add new test.
44705
68dc9497
AS
447062010-12-28 Andreas Schwab <schwab@linux-m68k.org>
44707
44708 * elf/Makefile (check-execstack): Revert last change. Depend on
44709 check-execstack.h.
44710 (check-execstack.h): New target.
44711 (generated): Add check-execstack.h.
44712 * elf/check-execstack.c: Include "check-execstack.h".
44713 (main): Revert last change.
44714 (handle_file): Return zero if GNU_STACK is absent and
44715 DEFAULT_STACK_PERMS doesn't include PF_X.
44716
451f001b
UD
447172011-01-13 Ulrich Drepper <drepper@gmail.com>
44718
cfa28e56
UD
44719 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
44720 in child fails because the descriptor is already closed.
8cf8ce17
UD
44721 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
44722 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
44723 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 44724
1086d70d
UD
44725 [BZ #12397]
44726 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
44727 syscall.
44728
451f001b
UD
44729 [BZ #10484]
44730 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
44731 temporary buffer used to handle multi lookups locally.
a85b5cb4 44732 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 44733
08769175
UD
447342011-01-12 Ulrich Drepper <drepper@gmail.com>
44735
44736 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
44737 loader is ld.so.
44738
5e49c52e
UD
447392011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
44740
44741 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
44742 alignment for SSE2.
44743
60522a5f
UD
447442011-01-12 Ulrich Drepper <drepper@gmail.com>
44745
44746 [BZ #12394]
44747 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
44748 characters. When rounding increased number of integer digits recompute
44749 number of groups.
44750 * stdio-common/tst-grouping.c: New file.
44751 * stdio-common/Makefile: Add rules to build and run tst-grouping.
44752
f257bbd7
UD
447532011-01-09 Ulrich Drepper <drepper@gmail.com>
44754
44755 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
44756 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
44757
44758 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
44759 void.
44760 * bits/select.h: Likewise.
44761
fa9c15cb
UD
447622011-01-08 Ulrich Drepper <drepper@gmail.com>
44763
44764 * po/ja.po: Update from translation team.
44765
16c2895f
DM
447662011-01-04 David S. Miller <davem@sunset.davemloft.net>
44767
44768 [BZ #11155]
44769 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
44770 implementation just like for lxstat, fxstatat, et al.
44771
2543fef2
JM
447722010-12-27 Jim Meyering <meyering@redhat.com>
44773
44774 [BZ #12348]
44775 * posix/regexec.c (build_trtable): Return failure indication upon
44776 calloc failure. Otherwise, re_search_internal could infloop on OOM.
44777
98727dbe
UD
447782010-12-25 Ulrich Drepper <drepper@gmail.com>
44779
5bd6dc5c
UD
44780 [BZ #12201]
44781 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
44782 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
44783 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
44784 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
44785
97983464
UD
44786 [BZ #12207]
44787 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
44788
98727dbe
UD
44789 [BZ #12204]
44790 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
44791 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
44792
4a531bb0
L
447932010-12-15 H.J. Lu <hongjiu.lu@intel.com>
44794
44795 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
44796 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
44797 script has SORT_BY_INIT_PRIORITY.
44798 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
44799 NO_CTORS_DTORS_SECTIONS is defined.
44800 * elf/soinit.c: Likewise.
44801 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
44802 NO_CTORS_DTORS_SECTIONS is defined.
44803 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
44804 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
44805 * sysdeps/sh/init-first.c: Likewise.
44806 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
44807
07eb4b71
UD
448082010-12-24 Ulrich Drepper <drepper@gmail.com>
44809
44810 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
44811 always use the slow path.
44812
30950a5f
RA
448132010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
44814
44815 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
44816 similar rule which adds the sysdep directories to the header search in
44817 order to pick up the correct platform stackinfo.h.
44818 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
44819 perform test if it is, otherwise return successfully without testing.
44820 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
44821 DEFAULT_STACK_PERMS define in stackinfo.h.
44822 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
44823 defined in stackinfo.h.
44824 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
44825 DEFAULT_STACK_PERMS defined in stackinfo.h.
44826 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
44827 * sysdeps/ia64/stackinfo.h: Likewise.
44828 * sysdeps/s390/stackinfo.h: Likewise.
44829 * sysdeps/sh/stackinfo.h: Likewise.
44830 * sysdeps/sparc/stackinfo.h: Likewise.
44831 * sysdeps/x86_64/stackinfo.h: Likewise.
44832 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
44833 PF_X for powerpc64. Retain PF_X for powerpc32.
44834
db753e2c
UD
448352010-12-19 Ulrich Drepper <drepper@gmail.com>
44836
14b697f7
UD
44837 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
44838 accurately.
db753e2c
UD
44839 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
44840 GETDENTS_64BIT_ALIGNED.
44841
28300719
UD
448422010-12-14 Ulrich Drepper <dreper@gmail.com>
44843
14b697f7 44844 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 44845
4f197237
AS
448462010-12-10 Andreas Schwab <schwab@redhat.com>
44847
dbb0472f
AS
44848 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
44849 _GNU_SOURCE.
44850
4f197237
AS
44851 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
44852 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
44853 Remove __restrict.
44854 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
44855 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
44856
fb88ac72
UD
448572010-12-09 Ulrich Drepper <drepper@gmail.com>
44858
44859 [BZ #11655]
44860 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
44861 are initialized.
44862
42acbb92
JJ
448632010-12-09 Jakub Jelinek <jakub@redhat.com>
44864
44865 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
44866
c038d98d
UD
448672010-12-03 Ulrich Drepper <drepper@gmail.com>
44868
44869 * po/it.po: Update from translation team.
44870
3a4a2499
L
448712010-12-01 H.J. Lu <hongjiu.lu@intel.com>
44872
44873 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
44874 unused codes.
44875
1e24cf6e
UD
448762010-11-30 Ulrich Drepper <drepper@gmail.com>
44877
44878 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
44879
a7690819
AS
448802010-11-24 Andreas Schwab <schwab@redhat.com>
44881
44882 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
44883 specially.
44884 (gaih_getanswer_slice): Likewise.
44885
3bf8d1b1
JJ
448862010-10-20 Jakub Jelinek <jakub@redhat.com>
44887
44888 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
44889
6db52fbb
PB
448902010-05-31 Petr Baudis <pasky@suse.cz>
44891
44892 [BZ #11149]
44893 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
44894 silently even in the chroot mode.
44895
eaca7569
UD
448962010-11-22 Ulrich Drepper <drepper@gmail.com>
44897
44898 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
44899 last patch a bit. Pretty printing
44900
3056dcdb
UD
449012010-05-31 Petr Baudis <pasky@suse.cz>
44902
44903 [BZ #10085]
44904 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
44905 initialization of skip_initgroups_dyn.
44906
cf7c9078
UD
449072010-11-19 Ulrich Drepper <drepper@gmail.com>
44908
44909 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
44910 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44911
a1fb5e3e
UD
449122010-11-16 Ulrich Drepper <drepper@gmail.com>
44913
44914 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
44915
3540d66b
AS
449162010-11-11 Andreas Schwab <schwab@redhat.com>
44917
44918 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
44919 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
44920 (tst-fnmatch-ENV): Set MALLOC_TRACE.
44921 ($(objpfx)tst-fnmatch-mem): New rule.
44922 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
44923 * posix/tst-fnmatch.c (main): Call mtrace.
44924
13b69574
L
449252010-11-11 H.J. Lu <hongjiu.lu@intel.com>
44926
44927 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44928 Support Intel processor model 6 and model 0x2c.
44929
da93d214
LM
449302010-11-10 Luis Machado <luisgpm@br.ibm.com>
44931
44932 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
44933 signed comparison.
44934
8ca52c6e
L
449352010-11-09 H.J. Lu <hongjiu.lu@intel.com>
44936
44937 [BZ #12205]
44938 * string/test-strncasecmp.c (check_result): New function.
44939 (do_one_test): Use it.
44940 (check1): New function.
44941 (test_main): Use it.
44942 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
44943 Support strcasecmp and strncasecmp.
44944
69da074d
UD
449452010-11-08 Ulrich Drepper <drepper@gmail.com>
44946
44947 [BZ #12194]
44948 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
44949 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44950
ff02d528
L
449512010-11-07 H.J. Lu <hongjiu.lu@intel.com>
44952
44953 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
44954 IFUNC support.
44955 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44956 memset-x86-64.
44957 * sysdeps/x86_64/multiarch/bzero.S: New file.
44958 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
44959 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
44960 * sysdeps/x86_64/multiarch/memset.S: New file.
44961 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
44962 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44963 Set bit_Prefer_SSE_for_memop for Intel processors.
44964 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
44965 Define.
44966 (index_Prefer_SSE_for_memop): Define.
44967 (HAS_PREFER_SSE_FOR_MEMOP): Define.
44968
344d0b54
LM
449692010-11-04 Luis Machado <luisgpm@br.ibm.com>
44970
44971 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
44972 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
44973
c0dde15b
UD
449742010-11-03 H.J. Lu <hongjiu.lu@intel.com>
44975
44976 [BZ #12191]
44977 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44978 (__x86_64_raw_data_cache_size_half): Likewise.
44979 (__x86_64_raw_shared_cache_size): Likewise.
44980 (__x86_64_raw_shared_cache_size_half): Likewise.
44981
44982 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44983 (__x86_64_raw_data_cache_size_half): Likewise.
44984 (__x86_64_raw_shared_cache_size): Likewise.
44985 (__x86_64_raw_shared_cache_size_half): Likewise.
44986 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
44987 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
44988 and __x86_64_raw_shared_cache_size_half. Round
44989 __x86_64_data_cache_size_half, __x86_64_data_cache_size
44990 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
44991 to multiple of 256 bytes.
44992
0e516e0e
MS
449932010-11-03 Ulrich Drepper <drepper@gmail.com>
44994
44995 [BZ #12167]
44996 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
44997 of inacessible symlinks. Verify result of symlink before returning it.
44998 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44999 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45000
0e012e87
ER
450012010-10-28 Erich Ritz <erichritz@gmail.com>
45002
45003 * math/math.h (isinf): Fix typo in comment.
45004
de0ff7bc
UD
450052010-11-01 Ulrich Drepper <drepper@gmail.com>
45006
45007 * po/da.po: Update from translation team.
45008
fa41c84d
UD
450092010-10-26 Ulrich Drepper <drepper@gmail.com>
45010
45011 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45012 is added to the list.
45013
f0967738
AK
450142010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45015 Ulrich Drepper <drepper@gmail.com>
45016
45017 * elf/dl-object.c (_dl_new_object): Don't append the new object to
45018 the global list here. Move code to...
45019 (_dl_add_to_namespace_list): ...here. New function.
45020 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45021 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45022 * elf/dl-load.c (lose): Don't remove the element from the list.
45023 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45024 (_dl_map_object): Likewise.
45025
450262010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
45027
45028 [BZ #12159]
45029 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45030 into all bytes of SSE register.
45031 Patch by Richard Li <richardpku@gmail.com>.
45032
f0967738 450332010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
45034
45035 [BZ #12140]
45036 * malloc/malloc.c (_int_free): Fill correct number of bytes when
45037 perturbing.
45038
d0b9e94f
MB
450392010-10-20 Michael B. Brutman <brutman@us.ibm.com>
45040
45041 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45042 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45043 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45044 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45046 submachine.
45047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45048
8e9f92e9
AS
450492010-10-22 Andreas Schwab <schwab@redhat.com>
45050
45051 * include/dlfcn.h (__RTLD_SECURE): Define.
45052 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
45053 mode & __RTLD_SECURE instead.
45054 (open_path): Rename preloaded parameter to secure.
45055 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45056 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45057 * elf/dl-deps.c (openaux): Likewise.
45058 * elf/rtld.c (struct map_args): Remove is_preloaded.
45059 (map_doit): Don't use it.
45060 (dl_main): Likewise.
45061 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45062 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45063
bc96fbda
AS
450642010-09-09 Andreas Schwab <schwab@redhat.com>
45065
45066 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45067 (sysd-rules-targets): Remove duplicates.
45068 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45069 rtld-%.$o dependency.
45070
22cd1c9b
AS
450712010-10-18 Andreas Schwab <schwab@redhat.com>
45072
45073 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45074 _dl_map_object do it.
45075
18edac48
UD
450762010-10-19 Ulrich Drepper <drepper@gmail.com>
45077
45078 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45079 fast fma builtins, define the macros in the C99 standard.
45080 (FP_FAST_FMAF): Likewise.
45081 (FP_FAST_FMAL): Likewise.
45082 * sysdeps/x86_64/bits/mathdef.h: Likewise.
45083
45084 * bits/mathdef.h: Update copyright year.
45085 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45086
d2050124
MM
450872010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
45088
45089 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45090 builtins, define the macros in the C99 standard.
45091 (FP_FAST_FMAF): Likewise.
45092 (FP_FAST_FMAL): Likewise.
45093 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45094 multiply/add.
45095 (FP_FAST_FMAF): Likewise.
45096
475facd1
JJ
450972010-10-15 Jakub Jelinek <jakub@redhat.com>
45098
45099 [BZ #3268]
45100 * math/libm-test.inc (fma_test): Some new testcases.
45101 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45102 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45103 y and infinite z. Do multiplication by C already in long double.
45104 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45105 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45106 y and infinite z. Do bitwise or of inexact bit into u.d.
45107 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45108 * sysdeps/i386/fpu/s_fmaf.S: Removed.
45109 * sysdeps/i386/fpu/s_fma.S: Removed.
45110 * sysdeps/i386/fpu/s_fmal.S: Removed.
45111
7c08a05c
JJ
451122010-10-16 Jakub Jelinek <jakub@redhat.com>
45113
45114 [BZ #3268]
45115 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45116 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45117 computation is not scheduled after fetestexcept. Fix value
45118 of minimum denormal long double.
45119
f3f7372d
JJ
451202010-10-14 Jakub Jelinek <jakub@redhat.com>
45121
45122 [BZ #3268]
45123 * math/libm-test.inc (fma_test): Add some more tests.
45124 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45125 correctly.
45126
14d43591
AS
451272010-10-15 Andreas Schwab <schwab@redhat.com>
45128
45129 * scripts/data/localplt-s390-linux-gnu.data: New file.
45130 * scripts/data/localplt-s390x-linux-gnu.data: New file.
45131
5e908464
JJ
451322010-10-13 Jakub Jelinek <jakub@redhat.com>
45133
45134 [BZ #3268]
45135 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45136 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45137 instead of dbl-64.
45138 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45139 inlines.
45140 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45141 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45142 if one of x and y is very large and the other is subnormal.
45143 * sysdeps/s390/fpu/s_fmaf.c: New file.
45144 * sysdeps/s390/fpu/s_fma.c: New file.
45145 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45146 * sysdeps/powerpc/fpu/s_fma.S: New file.
45147 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45148 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45149 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45150
451512010-10-12 Jakub Jelinek <jakub@redhat.com>
45152
45153 [BZ #3268]
45154 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45155 fma tests.
45156 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45157 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45158 * sysdeps/i386/i686/multiarch/s_fma.c: Include
45159 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45160 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45161 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45162 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45163
b833d51f
UD
451642010-10-12 Ulrich Drepper <drepper@redhat.com>
45165
45166 [BZ #12078]
45167 * posix/regcomp.c (parse_branch): One more memory leak plugged.
45168 * posix/bug-regex31.input: Add test case.
45169
1751705d
UD
451702010-10-11 Ulrich Drepper <drepper@gmail.com>
45171
e9b9cbf5
UD
45172 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45173 * posix/bug-regex31.input: New file.
45174
45175 [BZ #12078]
45176 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45177 (parse_sub_exp): Fix last change, use postorder.
45178
ef06edbe
UD
45179 * posix/bug-regex31.c: New file.
45180 * posix/Makefile: Add rules to build and run bug-regex31.
45181
a129c80d
UD
45182 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45183
45184 [BZ #12078]
45185 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45186
b76b818e
UD
45187 [BZ #12108]
45188 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45189 to have entries in sys_siglist.
45190
1751705d
UD
45191 [BZ #12093]
45192 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45193 be NULL.
45194
9ff8d36f
JJ
451952010-10-07 Jakub Jelinek <jakub@redhat.com>
45196
45197 [BZ #3268]
45198 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45199 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45200 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45201 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45202 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45203 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45204 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45205 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45206 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45207 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45208 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45209 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45210 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45211 * math/ftestexcept.c (fetestexcept): Likewise.
45212 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45213 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45214 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45215 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45216 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45217 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45218 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45219
af325969
UD
452202010-10-11 Ulrich Drepper <drepper@gmail.com>
45221
c579b202 45222 [BZ #12107]
af325969
UD
45223 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45224 newline.
45225
67a67b95
UD
452262010-10-06 Ulrich Drepper <drepper@gmail.com>
45227
45228 * string/bug-strstr1.c: New file.
45229 * string/Makefile: Add rules to build and run bug-strstr1.
45230
5fb308bc
EB
452312010-10-05 Eric Blake <eblake@redhat.com>
45232
45233 [BZ #12092]
45234 * string/str-two-way.h (two_way_long_needle): Always clear memory
45235 when skipping input due to the shift table.
45236
45db99c7
UD
452372010-10-03 Ulrich Drepper <drepper@gmail.com>
45238
3b111893
UD
45239 [BZ #12005]
45240 * malloc/mcheck.c: Handle large requests.
45241
45db99c7
UD
45242 [BZ #12077]
45243 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45244 for strncmp and strncasecmp.
45245 * string/stratcliff.c: Add tests for strcmp and strncmp.
45246 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45247
cf7a1eb8
NI
452482010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45249
45250 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45251 __set_fpscr.
45252
6484ba5e
AJ
452532010-09-30 Andreas Jaeger <aj@suse.de>
45254
45255 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45256 (CGROUP_SUPER_MAGIC): Define.
45257 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45258 Handle btrfs and cgroup file systems.
45259 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45260 Likewise.
45261
91c42559
LM
452622010-09-27 Luis Machado <luisgpm@br.ibm.com>
45263
45264 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45265 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45266
87a97932
AK
452672010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45268
45269 [BZ #12067]
45270 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45271 trying to locate the ELF header.
45272
c21cc9bc
AS
452732010-09-27 Andreas Schwab <schwab@redhat.com>
45274
45275 [BZ #11611]
45276 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45277 Mask out sign-bit copies when constructing f_fsid.
45278
315970f6
PB
452792010-09-24 Petr Baudis <pasky@suse.cz>
45280
45281 * debug/stack_chk_fail_local.c: Add missing licence exception.
45282 * debug/warning-nop.c: Likewise.
45283
1ac7a2c7
JM
452842010-09-15 Joseph Myers <joseph@codesourcery.com>
45285
45286 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45287 implementing getdents64 using getdents syscall, set d_type if
45288 __ASSUME_GETDENTS32_D_TYPE.
45289
56801c50
AS
452902010-09-16 Andreas Schwab <schwab@redhat.com>
45291
45292 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45293 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45294
dda51327
UD
452952010-09-21 Ulrich Drepper <drepper@redhat.com>
45296
45297 [BZ #12037]
45298 * posix/unistd.h: Undo change of feature selection for ftruncate from
45299 2010-01-11.
45300
8ffcee4a
UD
453012010-09-20 Ulrich Drepper <drepper@redhat.com>
45302
a545ecd9 45303 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
45304 detection.
45305
e24f0a8b
AS
453062010-09-20 Andreas Schwab <schwab@redhat.com>
45307
45308 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45309 fanotify_mark.
45310 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45311
7291c56f
AS
453122010-09-14 Andreas Schwab <schwab@redhat.com>
45313
45314 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45315 variables after CHECK_SP call.
45316 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45317
bc5fb037
AS
453182010-09-13 Andreas Schwab <schwab@redhat.com>
45319 Ulrich Drepper <drepper@redhat.com>
45320
45321 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45322 re-relocationg ld.so.
45323 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45324 _dl_init_paths call.
45325 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
45326 here anymore.
45327
e66e7419
UD
453282010-09-14 Ulrich Drepper <drepper@redhat.com>
45329
45330 * resolv/res_init.c (__res_vinit): Count the default server we added.
45331
c044aa75
CLT
453322010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
45333 Ulrich Drepper <drepper@redhat.com>
45334
45335 [BZ #11968]
45336 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45337 (____longjmp_chk): Use %ebx for saving value across system call.
45338 Add unwind info.
45339
32cf4069
AS
453402010-09-06 Andreas Schwab <schwab@redhat.com>
45341
45342 * manual/Makefile: Don't mix pattern rules with normal rules.
45343
817328ee
AS
453442010-09-05 Andreas Schwab <schwab@linux-m68k.org>
45345
45346 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45347 operation.
45348 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45349 * libio/iofopncook.c (_IO_cookie_init): Likewise.
45350 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45351 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45352 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45353 Likewise.
45354
29fddf61
UD
453552010-09-04 Ulrich Drepper <drepper@redhat.com>
45356
45357 [BZ #11979]
45358 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45359 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45360
0959ffc9
UD
453612010-09-02 Ulrich Drepper <drepper@redhat.com>
45362
45363 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45364 * sysdeps/x86_64/addmul_1.S: Likewise.
45365 * sysdeps/x86_64/lshift.S: Likewise.
45366 * sysdeps/x86_64/mul_1.S: Likewise.
45367 * sysdeps/x86_64/rshift.S: Likewise.
45368 * sysdeps/x86_64/sub_n.S: Likewise.
45369 * sysdeps/x86_64/submul_1.S: Likewise.
45370
ece29840
ST
453712010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
45372
0959ffc9
UD
45373 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45374 Define __sched_param instead of SCHED_* and sched_param when
ece29840 45375 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 45376 * bits/sched.h [__need_schedparam]
ece29840 45377 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
45378 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45379 (__defined_schedparam): Define to 1.
ece29840
ST
45380 (__sched_param): New structure, identical to sched_param.
45381 (__need_schedparam): Undefine.
45382
e53a31fe
MF
453832010-08-31 Mike Frysinger <vapier@gentoo.org>
45384
fdc0c10d
MF
45385 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45386 (epoll_create1): Declare.
45387
e53a31fe
MF
45388 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45389
a726d796
AS
453902010-08-31 Andreas Schwab <schwab@redhat.com>
45391
45392 [BZ #7066]
45393 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45394 shifting retval into place.
45395
2f3e3dc7
UD
453962010-09-01 Ulrich Drepper <drepper@redhat.com>
45397
f2933da9
UD
45398 * nis/rpcsvc/nis.h: Update copyright notice.
45399 * nis/rpcsvc/nis.x: Likewise.
45400 * nis/rpcsvc/nis_callback.h: Likewise.
45401 * nis/rpcsvc/nis_callback.x: Likewise.
45402 * nis/rpcsvc/nis_object.x: Likewise.
45403 * nis/rpcsvc/nis_tags.h: Likewise.
45404 * nis/rpcsvc/yp.h: Likewise.
45405 * nis/rpcsvc/yp.x: Likewise.
45406 * nis/rpcsvc/ypupd.h: Likewise.
45407 * nis/yp_xdr.c: Likewise.
45408 * nis/ypupdate_xdr.c: Likewise.
45409
2f3e3dc7
UD
45410 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
45411 mainly the body of pmap_getport. Add parameters to specify timeouts.
45412 (pmap_getport): Use __libc_rpc_getport.
45413 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45414 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45415 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45416
f3dcc2f9
AS
454172010-08-31 Andreas Schwab <schwab@linux-m68k.org>
45418
45419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45420 fanotify_mark.
45421
6d34eb5b
RM
454222010-08-27 Roland McGrath <roland@redhat.com>
45423
45424 * sysdeps/i386/i686/multiarch/Makefile
45425 (CFLAGS-varshift.c): New variable.
45426
9ea3de11
UD
454272010-08-27 Ulrich Drepper <drepper@redhat.com>
45428
c96d23fc
UD
45429 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45430 * sysdeps/i386/i686/multiarch/varshift.c: New file.
45431
9ea3de11
UD
45432 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45433
45434 * sysdeps/x86_64/strlen.S: Minimal code improvement.
45435
623aac7f
L
454362010-08-26 H.J. Lu <hongjiu.lu@intel.com>
45437
45438 * sysdeps/x86_64/strlen.S: Unroll the loop.
45439 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45440 strlen-sse2 strlen-sse2-bsf.
45441 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45442 __strlen_no_bsf if bit_Slow_BSF is set.
45443 (__strlen_sse42): Removed.
45444 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45445 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
45446
8b2b7715
RM
454472010-08-25 Roland McGrath <roland@redhat.com>
45448
45449 * sysdeps/x86_64/multiarch/varshift.S: File removed.
45450 * sysdeps/x86_64/multiarch/varshift.c: New file.
45451 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
45452 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
45453 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
45454 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45455
e73015f2
L
454562010-08-25 H.J. Lu <hongjiu.lu@intel.com>
45457
45458 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45459 strlen-sse2 strlen-sse2-bsf.
45460 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
45461 __strlen_sse2_bsf if bit_Slow_BSF is unset.
45462 (__strlen_sse2): Removed.
45463 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
45464 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
45465 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45466 bit_Slow_BSF for Atom.
45467 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
45468 (index_Slow_BSF): Define.
45469 (HAS_SLOW_BSF): Define.
45470
df24a73e
UD
454712010-08-25 Ulrich Drepper <drepper@redhat.com>
45472
45473 [BZ #10851]
45474 * resolv/res_init.c (__res_vinit): When no server address at all
45475 is given default to loopback.
45476
f2ac4868
RM
454772010-08-24 Roland McGrath <roland@redhat.com>
45478
09055553
RM
45479 * configure.in: Remove config-name.h generation.
45480 * configure: Regenerated.
45481 * config-name.in: File removed.
45482 * scripts/config-uname.sh: New file.
45483 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
45484 ($(objdir)config-name.h): New target.
45485
f2ac4868
RM
45486 * sunrpc/rpc_parse.h: Avoid nested comment.
45487
73f27d5e
RH
454882010-08-24 Richard Henderson <rth@redhat.com>
45489 Ulrich Drepper <drepper@redhat.com>
45490 H.J. Lu <hongjiu.lu@intel.com>
45491
45492 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
45493 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
45494 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
45495 Replace _mm_srli_si128 with __m128i_shift_right. Replace
45496 _mm_alignr_epi8 with _mm_loadu_si128.
45497 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
45498 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
45499 (__m128i_shift_right): Removed.
45500 * sysdeps/i386/i686/multiarch/varshift.h: New file.
45501 * sysdeps/i386/i686/multiarch/varshift.S: New file.
45502 * sysdeps/x86_64/multiarch/varshift.h: New file.
45503 * sysdeps/x86_64/multiarch/varshift.S: New file.
45504
84b9230c
MF
455052010-08-21 Mike Frysinger <vapier@gentoo.org>
45506
45507 * configure.in: Move assembler checks to before sysdep dir checking.
45508
9bbd0ddc
PB
455092010-08-20 Petr Baudis <pasky@suse.cz>
45510
45511 * LICENSES: Sync the sunrpc license.
45512
9da4bb31
UD
455132010-08-19 Ulrich Drepper <drepper@redhat.com>
45514
a7ab6ec8
UD
45515 * sunrpc/auth_des.c: Update copyright notice once again.
45516 * sunrpc/auth_none.c: Likewise.
45517 * sunrpc/auth_unix.c: Likewise.
45518 * sunrpc/authdes_prot.c: Likewise.
45519 * sunrpc/authuxprot.c: Likewise.
45520 * sunrpc/bindrsvprt.c: Likewise.
45521 * sunrpc/clnt_gen.c: Likewise.
45522 * sunrpc/clnt_perr.c: Likewise.
45523 * sunrpc/clnt_raw.c: Likewise.
45524 * sunrpc/clnt_simp.c: Likewise.
45525 * sunrpc/clnt_tcp.c: Likewise.
45526 * sunrpc/clnt_udp.c: Likewise.
45527 * sunrpc/clnt_unix.c: Likewise.
45528 * sunrpc/des_crypt.c: Likewise.
45529 * sunrpc/des_soft.c: Likewise.
45530 * sunrpc/get_myaddr.c: Likewise.
45531 * sunrpc/getrpcport.c: Likewise.
45532 * sunrpc/key_call.c: Likewise.
45533 * sunrpc/key_prot.c: Likewise.
45534 * sunrpc/openchild.c: Likewise.
45535 * sunrpc/pm_getmaps.c: Likewise.
45536 * sunrpc/pm_getport.c: Likewise.
45537 * sunrpc/pmap_clnt.c: Likewise.
45538 * sunrpc/pmap_prot.c: Likewise.
45539 * sunrpc/pmap_prot2.c: Likewise.
45540 * sunrpc/pmap_rmt.c: Likewise.
45541 * sunrpc/rpc/auth.h: Likewise.
45542 * sunrpc/rpc/auth_unix.h: Likewise.
45543 * sunrpc/rpc/clnt.h: Likewise.
45544 * sunrpc/rpc/des_crypt.h: Likewise.
45545 * sunrpc/rpc/key_prot.h: Likewise.
45546 * sunrpc/rpc/netdb.h: Likewise.
45547 * sunrpc/rpc/pmap_clnt.h: Likewise.
45548 * sunrpc/rpc/pmap_prot.h: Likewise.
45549 * sunrpc/rpc/pmap_rmt.h: Likewise.
45550 * sunrpc/rpc/rpc.h: Likewise.
45551 * sunrpc/rpc/rpc_des.h: Likewise.
45552 * sunrpc/rpc/rpc_msg.h: Likewise.
45553 * sunrpc/rpc/svc.h: Likewise.
45554 * sunrpc/rpc/svc_auth.h: Likewise.
45555 * sunrpc/rpc/types.h: Likewise.
45556 * sunrpc/rpc/xdr.h: Likewise.
45557 * sunrpc/rpc_clntout.c: Likewise.
45558 * sunrpc/rpc_cmsg.c: Likewise.
45559 * sunrpc/rpc_common.c: Likewise.
45560 * sunrpc/rpc_cout.c: Likewise.
45561 * sunrpc/rpc_dtable.c: Likewise.
45562 * sunrpc/rpc_hout.c: Likewise.
45563 * sunrpc/rpc_main.c: Likewise.
45564 * sunrpc/rpc_parse.c: Likewise.
45565 * sunrpc/rpc_parse.h: Likewise.
45566 * sunrpc/rpc_prot.c: Likewise.
45567 * sunrpc/rpc_sample.c: Likewise.
45568 * sunrpc/rpc_scan.c: Likewise.
45569 * sunrpc/rpc_scan.h: Likewise.
45570 * sunrpc/rpc_svcout.c: Likewise.
45571 * sunrpc/rpc_tblout.c: Likewise.
45572 * sunrpc/rpc_util.c: Likewise.
45573 * sunrpc/rpc_util.h: Likewise.
45574 * sunrpc/rpcinfo.c: Likewise.
45575 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
45576 * sunrpc/rpcsvc/key_prot.x: Likewise.
45577 * sunrpc/rpcsvc/klm_prot.x: Likewise.
45578 * sunrpc/rpcsvc/mount.x: Likewise.
45579 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
45580 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
45581 * sunrpc/rpcsvc/rex.x: Likewise.
45582 * sunrpc/rpcsvc/rstat.x: Likewise.
45583 * sunrpc/rpcsvc/rusers.x: Likewise.
45584 * sunrpc/rpcsvc/sm_inter.x: Likewise.
45585 * sunrpc/rpcsvc/spray.x: Likewise.
45586 * sunrpc/rpcsvc/yppasswd.x: Likewise.
45587 * sunrpc/rtime.c: Likewise.
45588 * sunrpc/svc.c: Likewise.
45589 * sunrpc/svc_auth.c: Likewise.
45590 * sunrpc/svc_authux.c: Likewise.
45591 * sunrpc/svc_raw.c: Likewise.
45592 * sunrpc/svc_run.c: Likewise.
45593 * sunrpc/svc_simple.c: Likewise.
45594 * sunrpc/svc_tcp.c: Likewise.
45595 * sunrpc/svc_udp.c: Likewise.
45596 * sunrpc/svc_unix.c: Likewise.
45597 * sunrpc/svcauth_des.c: Likewise.
45598 * sunrpc/xcrypt.c: Likewise.
45599 * sunrpc/xdr.c: Likewise.
45600 * sunrpc/xdr_array.c: Likewise.
45601 * sunrpc/xdr_float.c: Likewise.
45602 * sunrpc/xdr_mem.c: Likewise.
45603 * sunrpc/xdr_rec.c: Likewise.
45604 * sunrpc/xdr_ref.c: Likewise.
45605 * sunrpc/xdr_sizeof.c: Likewise.
45606 * sunrpc/xdr_stdio.c: Likewise.
45607
9da4bb31
UD
45608 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
45609 handling.
45610
bdaa77bc
AS
456112010-08-19 Andreas Schwab <schwab@redhat.com>
45612
45613 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
45614
fe2f79db
LM
456152010-08-19 Luis Machado <luisgpm@br.ibm.com>
45616
45617 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
45618 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
45619 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
45620 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
45621 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
45622 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
45623 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
45624 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
45625 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
45626 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
45627 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
45628 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
45629 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
45630 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
45631
b9b42ee0
AB
456322010-07-26 Anton Blanchard <anton@samba.org>
45633
45634 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
45635 * malloc/arena.c (heap_trim): Likewise.
45636
1c06ba31
UD
456372010-08-16 Ulrich Drepper <drepper@redhat.com>
45638
45639 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
45640 here. Not...
45641 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
45642 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
45643
f8392f40
L
456442010-08-12 H.J. Lu <hongjiu.lu@intel.com>
45645
45646 * sysdeps/i386/elf/Makefile: New file.
45647
3162f12e
AS
456482010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45649
45650 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
45651 from fanotify_init.
45652 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
45653 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45654
28c90b2c
UD
456552010-08-15 Ulrich Drepper <drepper@redhat.com>
45656
45657 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
45658 of strncasecmp_l.
1feccb6c 45659 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 45660
ca6bb004
UD
456612010-08-14 Ulrich Drepper <drepper@redhat.com>
45662
e9f82e0d
UD
45663 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45664 strncase_l-nonascii.
45665 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45666 Add strncase_l-ssse3.
45667 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
45668 * sysdeps/x86_64/strcmp.S: Likewise.
45669 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
45670 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
45671 * sysdeps/x86_64/strncase.S: New file.
45672 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
45673 * sysdeps/x86_64/strncase_l.S: New file.
45674 * string/Makefile (strop-tests): Add strncasecmp.
45675 * string/test-strncasecmp.c: New file.
45676
45677 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
45678 warning.
45679
ca6bb004
UD
45680 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
45681 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
45682
052fa7b3
AS
456832010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45684
45685 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
45686
962dba78
UD
456872010-08-12 Ulrich Drepper <drepper@redhat.com>
45688
45689 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
45690 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
45691 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
45692
bebff237
AM
456932010-05-01 Alan Modra <amodra@gmail.com>
45694
45695 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
45696 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
45697 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
45698 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
45699 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
45700 tidying. Don't tail-call __sigjmp_save for static lib.
45701 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
45702 save location.
45703 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
45704 (CALL_MCOUNT): Add eh info, and nop after bl.
45705 (TAIL_CALL_SYSCALL_ERROR): New macro.
45706 (PSEUDO_RET): Use it.
45707 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45708 Correct save location of integer regs and cr.
45709 (_dl_profile_resolve): Correct cr save location. Delete nops
45710 after bl when SHARED. Reduce cfi size a little by better
45711 placement of cfi directives.
45712 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
45713 make a stack frame. Instead use parm save area as a temp.
45714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
45715 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
45716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45717 Don't make a stack frame for parent, use parm save area.
45718 Increase child stack frame to 112 bytes. Don't save unused reg,
45719 and adjust reg usage. Set up cfi on error recovery and
45720 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
45721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45722 (__makecontext): Add dummy nop after jump to exit.
45723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
45724 Use correct parm save area and cr save, reduce stack frame.
45725 Correct cfi for possible PSEUDO_RET frame setup.
45726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
45727 Branch to local label emitted by PSEUDO_RET rather than
45728 __syscall_error.
45729
02637374
AS
457302010-08-12 Andreas Schwab <schwab@redhat.com>
45731
45732 [BZ #11904]
45733 * locale/programs/locale.c (print_assignment): New function.
45734 (show_locale_vars): Use it.
45735
c3e2f19b
UD
457362010-08-11 Ulrich Drepper <drepper@redhat.com>
45737
3cdaa6ad
UD
45738 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
45739 field.
45740 (struct statfs64): Likewise.
45741 (_STATFS_F_FLAGS): Define.
45742 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
45743 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45744 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
45745 (ST_VALID): Define locally.
45746 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
45747 __statvfs_getflags, use the provided value.
45748 * sysdeps/unix/sysv/linux/kernel-features.h: Define
45749 __ASSUME_STATFS_F_FLAGS.
45750
754f7da3
UD
45751 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
45752
10b3bedc
UD
45753 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
45754 Add sys/fanotify.h.
45755 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
45756 fanotify_mask for GLIBC_2.13.
45757 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
45758 fanotify_init and fanotify_mark.
45759 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45760 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
45761
c08fb0d7
UD
45762 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
45763 Add prlimit.
45764 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
45765 prlimit64 for GLIBC_2.13.
45766 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
45767 prlimit64.
45768 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
45769 syscall.
45770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
45771 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45772 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
45773 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
45774 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
45775 add prlimit alias.
45776 * sysdeps/unix/sysv/linux/prlimit.c: New file.
45777
15bac72b
UD
45778 [BZ #11903]
45779 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
45780 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
45781
c3e2f19b
UD
45782 * nss/Makefile: Add rules to build and run tst-nss-test1.
45783 * shlib-versions: Add entry for libnss_test1.
45784 * nss/nss_test1.c: New file.
45785 * nss/tst-nss-test1.c: New file.
45786
45787 * nss/nsswitch.c (__nss_database_custom): Define new variable.
45788 (__nss_configure_lookup): Set appropriate entry in
45789 __nss_configure_lookup to true.
45790 * nss/nsswitch.h: Define enum with indeces of databases in
45791 databases and __nss_database_custom arrays. Declare
45792 __nss_database_custom.
45793 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
45794 to avoid using nscd when custom rules are installed.
45795 * nss/getXXbyYY_r.c: Likewise.
45796 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45797
45798 * nss/nss_files/files-parse.c: Whitespace fixes.
45799
f15ce4d8
UD
458002010-08-09 Ulrich Drepper <drepper@redhat.com>
45801
45802 [BZ #11883]
45803 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
45804 * posix/fnmatch_loop.c: Likewise.
45805
d22e4cc9
AK
458062010-07-17 Andi Kleen <ak@linux.intel.com>
45807
45808 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
45809 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
45810 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
45811 * Versions.def [GLIBC_2.13]: Add.
45812
805bc17d
UD
458132010-08-06 Ulrich Drepper <drepper@redhat.com>
45814
45815 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45816 Also fail if tpwd after pwuid call is NULL.
45817
5a42321d
ST
458182010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
45819
45820 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
45821 when converting to ms.
45822
fd3ebeda
ST
458232010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45824
45825 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
45826 EOPNOTSUPP errors with ENOTTY.
45827 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
45828 EOPNOTSUPP errors with ENOTTY.
45829
73507d3a
UD
458302010-07-31 Ulrich Drepper <drepper@redhat.com>
45831
45832 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45833 Add strcasecmp_l-ssse3.
45834 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
45835 strcasecmp.
45836 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
45837 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
45838 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
45839
fe36dd02
UD
458402010-07-30 Ulrich Drepper <drepper@redhat.com>
45841
66f6765a
UD
45842 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
45843
42e08a54
UD
45844 * string/Makefile (strop-tests): Add strcasecmp.
45845 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45846 strcasecmp_l-nonascii.
45847 (gen-as-const-headers): Add locale-defines.sym.
45848 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
45849 * sysdeps/x86_64/strcasecmp.S: New file.
45850 * sysdeps/x86_64/strcasecmp_l.S: New file.
45851 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
45852 * sysdeps/x86_64/locale-defines.sym: New file.
45853 * string/test-strcasecmp.c: New file.
45854
fe36dd02
UD
45855 * string/test-strcasestr.c: Test both ends of the range of characters.
45856 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
45857
48cbc0d6
RM
458582010-07-29 Roland McGrath <roland@redhat.com>
45859
76e6d6bc 45860 [BZ #11856]
48cbc0d6
RM
45861 * manual/locale.texi (Yes-or-No Questions): Fix example code.
45862
880113d9
UD
458632010-07-27 Ulrich Drepper <drepper@redhat.com>
45864
45865 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
45866 for ld.so.
45867
deb9cabb
AS
458682010-07-27 Andreas Schwab <schwab@redhat.com>
45869
45870 * manual/memory.texi (Malloc Tunable Parameters): Document
45871 M_PERTURB.
45872
1c7570ff
RM
458732010-07-26 Roland McGrath <roland@redhat.com>
45874
45875 [BZ #11840]
45876 * configure.in (-fgnu89-inline check): Set and substitute
45877 gnu89_inline, not libc_cv_gnu89_inline.
45878 * configure: Regenerated.
45879 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
45880
24fb0f88
UD
458812010-07-26 Ulrich Drepper <drepper@redhat.com>
45882
45883 * string/test-strnlen.c: New file.
45884 * string/Makefile (strop-tests): Add strnlen.
45885 * string/tester.c (test_strnlen): Add a few more test cases.
45886 * string/tst-strlen.c: Better error reporting.
45887
45888 * sysdeps/x86_64/strnlen.S: New file.
45889
8e96b93a
UD
458902010-07-24 Ulrich Drepper <drepper@redhat.com>
45891
45892 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
45893 lower-latency instructions.
45894
dbc676d4
UD
458952010-07-23 Ulrich Drepper <drepper@redhat.com>
45896
45897 * string/test-strcasestr.c: New file.
45898 * string/test-strstr.c: New file.
45899 * string/Makefile (strop-tests): Add strstr and strcasestr.
45900 * string/str-two-way.h: Don't undefine MAX.
45901 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
45902
f6a31e0e
AS
459032010-07-21 Andreas Schwab <schwab@redhat.com>
45904
45905 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45906 strcasestr-nonascii.
45907 (CFLAGS-strcasestr-nonascii.c): Define.
45908 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
45909 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
45910 Remove unused attribute.
45911
5dbc3b6c
RM
459122010-07-20 Roland McGrath <roland@redhat.com>
45913
45914 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
45915 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
45916 ld.so.cache was broken. With it, there is no way to disable dsocaps
45917 like LD_HWCAP_MASK can disable hwcaps.
45918
23d101d8
EPM
459192010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45920
45921 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
45922
cc9f2e47
UD
459232010-07-16 Ulrich Drepper <drepper@redhat.com>
45924
45925 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
45926 call in strcasestr.
45927 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
45928 __strcasestr_sse42_nonascii.
45929 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
45930 strcasestr-nonascii.c.
45931 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
45932
77c1b069
LM
459332010-06-15 Luis Machado <luisgpm@br.ibm.com>
45934
45935 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
45936 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
45937 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
45938 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
45939
440566c3
UD
459402010-07-09 Ulrich Drepper <drepper@redhat.com>
45941
45942 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
45943 fcntl.
45944
5be9d05d
AS
459452010-07-06 Andreas Schwab <schwab@redhat.com>
45946
c30b7ee2 45947 [BZ #11577]
5be9d05d
AS
45948 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
45949 dl_signal_cerror.
45950
8a492a67
UD
459512010-07-06 Ulrich Drepper <drepper@redhat.com>
45952
45953 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
45954 _PC_PIPE_BUF using F_GETPIPE_SZ.
45955
713df3d5
RM
459562010-07-05 Roland McGrath <roland@redhat.com>
45957
45958 * manual/arith.texi (Rounding Functions): Fix rint description
45959 implicit in round description.
45960
702e8f14
UD
459612010-07-02 Ulrich Drepper <drepper@redhat.com>
45962
45963 * elf/Makefile: Fix linking for a few tests to make recent linker
45964 happy.
45965
52ed8be9
AS
459662010-06-30 Andreas Schwab <schwab@redhat.com>
45967
45968 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45969 $(common-objpfx)libc_nonshared.a.
45970
f47c9a11
LM
459712010-06-21 Luis Machado <luisgpm@br.ibm.com>
45972
45973 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
45974 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
45975 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45976 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45977 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
45978 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
45979 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45980 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
45982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
45983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
45984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
45986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
45988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
45989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
45990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
45991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
45993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
45995 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
45996 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
45997 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
45998 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
45999 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46000 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46001 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46002 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46003 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46004 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46005 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46006 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46021
6fb8cbcb
L
460222010-06-25 H.J. Lu <hongjiu.lu@intel.com>
46023
46024 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46025 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
46026 * string/memmove.c (memmove): Renamed to ...
46027 (MEMMOVE): ...this. Default to memmove.
46028 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46029 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46030 (END_CHK): Define.
46031 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46032 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46033 mempcpy-ssse3-back memmove-ssse3-back.
46034 * sysdeps/x86_64/multiarch/bcopy.S: New file .
46035 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46036 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46037 * sysdeps/x86_64/multiarch/memcpy.S: New file.
46038 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46039 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46040 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46041 * sysdeps/x86_64/multiarch/memmove.c: New file.
46042 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46043 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46044 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46045 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46046 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46047 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46048 Define.
46049 (index_Fast_Copy_Backward): Define.
46050 (HAS_ARCH_FEATURE): Define.
46051 (HAS_FAST_REP_STRING): Define.
46052 (HAS_FAST_COPY_BACKWARD): Define.
46053
4e733bac 460542010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
46055
46056 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46057 Restore proper fallback handling.
46058
63c4ed22
UD
460592010-06-19 Ulrich Drepper <drepper@redhat.com>
46060
ac2b484c
UD
46061 [BZ #11701]
46062 * posix/group_member.c (__group_member): Correct checking loop.
46063
63c4ed22
UD
46064 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46065 OOM in getpwuid_r correctly. Return error number when the caller
46066 should return, otherwise -1.
46067 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46068 call returning > 0 value.
46069 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46070
765ade4b
AS
460712010-06-07 Andreas Schwab <schwab@redhat.com>
46072
46073 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46074 libc_nonshared.a from targets in modules-names.
46075
80da2e09
KS
460762010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
46077
46078 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46079 requires it.
46080
158db122
LM
460812010-06-10 Luis Machado <luisgpm@br.ibm.com>
46082
46083 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46084 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46085 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46086 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46087
caa78cf8
AS
460882010-06-02 Andreas Schwab <schwab@redhat.com>
46089
46090 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46091
b2ef2c01
UD
460922010-06-14 Ulrich Drepper <drepper@redhat.com>
46093
46094 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46095 and F_GETPIPE_SZ.
46096 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46097 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46098 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46099 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46100 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46101 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46102
fbd643b6
RM
461032010-06-14 Roland McGrath <roland@redhat.com>
46104
46105 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46106
f32f2869
JJ
461072010-06-07 Jakub Jelinek <jakub@redhat.com>
46108
46109 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46110 __REDIRECT followed by __THROW.
46111 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46112 * posix/getopt.h (getopt): Likewise.
46113
2a50c078
EPM
461142010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46115
46116 * hurd/lookup-at.c (__file_name_lookup_at): Accept
46117 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
46118 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46119 in AT_FLAGS.
46120 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46121 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46122
eb5ad2eb
LM
461232010-05-28 Luis Machado <luisgpm@br.ibm.com>
46124
46125 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46126
3c88fe1e
L
461272010-05-26 H.J. Lu <hongjiu.lu@intel.com>
46128
46129 [BZ #11640]
46130 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46131 Properly check family and model.
46132
d2f73151
TY
461332010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
46134
46135 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46136
ebd2e13d
LM
461372010-05-24 Luis Machado <luisgpm@br.ibm.com>
46138
46139 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46140
b32b8b45
UD
461412010-05-21 Ulrich Drepper <drepper@redhat.com>
46142
46143 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46144 symbol reference.
46145
9acbe24d
AS
461462010-05-19 Andreas Schwab <schwab@redhat.com>
46147
46148 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46149 symbol reference.
46150
f0ccf6ea
AS
461512010-05-21 Andreas Schwab <schwab@redhat.com>
46152
3d04ff3a
AS
46153 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46154 and internal_recvmmsg.
46155 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46156 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46157 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46158 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46159
f0ccf6ea
AS
46160 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46161 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46162 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46163
5b08ac57
AS
461642010-05-20 Andreas Schwab <schwab@redhat.com>
46165
46166 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46167
4828935d
LM
461682010-05-17 Luis Machado <luisgpm@br.ibm.com>
46169
46170 POWER7 optimizations.
46171 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46172 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46173
373d545e
UD
461742010-05-19 Ulrich Drepper <drepper@redhat.com>
46175
46176 * version.h: Update for 2.13 development version.
46177
21a2b1ae
AS
461782010-05-12 Andrew Stubbs <ams@codesourcery.com>
46179
46180 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46181 exceptions. Return 0.
46182
3f7dcb2b
RM
461832010-05-07 Roland McGrath <roland@redhat.com>
46184
46185 * elf/ldconfig.c (main): Add a const.
46186
5f24d53a 461872010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 46188
a160f8d8
UD
46189 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46190 (args_options): Add no-idn option.
46191 (ahosts_keys_int): Add idn_flags to ai_flags.
46192 (parse_option): Handle 'i' option to clear idn_flags.
46193
5f24d53a
UD
46194 * malloc/malloc.c (_int_free): Possible race in the most recently
46195 added check. Only act on the data if no current modification
46196 happened.
265bb1ce
UD
46197
46198See ChangeLog.17 for earlier changes.