]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
ChangeLog fix
[thirdparty/glibc.git] / ChangeLog
CommitLineData
b7aa8caa
AK
12014-06-13 Andi Kleen <ak@linux.intel.com>
2
3 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
4 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
5 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
6 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
7 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
8 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
9 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
12 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
13 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
14 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
15 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
16 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
17 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
18 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
19 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
20 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
21 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
22 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
23
8491ed6d
AK
242014-06-13 Andi Kleen <ak@linux.intel.com>
25
26 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
27 (pthread_rwlock_rdlock): Add elision.
28 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
29 (pthread_rwlock_wrlock): Add elision.
30 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
31 (pthread_rwlock_trywrlock): Add elision.
32 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
33 (pthread_rwlock_tryrdlock): Add elision.
34 * nptl/pthread_rwlock_unlock.c: Include elide.h.
35 (pthread_rwlock_tryrdlock): Add elision unlock.
36 * nptl/sysdeps/pthread/pthread.h:
37 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
38 (PTHREAD_RWLOCK_INITIALIZER,
39 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
40 Handle new elision field.
41 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
42 * sysdeps/arm/nptl/bits/pthreadtypes.h
43 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44 * sysdeps/sh/nptl/bits/pthreadtypes.h
45 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
46 * sysdeps/tile/nptl/bits/pthreadtypes.h
47 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
48 * sysdeps/a/nptl/bits/pthreadtypes.h
49 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
51 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
52 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
53 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
54 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
55 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
56 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
57 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
58 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
59 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
60 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
61 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
62 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
63 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
64 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
65 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
66 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
67 (elision_init): Set try_xbegin to zero when no RTM.
68 * sysdeps/x86/nptl/bits/pthreadtypes.h
69 (pthread_rwlock_t): Change __pad1 to __rwelision.
70 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
71
a832bdd3
AK
722014-06-13 Andi Kleen <ak@linux.intel.com>
73
74 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
75 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
76 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
77 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
78
995a46bb
MI
792014-06-13 Meador Inge <meadori@codesourcery.com>
80
81 [BZ #16996]
03ed7738 82 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
83 that the cached result has been set before returning it.
84
45262aee
RM
852014-06-12 Roland McGrath <roland@hack.frob.com>
86
febf6cc5
RM
87 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
88 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
89 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
90 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
91 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
92 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
93
e2682246
RM
94 * nptl/sysdeps/sparc/Makefile: Moved ...
95 * sysdeps/sparc/nptl/Makefile: ... here.
96 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
97 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
98 * nptl/sysdeps/sparc/tls.h: Moved ...
99 * sysdeps/sparc/nptl/tls.h: ... here.
100 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
101 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
102 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
103 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
104 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
105 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
106 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
107 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
108 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
109 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
110 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
111 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
112 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
113 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
114 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
115 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
116 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
117 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
118 Update #include.
119 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
120 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
121 Update #include.
122 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
123 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
124 Update #include.
125 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
126 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
127 Update #include.
128
b0725f43
RM
129 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
130
b14368b8
RM
131 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
132 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
133
c5620eb3
RM
134 * sysdeps/pthread/posix-timer.h: Include <list.h>.
135 (struct list_links): Type removed.
136 (struct thread_node, struct timer_node): Replace struct list_links
137 with struct list_head.
138 (list_unlink_ip): Likewise.
139 * sysdeps/pthread/timer_routines.c
140 (timer_free_list, thread_free_list, thread_active_list): Likewise.
141 (list_append, list_insbefore): Likewise.
142 (list_init): Function removed.
143 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
144 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
145 * sysdeps/pthread/Makefile: ... here, new file.
146
147 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
148 * sysdeps/nptl/Implies: ... here.
149 * sysdeps/unix/sysv/linux/Implies: Add nptl.
150 * nptl/sysdeps/pthread/list.h: Moved ...
151 * include/list.h: ... here.
152 * nptl/sysdeps/pthread/createthread.c: Moved ...
153 * nptl/createthread.c: ... here.
154 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
155 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
156 * nptl/pt-longjmp.c: ... here.
157 * nptl/sysdeps/pthread/Makefile: Moved ...
158 * sysdeps/nptl/Makefile: ... here.
159 * nptl/sysdeps/pthread/Subdirs: Moved ...
160 * sysdeps/nptl/Subdirs: ... here.
161 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
162 * sysdeps/nptl/aio_misc.h: ... here.
163 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
164 * sysdeps/nptl/bits/libc-lock.h: ... here.
165 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
166 * sysdeps/nptl/bits/libc-lockP.h: ... here.
167 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
168 * sysdeps/nptl/bits/stdio-lock.h: ... here.
169 * nptl/sysdeps/pthread/configure: Moved ...
170 * sysdeps/nptl/configure: ... here.
171 * nptl/sysdeps/pthread/configure.ac: Moved ...
172 * sysdeps/nptl/configure.ac: ... here.
173 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
174 * sysdeps/nptl/gai_misc.h: ... here.
175 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
176 * sysdeps/nptl/librt-cancellation.c: ... here.
177 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
178 * sysdeps/nptl/malloc-machine.h: ... here.
179 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
180 * sysdeps/nptl/pthread-functions.h: ... here.
181 * nptl/sysdeps/pthread/pthread.h: Moved ...
182 * sysdeps/nptl/pthread.h: ... here.
183 * nptl/sysdeps/pthread/setxid.h: Moved ...
184 * sysdeps/nptl/setxid.h: ... here.
185 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
186 * sysdeps/nptl/sigfillset.c: ... here.
187 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
188 * sysdeps/nptl/tcb-offsets.h: ... here.
189 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
190 * sysdeps/nptl/tst-mqueue8x.c: ... here.
191 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
192 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
193 * nptl/sysdeps/pthread/allocalim.h: Moved ...
194 * sysdeps/pthread/allocalim.h: ... here.
195 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
196 * sysdeps/pthread/bits/sigthread.h: ... here.
197 * nptl/sysdeps/pthread/flockfile.c: Moved ...
198 * sysdeps/pthread/flockfile.c: ... here.
199 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
200 * sysdeps/pthread/ftrylockfile.c: ... here.
201 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
202 * sysdeps/pthread/funlockfile.c: ... here.
203 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
204 * sysdeps/pthread/posix-timer.h: ... here.
205 * nptl/sysdeps/pthread/timer_create.c: Moved ...
206 * sysdeps/pthread/timer_create.c: ... here.
207 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
208 * sysdeps/pthread/timer_delete.c: ... here.
209 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
210 * sysdeps/pthread/timer_getoverr.c: ... here.
211 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
212 * sysdeps/pthread/timer_gettime.c: ... here.
213 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
214 * sysdeps/pthread/timer_routines.c: ... here.
215 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
216 * sysdeps/pthread/timer_settime.c: ... here.
217 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
218 * sysdeps/pthread/tst-timer.c: ... here.
219 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
220 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
221
e876b090
RM
222 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
223 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
224
f6b07b3d
RM
225 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
226 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
227 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
228 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
229 Update #include target.
230 * nptl/sysdeps/i386/i686/Makefile: Moved ...
231 * sysdeps/i386/i686/nptl/Makefile: ... here.
232 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
233 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
234 Update #include target.
235 * nptl/sysdeps/i386/i686/tls.h: Moved ...
236 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
237 * nptl/sysdeps/i386/Makefile: Moved ...
238 * sysdeps/i386/nptl/Makefile: ... here.
239 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
240 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
241 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
242 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
243 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
244 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
245 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
246 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
247 * sysdeps/i386/nptl/pthreaddef.h: ... here.
248 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
249 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
250 * nptl/sysdeps/i386/tls.h: Moved ...
251 * sysdeps/i386/nptl/tls.h: ... here.
252
45262aee
RM
253 * sysdeps/sh/Makefile [$(subdir) = csu]
254 (gen-as-const-headers): Add tcb-offsets.sym.
255 * nptl/sysdeps/sh/Makefile: File removed.
256 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
257 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
258 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
259 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
260 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
261 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
262 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
263 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
264 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
265 * sysdeps/sh/nptl/pthreaddef.h: ... here.
266 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
267 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
268 * nptl/sysdeps/sh/tls.h: Moved ...
269 * sysdeps/sh/nptl/tls.h: ... here.
270 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
271 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
272 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
273 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
274 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
275 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
276 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
277 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
278 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
279 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
280 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
281 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
282 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
283 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
284 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
285 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
286 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
287 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
288 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
289 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
290 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
291 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
292 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
293 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
294 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
295 Moved ...
296 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
297 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
298 Moved ...
299 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
300 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
301 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
302 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
303 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
304 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
305 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
306 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
307 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
308 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
309 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
310 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
311 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
312 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
313 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
314 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
315 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
316 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
317 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
318
35a5e3e3
SL
3192014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
320
321 * posix/spawn_faction_addopen.c: Include string.h.
322
14642b85
RM
3232014-06-11 Roland McGrath <roland@hack.frob.com>
324
325 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
326 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
327 * nptl/sysdeps/x86_64/Makefile: Moved ...
328 * sysdeps/x86_64/nptl/Makefile: ... here.
329 * nptl/sysdeps/x86_64/configure: Moved ...
330 * sysdeps/x86_64/nptl/configure: ... here.
331 * nptl/sysdeps/x86_64/configure.ac: Moved ...
332 * sysdeps/x86_64/nptl/configure.ac: ... here.
333 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
334 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
335 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
336 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
337 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
338 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
339 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
340 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
341 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
342 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
343 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
344 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
345 * nptl/sysdeps/x86_64/tls.h: Moved ...
346 * sysdeps/x86_64/nptl/tls.h: ... here.
347 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
348 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
349 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
350 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
351
352 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
353
31c44fea
AZ
3542014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
355
356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
357
e81a4f9a
JM
3582014-06-11 Joseph Myers <joseph@codesourcery.com>
359
360 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
361 type.
362 [POSIX] (off_t): Likewise.
363 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
364 [POSIX] (S_ISBLK): Require macro.
365 [POSIX] (S_ISCHR): Likewise.
366 [POSIX] (S_ISDIR): Likewise.
367 [POSIX] (S_ISFIFO): Likewise.
368 [POSIX] (S_ISREG): Likewise.
369 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
370 optional-macro.
371 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
372 type.
373 [POSIX] (time_t): Likewise.
374 [POSIX] (timer_t): Likewise.
375
89e435f3
FW
3762014-06-11 Florian Weimer <fweimer@redhat.com>
377
378 [BZ #17048]
379 * posix/spawn_int.h (struct __spawn_action): Make the path string
380 non-const to support deallocation.
381 * posix/spawn_faction_addopen.c
382 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
383 * posix/spawn_faction_destroy.c
384 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
385 path in all spawn_do_open actions.
386 * posix/tst-spawn.c (do_test): Exercise the copy operation in
387 posix_spawn_file_actions_addopen.
388
c3a2ebe1
CM
3892014-06-11 Chris Metcalf <cmetcalf@tilera.com>
390
391 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
392 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
393 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
394 conditional code always true.
395 (__libc_vfork): New alias.
396
9503784a
RM
3972014-06-11 Roland McGrath <roland@hack.frob.com>
398
c9cab3d2
RM
399 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
400 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
401
d3996c79
RM
402 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
403
ba5ec611
RM
404 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
405 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
406
f12b4814
RM
407 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
408 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
409
9503784a
RM
410 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
411 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
412
e23d3d26
VR
4132014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
414
415 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
416 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
417 multiarch strcmp for PPC64.
418 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
419 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
420 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
421 multiarch optimizations.
422 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
423 (__libc_ifunc_impl_list): Likewise.
424
42b1161e
SP
4252014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
426
427 * benchtests/scripts/validate_benchout.py: New script.
428 * benchtests/Makefile (bench-func): Call it.
429 * benchtests/scripts/benchout.schema.json: New file.
430
2d0fc4dc
CM
4312014-06-10 Chris Metcalf <cmetcalf@tilera.com>
432
4a594c34
AZ
433 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
434 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
435 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
436 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
437 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
438 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
439 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
440 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
441 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
442 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
443 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
444 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
445 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
446 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
447 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
448 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
449 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 450 Moved ...
4a594c34 451 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 452 ... here.
4a594c34 453 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 454 Moved ...
4a594c34
AZ
455 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
456 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 457 Moved ...
4a594c34 458 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 459 ... here.
4a594c34 460 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 461 Moved ...
4a594c34 462 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 463 ... here.
4a594c34 464 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 465 Moved ...
4a594c34
AZ
466 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
467 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 468 Moved ...
4a594c34 469 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 470 ... here.
4a594c34 471 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 472 Moved ...
4a594c34 473 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 474 ... here.
4a594c34 475 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 476 Moved ...
4a594c34
AZ
477 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
478 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 479 Moved ...
4a594c34 480 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 481 ... here.
4a594c34 482 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 483 Moved ...
4a594c34 484 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 485 ... here.
4a594c34 486 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 487 Moved ...
4a594c34 488 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 489 ... here.
4a594c34 490 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 491 Moved ...
4a594c34
AZ
492 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
493 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 494 Moved ...
4a594c34 495 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 496 ... here.
4a594c34 497 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 498 Moved ...
4a594c34 499 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 500 ... here.
4a594c34 501 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 502 Moved ...
4a594c34 503 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 504 ... here.
4a594c34 505 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 506 Moved ...
4a594c34
AZ
507 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 509 Moved ...
4a594c34 510 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 511 ... here.
4a594c34 512 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 513 Moved ...
4a594c34 514 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 515 ... here.
4a594c34 516 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 517 Moved ...
4a594c34
AZ
518 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
519 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 520 Moved ...
4a594c34 521 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 522 ... here.
4a594c34 523 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 524 Moved ...
4a594c34
AZ
525 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
526 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 527 Moved ...
4a594c34
AZ
528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
529 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 530 Moved ...
4a594c34 531 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 532 ... here.
4a594c34 533 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 534 Moved ...
4a594c34 535 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 536 ... here.
4a594c34 537 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 538 Moved ...
4a594c34 539 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 540 ... here.
4a594c34 541 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 542 Moved ...
4a594c34
AZ
543 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
544 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 545 Moved ...
4a594c34 546 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 547 ... here.
4a594c34 548 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 549 Moved ...
4a594c34 550 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 551 ... here.
4a594c34
AZ
552 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
553 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
554 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
555 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
556 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 557 Moved ...
4a594c34 558 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 559 ... here.
4a594c34
AZ
560 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
561 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
562 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
563 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
564 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
565 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
566 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
567 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
568 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
569 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
570 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
571 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
572 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 573 Moved ...
4a594c34
AZ
574 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
575 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 576 Moved ...
4a594c34
AZ
577 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
578 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
579 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
580 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 581 Moved ...
4a594c34
AZ
582 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
583 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
584 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
585 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
586 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
587 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
588 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 589
0570cfed
W
5902014-06-10 Wilco <wdijkstr@arm.com>
591
592 * math/test-fenv-return.c: New file.
593 * math/Makefile: Add new test test-fenv-return.
594
f8ba1b56
JM
5952014-06-10 Joseph Myers <joseph@codesourcery.com>
596
597 [BZ #17042]
598 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
599 when x - 1 is zero.
600 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
601 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
602 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
603 0.0L for an argument of 1.0L.
604 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
605 Likewise.
606 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
607 value when x - 1 is zero.
608 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
609 * sysdeps/i386/fpu/libm-test-ulps: Update.
610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
611
2c3520d9
BO
6122014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
613
614 [BZ #15119]
615 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
616
acaa4d24
RM
6172014-06-09 Roland McGrath <roland@hack.frob.com>
618
619 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
620 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
621
962b744d
RM
6222014-06-09 Roland McGrath <roland@hack.frob.com>
623
d752f0cc
RM
624 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
625 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
626
34eda6d1
RM
627 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
628 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
629
50f0a637
RM
630 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
631 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
632
08f41f04
RM
633 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
634 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
635
962b744d
RM
636 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
637 if not already defined.
638 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
639 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
640 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
641 (TLS_INIT_TP): Use it.
642 (TLS_DEFINE_INIT_TP): New macro.
643 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
644
09f19b05
JM
6452014-06-09 Joseph Myers <joseph@codesourcery.com>
646
647 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
648 constant.
649 [POSIX] (IXANY): Likewise.
650 [POSIX] (OLCUC): Likewise.
651 [POSIX || POSIX2008] (CBAUD): Do not allow.
652 [POSIX || POSIX2008] (DEFECHO): Likewise.
653 [POSIX || POSIX2008] (ECHOCTL): Likewise.
654 [POSIX || POSIX2008] (ECHOKE): Likewise.
655 [POSIX || POSIX2008] (ECHOPRT): Likewise.
656 [POSIX || POSIX2008] (EXTA): Likewise.
657 [POSIX || POSIX2008] (EXTB): Likewise.
658 [POSIX || POSIX2008] (FLUSHO): Likewise.
659 [POSIX || POSIX2008] (LOBLK): Likewise.
660 [POSIX || POSIX2008] (PENDIN): Likewise.
661 [POSIX || POSIX2008] (SWTCH): Likewise.
662 [POSIX || POSIX2008] (VDISCARD): Likewise.
663 [POSIX || POSIX2008] (VDSUSP): Likewise.
664 [POSIX || POSIX2008] (VLNEXT): Likewise.
665 [POSIX || POSIX2008] (VREPRINT): Likewise.
666 [POSIX || POSIX2008] (VSTATUS): Likewise.
667 [POSIX || POSIX2008] (VWERASE): Likewise.
668 (B*): Change to B[0123456789]*.
669 * conform/data/time.h-data [POSIX || UNIX98]
670 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
671 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
672 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
673 [POSIX] (tm_*): Do not allow.
674
686554bf
JM
6752014-06-07 Joseph Myers <joseph@codesourcery.com>
676
677 * Makefile (install): Don't set LANGUAGE.
678 * Makefile.in (install): Likewise.
679 * assert/Makefile (test-assert-ENV): Remove variable.
680 (test-assert-perr-ENV): Likewise.
681 * elf/Makefile (neededtest4-ENV): Likewise.
682 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
683 [$(cross-compiling) = no]: Don't set LANGUAGE.
684 * io/ftwtest-sh (LANG): Remove variable.
685 * libio/Makefile (tst-widetext-ENV): Likewise.
686 * manual/install.texi (Running make install): Don't refer to
687 environment settings for make install.
688 * INSTALL: Regenerated.
689 * nptl/tst-tls6.sh: Don't set LANG.
690 * posix/globtest.sh (LANG): Remove variable.
691 * string/Makefile (tester-ENV): Likewise.
692 (inl-tester-ENV): Likewise.
693 (noinl-tester-ENV): Likewise.
694 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
695 [$(cross-compiling) = no]: Don't set LANGUAGE.
696 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
697 without explicit environment settings.
698
68e6b6b1
RM
6992014-06-06 Roland McGrath <roland@hack.frob.com>
700
701 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
702 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
703 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
704 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
705
4d3ae034
CM
7062014-06-06 Chris Metcalf <cmetcalf@tilera.com>
707
708 * crypt/crypt-private.h [DOS]: Add some includes taken from the
709 other files in the crypt directory.
710 * crypt/crypt.c: Remove duplicate includes.
711 * crypt/crypt-entry.c: Likewise.
712 * crypt/crypt_util.c: Likewise.
713
8540f6d2
JM
7142014-06-06 Joseph Myers <joseph@codesourcery.com>
715
716 * Makeconfig (run-program-env): New variable.
717 (run-program-prefix-before-env): Likewise.
718 (run-program-prefix-after-env): Likewise.
719 (run-program-prefix): Define in terms of new variables.
720 (built-program-cmd-before-env): New variable.
721 (built-program-cmd-after-env): Likewise.
722 (built-program-cmd): Define in terms of new variables.
723 (test-program-prefix-before-env): New variable.
724 (test-program-prefix-after-env): Likewise.
725 (test-program-prefix): Define in terms of new variables.
726 (test-program-cmd-before-env): New variable.
727 (test-program-cmd-after-env): Likewise.
728 (test-program-cmd): Define in terms of new variables.
729 * Rules (make-test-out): Use $(run-program-env).
730 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
731 (help): Do not mention environment variables. Mention
732 --timeoutfactor option.
733 (timeoutfactor): New variable.
734 (blacklist_exports): Remove function.
735 (exports): Remove variable.
736 (command): Do not include ${exports}.
737 * manual/install.texi (Configuring and compiling): Do not mention
738 test wrappers preserving environment variables. Mention that last
739 assignment to a variable must take precedence.
740 * INSTALL: Regenerated.
741 * benchtests/Makefile (run-bench): Use $(run-program-env).
742 * catgets/Makefile ($(objpfx)test1.cat): Use
743 $(built-program-cmd-before-env), $(run-program-env) and
744 $(built-program-cmd-after-env).
745 ($(objpfx)test2.cat): Do not specify environment variables
746 explicitly.
747 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
748 $(run-program-env) and $(built-program-cmd-after-env).
749 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
750 $(run-program-env) and $(test-program-cmd-after-env).
751 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
752 explicitly.
753 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
754 run_program_env and test_program_cmd_after_env arguments.
755 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
756 * elf/tst-pathopt.sh: Use run_program_env argument.
757 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
758 $(test-wrapper-env) and $(run-program-env).
759 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
760 run_program_env arguments.
761 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
762 * intl/Makefile ($(objpfx)tst-gettext.out): Use
763 $(test-program-prefix-before-env), $(run-program-env) and
764 $(test-program-prefix-after-env).
765 ($(objpfx)tst-gettext2.out): Likewise.
766 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
767 run_program_env and test_program_prefix_after_env arguments.
768 * intl/tst-gettext2.sh: Likewise.
769 * intl/tst-gettext4.sh: Do not set environment variables
770 explicitly.
771 * intl/tst-gettext6.sh: Likewise.
772 * intl/tst-translit.sh: Likewise.
773 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
774 $(test-program-prefix-before-env), $(run-program-env) and
775 $(test-program-prefix-after-env).
776 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
777 run_program_env and test_program_prefix_after_env arguments.
778 * math/Makefile (run-regen-ulps): Use $(run-program-env).
779 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
780 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
781 explicitly with each use of ${test_wrapper_env}.
782 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
783 $(test-program-prefix-before-env), $(run-program-env) and
784 $(test-program-prefix-after-env).
785 * posix/tst-getconf.sh: Do not set environment variables
786 explicitly.
787 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
788 run_program_env and test_program_prefix_after_env arguments.
789 * stdio-common/tst-printf.sh: Do not set environment variables
790 explicitly.
791 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
792 $(test-program-prefix-before-env), $(run-program-env) and
793 $(test-program-prefix-after-env).
794 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
795 run_program_env and test_program_prefix_after_env arguments.
796 Split $test calls into $test_pre and $test.
797 * timezone/Makefile (build-testdata): Use
798 $(built-program-cmd-before-env), $(run-program-env) and
799 $(built-program-cmd-after-env).
800
ed36bfa1
AZ
8012014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
802
803 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
804 strlen for non SHARED builds.
805
fc75bf46
SP
8062014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
807
808 * nptl/allocatestack.c (check_list): Inlined function...
809 (__reclaim_stacks): ... here.
810
d89b3d80
OB
8112014-06-05 Ondřej Bílka <neleai@seznam.cz>
812
813 [BZ #15698]
814 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
815 memory overrun.
816
2bf18041
JM
8172014-06-05 Joseph Myers <joseph@codesourcery.com>
818
819 * Rules (make-test-out): Include
820 LOCPATH=$(common-objpfx)localedata in default environment.
821 * debug/Makefile (tst-chk1-ENV): Remove variable.
822 (tst-chk2-ENV): Likewise.
823 (tst-chk3-ENV): Likewise.
824 (tst-chk4-ENV): Likewise.
825 (tst-chk5-ENV): Likewise.
826 (tst-chk6-ENV): Likewise.
827 (tst-lfschk1-ENV): Likewise.
828 (tst-lfschk2-ENV): Likewise.
829 (tst-lfschk3-ENV): Likewise.
830 (tst-lfschk4-ENV): Likewise.
831 (tst-lfschk5-ENV): Likewise.
832 (tst-lfschk6-ENV): Likewise.
833 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
834 (tst-iconv7-ENV): Likewise.
835 * intl/Makefile (LOCPATH-ENV): Likewise.
836 (tst-codeset-ENV): Likewise.
837 (tst-gettext3-ENV): Likewise.
838 (tst-gettext5-ENV): Likewise.
839 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
840 (tst-fopenloc-ENV): Likewise.
841 (tst-fgetws-ENV): Remove variable.
842 (tst-ungetwc1-ENV): Likewise.
843 (tst-ungetwc2-ENV): Likewise.
844 (bug-ungetwc2-ENV): Likewise.
845 (tst-swscanf-ENV): Likewise.
846 (bug-ftell-ENV): Likewise.
847 (tst-fgetwc-ENV): Likewise.
848 (tst-fseek-ENV): Likewise.
849 (tst-ftell-partial-wide-ENV): Likewise.
850 (tst-ftell-active-handler-ENV): Likewise.
851 (tst-ftell-append-ENV): Likewise.
852 * posix/Makefile (tst-fnmatch-ENV): Likewise.
853 (tst-regexloc-ENV): Likewise.
854 (bug-regex1-ENV): Likewise.
855 (tst-regex-ENV): Likewise.
856 (tst-regex2-ENV): Likewise.
857 (bug-regex5-ENV): Likewise.
858 (bug-regex6-ENV): Likewise.
859 (bug-regex17-ENV): Likewise.
860 (bug-regex18-ENV): Likewise.
861 (bug-regex19-ENV): Likewise.
862 (bug-regex20-ENV): Likewise.
863 (bug-regex22-ENV): Likewise.
864 (bug-regex23-ENV): Likewise.
865 (bug-regex25-ENV): Likewise.
866 (bug-regex26-ENV): Likewise.
867 (bug-regex30-ENV): Likewise.
868 (bug-regex32-ENV): Likewise.
869 (bug-regex33-ENV): Likewise.
870 (bug-regex34-ENV): Likewise.
871 (bug-regex35-ENV): Likewise.
872 (tst-rxspencer-ENV): Likewise.
873 (tst-rxspencer-no-utf8-ENV): Likewise.
874 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
875 (tst-sscanf-ENV): Likewise.
876 (tst-swprintf-ENV): Likewise.
877 (tst-swscanf-ENV): Likewise.
878 (test-vfprintf-ENV): Likewise.
879 (scanf13-ENV): Likewise.
880 (bug14-ENV): Likewise.
881 (tst-grouping-ENV): Likewise.
882 * stdlib/Makefile (tst-strtod-ENV): Likewise.
883 (tst-strtod3-ENV): Likewise.
884 (tst-strtod4-ENV): Likewise.
885 (tst-strtod5-ENV): Likewise.
886 (testmb2-ENV): Likewise./
887 * string/Makefile (tst-strxfrm-ENV): Likewise.
888 (tst-strxfrm2-ENV): Likewise.
889 (bug-strcoll1-ENV): Likewise.
890 (test-strcasecmp-ENV): Likewise.
891 (test-strncasecmp-ENV): Likewise.
892 * time/Makefile (tst-strptime-ENV): Likewise.
893 (tst-ftime_l-ENV): Likewise.
894 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
895 (tst-mbrtowc-ENV): Likewise.
896 (tst-wcrtomb-ENV): Likewise.
897 (tst-mbrtowc2-ENV): Likewise.
898 (tst-c16c32-1-ENV): Likewise.
899 (tst-mbsnrtowcs-ENV): Likewise.
900
cd1fb604
OB
9012014-06-05 Ondřej Bílka <neleai@seznam.cz>
902
903 * manual/resource.texi (How to get information about the memory
904 subsystem?): Fix typo.
905 Reported by Peon de la Parra Ivan <peon@keba.com>
906
b42eca7d
GY
9072014-06-03 Guo Yixuan <culu.gyx@gmail.com>
908
909 [BZ #16882]
910 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
911 (pthread_spin_lock): Branch out of spin loop to proper location.
912 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
913 (pthread_spin_lock): Likewise.
914
902b71f9
DM
915 * nptl/tst-spin4.c: New test.
916 * nptl/Makefile (tests): Add tst-spin4.
917
f9d2d032
AS
9182014-06-03 Andreas Schwab <schwab@suse.de>
919
920 [BZ #15946]
921 * resolv/res_send.c (send_dg): Reload file descriptor after
922 calling reopen.
923
cf7bfd28
SL
9242014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
925
926 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
927
111cc714
RH
9282014-06-03 Richard Henderson <rth@redhat.com>
929
89b4bd6b
RH
930 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
931 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
932 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
933 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
934 in the SAVE_PID block.
935 (__libc_vfork): New alias.
71840409 936 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 937
111cc714
RH
938 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
939 child in registers, not on the stack. Remove RESET_PID conditionals.
940 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
941
ccc39911
MS
9422014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
943
944 * sysdeps/aarch64/libm-test-ulps: Regenerate.
945
693096cc
W
9462014-06-03 Wilco <wdijkstr@arm.com>
947
948 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
949 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
950 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
951 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
952 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
953 Likewise.
954
0b4366bc
W
9552014-06-03 Wilco <wdijkstr@arm.com>
956
957 * sysdeps/aarch64/fpu/math_private.h
958 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
959 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
960 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
961 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
962 Fix declarations.
963
8747cd03
KS
9642014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
965
966 * crypt/crypt-private.h: Include ufc-crypt.h.
967 (__b64_from_24bit): Declare extern.
968 * crypt/crypt_util.c(__b64_from_24bit): New function.
969 (b64t): New static const variable.
970 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
971 (b64t): Remove variable.
972 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
973 * crypt/sha256-crypt.c: Include crypt-private.h.
974 (b64t): Remove variable.
975 (__sha256_crypt_r): Remove b64_from_24bit and replace
976 with __b64_from_24bit.
977 * crypt/sha512-crypt.c: Likewise.
978
d936d379
RM
9792014-06-02 Roland McGrath <roland@hack.frob.com>
980
981 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
982 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
983 Label the code __libc_vfork rather than __vfork.
984 [!NOT_IN_libc] (vfork): Define as weak alias.
985 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
986 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
987 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
988
9fa76613
SP
9892014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
990
991 * malloc/malloc.c (malloc_info): Fix format specifier for
992 n_mmaps.
993
a88dadbe
W
9942014-06-02 Wilco <wdijkstr@arm.com>
995
996 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
997 FPCR write.
998
c95b3011
W
9992014-06-02 Wilco <wdijkstr@arm.com>
1000
1001 [BZ #17009]
1002 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1003 Rewrite to reduce FPCR/FPSR accesses.
1004
6b4d7a90
DM
10052014-06-01 David S. Miller <davem@davemloft.net>
1006
1007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1008
30f3d07c
DM
10092014-05-31 David S. Miller <davem@davemloft.net>
1010
1011 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1012 to occur in round to nearest mode when |x| >= 2.0
1013
74f31c18
RH
10142014-05-30 Richard Henderson <rth@twiddle.net>
1015
f0712b54
RH
1016 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1017 (PSEUDO_RET_NOERRNO): Remove.
1018 (ret): Don't redefine.
1019 (ret_NOERRNO): Define in terms of ret.
1020 (ret_ERRVAL): Likewise.
1021
74f31c18
RH
1022 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1023 use of PSEUDO_RET; perform the error check directly.
1024
30477995
MM
10252014-05-30 Marko Myllynen <myllynen@redhat.com>
1026
1027 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1028 with __int128_t.
1029
62a58816
SP
10302014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1031
1032 * malloc/malloc (malloc_info): Fix formatting.
1033
4d653a59
SP
10342014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1035 Roland McGrath <roland@hack.frob.com>
1036
1037 * malloc/malloc (malloc_info): Also print mmapped statistics.
1038
5190c17f
RM
10392014-05-30 Roland McGrath <roland@hack.frob.com>
1040
1041 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1042 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1043
987c0269
OB
10442014-05-30 Ondřej Bílka <neleai@seznam.cz>
1045
1046 * malloc/malloc.c (malloc_info): Inline mi_arena.
1047
af4e8ef9
RH
10482014-05-29 Richard Henderson <rth@twiddle.net>
1049
1670e207
RH
1050 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1051 Remove comma before expanding ASM_ARGS_##nr.
1052 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1053 Make _x0 a strict output; make _x8 a strict input; adjust expansion
1054 of ASM_ARGS_##nr.
1055 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1056 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1057 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1058 (ASM_ARGS_1): Add leading comma.
1059
11a28aee
RH
1060 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1061 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1062 to __errno_location.
1063 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1064 Remove the expected plt for __errno_location.
1065
a17e5ffb 1066 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 1067 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
1068 call to __read_tp.
1069
b5be4597
RH
1070 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1071 Always allocate 64 bytes of stack frame. Use ldp/stp to create
1072 it and break it down.
1073 (DOCARGS_0, DOCARGS_1): Do nothing.
1074 (DOCARGS_2): Update to store into the new stack frame.
1075 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1076 (UNDOCARGS_1): Update to restore from the new stack frame.
1077 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1078 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1079
645d44ab
RH
1080 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1081 (SINGLE_THREAD_P): New parameter for result regno.
1082 (PSEUDO): Update to match; use cbz instead of beq.
1083
a8b4f04a
RH
1084 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1085 Use ENTRY to define the _nocancel entry point. Share the syscall
1086 and syscall error check paths with the cancel path.
1087 (PSEUDO_END): New.
1088
af4e8ef9
RH
1089 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1090 whitespace; tabs before and after asm mnemonics.
1091
26b0d2e1
EW
10922014-05-29 Eric Wong <normalperson@yhbt.net>
1093
1094 [BZ #15132]
1095 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1096 Call fstat64 or stat64 internally, depending on arguments passed.
1097 Replace stat buffer argument with file descriptor argument.
1098 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1099 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1100 Pass fd to __internal_statvfs instead of calling fstat64.
1101 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1102 Pass fd to __internal_statvfs64 instead of calling fstat64.
1103 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1104 Pass -1 to __internal_statvfs instead of calling stat64.
1105 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1106 Pass -1 to __internal_statvfs64 instead of calling stat64.
1107
1efe2bd9
RM
11082014-05-28 Roland McGrath <roland@hack.frob.com>
1109
0d3b7a19
RM
1110 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1111 that was previously under [RESET_PID].
1112 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1113
1efe2bd9
RM
1114 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1115 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1116
a6bea3ca
RM
11172014-05-27 Roland McGrath <roland@hack.frob.com>
1118
30b6629e
RM
1119 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1120
a6bea3ca
RM
1121 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1122 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1123
3dfb9a5c
OB
11242014-05-27 Ondřej Bílka <neleai@seznam.cz>
1125
1126 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1127
774f9285
AS
11282014-05-27 Andreas Schwab <schwab@suse.de>
1129
1130 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1131 TLS_INIT_TP macro.
1132 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1133 * elf/rtld.c (init_tls, dl_main): Likewise.
1134 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1135 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1136 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1137 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1138 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1139 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1140 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1141 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1142 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1143 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1144 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1145 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1146 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1147 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1148 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1149 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1150 * sysdeps/generic/tls.h: Update description.
1151
36ffe739
WN
11522014-05-27 Will Newton <will.newton@linaro.org>
1153
1154 [BZ #16990]
1155 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1156 and restore r2 rather than just restoring.
1157
2482ae43
SP
11582014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1159
1160 [BZ #16724]
1161 * libio/tst-ftell-append.c: New test case.
1162 * libio/Makefile (tests): Add test case.
1163 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1164 append mode.
1165 * libio/wfileops.c (do_ftell_wide): Likewise.
1166
3d1024e8
AZ
11672014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1168
bab90016
AZ
1169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1170
c7a8d667
AZ
1171 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1172 ...
1173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1175 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1176 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1177 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1178 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1179 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1180 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1181 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1182 Moved ...
1183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1184 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1185 Moved ...
1186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1187 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1188 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1189 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1190 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1191 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1192 ...
1193 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1194 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1195 Moved ...
1196 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1197 here.
1198 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1199 ...
1200 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1201 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1202 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1203
daee7851
AZ
1204 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1205 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1206 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1207 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1208
50a40819
AZ
1209 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1210 merge into ...
1211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1212 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1213 ...
1214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1215 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1216 ...
1217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1218 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1219 Moved ...
1220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1221 here.
1222 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1223 Moved ...
1224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1225 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1226 Moved ...
1227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1228
8464c2a1
AZ
1229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1230 conditional [RESET_PID].
1231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1232 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1233 removed.
1234 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1235 removed.
1236
3d1024e8
AZ
1237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1238 <tcb-offsets.h>.
1239 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1240 (__libc_vfork): New strong alias.
1241 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1242 removed.
1243 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1244 Removed.
1245
1246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1247 <tcb-offsets.h>.
1248 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1249 (__libc_vfork): New strong alias.
1250 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1251 removed.
1252 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1253 removed.
1254
fdfd175d
CD
12552014-05-26 Carlos O'Donell <carlos@redhat.com>
1256
1257 * malloc/malloc.c (mi_arena): New function.
1258 (malloc_info): Remove nested function mi_arena. Call non-nosted
1259 function mi_arena.
1260
d298c416
AZ
12612014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1262
1263 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1264 by insrwi.
1265 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1266 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1267 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1268 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1269 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1270 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1271 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1272
b60ea6ff
AS
12732014-05-26 Andreas Schwab <schwab@suse.de>
1274
1275 [BZ #16984]
1276 * locale/programs/repertoire.c (repertoire_read): Add slash
1277 between I18NPATH element and file name.
1278 * locale/programs/locfile.c (locfile_read): Likewise.
1279
67365926
SL
12802014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1281
1282 * nptl/pthread_mutexattr_settype.c
1283 (__pthread_mutexattr_settype):
1284 Disable lock elision for PTHREAD_MUTEX_NORMAL.
1285
f8bdf1f0
SL
12862014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1287
1288 * nptl/tst-mutex5 (do_test):
1289 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1290
15eaf6ff
SP
12912014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1292
1293 * benchtests/README: Document 'init' directive.
1294 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1295 BENCH_INIT.
1296 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1297 (parse_file): Recognize 'init' directive.
1298
75f11331
KM
12992014-05-26 Kyle McMartin <kyle@redhat.com>
1300
1301 [BZ #16796]
1302 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1303 alignment of struct pthread.
1304
c3ec475c
SP
13052014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1306
1307 [BZ #16878]
1308 * nscd/netgroupcache.c (addgetnetgrentX): Look for
1309 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1310 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1311 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1312
82aab97c
RH
13132014-05-25 Richard Henderson <rth@twiddle.net>
1314
aa2f176d
RH
1315 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1316 (SINGLE_THREAD_P_PIC): Remove.
1317 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1318 (SINGLE_THREAD_P_PIC): Remove.
1319
ca3cfa40
RH
1320 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1321 branch to syscall error ...
1322 (PSEUDO): ... here.
1323 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1324 from __local_syscall_error to .Lsyscall_error.
1325 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1326 (SYSCALL_ERROR): Update label name.
1327
6e6c2d01
RH
1328 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1329 Do not use DOARGS/UNDOARGS.
1330 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1331 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1332 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1333 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1334 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1335
c69abcee
RH
1336 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1337 block comment.
1338
82aab97c
RH
1339 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1340 define if !NOT_IN_libc.
1341 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1342 define with non-default symbol versions.
1343
8820e3ac
RH
13442014-05-23 Richard Henderson <rth@twiddle.net>
1345
900e445f
RH
1346 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1347 (vfork, __vfork): Define via compat_symbol.
1348
8820e3ac
RH
1349 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1350 [!HAVE_IFUNC] (vfork_compat): Remove.
1351 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1352
e59252a5
JM
13532014-05-23 Joseph Myers <joseph@codesourcery.com>
1354
1355 [BZ #16978]
1356 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1357 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1358 variable.
1359
132c7f5f
RH
13602014-05-23 Richard Henderson <rth@twiddle.net>
1361
bc89e962
RH
1362 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1363 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1364 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1365 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1366
1367 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1368 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1369 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1370 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1371 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1372 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1373 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1374 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1375 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1376 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1377 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1378 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1379 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1380 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1381 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1382 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1383 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1384 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1385 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1386 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1387 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1388 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1389 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1390 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1391 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1392 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1393 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1394 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1395 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1396 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1397 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1398 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1399 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1400 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1401 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1402 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1403 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1404 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1405 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1406 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1407 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1408 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1409 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1410 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1411 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1412 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1413 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1414 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1415 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1416 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1417 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1418 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1419 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1420 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1421 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1422 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1423
e2fa4bc2
RH
1424 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1425 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1426 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
1427 before exiting on error.
1428 (__libc_vfork): New strong alias.
1429 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1430 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1431
279b24e2
RH
1432 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1433 that was previously under [RESET_PID].
1434 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1435
132c7f5f
RH
1436 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1437
b72592e7
JM
14382014-05-23 Joseph Myers <joseph@codesourcery.com>
1439
1440 [BZ #16977]
1441 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
1442 value when x - 1 is zero.
1443 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
1444 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1445 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
1446 0.0L for an argument of 1.0L.
1447 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
1448 Likewise.
1449 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
1450 value when x - 1 is zero.
1451 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
1452 * sysdeps/i386/fpu/libm-test-ulps: Update.
1453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1454
2302d679
RV
14552014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1456
1457 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
1458 alphasort and versionsort.
1459
32999d63
AZ
14602014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1461
1462 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
1463 macro.
1464 [copysignf]: Likewise.
1465
019324d0
SP
14662014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1467
1468 * crypt/md5-crypt.c: Fix formatting.
1469
34fff5c2
KS
14702014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1471
1472 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
1473 (b64_from_24bit): New function.
1474
3d2badac
AZ
14752014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1476
1477 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
1478 libc_hidden_builtin_def to ifunc.
1479 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1480 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
1481
f7bb179f 14822014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
1483
1484 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
1485 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
1486
4134b50d
JM
14872014-05-21 Joseph Myers <joseph@codesourcery.com>
1488
bb7d0337
JM
1489 * nscd/Depend (linuxthreads): Remove.
1490 (nptl): Add.
1491 * resolv/Depend (linuxthreads): Remove.
1492 * rt/Depend (linuxthreads): Remove.
1493
4134b50d
JM
1494 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
1495 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
1496 $(common-objpfx)elf/.
1497 (link-libc-before-gnulib): Likewise.
1498 (elfobjdir): Remove variable.
1499 * Makefile (install): Use $(elf-objpfx) instead of
1500 $(common-objpfx)elf/.
1501 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
1502 $(elfobjdir)/.
1503 (link-libc-deps): Likewise.
1504 ($(common-objpfx)libc.so): Likewise.
1505 ($(common-objpfx)linkobj/libc.so): Likewise.
1506 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
1507 instead of $(common-objpfx)elf/.
1508 (symbolic-link-list): Likewise.
1509 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1510 [$(cross-compiling) = no]: Likewise.
1511 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
1512 $(elfobjdir)/.
1513 (static-gnulib-arch): Likewise.
1514 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1515 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
1516 $(common-objpfx)elf/.
1517
3612eb8f
RH
15182014-05-21 Richard Henderson <rth@redhat.com>
1519
a6b3657b
RH
1520 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1521 (SINGLE_THREAD_P): Use the correct width load. Fold
1522 into the ldr offset.
1523
3612eb8f
RH
1524 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
1525 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
1526
175cef41
JM
15272014-05-20 Joseph Myers <joseph@codesourcery.com>
1528
1529 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
1530 (libgcc_s_resume): Use __attribute_used__.
1531 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
1532 Likewise.
1533
e13bccd3
AZ
15342014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1535
1536 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
1537 optimization when used with float constants.
1538
7c112a38
AZ
1539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1540
ae75a883
AJ
15412014-05-20 Aurelien Jarno <aurelien@aurel32.net>
1542
1543 [BZ #16915]
1544 * locale/nl_langinfo_l.c: Make direct reference to every
1545 _nl_current_CATEGORY symbol.
1546 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
1547 (tests-static): Add tst-langinfo-static.
1548 (tests-special): Add tst-langinfo-static.out.
1549 ($(objpfx)tst-langinfo.out): Redirect output.
1550 ($(objpfx)tst-langinfo-static.out): New.
1551 * localedata/tst-langinfo.sh: Send output to stdout.
1552 * localedata/tst-langinfo-static.c: New file.
1553
4406c41c
AJ
1554 [BZ #16965]
1555 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
1556 when the shift amount is modulo the limb size.
1557
4c0a1e63
RH
15582014-05-20 Richard Henderson <rth@redhat.com>
1559
de9d8f20
RH
1560 [BZ #16967]
1561 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
1562 Change type of sa_flags from unsigned int to int.
1563
4c0a1e63
RH
1564 [BZ #16966]
1565 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
1566
1567 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
1568
a60339aa
WN
15692014-05-20 Will Newton <will.newton@linaro.org>
1570
1571 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1572 Test the return value of the system call in the nocancel case.
1573
7d05a816
YR
15742014-05-20 Will Newton <will.newton@linaro.org>
1575 Yvan Roux <yvan.roux@linaro.org>
1576
1577 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
1578 #include of asm/ptrace.h.
1579 (PTRACE_GET_THREAD_AREA): Remove #undef.
1580 (PTRACE_GETHBPREGS): Likewise.
1581 (PTRACE_SETHBPREGS): Likewise.
1582 (struct user_regs_struct): New structure.
1583 (struct user_fpsimd_struct): New structure.
1584 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
1585 #include of asm/ptrace.h and second #include of sys/user.h.
1586 (PTRACE_GET_THREAD_AREA): Remove #undef.
1587 (PTRACE_GETHBPREGS): Likewise.
1588 (PTRACE_SETHBPREGS): Likewise.
1589 (ELF_NGREG): Use new struct user_regs_struct.
1590 (elf_fpregset_t): Use new struct user_fpsimd_struct.
1591
af121e37
AZ
15922014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1593
1594 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
1595 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
1596
834caf06
JM
15972014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1598
1599 [BZ #16958]
1600 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
1601 membar to avoid block loads/stores to overlap previous stores.
1602
e184a918
RH
16032014-05-17 Richard Henderson <rth@redhat.com>
1604
1605 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
1606 Create the __##syscall_name##_nocancel entry point.
1607 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
1608 Remove; let the sysdep-cancel.h code create it.
1609
f56c7a6a
DM
16102014-05-17 David S. Miller <davem@davemloft.net>
1611
1612 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
1613 Protect with __USE_GNU.
1614 (TIOCSET_TEMPT): Likewise.
1615 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1616 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
1617 these are already provided in bits/ioctl-types.h
1618
f75616b2
RM
16192014-05-16 Roland McGrath <roland@hack.frob.com>
1620
3edeca86
RM
1621 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
1622 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
1623
f75616b2
RM
1624 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
1625 Use wait4 regardless of [__NR_waitpid].
1626
deb0f7f6
MR
16272014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1628
1629 PR libgcc/60166
1630 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1631 (_FP_NANSIGN_Q): Set the quiet bit.
1632
79520f4b
JM
16332014-05-16 Joseph Myers <joseph@codesourcery.com>
1634
1635 * benchtests/Makefile
1636 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
1637 not $(common-objpfx)math/libm.so.
1638 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
1639 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
1640 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
1641 $(common-objpfx)dlfcn/libdl.so.
1642 ($(objpfx)tst-audit8): Depend on $(libm), not
1643 $(common-objpfx)math/libm.so.
1644 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
1645 not $(common-objpfx)dlfcn/libdl.so.
1646 * math/Makefile
1647 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1648 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
1649 [$(build-shared) = yes].
1650 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
1651 $(common-objpfx)nptl/libpthread.so.
1652 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
1653 $(common-objpfx)math/libm.so$(libm.so-version) or
1654 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
1655 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
1656 $(common-objpfx)dlfcn/libdl.so.
1657 * setjmp/Makefile (link-libm): Remove variable.
1658 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
1659 * stdio-common/Makefile (link-libm): Remove variable.
1660 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
1661 * stdlib/Makefile (link-libm): Remove variable.
1662 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
1663 ($(objpfx)tst-strtod-round): Likewise.
1664 ($(objpfx)tst-tininess): Likewise.
1665 ($(objpfx)tst-strtod-underflow): Likewise.
1666 ($(objpfx)tst-strtod6): Likewise.
1667 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
1668 $(libdl), not $(common-objpfx)nptl/libpthread.so and
1669 $(common-objpfx)dlfcn/libdl.so.
1670
026b0fe4
AZ
16712014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1672
1673 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
1674 BSD terminal modes definitions.
1675
def4bcb2
RM
16762014-05-16 Roland McGrath <roland@hack.frob.com>
1677
fe39b021
RM
1678 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
1679 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
1680
1d1fc46e 1681 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
1682 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
1683 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
1684 Don't do #include_next.
1685 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
1686 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
1687 Don't do #include_next.
1688 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
1689 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
1690 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
1691 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
1692
c72399fb
AM
16932014-05-16 Allan McRae <allan@archlinux.org>
1694
d51d659d
AM
1695 * po/sv.po: Update Swedish translation from translation project.
1696
c72399fb
AM
1697 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
1698 in sed expression.
1699
d0583c40
AJ
17002014-05-16 Aurelien Jarno <aurelien@aurel32.net>
1701
1702 [BZ #16917]
1703 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
1704 errno if the TIOCGPTN ioctl fails with an error different than
1705 EINVAL.
1706 * login/tst-ptsname.c: New file.
1707 * login/Makefile (tests): Add tst-ptsname.
1708
d16e6ec7
AJ
1709 [BZ #16943]
1710 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
1711 and prlimit64.
1712
cf26a0cb
SP
17132014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1714
1715 [BZ #16849]
1716 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
1717 herrno to return EAI_AGAIN.
1718
5675da1e
RM
17192014-05-14 Roland McGrath <roland@hack.frob.com>
1720
a5d87b3d
RM
1721 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
1722 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
1723 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
1724 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
1725 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
1726 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
1727 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
1728 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
1729 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
1730 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
1731 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
1732 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
1733 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
1734 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
1735 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
1736 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
1737 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
1738 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
1739 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
1740 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
1741 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
1742 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
1743 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
1744 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
1745 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
1746 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
1747 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
1748 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
1749 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
1750 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
1751 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
1752 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
1753 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
1754 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
1755 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1756 Moved ...
1757 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
1758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
1759 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
1760 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
1761 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
1762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
1763 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
1764 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
1765 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
1766 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
1767 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
1768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
1769 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
1770 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
1771 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
1772 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
1773 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
1774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
1775 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
1776 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
1777 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
1778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
1779 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
1780 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
1781 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
1782 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
1783 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
1784 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1785 Moved ...
1786 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
1787 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
1788 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
1789 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
1790 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
1791 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
1792 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
1793 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
1794 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
1795 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
1796 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
1797 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
1798 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
1799 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
1800 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
1801 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
1802 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
1803 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
1804 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
1805 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1806 Moved ...
1807 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
1808 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
1809 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
1810
039890a6
RM
1811 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
1812 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
1813 (libpthread-sysdep_routines): Add elision-related stuff here instead.
1814 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
1815 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
1816 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
1817 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
1818 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
1819 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
1820 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
1821 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
1822 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
1823 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
1824 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
1825 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
1826 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
1827 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
1828 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
1829 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
1830 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
1831 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
1832 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
1833 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
1834 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
1835 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
1836 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
1837 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
1838 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
1839 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
1840 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
1841 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
1842
65c89320
RM
1843 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
1844 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
1845
348f8e8c
RM
1846 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
1847 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
1848 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
1849 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
1850 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
1851 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
1852 Moved ...
1853 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
1854 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
1855 Moved ...
1856 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
1857 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
1858 Moved ...
1859 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
1860 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
1861 Moved ...
1862 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
1863 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
1864 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
1865 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
1866 Moved ...
1867 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
1868 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
1869 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
1870 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
1871 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
1872 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
1873 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
1874 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
1875 Moved ...
1876 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
1877 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1878 Moved ...
1879 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1880 ... here.
1881 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
1882 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
1883 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
1884 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
1885 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1886 Moved ...
1887 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1888 ... here.
1889 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
1890 Moved ...
1891 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
1892 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
1893 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
1894 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
1895 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
1896 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
1897 Moved ...
1898 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
1899 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
1900 Moved ...
1901 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
1902 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
1903 Moved ...
1904 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
1905 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
1906 Moved ...
1907 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
1908 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
1909 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
1910 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
1911 Moved ...
1912 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
1913 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
1914 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
1915 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
1916 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
1917 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
1918 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
1919 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
1920 Moved ...
1921 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
1922 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1923 Moved ...
1924 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1925 ... here.
1926 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
1927 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
1928 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
1929 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
1930 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1931 Moved ...
1932 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1933 ... here.
1934 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
1935 Moved ...
1936 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
1937 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
1938 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
1939 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
1940 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
1941 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
1942 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
1943 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
1944 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
1945 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
1946 Moved ...
1947 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
1948 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
1949 Moved ...
1950 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
1951 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
1952 Moved ...
1953 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
1954 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
1955 Moved ...
1956 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
1957 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
1958 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
1959 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
1960 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
1961 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
1962 Moved ...
1963 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
1964 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
1965 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
1966 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
1967 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
1968 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
1969 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
1970 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
1971 Moved ...
1972 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
1973 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1974 Moved ...
1975 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1976 ... here.
1977 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
1978 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
1979 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
1980 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
1981 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1982 Moved ...
1983 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1984 ... here.
1985 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
1986 Moved ...
1987 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
1988 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
1989 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
1990 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
1991 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
1992 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
1993 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
1994 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
1995 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
1996 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
1997 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
1998
5085af05
RM
1999 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2000 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2001
708f0813
RM
2002 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2003 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2004
c96067bc
RM
2005 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2006 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2007 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2008 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2009 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2010 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2011 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2012 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2013 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2014 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2015 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2016 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2017 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2018 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2019 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2020 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2021 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2022 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2023 Moved ...
2024 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2025 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2026 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2027 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2028 Moved ...
2029 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2030 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2031 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2032 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2033 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2034 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2035 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2036 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2037 Moved ...
2038 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2039 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2040 Moved ...
2041 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2042 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2043 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2044 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2045 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2046 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2047 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2048 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2049 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2050 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2051 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2052 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2053 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2054 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2055 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2056 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2057 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2058
ec136444
RM
2059 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2060 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2061 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2062 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2063 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2064
2fbdf533
RM
2065 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2066 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2067 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2068 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2069 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2070 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2071 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2072 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2073 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2074 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2075
4c68138b
RM
2076 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2077 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2078
4eaae765
RM
2079 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2080 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
2081 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2082 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2083 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2084 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2085 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2086 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2087 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2088 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2089 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2090 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2091 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2092 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2093 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2094 Update #include.
2095 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2096 Likewise.
2097 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2098 Likewise.
2099 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2100 Likewise.
2101 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2102 Likewise.
2103 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2104 Likewise.
2105 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2106 Likewise.
2107 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2108 Likewise.
2109 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2110 Likewise.
2111 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2112 Likewise.
4ef6befa
RM
2113 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2114 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2115 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2116 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2117 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
2118 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2119 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2120 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2121 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2122 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2123 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2124 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2125 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2126 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
2127 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 2128
941d7dfd
RM
2129 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2130 that was previously under [RESET_PID].
2131 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2132 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2133 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2134
1b731c35
RM
2135 * sysdeps/i386/nptl/Implies: New file.
2136 * sysdeps/x86_64/nptl/Implies: New file.
2137 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2138 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2139 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2140 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2141
e2787137
RM
2142 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2143 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2144 (__libc_vfork): New strong alias.
2145 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2146 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2147
2148 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2149 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2150 (__libc_vfork): New strong alias.
2151 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2152 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2153
5675da1e
RM
2154 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2155 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2156 (__libc_vfork): New strong alias.
2157 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2158 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2159 * nptl/pt-vfork.c: New file.
2160 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2161 (libpthread: GLIBC_2.20): New version set (empty).
2162
4f02e2b8
WN
21632014-05-14 Will Newton <will.newton@linaro.org>
2164
2165 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2166 rather than #if.
2167
0bf061d3
JM
21682014-05-14 Joseph Myers <joseph@codesourcery.com>
2169
1a84c3d6
JM
2170 [BZ #16564]
2171 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2172 arguments with exponent 65 or above.
2173 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2174 arguments 0x1p113L or above.
2175 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2176 to arguments 0x1p107L or above.
2177 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2178 positive arguments with exponent 65 or above.
2179 * math/auto-libm-test-in: Add more tests of log1p.
2180 * math/auto-libm-test-out: Regenerated.
2181
01dbacd2
JM
2182 [BZ #16928]
2183 * math/s_cacos.c (__cacos): Ensure zero real part of result from
2184 non-finite arguments is +0.
2185 * math/s_cacosf.c (__cacosf): Likewise.
2186 * math/s_cacosl.c (__cacosl): Likewise.
2187 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2188 * sysdeps/i386/fpu/libm-test-ulps: Update.
2189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2190
913d03c8
JM
2191 [BZ #16927]
2192 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2193 value.
2194 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2195 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2196 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2197 for explicit high bit of mantissa when testing for argument equal
2198 to 1.
2199 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2200 * sysdeps/i386/fpu/libm-test-ulps: Update.
2201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2202
0bf061d3
JM
2203 [BZ #16516]
2204 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2205 (__erf): Scale by 16 instead of 8 in potentially underflowing
2206 case. Ensure exception if result actually underflows.
2207 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2208 (__erff): Scale by 16 instead of 8 in potentially underflowing
2209 case. Ensure exception if result actually underflows.
2210 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2211 (efx8): Remove variable.
2212 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2213 case. Ensure exception if result actually underflows.
2214 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2215 (efx8): Remove variable.
2216 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2217 case. Ensure exception if result actually underflows.
2218 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2219 (efx8): Remove variable.
2220 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2221 case. Ensure exception if result actually underflows.
2222 * math/auto-libm-test-in: Add more tests of erf.
2223 * math/auto-libm-test-out: Regenerated.
2224
73ba67cb
AS
22252014-05-14 Andreas Schwab <schwab@suse.de>
2226
3d8c8bff
AS
2227 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2228 Remove code conditionalized on USE___THREAD.
2229
73ba67cb
AS
2230 * config.h.in (HAVE_PT_CHOWN): Define as 0.
2231 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2232 not definedness.
2233
5c521ecd
JM
22342014-05-14 Joseph Myers <joseph@codesourcery.com>
2235
5e7698c6
JM
2236 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2237 Define unconditionally.
2238 (__ASSUME_O_CLOEXEC): Likewise.
2239 (__ASSUME_SOCK_CLOEXEC): Likewise.
2240 (__ASSUME_IN_NONBLOCK): Likewise.
2241 (__ASSUME_PIPE2): Likewise.
2242 (__ASSUME_EVENTFD2): Likewise.
2243 (__ASSUME_SIGNALFD4): Likewise.
2244 (__ASSUME_DUP3): Likewise.
2245 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2246 (__ASSUME_DUP3): Do not define.
2247 (__ASSUME_EVENTFD2): Likewise.
2248 (__ASSUME_IN_NONBLOCK): Likewise.
2249 (__ASSUME_O_CLOEXEC): Likewise.
2250 (__ASSUME_PIPE2): Likewise.
2251 (__ASSUME_SIGNALFD4): Likewise.
2252 (__ASSUME_SOCK_CLOEXEC): Likewise.
2253 (__ASSUME_UTIMES): Undefine.
2254 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2255 (__ASSUME_UTIMES): Do not define.
2256 (__ASSUME_O_CLOEXEC): Likewise.
2257 (__ASSUME_SOCK_CLOEXEC): Likewise.
2258 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2259 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2260 0x020621].
2261 (__ASSUME_PIPE2): Likewise.
2262 (__ASSUME_EVENTFD2): Likewise.
2263 (__ASSUME_SIGNALFD4): Likewise.
2264 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2265 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2266 Do not define.
2267 (__ASSUME_EVENTFD2): Likewise.
2268 (__ASSUME_SIGNALFD4): Likewise.
2269 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2270 (__ASSUME_32BITUIDS): Likewise.
2271 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2272 (__ASSUME_IPC64): Likewise.
2273 (__ASSUME_ST_INO_64_BIT): Likewise.
2274 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2275 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2276 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2277 (__ASSUME_UTIMES): Do not define.
2278 (__ASSUME_PSELECT): Likewise.
2279 (__ASSUME_PPOLL): Likewise.
2280 (__ASSUME_O_CLOEXEC): Likewise.
2281 (__ASSUME_SOCK_CLOEXEC): Likewise.
2282 (__ASSUME_IN_NONBLOCK): Likewise.
2283 (__ASSUME_PIPE2): Likewise.
2284 (__ASSUME_EVENTFD2): Likewise.
2285 (__ASSUME_SIGNALFD4): Likewise.
2286 (__ASSUME_DUP3): Likewise.
2287 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2288 (__ASSUME_UTIMES): Likewise.
2289 (__ASSUME_O_CLOEXEC): Likewise.
2290 (__ASSUME_SOCK_CLOEXEC): Likewise.
2291 (__ASSUME_IN_NONBLOCK): Likewise.
2292 (__ASSUME_PIPE2): Likewise.
2293 (__ASSUME_EVENTFD2): Likewise.
2294 (__ASSUME_SIGNALFD4): Likewise.
2295 (__ASSUME_DUP3): Likewise.
2296 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2297 (__ASSUME_UTIMES): Likewise.
2298 (__ASSUME_O_CLOEXEC): Likewise.
2299 (__ASSUME_SOCK_CLOEXEC): Likewise.
2300 (__ASSUME_IN_NONBLOCK): Likewise.
2301 (__ASSUME_PIPE2): Likewise.
2302 (__ASSUME_EVENTFD2): Likewise.
2303 (__ASSUME_SIGNALFD4): Likewise.
2304 (__ASSUME_DUP3): Likewise.
2305 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2306 Likewise.
2307 (__ASSUME_UTIMES): Likewise.
2308 (__ASSUME_EVENTFD2): Likewise.
2309 (__ASSUME_SIGNALFD4): Likewise.
2310 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2311 (__ASSUME_O_CLOEXEC): Likewise.
2312 (__ASSUME_SOCK_CLOEXEC): Likewise.
2313 (__ASSUME_IN_NONBLOCK): Likewise.
2314 (__ASSUME_PIPE2): Likewise.
2315 (__ASSUME_EVENTFD2): Likewise.
2316 (__ASSUME_SIGNALFD4): Likewise.
2317 (__ASSUME_DUP3): Likewise.
2318 (__ASSUME_UTIMES): Undefine.
2319
5c521ecd
JM
2320 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2321 feclearexcept. Remove symbol versioning code.
2322 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
2323 symbol versioning code.
2324 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
2325 symbol versioning code.
2326 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2327 feupdateenv. Remove symbol versioning code.
2328 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2329 fegetexceptflag. Remove symbol versioning code.
2330 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2331 fesetexceptflag. Remove symbol versioning code.
2332 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2333 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
2334 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2335 (__posix_fadvise64_l32): Remove prototype.
2336 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2337 code.
2338
5da9dfad
RM
23392014-05-13 Roland McGrath <roland@hack.frob.com>
2340
2341 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2342 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2343 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2344 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2345
893b4f37
SK
23462014-05-13 Sami Kerola <kerolasa@iki.fi>
2347
2348 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2349 current working directory
2350
e0db6517
RM
23512014-05-13 Roland McGrath <roland@hack.frob.com>
2352
58aa195d
RM
2353 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2354 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2355 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2356 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2357 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2358 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2359 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2360 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2361 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2362 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2363 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2364 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2365 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2366 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2367 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2368 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2369 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2370 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2371 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2372 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2373 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2374 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2375 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2376 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2377 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2378 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2379 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2380 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2381 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2382 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2383 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2384 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2385 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2386 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2387 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2388 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2389 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2390 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2391 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2392 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2393 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2394 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2395
8c6d01f0
RM
2396 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2397 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2398
2399 * sysdeps/unix/sysv/linux/arm/Makefile
2400 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2401 Add rt-aeabi_unwind_cpp_pr1.
2402 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2403 Add nptl-aeabi_unwind_cpp_pr1.
2404 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2405 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2406 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2407 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2408 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2409 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2410
2411 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2412 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2413 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2414 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2415
bba6da4e
RM
2416 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2417 Deconditionalize the code that was previously under [RESET_PID].
2418 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2419
e0db6517
RM
2420 * sysdeps/generic/exit-thread.h: New file.
2421 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2422 * include/unistd.h (__exit_thread): Remove declaration.
2423 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2424 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2425 * csu/libc-start.c: Include <exit-thread.h>.
2426 (LIBC_START_MAIN): Pass no argument to __exit_thread.
2427 * nptl/pthread_create.c: Include <exit-thread.h>.
2428 (start_thread): Call __exit_thread in place of __exit_thread_inline.
2429 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2430 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2431 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2432 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2433 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2434 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2435 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2436 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2437 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2438 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2439 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2440 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
2441 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
2442 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
2443 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
2444 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
2445
01eb16fd
AS
24462014-05-13 Andreas Schwab <schwab@suse.de>
2447
2448 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
2449
637461d9
JM
24502014-05-12 Joseph Myers <joseph@codesourcery.com>
2451
2452 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2453 (__ASSUME_UTIMES): Do not condition on kernel version.
2454 (__ASSUME_PSELECT): Define unconditionally.
2455 (__ASSUME_PPOLL): Likewise.
2456 (__ASSUME_ATFCTS): Likewise.
2457 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
2458 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
2459 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
2460 (__ASSUME_UTIMENSAT): Define unconditionally.
2461 (__ASSUME_PRIVATE_FUTEX): Likewise.
2462 (__ASSUME_FALLOCATE): Likewise.
2463 (__ASSUME_O_CLOEXEC): Likewise.
2464 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
2465 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
2466 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
2467 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
2468 (__ASSUME_IN_NONBLOCK): Likewise.
2469 (__ASSUME_PIPE2): Likewise.
2470 (__ASSUME_EVENTFD2): Likewise.
2471 (__ASSUME_SIGNALFD4): Likewise.
2472 (__ASSUME_DUP3): Likewise.
2473 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2474 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
2475 (__ASSUME_AT_RANDOM): Likewise.
2476 (__ASSUME_PREADV): Likewise.
2477 (__ASSUME_PWRITEV): Likewise.
2478 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
2479 (__ASSUME_F_GETOWN_EX): Define unconditionally.
2480 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
2481 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2482 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
2483 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2484 (__ASSUME_O_CLOEXEC): Define unconditionally.
2485 (__ASSUME_PSELECT): Do not undefine conditionally.
2486 (__ASSUME_PPOLL): Likewise.
2487 (__ASSUME_ATFCTS): Likewise.
2488 (__ASSUME_SET_ROBUST_LIST): Likewise.
2489 (__ASSUME_UTIMENSAT): Likewise.
2490 (__ASSUME_FDATASYNC): Define unconditionally.
2491 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2492 (__ASSUME_SIGFRAME_V2): Likewise.
2493 )__ASSUME_EVENTFD2): Likewise.
2494 (__ASSUME_SIGNALFD4): Likewise.
2495 (__ASSUME_PSELECT): Do not undefine conditionally.
2496 (__ASSUME_PPOLL): Likewise.
2497 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2498 (__ASSUME_PSELECT): Define unconditionally.
2499 (__ASSUME_PPOLL): Likewise.
2500 (__ASSUME_O_CLOEXEC): Likewise.
2501 (__ASSUME_SOCK_CLOEXEC): Likewise.
2502 (__ASSUME_IN_NONBLOCK): Likewise.
2503 (__ASSUME_PIPE2): Likewise.
2504 (__ASSUME_EVENTFD2): Likewise.
2505 (__ASSUME_SIGNALFD4): Likewise.
2506 (__ASSUME_DUP3): Likewise.
2507 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2508 (__ASSUME_O_CLOEXEC): Likewise.
2509 (__ASSUME_SOCK_CLOEXEC): Likewise.
2510 (__ASSUME_IN_NONBLOCK): Likewise.
2511 (__ASSUME_PIPE2): Likewise.
2512 (__ASSUME_EVENTFD2): Likewise.
2513 (__ASSUME_SIGNALFD4): Likewise.
2514 (__ASSUME_DUP3): Likewise.
2515 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2516 (__ASSUME_EVENTFD2): Likewise.
2517 (__ASSUME_SIGNALFD4): Likewise.
2518 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2519
315eb1d8
AS
25202014-05-12 Andreas Schwab <schwab@suse.de>
2521
2522 [BZ #16932]
2523 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
2524 (_nss_nis_gethostbyname4_r): Return error if item length is larger
2525 than maximum RPC packet size.
2526 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
2527 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
2528 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
2529 (_nss_nis_getservbyport_r): Likewise.
2530
91df99f7
WN
25312014-05-12 Will Newton <will.newton@linaro.org>
2532
2533 * malloc/Makefile (tests): Add tst-mallopt.
2534 * malloc/tst-mallopt.c: New file.
2535
0a982a29
RM
25362014-05-09 Roland McGrath <roland@hack.frob.com>
2537
2538 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
2539 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
2540
0ded08a5
AZ
25412014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2542
2543 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
2544 (tst-tlsmod6.so): Likewise.
2545
55d4d550
RM
25462014-05-09 Roland McGrath <roland@hack.frob.com>
2547
2548 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
2549
77d08aca
JM
25502014-05-09 Joseph Myers <joseph@codesourcery.com>
2551
2552 [BZ #16064]
2553 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
2554 and <dl-procinfo.h>.
2555 (__fegetenv): Save SSE state in envp->__eip if supported.
2556 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
2557 envp->__eip if supported.
2558 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
2559 and <dl-procinfo.h>.
2560 (__fesetenv): Always set __eip, __cs_selector, __opcode,
2561 __data_offset and __data_selector in environment to 0. Set SSE
2562 state if supported.
2563 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2564 test-fenv-sse.
2565 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
2566 -mfpmath=sse.
2567 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
2568
28162f4d
WN
25692014-05-09 Will Newton <will.newton@linaro.org>
2570
2571 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
2572 and libc_relro_required for ARM.
2573 * sysdeps/arm/preconfigure: Regenerate.
2574
5a414ff7
DV
25752014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
2576 Stefan Liebler <stli@linux.vnet.ibm.com>
2577
2578 * config.make.in (enable-lock-elision): New Makefile variable.
2579 * configure.ac: Likewise.
2580 * configure: Regenerate.
2581 * sysdeps/s390/configure.ac:
2582 Add check for gcc transactions support.
2583 * sysdeps/s390/configure: Regenerate.
2584 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
2585 Build elision files if enabled.
2586 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
2587 Add lock elision support for s390.
2588 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
2589 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
2590 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2591 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2592 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2593 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
2594 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2595 Likewise.
2596 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
2597 Likewise.
2598 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
2599 Likewise.
2600 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
2601 Likewise.
2602 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
2603 (__lll_timedlock_elision, __lll_lock_elision)
2604 (__lll_unlock_elision, __lll_trylock_elision)
2605 (lll_timedlock_elision, lll_lock_elision)
2606 (lll_unlock_elision, lll_trylock_elision): Add.
2607 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2608 (pthread_mutex_t): Add lock elision support for s390.
2609
1a2f40e5
W
26102014-05-14 Wilco <wdijkstr@arm.com>
2611
2612 * sysdeps/arm/fclrexcpt.c: Cleanup.
2613 * sysdeps/arm/fedisblxcpt.c: Cleanup.
2614 * sysdeps/arm/feenablxcpt.c: Cleanup.
2615 * sysdeps/arm/fegetenv.c: Cleanup.
2616 * sysdeps/arm/fegetexcept.c: Cleanup.
2617 * sysdeps/arm/fegetround.c: Cleanup.
2618 * sysdeps/arm/feholdexcpt.c: Cleanup.
2619 * sysdeps/arm/fesetenv.c: Cleanup.
2620 * sysdeps/arm/fesetround.c: Cleanup.
2621 * sysdeps/arm/feupdateenv.c: Cleanup.
2622 * sysdeps/arm/fgetexcptflg.c: Cleanup.
2623 * sysdeps/arm/fraiseexcpt.c: Cleanup.
2624 * sysdeps/arm/fsetexcptflg.c: Cleanup.
2625 * sysdeps/arm/ftestexcept.c: Cleanup.
2626 * sysdeps/arm/get-rounding-mode.h: Cleanup.
2627 * sysdeps/arm/setfpucw.c: Cleanup.
2628
f63c86fe
WN
26292014-05-09 Will Newton <will.newton@linaro.org>
2630
2631 * sysdeps/arm/armv7/strcmp.S: New file.
2632 * NEWS: Mention addition of ARMv7 optimized strcmp.
2633
7a1a51b5
RM
26342014-05-08 Roland McGrath <roland@hack.frob.com>
2635
95afbbe5
RM
2636 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
2637 look for %.ac rather than %.in.
2638
2639 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
2640 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
2641 * sysdeps/mach/hurd/configure: Regenerated.
2642 * sysdeps/unix/sysv/linux/configure: Regenerated.
2643
7a1a51b5
RM
2644 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
2645
5057ad3b
SE
26462014-05-07 Steve Ellcey <sellcey@mips.com>
2647
2648 [BZ# 16922]
2649 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
2650 (LONG_SUB): Ditto.
2651 (PTR_SUB): Ditto.
2652
8dc97517
AS
26532014-05-07 Andreas Schwab <schwab@suse.de>
2654
2655 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
2656 when skipping over non-matching result from nscd.
2657
ce0c5b8f
OB
26582014-05-07 Ondřej Bílka <neleai@seznam.cz>
2659
2660 [BZ #16876]
2661 * nptl/sockperf.c (client): Check socket return value.
8dc97517 2662
a1189263
OB
2663 [BZ #16877]
2664 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
2665 nscd security class.
ce0c5b8f 2666
0f58d252
RM
26672014-05-06 Roland McGrath <roland@hack.frob.com>
2668
2669 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
2670 * sysdeps/arm/unwind.h: ... here.
2671
83df9ad0
AJ
26722014-05-06 Aurelien Jarno <aurelien@aurel32.net>
2673
ce0c5b8f
OB
2674 [BZ# 16916]
2675 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
2676 Define.
83df9ad0 2677
f360f94a
VR
26782014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2679
2680 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
2681 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
2682 multiarch strncpy for PPC64.
2683 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
2684 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
2685 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
2686 multiarch optimizations.
2687 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2688 (__libc_ifunc_impl_list): Likewise.
2689 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
2690 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
2691 multiarch stpncpy for PPC64.
2692 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
2693 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
2694
978a41c3
AS
26952014-05-06 Andreas Schwab <schwab@suse.de>
2696
2697 [BZ #16912]
2698 * gmon/mcount.c (_MCOUNT_DECL): Use
2699 atomic_compare_and_exchange_bool_acq instead of
2700 catomic_compare_and_exchange_bool_acq.
2701
eb1ed03d
RM
27022014-05-05 Roland McGrath <roland@hack.frob.com>
2703
fe658845
RM
2704 * elf/Makefile (others, install-bin): Remove pldd.
2705 (pldd-modules): Variable removed.
2706 ($(objpfx)pldd): Target removed.
2707 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
2708 (others, install-bin): Append pldd here.
2709 ($(objpfx)pldd): New target.
2710
eb1ed03d
RM
2711 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
2712 to 0, so the first #if test emitted later doesn't see it undefined.
2713 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
2714 * sysdeps/gnu/errlist.c: Regenerated.
2715
19c4bec0
AZ
27162014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2717
2718 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2719 [libc_hidden_builtin_def]: Define to empty value.
2720 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
2721 [libc_hidden_builtin_def]: Likewise.
2722 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
2723 [libc_hidden_builtin_def]: Likewise.
2724 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
2725 [libc_hidden_builtin_def]: Likewise.
2726 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
2727 __redirect_memcpy and define ifunc as default hidden symbol.
2728 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
2729 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
2730
7776e669
AC
27312014-05-04 Adam Conrad <adconrad@0c3.net>
2732
2733 * locale/iso-4217.def: Reintroduce XDR currency.
2734
d69aeb12
AM
27352014-05-04 Allan McRae <allan@archlinux.org>
2736
2737 * po/eo.po: Update Esperanto translation from translation project.
2738
8f1df5cf
CD
27392014-05-02 Carlos O'Donell <carlos@redhat.com>
2740
2741 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
2742 and FEATURE_INDEX_MAX to 1.
2743 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
2744
13e402e7
SE
27452014-05-01 Steve Ellcey <sellcey@mips.com>
2746
2747 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
2748 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
2749 * iconvdata/big5.c (ONE_DIRECTION): Define.
2750 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
2751 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
2752 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
2753 * iconvdata/cp932.c (ONE_DIRECTION): Define.
2754 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
2755 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
2756 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
2757 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
2758 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
2759 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
2760 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
2761 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
2762 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
2763 * iconvdata/gbk.c (ONE_DIRECTION): Define.
2764 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
2765 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
2766 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
2767 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
2768 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
2769 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
2770 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
2771 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
2772 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
2773 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
2774 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
2775 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
2776 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
2777 * iconvdata/iso646.c (ONE_DIRECTION): Define.
2778 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
2779 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
2780 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
2781 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
2782 * iconvdata/johab.c (ONE_DIRECTION): Define.
2783 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
2784 * iconvdata/sjis.c (ONE_DIRECTION): Define.
2785 * iconvdata/t.61.c (ONE_DIRECTION): Define.
2786 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
2787 * iconvdata/tscii.c (ONE_DIRECTION): Define.
2788 * iconvdata/uhc.c (ONE_DIRECTION): Define.
2789 * iconvdata/unicode.c (ONE_DIRECTION): Define.
2790 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
2791 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
2792 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
2793
c727f032
RM
27942014-05-01 Roland McGrath <roland@hack.frob.com>
2795
8f2f08d0
RM
2796 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
2797 (_IO_JUMPS_OFFSET): Define to 0.
2798
c727f032
RM
2799 * nptl/sysdeps/pthread/bits/libc-lock.h
2800 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2801 (__libc_lock_define_initialized_recursive): Always define using
2802 initializer. Modern compilers treat uninitialized (implicit zero) and
2803 explicit zero initializers the same (i.e. put the datum in bss).
2804
a849e800
AS
28052014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2806
2807 * nscd/nscd-client.h: Include <string.h>.
2808
5331255b
DM
28092014-05-01 David S. Miller <davem@davemloft.net>
2810
2811 [BZ #16885]
2812 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
2813 multiple zero bytes exist at the end of a string.
2814 Reported by Aurelien Jarno <aurelien@aurel32.net>
2815
2816 * string/test-strcmp.c (check): Add explicit test for situations where
2817 there are multiple zero bytes after the first.
2818
4fdfe821
AS
28192014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2820
2821 [BZ #16890]
2822 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
2823 when compiling wprintf.
2824 * stdio-common/tstdiomisc.c (t3): New function.
2825 (main): Call it.
2826
0cdddc25
SE
28272014-05-01 Steve Ellcey <sellcey@mips.com>
2828
2829 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
2830 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
2831 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
2832 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
2833
6426d77e
SE
28342014-05-01 Steve Ellcey <sellcey@mips.com>
2835
2836 * stdlib/longlong.h: Updated from GCC.
2837
6d96f5e4
WN
28382014-05-01 Will Newton <will.newton@linaro.org>
2839 Bernard Ogden <bernie.ogden@linaro.org>
2840
7470db0c
WN
2841 * NEWS: Update fixed bug list.
2842
6d96f5e4
WN
2843 [BZ #15119]
2844 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
2845
211d653c
DM
28462014-04-30 David S. Miller <davem@davemloft.net>
2847
4fa262fa
DM
2848 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
2849 (libc_feholdexcept_setround_sparc_ctx): New function.
2850 (libc_fesetenv_sparc_ctx): Likewise.
2851 (libc_feupdateenv_sparc_ctx): Likewise.
2852 (libc_feholdsetround_sparc_ctx): Likewise.
2853 (libc_feholdexcept_setround_ctx): Define.
2854 (libc_feholdexcept_setroundf_ctx): Likewise.
2855 (libc_feholdexcept_setroundl_ctx): Likewise.
2856 (libc_fesetenv_ctx): Likewise.
2857 (libc_fesetenvf_ctx): Likewise.
2858 (libc_fesetenvl_ctx): Likewise.
2859 (libc_feupdateenv_ctx): Likewise.
2860 (libc_feupdateenvf_ctx): Likewise.
2861 (libc_feupdateenvl_ctx): Likewise.
2862 (libc_feresetround_ctx): Likewise.
2863 (libc_feresetroundf_ctx): Likewise.
2864 (libc_feresetroundl_ctx): Likewise.
2865 (libc_feholdsetround_ctx): Likewise.
2866 (libc_feholdsetroundf_ctx): Likewise.
2867 (libc_feholdsetroundl_ctx): Likewise.
2868
1d3d93ef
DM
2869 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2870 with __USE_GNU instead of XOPEN cpp guards.
2871
8aa583c3
DM
2872 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
2873 0.
2874
211d653c
DM
2875 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2876 with XOPEN cpp guards.
2877
60c8f1f6
JB
28782014-04-30 Julian Brown <julian@codesourcery.com>
2879
2880 [BZ #16888]
2881 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
2882 handling.
2883
9a461d46
JM
28842014-04-30 Joseph Myers <joseph@codesourcery.com>
2885
d0f5b3f8
JM
2886 [BZ #9894]
2887 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2888 Change to 2.6.32.
2889 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
2890 * sysdeps/unix/sysv/linux/configure: Regenerated.
2891 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
2892 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
2893 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
2894 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
2895 * README: Update reference to required Linux kernel version.
2896 * manual/install.texi (Linux): Update reference to required Linux
2897 kernel headers version.
2898 * INSTALL: Regenerated.
2899
9a461d46
JM
2900 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
2901 header inclusion.
2902 [POSIX] (limits.h): Likewise.
2903 [POSIX] (math.h): Likewise.
2904 [POSIX] (sys/wait.h): Likewise.
2905 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
2906 function.
2907 [POSIX] (stddef.h): Do not allow header inclusion.
2908
1775babf
AZ
29092014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2910
57f41c40 2911 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 2912
8f630cca
YY
29132014-04-30 Yang Yingliang <yangyingliang@huawei.com>
2914
2915 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2916 Return immediately after lll_futex_wake.
2917
1cdeb237
SP
29182014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2919
bc8f194c
SP
2920 [BZ #16791]
2921 * nscd/nscd-client.h (datahead_init_common): Initialize entire
2922 structure.
2923 (datahead_init_pos): Call datahead_init_common early.
2924 (datahead_init_neg): Likewise.
2925
1cdeb237
SP
2926 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
2927 datahead_init_neg): New functions.
2928 * nscd/aicache.c (addhstaiX): Use them.
2929 * nscd/grpcache.c (cache_addgr): Likewise.
2930 * nscd/hstcache.c (cache_addhst): Likewise.
2931 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2932 * nscd/netgroupcache.c (do_notfound): Likewise.
2933 (addgetnetgrentX): Likewise.
2934 (addinnetgrX): Likewise.
2935 * nscd/pwdcache.c (cache_addpw): Likewise.
2936 * nscd/servicescache.c (cache_addserv): Likewise.
2937
16b293a7
SP
29382014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2939 Atsushi Onoe <atsushi@onoe.org>
2940
2941 [BZ #14308]
2942 [BZ #12994]
2943 [BZ #13651]
2944 * resolv/res_query.c (__libc_res_nsearch): Return if at least
2945 one response is valid.
2946 * resolv/res_send.c (send_dg): Check for validity of other
2947 response if the current response is a referral.
2948
a28a9b94
SE
29492014-04-29 Steve Ellcey <sellcey@mips.com>
2950
2951 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
2952
2ca180e9
SL
29532014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
2954
2955 [BZ #16823]
2956 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
2957 Always divide by positive zero when computing -Inf result.
2958 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2959 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
2960
18f2945a
AZ
29612014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2962
2963 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
2964 FPSCR if value do not change.
2965 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2966 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
2967 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2968 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2969 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
2970 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
2971 function.
2972
5abebba4
CD
29732014-05-29 Carlos O'Donell <carlos@systemhalted.org>
2974
2975 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
2976 * sysdeps/unix/sysv/linux/hppa: Move directory from
2977 ports/systeps/unix/sysv/linux/hppa.
2978 * README: Update listing for hppa-*-linux-gnu.
2979
f7ed60c2
OB
29802014-04-28 Ondřej Bílka <neleai@seznam.cz>
2981
fff763a5
OB
2982 [BZ #16754]
2983 * manual/stdio.texi (Hook functions): Fix types of stream hook
2984 functions.
f7ed60c2
OB
2985 [BZ #16854]
2986 * socket/sys/socket.h: Fix typo in comment.
2987
df639d73
WD
29882014-04-28 Wilco <wdijkstr@arm.com>
2989
f7ed60c2 2990 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
2991 * sysdeps/arm/math_private.h: New file.
2992 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
2993
48332d82
L
29942014-04-25 H.J. Lu <hongjiu.lu@intel.com>
2995
2996 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
2997 with __int128_t.
2998 (La_x86_64_retval): Likewise.
2999
e5e0d9a4
IB
30002014-04-24 Ian Bolton <ian.bolton@arm.com>
3001
3002 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3003 fpsr if value didn't change.
3004 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3005 to fpcr if value didn't change.
3006 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3007 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3008 fpsr or fpcr if value didn't change.
3009 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3010 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3011 fpcr if value didn't change.
3012 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3013 to fpsr if value didn't change.
3014
bacc75f7
SP
30152014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3016
3017 * nptl/tst-sem3.c: Use test-skeleton.c
3018 (main): Rename to do_test. Use return instead of
3019 exit.
3020 * nptl/tst-sem4.c: Use test-skeleton.c
3021 (main): Rename to do_test.
3022
a059d359
DM
30232014-04-22 David S. Miller <davem@davemloft.net>
3024
3025 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3026 (struct sigaction): New struct member __glibc_reserved0, change
3027 type of sa_flags to int.
3028
ea6c92f3
YZ
30292014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
3030
3031 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3032 (COUNT_LEADING_ZEROS_0): Define for AArch64.
3033
766c4a36
SP
30342014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3035
3036 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3037 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3038
140cc7ab
VK
30392014-04-22 Will Newton <will.newton@linaro.org>
3040 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
3041
3042 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3043 (__longjmp): Add longjmp and longjmp_target SystemTap
3044 probes.
3045 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3046 (__sigsetjmp): Add setjmp SystemTap probe.
3047
c54e5cf7
CD
30482014-04-17 Carlos O'Donell <carlos@redhat.com>
3049
3050 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3051 match manual order.
3052
75ffb047
AZ
30532014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3054
3055 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3056
2cd925f7
AZ
3057 * sysdeps/powerpc/fpu/fenv_private.h
3058 (libc_feholdexcept_setroundl_ctx): Define to
3059 libc_feholdexcept_setround_ppc_ctx.
3060 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3061 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3062 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3063 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3064
39e6cd8d
IB
30652014-04-17 Ian Bolton <ian.bolton@arm.com>
3066
3067 * sysdeps/aarch64/math-tests.h: New file.
3068
f9281df9
SY
30692014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
3070
3071 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3072 New.
3073 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3074 Check and set bit_AVX2_Usable.
3075 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3076 macro.
3077 (bit_AVX2): Likewise.
3078 (index_AVX2_Usable): Likewise.
3079 (CPUID_AVX2): Likewise.
3080 (HAS_AVX2): Likewise.
3081
37d35007
WN
30822014-04-17 Will Newton <will.newton@linaro.org>
3083
7c677662
WN
3084 * manual/setjmp.texi (System V contexts): Add note that
3085 calling setcontext on a context created by a call to a
3086 signal handler is undefined. Update text to note that
3087 setcontext from a signal handler is possible but not
3088 recommended.
3089
37d35007 3090 [BZ #16629]
e04a4e9d
WN
3091 * stdlib/tst-setcontext.c: Include signal.h.
3092 (main): Check that the signal stack before and
3093 after swapcontext is the same.
3094
37d35007
WN
3095 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3096 Re-implement to restore registers in user code and avoid
3097 rt_sigreturn system call.
3098
423a7160
W
30992014-04-17 Wilco <wdijkstr@arm.com>
3100
3101 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3102 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3103 * math/test-fenv.c: Skip exception trap tests on targets which only
3104 support non-stop mode.
3105
bc93ab29
IB
31062014-04-17 Ian Bolton <ian.bolton@arm.com>
3107 Wilco Dijkstra <wilco.dijkstra@arm.com>
3108
3109 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3110 (libc_feholdsetround_aarch64_ctx)
3111 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3112 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3113 (libc_feresetround_ctx, libc_feresetroundf_ctx)
3114 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3115 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3116 (libc_feresetround_noexl_ctx): Define.
3117
95fc5fa3
RH
31182014-04-16 Richard Henderson <rth@redhat.com>
3119
ddb04724
RH
3120 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3121
d77c0899
RH
3122 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3123 unwind tables.
3124
a3df56fc
RH
3125 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3126 const from the non-libc, non-ldso copy.
3127
95fc5fa3
RH
3128 * sysdeps/alpha/libm-test-ulps: Regenerate.
3129
7e0b6763
IB
31302014-04-16 Ian Bolton <ian.bolton@arm.com>
3131 Wilco Dijkstra <wilco.dijkstra@arm.com>
3132
3133 * sysdeps/aarch64/fpu/math_private.h: New file.
3134
a9ea2e0c
MS
31352014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
3136
3137 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3138
ea8ba7cd
IZ
31392014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
3140
3141 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3142 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3143 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3144 Intel MPX bound registers before _dl_profile_fixup.
3145 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3146 registers after _dl_profile_fixup. Save and restore bound
3147 registers bnd0/bnd1 when calling _dl_call_pltexit.
3148 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3149 (LR_BND_OFFSET): Likewise.
3150 (LRV_BND0_OFFSET): Likewise.
3151 (LRV_BND1_OFFSET): Likewise.
3152
9f2a4fbc
ST
31532014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3154
3155 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3156 to...
3157 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
3158 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3159 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3160 fields.
9f2a4fbc 3161
fd15a59b
ST
31622014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3163
3164 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3165
f19dfa0a
SL
31662014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3167
3168 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3169
4fa8bc3b
SL
31702014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3171
3172 [BZ #14770]
3173 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3174 * sysdeps/s390/configure: Regenerate.
3175
8ea587db
SL
3176 [BZ #16824]
3177 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3178 Set round-to-nearest internally to reduce error accumulation.
3179
aa5f0ff1
AM
31802014-04-16 Alan Modra <amodra@gmail.com>
3181
3182 [BZ #16740]
3183 [BZ #16619]
3184 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3185 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 3186 * NEWS: Update fixed bug list.
aa5f0ff1 3187
bb9c256f
SP
31882014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3189
3190 * benchtests/Makefile: Depend on libraries in build directory.
3191 (bench-math): Separate out math tests.
3192 (bench-pthread): Separate out pthread tests.
3193 (bench): Include math and pthread tests.
3194
f737dfd0
CD
31952014-04-14 Carlos O'Donell <carlos@redhat.com>
3196
3197 [BZ #16831]
3198 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3199 _dl_debug_initialize.
3200
0699f766
CD
3201 * configure.ac: Remove SELinux header check.
3202 * configure: Regenerate.
3203 * nscd/selinux.c (perms): Array of const char* to permission names.
3204 (nscd_request_avc_has_perm): Call security_deny_unknown to find
3205 default policy. Call string_to_security_class and string_to_av_perm to
3206 translate strings. Enforce default policy and call avs_has_perm with
3207 results of translated strings.
3208
809bd45f
DM
32092014-04-13 David S. Miller <davem@davemloft.net>
3210
3211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3212
89e691f2
AM
32132014-04-12 Allan McRae <allan@archlinux.org>
3214
3215 [BZ #16838]
3216 * manual/string.texi (Collation Functions): Fix qsort argument
3217 order in example.
3218 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3219
9c9daaeb
CM
32202014-04-11 Chris Metcalf <cmetcalf@tilera.com>
3221
3222 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3223 Make the test a no-op if there are no exceptions defined.
3224
95561fb9
PP
32252014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3226
fe8d072c 3227 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
3228 enable-hardcoded-path-in-tests
3229
970c602a
WN
32302014-04-11 Will Newton <will.newton@linaro.org>
3231
3232 * benchtests/Makefile (extra-objs): Add json-lib.o.
3233 (bench-func): Tidy up JSON output.
3234 * benchtests/bench-skeleton.c: Include json-lib.h.
3235 (main): Use JSON library functions to do output of
3236 benchmark results.
3237 * benchtests/bench-timing-type.c (main): Output the
3238 timing type simply, leaving formatting to the user.
3239 * benchtests/json-lib.c: New file.
3240 * benchtests/json-lib.h: Likewise.
3241
36875b06
TR
32422014-04-11 Torvald Riegel <triegel@redhat.com>
3243
3244 [BZ #15215]
3245 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3246 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
3247 memory barriers. Add comments.
3248 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3249 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3250 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3251 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3252 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3253 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3254
579db35a
SL
32552014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3256
3257 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3258 * sysdeps/s390/s390-64/configure.ac: ... this ...
3259 * sysdeps/s390/configure.ac: ... to here.
3260 * sysdeps/s390/s390-32/configure: Delete file.
3261 * sysdeps/s390/s390-64/configure: Delete file.
3262 * sysdeps/s390/configure: Regenerate.
3263
c12e9f37
JAPH
32642014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
3265
3266 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3267
439bda32
WN
32682014-04-11 Will Newton <will.newton@linaro.org>
3269
3270 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3271 to zero if it is not defined elsewhere. (mtrim): Test
3272 the value of MALLOC_DEBUG with #if rather than #ifdef.
3273
6a5d6ea1
TR
32742014-04-10 Torvald Riegel <triegel@redhat.com>
3275
3276 * benchtests/pthread_once-inputs: New file.
3277 * benchtests/pthread_once-source.c: New file.
3278 * benchtests/README: Update documentation.
3279
a4c75cfd
IZ
32802014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
3281 H.J. Lu <hongjiu.lu@intel.com>
3282
3283 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3284 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3285 * sysdeps/x86_64/configure: Regenerated.
3286 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3287 macro.
3288 (REGISTER_SAVE_RAX): Likewise.
3289 (REGISTER_SAVE_RCX): Likewise.
3290 (REGISTER_SAVE_RDX): Likewise.
3291 (REGISTER_SAVE_RSI): Likewise.
3292 (REGISTER_SAVE_RDI): Likewise.
3293 (REGISTER_SAVE_R8): Likewise.
3294 (REGISTER_SAVE_R9): Likewise.
3295 (REGISTER_SAVE_BND0): Likewise.
3296 (REGISTER_SAVE_BND1): Likewise.
3297 (REGISTER_SAVE_BND2): Likewise.
3298 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
3299 bound registers when calling _dl_fixup.
3300
27822ce6
AZ
33012014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3302
3303 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
3304 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3305 of its definition.
27822ce6
AZ
3306 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3307 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3308 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3309 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3310 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3311 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3312 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3313
a88ddc90
PTB
33142014-04-09 Peter Brett <peter@peter-b.co.uk>
3315
3316 [BZ #15514]
3317 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3318 pathconf(_PC_NAME_MAX).
3319
01f8eac2
AZ
33202014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3321
3322 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3323 Remove macro usage.
3324 (__PTHREAD_SPINS): Move definition to ...
3325 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3326 (__PTHREAD_SPINS): ... here.
3327 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3328 (__PTHREAD_SPIN): Likewise.
3329 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3330 (__PTHREAD_SPIN): Likewise.
3331 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3332 (__PTHREAD_SPIN): Likewise.
3333 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3334 (__PTHREAD_SPIN): Likewise.
3335 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3336 (__PTHREAD_SPIN): Likewise.
3337 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3338 (__PTHREAD_SPIN): Likewise.
3339 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3340 (__PTHREAD_SPIN): Likewise.
3341 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3342 (__PTHREAD_SPIN): Likewise.
3343 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3344 (__PTHREAD_SPIN): Likewise.
3345 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3346 (__PTHREAD_SPIN): Likewise.
3347 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3348 (__PTHREAD_SPIN): Likewise.
3349 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3350 (__PTHREAD_SPIN): Likewise.
3351
de21c33c
AZ
3352 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3353 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3354 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3355 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3356 imply folder.
3357 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3358 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3359 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3360 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3361 correct imply path.
3362 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3363 strlen symbol for non multi-arch builds.
3364 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3365 missing hidden_def and weak_alias.
3366
862c472e
CD
33672014-04-08 Carlos O'Donell <carlos@redhat.com>
3368
3369 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3370
8667f90e
WN
33712014-04-07 Will Newton <will.newton@linaro.org>
3372
3373 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3374 and contents. [!_LIBC] Remove #ifndef and contents.
3375 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
3376 * string/memccpy.c (__memccpy): Use ANSI prototype.
3377 * string/memfrob.c (memfrob): Likewise.
3378 * string/strcoll.c (STRCOLL): Likewise.
3379 * string/strlen.c (strlen): Likewise.
3380 * string/strtok.c (STRTOK): Likewise.
3381 * string/strcat.c: Remove unused #include of memcopy.h.
3382 (strcat): Use ANSI prototype.
3383 * string/strchr.c: Remove unused #include of memcopy.h.
3384 (strchr): Use ANSI prototype.
3385 * string/strcmp.c: Remove unused #include of memcopy.h.
3386 (strcmp): Use ANSI prototype.
3387 * string/strcpy.c: Remove unused #include of memcopy.h.
3388 (strcpy): Use ANSI prototype.
3389
7ffa9423
AZ
33902014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3391
3392 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3393 * config.make.in (config-extra-cppflags): Set it from
3394 libc_extra_cppflags.
3395 * configure.ac (libc_extra_cflags): Make it accumulate over
3396 configure fragments.
3397 (libc_extra_cppflags): New flag.
3398 * configure. Regenerate.
3399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
3400 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3401 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
3402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3403
8bd70862
AZ
3404 [BZ #16815]
3405 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3406 result for FE_DOWNWARD rounding mode.
3407 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3408 Likewise.
3409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3410
d42f3448
CM
34112014-04-04 Chris Metcalf <cmetcalf@tilera.com>
3412
3413 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3414 in function argument name.
3415
1c21d115
DS
34162014-04-03 David Svoboda <svoboda@cert.org>
3417
3418 [BZ #5666]
3419 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3420 explicitly.
3421
fcccd512
RM
34222014-04-03 Roland McGrath <roland@hack.frob.com>
3423
3424 * elf/dl-unmap-segments.h: New file.
3425 * sysdeps/generic/ldsodefs.h
3426 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3427 * elf/dl-close.c: Include <dl-unmap-segments.h>.
3428 * elf/dl-fptr.c: Likewise.
3429 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3430 * sysdeps/aarch64/tlsdesc.c: Likewise.
3431 * sysdeps/arm/tlsdesc.c: Likewise.
3432 * sysdeps/i386/tlsdesc.c: Likewise.
3433 * sysdeps/tile/dl-runtime.c: Likewise.
3434 * sysdeps/x86_64/tlsdesc.c: Likewise.
3435 * elf/dl-load.h: New file.
3436 * elf/dl-load.c: Include it.
3437 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3438 Macros moved to dl-load.h.
3439 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3440 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
3441 Use _dl_unmap_segments in place of __munmap.
3442 Break out segment-mapping loop into ...
3443 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
3444
f6488e2b
WN
34452014-04-03 Will Newton <will.newton@linaro.org>
3446
3447 * elf/dl-lookup.c (do_lookup_x): Remove comment
3448 referring to nested function and move variable
3449 declarations down to before first use.
3450
6f05bafe
JM
34512014-04-02 Joseph Myers <joseph@codesourcery.com>
3452
a84e78c8
JM
3453 [BZ #16799]
3454 [BZ #16800]
3455 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
3456 with 0 numerator.
3457 * math/s_catanf.c (__catanf): Likewise.
3458 * math/s_catanh.c (__catanh): Likewise.
3459 * math/s_catanhf.c (__catanhf): Likewise.
3460 * math/s_catanhl.c (__catanhl): Likewise.
3461 * math/s_catanl.c (__catanl): Likewise.
3462 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
3463 by positive zero when computing -Inf result.
3464 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
3465 (catanh_test): Likewise.
3466 * sysdeps/i386/fpu/libm-test-ulps: Update.
3467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3468
6f05bafe
JM
3469 [BZ #16789]
3470 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
3471 instead of using underflowing value in computing result.
3472 * math/s_clog10.c (__clog10): Likewise.
3473 * math/s_clog10f.c (__clog10f): Likewise.
3474 * math/s_clog10l.c (__clog10l): Likewise.
3475 * math/s_clogf.c (__clogf): Likewise.
3476 * math/s_clogl.c (__clogl): Likewise.
3477 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
3478 (clog10_test): Likewise.
3479 * sysdeps/i386/fpu/libm-test-ulps: Update.
3480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3481
b0abbc21
AM
34822014-04-02 Alan Modra <amodra@gmail.com>
3483
3484 [BZ #16739]
3485 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
3486 output when value is near a power of two. Use int64_t for lx and
3487 remove casts. Use decimal rather than hex exponent constants.
3488 Don't use long double multiplication when double will suffice.
3489 * math/libm-test.inc (nextafter_test_data): Add tests.
3490 * NEWS: Add 16739 and 16786 to bug list.
3491
af6b1797
AM
3492 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
3493
483818d7
AM
3494 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
3495
f6c55796
WN
34962014-04-01 Will Newton <will.newton@linaro.org>
3497
3498 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
3499 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
3500
13f7fe35
FW
35012014-04-01 Florian Weimer <fweimer@redhat.com>
3502
3503 [BZ #13347]
3504 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
3505 * nptl/tst-setuid2.c: New file.
3506 * nptl/Makefile (xtests): Add tst-setuid2.
3507
c859b32e
AM
35082014-04-01 Alan Modra <amodra@gmail.com>
3509
3510 [BZ #16786]
3511 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
3512
54fa2475
JM
35132014-03-31 Joseph Myers <joseph@codesourcery.com>
3514
8795b4a4
JM
3515 [BZ #6803]
3516 [BZ #6804]
3517 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
3518 set errno as appropriate.
3519 * math/w_scalbf.c (__scalbf): Likewise.
3520 * math/w_scalbl.c (__scalbl): Likewise.
3521 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
3522 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
3523 * math/libm-test.inc (scalb_test_data): Add errno expectations.
3524 Add more NaN tests.
3525
54fa2475
JM
3526 [BZ #16349]
3527 * math/w_atan2.c: Include <errno.h>.
3528 (__atan2): Set errno for result underflowing to zero.
3529 * math/w_atan2f.c: Include <errno.h>.
3530 (__atan2f): Set errno for result underflowing to zero.
3531 * math/w_atan2l.c: Include <errno.h>.
3532 (__atan2l): Set errno for result underflowing to zero.
3533 * math/auto-libm-test-in: Don't allow missing errno for some atan2
3534 tests.
3535 * math/auto-libm-test-out: Regenerated.
3536
757d9dd5
AZ
35372014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3538
3539 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3540 Encode instruction correctly in little endian.
3541 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3542 Likewise.
3543 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3544 Likewise.
3545 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3546 Likewise.
3547 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3548 Likewise.
3549
d7a68734
JM
35502014-03-31 Joseph Myers <joseph@codesourcery.com>
3551
47c5adeb
JM
3552 [BZ #9894]
3553 * sysdeps/unix/sysv/linux/kernel-features.h
3554 [__sparc__ && !__arch64__ && !__sparc_v9__]
3555 (__ASSUME_SET_ROBUST_LIST): Do not define.
3556 [__sparc__ && !__arch64__ && !__sparc_v9__]
3557 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3558 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
3559 Likewise.
3560 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3561 (__ASSUME_FUTEX_LOCK_PI): Undefine.
3562 (__ASSUME_REQUEUE_PI): Likewise.
3563 (__ASSUME_SET_ROBUST_LIST): Likewise.
3564 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3565 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
3566 Undefine.
3567 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3568 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
3569 Likewise.
3570 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
3571 Likewise.
3572 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
3573 Likewise.
3574 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3575 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
3576 Undefine.
3577 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
3578 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
3579 Likewise.
3580
d7a68734
JM
3581 [BZ #16648]
3582 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3583 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
3584 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
3585
c760f5c2
WN
35862014-03-31 Will Newton <will.newton@linaro.org>
3587
3588 * benchtests/Makefile (bench): Add ffs and ffsll to list
3589 of tests.
3590 * benchtests/ffs-inputs: New file.
3591 * benchtests/ffsll-inputs: Likewise.
3592
ea6029b1
JM
35932014-03-29 Joseph Myers <joseph@codesourcery.com>
3594
3595 [BZ #16770]
3596 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
3597 too large before casting to int.
3598 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
3599 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
3600 * math/libm-test.inc (scalb_test_data): Add more tests.
3601
cf806aff
SP
36022014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3603
56737508
SP
3604 * benchtests/Makefile (DETAILED_OPT): New make option.
3605 (bench-func): Run benchmark program with -d if DETAILED_OPT is
3606 set.
3607 * benchtests/bench-skeleton.c: Include stdbool.h.
3608 (main): Store and print timings per input.
3609 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
3610 member to each argument value.
3611 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
3612 (_print_arg_data): Initialize per-input timing to 0.
3613
cb5e4aad
SP
3614 * benchtests/Makefile (timing-type): New binary.
3615 (bench-clean): Also remove bench-timing-type.
3616 (bench): New target for timing-type.
3617 (bench-func): Print output in JSON format.
3618 * benchtests/bench-skeleton.c (main): Print output in JSON
3619 format.
3620 * benchtests/bench-timing-type.c: New file.
3621 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
3622 (TIMING_PRINT_STATS): Remove.
3623 * benchtests/scripts/bench.py (_print_arg_data): Store variant
3624 name separately.
3625
cf806aff
SP
3626 * benchtests/bench-modf.c: Remove.
3627 * benchtests/modf-inputs: New inputs file.
3628
289e0779
JM
36292014-03-28 Joseph Myers <joseph@codesourcery.com>
3630
3631 [BZ #16362]
3632 * math/s_clog10.c (M_PI_LOG10E): New macro.
3633 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
3634 imaginary parts are 0.
3635 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
3636 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
3637 imaginary parts are 0.
3638 * math/s_clog10l.c (M_PI_LOG10El): New macro.
3639 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
3640 imaginary parts are 0.
3641 * math/libm-test.inc (clog10_test_data): Update expected results
3642 for when real and imaginary parts are 0.
3643
277ae3f1
PP
36442014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
3645
3646 * elf/dl-load.c: Finish conversion of __builtin_expect into
3647 __glibc_{un}likely.
3648
03a7091f
JM
36492014-03-27 Joseph Myers <joseph@codesourcery.com>
3650
3651 [BZ #16348]
3652 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
3653 1+x for argument with exponent below -67.
3654 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
3655 Likewise.
3656 * math/auto-libm-test-in: Add more tests of exp.
3657 * math/auto-libm-test-out: Regenerated.
3658
ea7d8b95
SP
36592014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3660
dd3022d7
SP
3661 [BZ #16759]
3662 * inet/getnetgrent_r.c (get_nonempty_val): New function.
3663 (nscd_getnetgrent): Use it.
3664
ea7d8b95
SP
3665 [BZ #16760]
3666 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
3667 of stpcpy.
3668
df5b85da
AK
36692014-03-27 Andi Kleen <ak@linux.intel.com>
3670
57f41c40
AS
3671 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
3672 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3673 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3674 (lll_robust_unlock): Remove out of line section. Use cfi
3675 intrinsics.
df5b85da 3676 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
3677 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
3678 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3679 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3680 (lll_robust_unlock): Remove out of line section. Use cfi
3681 intrinsics.
df5b85da
AK
3682 (LLL_STUB_UNWIND_INFO*): Remove.
3683
fbd6b5a4
SP
36842014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3685
3686 [BZ #16758]
3687 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
3688 blank values.
3689
1b26b855
PP
36902014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
3691
3692 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
3693
9be36fb8
JM
36942014-03-26 Joseph Myers <joseph@codesourcery.com>
3695
3696 [BZ #16198]
3697 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
3698 fnstenv.
3699 * math/test-fenv-preserve.c: New file.
3700 * math/Makefile (tests): Add test-fenv-preserve.
3701
60a2f3c1
WN
37022014-03-26 Will Newton <will.newton@linaro.org>
3703
3704 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
3705
a5e5f1e2
RM
37062014-03-25 Roland McGrath <roland@hack.frob.com>
3707
3708 * scripts/versionlist.awk: Partition the version sets and emit all
3709 GLIBC_* (sorted) before all others (sorted).
3710
00f4012a
JM
37112014-03-25 Joseph Myers <joseph@codesourcery.com>
3712
3713 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
3714 GLIBC_2.2.5 version.
3715
7bc5a741
AZ
37162014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3717
3718 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
3719 calls.
3720
7578473b
AZ
3721 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
3722 previous change.
3723
f3f1dab3
AZ
3724 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3725
6da36183
AS
37262014-03-25 Andreas Schwab <schwab@suse.de>
3727
3728 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
3729 label to be used after in6ailist is initialized.
3730
f3f1dab3 37312014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 3732
7578473b 3733 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
3734 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3735
046651c1
JM
37362014-03-25 Joseph Myers <joseph@codesourcery.com>
3737
3738 [BZ #16357]
3739 [BZ #16599]
3740 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
3741 min_plus_half.
3742 (fp_formats): Update initializers.
3743 (init_fp_formats): Initialize new field.
3744 (output_for_one_input_case): Allow underflow for results up to
3745 min_plus_half.
3746 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
3747 * math/auto-libm-test-in: Don't mark some underflows from asin and
3748 atanh as spurious.
3749 * math/auto-libm-test-out: Regenerated.
3750 * sysdeps/i386/fpu/libm-test-ulps: Update.
3751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3752
003e49ed
AS
37532014-03-25 Andreas Schwab <schwab@suse.de>
3754
3755 * libio/Makefile (tst-ftell-partial-wide-ENV)
3756 (tst-ftell-active-handler-ENV): Define.
3757
de031874
SL
37582014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3759
3760 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
3761
55a81e3b
PP
37622014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3763
3764 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
3765
f3426898
JM
37662014-03-24 Joseph Myers <joseph@codesourcery.com>
3767
3768 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
3769 * sysdeps/x86_64/fpu/multiarch/e_exp.c
3770 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3771
a42faf59
PP
37722014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3773
3774 [BZ #16634]
a42faf59 3775 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
3776 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
3777 (open_path): Change from boolean 'secure' to complete flag 'mode'
3778 (_dl_map_object): Adjust.
a42faf59
PP
3779 * elf/Makefile (tests): Add tst-dlopen-aout.
3780 * elf/tst-dlopen-aout.c: New test.
3781
50936127
SL
37822014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3783
3784 [BZ #16714]
3785 * sysdeps/unix/sysv/linux/s390/bits/stat.h
3786 (struct stat): Rename member pad0 to __glibc_reserved0.
3787
26011b5c
SL
3788 [BZ #16712]
3789 * sysdeps/s390/s390-32/bits/wordsize.h
3790 (__WORDSIZE32_SIZE_ULONG): New define.
3791 * sysdeps/s390/s390-64/bits/wordsize.h
3792 (__WORDSIZE32_SIZE_ULONG): Likewise.
3793 * sysdeps/generic/stdint.h (SIZE_MAX):
3794 Define as UL if __WORDSIZE32_SIZE_ULONG.
3795
a2d86bf1
SL
3796 [BZ #16713]
3797 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3798 (__glibc_reserved0): New variable.
3799 (sa_flags): Change type to int.
3800
78b6eebc
SL
3801 * posix/Makefile (before-compile): Use += before-compile instead
3802 of a :=.
3803
f1399b5a
SL
3804 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3805 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3806
a071766e
AS
38072014-03-20 Andreas Schwab <schwab@suse.de>
3808
3809 [BZ #16743]
3810 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
3811 non-matching result from nscd.
3812
27c673b8
SP
38132014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3814
3815 * scripts/bench.py: Moved to ...
3816 * benchtests/scripts/bench.py: ... here.
3817 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
3818
44152e4b
AS
38192014-03-24 Andreas Schwab <schwab@suse.de>
3820
3821 [BZ #16002]
3822 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
3823 alloca_account and account alloca use for struct in6ailist.
3824
b376a11a
JM
38252014-03-24 Joseph Myers <joseph@codesourcery.com>
3826
3827 [BZ #16284]
3828 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
3829 rounding mode to recompute results that overflow to infinity or
3830 underflow to zero.
3831 * math/auto-libm-test-in: Don't mark tests as expected to fail for
3832 bug 16284.
3833 * math/auto-libm-test-out: Regenerated.
3834 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
3835 (ccosh_test): Likewise.
3836 (csin_test_data): Use plus_oflow.
3837 (csin_test): Use ALL_RM_TEST.
3838 (csinh_test_data): Use plus_oflow.
3839 (csinh_test): Use ALL_RM_TEST.
3840 * sysdeps/i386/fpu/libm-test-ulps: Update.
3841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3842
f7be7376
JM
38432014-03-21 Joseph Myers <joseph@codesourcery.com>
3844
1ca2d03e
JM
3845 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
3846 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
3847 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
3848
f7be7376
JM
3849 [BZ #16731]
3850 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
3851 when x - 1 is zero.
3852 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
3853 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
3854 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3855 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
3856 argument is 1.
3857 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
3858 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
3859 zero.
3860 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
3861 * sysdeps/i386/fpu/libm-test-ulps: Update.
3862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3863
fdf4534d
SP
38642014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3865
df26ea53
SP
3866 * scripts/bench.pl: Remove file.
3867 * scripts/bench.py: New benchmark script.
3868 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
3869 * benchtests/README: Mention python dependency.
3870 * scripts/pylintrc: New file.
3871 * scripts/pylint: New file.
3872
fdf4534d
SP
3873 * bits/mathdef.h: Use #ifdef instead of #if.
3874 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
3875 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3876 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
3877 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3878 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
3879 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3880
6f23d093
AZ
38812014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3882 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3883
3884 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
3885 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
3886 and strpbrk-ppc64 objects.
3887 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3888 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
3889 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
3890 multiarch strpbrk for POWER7.
3891 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
3892 multiarch strpbrk for PPC64.
3893 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
3894 ifunc selector.
3895 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
3896 strpbrk for POWER7.
3897
8c92dfff
JM
38982014-03-20 Joseph Myers <joseph@codesourcery.com>
3899
3900 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
3901 (atan_test): Likewise.
3902 (atanh_test_data): Use NO_TEST_INLINE for two tests.
3903 (atanh_test): Use ALL_RM_TEST.
3904 (atan2_test_data): Likewise.
3905 (cabs_test): Likewise.
3906 (cacosh_test): Likewise.
3907 (carg_test): Likewise.
3908 (casin_test): Likewise.
3909 (casinh_test): Likewise.
3910 (cbrt_test): Likewise.
3911 (csqrt_test): Likewise.
3912 (erf_test): Likewise.
3913 (erfc_test): Likewise.
3914 (pow10_test): Likewise.
3915 (exp2_test): Likewise.
3916 (hypot_test): Likewise.
3917 (j0_test): Likewise.
3918 (j1_test): Likewise.
3919 (lgamma_test): Likewise.
3920 (gamma_test): Likewise.
3921 (sincos_test): Likewise.
3922 (tanh_test): Likewise.
3923 (y0_test): Likewise.
3924 (y1_test): Likewise.
3925 * sysdeps/i386/fpu/libm-test-ulps: Update.
3926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3927
6eaf95cb
AZ
39282014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3929
a387428c
SP
3930 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
3931 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
3932 and strcspn-ppc64 objects.
3933 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3934 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
3935 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
3936 multiarch strcspn for POWER7.
3937 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
3938 multiarch strcspn for PPC64.
3939 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
3940 ifunc selector.
3941 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
3942 strcspn for POWER7.
3943
ae3a5dff
JM
39442014-03-20 Joseph Myers <joseph@codesourcery.com>
3945
3946 * math/gen-libm-test.pl (generate_testfile): Expect only function
3947 name as argument to AUTO_TESTS_* and pass results for all rounding
3948 modes to parse_args.
3949 (parse_auto_input): Separate inputs of automatic tests from
3950 outputs before storing in %auto_tests.
3951 * math/libm-test.inc (acos_test_data): Update call to
3952 AUTO_TESTS_f_f.
3953 (acos_test): Use ALL_RM_TEST.
3954 (acos_tonearest_test_data): Remove.
3955 (acos_test_tonearest): Likewise.
3956 (acos_towardzero_test_data): Likewise.
3957 (acos_test_towardzero): Likewise.
3958 (acos_downward_test_data): Likewise.
3959 (acos_test_downward): Likewise.
3960 (acos_upward_test_data): Likewise.
3961 (acos_test_upward): Likewise.
3962 (acosh_test_data): Update call to AUTO_TESTS_f_f.
3963 (asin_test_data): Likewise.
3964 (asin_test): Use ALL_RM_TEST.
3965 (asin_tonearest_test_data): Remove.
3966 (asin_test_tonearest): Likewise.
3967 (asin_towardzero_test_data): Likewise.
3968 (asin_test_towardzero): Likewise.
3969 (asin_downward_test_data): Likewise.
3970 (asin_test_downward): Likewise.
3971 (asin_upward_test_data): Likewise.
3972 (asin_test_upward): Likewise.
3973 (asinh_test_data): Update call to AUTO_TESTS_f_f.
3974 (atan_test_data): Likewise.
3975 (atanh_test_data): Likewise.
3976 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
3977 (cabs_test_data): Update call to AUTO_TESTS_c_f.
3978 (carg_test_data): Likewise.
3979 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
3980 (ccos_test_data): Update call to AUTO_TESTS_c_c.
3981 (ccosh_test_data): Likewise.
3982 (cexp_test_data): Likewise.
3983 (clog_test_data): Likewise.
3984 (clog10_test_data): Likewise.
3985 (cos_test_data): Update call to AUTO_TESTS_f_f.
3986 (cos_test): Use ALL_RM_TEST.
3987 (cos_tonearest_test_data): Remove.
3988 (cos_test_tonearest): Likewise.
3989 (cos_towardzero_test_data): Likewise.
3990 (cos_test_towardzero): Likewise.
3991 (cos_downward_test_data): Likewise.
3992 (cos_test_downward): Likewise.
3993 (cos_upward_test_data): Likewise.
3994 (cos_test_upward): Likewise.
3995 (cosh_test_data): Update call to AUTO_TESTS_f_f.
3996 (cosh_test): Use ALL_RM_TEST.
3997 (cosh_tonearest_test_data): Remove.
3998 (cosh_test_tonearest): Likewise.
3999 (cosh_towardzero_test_data): Likewise.
4000 (cosh_test_towardzero): Likewise.
4001 (cosh_downward_test_data): Likewise.
4002 (cosh_test_downward): Likewise.
4003 (cosh_upward_test_data): Likewise.
4004 (cosh_test_upward): Likewise.
4005 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4006 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4007 (ctan_test_data): Likewise.
4008 (ctan_test): Use ALL_RM_TEST.
4009 (ctan_tonearest_test_data): Remove.
4010 (ctan_test_tonearest): Likewise.
4011 (ctan_towardzero_test_data): Likewise.
4012 (ctan_test_towardzero): Likewise.
4013 (ctan_downward_test_data): Likewise.
4014 (ctan_test_downward): Likewise.
4015 (ctan_upward_test_data): Likewise.
4016 (ctan_test_upward): Likewise.
4017 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4018 (ctanh_test): Use ALL_RM_TEST.
4019 (ctanh_tonearest_test_data): Remove.
4020 (ctanh_test_tonearest): Likewise.
4021 (ctanh_towardzero_test_data): Likewise.
4022 (ctanh_test_towardzero): Likewise.
4023 (ctanh_downward_test_data): Likewise.
4024 (ctanh_test_downward): Likewise.
4025 (ctanh_upward_test_data): Likewise.
4026 (ctanh_test_upward): Likewise.
4027 (erf_test_data): Update call to AUTO_TESTS_f_f.
4028 (erfc_test_data): Likewise.
4029 (exp_test_data): Likewise.
4030 (exp_test): Use ALL_RM_TEST.
4031 (exp_tonearest_test_data): Remove.
4032 (exp_test_tonearest): Likewise.
4033 (exp_towardzero_test_data): Likewise.
4034 (exp_test_towardzero): Likewise.
4035 (exp_downward_test_data): Likewise.
4036 (exp_test_downward): Likewise.
4037 (exp_upward_test_data): Likewise.
4038 (exp_test_upward): Likewise.
4039 (exp10_test_data): Update call to AUTO_TESTS_f_f.
4040 (exp10_test): Use ALL_RM_TEST.
4041 (exp10_tonearest_test_data): Remove.
4042 (exp10_test_tonearest): Likewise.
4043 (exp10_towardzero_test_data): Likewise.
4044 (exp10_test_towardzero): Likewise.
4045 (exp10_downward_test_data): Likewise.
4046 (exp10_test_downward): Likewise.
4047 (exp10_upward_test_data): Likewise.
4048 (exp10_test_upward): Likewise.
4049 (exp2_test_data): Update call to AUTO_TESTS_f_f.
4050 (expm1_test_data): Likewise.
4051 (expm1_test): Use ALL_RM_TEST.
4052 (expm1_tonearest_test_data): Remove.
4053 (expm1_test_tonearest): Likewise.
4054 (expm1_towardzero_test_data): Likewise.
4055 (expm1_test_towardzero): Likewise.
4056 (expm1_downward_test_data): Likewise.
4057 (expm1_test_downward): Likewise.
4058 (expm1_upward_test_data): Likewise.
4059 (expm1_test_upward): Likewise.
4060 (fma_test_data): Update call to AUTO_TESTS_fff_f.
4061 (fma_test): Use ALL_RM_TEST.
4062 (fma_towardzero_test_data): Remove.
4063 (fma_test_towardzero): Likewise.
4064 (fma_downward_test_data): Likewise.
4065 (fma_test_downward): Likewise.
4066 (fma_upward_test_data): Likewise.
4067 (fma_test_upward): Likewise.
4068 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4069 (j0_test_data): Update call to AUTO_TESTS_f_f.
4070 (j1_test_data): Likewise.
4071 (jn_test_data): Update call to AUTO_TESTS_if_f.
4072 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4073 (log_test_data): Update call to AUTO_TESTS_f_f.
4074 (log10_test_data): Likewise.
4075 (log1p_test_data): Likewise.
4076 (log2_test_data): Likewise.
4077 (pow_test_data): Update call to AUTO_TESTS_ff_f.
4078 (pow_tonearest_test_data): Likewise.
4079 (sin_test_data): Update call to AUTO_TESTS_f_f.
4080 (sin_test): Use ALL_RM_TEST.
4081 (sin_tonearest_test_data): Remove.
4082 (sin_test_tonearest): Likewise.
4083 (sin_towardzero_test_data): Likewise.
4084 (sin_test_towardzero): Likewise.
4085 (sin_downward_test_data): Likewise.
4086 (sin_test_downward): Likewise.
4087 (sin_upward_test_data): Likewise.
4088 (sin_test_upward): Likewise.
4089 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4090 (sinh_test_data): Update call to AUTO_TESTS_f_f.
4091 (sinh_test): Use ALL_RM_TEST.
4092 (sinh_tonearest_test_data): Remove.
4093 (sinh_test_tonearest): Likewise.
4094 (sinh_towardzero_test_data): Likewise.
4095 (sinh_test_towardzero): Likewise.
4096 (sinh_downward_test_data): Likewise.
4097 (sinh_test_downward): Likewise.
4098 (sinh_upward_test_data): Likewise.
4099 (sinh_test_upward): Likewise.
4100 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4101 (sqrt_test): Use ALL_RM_TEST.
4102 (sqrt_tonearest_test_data): Remove.
4103 (sqrt_test_tonearest): Likewise.
4104 (sqrt_towardzero_test_data): Likewise.
4105 (sqrt_test_towardzero): Likewise.
4106 (sqrt_downward_test_data): Likewise.
4107 (sqrt_test_downward): Likewise.
4108 (sqrt_upward_test_data): Likewise.
4109 (sqrt_test_upward): Likewise.
4110 (tan_test_data): Update call to AUTO_TESTS_f_f.
4111 (tan_test): Use ALL_RM_TEST.
4112 (tan_tonearest_test_data): Remove.
4113 (tan_test_tonearest): Likewise.
4114 (tan_towardzero_test_data): Likewise.
4115 (tan_test_towardzero): Likewise.
4116 (tan_downward_test_data): Likewise.
4117 (tan_test_downward): Likewise.
4118 (tan_upward_test_data): Likewise.
4119 (tan_test_upward): Likewise.
4120 (tanh_test_data): Update call to AUTO_TESTS_f_f.
4121 (tgamma_test_data): Likewise.
4122 (y0_test_data): Likewise.
4123 (y1_test_data): Likewise.
4124 (yn_test_data): Update call to AUTO_TESTS_if_f.
4125 (main): Do not call removed functions.
4126
d71aeee8
JM
41272014-03-19 Joseph Myers <joseph@codesourcery.com>
4128
4129 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4130 (ldexp_test_data): Remove.
4131 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
4132 scalbn_test_data.
4133 (scalb_test): Use ALL_RM_TEST.
4134
baaf1ded
AS
41352014-03-19 Andreas Schwab <schwab@suse.de>
4136
4137 * nscd/nscd.service: Also invalidate netgroup cache on reload.
4138
b1115e91
JM
41392014-03-19 Joseph Myers <joseph@codesourcery.com>
4140
4141 [BZ #16649]
4142 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4143 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4144 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4145 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4146 (__ASSUME_PREADV): Undefine.
4147 (__ASSUME_PWRITEV): Likewise.
4148
0283ecca
RM
41492014-03-18 Roland McGrath <roland@hack.frob.com>
4150
7d375303
RM
4151 * bits/mman-linux.h: Add comment about non-Linux use.
4152 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4153 bits/mman-linux.h resting place.
4154
0283ecca
RM
4155 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4156 * bits/mman-linux.h: ... here.
4157
aebe1003
AZ
41582014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4159
4160 * conform/conformtest.pl: Add standard definition when calling C
4161 preprocessor on data files.
4162 (checknamespace): Remove unused variable.
4163
b29b6bb8
JM
41642014-03-18 Joseph Myers <joseph@codesourcery.com>
4165
4166 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4167 minus_oflow, plus_uflow and minus_uflow in expected results.
4168 * math/libm-test.inc (scalbn_test_data): Add more tests of
4169 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
4170 minus_uflow.
4171 (scalbn_test): Use ALL_RM_TEST.
4172 (scalbln_test_data): Add more tests of negative arguments. Use
4173 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4174 (scalbln_test): Use ALL_RM_TEST.
4175
c8f8fa15
RM
41762014-03-18 Roland McGrath <roland@hack.frob.com>
4177
4178 * scripts/abilist.awk: Ignore symbols marked with .hidden.
4179
fede7a5f
WN
41802014-03-18 Will Newton <will.newton@linaro.org>
4181
4182 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4183 inaccurate comment.
4184
80cf0a58
JM
41852014-03-18 Joseph Myers <joseph@codesourcery.com>
4186
4187 * Makerules [!subdir] (check-abi): Exit with error status if a
4188 test failed.
4189
b3620862
JM
41902014-03-17 Joseph Myers <joseph@codesourcery.com>
4191
4192 * math/libm-test.inc (nearbyint_test_data): Include all tests used
4193 for rint. Include results for all rounding modes.
4194 (nearbyint_test): Use ALL_RM_TEST.
4195 (rint_test_data): Include all tests used for nearbyint.
4196
788bba36
WN
41972014-03-17 Will Newton <will.newton@linaro.org>
4198
04ec140a
WN
4199 * nptl/sysdeps/pthread/pthread.h: Revert previous
4200 change.
4201
7579d8d5
WN
4202 * sysdeps/generic/ldsodefs.h: Revert previous
4203 change.
4204
c15cf13a
WN
4205 * libio/genops.c: Revert previous change.
4206 * libio/libioP.h: Likewise.
4207 * stdio-common/vfprintf.c: Likewise.
4208
d0ac1324
WN
4209 * sysdeps/generic/math_private.h: Revert previous
4210 change.
4211
9290130a
WN
4212 * sysdeps/generic/math_private.h: Check whether
4213 HAVE_RM_CTX is defined with #ifdef rather
4214 than #if.
4215
afb466fc
WN
4216 * argp/argp-fmtstream.h: Check whether
4217 __STRICT_ANSI__ is defined with #ifdef rather
4218 than #if.
4219 * argp/argp.h: Likewise.
4220
f7efd7c3
WN
4221 * libio/genops.c: Check whether
4222 _IO_JUMPS_OFFSET is defined with #ifdef rather
4223 than #if.
4224 * libio/libioP.h: Likewise.
4225 * stdio-common/vfprintf.c: Likewise.
4226
53f1bed3
WN
4227 * sysdeps/generic/ldsodefs.h: Check whether
4228 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4229 than #if.
4230
788bba36
WN
4231 * nptl/sysdeps/pthread/pthread.h: Check
4232 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4233 its value.
4234
fcd89ebe
SP
42352014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4236
ae42bbc5
SP
4237 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4238 setting O_APPEND.
4239 * libio/tst-ftell-active-handler.c (do_append_test): Add a
4240 test case.
4241
ea33158c
SP
4242 [BZ #16680]
4243 * libio/fileops.c (_IO_file_open): Seek to end of file but
4244 don't cache the offset.
4245 (get_file_offset): Remove function.
4246 (do_ftell): Use cached offset when available.
4247 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4248 don't cache the offset.
4249 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4250 case.
4251 (do_one_test): Call it.
4252 (do_ftell_test): Fix up expected old offset for a+ mode.
4253 * libio/wfileops.c (do_ftell_wide): Used cached offset when
4254 available.
4255
b1dbb426
SP
4256 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4257 up test status with function return status.
4258 (do_write_test): Likewise.
4259 (do_append_test): Likewise.
4260
fcd89ebe
SP
4261 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4262 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4263 Remove.
4264
9962a2d3
JM
42652014-03-17 Joseph Myers <joseph@codesourcery.com>
4266
4267 * math/gen-libm-test.pl (parse_args): Handle results specified for
4268 each rounding mode separately.
4269 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4270 tests and results from lrint_tonearest_test_data,
4271 lrint_towardzero_test_data, lrint_downward_test_data and
4272 lrint_upward_test_data.
4273 (lrint_test): Use ALL_RM_TEST.
4274 (lrint_tonearest_test_data): Remove.
4275 (lrint_test_tonearest): Likewise.
4276 (lrint_towardzero_test_data): Likewise.
4277 (lrint_test_towardzero): Likewise.
4278 (lrint_downward_test_data): Likewise.
4279 (lrint_test_downward): Likewise.
4280 (lrint_upward_test_data): Likewise.
4281 (lrint_test_upward): Likewise.
4282 (llrint_test_data): Merge in per-rounding-mode tests and results
4283 from llrint_tonearest_test_data, llrint_towardzero_test_data,
4284 llrint_downward_test_data and llrint_upward_test_data.
4285 (llrint_test): Use ALL_RM_TEST.
4286 (llrint_tonearest_test_data): Remove.
4287 (llrint_test_tonearest): Likewise.
4288 (llrint_towardzero_test_data): Likewise.
4289 (llrint_test_towardzero): Likewise.
4290 (llrint_downward_test_data): Likewise.
4291 (llrint_test_downward): Likewise.
4292 (llrint_upward_test_data): Likewise.
4293 (llrint_test_upward): Likewise.
4294 (rint_test_data): Merge in per-rounding-mode tests and results
4295 from rint_tonearest_test_data, rint_towardzero_test_data,
4296 rint_downward_test_data and rint_upward_test_data. Add
4297 per-rounding-mode results for tests not in those arrays.
4298 (rint_test): Use ALL_RM_TEST.
4299 (rint_tonearest_test_data): Remove.
4300 (rint_test_tonearest): Likewise.
4301 (rint_towardzero_test_data): Likewise.
4302 (rint_test_towardzero): Likewise.
4303 (rint_downward_test_data): Likewise.
4304 (rint_test_downward): Likewise.
4305 (rint_upward_test_data): Likewise.
4306 (rint_test_upward): Likewise.
4307 (main): Don't call removed functions.
4308
5006148e
RM
43092014-03-14 Roland McGrath <roland@hack.frob.com>
4310
4311 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4312 "Compiled on ..." crapola. It is anti-useful.
4313
d6fe5e58
JM
43142014-03-14 Joseph Myers <joseph@codesourcery.com>
4315
4316 * scripts/evaluate-test.sh: Handle fourth argument to determine
4317 whether test run should stop on failure.
4318 * Makeconfig (stop-on-test-failure): New variable.
4319 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4320 $(stop-on-test-failure).
4321 * Makefile (tests): Give a summary of results from testing and
4322 exit with failure status if they include an ERROR or FAIL.
4323 (xtests): Likewise.
4324 * manual/install.texi (Configuring and compiling): Mention
4325 stop-on-test-failure=y.
4326 * INSTALL: Regenerated.
4327
498a2233
RM
43282014-03-14 Roland McGrath <roland@hack.frob.com>
4329
22dbc19d
RM
4330 * scripts/versionlist.awk: New file.
4331 * Makerules [$(build-shared) = yes]
4332 (postclean-generated): Add Versions.def, not Versions.def.v and
4333 Versions.def.v.i.
4334 ($(common-objpfx)Versions.def.v.i): Target removed.
4335 ($(common-objpfx)Versions.def): New target.
4336 ($(common-objpfx)Versions.all): Depend on that rather that
4337 $(common-objpfx)Versions.def.v.
4338 * Versions.def: File removed.
4339
498a2233
RM
4340 * Makeconfig (+gccwarn): Add -Wundef.
4341 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4342 a dl-sysdep.h breaking its contract.
4343 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4344 * include/stackinfo.h: New file.
4345 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4346 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4347 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4348 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4349 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4350 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4351 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4352 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4353 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4354 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4355 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4356 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4357 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4358 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4359 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4360
c7de5025
AZ
43612014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4362
4363 [BZ #16707]
4364 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4365 implementation.
4366 * math/libm-test.inc (round_test_data): Add more tests.
4367
98fb27a3
AZ
4368 [BZ #16706]
4369 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4370 implementation.
4371 * math/libm-test.inc (nearbyint_test_data): Add more tests.
4372
374f7f61
AZ
4373 [BZ #16701]
4374 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4375 implementation.
4376 * math/libm-test.inc (ceil_test_data): Add more tests.
4377
4655c291
AZ
4378 * math/libm-test.inc (trunc_test_data): Add more tests related to
4379 BZ#16414.
4380
d7329d4b
RM
43812014-03-14 Roland McGrath <roland@hack.frob.com>
4382
4383 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4384 with #if rather than #ifdef.
4385 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4386
aa4de9ce
L
43872014-03-14 H.J. Lu <hongjiu.lu@intel.com>
4388
4389 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4390 first. Disable AVX-512 GCC support if assembler doesn't support
4391 it.
4392 * sysdeps/x86_64/configure: Regenerated.
4393
2e03fae7
CD
43942014-03-13 Carlos O'Donell <carlos@redhat.com>
4395
4396 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4397 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4398 (__old_pthread_attr_setstack): Likewise.
4399 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4400 [!_STACK_GROWS_DOWN]: Likewise.
4401
43ca83ec
MF
44022014-03-13 Mike Frysinger <vapier@gentoo.org>
4403
4404 * config.make.in (have-bash2): Delete.
4405 * configure.ac (libc_cv_have_bash2): Delete.
4406 * configure: Regenerate.
4407 * elf/Makefile (common-ldd-rewrite): Rename to ...
4408 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
4409 (sh-ldd-rewrite): Delete.
4410 (bash-ldd-rewrite): Delete.
4411 (have-bash2): Delete checks.
57f41c40
AS
4412 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4413 ldd-rewrite.
c66e48b4
MF
4414
4415 * config.make.in (have-ksh): Delete.
4416 (KSH): Delete.
4417 * configure.ac (libc_cv_have_ksh): Delete.
4418 * configure: Regenerate.
4419
b93834ef
MF
4420 * elf/Makefile: Delete $(have-ksh) check.
4421 ($(objpfx)sotruss): Change KSH to BASH.
4422 * elf/sotruss.ksh: Rename to ...
4423 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
4424 function style to match POSIX. Drop ksh vim mode setting.
4425
f3a4632a
MF
4426 * manual/time.texi (Specifying the Time Zone with TZ): Change
4427 Tuesday to Thursday.
4428
5896c8bd
MF
4429 * debug/tst-longjmp_chk2.c: Update header comment.
4430 (stackoverflow_handler): Add comment. Call assert on pass value.
4431
2d63a517
IZ
44322014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
4433
4434 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4435 (HAVE_AVX512_ASM_SUPPORT): Likewise.
4436 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4437 (La_x86_64_vector): Add zmm.
4438 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4439 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4440 ($(objpfx)tst-audit10): New target.
4441 ($(objpfx)tst-audit10.out): Likewise.
4442 (tst-audit10-ENV): New.
4443 (AVX512-CFLAGS): Likewise.
4444 (CFLAGS-tst-audit10.c): Likewise.
4445 (CFLAGS-tst-auditmod10a.c): Likewise.
4446 (CFLAGS-tst-auditmod10b.c): Likewise.
4447 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
4448 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
4449 * sysdeps/x86_64/configure: Regenerated.
4450 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
4451 AVX-512 zmm register support.
4452 (_dl_x86_64_save_sse): Likewise.
4453 (_dl_x86_64_restore_sse): Likewise.
4454 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
4455 size vector registers.
4456 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
4457 (ZMM_SIZE): Likewise.
4458 * sysdeps/x86_64/tst-audit10.c: New file.
4459 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
4460 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
4461
44c4e5d5
RM
44622014-03-13 Roland McGrath <roland@hack.frob.com>
4463
4464 * configure.ac (HAVE_EHDR_START): New check.
4465 * configure: Regenerated.
4466 * config.h.in (HAVE_EHDR_START): New #undef.
4467 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
4468 assuming the lowest-addressed segment maps the start of the file.
4469
acd6e389
JM
44702014-03-13 Joseph Myers <joseph@codesourcery.com>
4471
4472 * INSTALL: Regenerated.
4473
6f918f36
WN
44742014-03-13 Will Newton <will.newton@linaro.org>
4475
4476 * manual/setjmp.texi (System V contexts): Improve
4477 clarity and grammar of documentation.
4478
798212a0
PP
44792014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
4480
4481 [BZ #16381]
798212a0 4482 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 4483 (tests-pie): Add tst-pie2.
798212a0
PP
4484 * elf/tst-pie2.c: New file.
4485 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
4486 for ET_EXEC.
4487 * elf/rtld.c (map_doit): Load executable as lt_executable.
4488 (dl_main): Likewise.
4489
abe6d90c
JM
44902014-03-12 Joseph Myers <joseph@codesourcery.com>
4491
4492 [BZ #16642]
4493 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4494 (__ASSUME_PSELECT): Undefine.
4495
dd3946c6
AZ
44962014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4497
4498 [BZ #16689]
4499 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
4500 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
4501 static build.
4502 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
4503 selector for static builds.
4504
c44496df
SP
45052014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4506
4507 [BZ #16695]
4508 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
4509 key in the buffer.
4510
27c7220a
AZ
45112014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4512
57f41c40
AS
4513 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
4514 IFUNC selector for static builds.
27c7220a 4515
600fa361
JM
45162014-03-11 Joseph Myers <joseph@codesourcery.com>
4517
76c96cf7
JM
4518 * sysdeps/mips/math_private.h [__mips_hard_float]
4519 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
4520 libc_feresetround_mips_ctx.
4521 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
4522 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
4523 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
4524
600fa361
JM
4525 [BZ #16677]
4526 * math/s_nextafter.c (__nextafter): Do not return value from
4527 overflowing computation.
4528 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4529 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
4530 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4531 Likewise.
4532 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4533 Likewise.
4534 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4535 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
4536
d7706c32
RM
45372014-03-11 Roland McGrath <roland@hack.frob.com>
4538
4539 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
4540 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
4541 Move sfi_sp use from the load-multiple (that no longer sets sp) to
4542 the new mov targetting sp.
4543
4facea47
AZ
45442014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4545
4546 [BZ #16683]
4547 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
4548 Define it for static builds as well.
4549 (NO_BZERO_IMPL): Likewise.
4550
e65caf1f
VR
45512014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4552
4553 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
4554 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
4555 multiarch strspn for PPC64.
4556 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
4557 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
4558 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4559 (__libc_ifunc_impl_list): Likewise.
4560 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
4561 multiarch optimizations
4562 * string/strspn.c (strspn): Using macro to redefine symbol name.
4563
ba9cc071
AZ
45642014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4565 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4566
4567 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
4568 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
4569 multiarch strncat for PPC64.
4570 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
4571 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
4572 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4573 (__libc_ifunc_impl_list): Likewise.
4574 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
4575 multiarch optimizations
4576
8b4ff974
SP
45772014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4578
4579 [BZ #16639]
4580 * nscd/nscd.service: Make service type forking.
4581
54b46a4b
AZ
45822014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4583
4584 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
4585 sign in non default rounding modes.
4586 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4587
e9996ef7
JM
45882014-03-08 Joseph Myers <joseph@codesourcery.com>
4589
4590 * math/libm-test.inc (ALL_RM_TEST): New macro.
4591 (ceil_test): Use ALL_RM_TEST.
4592 (cimag_test): Likewise.
4593 (conj_test): Likewise.
4594 (copysign_test): Likewise.
4595 (cproj_test): Likewise.
4596 (creal_test): Likewise.
4597 (fabs_test): Likewise.
4598 (floor_test): Likewise.
4599 (fmax_test): Likewise.
4600 (fmin_test): Likewise.
4601 (fmod_test): Likewise.
4602 (fpclassify_test): Likewise.
4603 (frexp_test): Likewise.
4604 (ilogb_test): Likewise.
4605 (isfinite_test): Likewise.
4606 (finite_test): Likewise.
4607 (isgreater_test): Likewise.
4608 (isgreaterequal_test): Likewise.
4609 (isinf_test): Likewise.
4610 (isless_test): Likewise.
4611 (islessequal_test): Likewise.
4612 (islessgreater_test): Likewise.
4613 (isnan_test): Likewise.
4614 (isnormal_test): Likewise.
4615 (issignaling_test): Likewise.
4616 (isunordered_test): Likewise.
4617 (logb_test): Likewise.
4618 (logb_downward_test_data): Remove.
4619 (logb_test_downward): Likewise.
4620 (lround_test): Use ALL_RM_TEST.
4621 (llround_test): Likewise.
4622 (modf_test): Likewise.
4623 (nexttoward_test): Likewise.
4624 (remainder_test): Likewise.
4625 (drem_test): Likewise.
4626 (remainder_tonearest_test_data): Likewise.
4627 (remainder_test_tonearest): Likewise.
4628 (drem_test_tonearest): Likewise.
4629 (remainder_towardzero_test_data): Likewise.
4630 (remainder_test_towardzero): Likewise.
4631 (drem_test_towardzero): Likewise.
4632 (remainder_downward_test_data): Likewise.
4633 (remainder_test_downward): Likewise.
4634 (drem_test_downward): Likewise.
4635 (remainder_upward_test_data): Likewise.
4636 (remainder_test_upward): Likewise.
4637 (drem_test_upward): Likewise.
4638 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
4639 (round_test): Use ALL_RM_TEST.
4640 (signbit_test): Likewise.
4641 (trunc_test): Likewise.
4642 (significand_test): Likewise.
4643 (main): Don't call removed functions.
4644
bc61d27c
JM
46452014-03-07 Joseph Myers <joseph@codesourcery.com>
4646
5c780849
JM
4647 [BZ #16674]
4648 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
4649 || __USE_XOPEN2K8].
4650 (ILL_ILLOPN): Likewise.
4651 (ILL_ILLADR): Likewise.
4652 (ILL_ILLTRP): Likewise.
4653 (ILL_PRVOPC): Likewise.
4654 (ILL_PRVREG): Likewise.
4655 (ILL_COPROC): Likewise.
4656 (ILL_BADSTK): Likewise.
4657 (FPE_INTDIV): Likewise.
4658 (FPE_INTOVF): Likewise.
4659 (FPE_FLTDIV): Likewise.
4660 (FPE_FLTOVF): Likewise.
4661 (FPE_FLTUND): Likewise.
4662 (FPE_FLTRES): Likewise.
4663 (FPE_FLTINV): Likewise.
4664 (FPE_FLTSUB): Likewise.
4665 (SEGV_MAPERR): Likewise.
4666 (SEGV_ACCERR): Likewise.
4667 (BUS_ADRALN): Likewise.
4668 (BUS_ADRERR): Likewise.
4669 (BUS_OBJERR): Likewise.
4670 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4671 (TRAP_TRACE): Likewise.
4672 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4673 __USE_XOPEN2K8].
4674 (CLD_KILLED): Likewise.
4675 (CLD_DUMPED): Likewise.
4676 (CLD_TRAPPED): Likewise.
4677 (CLD_STOPPED): Likewise.
4678 (CLD_CONTINUED): Likewise.
4679 (POLL_IN): Likewise.
4680 (POLL_OUT): Likewise.
4681 (POLL_MSG): Likewise.
4682 (POLL_ERR): Likewise.
4683 (POLL_PRI): Likewise.
4684 (POLL_HUP): Likewise.
4685 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
4686 Likewise.
4687 (ILL_ILLOPN): Likewise.
4688 (ILL_ILLADR): Likewise.
4689 (ILL_ILLTRP): Likewise.
4690 (ILL_PRVOPC): Likewise.
4691 (ILL_PRVREG): Likewise.
4692 (ILL_COPROC): Likewise.
4693 (ILL_BADSTK): Likewise.
4694 (FPE_INTDIV): Likewise.
4695 (FPE_INTOVF): Likewise.
4696 (FPE_FLTDIV): Likewise.
4697 (FPE_FLTOVF): Likewise.
4698 (FPE_FLTUND): Likewise.
4699 (FPE_FLTRES): Likewise.
4700 (FPE_FLTINV): Likewise.
4701 (FPE_FLTSUB): Likewise.
4702 (SEGV_MAPERR): Likewise.
4703 (SEGV_ACCERR): Likewise.
4704 (BUS_ADRALN): Likewise.
4705 (BUS_ADRERR): Likewise.
4706 (BUS_OBJERR): Likewise.
4707 (BUS_MCEERR_AR): Likewise.
4708 (BUS_MCEERR_AO): Likewise.
4709 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4710 (TRAP_TRACE): Likewise.
4711 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4712 __USE_XOPEN2K8].
4713 (CLD_KILLED): Likewise.
4714 (CLD_DUMPED): Likewise.
4715 (CLD_TRAPPED): Likewise.
4716 (CLD_STOPPED): Likewise.
4717 (CLD_CONTINUED): Likewise.
4718 (POLL_IN): Likewise.
4719 (POLL_OUT): Likewise.
4720 (POLL_MSG): Likewise.
4721 (POLL_ERR): Likewise.
4722 (POLL_PRI): Likewise.
4723 (POLL_HUP): Likewise.
4724 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
4725 (ILL_ILLOPN): Likewise.
4726 (ILL_ILLADR): Likewise.
4727 (ILL_ILLTRP): Likewise.
4728 (ILL_PRVOPC): Likewise.
4729 (ILL_PRVREG): Likewise.
4730 (ILL_COPROC): Likewise.
4731 (ILL_BADSTK): Likewise.
4732 (FPE_INTDIV): Likewise.
4733 (FPE_INTOVF): Likewise.
4734 (FPE_FLTDIV): Likewise.
4735 (FPE_FLTOVF): Likewise.
4736 (FPE_FLTUND): Likewise.
4737 (FPE_FLTRES): Likewise.
4738 (FPE_FLTINV): Likewise.
4739 (FPE_FLTSUB): Likewise.
4740 (SEGV_MAPERR): Likewise.
4741 (SEGV_ACCERR): Likewise.
4742 (BUS_ADRALN): Likewise.
4743 (BUS_ADRERR): Likewise.
4744 (BUS_OBJERR): Likewise.
4745 (BUS_MCEERR_AR): Likewise.
4746 (BUS_MCEERR_AO): Likewise.
4747 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4748 (TRAP_TRACE): Likewise.
4749 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4750 __USE_XOPEN2K8].
4751 (CLD_KILLED): Likewise.
4752 (CLD_DUMPED): Likewise.
4753 (CLD_TRAPPED): Likewise.
4754 (CLD_STOPPED): Likewise.
4755 (CLD_CONTINUED): Likewise.
4756 (POLL_IN): Likewise.
4757 (POLL_OUT): Likewise.
4758 (POLL_MSG): Likewise.
4759 (POLL_ERR): Likewise.
4760 (POLL_PRI): Likewise.
4761 (POLL_HUP): Likewise.
4762 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
4763 Likewise.
4764 (ILL_ILLOPN): Likewise.
4765 (ILL_ILLADR): Likewise.
4766 (ILL_ILLTRP): Likewise.
4767 (ILL_PRVOPC): Likewise.
4768 (ILL_PRVREG): Likewise.
4769 (ILL_COPROC): Likewise.
4770 (ILL_BADSTK): Likewise.
4771 (ILL_BADIADDR): Likewise.
4772 (ILL_BREAK): Likewise.
4773 (FPE_INTDIV): Likewise.
4774 (FPE_INTOVF): Likewise.
4775 (FPE_FLTDIV): Likewise.
4776 (FPE_FLTOVF): Likewise.
4777 (FPE_FLTUND): Likewise.
4778 (FPE_FLTRES): Likewise.
4779 (FPE_FLTINV): Likewise.
4780 (FPE_FLTSUB): Likewise.
4781 (FPE_DECOVF): Likewise.
4782 (FPE_DECDIV): Likewise.
4783 (FPE_DECERR): Likewise.
4784 (FPE_INVASC): Likewise.
4785 (FPE_INVDEC): Likewise.
4786 (SEGV_MAPERR): Likewise.
4787 (SEGV_ACCERR): Likewise.
4788 (SEGV_PSTKOVF): Likewise.
4789 (BUS_ADRALN): Likewise.
4790 (BUS_ADRERR): Likewise.
4791 (BUS_OBJERR): Likewise.
4792 (BUS_MCEERR_AR): Likewise.
4793 (BUS_MCEERR_AO): Likewise.
4794 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4795 (TRAP_TRACE): Likewise.
4796 (TRAP_BRANCH): Likewise.
4797 (TRAP_HWBKPT): Likewise.
4798 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4799 __USE_XOPEN2K8].
4800 (CLD_KILLED): Likewise.
4801 (CLD_DUMPED): Likewise.
4802 (CLD_TRAPPED): Likewise.
4803 (CLD_STOPPED): Likewise.
4804 (CLD_CONTINUED): Likewise.
4805 (POLL_IN): Likewise.
4806 (POLL_OUT): Likewise.
4807 (POLL_MSG): Likewise.
4808 (POLL_ERR): Likewise.
4809 (POLL_PRI): Likewise.
4810 (POLL_HUP): Likewise.
4811 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
4812 (ILL_ILLOPN): Likewise.
4813 (ILL_ILLADR): Likewise.
4814 (ILL_ILLTRP): Likewise.
4815 (ILL_PRVOPC): Likewise.
4816 (ILL_PRVREG): Likewise.
4817 (ILL_COPROC): Likewise.
4818 (ILL_BADSTK): Likewise.
4819 (FPE_INTDIV): Likewise.
4820 (FPE_INTOVF): Likewise.
4821 (FPE_FLTDIV): Likewise.
4822 (FPE_FLTOVF): Likewise.
4823 (FPE_FLTUND): Likewise.
4824 (FPE_FLTRES): Likewise.
4825 (FPE_FLTINV): Likewise.
4826 (FPE_FLTSUB): Likewise.
4827 (SEGV_MAPERR): Likewise.
4828 (SEGV_ACCERR): Likewise.
4829 (BUS_ADRALN): Likewise.
4830 (BUS_ADRERR): Likewise.
4831 (BUS_OBJERR): Likewise.
4832 (BUS_MCEERR_AR): Likewise.
4833 (BUS_MCEERR_AO): Likewise.
4834 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4835 (TRAP_TRACE): Likewise.
4836 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4837 __USE_XOPEN2K8].
4838 (CLD_KILLED): Likewise.
4839 (CLD_DUMPED): Likewise.
4840 (CLD_TRAPPED): Likewise.
4841 (CLD_STOPPED): Likewise.
4842 (CLD_CONTINUED): Likewise.
4843 (POLL_IN): Likewise.
4844 (POLL_OUT): Likewise.
4845 (POLL_MSG): Likewise.
4846 (POLL_ERR): Likewise.
4847 (POLL_PRI): Likewise.
4848 (POLL_HUP): Likewise.
4849 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
4850 (ILL_ILLOPN): Likewise.
4851 (ILL_ILLADR): Likewise.
4852 (ILL_ILLTRP): Likewise.
4853 (ILL_PRVOPC): Likewise.
4854 (ILL_PRVREG): Likewise.
4855 (ILL_COPROC): Likewise.
4856 (ILL_BADSTK): Likewise.
4857 (FPE_INTDIV): Likewise.
4858 (FPE_INTOVF): Likewise.
4859 (FPE_FLTDIV): Likewise.
4860 (FPE_FLTOVF): Likewise.
4861 (FPE_FLTUND): Likewise.
4862 (FPE_FLTRES): Likewise.
4863 (FPE_FLTINV): Likewise.
4864 (FPE_FLTSUB): Likewise.
4865 (SEGV_MAPERR): Likewise.
4866 (SEGV_ACCERR): Likewise.
4867 (BUS_ADRALN): Likewise.
4868 (BUS_ADRERR): Likewise.
4869 (BUS_OBJERR): Likewise.
4870 (BUS_MCEERR_AR): Likewise.
4871 (BUS_MCEERR_AO): Likewise.
4872 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4873 (TRAP_TRACE): Likewise.
4874 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4875 __USE_XOPEN2K8].
4876 (CLD_KILLED): Likewise.
4877 (CLD_DUMPED): Likewise.
4878 (CLD_TRAPPED): Likewise.
4879 (CLD_STOPPED): Likewise.
4880 (CLD_CONTINUED): Likewise.
4881 (POLL_IN): Likewise.
4882 (POLL_OUT): Likewise.
4883 (POLL_MSG): Likewise.
4884 (POLL_ERR): Likewise.
4885 (POLL_PRI): Likewise.
4886 (POLL_HUP): Likewise.
4887 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
4888 (ILL_ILLOPN): Likewise.
4889 (ILL_ILLADR): Likewise.
4890 (ILL_ILLTRP): Likewise.
4891 (ILL_PRVOPC): Likewise.
4892 (ILL_PRVREG): Likewise.
4893 (ILL_COPROC): Likewise.
4894 (ILL_BADSTK): Likewise.
4895 (FPE_INTDIV): Likewise.
4896 (FPE_INTOVF): Likewise.
4897 (FPE_FLTDIV): Likewise.
4898 (FPE_FLTOVF): Likewise.
4899 (FPE_FLTUND): Likewise.
4900 (FPE_FLTRES): Likewise.
4901 (FPE_FLTINV): Likewise.
4902 (FPE_FLTSUB): Likewise.
4903 (SEGV_MAPERR): Likewise.
4904 (SEGV_ACCERR): Likewise.
4905 (BUS_ADRALN): Likewise.
4906 (BUS_ADRERR): Likewise.
4907 (BUS_OBJERR): Likewise.
4908 (BUS_MCEERR_AR): Likewise.
4909 (BUS_MCEERR_AO): Likewise.
4910 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4911 (TRAP_TRACE): Likewise.
4912 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4913 __USE_XOPEN2K8].
4914 (CLD_KILLED): Likewise.
4915 (CLD_DUMPED): Likewise.
4916 (CLD_TRAPPED): Likewise.
4917 (CLD_STOPPED): Likewise.
4918 (CLD_CONTINUED): Likewise.
4919 (POLL_IN): Likewise.
4920 (POLL_OUT): Likewise.
4921 (POLL_MSG): Likewise.
4922 (POLL_ERR): Likewise.
4923 (POLL_PRI): Likewise.
4924 (POLL_HUP): Likewise.
4925 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
4926 (ILL_ILLOPN): Likewise.
4927 (ILL_ILLADR): Likewise.
4928 (ILL_ILLTRP): Likewise.
4929 (ILL_PRVOPC): Likewise.
4930 (ILL_PRVREG): Likewise.
4931 (ILL_COPROC): Likewise.
4932 (ILL_BADSTK): Likewise.
4933 (ILL_DBLFLT): Likewise.
4934 (ILL_HARDWALL): Likewise.
4935 (FPE_INTDIV): Likewise.
4936 (FPE_INTOVF): Likewise.
4937 (FPE_FLTDIV): Likewise.
4938 (FPE_FLTOVF): Likewise.
4939 (FPE_FLTUND): Likewise.
4940 (FPE_FLTRES): Likewise.
4941 (FPE_FLTINV): Likewise.
4942 (FPE_FLTSUB): Likewise.
4943 (SEGV_MAPERR): Likewise.
4944 (SEGV_ACCERR): Likewise.
4945 (BUS_ADRALN): Likewise.
4946 (BUS_ADRERR): Likewise.
4947 (BUS_OBJERR): Likewise.
4948 (BUS_MCEERR_AR): Likewise.
4949 (BUS_MCEERR_AO): Likewise.
4950 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4951 (TRAP_TRACE): Likewise.
4952 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4953 __USE_XOPEN2K8].
4954 (CLD_KILLED): Likewise.
4955 (CLD_DUMPED): Likewise.
4956 (CLD_TRAPPED): Likewise.
4957 (CLD_STOPPED): Likewise.
4958 (CLD_CONTINUED): Likewise.
4959 (POLL_IN): Likewise.
4960 (POLL_OUT): Likewise.
4961 (POLL_MSG): Likewise.
4962 (POLL_ERR): Likewise.
4963 (POLL_PRI): Likewise.
4964 (POLL_HUP): Likewise.
4965 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
4966 (ILL_ILLOPN): Likewise.
4967 (ILL_ILLADR): Likewise.
4968 (ILL_ILLTRP): Likewise.
4969 (ILL_PRVOPC): Likewise.
4970 (ILL_PRVREG): Likewise.
4971 (ILL_COPROC): Likewise.
4972 (ILL_BADSTK): Likewise.
4973 (FPE_INTDIV): Likewise.
4974 (FPE_INTOVF): Likewise.
4975 (FPE_FLTDIV): Likewise.
4976 (FPE_FLTOVF): Likewise.
4977 (FPE_FLTUND): Likewise.
4978 (FPE_FLTRES): Likewise.
4979 (FPE_FLTINV): Likewise.
4980 (FPE_FLTSUB): Likewise.
4981 (SEGV_MAPERR): Likewise.
4982 (SEGV_ACCERR): Likewise.
4983 (BUS_ADRALN): Likewise.
4984 (BUS_ADRERR): Likewise.
4985 (BUS_OBJERR): Likewise.
4986 (BUS_MCEERR_AR): Likewise.
4987 (BUS_MCEERR_AO): Likewise.
4988 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4989 (TRAP_TRACE): Likewise.
4990 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4991 __USE_XOPEN2K8].
4992 (CLD_KILLED): Likewise.
4993 (CLD_DUMPED): Likewise.
4994 (CLD_TRAPPED): Likewise.
4995 (CLD_STOPPED): Likewise.
4996 (CLD_CONTINUED): Likewise.
4997 (POLL_IN): Likewise.
4998 (POLL_OUT): Likewise.
4999 (POLL_MSG): Likewise.
5000 (POLL_ERR): Likewise.
5001 (POLL_PRI): Likewise.
5002 (POLL_HUP): Likewise.
5003 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5004 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5005
bc61d27c
JM
5006 [BZ #16670]
5007 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5008 before #include of <time.h>.
5009 [!__USE_XOPEN2K] (__need_timespec): Likewise.
5010 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5011 (test-xfail-UNIX98/sched.h/conform): Likewise.
5012
302949e2
MS
50132014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
5014
5015 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5016 error absence of trapping exception support.
5017 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5018
a00f522a
JM
50192014-03-07 Joseph Myers <joseph@codesourcery.com>
5020
6f99f280
JM
5021 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5022 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5023 * timezone/Makefile (testdata): Move definition above include of
5024 Rules.
5025 (test-zones): New variable.
5026 (tests-special): Add zone files.
5027 (build-testdata): Use $(evaluate-test).
5028
0b20a9e8
JM
5029 * elf/Makefile (tests-special): Rename tests to end with .out.
5030 ($(objpfx)noload-mem): Likewise.
5031 ($(objpfx)tst-leaks1-mem): Likewise.
5032 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5033 * iconv/Makefile (xtests-special): Change test-iconvconfig to
5034 $(objpfx)test-iconvconfig.out.
5035 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
5036 set -e inside subshell and redirect output to file.
5037 * iconvdata/Makefile (generated): Rename tests to end with .out.
5038 Correct type.
5039 (tests-special): Rename tests to end with .out.
5040 ($(objpfx)mtrace-tst-loading): Likewise.
5041 * intl/Makefile (generated): Likewise.
5042 (tests-special): Likewise.
5043 ($(objpfx)mtrace-tst-gettext): Likewise.
5044 * misc/Makefile (generated): Likewise.
5045 (tests-special): Likewise.
5046 ($(objpfx)tst-error1-mem): Likewise.
5047 * nptl/Makefile (tests-special): Likewise.
5048 ($(objpfx)tst-stack3-mem): Likewise.
5049 (generated): Likewise.
5050 * posix/Makefile (generated): Likewise.
5051 (tests-special): Likewise.
5052 (xtests-special): Likewise.
5053 ($(objpfx)tst-fnmatch-mem): Likewise.
5054 ($(objpfx)bug-regex2-mem): Likewise.
5055 ($(objpfx)bug-regex14-mem): Likewise.
5056 ($(objpfx)bug-regex21-mem): Likewise.
5057 ($(objpfx)bug-regex31-mem): Likewise.
5058 ($(objpfx)tst-vfork3-mem): Likewise.
5059 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5060 ($(objpfx)tst-pcre-mem): Likewise.
5061 ($(objpfx)tst-boost-mem): Likewise.
5062 ($(objpfx)bug-ga2-mem): Likewise.
5063 ($(objpfx)bug-glob2-mem): Likewise.
5064 * resolv/Makefile (generate): Likewise.
5065 (tests-special): Likewise.
5066 (xtests-special): Likewise.
5067 (generated): Likewise.
5068 ($(objpfx)mtrace-tst-leaks): Likewise.
5069 ($(objpfx)mtrace-tst-leaks2): Likewise.
5070
265d52ab
JM
5071 * scripts/merge-test-results.sh: New file.
5072 * Makefile (tests-special-notdir): New variable.
5073 (tests): Run merge-test-results.sh.
5074 (xtests): Likewise.
5075 * Rules (tests-special-notdir): New variable.
5076 (xtests-special-notdir): Likewise.
5077 (tests): Run merge-test-results.sh
5078 (xtests): Likewise.
5079
54ee292d
JM
5080 * Makeconfig (test-xfail-name): New variable.
5081 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5082 compute variable name for expected failures.
5083 * conform/Makefile (conformtest-headers-data): New variable.
5084 (conformtest-standards): Likewise.
5085 (conformtest-headers-ISO): Likewise.
5086 (conformtest-headers-ISO99): Likewise.
5087 (conformtest-headers-ISO11): Likewise.
5088 (conformtest-headers-POSIX): Likewise.
5089 (conformtest-headers-XPG3): Likewise.
5090 (conformtest-headers-XPG4): Likewise.
5091 (conformtest-headers-UNIX98): Likewise.
5092 (conformtest-headers-XOPEN2K): Likewise.
5093 (conformtest-headers-POSIX2008): Likewise.
5094 (conformtest-headers-XOPEN2K8): Likewise.
5095 (conformtest-header-list-base): Likewise.
5096 (conformtest-header-list-tests): Likewise.
5097 (conformtest-header-base): Likewise.
5098 (conformtest-header-tests): Likewise.
5099 (tests-special): Add $(conformtest-header-list-tests). If
5100 [$(fast-check) && !$(cross-compiling)], add
5101 $(conformtest-header-tests) instead of
5102 $(objpfx)run-conformtest.out.
5103 (generated): Add $(conformtest-header-list-base). If
5104 [$(fast-check) && !$(cross-compiling)], add
5105 $(conformtest-header-base). Remove previous setting.
5106 ($(conformtest-header-list-tests)): New target.
5107 (test-xfail-run-conformtest): Remove variable.
5108 ($(objpfx)run-conformtest.out): Remove target.
5109 (test-xfail-ISO11/complex.h/conform): New variable.
5110 (test-xfail-ISO11/stdalign.h/conform): Likewise.
5111 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5112 (test-xfail-XPG3/varargs.h/conform): Likewise.
5113 (test-xfail-XPG4/varargs.h/conform): Likewise.
5114 (test-xfail-UNIX98/varargs.h/conform): Likewise.
5115 (test-xfail-XPG4/ndbm.h/conform): Likewise.
5116 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5117 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5118 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5119 (test-xfail-XPG3/fcntl.h/conform): Likewise.
5120 (test-xfail-XPG3/ftw.h/conform): Likewise.
5121 (test-xfail-XPG3/grp.h/conform): Likewise.
5122 (test-xfail-XPG3/langinfo.h/conform): Likewise.
5123 (test-xfail-XPG3/limits.h/conform): Likewise.
5124 (test-xfail-XPG3/pwd.h/conform): Likewise.
5125 (test-xfail-XPG3/search.h/conform): Likewise.
5126 (test-xfail-XPG3/signal.h/conform): Likewise.
5127 (test-xfail-XPG3/stdio.h/conform): Likewise.
5128 (test-xfail-XPG3/stdlib.h/conform): Likewise.
5129 (test-xfail-XPG3/string.h/conform): Likewise.
5130 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5131 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5132 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5133 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5134 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5135 (test-xfail-XPG3/sys/types.h/conform): Likewise.
5136 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5137 (test-xfail-XPG3/termios.h/conform): Likewise.
5138 (test-xfail-XPG3/time.h/conform): Likewise.
5139 (test-xfail-XPG3/unistd.h/conform): Likewise.
5140 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5141 (test-xfail-XPG4/fcntl.h/conform): Likewise.
5142 (test-xfail-XPG4/langinfo.h/conform): Likewise.
5143 (test-xfail-XPG4/netdb.h/conform): Likewise.
5144 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5145 (test-xfail-XPG4/signal.h/conform): Likewise.
5146 (test-xfail-XPG4/stdio.h/conform): Likewise.
5147 (test-xfail-XPG4/stdlib.h/conform): Likewise.
5148 (test-xfail-XPG4/stropts.h/conform): Likewise.
5149 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5150 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5151 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5152 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5153 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5154 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5155 (test-xfail-XPG4/sys/time.h/conform): Likewise.
5156 (test-xfail-XPG4/sys/types.h/conform): Likewise.
5157 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5158 (test-xfail-XPG4/termios.h/conform): Likewise.
5159 (test-xfail-XPG4/ucontext.h/conform): Likewise.
5160 (test-xfail-XPG4/unistd.h/conform): Likewise.
5161 (test-xfail-XPG4/utmpx.h/conform): Likewise.
5162 (test-xfail-POSIX/sched.h/conform): Likewise.
5163 (test-xfail-POSIX/signal.h/conform): Likewise.
5164 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5165 (test-xfail-POSIX/tar.h/conform): Likewise.
5166 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5167 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5168 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5169 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5170 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5171 (test-xfail-UNIX98/sched.h/conform): Likewise.
5172 (test-xfail-UNIX98/signal.h/conform): Likewise.
5173 (test-xfail-UNIX98/stdio.h/conform): Likewise.
5174 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5175 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5176 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5177 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5178 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5179 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5180 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5181 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5182 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5183 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5184 (test-xfail-UNIX98/unistd.h/conform): Likewise.
5185 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5186 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5187 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5188 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5189 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5190 (test-xfail-XOPEN2K/math.h/conform): Likewise.
5191 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5192 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5193 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5194 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5195 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5196 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5197 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5198 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5199 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5200 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5201 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5202 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5203 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5204 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5205 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5206 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5207 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5208 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5209 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5210 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5211 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5212 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5213 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5214 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5215 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5216 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5217 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5218 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5219 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5220 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5221 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5222 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5223 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5224 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5225 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5226 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5227 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5228 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5229 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5230 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5231 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5232 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5233 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5234 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5235 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5236 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5237 (conformtest-cc-flags): Likewise.
5238 ($(conformtest-header-tests): New target.
5239 * conform/check-header-lists.sh: New file.
5240 * conform/run-conformtest.sh: Remove.
5241
a00f522a
JM
5242 * conform/conformtest.pl: Allow ' and \ in values given for
5243 constants.
5244 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5245 inclusion.
5246 [POSIX] (sys/types.h): Likewise.
5247 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5248 inclusion.
5249 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5250 inclusion.
5251 * conform/data/signal.h-data (SIGIO): Remove expectation.
5252 [XPG3] (SIGBUS): Do not expect.
5253 [POSIX || XPG3] (SIGPOLL): Likewise.
5254 [POSIX || XPG3] (SIGPROF): Likewise.
5255 [POSIX || XPG3] (SIGSYS): Likewise.
5256 [XPG3] (SIGTRAP): Likewise.
5257 [POSIX || XPG3] (SIGURG): Likewise.
5258 [POSIX || XPG3] (SIGVTALRM): Likewise.
5259 [POSIX || XPG3] (SIGXCPU): Likewise.
5260 [POSIX || XPG3] (SIGXFSZ): Likewise.
5261 [POSIX] (SA_SIGINFO): Expect.
5262 [XPG3] (siginfo_t): Do not expect type or contents.
5263 [POSIX] (si_pid): Do not expect element.
5264 [POSIX] (si_uid): Likewise.
5265 [POSIX] (si_addr): Likewise.
5266 [POSIX] (si_status): Likewise.
5267 [POSIX] (si_band): Likewise.
5268 [XPG4] (si_value): Likewise.
5269 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5270 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5271 [POSIX || XPG3] (ILL_ILLADR): Likewise.
5272 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5273 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5274 [POSIX || XPG3] (ILL_PRVREG): Likewise.
5275 [POSIX || XPG3] (ILL_COPROC): Likewise.
5276 [POSIX || XPG3] (ILL_BADSTK): Likewise.
5277 [POSIX || XPG3] (FPE_INTDIV): Likewise.
5278 [POSIX || XPG3] (FPE_INTOVF): Likewise.
5279 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5280 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5281 [POSIX || XPG3] (FPE_FLTUND): Likewise.
5282 [POSIX || XPG3] (FPE_FLTRES): Likewise.
5283 [POSIX || XPG3] (FPE_FLTINV): Likewise.
5284 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5285 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5286 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5287 [POSIX || XPG3] (BUS_ADRALN): Likewise.
5288 [POSIX || XPG3] (BUS_ADRERR): Likewise.
5289 [POSIX || XPG3] (BUS_OBJERR): Likewise.
5290 [POSIX || XPG3] (CLD_EXITED): Likewise.
5291 [POSIX || XPG3] (CLD_KILLED): Likewise.
5292 [POSIX || XPG3] (CLD_DUMPED): Likewise.
5293 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5294 [POSIX || XPG3] (CLD_STOPPED): Likewise.
5295 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5296 [POSIX || XPG3] (POLL_IN): Likewise.
5297 [POSIX || XPG3] (POLL_OUT): Likewise.
5298 [POSIX || XPG3] (POLL_MSG): Likewise.
5299 [POSIX || XPG3] (POLL_ERR): Likewise.
5300 [POSIX || XPG3] (POLL_PRI): Likewise.
5301 [POSIX || XPG3] (POLL_HUP): Likewise.
5302 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5303 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5304 (SIG*): Do not allow.
5305 [XPG3] (si_*): Likewise.
5306 [XPG3] (SI_*): Likewise.
5307 [XPG3 || XPG4] (sigev_*): Likewise.
5308 [XPG3 || XPG4] (SIGEV_*): Likewise.
5309 [XPG3 || XPG4] (sival_*): Likewise.
5310 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5311 [POSIX || XPG3] (BUS_*): Likewise.
5312 [POSIX || XPG3] (CLD_*): Likewise.
5313 [POSIX || XPG3] (FPE_*): Likewise.
5314 [POSIX || XPG3] (ILL_*): Likewise.
5315 [POSIX || XPG3] (POLL_*): Likewise.
5316 [POSIX || XPG3] (SEGV_*): Likewise.
5317 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5318 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5319 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5320 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5321 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5322 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5323 Specify type and value.
5324 (TVERSLEN): Likewise.
5325 (REGTYPE): Likewise.
5326 (AREGTYPE): Likewise.
5327 (LNKTYPE): Likewise.
5328 (SYMTYPE): Likewise.
5329 (CHRTYPE): Likewise.
5330 (BLKTYPE): Likewise.
5331 (DIRTYPE): Likewise.
5332 (FIFOTYPE): Likewise.
5333 (CONTTYPE): Likewise.
5334 (TSUID): Likewise.
5335 (TSGID): Likewise.
5336 (TSVTX): Likewise.
5337 (TUREAD): Likewise.
5338 (TUWRITE): Likewise.
5339 (TUEXEC): Likewise.
5340 (TGREAD): Likewise.
5341 (TGWRITE): Likewise.
5342 (TGEXEC): Likewise.
5343 (TOREAD): Likewise.
5344 (TOWRITE): Likewise.
5345 (TOEXEC): Likewise.
5346 [POSIX] (TSVTX): Expect constant.
5347
aa97dee1
JM
53482014-03-06 Joseph Myers <joseph@codesourcery.com>
5349
f214606a
JM
5350 * Makefile (tests): Change dependencies to ....
5351 (tests-special): ... additions to this variable.
5352 (tests): Depend on $(tests-special).
5353 * Makerules (check-abi-list): New variable.
5354 (check-abi): Depend on $(check-abi-list).
5355 [$(subdir) = elf] (tests-special): Add
5356 $(objpfx)check-abi-libc.out.
5357 [$(build-shared) = yes && subdir] (tests-special): Add
5358 $(check-abi-list).
5359 [$(build-shared) = yes && subdir] (tests): Do not depend on
5360 check-abi.
5361 * Rules (tests): Depend on $(tests-special).
5362 (xtests): Depend on $(xtests-special).
5363 * catgets/Makefile (tests): Change dependencies to ....
5364 (tests-special): ... additions to this variable.
5365 * conform/Makefile (tests): Change dependencies to ....
5366 (tests-special): ... additions to this variable.
5367 * elf/Makefile (tests): Change dependencies to ....
5368 (tests-special): ... additions to this variable.
5369 * grp/Makefile (tests): Change dependencies to ....
5370 (tests-special): ... additions to this variable.
5371 * iconv/Makefile (xtests): Change dependencies to ....
5372 (xtests-special): ... additions to this variable.
5373 * iconvdata/Makefile (tests): Change dependencies to ....
5374 (tests-special): ... additions to this variable.
5375 * intl/Makefile (tests): Change dependencies to ....
5376 (tests-special): ... additions to this variable. Also add
5377 $(objpfx)tst-gettext.out.
5378 * io/Makefile (tests): Change dependencies to ....
5379 (tests-special): ... additions to this variable.
5380 * libio/Makefile (tests): Change dependencies to ....
5381 (tests-special): ... additions to this variable.
5382 * malloc/Makefile (tests): Change dependencies to ....
5383 (tests-special): ... additions to this variable.
5384 * misc/Makefile (tests): Change dependencies to ....
5385 (tests-special): ... additions to this variable.
5386 * nptl/Makefile (tests): Change dependencies to ....
5387 (tests-special): ... additions to this variable.
5388 * nptl_db/Makefile (tests): Change dependencies to ....
5389 (tests-special): ... additions to this variable.
5390 * posix/Makefile (tests): Change dependencies to ....
5391 (tests-special): ... additions to this variable.
5392 (xtests): Change dependencies to ....
5393 (xtests-special): ... additions to this variable.
5394 * resolv/Makefile (tests): Change dependencies to ....
5395 (tests-special): ... additions to this variable.
5396 (xtests): Change dependencies to ....
5397 (xtests-special): ... additions to this variable.
5398 * stdio-common/Makefile (tests): Change dependencies to ....
5399 (tests-special): ... additions to this variable.
5400 (do-tst-unbputc): Remove target.
5401 (do-tst-printf): Likewise.
5402 * stdlib/Makefile (tests): Change dependencies to ....
5403 (tests-special): ... additions to this variable.
5404 * string/Makefile (tests): Change dependencies to ....
5405 (tests-special): ... additions to this variable.
5406 * sysdeps/x86/Makefile (tests): Change dependencies to ....
5407 (tests-special): ... additions to this variable.
5408
81700b53
JM
5409 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5410 whole file.
5411 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5412 whole file.
5413 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5414 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5415
2ea18461
JM
5416 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5417 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5418 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5419 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5420 * conform/data/libgen.h-data [XPG3]: Likewise.
5421 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5422 * conform/data/ndbm.h-data [XPG3]: Likewise.
5423 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5424 * conform/data/netdb.h-data [XPG3]: Likewise.
5425 * conform/data/netinet/in.h-data [XPG3]: Likewise.
5426 * conform/data/poll.h-data [XPG3]: Likewise.
5427 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5428 * conform/data/strings.h-data [XPG3]: Likewise.
5429 * conform/data/stropts.h-data [XPG3]: Likewise.
5430 * conform/data/sys/mman.h-data [XPG3]: Likewise.
5431 * conform/data/sys/resource.h-data [XPG3]: Likewise.
5432 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5433 Likewise.
5434 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5435 * conform/data/sys/time.h-data [XPG3]: Likewise.
5436 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5437 * conform/data/sys/uio.h-data [XPG3]: Likewise.
5438 * conform/data/sys/un.h-data [XPG3]: Likewise.
5439 * conform/data/syslog.h-data [XPG3]: Likewise.
5440 * conform/data/ucontext.h-data [XPG3]: Likewise.
5441 * conform/data/utmpx.h-data [XPG3]: Likewise.
5442 * conform/data/varargs.h-data [UNIX98]: Enable file.
5443
355bc986
JM
5444 * manual/Makefile (INSTALL_INFO): Remove variable setting.
5445
215db402
JM
5446 * math/libm-test.inc (struct test_f_f_data): Move expected results
5447 into structure for each rounding mode.
5448 (struct test_ff_f_data): Likewise.
5449 (struct test_ff_f_data_nexttoward): Likewise.
5450 (struct test_fi_f_data): Likewise.
5451 (struct test_fl_f_data): Likewise.
5452 (struct test_if_f_data): Likewise.
5453 (struct test_fff_f_data): Likewise.
5454 (struct test_c_f_data): Likewise.
5455 (struct test_f_f1_data): Likewise.
5456 (struct test_fF_f1_data): Likewise.
5457 (struct test_ffI_f1_data): Likewise.
5458 (struct test_c_c_data): Likewise.
5459 (struct test_cc_c_data): Likewise.
5460 (struct test_f_i_data): Likewise.
5461 (struct test_ff_i_data): Likewise.
5462 (struct test_f_l_data): Likewise.
5463 (struct test_f_L_data): Likewise.
5464 (struct test_fFF_11_data): Likewise.
5465 (RM_): New macro.
5466 (RM_FE_DOWNWARD): Likewise.
5467 (RM_FE_TONEAREST): Likewise.
5468 (RM_FE_TOWARDZERO): Likewise.
5469 (RM_FE_UPWARD): Likewise.
5470 (RUN_TEST_LOOP_f_f): Update references to expected results.
5471 (RUN_TEST_LOOP_2_f): Likewise.
5472 (RUN_TEST_LOOP_fff_f): Likewise.
5473 (RUN_TEST_LOOP_c_f): Likewise.
5474 (RUN_TEST_LOOP_f_f1): Likewise.
5475 (RUN_TEST_LOOP_fF_f1): Likewise.
5476 (RUN_TEST_LOOP_fI_f1): Likewise.
5477 (RUN_TEST_LOOP_ffI_f1): Likewise.
5478 (RUN_TEST_LOOP_c_c): Likewise.
5479 (RUN_TEST_LOOP_cc_c): Likewise.
5480 (RUN_TEST_LOOP_f_i): Likewise.
5481 (RUN_TEST_LOOP_f_i_tg): Likewise.
5482 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5483 (RUN_TEST_LOOP_f_b): Likewise.
5484 (RUN_TEST_LOOP_f_b_tg): Likewise.
5485 (RUN_TEST_LOOP_f_l): Likewise.
5486 (RUN_TEST_LOOP_f_L): Likewise.
5487 (RUN_TEST_LOOP_fFF_11): Likewise.
5488 * math/gen-libm-test.pl (parse_args): Output four copies of
5489 expected results for each test.
5490
67737b8f
JM
5491 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5492 (__ASSUME_UTIMES): Remove.
5493 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5494 (__ASSUME_UTIMES): Likewise.
5495
aa97dee1
JM
5496 * math/gen-auto-libm-tests.c: Update comment on output format.
5497 (output_for_one_input_case): Generate before-rounding and
5498 after-rounding information as conditions on output flags not
5499 floating-point format.
5500 * math/auto-libm-test-out: Regenerated.
5501 * math/gen-libm-test.pl (cond_value): New function.
5502 (or_cond_value): Use cond_value.
5503 (generate_testfile): Handle conditional exceptions.
5504
e6b6a857
JM
55052014-03-05 Joseph Myers <joseph@codesourcery.com>
5506
2f0a0f44
JM
5507 * math/libm-test.inc (max_valid_error): New variable.
5508 (init_max_error): Take new argument specifying whether function
5509 results are exactly determined. Set max_valid_error and bound
5510 other variables for errors based on this argument.
5511 (set_max_error): Do not record results above max_valid_error.
5512 (check_float_internal): Only accept errors of up to 0.5ulps if
5513 also at most max_valid_error.
5514 (START): Take new argument EXACT and pass it to init_max_error.
5515 (acos_test): Update call to START.
5516 (acos_test_tonearest): Likewise.
5517 (acos_test_towardzero): Likewise.
5518 (acos_test_downward): Likewise.
5519 (acos_test_upward): Likewise.
5520 (acosh_test): Likewise.
5521 (asin_test): Likewise.
5522 (asin_test_tonearest): Likewise.
5523 (asin_test_towardzero): Likewise.
5524 (asin_test_downward): Likewise.
5525 (asin_test_upward): Likewise.
5526 (asinh_test): Likewise.
5527 (atan_test): Likewise.
5528 (atanh_test): Likewise.
5529 (atan2_test): Likewise.
5530 (cabs_test): Likewise.
5531 (cacos_test): Likewise.
5532 (cacosh_test): Likewise.
5533 (carg_test): Likewise.
5534 (casin_test): Likewise.
5535 (casinh_test): Likewise.
5536 (catan_test): Likewise.
5537 (catanh_test): Likewise.
5538 (cbrt_test): Likewise.
5539 (ccos_test): Likewise.
5540 (ccosh_test): Likewise.
5541 (ceil_test): Likewise.
5542 (cexp_test): Likewise.
5543 (cimag_test): Likewise.
5544 (clog_test): Likewise.
5545 (clog10_test): Likewise.
5546 (conj_test): Likewise.
5547 (copysign_test): Likewise.
5548 (cos_test): Likewise.
5549 (cos_test_tonearest): Likewise.
5550 (cos_test_towardzero): Likewise.
5551 (cos_test_downward): Likewise.
5552 (cos_test_upward): Likewise.
5553 (cosh_test): Likewise.
5554 (cosh_test_tonearest): Likewise.
5555 (cosh_test_towardzero): Likewise.
5556 (cosh_test_downward): Likewise.
5557 (cosh_test_upward): Likewise.
5558 (cpow_test): Likewise.
5559 (cproj_test): Likewise.
5560 (creal_test): Likewise.
5561 (csin_test): Likewise.
5562 (csinh_test): Likewise.
5563 (csqrt_test): Likewise.
5564 (ctan_test): Likewise.
5565 (ctan_test_tonearest): Likewise.
5566 (ctan_test_towardzero): Likewise.
5567 (ctan_test_downward): Likewise.
5568 (ctan_test_upward): Likewise.
5569 (ctanh_test): Likewise.
5570 (ctanh_test_tonearest): Likewise.
5571 (ctanh_test_towardzero): Likewise.
5572 (ctanh_test_downward): Likewise.
5573 (ctanh_test_upward): Likewise.
5574 (erf_test): Likewise.
5575 (erfc_test): Likewise.
5576 (exp_test): Likewise.
5577 (exp_test_tonearest): Likewise.
5578 (exp_test_towardzero): Likewise.
5579 (exp_test_downward): Likewise.
5580 (exp_test_upward): Likewise.
5581 (exp10_test): Likewise.
5582 (exp10_test_tonearest): Likewise.
5583 (exp10_test_towardzero): Likewise.
5584 (exp10_test_downward): Likewise.
5585 (exp10_test_upward): Likewise.
5586 (pow10_test): Likewise.
5587 (exp2_test): Likewise.
5588 (expm1_test): Likewise.
5589 (expm1_test_tonearest): Likewise.
5590 (expm1_test_towardzero): Likewise.
5591 (expm1_test_downward): Likewise.
5592 (expm1_test_upward): Likewise.
5593 (fabs_test): Likewise.
5594 (fdim_test): Likewise.
5595 (floor_test): Likewise.
5596 (fma_test): Likewise.
5597 (fma_test_towardzero): Likewise.
5598 (fma_test_downward): Likewise.
5599 (fma_test_upward): Likewise.
5600 (fmax_test): Likewise.
5601 (fmin_test): Likewise.
5602 (fmod_test): Likewise.
5603 (fpclassify_test): Likewise.
5604 (frexp_test): Likewise.
5605 (hypot_test): Likewise.
5606 (ilogb_test): Likewise.
5607 (isfinite_test): Likewise.
5608 (finite_test): Likewise.
5609 (isgreater_test): Likewise.
5610 (isgreaterequal_test): Likewise.
5611 (isinf_test): Likewise.
5612 (isless_test): Likewise.
5613 (islessequal_test): Likewise.
5614 (islessgreater_test): Likewise.
5615 (isnan_test): Likewise.
5616 (isnormal_test): Likewise.
5617 (issignaling_test): Likewise.
5618 (isunordered_test): Likewise.
5619 (j0_test): Likewise.
5620 (j1_test): Likewise.
5621 (jn_test): Likewise.
5622 (ldexp_test): Likewise.
5623 (lgamma_test): Likewise.
5624 (gamma_test): Likewise.
5625 (lrint_test): Likewise.
5626 (lrint_test_tonearest): Likewise.
5627 (lrint_test_towardzero): Likewise.
5628 (lrint_test_downward): Likewise.
5629 (lrint_test_upward): Likewise.
5630 (llrint_test): Likewise.
5631 (llrint_test_tonearest): Likewise.
5632 (llrint_test_towardzero): Likewise.
5633 (llrint_test_downward): Likewise.
5634 (llrint_test_upward): Likewise.
5635 (log_test): Likewise.
5636 (log10_test): Likewise.
5637 (log1p_test): Likewise.
5638 (log2_test): Likewise.
5639 (logb_test): Likewise.
5640 (logb_test_downward): Likewise.
5641 (lround_test): Likewise.
5642 (llround_test): Likewise.
5643 (modf_test): Likewise.
5644 (nearbyint_test): Likewise.
5645 (nextafter_test): Likewise.
5646 (nexttoward_test): Likewise.
5647 (pow_test): Likewise.
5648 (pow_test_tonearest): Likewise.
5649 (pow_test_towardzero): Likewise.
5650 (pow_test_downward): Likewise.
5651 (pow_test_upward): Likewise.
5652 (remainder_test): Likewise.
5653 (drem_test): Likewise.
5654 (remainder_test_tonearest): Likewise.
5655 (drem_test_tonearest): Likewise.
5656 (remainder_test_towardzero): Likewise.
5657 (drem_test_towardzero): Likewise.
5658 (remainder_test_downward): Likewise.
5659 (drem_test_downward): Likewise.
5660 (remainder_test_upward): Likewise.
5661 (drem_test_upward): Likewise.
5662 (remquo_test): Likewise.
5663 (rint_test): Likewise.
5664 (rint_test_tonearest): Likewise.
5665 (rint_test_towardzero): Likewise.
5666 (rint_test_downward): Likewise.
5667 (rint_test_upward): Likewise.
5668 (round_test): Likewise.
5669 (scalb_test): Likewise.
5670 (scalbn_test): Likewise.
5671 (scalbln_test): Likewise.
5672 (signbit_test): Likewise.
5673 (sin_test): Likewise.
5674 (sin_test_tonearest): Likewise.
5675 (sin_test_towardzero): Likewise.
5676 (sin_test_downward): Likewise.
5677 (sin_test_upward): Likewise.
5678 (sincos_test): Likewise.
5679 (sinh_test): Likewise.
5680 (sinh_test_tonearest): Likewise.
5681 (sinh_test_towardzero): Likewise.
5682 (sinh_test_downward): Likewise.
5683 (sinh_test_upward): Likewise.
5684 (sqrt_test): Likewise.
5685 (sqrt_test_tonearest): Likewise.
5686 (sqrt_test_towardzero): Likewise.
5687 (sqrt_test_downward): Likewise.
5688 (sqrt_test_upward): Likewise.
5689 (tan_test): Likewise.
5690 (tan_test_tonearest): Likewise.
5691 (tan_test_towardzero): Likewise.
5692 (tan_test_downward): Likewise.
5693 (tan_test_upward): Likewise.
5694 (tanh_test): Likewise.
5695 (tgamma_test): Likewise.
5696 (trunc_test): Likewise.
5697 (y0_test): Likewise.
5698 (y1_test): Likewise.
5699 (yn_test): Likewise.
5700 (significand_test): Likewise.
5701
e6b6a857
JM
5702 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
5703 individual tests in comment.
5704 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
5705 (prev_max_error): New variable.
5706 (prev_real_max_error): Likewise.
5707 (prev_imag_max_error): Likewise.
5708 (compare_ulp_data): Don't refer to test names in comment.
5709 (find_test_ulps): Remove function.
5710 (find_function_ulps): Likewise.
5711 (find_complex_function_ulps): Likewise.
5712 (init_max_error): Take function name as argument. Look up ulps
5713 for that function.
5714 (print_ulps): Remove function.
5715 (print_max_error): Use prev_max_error instead of calling
5716 find_function_ulps.
5717 (print_complex_max_error): Use prev_real_max_error and
5718 prev_imag_max_error instead of calling find_complex_function_ulps.
5719 (check_float_internal): Take max_ulp parameter instead of calling
5720 find_test_ulps. Don't call print_ulps.
5721 (check_float): Update call to check_float_internal.
5722 (check_complex): Update calls to check_float_internal.
5723 (START): Pass argument to init_max_error.
5724 * math/gen-libm-test.pl (%results): Don't include "kind"
5725 information.
5726 (parse_ulps): Don't handle ulps of individual tests.
5727 (print_ulps_file): Likewise.
5728 (output_ulps): Likewise.
5729 * math/README.libm-test: Update.
5730 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
5731 individual tests.
5732 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
5733 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5734 * sysdeps/arm/libm-test-ulps: Likewise.
5735 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5736 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5737 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
5738 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5739 * sysdeps/microblaze/libm-test-ulps: Likewise.
5740 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5741 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5742 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5743 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5744 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5745 * sysdeps/sh/libm-test-ulps: Likewise.
5746 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5747 * sysdeps/tile/libm-test-ulps: Likewise.
5748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5749
45adef3c
JM
57502014-03-04 Joseph Myers <joseph@codesourcery.com>
5751
5752 * math/libm-test.inc (print_complex_max_error): Check separately
5753 whether real and imaginary errors are within allowed range and
5754 pass 0 to print_complex_function_ulps instead of value within
5755 allowed range.
5756
000232b9
SP
57572014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5758
d4b17258
SP
5759 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
5760 formatting.
5761 (get_handles_fopen): Likewise.
5762 (do_write_test): Likewise.
5763
091eff71
SP
5764 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
5765
fa3cd248
SP
5766 * libio/fileops.c (do_ftell): Use cached offset when
5767 available.
5768 * libio/iofwide.c (do_ftell_wide): Likewise.
5769 * libio/iofdopen.c (_IO_new_fdopen): Don't use
5770 _IO_file_attach.
5771 * libio/wfileops.c (_IO_fwide): Don't cache offset.
5772
000232b9
SP
5773 [BZ #16532]
5774 * libio/libioP.h (get_file_offset): New function.
5775 * libio/fileops.c (get_file_offset): Likewise.
5776 (do_ftell): Likewise.
5777 (_IO_new_file_seekoff): Split out ftell logic.
5778 * libio/wfileops.c (do_ftell_wide): Likewise.
5779 (_IO_wfile_seekoff): Split out ftell logic.
5780 * libio/tst-ftell-active-handler.c: New test case.
5781 * libio/Makefile (tests): Add it.
5782
116f4d1a
RM
57832014-03-03 Roland McGrath <roland@hack.frob.com>
5784
5785 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
5786 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
5787
532a6035
SP
57882014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5789
5790 [BZ #16639]
5791 * nscd/connections.c (nscd_init): Call do_exit.
5792 (start_threads): Call do_exit and notify_parent.
5793 (begin_drop_privileges): Call do_exit.
5794 (finish_drop_privileges): Likewise.
5795 * nscd/selinux.c (preserve_capabilities): Likewise.
5796 (install_real_capabilities): Likewise.
5797 (nscd_selinux_enabled): Likewise.
5798 (avc_create_thread): Likewise.
5799 (avc_alloc_lock): Likewise.
5800 (nscd_avc_init): Likewise.
5801 * nscd/nscd.c (parent_fd): New static variable.
5802 (main): Create a pipe between parent and child processes.
5803 Skip closing parent_fd.
5804 (monitor_child): New function.
5805 (do_exit): Likewise.
5806 (notify_parent): Likewise.
5807 * nscd/nscd.h (notify_parent): Likewise.
5808 (do_exit): Likewise.
5809
d6285c9f
CD
58102014-03-03 Carlos O'Donell <carlos@redhat.com>
5811
5812 * malloc/malloc.c (__libc_calloc): Revert last change.
5813
2b85d2a0
AZ
58142014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5815
5816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5817
c7debbdf
RS
58182014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5819
5820 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
5821 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
5822 implementation.
5823 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5824 (__libc_ifunc_impl_list): Likewise.
5825 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
5826 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
5827 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
5828 * string/strrchr.c: Define STRRCHR.
5829
235eed86
OB
58302014-02-28 Ondřej Bílka <neleai@seznam.cz>
5831
5832 * benchtest/bench-strtok.c (simple_strtok): Delete.
5833 (strtok_string): Use as benchmark.
5834 * string/strtok (STRTOK): New macro.
5835
8e25d1e7
CD
58362014-02-28 Carlos O'Donell <carlos@redhat.com>
5837
ef563f92
CD
5838 * manual/threads.texi: Add header and standard comments to all
5839 functions.
5840
8e25d1e7
CD
5841 * elf/dl-lookup.c (check_match): New function.
5842 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
5843 (do_lookup_x): Remove nested function check_match. Use non-nested
5844 function check_match.
5845
ff71cc37
RM
58462014-02-28 Roland McGrath <roland@hack.frob.com>
5847
f08e9a26
RM
5848 * csu/Makefile (generated, before-compile): Use += rather than =.
5849 * catgets/Makefile (generated, generated-dirs): Likewise.
5850 * debug/Makefile (generated): Likewise.
5851 * dlfcn/Makefile (generated): Likewise.
5852 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
5853 * iconvdata/Makefile (before-compile, generated): Likewise.
5854 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
5855 * libio/Makefile (generated): Likewise.
5856 * malloc/Makefile (generated): Likewise.
5857 * manual/Makefile (generated, generated-dirs): Likewise.
5858 * misc/Makefile (generated): Likewise.
5859 * posix/Makefile (generated): Likewise.
5860 * resolv/Makefile (generated): Likewise.
5861 * sunrpc/Makefile (generated, generated-dirs): Likewise.
5862 * timezone/Makefile (generated, generated-dirs): Likewise.
5863
ff71cc37
RM
5864 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
5865
fe13a20c
AZ
58662014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5867
57f41c40
AS
5868 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5869 power8 implementation.
5870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
5871 file: POWER8 llround ifunc implementation.
5872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
5873 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
5874 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
5875 POWER8 llround implementation.
5876
57f41c40
AS
5877 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
5878 power8 implementation.
5879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
5880 file: POWER8 llrint ifunc implementation.
5881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
5882 Add POWER8 implementation.
1ad8950a
AZ
5883 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
5884 POWER8 llrint implementation.
5885
57f41c40
AS
5886 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
5887 power8 implementation.
5888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
5889 file: POWER8 finite ifunc implementation.
5890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
5891 Add POWER8 implementation.
cac626d6
AZ
5892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
5893 Likewise.
5894 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
5895 POWER8 finite implementation.
5896 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
5897
57f41c40
AS
5898 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
5899 power8 implementation.
5900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
5901 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
5902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
5903 POWER8 implementation.
5904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
5905 Likewise.
57f41c40
AS
5906 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
5907 isinf implementation.
4393fc11
AZ
5908 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
5909
57f41c40
AS
5910 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
5911 (INIT_ARCH): Add hwcap2 initialization.
5912 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5913 power8 implementation.
5914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
5915 file: POWER8 isnan ifunc implementation.
487972ae
AZ
5916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
5917 POWER8 implementation.
5918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
5919 Likewise.
57f41c40
AS
5920 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
5921 isnan implementation.
487972ae
AZ
5922 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
5923
7d92b787
JY
59242014-02-27 Joey Ye <joey.ye@arm.com>
5925
5926 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5927 (_FP_NANFRAC_Q): Set to zero.
5928
1cadc858
SP
59292014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5930
5931 [BZ #16623]
5932 * math/auto-libm-test-in: New test inputs.
5933 * math/auto-libm-test-out: Regenerate.
5934 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
5935 and DA.
5936 (__cos): Likewise.
5937 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5938
f8c17e79
JM
59392014-02-27 Joseph Myers <joseph@codesourcery.com>
5940
5941 * scripts/evaluate-test.sh: Take new argument indicating whether
5942 failure is expected.
5943 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
5944 indicating whether failure is expected.
5945 * conform/Makefile (test-xfail-run-conformtest): New variable.
5946 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
5947 level.
5948 * posix/Makefile (test-xfail-annexc): New variable.
5949 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
5950
a5f891ac
JM
59512014-02-26 Joseph Myers <joseph@codesourcery.com>
5952
5953 * argp/Makefile: Include Makeconfig immediately after defining
5954 subdir.
5955 * assert/Makefile: Likewise.
5956 * benchtests/Makefile: Likewise.
5957 * catgets/Makefile: Likewise.
5958 * conform/Makefile: Likewise.
5959 * crypt/Makefile: Likewise.
5960 * csu/Makefile: Likewise.
5961 (all): Remove target.
5962 * ctype/Makefile: Include Makeconfig immediately after defining
5963 subdir.
5964 * debug/Makefile: Likewise.
5965 * dirent/Makefile: Likewise.
5966 * dlfcn/Makefile: Likewise.
5967 * gmon/Makefile: Likewise.
5968 * gnulib/Makefile: Likewise.
5969 * grp/Makefile: Likewise.
5970 * gshadow/Makefile: Likewise.
5971 * hesiod/Makefile: Likewise.
5972 * hurd/Makefile: Likewise.
5973 (all): Remove target.
5974 * iconvdata/Makefile: Include Makeconfig immediately after
5975 defining subdir.
5976 * inet/Makefile: Likewise.
5977 * intl/Makefile: Likewise.
5978 * io/Makefile: Likewise.
5979 * libio/Makefile: Likewise.
5980 (all): Remove target.
5981 * locale/Makefile: Include Makeconfig immediately after defining
5982 subdir.
5983 * login/Makefile: Likewise.
5984 * mach/Makefile: Likewise.
5985 (all): Remove target.
5986 * malloc/Makefile: Include Makeconfig immediately after defining
5987 subdir.
5988 (all): Remove target.
5989 * manual/Makefile: Include Makeconfig immediately after defining
5990 subdir.
5991 * math/Makefile: Likewise.
5992 * misc/Makefile: Likewise.
5993 * nis/Makefile: Likewise.
5994 * nss/Makefile: Likewise.
5995 * po/Makefile: Likewise.
5996 (all): Remove target.
5997 * posix/Makefile: Include Makeconfig immediately after defining
5998 subdir.
5999 * pwd/Makefile: Likewise.
6000 * resolv/Makefile: Likewise.
6001 * resource/Makefile: Likewise.
6002 * rt/Makefile: Likewise.
6003 * setjmp/Makefile: Likewise.
6004 * shadow/Makefile: Likewise.
6005 * signal/Makefile: Likewise.
6006 * socket/Makefile: Likewise.
6007 * soft-fp/Makefile: Likewise.
6008 * stdio-common/Makefile: Likewise.
6009 * stdlib/Makefile: Likewise.
6010 * streams/Makefile: Likewise.
6011 * string/Makefile: Likewise.
6012 * sunrpc/Makefile: Likewise.
6013 (all): Remove target.
6014 * sysvipc/Makefile: Include Makeconfig immediately after defining
6015 subdir.
6016 * termios/Makefile: Likewise.
6017 * time/Makefile: Likewise.
6018 * timezone/Makefile: Likewise.
6019 (all): Remove target.
6020 * wcsmbs/Makefile: Include Makeconfig immediately after defining
6021 subdir.
6022 * wctype/Makefile: Likewise.
6023
5b456e9d
SE
60242014-02-26 Steve Ellcey <sellcey@mips.com>
6025
6026 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6027 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6028 (libc_feholdexcept_setround_mips): Ditto.
6029 (libc_feholdsetround): New.
6030 (libc_feholdsetroundf): New.
6031 (libc_feholdsetroundl): New.
6032 (libc_feupdateenv_test_mips): New.
6033 (libc_feupdateenv_test): New.
6034 (libc_feupdateenv_testf): New.
6035 (libc_feupdateenv_testl): New.
6036 (libc_feresetround): New.
6037 (libc_feresetroundf): New.
6038 (libc_feresetroundl): New.
6039 (libc_fetestexcept_mips): New.
6040 (libc_fetestexcept): New.
6041 (libc_fetestexceptf): New.
6042 (libc_fetestexceptl): New.
6043 (HAVE_RM_CTX): New.
6044 (libc_feholdexcept_setround_mips_ctx): New.
6045 (libc_feholdexcept_setround_ctx): New.
6046 (libc_feholdexcept_setroundf_ctx): New.
6047 (libc_feholdexcept_setroundl_ctx): New.
6048 (libc_fesetenv_mips_ctx): New.
6049 (libc_fesetenv_ctx): New.
6050 (libc_fesetenv_ctxf): New.
6051 (libc_fesetenv_ctxl): New.
6052 (libc_feupdateenv_mips_ctx): New.
6053 (libc_feupdateenv_ctx): New.
6054 (libc_feupdateenvf_ctx): New.
6055 (libc_feupdateenvl_ctx): New.
6056 (libc_feholdsetround_mips_ctx): New.
6057 (libc_feholdsetround_ctx): New.
6058 (libc_feholdsetroundf_ctx): New.
6059 (libc_feholdsetroundl_ctx): New.
6060 (libc_feresetround_mips_ctx): New.
6061 (libc_feresetround_ctx): New.
6062 (libc_feresetroundf_ctx): New.
6063 (libc_feresetroundl_ctx): New.
6064
085d0e35
CD
60652014-02-26 Carlos O'Donell <carlos@redhat.com>
6066
f067bf1f
CD
6067 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6068
085d0e35
CD
6069 * manual/ipc.texi: New file.
6070 * manual/Makefile (chapters): Add ipc.
6071 * manual/job.texi: Add "Inter-Process Communication" to next.
6072 * manual/process.texi: Add "Inter-Process Communication" to prev.
6073
86e58c08
AZ
60742014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6075
6076 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6077
4248f0da
OB
60782014-02-26 Ondřej Bílka <neleai@seznam.cz>
6079
6080 * malloc/malloc.c (__libc_calloc): Simplify implementation.
6081
cf822e3c
OB
6082 * manual/arith.texi: Fix spaces after sentences.
6083 * manual/charset.texi: Likewise.
6084 * manual/errno.texi: Likewise.
6085 * manual/install.texi: Likewise.
6086 * manual/llio.texi: Likewise.
6087 * manual/locale.texi: Likewise.
6088 * manual/maint.texi: Likewise.
6089 * manual/math.texi: Likewise.
6090 * manual/memory.texi: Likewise.
6091 * manual/message.texi: Likewise.
6092 * manual/probes.texi: Likewise.
6093 * manual/resource.texi: Likewise.
6094 * manual/signal.texi: Likewise.
6095 * manual/socket.texi: Likewise.
6096 * manual/stdio.texi: Likewise.
6097 * manual/string.texi: Likewise.
6098 * manual/time.texi: Likewise.
6099 * manual/users.texi: Likewise.
6100
ade40b10
CD
61012014-02-25 Carlos O'Donell <carlos@redhat.com>
6102
6103 [BZ #16632]
6104 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6105 _DEFAULT_SOURCE is defined.
6106
d0503676
CD
61072014-02-25 Ulrich Drepper <drepper@gmail.com>
6108 Carlos O'Donell <carlos@redhat.com>
6109
6110 [BZ #16613]
6111 * elf/dl-tls.c (_dl_count_modids): New function.
6112 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6113 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6114 audit library and increment generation counter.
6115 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6116 * elf/tst-audit9.c: New file.
6117 * elf/tst-auditmod9a.c: New file.
6118 * elf/tst-auditmod9b.c: New file.
6119 * elf/Makefile: Add rules to build and run tst-audit9.
6120
4cbf380c
FW
61212014-02-25 Florian Weimer <fweimer@redhat.com>
6122
6123 [BZ #15347]
6124 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6125
80a56cc3
WN
61262014-02-25 Will Newton <will.newton@linaro.org>
6127
6128 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6129 (__longjmp): Restore sp and lr before restoring callee
6130 saved registers. Add longjmp and longjmp_target
6131 SystemTap probe point.
6132 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6133 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6134 Define to zero to match jmpbuf layout.
6135 * sysdeps/arm/setjmp.S: Include stap-probe.h.
6136 (__sigsetjmp): Save sp and lr before saving callee
6137 saved registers. Add setjmp SystemTap probe point.
6138
3ea0f74e
SL
61392014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6140
6141 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6142
b04acb26
AS
61432014-02-24 Andreas Schwab <schwab@suse.de>
6144
6145 [BZ #15804]
6146 * elf/pldd.c (wait_for_ptrace_stop): New function.
6147 (main): Call it after attaching.
6148
098ad55c
RM
61492014-02-22 Roland McGrath <roland@hack.frob.com>
6150
d4ec6ae1
RM
6151 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6152 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6153 Versions files is now verboten.
6154 * hurd/Versions (libc: GLIBC_2.0):
6155 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6156 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6157 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6158 * mach/Versions: Likewise.
6159
098ad55c
RM
6160 * csu/Versions: Remove unused %include.
6161 * resolv/Versions: Likewise.
6162
acd7f096
JM
61632014-02-21 Joseph Myers <joseph@codesourcery.com>
6164
f0881698
JM
6165 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6166 ($(objpfx)check-local-headers.out): Likewise.
6167 ($(objpfx)begin-end-check.out): Likewise.
6168 * Makerules (check-abi-%.out): Likewise.
6169 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6170 ($(objpfx)test2.cat): Likewise.
6171 ($(objpfx)de/libc.cat): Likewise.
6172 ($(objpfx)test-gencat.out): Likewise.
6173 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6174 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6175 ($(objpfx)noload-mem): Likewise.
6176 ($(objpfx)tst-pathopt.out): Likewise.
6177 ($(objpfx)tst-rtld-load-self.out): Likewise.
6178 ($(objpfx)tst-array1-cmp.out): Likewise.
6179 ($(objpfx)tst-array1-static-cmp.out): Likewise.
6180 ($(objpfx)tst-array2-cmp.out): Likewise.
6181 ($(objpfx)tst-array3-cmp.out): Likewise.
6182 ($(objpfx)tst-array4-cmp.out): Likewise.
6183 ($(objpfx)tst-array5-cmp.out): Likewise.
6184 ($(objpfx)tst-array5-static-cmp.out): Likewise.
6185 ($(objpfx)check-textrel.out): Likewise.
6186 ($(objpfx)check-execstack.out): Likewise.
6187 ($(objpfx)check-localplt.out): Likewise.
6188 ($(objpfx)order2-cmp.out): Likewise.
6189 ($(objpfx)tst-leaks1-mem): Likewise.
6190 ($(objpfx)tst-leaks1-static-mem): Likewise.
6191 ($(objpfx)tst-initorder-cmp.out): Likewise.
6192 ($(objpfx)tst-initorder2-cmp.out): Likewise.
6193 ($(objpfx)tst-unused-dep.out): Likewise.
6194 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6195 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6196 * iconv/Makefile (test-iconvconfig): Likewise.
6197 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6198 ($(objpfx)iconv-test.out): Likewise.
6199 ($(objpfx)tst-tables.out): Likewise.
6200 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6201 ($(objpfx)tst-gettext.out): Likewise.
6202 ($(objpfx)tst-translit.out): Likewise.
6203 ($(objpfx)tst-gettext2.out): Likewise.
6204 ($(objpfx)tst-gettext4.out): Likewise.
6205 ($(objpfx)tst-gettext6.out): Likewise.
6206 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6207 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6208 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6209 ($(objpfx)tst-fopenloc-mem.out): Likewise.
6210 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6211 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6212 * posix/Makefile ($(objpfx)globtest.out): Likewise.
6213 ($(objpfx)wordexp-tst.out): Likewise.
6214 ($(objpfx)annexc.out): Likewise.
6215 ($(objpfx)tst-fnmatch-mem): Likewise.
6216 ($(objpfx)bug-regex2-mem): Likewise.
6217 ($(objpfx)bug-regex14-mem): Likewise.
6218 ($(objpfx)bug-regex21-mem): Likewise.
6219 ($(objpfx)bug-regex31-mem): Likewise.
6220 ($(objpfx)tst-vfork3-mem): Likewise.
6221 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6222 ($(objpfx)tst-pcre-mem): Likewise.
6223 ($(objpfx)tst-boost-mem): Likewise.
6224 ($(objpfx)tst-getconf.out): Likewise.
6225 ($(objpfx)bug-ga2-mem): Likewise.
6226 ($(objpfx)bug-glob2-mem): Likewise.
6227 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6228 ($(objpfx)mtrace-tst-leaks2): Likewise.
6229 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6230 ($(objpfx)tst-printf.out): Likewise.
6231 ($(objpfx)tst-setvbuf1.out): Likewise.
6232 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6233 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6234 ($(objpfx)tst-fmtmsg.out): Likewise.
6235 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6236 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6237
acd7f096
JM
6238 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6239 * bits/sigaction.h [__USE_MISC]: Likewise.
6240 * bits/waitstatus.h: Update #endif comments.
6241 * ctype/ctype.h: Likewise.
6242 * dirent/dirent.h: Likewise.
6243 [__USE_MISC]: Remove redundant conditionals.
6244 * grp/grp.h: Update #endif comments.
6245 [__USE_GNU]: Remove redundant conditionals.
6246 [__USE_MISC]: Likewise.
6247 * inet/netinet/in.h [__USE_GNU]: Likewise.
6248 * io/sys/stat.h [__USE_MISC]: Likewise.
6249 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6250 * libio/bits/stdio.h: Update #endif comments.
6251 [__USE_MISC]: Remove redundant conditionals.
6252 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6253 * libio/stdio.h: Update #endif comments.
6254 [__USE_MISC]: Remove redundant conditionals.
6255 * math/bits/math-finite.h [__USE_MISC]: Likewise.
6256 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6257 * math/math.h: Update #else and #endif comments.
6258 [__USE_MISC]: Remove redundant conditionals.
6259 * misc/sys/uio.h: Update #endif comments.
6260 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6261 * posix/glob.h [__USE_MISC]: Likewise.
6262 * posix/sys/types.h: Update #endif comments.
6263 [__USE_MISC]: Remove redundant conditionals.
6264 * posix/sys/wait.h: Update #endif comments.
6265 [__USE_MISC]: Remove redundant conditionals.
6266 * posix/unistd.h: Update #endif comments.
6267 [__USE_MISC]: Remove redundant conditionals.
6268 * pwd/pwd.h [__USE_GNU]: Likewise.
6269 [__USE_MISC]: Likewise.
6270 * resolv/netdb.h [__USE_GNU]: Likewise.
6271 * signal/signal.h: Update #endif comments.
6272 [__USE_MISC]: Remove redundant conditionals.
6273 * stdlib/stdlib.h: Update #else and #endif comments.
6274 [__USE_MISC]: Remove redundant conditionals.
6275 [__USE_GNU]: Likewise.
6276 * string/bits/string2.h [__USE_MISC]: Likewise.
6277 * string/string.h: Update #endif comments.
6278 [__USE_MISC]: Remove redundant conditionals.
6279 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6280 Likewise.
6281 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6282 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6283 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6284 Likewise.
6285 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6286 Likewise.
6287 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6288 comments.
6289 [__USE_MISC]: Remove redundant conditionals.
6290 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6291 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6292 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6293 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6294 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6295 Likewise.
6296 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6297 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6298 Likewise.
6299 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6300 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6301 Likewise.
6302 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6303 Likewise.
6304 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6305 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6306 Likewise.
6307 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6308 Likewise.
6309 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6310 * sysdeps/x86/bits/string.h: Update #endif comments.
6311 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6312 conditionals.
6313 * time/sys/time.h: Update #endif comments.
6314 * time/time.h: Likewise.
6315 [__USE_MISC]: Remove redundant conditionals.
6316
a5d82e4e
YG
63172014-02-21 Yury Gribov <y.gribov@samsung.com>
6318
6319 [BZ #16600]
6320 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6321
9a80491d
AS
63222014-02-21 Andreas Schwab <schwab@linux-m68k.org>
6323
6324 * Versions.def (librt): Add GLIBC_2.17.
6325
105fa381
AC
63262014-02-21 Adam Conrad <adconrad@0c3.net>
6327
6328 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6329 synonym for _SYS_AUXV_H to allow direct inclusion.
6330 * sysdeps/sparc/bits/hwcap.h: Likewise.
6331 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6332 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6333 * sysdeps/sparc/sysdep.h: Likewise.
6334
b8cd1c4e
SP
63352014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6336
6337 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6338
bd939d23
RS
63392014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6340
6341 * benchtests/bench-strrchr.c: Print length instead of position.
6342
5d7b57ca
JM
63432014-02-20 Joseph Myers <joseph@codesourcery.com>
6344
bc688c10
JM
6345 [BZ #16611]
6346 * sysdeps/unix/sysv/linux/kernel-features.h
6347 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6348 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6349 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6350 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6351 Likewise.
6352 [__i386__ || __powerpc__ || __sh__ || __sparc__]
6353 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6354 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6355 (__ASSUME_SENDMMSG): Define instead of using previous
6356 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6357 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6358 (__ASSUME_SENDMMSG_SYSCALL): Define.
6359 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6360 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6361 Likewise.
6362 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6363 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6364 Likewise.
6365 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6366 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6367 Likewise.
6368 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6369 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6370 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6371 [__ASSUME_SENDMMSG]: Change conditionals to
6372 [__ASSUME_SENDMMSG_SOCKETCALL].
6373 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6374 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6375 Define.
6376 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6377 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6378 Likewise.
6379 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6380 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6381 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6382 [!__ASSUME_SENDMMSG]: Change conditional to
6383 [!__ASSUME_SENDMMSG_SOCKETCALL].
6384 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6385 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6386 Define.
6387
0e31b18c
JM
6388 [BZ #16610]
6389 * sysdeps/unix/sysv/linux/kernel-features.h
6390 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6391 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6392 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6393 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6394 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6395 [__i386__ || __sparc__]
6396 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6397 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6398 (__ASSUME_RECVMMSG): Define instead of using previous
6399 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6400 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6401 (__ASSUME_RECVMMSG_SYSCALL): Define.
6402 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6403 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6404 Likewise.
6405 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6406 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6407 Likewise.
6408 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6409 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6410 Likewise.
6411 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6412 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6413 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6414 [__ASSUME_RECVMMSG]: Change condition to
6415 [__ASSUME_RECVMMSG_SOCKETCALL].
6416 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6417 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6418 Define.
6419 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6420 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6421 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6422 Likewise.
6423 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6424 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6425 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6426 [!__ASSUME_RECVMMSG]: Change condition to
6427 [!__ASSUME_RECVMMSG_SOCKETCALL].
6428 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6429 (__ASSUME_RECVMMSG_SYSCALL): Define.
6430
dd481ccf
JM
6431 [BZ #16609]
6432 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6433 __powerpc__ || __s390__ || __sh__ || __sparc__]
6434 (__ASSUME_SOCKETCALL): Define.
6435 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6436 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6437 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6438 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6439 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6440 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6441 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
6442 (__ASSUME_ACCEPT4): Define instead of using previous
6443 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
6444 __powerpc__ || __sparc__ || __s390__)] condition.
6445 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6446 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6447 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
6448 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6449 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6450 [!__ASSUME_ACCEPT4]: Change condition to
6451 [!__ASSUME_ACCEPT4_SOCKETCALL].
6452 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6453 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
6454 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
6455 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6456 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
6457 __ASSUME_ACCEPT4_SYSCALL.
6458 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
6459 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
6460 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6461 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
6462 __ASSUME_ACCEPT4_SYSCALL.
6463 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
6464 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6465 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6466 [__ASSUME_ACCEPT4]: Change condition to
6467 [__ASSUME_ACCEPT4_SOCKETCALL].
6468 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6469 (__ASSUME_SOCKETCALL): Define.
6470 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
6471 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6472 (__ASSUME_SOCKETCALL): Define.
6473 (__ASSUME_ACCEPT4): Remove.
6474 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
6475 Define.
6476 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6477 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
6478 Likewise.
6479 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6480 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6481
5d7b57ca
JM
6482 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
6483 macro.
6484 (HWCAP_ARM_LPAE): Likewise.
6485 (HWCAP_ARM_EVTSTRM): Likewise.
6486 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
6487 Add vpfd32, lpae and evtstrm.
6488 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
6489 Increase to 22.
6490
63689d61
JM
64912014-02-19 Joseph Myers <joseph@codesourcery.com>
6492
6493 * math/auto-libm-test-in: Add tests of clog10.
6494 * math/auto-libm-test-out: Regenerated.
6495 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
6496 * sysdeps/i386/fpu/libm-test-ulps: Update.
6497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6498
ab09bf61
AS
64992014-02-18 Andreas Schwab <schwab@suse.de>
6500
6501 [BZ #16574]
6502 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
6503 Store non-zero if the second buffer was newly allocated.
6504 (send_dg): Likewise.
6505 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
6506 to send_vc and send_dg.
6507 (res_nsend): Pass NULL for ansp2_malloced.
6508 * resolv/res_query.c (__libc_res_nquery): Add parameter
6509 answerp2_malloced and pass it down to __libc_res_nsend.
6510 (res_nquery): Pass additional NULL to __libc_res_nquery.
6511 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
6512 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
6513 second answer buffer if answerp2_malloced was set.
6514 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
6515 (__libc_res_nquerydomain): Add parameter
6516 answerp2_malloced and pass it down to __libc_res_nquery.
6517 (res_nquerydomain): Pass additional NULL to
6518 __libc_res_nquerydomain.
6519 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
6520 additional NULL to __libc_res_nsend and __libc_res_nquery.
6521 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
6522 additional NULL to __libc_res_nsearch.
6523 (_nss_dns_gethostbyname4_r): Revert last change. Use new
6524 parameter of __libc_res_nsearch to check for separately allocated
6525 second buffer.
6526 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
6527 __libc_res_nquery.
6528 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
6529 additional NULL to __libc_res_nquery.
6530 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
6531 __libc_res_nsearch.
6532 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
6533 * include/resolv.h: Update prototypes of __libc_res_nquery,
6534 __libc_res_nsearch, __libc_res_nsend.
6535
a4fb7861
JM
65362014-02-18 Joseph Myers <joseph@codesourcery.com>
6537
c6af2d89
JM
6538 * math/auto-libm-test-in: Add tests of fma.
6539 * math/auto-libm-test-out: Regenerated.
6540 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
6541 (fma_towardzero_test_data): Likewise.
6542 (fma_downward_test_data): Likewise.
6543 (fma_upward_test_data): Likewise.
6544 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
6545 mpc_mode.
6546 (rounding_modes): Add values for new field.
6547 (func_calc_method): Add value mpfr_fff_f.
6548 (func_calc_desc): Add mpfr_fff_f union field.
6549 (test_function): Add field exact_args.
6550 (FUNC): Add macro argument EXACT_ARGS.
6551 (FUNC_mpfr_f_f): Update call to FUNC.
6552 (FUNC_mpfr_f_f): Likewise.
6553 (FUNC_mpfr_ff_f): Likewise.
6554 (FUNC_mpfr_if_f): Likewise.
6555 (FUNC_mpc_c_f): Likewise.
6556 (FUNC_mpc_c_c): Likewise.
6557 (test_functions): Add fma. Update calls to FUNC.
6558 (handle_input_arg): Add argument exact_args.
6559 (add_test): Update call to handle_input_arg.
6560 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
6561 (output_for_one_input_case): Update call to calc_generic_results.
6562 Recalculate exact zero results in each rounding mode.
6563
a4fb7861
JM
6564 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
6565 non-negative before setting low bit.
6566 * math/auto-libm-test-in: Mark one asin test possibly having
6567 spurious underflow.
6568 * math/auto-libm-test-out: Regenerated.
6569 * sysdeps/i386/fpu/libm-test-ulps: Update.
6570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6571
ef114eaf
DH
65722014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
6573
2b7f4f2c
SP
6574 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
6575 * sysdeps/unix/sysv/linux/microblaze: Move directory from
6576 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
6577 * README: Add missing listing for microblaze*-*-linux-gnu.
6578
c70a4b1d
MF
65792014-02-16 Mike Frysinger <vapier@gentoo.org>
6580
6581 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
6582 * sysdeps/unix/sysv/linux/ia64: Move directory from
6583 ports/sysdeps/unix/sysv/linux/ia64.
6584 * README: Update listing for ia64-*-linux-gnu.
6585
591aeaf7
TD
65862014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
6587 Joseph Myers <joseph@codesourcery.com>
6588
6589 * Makeconfig (test-name): New variable.
6590 (evaluate-test): Likewise.
6591 * Makerules (do-test-clean): Remove .test-result files.
6592 (common-mostlyclean): Likewise.
6593 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
6594 * scripts/evaluate-test.sh: New file.
6595
6e89caf1
JM
65962014-02-14 Joseph Myers <joseph@codesourcery.com>
6597
7f98f180
JM
6598 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
6599 separate $(objpfx)tst-fopenloc-cmp.out and
6600 $(objpfx)tst-fopenloc-mem.out targets.
6601 (tests): Update dependencies.
6602 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
6603 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
6604 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
6605 (tst-rxspencer-no-utf8-ARGS): New variable.
6606 (tst-rxspencer-no-utf8-ENV): Likewise.
6607 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
6608 instead of $(objpfx)tst-rxspencer-mem.
6609 ($(objpfx)tst-rxspencer-mem): Change target to
6610 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
6611 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
6612 * posix/tst-rxspencer-no-utf8.c: New file.
6613
6e89caf1
JM
6614 * elf/Makefile ($(objpfx)order.out): Remove rule.
6615 [$(run-built-tests) = yes] (tests): Depend on
6616 $(objpfx)order-cmp.out.
6617 ($(objpfx)order-cmp.out): New rule.
6618 [$(run-built-tests) = yes] (tests): Depend on
6619 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
6620 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
6621 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
6622 $(objpfx)tst-array5-static-cmp.out.
6623 ($(objpfx)tst-array1.out): Remove rule.
6624 ($(objpfx)tst-array1-cmp.out): New rule.
6625 ($(objpfx)tst-array1-static.out): Remove rule.
6626 ($(objpfx)tst-array1-static-cmp.out): New rule.
6627 ($(objpfx)tst-array2.out): Remove rule.
6628 ($(objpfx)tst-array2-cmp.out): New rule.
6629 ($(objpfx)tst-array3.out): Remove rule.
6630 ($(objpfx)tst-array3-cmp.out): New rule.
6631 ($(objpfx)tst-array4.out): Remove rule.
6632 ($(objpfx)tst-array4-cmp.out): New rule.
6633 ($(objpfx)tst-array5.out): Remove rule.
6634 ($(objpfx)tst-array5-cmp.out): New rule.
6635 ($(objpfx)tst-array5-static.out): Remove rule.
6636 ($(objpfx)tst-array5-static-cmp.out): New rule.
6637 [$(run-built-tests) = yes] (tests): Depend on
6638 $(objpfx)order2-cmp.out.
6639 ($(objpfx)order2.out): Remove rule.
6640 ($(objpfx)order2-cmp.out): New rule.
6641 ($(objpfx)tst-initorder.out): Remove rule.
6642 [$(run-built-tests) = yes] (tests): Depend on
6643 $(objpfx)tst-initorder-cmp.out.
6644 ($(objpfx)tst-initorder-cmp.out): New rule.
6645 ($(objpfx)tst-initorder2.out): Remove rule.
6646 [$(run-built-tests) = yes] (tests): Depend on
6647 $(objpfx)tst-initorder2-cmp.out.
6648 ($(objpfx)tst-initorder2-cmp.out): New rule.
6649 [$(run-built-tests) = yes] (tests): Depend on
6650 $(objpfx)tst-unused-dep-cmp.out.
6651 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
6652 ($(objpfx)tst-unused-dep-cmp.out): New rule.
6653 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
6654 on $(objpfx)tst-setvbuf1-cmp.out.
6655 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
6656 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
6657 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
6658 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
6659 ($(objpfx)tst-svc.out): Remove rule.
6660 ($(objpfx)tst-svc-cmp.out): New rule.
6661
ed9a38e2
JM
66622014-02-13 Joseph Myers <joseph@codesourcery.com>
6663
6664 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
6665 * ctype/ctype.h [__USE_MISC]: Likewise.
6666 * dirent/dirent.h [__USE_MISC]: Likewise.
6667 * grp/grp.h [__USE_MISC]: Likewise.
6668 * io/fcntl.h [__USE_MISC]: Likewise.
6669 * io/sys/stat.h [__USE_MISC]: Likewise.
6670 * libio/stdio.h [__USE_MISC]: Likewise.
6671 * posix/unistd.h [__USE_MISC]: Likewise.
6672 * pwd/pwd.h [__USE_MISC]: Likewise.
6673 * stdlib.h [__USE_MISC]: Likewise.
6674 * string/bits/string2.h [__USE_MISC]: Likewise.
6675 * string/string.h [__USE_MISC]: Likewise.
6676 * time/time.h [__USE_MISC]: Likewise.
6677
d6680619
AS
66782014-02-13 Andreas Schwab <schwab@suse.de>
6679
6680 [BZ #16574]
6681 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
6682 second answer buffer if it was separately allocated.
6683
ace614b8
JM
66842014-02-12 Joseph Myers <joseph@codesourcery.com>
6685
743151ae
JM
6686 * sysdeps/mips/math-tests.h: Include <features.h>.
6687 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6688 (ROUNDING_TESTS_long_double): Do not define.
6689 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6690 (EXCEPTION_TESTS_long_double): Likewise.
6691 * sysdeps/mips/mips64/libm-test-ulps: Update.
6692
498afc54
JM
6693 * include/features.h (__USE_BSD): Remove macro definitions.
6694 (__USE_SVID): Likewise.
6695 (_BSD_SOURCE): Likewise.
6696 (_SVID_SOURCE): Likewise.
6697 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
6698 from definition of _DEFAULT_SOURCE.
6699 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
6700 [_DEFAULT_SOURCE].
6701 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
6702 * bits/mman.h [__USE_BSD]: Likewise.
6703 * bits/termios.h [__USE_BSD]: Likewise.
6704 * bits/waitstatus.h [__USE_BSD]: Likewise.
6705 * ctype/ctype.h [__USE_SVID]: Likewise.
6706 * dirent/dirent.h [__USE_BSD]: Likewise.
6707 * grp/grp.h [__USE_SVID]: Likewise.
6708 [__USE_BSD]: Likewise.
6709 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
6710 * io/fcntl.h [__USE_BSD]: Likewise.
6711 * io/ftw.h [__USE_BSD]: Likewise.
6712 * io/sys/stat.h [__USE_BSD]: Likewise.
6713 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
6714 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
6715 * libio/stdio.h [__USE_SVID]: Likewise.
6716 [__USE_BSD]: Likewise.
6717 * math/math.h [__USE_SVID]: Likewise.
6718 [__USE_BSD]: Likewise.
6719 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
6720 * misc/bits/syslog.h [__USE_BSD]: Likewise.
6721 * misc/search.h [__USE_SVID]: Likewise.
6722 * misc/sys/mman.h [__USE_BSD]: Likewise.
6723 * misc/sys/syslog.h [__USE_BSD]: Likewise.
6724 * misc/sys/uio.h [__USE_BSD]: Likewise.
6725 * posix/bits/unistd.h [__USE_BSD]: Likewise.
6726 * posix/glob.h [__USE_BSD]: Likewise.
6727 * posix/regex.h [__USE_BSD]: Likewise.
6728 * posix/sys/types.h [__USE_BSD]: Likewise.
6729 [__USE_SVID]: Likewise.
6730 * posix/sys/utsname.h [__USE_SVID]: Likewise.
6731 * posix/sys/wait.h [__USE_BSD]: Likewise.
6732 [__USE_SVID]: Likewise.
6733 * posix/unistd.h [__USE_BSD]: Likewise.
6734 [__USE_SVID]: Likewise.
6735 * pwd/pwd.h [__USE_SVID]: Likewise.
6736 * resolv/netdb.h [__USE_BSD]: Likewise.
6737 * setjmp/setjmp.h [__USE_BSD]: Likewise.
6738 * signal/signal.h [__USE_BSD]: Likewise.
6739 [__USE_SVID]: Likewise.
6740 * socket/sys/socket.h [__USE_BSD]: Likewise.
6741 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
6742 * stdlib/stdlib.h [__USE_BSD]: Likewise.
6743 [__USE_SVID]: Likewise.
6744 * string/bits/string2.h [__USE_BSD]: Likewise.
6745 [__USE_SVID]: Likewise.
6746 * string/bits/string3.h [__USE_BSD]: Likewise.
6747 * string/endian.h [__USE_BSD]: Likewise.
6748 * string/string.h [__USE_SVID]: Likewise.
6749 [__USE_BSD]: Likewise.
6750 * string/strings.h [__USE_BSD]: Likewise.
6751 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
6752 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
6753 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
6754 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
6755 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
6756 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
6757 Likewise.
6758 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
6759 Likewise.
6760 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
6761 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
6762 Likewise.
6763 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
6764 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
6765 Likewise.
6766 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
6767 Likewise.
6768 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
6769 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
6770 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
6771 Likewise.
6772 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
6773 Likewise.
6774 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
6775 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
6776 * termios/termios.h [__USE_BSD]: Likewise.
6777 * time/sys/time.h [__USE_BSD]: Likewise.
6778 * time/time.h [__USE_BSD]: Likewise.
6779 [__USE_SVID]: Likewise.
6780
dd7b064c
JM
6781 * Makefile (subdir_targets): Remove subdir_lint.out.
6782
a2c4c199
JM
6783 * stdio-common/Makefile (do-tst-unbputc): Remove target.
6784 (do-tst-printf): Likewise.
6785 (tests): Depend directly on $(objpfx)tst-unbputc.out and
6786 $(objpfx)tst-printf.out.
6787
8756f740
JM
6788 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
6789
1b6dd3f1
JM
6790 * Makerules (check-abi-%): Change target to
6791 $(objpfx)check-abi-%.out.
6792 (check-abi target): Update dependencies.
6793 (check-abi-pattern variable): Redirect output of diff to $@.
6794 (check-abi variable): Likewise.
6795 * elf/Makefile (check-abi): Update dependencies.
6796
ace614b8
JM
6797 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
6798 unused.
6799 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
6800 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
6801 subnormal range.
6802 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
6803 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
6804 value has largest subnormal exponent.
6805 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
6806 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
6807 * sysdeps/aarch64/soft-fp/sfp-machine.h
6808 (_FP_TININESS_AFTER_ROUNDING): New macro.
6809 * sysdeps/alpha/soft-fp/sfp-machine.h
6810 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6811 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6812 Likewise.
6813 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
6814 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6815 * sysdeps/mips/soft-fp/sfp-machine.h
6816 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6817 * sysdeps/powerpc/soft-fp/sfp-machine.h
6818 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6819 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6820 Likewise.
6821 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6822 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6823 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6824 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6825 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6826 Likewise.
6827
fbfdf9cb
DAS
68282014-02-12 Dylan Alex Simon <dylan@dylex.net>
6829
6830 [BZ #16545]
6831 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
6832 model 1.
6833
68b7efaa
RH
68342014-02-12 Richard Henderson <rth@redhat.com>
6835
c70a4b1d 6836 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
6837 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
6838 * sysdeps/unix/sysv/linux/alpha: Move directory from
6839 ports/sysdeps/unix/sysv/linux/alpha.
6840 * README: Update listing for alpha-*-linux-gnu.
6841
cb4a2928
JM
68422014-02-11 Joseph Myers <joseph@codesourcery.com>
6843
c941736c
JM
6844 * include/features.h: Update comment documenting feature test
6845 macros.
6846 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
6847 _DEFAULT_SOURCE.
6848 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
6849 (_SVID_SOURCE): Likewise.
6850 (_DEFAULT_SOURCE): Update description of default features.
6851 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
6852 with _GNU_SOURCE.
6853 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
6854 (S_ISVTX): Likewise.
6855 * manual/math.texi (Mathematical Constants): Likewise.
6856 * manual/signal.texi (Interrupted Primitives): Likewise.
6857 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
6858 * math/test-matherr.c (_SVID_SOURCE): Do not define.
6859 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
6860 Don't refer to _SVID_SOURCE in warning text.
6861
e8d8d7ec
JM
6862 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6863
cb4a2928
JM
6864 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
6865 already defined.
6866 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
6867 * sysdeps/mips/dl-lookup.c: Remove.
6868 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
6869
7e6424e3
AK
68702014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6871
6872 [BZ #16447]
6873 * math/auto-libm-test-in: Add testcase for expl.
6874 * math/auto-libm-test-out: Regenerate.
6875 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
6876 calculation of unsafe.
6877 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
6878
75eff3fe
MS
68792014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
6880
6881 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
6882 * sysdeps/unix/sysv/linux/aarch64: Move directory from
6883 ports/sysdeps/unix/sysv/linux/aarch64.
6884 * README: Update listing for aarch64*-*-linux-gnu.
6885
d35f1e80
WN
68862014-02-11 Will Newton <will.newton@linaro.org>
6887
6888 * manual/probes.texi (Mathematical Function Probes): Use
6889 "triggered" instead of "hit".
6890
7b3436d4
WN
6891 * manual/probes.texi (Internal Probes): Add documentation
6892 of setjmp, longjmp and longjmp_target probes.
6893
b4f12ca3
WN
6894 * include/stap-probe.h: Add comment about probe argument
6895 format.
6896
c13a72b7
WN
6897 * malloc/mtrace.c (attribute_hidden): Remove unused macro
6898 definition. (tr_where, tr_freehook, tr_mallochook,
6899 tr_reallochook, tr_memalignhook): Use ANSI protoype.
6900
195b8165
DM
69012014-02-11 David S. Miller <davem@davemloft.net>
6902
6903 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
6904 processing int_tests.
6905
2ad7600b
JM
69062014-02-10 Joseph Myers <joseph@codesourcery.com>
6907
6908 * sysdeps/mips: Move directory from ports/sysdeps/mips.
6909 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
6910 * sysdeps/unix/sysv/linux/mips: Move directory from
6911 ports/sysdeps/unix/sysv/linux/mips.
6912 * README: Update listing for mips-*-linux-gnu and
6913 mips64-*-linux-gnu.
6914
73588a72
AS
69152014-02-10 Andreas Schwab <schwab@linux-m68k.org>
6916
6917 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
6918 * sysdeps/unix/sysv/linux/m68k: Move directory from
6919 ports/sysdeps/unix/sysv/linux/m68k.
6920 * README: Update listing for m68k-*-linux-gnu.
6921
4372980f
CM
69222014-02-10 Chris Metcalf <cmetcalf@tilera.com>
6923
6924 * sysdeps/tile: Move directory from ports/sysdeps/tile.
6925 * sysdeps/unix/sysv/linux/generic: Move directory from
6926 ports/sysdeps/unix/sysv/linux/generic.
6927 * sysdeps/unix/sysv/linux/tile: Move directory from
6928 ports/sysdeps/unix/sysv/linux/tile.
6929 * README: Update listing for tile*-*-linux-gnu.
6930
a1ffb40e
OB
69312014-02-10 Ondřej Bílka <neleai@seznam.cz>
6932
57f41c40
AS
6933 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
6934 __builtin_expect.
a1ffb40e
OB
6935 * benchtests/bench-memmem.c (simple_memmem): Likewise.
6936 * catgets/open_catalog.c (__open_catalog): Likewise.
6937 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
6938 * debug/confstr_chk.c: Likewise.
6939 * debug/fread_chk.c (__fread_chk): Likewise.
6940 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
6941 * debug/getgroups_chk.c: Likewise.
6942 * debug/mbsnrtowcs_chk.c: Likewise.
6943 * debug/mbsrtowcs_chk.c: Likewise.
6944 * debug/mbstowcs_chk.c: Likewise.
6945 * debug/memcpy_chk.c: Likewise.
6946 * debug/memmove_chk.c: Likewise.
6947 * debug/mempcpy_chk.c: Likewise.
6948 * debug/memset_chk.c: Likewise.
6949 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6950 * debug/strcat_chk.c (__strcat_chk): Likewise.
6951 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
6952 * debug/strncat_chk.c (__strncat_chk): Likewise.
6953 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
6954 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
6955 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
6956 * debug/wcpncpy_chk.c: Likewise.
6957 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6958 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
6959 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
6960 * debug/wcsncpy_chk.c: Likewise.
6961 * debug/wcsnrtombs_chk.c: Likewise.
6962 * debug/wcsrtombs_chk.c: Likewise.
6963 * debug/wcstombs_chk.c: Likewise.
6964 * debug/wmemcpy_chk.c: Likewise.
6965 * debug/wmemmove_chk.c: Likewise.
6966 * debug/wmempcpy_chk.c: Likewise.
6967 * debug/wmemset_chk.c: Likewise.
6968 * dirent/scandirat.c (SCANDIRAT): Likewise.
6969 * dlfcn/dladdr1.c (dladdr1): Likewise.
6970 * dlfcn/dladdr.c (dladdr): Likewise.
6971 * dlfcn/dlclose.c (dlclose_doit): Likewise.
6972 * dlfcn/dlerror.c (__dlerror): Likewise.
6973 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
6974 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
6975 * dlfcn/dlopen.c (dlopen_doit): Likewise.
6976 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
6977 * dlfcn/dlsym.c (dlsym_doit): Likewise.
6978 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
6979 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
6980 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
6981 Likewise.
6982 * elf/dl-conflict.c: Likewise.
6983 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
6984 * elf/dl-dst.h: Likewise.
6985 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
6986 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
6987 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
6988 * elf/dl-init.c (call_init, _dl_init): Likewise.
6989 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
6990 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
6991 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
6992 Likewise.
a1ffb40e
OB
6993 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
6994 Likewise.
6995 * elf/dl-minimal.c (__libc_memalign): Likewise.
6996 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
6997 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6998 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
6999 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
7000 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7001 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
7002 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7003 * elf/dl-writev.h (_dl_writev): Likewise.
7004 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
7005 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7006 (dl_main): Likewise.
a1ffb40e
OB
7007 * elf/setup-vdso.h (setup_vdso): Likewise.
7008 * grp/compat-initgroups.c (compat_call): Likewise.
7009 * grp/fgetgrent.c (fgetgrent): Likewise.
7010 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7011 * grp/putgrent.c (putgrent): Likewise.
7012 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7013 Likewise.
7014 * hurd/hurdinit.c: Likewise.
7015 * iconvdata/8bit-gap.c (struct): Likewise.
7016 * iconvdata/ansi_x3.110.c : Likewise.
7017 * iconvdata/big5.c : Likewise.
7018 * iconvdata/big5hkscs.c : Likewise.
7019 * iconvdata/cp1255.c: Likewise.
7020 * iconvdata/cp1258.c : Likewise.
7021 * iconvdata/cp932.c : Likewise.
7022 * iconvdata/euc-cn.c: Likewise.
7023 * iconvdata/euc-jisx0213.c : Likewise.
7024 * iconvdata/euc-jp.c: Likewise.
7025 * iconvdata/euc-jp-ms.c : Likewise.
7026 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7027 * iconvdata/gb18030.c : Likewise.
7028 * iconvdata/gbbig5.c (const): Likewise.
7029 * iconvdata/gbgbk.c: Likewise.
7030 * iconvdata/gbk.c : Likewise.
7031 * iconvdata/ibm1364.c : Likewise.
7032 * iconvdata/ibm930.c : Likewise.
7033 * iconvdata/ibm932.c: Likewise.
7034 * iconvdata/ibm933.c : Likewise.
7035 * iconvdata/ibm935.c : Likewise.
7036 * iconvdata/ibm937.c : Likewise.
7037 * iconvdata/ibm939.c : Likewise.
7038 * iconvdata/ibm943.c: Likewise.
7039 * iconvdata/iso_11548-1.c: Likewise.
7040 * iconvdata/iso-2022-cn.c : Likewise.
7041 * iconvdata/iso-2022-cn-ext.c : Likewise.
7042 * iconvdata/iso-2022-jp-3.c: Likewise.
7043 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7044 * iconvdata/iso-2022-kr.c : Likewise.
7045 * iconvdata/iso646.c (gconv_end): Likewise.
7046 * iconvdata/iso_6937-2.c : Likewise.
7047 * iconvdata/iso_6937.c : Likewise.
7048 * iconvdata/iso8859-1.c: Likewise.
7049 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7050 * iconvdata/shift_jisx0213.c : Likewise.
7051 * iconvdata/sjis.c : Likewise.
7052 * iconvdata/t.61.c : Likewise.
7053 * iconvdata/tcvn5712-1.c : Likewise.
7054 * iconvdata/tscii.c: Likewise.
7055 * iconvdata/uhc.c : Likewise.
7056 * iconvdata/unicode.c (gconv_end): Likewise.
7057 * iconvdata/utf-16.c (gconv_end): Likewise.
7058 * iconvdata/utf-32.c (gconv_end): Likewise.
7059 * iconvdata/utf-7.c (base64): Likewise.
7060 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7061 * iconv/gconv_close.c (__gconv_close): Likewise.
7062 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
7063 * iconv/gconv_simple.c (internal_ucs4_loop_single)
7064 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7065 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7066 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7067 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
7068 * iconv/iconv.c (iconv): Likewise.
7069 * iconv/iconv_close.c: Likewise.
7070 * iconv/loop.c (SINGLE): Likewise.
7071 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7072 * include/atomic.h: Likewise.
7073 * inet/inet6_option.c (option_alloc): Likewise.
7074 * intl/bindtextdom.c (set_binding_values): Likewise.
7075 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7076 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7077 * intl/localealias.c (read_alias_file): Likewise.
7078 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
7079 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7080 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
7081 * libio/fmemopen.c (fmemopen): Likewise.
7082 * libio/iofgets.c (_IO_fgets): Likewise.
7083 * libio/iofgets_u.c (fgets_unlocked): Likewise.
7084 * libio/iofgetws.c (fgetws): Likewise.
7085 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7086 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
7087 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7088 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
7089 * locale/findlocale.c (_nl_find_locale): Likewise.
7090 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7091 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7092 Likewise.
7093 * locale/setlocale.c (setlocale): Likewise.
7094 * login/programs/pt_chown.c (main): Likewise.
7095 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7096 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
7097 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7098 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
7099 * math/e_exp2l.c: Likewise.
7100 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7101 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7102 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7103 * math/s_catan.c (__catan): Likewise.
7104 * math/s_catanf.c (__catanf): Likewise.
7105 * math/s_catanh.c (__catanh): Likewise.
7106 * math/s_catanhf.c (__catanhf): Likewise.
7107 * math/s_catanhl.c (__catanhl): Likewise.
7108 * math/s_catanl.c (__catanl): Likewise.
7109 * math/s_ccosh.c (__ccosh): Likewise.
7110 * math/s_ccoshf.c (__ccoshf): Likewise.
7111 * math/s_ccoshl.c (__ccoshl): Likewise.
7112 * math/s_cexp.c (__cexp): Likewise.
7113 * math/s_cexpf.c (__cexpf): Likewise.
7114 * math/s_cexpl.c (__cexpl): Likewise.
7115 * math/s_clog10.c (__clog10): Likewise.
7116 * math/s_clog10f.c (__clog10f): Likewise.
7117 * math/s_clog10l.c (__clog10l): Likewise.
7118 * math/s_clog.c (__clog): Likewise.
7119 * math/s_clogf.c (__clogf): Likewise.
7120 * math/s_clogl.c (__clogl): Likewise.
7121 * math/s_csin.c (__csin): Likewise.
7122 * math/s_csinf.c (__csinf): Likewise.
7123 * math/s_csinh.c (__csinh): Likewise.
7124 * math/s_csinhf.c (__csinhf): Likewise.
7125 * math/s_csinhl.c (__csinhl): Likewise.
7126 * math/s_csinl.c (__csinl): Likewise.
7127 * math/s_csqrt.c (__csqrt): Likewise.
7128 * math/s_csqrtf.c (__csqrtf): Likewise.
7129 * math/s_csqrtl.c (__csqrtl): Likewise.
7130 * math/s_ctan.c (__ctan): Likewise.
7131 * math/s_ctanf.c (__ctanf): Likewise.
7132 * math/s_ctanh.c (__ctanh): Likewise.
7133 * math/s_ctanhf.c (__ctanhf): Likewise.
7134 * math/s_ctanhl.c (__ctanhl): Likewise.
7135 * math/s_ctanl.c (__ctanl): Likewise.
7136 * math/w_pow.c: Likewise.
7137 * math/w_powf.c: Likewise.
7138 * math/w_powl.c: Likewise.
7139 * math/w_scalb.c (sysv_scalb): Likewise.
7140 * math/w_scalbf.c (sysv_scalbf): Likewise.
7141 * math/w_scalbl.c (sysv_scalbl): Likewise.
7142 * misc/error.c (error_tail): Likewise.
7143 * misc/pselect.c (__pselect): Likewise.
7144 * nis/nis_callback.c (__nis_create_callback): Likewise.
7145 * nis/nis_call.c (__nisfind_server): Likewise.
7146 * nis/nis_creategroup.c (nis_creategroup): Likewise.
7147 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7148 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7149 * nis/nis_getservlist.c (nis_getservlist): Likewise.
7150 * nis/nis_lookup.c (nis_lookup): Likewise.
7151 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
7152 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7153 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 7154 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
7155 * nis/nss_compat/compat-grp.c (getgrent_next_file)
7156 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7157 * nis/nss_compat/compat-initgroups.c (add_group)
7158 (internal_getgrent_r): Likewise.
7159 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7160 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7161 * nis/nss_compat/compat-spwd.c (getspent_next_file)
7162 (internal_getspnam_r): Likewise.
7163 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7164 (_nss_nis_getaliasbyname_r): Likewise.
7165 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7166 (_nss_nis_getntohost_r): Likewise.
7167 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7168 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7169 (_nss_nis_getgrgid_r): Likewise.
7170 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7171 (internal_nis_gethostent_r, internal_gethostbyname2_r)
7172 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7173 (_nss_nis_gethostbyname4_r): Likewise.
7174 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7175 (initgroups_netid): Likewise.
a1ffb40e 7176 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
7177 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7178 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7179 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7180 (_nss_nis_getprotobynumber_r): Likewise.
7181 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7182 (_nss_nis_getsecretkey): Likewise.
7183 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7184 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7185 (_nss_nis_getpwuid_r): Likewise.
7186 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7187 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7188 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7189 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7190 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7191 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
7192 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7193 Likewise.
57f41c40
AS
7194 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7195 (_nss_nisplus_getntohost_r): Likewise.
7196 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7197 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7198 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7199 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 7200 Likewise.
57f41c40
AS
7201 * nis/nss_nisplus/nisplus-initgroups.c
7202 (_nss_nisplus_initgroups_dyn): Likewise.
7203 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7204 (_nss_nisplus_getnetbyaddr_r): Likewise.
7205 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7206 (_nss_nisplus_getprotobynumber_r): Likewise.
7207 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7208 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
7209 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7210 Likewise.
57f41c40
AS
7211 * nis/nss_nisplus/nisplus-service.c
7212 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7213 (_nss_nisplus_getservbyport_r): Likewise.
7214 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7215 (_nss_nisplus_getspnam_r): Likewise.
7216 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7217 Likewise.
a1ffb40e
OB
7218 * nscd/aicache.c (addhstaiX): Likewise.
7219 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
7220 * nscd/connections.c (register_traced_file, send_ro_fd)
7221 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7222 (main_loop_epoll): Likewise.
a1ffb40e
OB
7223 * nscd/grpcache.c (addgrbyX): Likewise.
7224 * nscd/hstcache.c (addhstbyX): Likewise.
7225 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7226 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
7227 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7228 (addinnetgrX): Likewise.
7229 * nscd/nscd-client.h (__nscd_acquire_maplock)
7230 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
7231 * nscd/nscd_getai.c (__nscd_getai): Likewise.
7232 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7233 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7234 Likewise.
7235 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7236 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
7237 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7238 (__nscd_get_map_ref): Likewise.
a1ffb40e 7239 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
7240 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7241 Likewise.
a1ffb40e
OB
7242 * nscd/pwdcache.c (addpwbyX): Likewise.
7243 * nscd/selinux.c (preserve_capabilities): Likewise.
7244 * nscd/servicescache.c (addservbyX): Likewise.
7245 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7246 * posix/fnmatch.c (fnmatch): Likewise.
7247 * posix/getopt.c (_getopt_internal_r): Likewise.
7248 * posix/glob.c (glob, glob_in_dir): Likewise.
7249 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
7250 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7251 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
7252 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7253 * resolv/res_init.c: Likewise.
7254 * resolv/res_mkquery.c (res_nmkquery): Likewise.
7255 * resolv/res_query.c (__libc_res_nquery): Likewise.
7256 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7257 Likewise.
7258 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7259 * stdio-common/perror.c (perror): Likewise.
7260 * stdio-common/printf_fp.c (___printf_fp): Likewise.
7261 * stdio-common/tmpnam.c (tmpnam): Likewise.
7262 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7263 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
7264 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7265 Likewise.
a1ffb40e
OB
7266 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7267 * stdlib/putenv.c (putenv): Likewise.
7268 * stdlib/setenv.c (__add_to_environ): Likewise.
7269 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7270 * stdlib/strtol_l.c (INTERNAL): Likewise.
7271 * string/memmem.c (memmem): Likewise.
7272 * string/strerror.c (strerror): Likewise.
7273 * string/strnlen.c (__strnlen): Likewise.
7274 * string/test-memmem.c (simple_memmem): Likewise.
7275 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7276 * sunrpc/pm_getport.c (__get_socket): Likewise.
7277 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7278 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
7279 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7280 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
7281 Likewise.
7282 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7283 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7284 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7285 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7286 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
7287 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7288 Likewise.
7289 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7290 Likewise.
a1ffb40e
OB
7291 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7292 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7293 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7294 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7295 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7296 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7297 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7298 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7299 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7300 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7301 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7302 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7303 Likewise.
7304 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7305 Likewise.
7306 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7307 Likewise.
7308 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7309 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7310 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7311 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7312 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7313 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7314 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7315 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7316 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7317 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7318 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7319 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7320 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7321 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7322 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
7323 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7324 Likewise.
a1ffb40e
OB
7325 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7326 Likewise.
7327 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7328 Likewise.
7329 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7330 Likewise.
7331 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7332 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7333 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7334 Likewise.
7335 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7336 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7337 * sysdeps/posix/opendir.c (__opendirat): Likewise.
7338 * sysdeps/posix/sleep.c: Likewise.
7339 * sysdeps/posix/tempname.c: Likewise.
7340 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7341 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7342 Likewise.
57f41c40
AS
7343 * sysdeps/powerpc/powerpc32/dl-machine.h
7344 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
7345 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7346 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7347 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7348 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7349 Likewise.
7350 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7351 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7352 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7353 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7354 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7355 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7356 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7357 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7358 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7359 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7360 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7361 (elf_machine_lazy_rel): Likewise.
a1ffb40e 7362 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7363 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7364 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7365 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7366 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7367 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7368 * sysdeps/unix/grantpt.c (grantpt): Likewise.
7369 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7370 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7371 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7372 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7373 Likewise.
7374 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7375 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7376 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7377 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7378 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7379 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7380 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7381 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7382 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7383 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7384 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7385 Likewise.
7386 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7387 (__posix_fallocate64_l64): Likewise.
7388 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7389 (posix_fallocate): Likewise.
57f41c40
AS
7390 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7391 Likewise.
a1ffb40e 7392 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
7393 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7394 (getifaddrs_internal): Likewise.
a1ffb40e
OB
7395 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7396 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7397 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7398 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7399 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7400 (__posix_fallocate64_l64): Likewise.
7401 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7402 Likewise.
7403 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
7404 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7405 (__get_clockfreq): Likewise.
a1ffb40e
OB
7406 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7407 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7408 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7409 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7410 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7411 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7412 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7413 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7414 Likewise.
7415 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7416 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7417 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7418 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7419 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7420 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7421 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7422 Likewise.
7423 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7424 (posix_fallocate): Likewise.
7425 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7426 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7427 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7428 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7429 (elf_machine_rela, elf_machine_rela_relative)
7430 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7431 * time/asctime.c (asctime_internal): Likewise.
7432 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7433 * time/tzset.c (__tzset_parse_tz): Likewise.
7434 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7435 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7436 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7437 * wcsmbs/wcsmbsload.h: Likewise.
7438
f3d338c9
OB
7439 [BZ #15894]
7440 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
7441
57f41c40
AS
7442 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
7443 (arena_get2): Remove THREAD_STATS conditionals.
7444 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
7445 (__malloc_stats, int): Likewise.
bdfe308a 7446
d674667c
MF
74472014-02-08 Mike Frysinger <vapier@gentoo.org>
7448
7449 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
7450 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
7451
6349768c
MF
7452 * manual/setjmp.texi: Fix typos/grammar errors.
7453
0b7c7473
MF
7454 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
7455 Only return early when n is <= 0. Delete unused return statement.
7456
ac8cc9e3
MF
7457 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
7458 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
7459 * debug/tst-longjmp_chk3.c: New file.
7460
c5bb8e23
MF
7461 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
7462 (test_main): Replace code with set_fortify_handler call.
7463 * debug/test-strcpy_chk.c: Likewise.
7464 * debug/tst-chk1.c: Likewise.
7465 * debug/tst-longjmp_chk.c: Likewise.
7466 * test-skeleton.c: Include fcntl.h & paths.h
7467 (set_fortify_handler): Define.
7468
10444e42
MF
7469 * debug/tst-longjmp_chk.c: Add header comment and include
7470 ../test-skeleton.c.
7471 (do_test): Mark static.
7472 (TEST_FUNCTION): Define.
7473
1e805e8d
MF
7474 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
7475 (IP_PMTUDISC_INTERFACE): Likewise.
7476 (IP_MULTICAST_IF): Likewise.
7477 (IP_MULTICAST_TTL): Likewise.
7478 (IP_MULTICAST_LOOP): Likewise.
7479 (IP_ADD_MEMBERSHIP): Likewise.
7480 (IP_DROP_MEMBERSHIP): Likewise.
7481 (IP_UNBLOCK_SOURCE): Likewise.
7482 (IP_BLOCK_SOURCE): Likewise.
7483 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
7484 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
7485 (IP_MSFILTER): Likewise.
7486 (MCAST_JOIN_GROUP): Likewise.
7487 (MCAST_BLOCK_SOURCE): Likewise.
7488 (MCAST_UNBLOCK_SOURCE): Likewise.
7489 (MCAST_LEAVE_GROUP): Likewise.
7490 (MCAST_JOIN_SOURCE_GROUP): Likewise.
7491 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7492 (MCAST_MSFILTER): Likewise.
7493 (IP_MULTICAST_ALL): Likewise.
7494 (IP_UNICAST_IF): Likewise.
7495
73f79bb7
MF
7496 * timezone/Makefile: Delete $(have-ksh) check.
7497 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
7498 * timezone/tzselect.ksh: Add +x mode bits.
7499
8da79b60
MF
7500 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
7501 (ANON_INODE_FS_MAGIC): Likewise.
7502 (BDEVFS_MAGIC): Likewise.
7503 (BINFMTFS_MAGIC): Likewise.
7504 (BTRFS_TEST_MAGIC): Likewise.
7505 (CRAMFS_MAGIC_WEND): Likewise.
7506 (DEBUGFS_MAGIC): Likewise.
7507 (ECRYPTFS_SUPER_MAGIC): Likewise.
7508 (EXT3_SUPER_MAGIC): Likewise.
7509 (EXT4_SUPER_MAGIC): Likewise.
7510 (FUTEXFS_SUPER_MAGIC): Likewise.
7511 (HOSTFS_SUPER_MAGIC): Likewise.
7512 (HUGETLBFS_MAGIC): Likewise.
7513 (MINIX3_SUPER_MAGIC): Likewise.
7514 (MTD_INODE_FS_MAGIC): Likewise.
7515 (NILFS_SUPER_MAGIC): Likewise.
7516 (OPENPROM_SUPER_MAGIC): Likewise.
7517 (PIPEFS_MAGIC): Likewise.
7518 (PSTOREFS_MAGIC): Likewise.
7519 (QNX6_SUPER_MAGIC): Likewise.
7520 (RAMFS_MAGIC): Likewise.
7521 (REISERFS_SUPER_MAGIC_STRING): Likewise.
7522 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
7523 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
7524 (SECURITYFS_MAGIC): Likewise.
7525 (SELINUX_MAGIC): Likewise.
7526 (SMACK_MAGIC): Likewise.
7527 (SOCKFS_MAGIC): Likewise.
7528 (SQUASHFS_MAGIC): Likewise.
7529 (STACK_END_MAGIC): Likewise.
7530 (TMPFS_MAGIC): Likewise.
7531 (USBDEVICE_SUPER_MAGIC): Likewise.
7532 (V9FS_MAGIC): Likewise.
7533 (XENFS_SUPER_MAGIC): Likewise.
7534 (CRAMFS_MAGIC): Fix typo in comment.
7535 (EXT2_SUPER_MAGIC): Update comment.
7536 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
7537
464263cc
JM
75382014-02-08 Joseph Myers <joseph@codesourcery.com>
7539
c6bfe5c4
JM
7540 * sysdeps/arm: Move directory from ports/sysdeps/arm.
7541 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
7542 * sysdeps/unix/sysv/linux/arm: Move directory from
7543 ports/sysdeps/unix/sysv/linux/arm.
7544 * README: Update listing for arm-*-linux-gnueabi.
7545
464263cc
JM
7546 * README: Remove mention of am33.
7547
32749f6c
RM
75482014-02-07 Roland McGrath <roland@hack.frob.com>
7549
7550 * bits/sigset.h (__sigemptyset): Use a statement expression rather
7551 than the comma operator, to avoid "rhs of comma has no effect"
7552 compiler warnings.
7553 (__sigfillset, __sigandset, __sigorset): Likewise.
7554 * include/signal.h (__sigemptyset): Likewise.
7555 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
7556
d5b396c1
AM
75572014-02-07 Allan McRae <allan@archlinux.org>
7558
7559 * version.h (RELEASE): Set to "development".
7560 (VERSION): Set to "2.19.90"
7561 * NEWS: Add 2.20 section.
7562
3bfff2ed
CD
75632014-02-06 Carlos O'Donell <carlos@redhat.com>
7564
7565 [BZ #16529]
7566 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
7567
ee7cc385
SP
75682014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7569
7570 * manual/contrib.texi: Update entry for Carlos O'Donell,
7571 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
7572
f877c4f2
CD
75732014-02-05 Carlos O'Donell <carlos@rehdat.com>
7574
27e839f6
CD
7575 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
7576
f877c4f2
CD
7577 * sysdeps/unix/sysv/linux/kernel-features.h
7578 [__LINUX_KERNEL_VERSION >= 0x020621]
7579 (__ASSUME_PROC_PID_TASK_COMM): Define.
7580
68159946
SP
75812014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7582
ba17cdbd
SP
7583 [BZ #16398]
7584 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
7585 conversion when destination buffer does not have enough space.
7586 * libio/tst-ftell-partial-wide.c: New test case.
7587 * libio/Makefile (tests): Add tst-ftell-partial-wide.
7588
68159946
SP
7589 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
7590 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
7591 Leonard and Allan McRae.
7592
2b528732
DM
75932014-02-04 David S. Miller <davem@davemloft.net>
7594
7595 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
7596 32-bit.
7597
0ff82463
AZ
75982014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7599
57f41c40
AS
7600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7601 New file
c01603f7
AZ
7602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7603 New file
57f41c40
AS
7604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7605 New file.
7606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7607 New file.
c01603f7
AZ
7608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7609 New file.
57f41c40
AS
7610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7611 New file.
7612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7613 New file.
c01603f7
AZ
7614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7615 New file.
7616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7617 New file.
7618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7619 New file.
7620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7621 New file.
7622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7623 New file.
7624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7625 New file.
7626
76272014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7628
0ff82463
AZ
7629 * nptl/shlib-versions: Change powerpc*le start to 2.17.
7630 * shlib-versions: Likewise.
7631
1695c773
AZ
76322014-02-04 Roland McGrath <roland@hack.frob.com>
7633 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7634
7635 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
7636 (abilist-pattern): New variable, set to %-le.abilist.
7637
7638 * Makerules (abilist-pattern): New variable.
7639 (vpath): Use $(abilist-pattern) in place of %.abilist.
7640 (check-abi-% pattern rule): Likewise.
7641 (check-abi, update-abi): Likewise.
7642
6c0ce4b4
EW
76432014-02-04 Eric Wong <normalperson@yhbt.net>
7644
7645 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7646
481e3524
CD
76472014-02-03 Carlos O'Donell <carlos@redhat.com>
7648
7649 * manual/startup.texi: Add next, previous, and top entries for
7650 the `Program Arguments' and `Environment Variables' nodes.
7651
375592d3
AO
76522014-02-03 Alexandre Oliva <aoliva@redhat.com>
7653
7654 * manual/macros.texi: Add comments before MTASC-safety macros.
7655
f54838ba
AO
7656 * manual/users.texi: Document MTASC-safety properties.
7657
57f41c40
AS
7658 * manual/threads.texi (pthread_key_create, pthread_key_delete)
7659 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
7660 @deftypefun, and add @safety note.
7661 * manual/signal.texi: Move comments that analyze the above
7662 functions to their home place.
7663
fd3daba4
AM
76642014-02-03 Allan McRae <allan@archlinux.org>
7665
7666 * po/sl.po: Update Slovenian translation from translation project.
7667
597636d7
AO
76682014-02-02 Alexandre Oliva <aoliva@redhat.com>
7669
7670 * manual/time.texi (timegm): Add missing blank after @c.
7671 Reported by Joseph Myers <joseph@codesourcery.com>.
7672
ee196e3c
AO
76732014-02-01 Alexandre Oliva <aoliva@redhat.com>
7674
7675 * manual/check-safety.sh: New.
7676 * manual/Makefile ($(objpfx)stamp-summary): Run it.
7677
f8d529d5
AO
7678 * manual/terminal.texi: Document MTASC-safety properties.
7679
de55fdf4
AO
7680 * manual/filesys.texi: Document MTASC-safety properties.
7681
c3299c08
AO
7682 * manual/errno.texi: Document MTASC-safety properties.
7683
06e90b14
AO
7684 * manual/intro.texi: Document safety identifiers and
7685 conditionals.
7686
1acd4371
AO
7687 * manual/string.texi (wcstok): Fix prototype.
7688 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
7689
23e5b8cb
AO
7690 * manual/time.texi: Document MTASC-safety properties.
7691
11087373
AO
7692 * manual/string.texi: Document MTASC-safety properties.
7693
5da2c93d
AO
7694 * manual/threads.texi: Document MTASC-safety properties.
7695
171e9210
AO
7696 * manual/stdio.texi: Document MTASC-safety properties.
7697
d9e02532
AO
7698 * manual/syslog.texi: Document MTASC-safety properties.
7699
6af8bab7
AO
7700 * manual/sysinfo.texi: Document MTASC-safety properties.
7701
663b02d7
AO
7702 * manual/startup.texi: Document MTASC-safety properties.
7703
973f180b
AO
7704 * manual/socket.texi: Document MTASC-safety properties.
7705
8f3c25c8
AO
7706 * manual/signal.texi: Document MTASC-safety properties.
7707
542210fb
AO
77082014-01-31 Alexandre Oliva <aoliva@redhat.com>
7709
7710 * manual/setjmp.texi: Document MTASC-safety properties.
7711
433c45a2
AO
7712 * manual/search.texi: Document MTASC-safety properties.
7713
c8ce789c
AO
7714 * manual/resource.texi: Document MTASC-safety properties.
7715
19f5d29c
AO
7716 * manual/process.texi: Document MTASC-safety properties.
7717
e2dfb7f4
AO
7718 * manual/platform.texi: Document MTASC-safety properties.
7719
8c1413f5
AO
7720 * manual/pipe.texi: Document MTASC-safety properties.
7721
03483ada
AO
7722 * manual/pattern.texi: Document MTASC-safety properties.
7723
29e7e2df
AO
7724 * manual/message.texi: Document MTASC-safety properties.
7725
9f529d7c
AO
7726 [BZ #12751]
7727 * manual/memory.texi: Document MTASC-safety properties.
7728
27aaa791
AO
7729 * manual/math.texi: Document MTASC-safety properties.
7730
f2d58726
AO
7731 * manual/locale.texi: Document MTASC-safety properties.
7732
2cc3615c
AO
7733 * manual/llio.texi: Document MTASC-safety properties.
7734
d9f0ec97
AO
7735 * manual/libdl.texi: New.
7736
e7c4409a
AO
7737 * manual/lang.texi: Document MTASC-safety properties.
7738
27bdc63c
AO
7739 * manual/job.texi: Document MTASC-safety properties.
7740
a7b90ea9
AO
7741 * manual/getopt.texi: Document MTASC-safety properties.
7742
c49130e3
AO
7743 * manual/ctype.texi: Document MTASC-safety properties.
7744
0d23a5c1
MR
77452014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
7746
7747 [BZ #16046]
7748 * csu/libc-tls.c (static_map): Remove variable.
7749 (__libc_setup_tls): Use main executable's link map for TLS data.
7750 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
7751 casing for LM_ID_BASE and GL(dl_nns).
7752 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
7753 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
7754 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
7755 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
7756 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
7757 member.
7758 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
7759 l_phnum members.
7760
0037bb60
AO
77612014-01-30 Alexandre Oliva <aoliva@redhat.com>
7762
7763 * manual/debug.texi: Document MTASC-safety properties.
7764
409e00bd
L
77652014-01-29 H.J. Lu <hongjiu.lu@intel.com>
7766
7767 [BZ #16510]
7768 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
7769 of __x86_64__ when disabling x87 inline functions.
7770
86e60666
AO
77712014-01-29 Alexandre Oliva <aoliva@redhat.com>
7772
7773 * manual/charset.texi: Document MTASC-safety properties.
7774
76167637
AO
7775 * manual/crypt.texi: Document MTASC-safety properties.
7776
e567f2a0
AO
7777 * manual/conf.texi: Document MTASC-safety properties.
7778
b719dafd
AO
7779 * manual/arith.texi: Document MTASC-safety properties.
7780
4a16c662
AO
7781 * manual/argp.texi: Document MTASC-safety properties.
7782
0a57b83e
AO
7783 * manual/macros.texi: Introduce macros to document multi
7784 thread, asynchronous signal and asynchronous cancellation
7785 safety properties.
7786 * manual/intro.texi: Introduce the properties themselves.
7787
feab2397
KK
77882014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7789
7790 * sysdeps/sh/sh4/Makefile: New file.
7791
1c0d11bc
AS
77922014-01-27 Andreas Schwab <schwab@linux-m68k.org>
7793
7794 * math/gen-libm-test.pl ($srcdir): New variable.
7795 ($auto_input): Use it.
7796
af37a8a3
SP
77972014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7798
d7b00f98
SP
7799 [BZ #16506]
7800 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
7801 access beyond array bounds when parsing netgroups file.
7802
af37a8a3
SP
7803 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
7804 the old buffer before realloc.
7805
0c00f062
AM
78062014-01-27 Allan McRae <allan@archlinux.org>
7807
7808 * po/fr.po: Update French translation from translation project.
7809
7d69a1b0
KK
78102014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7811
7812 * sysdeps/sh/libm-test-ulps: Regenerate.
7813
6e697ff7
DM
78142014-01-24 David S. Miller <davem@davemloft.net>
7815
7816 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
7817
9cadb35c
KK
78182014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7819
7820 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
7821 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
7822
5d41dadf
SP
78232013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7824
7825 [BZ #16474]
7826 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
7827 string pointers after reallocation.
7828
0bad441c
KK
78292014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7830
7831 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
7832 __SH4A__ instead of __SH_FPU_ANY__.
7833
7007c661
KK
78342014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7835
7836 * sysdeps/sh/fpu_control.h: New file.
7837 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
7838 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7839 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
7840 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
7841 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
7842 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
7843 * sysdeps/sh/sys/ucontext.h: Remove.
7844 * sysdeps/sh/sys: Remove directory.
7845
0f0c35e4
AK
78462014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7847
7848 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
7849 s390/sys/ucontext.h.
7850 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
7851 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
7852
4959e284
L
78532014-01-20 H.J. Lu <hongjiu.lu@intel.com>
7854
7855 [BZ #15605]
7856 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
7857
d98720e0
AZ
78582014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7859
7860 [BZ#16431]
7861 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7862 Adjust the vDSO correctly for internal calls.
7863 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
7864
91cbd0bc
AM
78652014-01-20 Allan McRae <allan@archlinux.org>
7866
7867 * po/ca.po: Update Catalan translation from translation project.
7868
7a02cfad
MF
78692014-01-16 Mike Frysinger <vapier@gentoo.org>
7870
7871 * sysdeps/s390/sotruss-lib.c: New file.
7872
736c304a
AZ
78732014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7874
7875 [BZ#16430]
6e077ee5 7876 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
7877 (__GI___gettimeofday): Alias for a different internal symbol to avoid
7878 local calls issues by not having a PLT stub required for IFUNC calls.
7879 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
7880
94d0cea0
JM
78812014-01-16 Joseph Myers <joseph@codesourcery.com>
7882
7883 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
7884 * math/test-fpucw-static.c: Likewise.
7885
980cb518
SP
78862013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7887
7888 [BZ #16453]
7889 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
7890
2393fc01
AZ
78912014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7892
7893 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
7894 implementation for powerpc.
7895
d359bcc2
OB
78962014-01-15 Ondřej Bílka <neleai@seznam.cz>
7897
7898 [BZ #14782]
7899 * sysdeps/posix/system.c (__libc_system): Do not enable
7900 asynchronous cancellation.
7901
7beb48cb
AK
79022014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7903
7904 [BZ #16427]
7905 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
7906 handling only for numbers special also in the IEEE case.
7907
c20d5bf5
AK
79082014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7909
7910 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7911
e83bd4ee
AM
79122014-01-11 Allan McRae <allan@archlinux.org>
7913
76d0ea69
AM
7914 * po/bg.po: Update Bulgarian translation from translation project.
7915
e83bd4ee
AM
7916 * po/de.po: Update German translation from translation project.
7917
bc2ba20a
RM
79182014-01-10 Roland McGrath <roland@hack.frob.com>
7919
7920 * sysdeps/generic/gcc-compat.h: New file.
7921
649ecea2
SP
79222014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7923
7924 * benchtests/asin-inputs: Correct slow inputs.
7925 * benchtests/acos-inputs: Likewise.
7926
1b19c006
AM
79272014-01-10 Allan McRae <allan@archlinux.org>
7928
a46dab08
AM
7929 * po:sv.po: Update Swedish translation from translation project.
7930
421df74a
AM
7931 * po/vi.po: Update Vietnamese translation from translation project.
7932
d61c51a7
AM
7933 * po/eo.po: Update Esperanto translation from translation project.
7934
0339a319
AM
7935 * po/cs.po: Update Czech translation from translation project.
7936
94ad3e99
AM
7937 * po/nl.po: Update Dutch translation from translation project.
7938
e349ca71
AM
7939 * po/pl.po: Update Polish translation from translation project.
7940
ddf930c1
AM
7941 * po/ru.po: Update Russian translation from translation project.
7942
1b19c006
AM
7943 * po/uk.po: Update Ukrainian translation from translation project.
7944
9f236c49
BM
79452014-01-08 Brooks Moses <bmoses@google.com>
7946
7947 * elf/dl-load.c: Fix comment typo.
7948
cd6701cf
CD
79492014-01-08 Carlos O'Donell <carlos@redhat.com>
7950
7951 * po/header.pot: Rename to...
7952 * po/pot.header: ... this.
7953 * po/Makefile: Use pot.header.
7954
66671c84
YK
79552014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
7956 Maxim Kuvyrkov <maxim@kugelworks.com>
7957
7958 [BZ #16394]
cd6701cf
CD
7959 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
7960 SRC and DEST against LEN.
66671c84 7961
38f34581
AZ
79622014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7963
7964 [BZ #16414]
7965 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
7966 implementation.
7967 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
7968
79692014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
7970
7971 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7972
4c327f2a
JM
79732014-01-08 Joseph Myers <joseph@codesourcery.com>
7974
7975 [BZ #16408]
7976 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
7977 for large positive arguments.
7978
b821f414
JM
79792014-01-07 Joseph Myers <joseph@codesourcery.com>
7980
1f0f2067
JM
7981 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7982
a5a326f6
JM
7983 * math/auto-libm-test-in: Mark various tests with
7984 xfail-rounding:ldbl-128ibm.
7985 * math/auto-libm-test-out: Regenerated.
7986
b821f414
JM
7987 [BZ #16407]
7988 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7989 Increase overflow threshold.
7990
94c8a4bc
OB
79912014-01-07 Ondřej Bílka <neleai@seznam.cz>
7992
7993 [BZ #14286]
7994 * stdio-common/vfprintf.c: Check for integer overflow.
7995
87ded0c3
AK
79962014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7997
7998 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
7999 the first argument and return value of __tls_get_addr_internal.
8000
c5eebdd0
AK
80012014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8002
8003 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8004 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8005
05d138ef
AK
80062014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8007
8008 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8009 * sysdeps/s390/rtld-global-offsets.sym: New file.
8010 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8011 GLIBC_2.19 symbol.
8012 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8013 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8014 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8015 ... this.
8016 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8017 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8018 ... this.
8019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8020 Regenerate.
8021 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8022 Regenerate.
8023 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8024 halfs of GPRs for high_gprs contexts.
8025 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8026 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
8027 field.
8028 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8029 uc_flags field.
8030 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8031 64 bit versions:
8032 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8033 for high GPRs (uc_high_gprs) and for future extensions
8034 (__reserved).
8035 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8036 for future extensions (__reserved).
8037 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8038 64 bit versions:
8039 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8040 SC_HIGHGPRS offset definition.
8041 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8042 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8043
93a45ff1
AK
8044 * Versions.def: Add GLIBC_2.19 for libpthread.
8045 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8046 siglongjmp for libpthread with GLIBC_2.19 symver.
8047 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8048 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8049 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8050 * sysdeps/s390/__longjmp.c: New file.
8051 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8052 * sysdeps/s390/longjmp.c: New file.
8053 * sysdeps/s390/setjmp.S: New file.
8054 * sysdeps/s390/sigjmp.S: New file.
8055 * sysdeps/s390/v1-longjmp.c: New file.
8056 * sysdeps/s390/v1-setjmp.h: New file.
8057 * sysdeps/s390/v1-sigjmp.c: New file.
8058 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8059 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8060 GLIBC_2.19 version.
8061 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8062 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8063 versioned symbols for ____longjmp_chk.
8064 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8065 Likewise.
8066 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8067 Regenerate.
8068 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8069 Regenerate.
8070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8071 Regenerate.
8072 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8073 Regenerate.
8074 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8075 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8076 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8077 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8078 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8079 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8080 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8081 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8082 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8083 * sysdeps/s390/rtld-__longjmp.c: New file.
8084 * sysdeps/s390/rtld-setjmp.S: New file.
8085
eb3fc44b
JM
80862014-01-06 Joseph Myers <joseph@codesourcery.com>
8087
8088 [BZ #16400]
8089 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8090 Return -__logl (x) for small positive arguments without evaluating
8091 a polynomial.
8092
9341dde4
MF
80932014-01-06 Mike Frysinger <vapier@gentoo.org>
8094
8095 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8096 Rename to ...
8097 (__ptrace_peeksiginfo_args): ... this.
8098 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8099 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8100 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8101
4cff0293
AM
81022014-01-06 Allan McRae <allan@archlinux.org>
8103
8104 * inet/netinet/in.h: Fix typo in comment.
8105
75595dcf
AJ
81062014-01-05 Andreas Jaeger <aj@suse.de>
8107
8108 * sysdeps/i386/fpu/libm-test-ulps: Update.
8109
79c1e109
AM
81102014-01-05 Allan McRae <allan@archlinux.org>
8111
dd804818
AM
8112 * po/libc.pot: Regenerated.
8113
79c1e109
AM
8114 * malloc/memusagestat.c: Fix gettext call formatting.
8115
0c813d1f
SK
81162014-01-04 Sami Kerola <kerolasa@iki.fi>
8117
8118 * nscd/nscd.c: Improve usage() output.
8119
20f4a8d9
MF
81202014-01-04 Mike Frysinger <vapier@gentoo.org>
8121
8122 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8123 * sysdeps/unix/sysv/linux/configure: Regenerated.
8124 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8125 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8126
22562bb2
JM
81272014-01-03 Joseph Myers <joseph@codesourcery.com>
8128
8129 [BZ #16390]
8130 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8131 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8132
d7ad2d9b
AZ
81332014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8134
8135 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8136 extra tokens at end of #undef directive.
8137 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8138 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8139 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8140
7dd009d8
JM
81412014-01-03 Joseph Myers <joseph@codesourcery.com>
8142
24db925a
JM
8143 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8144
7dd009d8
JM
8145 * math/auto-libm-test-in: Mark various tests with
8146 xfail-rounding:ldbl-128ibm.
8147 * math/auto-libm-test-out: Regenerated.
8148
396e3ecf
JM
81492014-01-02 Joseph Myers <joseph@codesourcery.com>
8150
819e5d50
JM
8151 [BZ #16386]
8152 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8153 numbers with subnormal high part when calculating exponent.
8154
90b6a1e5
JM
8155 [BZ #16385]
8156 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8157 fabs.
8158
396e3ecf
JM
8159 [BZ #16384]
8160 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8161 M_LN2l.
8162 (__ieee754_acoshl): Use __log1pl not __log1p.
8163
6c8dbf00
OB
81642013-01-02 Ondřej Bílka <neleai@seznam.cz>
8165
57f41c40
AS
8166 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8167 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8168 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8169 (grow_heap, heap_trim, _int_new_arena, get_free_list)
8170 (reused_arena, arena_get2): Convert to GNU style.
8171 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8172 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8173 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 8174 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
8175 * malloc/malloc.c (__malloc_assert, malloc_init_state)
8176 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8177 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8178 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8179 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8180 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 8181 * malloc/malloc.h: Likewise.
57f41c40
AS
8182 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8183 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 8184 * malloc/mcheck.h: Likewise.
57f41c40
AS
8185 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8186 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
8187 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8188 * malloc/morecore.c (__default_morecore): Likewise.
8189 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
8190 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8191 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8192 (print_and_abort): Likewise.
6c8dbf00
OB
8193 * malloc/obstack.h: Likewise.
8194 * malloc/set-freeres.c (__libc_freeres): Likewise.
8195 * malloc/tst-mallocstate.c (main): Likewise.
8196 * malloc/tst-mtrace.c (main): Likewise.
8197 * malloc/tst-realloc.c (do_test): Likewise.
8198
d4124212
SP
81992013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8200
9a3c6a6f
SP
8201 [BZ #16366]
8202 * nscd/netgroupcache.c (do_notfound): New function.
8203 (addgetnetgrentX): Use it.
8204
d4124212
SP
8205 [BZ # 16365]
8206 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8207 NSS_STATUS_NOTFOUND.
8208
97b9a009
JM
82092014-01-01 Joseph Myers <joseph@codesourcery.com>
8210
8211 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8213
d4697bc9
AM
82142014-01-01 Allan McRae <allan@archlinux.org>
8215
ddb3687f
AM
8216 * scripts/update-copyrights: Update configure input file suffix.
8217
88726d48
AM
8218 * NEWS: Update copyright year.
8219 * catgets/gencat.c: Likewise.
8220 * csu/version.c: Likewise.
8221 * debug/catchsegv.sh: Likewise.
8222 * debug/pcprofiledump.c: Likewise.
8223 * debug/xtrace.sh: Likewise.
8224 * elf/ldconfig.c: Likewise.
8225 * elf/ldd.bash.in: Likewise.
8226 * elf/pldd.c: Likewise.
8227 * elf/sotruss.ksh: Likewise.
8228 * elf/sprof.c: Likewise.
8229 * iconv/iconv_prog.c: Likewise.
8230 * iconv/iconvconfig.c: Likewise.
8231 * locale/programs/locale.c: Likewise.
8232 * locale/programs/localedef.c: Likewise.
8233 * login/programs/pt_chown.c: Likewise.
8234 * malloc/memusage.sh: Likewise.
8235 * malloc/memusagestat.c: Likewise.
8236 * malloc/mtrace.pl: Likewise.
8237 * manual/libc.texinfo: Likewise.
8238 * nscd/nscd.c: Likewise.
8239 * nss/getent.c: Likewise.
8240 * nss/makedb.c: Likewise.
8241 * posix/getconf.c: Likewise.
8242 * scripts/test-installation.pl: Likewise.
8243
d4697bc9
AM
8244 * All files with FSF copyright notices: Update copyright dates
8245 using scripts/update-copyrights.
8246 * intl/plural.c: Regenerated.
8247 * locale/programs/charmap-kw.h: Likewise.
8248 * locale/programs/locfile-kw.h: Likewise.
8249
c8590f9d
MF
82502013-12-31 Mike Frysinger <vapier@gentoo.org>
8251
8252 * sysdeps/unix/sysv/linux/configure: Regenerated.
8253 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8254 the linux/fanotify.h header.
8255 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8256 HAVE_LINUX_FANOTIFY_H is defined.
8257
b19221b9
SP
82582013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8259
dd1d85e5
SP
8260 * benchtests/cos-inputs: New inputs.
8261 * benchtests/sin-inputs: Likewise.
8262
1acbb90f
SP
8263 * benchtests/atan-inputs: New inputs. Fix name of multiple
8264 precision fallback inputs.
8265
4c012ed3
SP
8266 * benchtests/atanh-inputs: New inputs.
8267 * benchtests/tanh-inputs: Likewise.
8268
eff98324
SP
8269 * benchtests/acosh-inputs: New inputs.
8270 * benchtests/asinh-inputs: Likewise.
8271
ce641152
SP
8272 * benchtests/cosh-inputs: New inputs.
8273 * benchtests/sinh-inputs: Likewise.
8274
b19221b9
SP
8275 * benchtests/acos-inputs: Add more inputs.
8276 * benchtests/asin-inputs: Likewise.
8277
030a4976 82782013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 8279
030a4976 8280 [BZ #16375]
9dcc8f11
VS
8281 * manual/arith.texi: Fix spelling.
8282 * manual/charset.texi: Likewise.
8283 * manual/errno.texi: Likewise.
8284 * manual/filesys.texi: Likewise.
8285 * manual/lang.texi: Likewise.
8286 * manual/llio.texi: Likewise.
8287 * manual/locale.texi: Likewise.
8288 * manual/message.texi: Likewise.
8289 * manual/resource.texi: Likewise.
8290 * manual/search.texi: Likewise.
8291 * manual/setjmp.texi: Likewise.
8292 * manual/stdio.texi: Likewise.
8293 * manual/string.texi: Likewise.
8294 * manual/sysinfo.texi: Likewise.
8295 * manual/time.texi: Likewise.
8296
11520a57
CD
82972013-12-27 Carlos O'Donell <carlos@redhat.com>
8298
8299 * po/sl.po: New file.
8300
471103ae
MF
83012013-12-27 Mike Frysinger <vapier@gentoo.org>
8302
8303 * .gitignore: Add core/.gdbinit/.gdb_history.
8304
6c9642ed
AM
83052013-12-27 Allan McRae <allan@archlinux.org>
8306
8307 [BZ #16369]
8308 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8309 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8310
3f637079
BM
83112013-12-24 Brooks Moses <bmoses@google.com>
8312
8313 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8314 all compilers that claim C++98 compliance, not just GCC.
8315 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8316 Likewise.
8317
abc26e99
MK
83182013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8319
8320 * NEWS: Restore accidentally deleted bug-fix entries.
8321
362b47fe
MK
83222013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8323 Ondřej Bílka <neleai@seznam.cz>
8324
8325 [BZ #15073]
8326 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 8327 have_lock.
362b47fe 8328
b9bcbbcb
OB
83292013-12-23 Ondřej Bílka <neleai@seznam.cz>
8330
8331 [BZ #12986]
8332 * manual/stdio.texi (String Input Conversions): Clarify that character
8333 classes are not supported.
8334
fb55fcd2
AZ
83352013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8336
8337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8338
ef7344f0
JM
83392013-12-22 Joseph Myers <joseph@codesourcery.com>
8340
4f40e4b3
JM
8341 [BZ #16337]
8342 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8343 Calculate results for small negative arguments directly rather
8344 than using reflection formula with special underflow handling.
8345
ef7344f0
JM
8346 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8347 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8348 sysdeps/unix/bsd/bsd4.4/syscalls.list.
8349 (fchflags): Likewise.
8350 (revoke): Likewise.
8351 (setlogin): Likewise.
8352 (sigaltstack): Likewise.
8353 (wait4): Likewise.
8354 (sigblock): Remove.
8355 (sigsetmask): Likewise.
8356 (wait3): Likewise.
8357 (waitpid): Likewise.
8358 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8359 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8360 file.
8361 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8362 * sysdeps/unix/bsd/Makefile: ... here.
8363 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8364 * sysdeps/unix/bsd/Versions: ... here.
8365 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8366 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8367 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8368 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8369 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8370 * sysdeps/unix/bsd/sigblock.c: ... here.
8371 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8372 * sysdeps/unix/bsd/sigsetmask.c: ... here.
8373 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8374 * sysdeps/unix/bsd/sigvec.c: ... here.
8375 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8376 * sysdeps/unix/bsd/tcdrain.c: ... here.
8377 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8378 * sysdeps/unix/bsd/tcgetattr.c: ... here.
8379 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8380 * sysdeps/unix/bsd/tcsetattr.c: ... here.
8381 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8382 * sysdeps/unix/bsd/wait.c: ... here.
8383 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8384 * sysdeps/unix/bsd/wait3.c: ... here.
8385 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8386 * sysdeps/unix/bsd/waitpid.c: ... here.
8387
5b0626b9
JM
83882013-12-21 Joseph Myers <joseph@codesourcery.com>
8389
8390 [BZ #16356]
8391 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8392 round-to-nearest for [!USE_AS_EXPM1L].
8393 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8394 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
8395 more tests of exp and exp10. Expect some exp10 tests to miss
8396 exceptions or fail in directed rounding modes.
8397 * math/auto-libm-test-out: Regenerated.
8398 * math/libm-test.inc (exp10_tonearest_test_data): New array.
8399 (exp10_test_tonearest): New function.
8400 (exp10_towardzero_test_data): New array.
8401 (exp10_test_towardzero): New function.
8402 (exp10_downward_test_data): New array.
8403 (exp10_test_downward): New function.
8404 (exp10_upward_test_data): New array.
8405 (exp10_test_upward): New function.
8406 (main): Call the new functions.
8407 * sysdeps/i386/fpu/libm-test-ulps: Update.
8408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8409
7fda5682
JM
84102013-12-20 Joseph Myers <joseph@codesourcery.com>
8411
31e3a405
JM
8412 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8413 asinh, atan, atan2, atanh, cbrt, cos and cosh.
8414 * math/auto-libm-test-out: Regenerated.
8415 * math/libm-test.inc (acosh_test_data): Add more tests.
8416 (atanh_test_data): Likewise.
8417 (ceil_test_data): Likewise.
8418 (copysign_test_data): Likewise.
8419 * sysdeps/i386/fpu/libm-test-ulps: Update.
8420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8421
85bff96a
JM
8422 * timezone/checktab.awk: Update from tzcode 2013i.
8423 * timezone/private.h: Likewise.
8424 * timezone/scheck.c: Likewise.
8425 * timezone/tzfile.h: Likewise.
8426 * timezone/tzselect.ksh: Likewise.
8427 * timezone/zdump.c: Likewise.
8428 * timezone/zic.c: Likewise.
8429
b7867a3b
JM
8430 * math/auto-libm-test-in: Add tests of cpow.
8431 * math/auto-libm-test-out: Regenerated.
8432 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 8433 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
8434 mpc_cc_c.
8435 (func_calc_desc): Add mpc_cc_c union field.
8436 (test_functions): Add cpow.
8437 (special_fill_2pi): New function.
8438 (special_real_inputs): Add 2pi.
8439 (calc_generic_results): Handle mpc_cc_c.
8440 * sysdeps/i386/fpu/libm-test-ulps: Update.
8441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8442
7fda5682
JM
8443 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
8444 csqrt, ctan and ctanh.
8445 * math/auto-libm-test-out: Regenerated.
8446 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8447 (TEST_COND_x86): Likewise.
8448 (ccos_test_data): Use AUTO_TESTS_c_c.
8449 (ccosh_test_data): Likewise.
8450 (cexp_test_data): Likewise.
8451 (clog_test_data): Likewise.
8452 (csqrt_test_data): Likewise.
8453 (ctan_test_data): Likewise.
8454 (ctan_tonearest_test_data): Likewise.
8455 (ctan_towardzero_test_data): Likewise.
8456 (ctan_downward_test_data): Likewise.
8457 (ctan_upward_test_data): Likewise.
8458 (ctanh_test_data): Likewise.
8459 (ctanh_tonearest_test_data): Likewise.
8460 (ctanh_towardzero_test_data): Likewise.
8461 (ctanh_downward_test_data): Likewise.
8462 (ctanh_upward_test_data): Likewise.
8463 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8464 mpc_c_c.
8465 (func_calc_desc): Add mpc_c_c union field.
8466 (FUNC_mpc_c_c): New macro.
8467 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
8468 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
8469 ctanh.
8470 (special_fill_min_subnorm_p120): New function.
8471 (special_real_inputs): Add min_subnorm_p120.
8472 (calc_generic_results): Handle mpc_c_c.
8473 * sysdeps/i386/fpu/libm-test-ulps: Update.
8474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8475
5ff8d60e
SP
84762013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8477
57f41c40
AS
8478 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
8479 (do_sin_slow): New functions.
8480 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
8481 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 8482
84ba214c
SP
8483 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
8484 Use M to change sign of result instead of X. Assume X is
8485 positive.
8486 (csloww1): Likewise.
8487 (__sin): Adjust.
8488 (__cos): Adjust.
8489
975195e4
SP
8490 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
8491 arguments A and DA.
8492 (__sin): Adjust.
8493 (__cos): Likewise.
8494
5ff8d60e
SP
8495 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
8496 (__cos): Likewise.
8497 (sloww1): Don't adjust sign of DX.
8498 (csloww1): Likewise.
8499 (sloww2): Use X directly and don't adjust sign of DX.
8500 (csloww2): Likewise.
8501
eb983568
JM
85022013-12-19 Joseph Myers <joseph@codesourcery.com>
8503
64a17f1a
JM
8504 * math/auto-libm-test-in: Add tests of cabs and carg.
8505 * math/auto-libm-test-out: Regenerated.
8506 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
8507 (carg_test_data): Likewise.
8508 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8509 mpc_c_f.
8510 (func_calc_desc): Add mpc_c_f union field.
8511 (test_functions): Add cabs and carg.
8512 (calc_generic_results): Handle mpc_c_f.
8513
eb983568
JM
8514 * sysdeps/powerpc/powerpc32/libgcc-compat.S
8515 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
8516 as a macro and a compat symbol.
8517 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8518 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8519 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8520 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8521 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
8522 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
8523 not use .hidden.
8524 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
8525 Likewise.
8526 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
8527 Likewise.
8528 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
8529 Likewise.
8530 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
8531 Likewise.
8532 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
8533 Likewise.
8534 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
8535 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
8536 from GLIBC_2.3.2.
8537
6eeb678a
AZ
85382013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8539
8540 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8541
6f6fc482
JM
85422013-12-19 Joseph Myers <joseph@codesourcery.com>
8543
21fea2e2
JM
8544 * manual/texinfo.tex: Update to version 2013-11-26.10 with
8545 trailing whitespace removed.
8546 * scripts/config.guess: Update to version 2013-11-29.
8547 * scripts/config.sub: Update to version 2013-10-01.
8548
6f6fc482
JM
8549 * math/auto-libm-test-in: Add tests of sincos.
8550 * math/auto-libm-test-out: Regenerated.
8551 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
8552 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8553 mpfr_f_11.
8554 (func_calc_desc): Add mpfr_f_11 union field.
8555 (test_functions): Add sincos.
8556 (calc_generic_results): Handle mpfr_f_11.
8557 * sysdeps/i386/fpu/libm-test-ulps: Update.
8558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8559
83f5c32d
AS
85602013-12-19 Andreas Schwab <schwab@suse.de>
8561
8562 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
8563 CALL_MCOUNT.
8564 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8565 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
8566 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
8567
c688b419
JM
85682013-12-19 Joseph Myers <joseph@codesourcery.com>
8569
335ee092
JM
8570 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
8571 * sysdeps/i386/fpu/libm-test-ulps: Update.
8572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8573
f88acd39
JM
8574 [BZ #16293]
8575 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
8576 round-to-nearest mode when using frndint.
8577 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
8578 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8579 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8580 Likewise.
8581 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
8582 sinh test to fail.
8583 * math/auto-libm-test-out: Regenerated.
8584 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
8585 (TEST_COND_x86): Likewise.
8586 (expm1_tonearest_test_data): New array.
8587 (expm1_test_tonearest): New function.
8588 (expm1_towardzero_test_data): New array.
8589 (expm1_test_towardzero): New function.
8590 (expm1_downward_test_data): New array.
8591 (expm1_test_downward): New function.
8592 (expm1_upward_test_data): New array.
8593 (expm1_test_upward): New function.
8594 (main): Run the new test functions.
8595 * sysdeps/i386/fpu/libm-test-ulps: Update.
8596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8597
c688b419
JM
8598 * include/features.h: Update comment documenting feature test
8599 macros. Mention _DEFAULT_SOURCE in comment.
8600 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
8601 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
8602 _BSD_SOURCE and _SVID_SOURCE.
8603 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
8604 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
8605 !_SVID_SOURCE]: Likewise.
8606 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8607 (__USE_POSIX_IMPLICITLY): Define.
8608 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8609 (_POSIX_SOURCE): Undefine and redefine.
8610 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8611 (_POSIX_C_SOURCE): Likewise.
8612 * manual/creature.texi (_DEFAULT_SOURCE): Document.
8613 (Feature Test Macros): Update documentation of default features.
8614
9f6e964c
RS
86152013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8616
8617 * benchtests/Makefile: Add bench-strtok.
8618 * benchtests/bench-strtok.c: New file: strtok benchtest.
8619
ee0a148a
AM
86202013-12-19 Allan McRae <allan@archlinux.org>
8621
8622 * manual/install.texi: Suppress menu for plain text output.
8623 * INSTALL: Regenerated.
8624
b9ab448f
BM
86252013-12-18 Brooks Moses <bmoses@google.com>
8626
8627 [BZ #15846]
8628 * misc/getauxval.c: Include errno.h.
8629 (__getauxval): Set errno to ENOENT if the requested type is not
8630 found.
8631 * misc/sys/auxv.h (getauxval): Document that it may set errno;
8632 don't declare with __attribute_const__.
8633 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
8634 * manual/startup.texi: Document that getauxval sets errno.
8635
23776487
JM
86362013-12-18 Joseph Myers <joseph@codesourcery.com>
8637
f889953b
JM
8638 * math/auto-libm-test-in: Add tests of jn and yn.
8639 * math/auto-libm-test-out: Regenerated.
8640 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
8641 (yn_test_data): Likewise.
8642 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8643 mpfr_if_f.
8644 (func_calc_desc): Add mpfr_if_f union field.
8645 (FUNC_mpfr_if_f): New macro.
8646 (test_functions): Add jn and yn.
8647 (calc_generic_results): Assert type of second input for
8648 mpfr_ff_f. Handle mpfr_if_f.
8649 (output_for_one_input_case): Disable all checking for arguments
8650 fitting floating-point types in case of an integer argument.
8651 * sysdeps/i386/fpu/libm-test-ulps: Update.
8652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8653
23776487
JM
8654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8655 Don't expect fegetround reference in libm.so.
8656
cb756c6d
MS
86572013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8658
8659 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
8660 $(config-cflags-nofma).
8661
2dec468f
JM
86622013-12-18 Joseph Myers <joseph@codesourcery.com>
8663
5953eb3a
JM
8664 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
8665 * math/auto-libm-test-out: Regenerated.
8666
2dec468f
JM
8667 [BZ #16338]
8668 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
8669 to determine exponent and adjust argument to have exponent of -1.
8670 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8671 log2.
8672 * math/auto-libm-test-out: Regenerated.
8673 * sysdeps/i386/fpu/libm-test-ulps: Update.
8674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8675
4d84e6ad
OB
86762013-12-18 Ondřej Bílka <neleai@seznam.cz>
8677
8678 * manual/probes.texi: Remove cases when per-thread arenas are
8679 disabled.
8680
1818483b
AS
86812013-12-18 Andreas Schwab <schwab@suse.de>
8682
8683 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
8684 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
8685 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
8686 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
8687 * sysdeps/i386/i686/multiarch/Makefile: Update.
8688 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
8689
25de95bf
JM
86902013-12-17 Joseph Myers <joseph@codesourcery.com>
8691
8692 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
8693 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8694
674762d9
PE
86952013-12-17 Paul Eggert <eggert@cs.ucla.edu>
8696
ed27ed83 8697 [BZ #15968]
0748546f
PE
8698 Support TZ transition times < 00:00:00.
8699 This is needed for version-3 tz-format files; it supports time
8700 stamps past 2037 for America/Godthab (the only entry in the tz
8701 database for which this change is relevant).
8702 * manual/time.texi (TZ Variable): Document transition times
8703 from -167:59:59 through -00:00:01.
8704 * time/tzset.c (tz_rule): Time of day is now signed.
8705 (__tzset_parse_tz): Parse negative time of day.
8706
4480e934
PE
8707 Document TZ transition times >= 25:00:00.
8708 * manual/time.texi (TZ Variable): Document transition times from
8709 25:00:00 through 167:59:59. These are already supported, and this
8710 support will help with version-3 tz-format files.
8711
69947401
PE
8712 * manual/time.texi (TZ Variable): Modernize North America example
8713 to reflect current (i.e., 2007-and-later) daylight saving rules.
8714
674762d9
PE
8715 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
8716
7011c262
JM
87172013-12-17 Joseph Myers <joseph@codesourcery.com>
8718
2fc6557e
JM
8719 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
8720 * sysdeps/unix/bsd/bits/stat.h: Likewise.
8721 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
8722 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8723 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
8724 * sysdeps/unix/bsd/bsdstat.h: Likewise.
8725 * sysdeps/unix/bsd/clock.c: Likewise.
8726 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
8727 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
8728 * sysdeps/unix/bsd/init-posix.c: Likewise.
8729 * sysdeps/unix/bsd/poll.c: Likewise.
8730 * sysdeps/unix/bsd/ptsname.c: Likewise.
8731 * sysdeps/unix/bsd/seekdir.c: Likewise.
8732 * sysdeps/unix/bsd/setegid.c: Likewise.
8733 * sysdeps/unix/bsd/seteuid.c: Likewise.
8734 * sysdeps/unix/bsd/setgid.c: Likewise.
8735 * sysdeps/unix/bsd/setrgid.c: Likewise.
8736 * sysdeps/unix/bsd/setruid.c: Likewise.
8737 * sysdeps/unix/bsd/setsid.c: Likewise.
8738 * sysdeps/unix/bsd/setuid.c: Likewise.
8739 * sysdeps/unix/bsd/sigaction.c: Likewise.
8740 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
8741 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
8742 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8743 * sysdeps/unix/bsd/telldir.c: Likewise.
8744 * sysdeps/unix/bsd/times.c: Likewise.
8745 * sysdeps/unix/bsd/usleep.c: Likewise.
8746
029c7b25
JM
8747 * misc/Makefile (install-lib): Remove libbsd-compat.a.
8748 ($(objpfx)libbsd-compat.a): Remove rule.
8749
7011c262
JM
8750 * include/features.h (__FAVOR_BSD): Do not define.
8751 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
8752 features conflicting with POSIX.
8753 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
8754 (_BSD_SOURCE): Remove description of not being a subset of other
8755 feature test macros.
8756 * manual/job.texi (getpgrp): Do not document BSD version.
8757 (getpgid): Do not document by reference to BSD getpgrp.
8758 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
8759 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
8760 * signal/signal.h [__FAVOR_BSD]: Likewise.
8761 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
8762 instead of making contents conditional on [__FAVOR_BSD].
8763 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
8764
affb6f78
AZ
87652013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8766
8767 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8768
c88769dd
JM
87692013-12-17 Joseph Myers <joseph@codesourcery.com>
8770
6432a540
JM
8771 [BZ #16314]
8772 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
8773 values below 2**-450, not 2**-500.
8774 * math/auto-libm-test-in: Don't allow spurious underflow from
8775 hypot.
8776 * math/auto-libm-test-out: Regenerated.
8777
c88769dd
JM
8778 [BZ #16316]
8779 [BZ #16330]
8780 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
8781 values of ha and hb and sort them after adjusting subnormal
8782 arguments.
8783 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8784 Likewise.
8785 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
8786 values of ea and eb and sort them after adjusting subnormal
8787 arguments.
8788 * math/auto-libm-test-in: Do not expect some hypot tests of
8789 subnormals to fail. Add more hypot tests.
8790 * math/auto-libm-test-out: Regenerated.
8791
29618f6b
KK
87922013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8793
8794 [BZ #13304]
8795 * sysdeps/sh/s_fma.c: New file.
8796 * sysdeps/sh/s_fmaf.c: New file.
8797 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
8798 version.
8799 * sysdeps/sh/Implies: Add sh/soft-fp.
8800
eacfdfbf
RM
88012013-12-16 Roland McGrath <roland@hack.frob.com>
8802
8803 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
8804 level of indirection to members `objname', `errstring', `malloced'.
8805 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
8806 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
8807 it as the __longjmp argument (just pass 1 instead).
8808 (_dl_catch_error): Initialize C with argument pointers and address of
8809 volatile local ERRCODE rather than copying values out of C at return.
8810
ff362e5b
JM
88112013-12-16 Joseph Myers <joseph@codesourcery.com>
8812
8813 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
8814 * math/auto-libm-test-out: Regenerated.
8815 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
8816 (hypot_test_data): Likewise.
8817 (pow_test_data): Likewise.
8818 (pow_tonearest_test_data): Likewise.
8819 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8820 mpfr_ff_f.
8821 (func_calc_desc): Add mpfr_ff_f union field.
8822 (FUNC_mpfr_ff_f): New macro.
8823 (test_functions): Add atan2, hypot and pow.
8824 (special_fill_min): New function.
8825 (special_fill_minus_min): Likewise.
8826 (special_fill_min_subnorm): Likewise.
8827 (special_fill_minus_min_subnorm): Likewise.
8828 (special_real_inputs): Add min, -min, min_subnorm and
8829 -min_subnorm.
8830 (calc_generic_results): Handle mpfr_ff_f.
8831 * sysdeps/i386/fpu/libm-test-ulps: Update.
8832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8833
5764c27f
WN
88342013-12-16 Will Newton <will.newton@linaro.org>
8835
8836 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
8837 (Aligned Memory Blocks): Add documentation for aligned_alloc
8838 and suggest it as an alternative to posix_memalign.
8839 (Hooks for Malloc): Document __memalign_hook is also called
8840 for aligned_alloc. (Summary of Malloc): Add summary for
8841 aligned alloc. Document __memalign_hook is also called
8842 for aligned_alloc.
8843
0a096e44
WN
88442013-12-16 Will Newton <will.newton@linaro.org>
8845
8846 * manual/memory.texi (Malloc Examples): Clarify default
8847 alignment documentation. Suggest posix_memalign rather
8848 than memalign or valloc.
8849 (Aligned Memory Blocks): Remove suggestion to use memalign
8850 or valloc. Remove obsolete comment about BSD.
8851 Document memalign errno values and mark the function obsolete.
8852 Document posix_memalign returned error codes. Mark valloc
8853 as obsolete. (Hooks for Malloc): __memalign_hook is also
8854 called for posix_memalign and valloc.
8855 (Summary of Malloc): Add posix_memalign to function summary.
8856 __memalign_hook is also called for posix_memalign and valloc.
8857
8d561986
SP
88582013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8859
8860 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
8861 TAYLOR_SIN.
8862 (__sin): Adjust.
8863 (__cos): Likewise.
8864 (sloww): Use mynumber union. Expand ternary operator into
8865 if-else statements.
8866 (cslow): use mynumber union.
8867
73616a74
AM
88682013-12-16 Allan McRae <allan@archlinux.org>
8869
9e8ac24b
AM
8870 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
8871 * configure: Regenerated.
8872
6f8e37eb
AM
8873 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
8874
8894bad3
AM
8875 [BZ #14120]
8876 * configure.ac: Added --enable-maintainer-mode. Check for
8877 autoconf when enabled.
8878 * configure: Regenerated.
8879
73616a74
AM
8880 * nscd/nscd.service: New file.
8881 * nscd/nscd.tmpfiles: New file.
8882
584b18eb
OB
88832013-12-14 Ondřej Bílka <neleai@seznam.cz>
8884
8885 [BZ #12100]
8886 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
8887 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
8888 * sysdeps/x86_64/multiarch/strstr.c: ... here.
8889 (strstr): Add __strstr_sse2_unaligned ifunc.
8890 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
8891 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
8892 (strcasestr): Remove __strcasestr_sse42 ifunc.
8893 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
8894 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8895 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8896
8a5c7897
KK
88972013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8898
8899 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
8900 * sysdeps/sh/bits/fenv.h: ... here.
8901 * sysdeps/sh/sh4/fpu/bits: Remove directory.
8902
fd712ef3
AZ
89032013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8904
8905 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
8906
42fcb46c
AZ
8907 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
8908 hypotf multiarch implementations.
8909 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
8910 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
8911 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
8912 multiarch hypot for PPC64.
8913 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
8914 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
8915 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
8916 multiarch hypotf for PPC64.
8917
83efded4
AZ
8918 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
8919 modff multiarch implementations.
8920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
8921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
8922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
8923 multiarch modf for PPC64.
8924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
8925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
8926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
8927 multiarch modff for PPC64.
8928
43e246d2
AZ
8929 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
8930 and logl multiarch implementations.
8931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
8932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
8933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
8934 multiarch logb for PPC64.
8935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
8936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
8937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
8938 multiarch logb for PPC64.
8939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
8940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
8941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
8942 multiarch logb for PPC64.
8943
8fdad123
AZ
8944 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
8945 isinff multiarch implementation.
8946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
8947 file.
8948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
8949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
8950 multiarch isinf for PPC64.
8951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
8952 file.
8953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
8954 multiarch isinff for PPC64.
8955
1481d706
AZ
8956 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
8957 finitef multiarch implementation.
8958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
8959 file.
8960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
8961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
8962 multiarch finite for PPC64.
8963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
8964 file.
8965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
8966 multiarch finitef for PPC64.
8967
5ccd5fc8
AZ
8968 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
8969 lrint multiarch implementation.
8970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
8971 file.
8972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
8973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
8974 multiarch llrint for PPC64.
8975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
8976 multiarch lrint for PPC64.
8977
2568f3fa
AZ
8978 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
8979 copysignf multiarch implementation.
8980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
8981 file.
8982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
8983 file.
8984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
8985 multiarch copysign for PPC64.
8986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
8987 multiarch copysignf for PPC64.
8988
1cb341fd
AZ
8989 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
8990 multiarch implementation.
8991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
8992 file.
8993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
8994 file.
8995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
8996 file.
8997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
8998 file.
8999 multiarch llround for PPC64.
9000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9001 multiarch trunc for PPC64.
9002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9003 multiarch truncf for PPC64.
9004
59a3e194
AZ
9005 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9006 multiarch implementation.
9007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9008 file.
9009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9010 file.
9011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9012 file.
9013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9014 file.
9015 multiarch llround for PPC64.
9016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9017 multiarch round for PPC64.
9018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9019 multiarch roundf for PPC64.
9020
357fd3b4
AZ
9021 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9022 multiarch implementation.
9023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9024 file.
9025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9026 file.
9027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9028 file.
9029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9030 file.
9031 multiarch llround for PPC64.
9032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9033 multiarch floor for PPC64.
9034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9035 multiarch floorf for PPC64.
9036
96770f12
AZ
9037 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9038 multiarch implementation.
9039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9040 file.
9041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9042 file.
9043 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9044 file.
9045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9046 file.
9047 multiarch llround for PPC64.
9048 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9049 multiarch ceil for PPC64.
9050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9051 multiarch ceilf for PPC64.
9052
c3627f6e
AZ
9053 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9054 multiarch implementation.
9055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9056 file.
9057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9058 file.
9059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9060 file.
9061 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9062 multiarch llround for PPC64.
9063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9064 multiarch lround for PPC64.
9065
b2284ad7
AZ
9066 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9067 multiarch implementation.
9068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9071 file.
9072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9073 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9075 multiarch isnan for PPC64.
9076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9077 multiarch isnanf for PPC64.
9078
69bbc63d
AZ
9079 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9080 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9081 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9082 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9083 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9085
c24517c9
AZ
9086 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9087 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9088 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9089 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9090
a52374e8
AZ
9091 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9092 multiarch implementations.
9093 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9094 (__libc_ifunc_impl_list): Likewise.
9095 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9096 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9097 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9098 multiarch stpcpy for PPC64.
9099
7f5ec113
AZ
9100 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9101 multiarch implementations.
9102 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9103 (__libc_ifunc_impl_list): Likewise.
9104 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9105 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9106 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9107 multiarch strcpy for PPC64.
9108
e28bcd42
AZ
9109 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9110 redefine function name.
9111 (_wordcopy_fwd_dest_aligned): Likewise.
9112 (_wordcopy_bwd_aligned): Likewise.
9113 (_wordcopy_bwd_dest_aligned): Likewise.
9114 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9115 multiarch implementations.
9116 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9117 (__libc_ifunc_impl_list): Likewise.
9118 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9119 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9120 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9121 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9122 multiarch wcscpy for PPC64.
9123
92cacfce
AZ
9124 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9125 multiarch implementations.
9126 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9127 (__libc_ifunc_impl_list): Likewise.
9128 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9129 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9130 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9131 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9132 multiarch wcscpy for PPC64.
9133
7b714620
AZ
9134 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9135 multiarch implementations.
9136 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9137 (__libc_ifunc_impl_list): Likewise.
9138 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9139 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9140 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9141 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9142 multiarch wcsrchr for PPC64.
9143
16fd2ae3
AZ
9144 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9145 multiarch implementations.
9146 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9147 (__libc_ifunc_impl_list): Likewise.
9148 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9149 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9150 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9151 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9152 multiarch wcschr for PPC64.
9153
9ee2969b
AZ
9154 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9155 multiarch implementations.
9156 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9157 (__libc_ifunc_impl_list): Likewise.
9158 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9159 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9160 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9161 multiarch strchrnul for PPC64.
9162
372dc060
AZ
9163 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9164 implementations.
9165 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9166 (__libc_ifunc_impl_list): Likewise.
9167 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9168 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9169 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9170 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9171 strchr for PPC64.
9172
24c2c3b9
AZ
9173 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9174 implementations.
9175 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9176 (__libc_ifunc_impl_list): Likewise.
9177 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9178 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9179 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9180 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9181 strncmp for PPC64.
9182
1c92d9a0
AZ
9183 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9184 multiarch implementations.
9185 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9186 (__libc_ifunc_impl_list): Likewise.
9187 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9188 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9189 strncasecmp for PPC64.
9190 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9191 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9192 multiarch strncasecmp_l for PPC64.
9193
17de3ee3
AZ
9194 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9195 multiarch implementations.
9196 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9197 (__libc_ifunc_impl_list): Likewise.
9198 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9199 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9200 multiarch strcasecmp for PPC64.
9201 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9202 file.
9203 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9204 multiarch strcasecmp_l for PPC64.
9205
62982bf9
AZ
9206 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9207 implementations.
9208 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9209 (__libc_ifunc_impl_list): Likewise.
9210 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9211 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9212 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9213 strnlen for PPC64.
9214
a65f4904
AZ
9215 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9216 implementations.
9217 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9218 (__libc_ifunc_impl_list): Likewise.
9219 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9220 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9221 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9222 strlen for PPC64.
9223
1fd005ad
AZ
9224 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9225 implementations.
9226 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9227 (__libc_ifunc_impl_list): Likewise.
9228 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9229 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9230 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9231 rawmemrchr for PPC64.
9232
cd05ba91
AZ
9233 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9234 implementation.
9235 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9236 (__libc_ifunc_impl_list): Likewise.
9237 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9238 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9239 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9240 memrchr for PPC64.
9241
870f8676
AZ
9242 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9243 implementation.
9244 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9245 (__libc_ifunc_impl_list): Likewise.
9246 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9247 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9248 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9249 memchr for PPC64.
9250
f00be62b
AZ
9251 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9252 implementation.
9253 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9254 (__libc_ifunc_impl_list): Likewise.
9255 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9256 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9257 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9258 mempcpy for PPC64.
9259
8a29a3d0
AZ
9260 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9261 avoid cretion of __bzero symbol.
9262 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9263 Likewise.
9264 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9265 Likewise.
9266 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9267 Likewise.
9268 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9269 multiarch implementations.
9270 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9271 (__libc_ifunc_impl_list): Likewise.
9272 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9273 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9274 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9275 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9276 bzero for PPC32.
9277 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9278 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9279 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9280 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9281 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9282 memset for PPC64.
9283 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9284
07253fcf
AZ
9285 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9286 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9287 implementations.
9288 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9289 (__libc_ifunc_impl_list): Likewise.
9290 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9291 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9292 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9293 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9294 memcmp for PPC64.
9295
b5beafbc
AZ
9296 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9297 multiarch for POWER/PPC64.
9298 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9299 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9300 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9301 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9302 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9303 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9304 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9305 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9306 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9307 memcpy for PPC64.
9308
5e6a4d4b
AZ
9309 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9310 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9311 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9312 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9313 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9314 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9315 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9316 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9317 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9318 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9319 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9320 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9321 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9322 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9323 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9331
ddfab6dc
KK
93322013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9333
9334 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9335
19b5525e
SP
93362013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9337
9338 * benchtests/Makefile (bench): Add exp2 and log2.
9339 (LDLIBS-bench-exp2): Add -lm.
9340 (LDLIBS-bench-log2): Likewise.
9341 * benchtests/exp2-inputs: New inputs file.
9342 * benchtests/log2-inputs: New inputs file.
9343 * benchtests/log-inputs: Add new inputs.
9344 * benchtests/tan-inputs: Likewise.
9345
196f7f5d
SP
93462013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9347
7a74607f
SP
9348 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9349 definition...
57f41c40
AS
9350 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9351 (csloww2): ... from here.
7a74607f 9352
196f7f5d
SP
9353 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9354 instead of structures.
9355 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9356 (POLYNOMIAL): Likewise.
9357 (TAYLOR_SLOW): Likewise.
9358 (__sin): Likewise.
9359 (__cos): Likewise.
9360 (slow1): Likewise.
9361 (slow2): Likewise.
9362 (sloww): Likewise.
9363 (sloww1); Likewise.
9364 (sloww2): Likewise.
9365 (bsloww1): Likewise.
9366 (bsloww2): Likewise.
9367 (cslow2): Likewise.
9368 (csloww): Likewise.
9369 (csloww1): Likewise.
9370 (csloww2): Likewise.
9371
0dfa665c
OB
93722013-12-10 Ondřej Bílka <neleai@seznam.cz>
9373
9374 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
9375 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9376 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
9377 * malloc/hooks.c (realloc_check): Likewise.
9378
5782a80f
OB
9379 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9380 * malloc/arena.c: Remove PER_THREAD conditional.
9381 [!PER_THREAD]: Remove code.
9382 (ptmalloc_unlock_all2): Likewise.
9383 (ptmalloc_init): Likewise.
9384 (_int_new_arena): Likewise.
9385 (arena_get2): Likewise.
9386 * malloc/hooks.c (__malloc_get_state): Likewise.
9387 (__malloc_set_state): Likewise.
9388 * malloc/malloc.c: Likewise.
9389 (struct malloc_state): Likewise.
9390 (struct malloc_par): Likewise.
9391 (__libc_realloc): Likewise.
9392 (__libc_mallopt): Likewise.
9393
aeb95445
AZ
93942013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9395
9396 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9397
e8349efd
OB
93982013-12-09 Ondřej Bílka <neleai@seznam.cz>
9399
9400 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9401 macro to a function. Check for zero perturb_byte.
9402 (_int_malloc, _int_free): Remove zero perturb_byte checks.
9403
f3eeb3fc 9404 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
9405 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9406 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
9407 force_reg by atomic_forced_read.
9408 * malloc/arena.c (ptmalloc_init): Likewise.
9409 * malloc/hooks.c (top_check): Likewise.
9410
be2f9009
AZ
94112013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9412
9413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9414
e7b914bd
MT
94152013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
9416
9417 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9418
9f0be4f8
JM
94192013-12-08 Joseph Myers <joseph@codesourcery.com>
9420
9421 * math/auto-libm-test-in: Add tests of lgamma.
9422 * math/auto-libm-test-out: Regenerated.
9423 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9424 (M_LOG_2_SQRT_PIl): Likewise.
9425 (lgamma_test_data): Use AUTO_TESTS_f_f1.
9426 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9427 mpfr_f_f1.
9428 (func_calc_desc): Add mpfr_f_f1 union field.
9429 (ARGS1): New macro.
9430 (ARGS2): Likewise.
9431 (ARGS3): Likewise.
9432 (ARGS4): Likewise.
9433 (RET1): Likewise.
9434 (RET2): Likewise.
9435 (CALC): Likewise.
9436 (FUNC): Likewise.
9437 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9438 (test_functions): Add lgamma.
9439 (calc_generic_results): Handle mpfr_f_f1.
9440 * sysdeps/i386/fpu/libm-test-ulps: Update.
9441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9442
24eeafdb
AZ
94432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9444
9445 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
9446 __mpn_add_n for PowerPC64/POWER7.
9447 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
9448 __mpn_sub_n for PowerPC64/POWER7.
9449
4a2c0fd4
AZ
9450 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
9451 __mpn_addmul_1 for PowerPC64.
9452 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
9453 __mpn_submul_1 for PowerPC64.
9454 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
9455 for PowerPC64.
9456 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
9457 for PowerPC64.
9458
4b5b548c
FS
94592013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
9460
9461 [BZ #15089]
9462 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
9463
0a3ac0aa
AZ
94642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9465
9466 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
9467
ccdc8438
AZ
9468 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
9469 add multiarch folders.
9470 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
9471 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
9472 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
9473 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
9474 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
9475 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
9476 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
9477 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
9478 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
9479 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
9480 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
9481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
9482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
9483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
9484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
9485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
9486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
9487
2e973d99
AZ
9488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9489 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
9490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
9491 New file.
9492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
9493 New file.
9494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
9495 multiarch __ieee754_hypot for PowerPC32.
9496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
9497 New file.
9498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
9499 New file.
9500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
9501 multiarch __ieee754_hypotf for PowerPC32.
9502
2d9470b2
AZ
9503 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
9504 long_double_symbol only if __logbl is defined.
9505 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
9506 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
9507 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
9508 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
9509 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
9510 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
9511 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
9512 path for implementation.
9513 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
9514 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
9515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
9516 logb, and logbl multiarch implementations for PowerPC32.
9517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
9518 file.
9519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
9520 file.
9521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
9522 multiarch logb for PowerPC32.
9523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
9524 file.
9525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
9526 file.
9527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
9528 multiarch logbf for PowerPC32.
9529 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
9530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
9531 file.
9532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
9533 multiarch logbl implementation for PowerPC32.
9534
5212ffce
AZ
9535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
9536 and modff multiarch implementations.
9537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
9538 New file.
9539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
9540 New file.
9541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
9542 multiarch modf for PowerPC32.
9543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
9544 New file.
9545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
9546 New file.
9547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
9548 multiarch modff for PowerPC32.
9549
79dccf31
AZ
9550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
9551 and lrintf multiarch implementations.
9552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
9553 New file.
9554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
9555 New file.
9556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
9557 multiarch lrint for PowerPC32.
9558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
9559 file: multiarch lrintf for PowerPC32.
9560
deb66480
AZ
9561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
9562 and lroundf multiarch implementations.
9563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
9564 New file.
9565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
9566 New file.
9567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
9568 New file.
9569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
9570 multiarch lround for PowerPC32.
9571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
9572 file: multiarch lroundf for PowerPC32.
9573
264b036b
AZ
9574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9575 copysign and copysignf multiarch implementations.
9576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
9577 New file.
9578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
9579 New file.
9580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
9581 file: multiarch copysign for PowerPC32.
9582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
9583 file: multiarch copysignf for PowerPC32.
9584
d47db6c9
AZ
9585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
9586 and truncf multiarch implementations.
9587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
9588 New file.
9589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
9590 file.
9591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
9592 multiarch trunc for PowerPC32.
9593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
9594 New file.
9595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
9596 New file.
9597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
9598 multiarch truncf for PowerPC32.
9599
ddb60b5a
AZ
9600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
9601 and roundf multiarch implementations.
9602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
9603 New file.
9604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
9605 file.
9606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
9607 multiarch round for PowerPC32.
9608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
9609 New file.
9610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
9611 New file.
9612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
9613 multiarch roundf for PowerPC32.
9614
bedcf49b
AZ
9615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
9616 and floorf multiarch implementations.
9617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
9618 New file.
9619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
9620 file.
9621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
9622 multiarch floor for PowerPC32.
9623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
9624 New file.
9625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
9626 New file.
9627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
9628 multiarch floorf for PowerPC32.
9629
35ae5b40
AZ
9630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
9631 and ceilf multiarch implementations.
9632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
9633 New file.
9634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
9635 file.
9636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
9637 multiarch ceil for PowerPC32.
9638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
9639 New file.
9640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
9641 file.
9642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
9643 multiarch ceilf for PowerPC32.
9644
ae1a4cd9
AZ
9645 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
9646 is defined.
9647 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
9648 FINITEF is defined.
9649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
9650 and finitef multiarch implementations.
9651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
9652 New file.
9653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
9654 file.
9655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
9656 multiarch finite for PowerPC32.
9657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
9658 New file.
9659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
9660 file: multiarch finitef for PowerPC32.
9661
64fffd65
AZ
9662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
9663 and isinff multiarch implementations.
9664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
9665 file.
9666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
9667 file.
9668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
9669 multiarch isinf for PowerPC32.
9670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
9671 New file.
9672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
9673 multiarch isinff for PowerPC32.
9674
8e4e7ba2
AZ
9675 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
9676 alias when __isnan is defined.
9677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
9678 and isnanf multiarch implementations.
9679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
9680 file.
9681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
9682 file.
9683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
9684 file.
9685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
9686 file.
9687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
9688 multiarch isnan for PowerPC32.
9689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
9690 New file.
9691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
9692 New file.
9693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
9694 multiarch isnanf for PowerPC32.
9695
ddba588e
AZ
9696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
9697 and sqrtf multiarch implementations.
9698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
9699 file.
9700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
9701 file.
9702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
9703 multiarch sqrt for PowerPC32.
9704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
9705 file.
9706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
9707 file.
9708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
9709 multiarch sqrtf for PowerPC32.
9710
0f96a2f0
AZ
9711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
9712 and llroundf multiarch implementations.
9713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
9714 New file.
9715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
9716 New file.
9717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
9718 New file.
9719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
9720 file: multiarch llround for PowerPC32.
9721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
9722 file: multiarch llroundf for PowerPC32.
9723
c9b5d79e
AZ
9724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
9725 multiarch PowerPC32 fpu implementations.
9726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
9727 New file.
9728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
9729 New file.
9730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
9731 multiarch llrint for PowerPC32.
9732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
9733 New file.
9734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
9735 New file.
9736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
9737 file.
9738
9cbb3aab
AZ
9739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
9740
ea5a72f8
AZ
9741 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
9742 file.
9743 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
9744 file.
9745 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
9746 file.
9747 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
9748 multiarch wordcopy for PPC32.
9749 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9750 wordcopy objects.
9751 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9752 (__libc_ifunc_impl_list): Likewise.
9753 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
9754 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
9755 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
9756 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
9757 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
9758 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
9759
93be09e7
AZ
9760 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
9761 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
9762 file.
9763 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
9764 file.
9765 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
9766 file.
9767 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
9768 multiarch wcscpy for PPC32.
9769 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9770 multiarch objects.
9771 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9772 (__libc_ifunc_impl_list): Likewise.
9773 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9774 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9775 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
9776 sysdeps/powerpc/power6/wcscpy.c.
9777
bb04e529
AZ
9778 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
9779 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
9780 file.
9781 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
9782 file.
9783 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
9784 file.
9785 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
9786 multiarch wcsrchr for PPC32.
9787 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9788 multiarch objects.
9789 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9790 (__libc_ifunc_impl_list): Likewise.
9791 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9792 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9793 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
9794 sysdeps/powerpc/power6/wcsrchr.c.
9795
05b5cd1c
AZ
9796 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
9797 file.
9798 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
9799 file.
9800 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
9801 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
9802 multiarch wcschr for PPc32.
9803 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9804 multiarch objects.
9805 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9806 (__libc_ifunc_impl_list): Likewise.
9807 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
9808 * sysdeps/powerpc/power6/wcschr.c: ... to here.
9809 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
9810 sysdeps/powerpc/power6/wcschr.c.
9811
ba964147
AZ
9812 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
9813 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
9814 file.
9815 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
9816 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
9817 file: multiarch strchr for PPC32.
9818 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
9819 multiarch objects.
9820 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9821 (__libc_ifunc_impl_list): Likewise.
9822
31c81aaa
AZ
9823 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
9824 name.
9825 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
9826 file.
9827 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
9828 file.
9829 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
9830 multiarch strchrnul for PPC32.
9831 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
9832 multiarch objects.
9833 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9834 (__libc_ifunc_impl_list): Likewise.
9835
0d0607d9
AZ
9836 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
9837 file.
9838 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
9839 multiarch strncasecmp for PPC32.
9840 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
9841 file.
9842 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
9843 multiarch strncasecmp_l for PPC32.
9844 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
9845 strncasecmp multiarch objects.
9846 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9847 (__libc_ifunc_impl_list): Likewise.
9848
4dfd5c86
AZ
9849 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
9850 file.
9851 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
9852 multiarch strncasecmp for PPC32.
9853 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9854 New file.
9855 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
9856 multiarch strcasecmp_l for PPC32.
9857 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
9858 multiarch objects.
9859 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9860 (__libc_ifunc_impl_list): Likewise.
9861
a19e01a3
AZ
9862 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
9863 file.
9864 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
9865 file.
9866 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
9867 multiarch strncmp for PPC32.
9868 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
9869 multiarch objects.
9870 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9871 (__libc_ifunc_impl_list): Likewise.
9872
ae9cf7a2
AZ
9873 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
9874 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
9875 file.
9876 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
9877 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
9878 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
9879 multiarch objects.
9880 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9881 (__libc_ifunc_impl_list): Likewise.
9882
3148bb7d
AZ
9883 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
9884 file.
9885 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
9886 file.
9887 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
9888 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
9889 multiarch objects.
9890 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9891 (__libc_ifunc_impl_list): Likewise.
9892
7af8b946
AZ
9893 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
9894 file.
9895 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
9896 file.
9897 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
9898 multiarch rawmemchr for PPC32.
9899 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
9900 multiarch objects.
9901 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9902 (__libc_ifunc_impl_list): Likewise.
9903
03a6aa6a
AZ
9904 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
9905 file.
9906 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
9907 file.
9908 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
9909 file: memrchr multiarch for PPC32.
9910 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
9911 multiarch objects.
9912 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9913 (__libc_ifunc_impl_list): Likewise.
9914
1c62e6d9
AZ
9915 * string/memchr.c (__memchr): Using macro to redefine symbol name.
9916 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
9917 file.
9918 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
9919 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
9920 multiarch memchr for PPC32.
9921 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
9922 multiarch objects.
9923 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9924 (__libc_ifunc_impl_list): Likewise.
9925
87da8bdb
AZ
9926 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
9927 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
9928 file.
9929 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
9930 file.
9931 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
9932 file: multiarch mempcpy for PPC32.
9933 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
9934 multiarch objects.
9935 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9936 (__libc_ifunc_impl_list): Likewise.
9937
20ed4714
AZ
9938 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
9939 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
9940 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
9941 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
9942 multiarch bzero for PPC32.
9943 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
9944 file.
9945 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
9946 file.
9947 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
9948 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
9949 file: multiarch memset for PPC32.
9950 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
9951 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
9952 memset multiarch objects.
9953 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9954 (__libc_ifunc_impl_list): Likewise.
9955
ab3e3a46
AZ
9956 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
9957 file.
9958 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
9959 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
9960 memcmp for PPC32.
9961 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
9962 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
9963 multiarch objects.
9964 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9965 (__libc_ifunc_impl_list): Likewise.
9966
930de6f0
AZ
9967 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
9968 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
9969 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
9970 file.
9971 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
9972 file.
9973 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
9974 file.
9975 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
9976 multiarch memcpy for PPC32.
9977 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
9978 multiarch objects.
9979 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9980 (__libc_ifunc_impl_list): Likewise.
9981
4c628e00
AZ
9982 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
9983 support multiarch for POWER/PPC32.
9984 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
9985 Likewise.
9986 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
9988 Implies file to make multiarch folder appers before the fpu and
9989 default folder for power4 configuration.
9990
f4479220
SP
99912013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9992
9993 * scripts/bench.pl: Append volatile keyword to type.
9994
8517800f
KK
99952013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9996
9997 * sysdeps/sh/sotruss-lib.c: New file.
9998 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
9999
180138f1
AZ
100002013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10001
10002 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10003
bbf37bdc
JM
100042013-12-05 Joseph Myers <joseph@codesourcery.com>
10005
e47cc4e0
JM
10006 [BZ #6810]
10007 * math/w_tgamma.c: Include <errno.h>.
10008 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
10009 * math/w_tgammaf.c: Include <errno.h>.
10010 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
10011 * math/w_tgammal.c: Include <errno.h>.
10012 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
10013 * math/auto-libm-test-in: Do not allow missing errno on tgamma
10014 underflow. Add more tgamma tests.
10015 * math/auto-libm-test-out: Regenerated.
10016 * sysdeps/i386/fpu/libm-test-ulps: Update.
10017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10018
bbf37bdc
JM
10019 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10020 sin, sinh, tan, tanh, tgamma, y0 and y1.
10021 * math/auto-libm-test-out: Regenerated.
10022 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10023 (TEST_COND_x86): Likewise.
10024 (M_E2l): Remove macro.
10025 (M_E3l): Likewise.
10026 (M_2_SQRT_PIl): Likewise.
10027 (M_SQRT_PIl): Likewise.
10028 (M_1_DIV_El): Likewise.
10029 (log_test_data): Use AUTO_TESTS_f_f.
10030 (log10_test_data): Likewise.
10031 (log1p_test_data): Likewise.
10032 (log2_test_data): Likewise.
10033 (sin_test_data): Likewise.
10034 (sin_tonearest_test_data): Likewise.
10035 (sin_towardzero_test_data): Likewise.
10036 (sin_downward_test_data): Likewise.
10037 (sin_upward_test_data): Likewise.
10038 (sinh_test_data): Likewise.
10039 (sinh_tonearest_test_data): Likewise.
10040 (sinh_towardzero_test_data): Likewise.
10041 (sinh_downward_test_data): Likewise.
10042 (sinh_upward_test_data): Likewise.
10043 (tan_test_data): Likewise.
10044 (tan_tonearest_test_data): Likewise.
10045 (tan_towardzero_test_data): Likewise.
10046 (tan_downward_test_data): Likewise.
10047 (tan_upward_test_data): Likewise.
10048 (tanh_test_data): Likewise.
10049 (tgamma_test_data): Likewise.
10050 (y0_test_data): Likewise.
10051 (y1_test_data): Likewise.
10052 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10053 (special_real_inputs): Add pi/4.
10054 * sysdeps/i386/fpu/libm-test-ulps: Update.
10055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10056
eb5ad6b9
AZ
100572013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10058
10059 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10060 "longjmp_target" static probes.
10061 (__longjmp): Rename to __longjmp_symbol.
10062 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10063 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10064 on which longjmp to generate.
10065 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10066 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10067 probe.
10068 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10069 (__sigjmp_save): Rename to __sigjmp_save_symbol.
10070 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10071 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10072 and __sigjmp_save_symbol based on which sigsetjmp to generated.
10073 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10075 __longjmp_symbol based on which __longjmp to generate.
10076 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10077 probe.
10078 (setjmp): Rename to setjmp_symbol.
10079 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10080 (_setjmp): Rename to _setjmp_symbol.
10081 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10082 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10083 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10084 which setjmp to generate.
10085 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10086 "longjmp_target" static probes.
10087
d136c6dc
SP
100882013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10089
9298ecba
SP
10090 * benchtests/README: Add note about output arguments.
10091 * benchtests/bench-sincos.c: Remove file.
10092 * benchtests/sincos-inputs: New file.
10093 * scripts/bench.pl: Identify output arguments and define
10094 static variables for them.
10095
232983e9
SP
10096 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10097
d136c6dc
SP
10098 [BZ #15941]
10099 * Makefile (INSTALL): Add install-plain.texi as the primary
10100 dependency.
10101 * manual/install-plain.texi: New file.
10102 * manual/install.texi: Include node directive only for
10103 non-plaintext output.
10104
699ff837
JM
101052013-12-04 Joseph Myers <joseph@codesourcery.com>
10106
ab07cea8
JM
10107 * stdlib/longlong.h: Update from GCC.
10108
699ff837
JM
10109 [BZ #6807]
10110 [BZ #15901]
10111 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10112 * math/w_j0f.c (y0f): Likewise.
10113 * math/w_j0l.c (__y0l): Likewise.
10114 * math/w_j1.c (y1): Likewise.
10115 * math/w_j1f.c (y1f): Likewise.
10116 * math/w_j1l.c (__y1l): Likewise
10117 * math/w_jn.c (yn): Likewise.
10118 * math/w_jnf.c (ynf): Likewise.
10119 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10120 Bessel function pole errors in _POSIX_ mode. Use NAN as return
10121 value for Bessel function domain errors outside _SVID_ mode.
10122 Adjust sign of return value for yn (negative integer, 0).
10123 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10124 by zero in return for negative x and set sign appropriately for
10125 negative n.
10126 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10127 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10128 * math/libm-test.inc (y0_test_data): Add more tests and adjust
10129 expectations in error cases.
10130 (y1_test_data): Likewise.
10131 (yn_test_data): Likewise.
10132 * sysdeps/i386/fpu/libm-test-ulps: Update.
10133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10134
5b118558
UW
101352013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10136
10137 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10138 "64" to "64-v1". Add "64-v2".
10139 (abi-64-options): Rename to ...
10140 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
10141 (abi-64-condition): Rename to ...
10142 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
10143 (abi-64-ld-soname): Rename to ...
10144 (abi-64-v1-ld-soname): ... this.
10145 (abi-64-v2-options): Define.
10146 (abi-64-v2-condition): Likewise.
10147 (abi-64-v2-ld-soname): Likewise.
10148 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10149 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10153
61cd8fe4
UW
101542013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10155 Alan Modra <amodra@gmail.com>
10156
10157 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10158 New versions for use with the ELFv2 ABI.
10159 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10160 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10161 declaration.
10162 (struct La_ppc64v2_retval): Likewise.
10163 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10164 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10165 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10166 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10167 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10168 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10169 Do not save or restore CR.
10170 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10171 (_dl_profile_resolve): Do no save or restore CR. Support extended
10172 return values for ELFv2 ABI. Fix location of FPR return registers.
10173 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10174 updated values for _CALL_ELF == 2.
10175 (La_regs, La_retval, int_retval): Likewise.
10176
8b8a692c
UW
101772013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10178
10179 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10180 (FRAME_MIN_SIZE_PARM): Likewise.
10181 (FRAME_BACKCHAIN): Likewise.
10182 (FRAME_CR_SAVE): Likewise.
10183 (FRAME_LR_SAVE): Likewise.
10184 (FRAME_TOC_SAVE): Likewise.
10185 (FRAME_PARM_SAVE): Likewise.
10186 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10187 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10188 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10189 (call_mcount_parm_offset): New macro.
10190 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10191 (PROF): Use symbolic stack frame offsets.
10192 (TAIL_CALL_SYSCALL_ERROR): Likewise.
10193 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10194 Redefine in terms of FRAME_MIN_SIZE.
10195 (_dl_runtime_resolve): Use symbolic stack frame offsets.
10196 (_dl_profile_resolve): Likewise. Update comment.
10197 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10198 symbols stack frame offsets.
10199 (__sigsetjmp): Likewise.
10200 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10201 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10202 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10203 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10204
10205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10206 (FRAME_BACKCHAIN): Remove.
10207 (FRAME_CR_SAVE): Likewise.
10208 (FRAME_LR_SAVE): Likewise.
10209 (FRAME_COMPILER_DW): Likewise.
10210 (FRAME_LINKER_DW): Likewise.
10211 (FRAME_TOC_SAVE): Likewise.
10212 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
10213 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10214 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10215 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
10216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10217 (CHECK_SP): Use symbolic stack frame offsets.
10218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10219 zone" instead of caller's parameter save area for temp storage.
10220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10221 Likewise. Also, use symbolic stack frame offsets.
10222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10223 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10224 our own stack frame instead of the caller's.
10225 (__socket): Use symbolic stack frame offsets.
10226
122b66de
UW
102272013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10228 Alan Modra <amodra@gmail.com>
10229
10230 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10231 Define.
57f41c40
AS
10232 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10233 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
10234 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10235 New function.
10236 (elf_machine_fixup_plt): Call it.
10237 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
10238 reloc arguments.
10239 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
10240 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10241 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
10242 r2 before calling target.
10243
696caf1d
UW
102442013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10245 Alan Modra <amodra@gmail.com>
10246
10247 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10248 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10249 versions of macros to support ELFv2 ABI.
10250 (LOCALENTRY): New macro.
10251 (ENTRY, EALIGN): Use it.
10252 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10253 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10254 fall through into ENTRY entry point.
10255 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10256 Only define if _CALL_ELF != 2.
10257
10258 (elf_machine_matches_host): Verify ABI version matches.
10259 (RTLD_START): Use LOCALENTRY.
10260 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10261 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10262 (PLT_ENTRY_WORDS): New macro.
10263 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10264 (elf_machine_runtime_setup): Support ELFv2 ABI.
10265 (elf_machine_fixup_plt): Likewise.
10266 (elf_machine_plt_conflict): Likewise.
10267 (resolve_ifunc): Likewise.
10268 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10269 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10270 Likewise.
10271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10272 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10274 (makecontext): Support ELFv2 ABI.
10275 * elf/elf.h (EF_PPC64_ABI): Define.
10276
d31beafa
UW
102772013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10278
57f41c40
AS
10279 * sysdeps/powerpc/powerpc64/sysdep.h
10280 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10281 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10282 (ENTRY) [ASSEMBLER]: ... but instead here ...
10283 (EALIGN) [ASSEMBLER]: ... and here.
10284 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10285 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10286 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
10287 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10288 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
10289 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10290 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
10291 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10293 Use PPC64_LOAD_FUNCPTR.
10294
b525166b
UW
10295 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10296
7ec07d9a
AM
102972013-12-04 Alan Modra <amodra@gmail.com>
10298
10299 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10300 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10301 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10302 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10303
10304 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10305 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10306 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10307 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10308 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10309 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10310
5162e7dd
UW
103112013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10312
10313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10314 (__makecontext): Fix incorrect CFI when backtracing out of
10315 context created via makecontext.
10316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10317 (__setcontext): Fix incorrect CFI during switch to new context.
10318 (__novec_setcontext): Likewise.
10319
19e3372b
OB
103202013-12-04 Ondřej Bílka <neleai@seznam.cz>
10321
10322 [BZ #4772]
10323 * time/strptime_l.c (__strptime_internal): Allow modifiers
10324 in strptime.
10325 * time/tst-strptime.c (day_tests): Add testcase.
10326
ecaf142d
SP
103272013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10328
10329 * scripts/bench.pl: Skip over blank lines.
10330
fbf964ae
PE
103312013-12-04 Paul Eggert <eggert@cs.ucla.edu>
10332
10333 [BZ #926]
10334 * manual/time.texi (Calendar Time): Clarify what timezone functions
10335 use.
10336
fa60a674
AZ
103372013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10338
10339 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10340
d674f0ef
OB
103412013-12-04 Ondřej Bílka <neleai@seznam.cz>
10342
10343 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10344 implementation.
10345 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10346 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10347 * debug/memset_chk.c (__memset_chk): Likewise.
10348 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10349 * debug/strncpy_chk.c: Likewise.
10350
17dea188
JM
103512013-12-03 Joseph Myers <joseph@codesourcery.com>
10352
749008ff
JM
10353 [BZ #15268]
10354 [BZ #15425]
10355 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10356 (__ieee754_exp): For possibly underflowing results, check size of
10357 result and force underflow exception if required.
10358 * math/auto-libm-test-in: Add more tests of exp.
10359 * math/auto-libm-test-out: Regenerated.
10360 * sysdeps/i386/fpu/libm-test-ulps: Update.
10361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10362
17dea188
JM
10363 [BZ #16283]
10364 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10365 * math/w_exp2f.c (__exp2f): Likewise.
10366 * math/w_exp2l.c (__exp2l): Likewise.
10367 * math/auto-libm-test-in: Do not allow missing errno on exp2
10368 underflow.
10369 * math/auto-libm-test-out: Regenerated.
10370
b20de2c3
OB
103712013-12-03 Ondřej Bílka <neleai@seznam.cz>
10372
10373 [BZ #16274]
10374 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10375 handle filename validation.
10376 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10377 (do_open): Delete.
10378
d8e2dbe3
JM
103792013-12-03 Joseph Myers <joseph@codesourcery.com>
10380
34e16df5
JM
10381 [BZ #6786]
10382 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10383 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10384 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10385 <float.h>.
10386 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10387 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10388 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10389 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10390 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10391 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10392 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10393 * math/auto-libm-test-in: Don't allow missing errno from erfc.
10394 Add more erfc tests.
10395 * math/auto-libm-test-out: Regenerated.
10396 * sysdeps/i386/fpu/libm-test-ulps: Update.
10397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10398
d8e2dbe3
JM
10399 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10400 exp2, expm1, j0 and j1.
10401 * math/auto-libm-test-out: Regenerated.
10402 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10403 (erfc_test_data): Likewise.
10404 (exp_test_data): Likewise.
10405 (exp_tonearest_test_data): Likewise.
10406 (exp_towardzero_test_data): Likewise.
10407 (exp_downward_test_data): Likewise.
10408 (exp_upward_test_data): Likewise.
10409 (exp10_test_data): Likewise.
10410 (exp2_test_data): Likewise.
10411 (expm1_test_data): Likewise.
10412 (j0_test_data): Likewise.
10413 (j1_test_data): Likewise.
10414 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10415 (input_flag_type): Add flag_xfail_rounding.
10416 (input_flags): Add xfail-rounding.
10417 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10418 (output_for_one_input_case): Handle flag_xfail_rounding.
10419 * sysdeps/i386/fpu/libm-test-ulps: Update.
10420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10421
18d14251
AJ
104222013-12-03 Aurelien Jarno <aurelien@aurel32.net>
10423
3d2e6075 10424 [BZ #16289]
18d14251
AJ
10425 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10426 division by 0.
10427
520d437b
SP
104282013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10429
10430 [BZ #16195]
10431 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10432 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10433 (STAP_PROBE0): New macro.
10434 (STAP_PROBE1): Likewise.
10435 (STAP_PROBE2): Likewise.
10436 (STAP_PROBE3): Likewise.
10437 (STAP_PROBE4): Likewise.
10438
416e0145
OB
104392013-12-02 Ondřej Bílka <neleai@seznam.cz>
10440
10441 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
10442
9d17796a
SE
104432013-12-02 Steve Ellcey <sellcey@mips.com>
10444
10445 * benchtests/Makefile (bench): Add sqrt.
10446 (LDLIBS-bench-sqrt): New.
10447 * benchtests/sqrt-input: New.
10448
f524d6a8
PS
104492013-12-02 Pavel Simerda <psimerda@redhat.com>
10450
639a0ef8
PS
10451 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
10452 (GAIH_EAI): Likewise.
10453 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
10454 (gaih_inet): Likewise.
10455 (getaddrinfo): Don't use GAIH_EAI.
10456
f524d6a8
PS
10457 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
10458 (struct gaih): Remove definition.
10459
df3aedaf
SP
104602013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10461
10462 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
10463 Use HERRNOP directly.
10464
1ab19dec
AZ
104652013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10466
b42ad38d 10467 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 10468
176b0c79
JM
104692013-11-30 Joseph Myers <joseph@codesourcery.com>
10470
10471 * math/gen-auto-libm-tests.c (test_functions): Add more
10472 single-argument functions.
10473 (special_fill_pi_2): New function.
10474 (special_fill_minus_pi_2): Likewise.
10475 (special_fill_pi_6): Likewise.
10476 (special_fill_minus_pi_6): Likewise.
10477 (special_fill_pi_3): Likewise.
10478 (special_fill_2pi_3): Likewise.
10479 (special_fill_e): Likewise.
10480 (special_fill_1_e): Likewise.
10481 (special_fill_e_minus_1): Likewise.
10482 (special_real_inputs): Add more special inputs.
10483 (output_for_one_input_case): Do not require ERANGE on underflow to
10484 zero if round-to-nearest result does not underflow to zero, unless
10485 exact results required.
10486 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
10487 atan, atanh, cbrt, cos and cosh.
10488 * math/auto-libm-test-out: Regenerated.
10489 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
10490 (acos_tonearest_test_data): Likewise.
10491 (acos_towardzero_test_data): Likewise.
10492 (acos_downward_test_data): Likewise.
10493 (acos_upward_test_data): Likewise.
10494 (acosh_test_data): Likewise.
10495 (asin_test_data): Likewise.
10496 (asin_tonearest_test_data): Likewise.
10497 (asin_towardzero_test_data): Likewise.
10498 (asin_upward_test_data): Likewise.
10499 (asinh_test_data): Likewise.
10500 (atan_test_data): Likewise.
10501 (atanh_test_data): Likewise.
10502 (cbrt_test_data): Likewise.
10503 (cos_test_data): Likewise.
10504 (cos_tonearest_test_data): Likewise.
10505 (cos_towardzero_test_data): Likewise.
10506 (cos_downward_test_data): Likewise.
10507 (cos_upward_test_data): Likewise.
10508 (cosh_test_data): Likewise.
10509 (cosh_tonearest_test_data): Likewise.
10510 (cosh_towardzero_test_data): Likewise.
10511 (cosh_downward_test_data): Likewise.
10512 (cosh_upward_test_data): Likewise.
10513 * sysdeps/i386/fpu/libm-test-ulps: Update.
10514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10515
ffb536d0
JM
105162013-11-29 Joseph Myers <joseph@codesourcery.com>
10517
2a77a467
JM
10518 [BZ #6787]
10519 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
10520 * math/w_exp10f.c (__exp10f): Likewise.
10521 * math/w_exp10l.c (__exp10l): Likewise.
10522 * math/libm-test.inc (exp10_test_data): Add more tests and expect
10523 errno settings in existing tests.
10524
ea3bc4e8
JM
10525 [BZ #14032]
10526 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
10527 precision control set to double precision.
10528 * sysdeps/i386/fpu/w_sqrt.c: New file.
10529 * math/auto-libm-test-in: Add more tests.
10530 * math/auto-libm-test-out: Update.
10531
0712c9d8
JM
10532 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
10533 (sqrt_test_tonearest): New function.
10534 (sqrt_towardzero_test_data): New variable.
10535 (sqrt_test_towardzero): New function.
10536 (sqrt_downward_test_data): New variable.
10537 (sqrt_test_downward): New function.
10538 (sqrt_upward_test_data): New variable.
10539 (sqrt_test_upward): New function.
10540 (main): Call the new functions.
10541
ffb536d0
JM
10542 * math/gen-auto-libm-tests.c: New file.
10543 * math/auto-libm-test-in: Likewise.
10544 * math/auto-libm-test-out: New generated file.
10545 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
10546 variables.
10547 (%beautify): Add generated representations of zero.
10548 (top level): Set $auto_input and call parse_auto_input.
10549 (beautify): Remove trailing "f" from hex float constants.
10550 (parse_args): Handle XFAIL_TEST.
10551 (convert_condition): New function.
10552 (or_value): Likewise.
10553 (or_cond_value): Likewise.
10554 (generate_testfile): Handle AUTO_TESTS_* lines.
10555 (parse_auto_input): New function.
10556 * math/libm-test.inc (XFAIL_TEST): New macro.
10557 (ERRNO_UNCHANGED): Update value.
10558 (ERRNO_EDOM): Likewise.
10559 (ERRNO_ERANGE): Likewise.
10560 (IGNORE_RESULT): Likewise.
10561 (TEST_COND_flt_32): New macro.
10562 (TEST_COND_dbl_64): Likewise.
10563 (TEST_COND_ldbl_96_intel): Likewise.
10564 (TEST_COND_ldbl_96_m68k): Likewise.
10565 (TEST_COND_ldbl_128): Likewise.
10566 (TEST_COND_ldbl_128ibm): Likewise.
10567 (TEST_COND_long32): Likewise.
10568 (TEST_COND_long64): Likewise.
10569 (TEST_COND_before_rounding): Likewise.
10570 (TEST_COND_after_rounding): Likewise.
10571 (enable_test): Handle XFAIL_TEST flag.
10572 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
10573 with finite results.
10574 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
10575 auto-libm-test-out.
10576
acd98a8e
AK
105772013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10578 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10579
10580 [BZ #16214]
10581 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
10582 __tls_get_addr_internal instead of __tls_get_offset in order to
10583 avoid GOT pointer dependency. Make rtld export
10584 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
10585 __tls_get_addr since we are a __tls_get_offset platform.
10586 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
10587 GOT pointer being set up before.
10588 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
10589
3c1c46a6
JM
105902013-11-28 Joseph Myers <joseph@codesourcery.com>
10591
7475aef5
JM
10592 * manual/math.texi (Errors in Math Functions): Document accuracy
10593 goals.
10594
8bca7cd8
JM
10595 [BZ #15004]
10596 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
10597 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
10598 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10599 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10600 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10601 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10602 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10603 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10604 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10605 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10606 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10607 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10608 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10609 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10610 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10611 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10612
91a1f3fe
JM
10613 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
10614 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
10615 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
10616 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
10617 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
10618 Likewise.
10619 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
10620 Likewise.
10621 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
10622 Likewise.
10623 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
10624 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10625 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
10626 atomic-feupdateenv and flt-rounds.
10627 * sysdeps/powerpc/nofpu/Versions (libc): Add
10628 __atomic_feholdexcept, __atomic_feclearexcept,
10629 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
10630 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
10631 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
10632 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
10633 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
10634 here.
10635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10636 Update.
10637
c5df7609
JM
10638 * manual/arith.texi (FP Exceptions): Document that exceptions may
10639 not be raised when matherr is used.
10640 (Math Error Reporting): Document overflow in directed rounding
10641 modes. Document that errno may not be set when finite values are
10642 returned on overflow. Document intent to set errno on underflow
10643 only for underflow to zero.
10644
3c1c46a6
JM
10645 [BZ #16271]
10646 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
10647 round-to-nearest then adjust result for other rounding modes.
10648 * include/fenv.h (fegetround): Use libm_hidden_proto.
10649 * math/fegetround.c (fegetround): Use libm_hidden_def.
10650 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10651 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10652 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10653 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10654 Likewise.
10655 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
10656 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10657 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10658 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
10659
5a4c6d53
SP
106602013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10661
10662 [BZ #16077]
10663 * nss/Versions (libnss_files): Add
10664 _nss_files_gethostbyname3_r.
10665 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
10666 New function.
10667 (HOST_DB_LOOKUP): Remove macro.
10668 (_nss_files_gethostbyname_r): Implement function without the
10669 HOST_DB_LOOKUP macro.
10670 (_nss_files_gethostbyname2_r): Likewise.
10671
897b98ba
OB
106722013-11-28 Ondřej Bílka <neleai@seznam.cz>
10673
10674 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
10675
6f476861
UB
106762013-11-26 Uros Bizjak <ubizjak@gmail.com>
10677
10678 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
10679 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
10680 warning.
10681
bd12ab55
AZ
106822013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10683
10684 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
10685 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
10686 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10687 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10688 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
10689 __fe_nomask_env_priv and attribute_hidden.
10690 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
10691 (libc_feupdateenv_test_ppc): Likewise.
10692 (libc_feresetround_ppc): Likewise.
10693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10694 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
10695 compat_symbol macro.
10696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10697 (__fe_nomask_env): Likewise.
10698 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
10699
52bb6543
OB
107002013-11-26 Ondřej Bílka <neleai@seznam.cz>
10701
10702 * string/Makefile: Remove ifunc tests.
10703 * string/test-string.h: Define TEST_IFUNC.
10704 * string/test-bcopy-ifunc.c: Remove.
10705 * string/test-bzero-ifunc.c: Likewise.
10706 * string/test-memccpy-ifunc.c: Likewise.
10707 * string/test-memchr-ifunc.c: Likewise.
10708 * string/test-memcmp-ifunc.c: Likewise.
10709 * string/test-memcpy-ifunc.c: Likewise.
10710 * string/test-memmem-ifunc.c: Likewise.
10711 * string/test-memmove-ifunc.c: Likewise.
10712 * string/test-mempcpy-ifunc.c: Likewise.
10713 * string/test-memrchr-ifunc.c: Likewise.
10714 * string/test-memset-ifunc.c: Likewise.
10715 * string/test-rawmemchr-ifunc.c: Likewise.
10716 * string/test-stpcpy-ifunc.c: Likewise.
10717 * string/test-stpncpy-ifunc.c: Likewise.
10718 * string/test-strcasecmp-ifunc.c: Likewise.
10719 * string/test-strcasestr-ifunc.c: Likewise.
10720 * string/test-strcat-ifunc.c: Likewise.
10721 * string/test-strchr-ifunc.c: Likewise.
10722 * string/test-strchrnul-ifunc.c: Likewise.
10723 * string/test-strcmp-ifunc.c: Likewise.
10724 * string/test-strcpy-ifunc.c: Likewise.
10725 * string/test-strcspn-ifunc.c: Likewise.
10726 * string/test-strlen-ifunc.c: Likewise.
10727 * string/test-strncasecmp-ifunc.c: Likewise.
10728 * string/test-strncat-ifunc.c: Likewise.
10729 * string/test-strncmp-ifunc.c: Likewise.
10730 * string/test-strncpy-ifunc.c: Likewise.
10731 * string/test-strnlen-ifunc.c: Likewise.
10732 * string/test-strpbrk-ifunc.c: Likewise.
10733 * string/test-strrchr-ifunc.c: Likewise.
10734 * string/test-strspn-ifunc.c: Likewise.
10735 * string/test-strstr-ifunc.c: Likewise.
10736
ab260039 107372013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
10738
10739 * benchtests/Makefile: Remove ifunc tests.
10740 * benchtests/bench-string.h: Define TEST_IFUNC.
10741 * benchtests/bench-bcopy-ifunc.c: Remove.
10742 * benchtests/bench-bzero-ifunc.c: Likewise.
10743 * benchtests/bench-memccpy-ifunc.c: Likewise.
10744 * benchtests/bench-memchr-ifunc.c: Likewise.
10745 * benchtests/bench-memcmp-ifunc.c: Likewise.
10746 * benchtests/bench-memcpy-ifunc.c: Likewise.
10747 * benchtests/bench-memmem-ifunc.c: Likewise.
10748 * benchtests/bench-memmove-ifunc.c: Likewise.
10749 * benchtests/bench-mempcpy-ifunc.c: Likewise.
10750 * benchtests/bench-memrchr-ifunc.c: Likewise.
10751 * benchtests/bench-memset-ifunc.c: Likewise.
10752 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
10753 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
10754 * benchtests/bench-stpcpy-ifunc.c: Likewise.
10755 * benchtests/bench-stpncpy-ifunc.c: Likewise.
10756 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
10757 * benchtests/bench-strcasestr-ifunc.c: Likewise.
10758 * benchtests/bench-strcat-ifunc.c: Likewise.
10759 * benchtests/bench-strchr-ifunc.c: Likewise.
10760 * benchtests/bench-strchrnul-ifunc.c: Likewise.
10761 * benchtests/bench-strcmp-ifunc.c: Likewise.
10762 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
10763 * benchtests/bench-strcpy-ifunc.c: Likewise.
10764 * benchtests/bench-strcspn-ifunc.c: Likewise.
10765 * benchtests/bench-strlen-ifunc.c: Likewise.
10766 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
10767 * benchtests/bench-strncat-ifunc.c: Likewise.
10768 * benchtests/bench-strncmp-ifunc.c: Likewise.
10769 * benchtests/bench-strncpy-ifunc.c: Likewise.
10770 * benchtests/bench-strnlen-ifunc.c: Likewise.
10771 * benchtests/bench-strpbrk-ifunc.c: Likewise.
10772 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 10773 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
10774 * benchtests/bench-strspn-ifunc.c: Likewise.
10775 * benchtests/bench-strstr-ifunc.c: Likewise.
10776
107772013-11-26 Ondřej Bílka <neleai@seznam.cz>
10778
ab260039
OB
10779 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
10780
d1d9eaf4 107812013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 10782
d1d9eaf4
OB
10783 * resolv/netdb.h: Use __glibc_reserved instead __unused.
10784 * rt/aio.h: Likewise.
10785 * sysdeps/gnu/bits/utmp.h: Likewise.
10786 * sysdeps/gnu/bits/utmpx.h: Likewise.
10787 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10788 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10789 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10790 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10791 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10792 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10793 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
10794 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
10795 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
10796 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10797 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10798 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10799 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
10800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
10801 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10802 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
10803 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10804 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10805 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10806 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
10807 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
10808 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
10809 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
10810 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10811 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10812 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10813 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
10814 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10815 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10816 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10817 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
10818 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
10819 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
10820 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10821 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10822 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
10823 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10824 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10825 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10826 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
10827 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10828 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10829
a7624ed9
CD
108302013-11-25 Carlos O'Donell <carlos@redhat.com>
10831
10832 [BZ #16245]
10833 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
10834 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
10835
63cfe52b
JM
108362013-11-25 Joseph Myers <joseph@codesourcery.com>
10837
10838 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
10839 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10840 Likewise.
10841
41e8926a
AZ
108422013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10843
10844 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
10845 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
10846 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
10847 (__fesetround): Remove define.
10848 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
10849 rounding and exceptions handling.
10850 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
10851 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
10852 (__fe_nomask_env): Likewise.
10853 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
10854 __fegetround instead of fegetround.
10855 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10856 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10857
6851bd4d
RM
108582013-11-21 Roland McGrath <roland@hack.frob.com>
10859
070906ff
RM
10860 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
10861 it's there.
10862
6851bd4d
RM
10863 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
10864
84ae135d
MI
108652013-11-21 Meador Inge <meadori@codesourcery.com>
10866
10867 [BZ #11157]
10868 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
10869 (encrypt_r): Likewise.
10870 * malloc/obstack.h (obstack_free): Likewise.
10871 * posix/unistd.h (encrypt): Likewise.
10872
daf75146
GM
108732013-11-21 Guy Martin <gmsoft@tuxicoman.be>
10874
10875 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
10876 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
10877 DL_CALL_DT_FINI() that call the functions directly.
10878 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
10879 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
10880 * elf/dl-fini.c: Likewise.
10881
10ad46bc
OB
108822013-11-20 Ondřej Bílka <neleai@seznam.cz>
10883
10884 * malloc/hooks.c (memalign_check): Add alignment rounding.
10885 * malloc/malloc.c (_mid_memalign): New function.
10886 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
10887 Implement by calling _mid_memalign.
10888 * manual/probes.texi (Memory Allocation Probes): Remove
10889 memory_valloc_retry and memory_pvalloc_retry.
10890
f3fd2628
SP
108912013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10892
4712799f
SP
10893 * locale/programs/locarchive.c (open_archive): Add const
10894 qualifier to ARCHIVEFNAME and copy default fname to
10895 DEFAULT_FNAME.
10896
0417b20f
SP
10897 [BZ #15601]
10898 * libio/tst-widetext.input: Rename Oriya to Odia.
10899 * locale/iso-639.def: Likewise.
10900
f3fd2628
SP
10901 * manual/probes.texi (Mathematical Function Probes): Add
10902 documentation for sin, cos, asin and acos probes.
10903 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
10904 (__sin32): Add slowasin probe.
10905 (__cos32): Add slowacos probe.
10906 (__mpsin): Add slowsin probe.
10907 (__mpcos): Add slowcos probe.
10908
73c1ce4f
JM
109092013-11-19 Joseph Myers <joseph@codesourcery.com>
10910
10911 [BZ #15483]
10912 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
10913 thread-local __sim_exceptions_thread and global
10914 __sim_exceptions_global.
10915 (__sim_disabled_exceptions): Change to thread-local
10916 __sim_disabled_exceptions_thread and global
10917 __sim_disabled_exceptions_global.
10918 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10919 and global __sim_round_mode_global.
10920 (__simulate_exceptions): Use thread-local floating-point state and
10921 set global state from it as needed.
10922 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
10923 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
10924 __sim_round_mode_thread.
10925 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
10926 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
10927 and global __sim_exceptions_global.
10928 (__sim_disabled_exceptions): Change to thread-local
10929 __sim_disabled_exceptions_thread and global
10930 __sim_disabled_exceptions_global.
10931 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10932 and global __sim_round_mode_global.
10933 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
10934 (SIM_SET_GLOBAL): Likewise.
10935 * sysdeps/powerpc/soft-fp/sfp-machine.h
10936 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
10937 __sim_round_mode_thread.
10938 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
10939 __sim_disabled_exceptions_thread.
10940 (__sim_exceptions): Change to __sim_exceptions_thread.
10941 (__sim_disabled_exceptions): Change to
10942 __sim_disabled_exceptions_thread.
10943 (__sim_round_mode): Change to __sim_round_mode_thread.
10944 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
10945 thread-local floating-point state and set global state from it as
10946 needed.
10947 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
10948 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
10949 (__sim_disabled_exceptions): Remove extern declaration.
10950 (feenableexcept): Use thread-local floating-point state and set
10951 global state from it as needed.
10952 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
10953 extern declaration.
10954 (__sim_disabled_exceptions): Likewise.
10955 (__sim_round_mode): Likewise.
10956 (__fegetenv): Use thread-local floating-point state.
10957 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
10958 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10959 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
10960 floating-point state and set global state from it as needed.
10961 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
10962 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10963 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
10964 Likewise.
10965 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10966 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
10967 Likewise.
10968 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
10969 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
10970 Use __sim_round_mode_thread.
10971 * math/test-fenv-tls.c: New file.
10972 * math/Makefile (tests): Add test-fenv-tls.
10973 ($(objpfx)test-fenv-tls): Depend on
10974 $(common-objpfx)nptl/libpthread.so.
10975
b5449b12
AS
109762013-11-19 Andreas Schwab <schwab@suse.de>
10977
10978 * locale/programs/locale.c (show_info): Decode wordarray elements.
10979 * locale/categories.def (LC_MONETARY): Add element for
10980 _NL_MONETARY_CRNCYSTR.
10981 * locale/C-monetary.c (conversion_rate): New variable.
10982 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
10983 element.
10984
e186536b
CM
109852013-11-18 Chris Metcalf <cmetcalf@tilera.com>
10986
10987 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
10988 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
10989
5c349950
PP
109902013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10991
10992 * elf/Makefile (tst-auxv): New test.
10993 * elf/tst-auxv.c: New
10994 * elf/rtld.c (dl_main): Adjust AT_EXECFN
10995
699df45b
JM
109962013-11-18 Joseph Myers <joseph@codesourcery.com>
10997
10998 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
10999 (hidden_proto): Caller changed.
11000 (hidden_tls_proto): New macro.
11001 (libc_hidden_tls_proto): Likewise.
11002 (rtld_hidden_tls_proto): Likewise.
11003 (libm_hidden_tls_proto): Likewise.
11004 (libresolv_hidden_tls_proto): Likewise.
11005 (librt_hidden_tls_proto): Likewise.
11006 (libdl_hidden_tls_proto): Likewise.
11007 (libnss_files_hidden_tls_proto): Likewise.
11008 (libnsl_hidden_tls_proto): Likewise.
11009 (libnss_nisplus_hidden_tls_proto): Likewise.
11010 (libutil_hidden_tls_proto): Likewise.
11011
b7589107
OB
110122013-11-18 Ondřej Bílka <neleai@seznam.cz>
11013
11014 [BZ #10253]
11015 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11016 (decompose_rpath): Defer expansion to fillin_rpath.
11017 (_dl_init_paths): Pass linkmap to fillin_rpath.
11018
250c23bd
RS
110192013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11020
11021 * benchtests/Makefile: Add strsep.
11022 * benchtests/bench-strsep.c: New file: strsep benchtest.
11023 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11024
a7931fcf
AS
110252013-11-18 Andreas Schwab <schwab@suse.de>
11026
11027 * locale/programs/locale.c (show_info) [case byte]: Check for
11028 '\377' instead of '\177'.
11029 * locale/C-monetary.c (not_available): Always use "\377".
11030 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11031 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
11032 detect unavailable sign_posn locale elements.
11033 * locale/localeconv.c (__localeconv): For grouping and
11034 mon_grouping handle "\177" and "\377" like no grouping.
11035 (INT_ELEM): New macro. Use it to set all numeric members.
11036 * locale/programs/ld-monetary.c (monetary_read)
11037 <tok_mon_grouping>: Normalize single -1 to the empty string.
11038 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11039 Likewise.
11040
728dab0e
OB
110412013-11-07 Ondřej Bílka <neleai@seznam.cz>
11042
11043 [BZ #16055]
11044 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11045 when we match (nil).
11046 * stdio-common/tst-sscanf.c (struct test): Add testcase.
11047
66294491
JM
110482013-11-16 Joseph Myers <joseph@codesourcery.com>
11049
ce665817
JM
11050 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11051 (NO_TEST_INLINE): Update value.
11052 (ERRNO_UNCHANGED): Likewise.
11053 (ERRNO_EDOM): Likewise.
11054 (ERRNO_ERANGE): Likewise.
11055 (IGNORE_RESULT): Likewise.
11056 (check_float_internal): Check signs of NaN results if
11057 TEST_NAN_SIGN used.
11058 (check_complex): Pass TEST_NAN_SIGN flag through to second
11059 check_float_internal call.
11060 (copysign_test_data): Add tests with quiet NaNs as second
11061 argument. Use TEST_NAN_SIGN.
11062 (fabs_test_data): Add test of negative quiet NaN argument. Use
11063 TEST_NAN_SIGN.
11064 (signbit_test_data): Add tests of quiet NaN argument.
11065 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11066
ee1466a9
JM
11067 * math/gen-libm-test.pl (show_exceptions): Take extra argument
11068 $ignore_result.
11069 (parse_args): Handle function results specified as IGNORE.
11070 * math/libm-test.inc (IGNORE_RESULT): New macro.
11071 (check_float_internal): Do not check numerical result if flag
11072 IGNORE_RESULT set.
11073 (check_complex): Pass through IGNORE_RESULT to second
11074 check_float_internal call.
11075 (check_int): Do not check numerical result if flag IGNORE_RESULT
11076 set.
11077 (check_long): Likewise.
11078 (check_bool): Likewise.
11079 (check_longlong): Likewise.
11080 (lrint_test_data): Add tests of infinite and NaN arguments.
11081 (lrint_tonearest_test_data): Likewise.
11082 (lrint_towardzero_test_data): Likewise.
11083 (lrint_downward_test_data): Likewise.
11084 (lrint_upward_test_data): Likewise.
11085 (llrint_test_data): Likewise.
11086 (llrint_tonearest_test_data): Likewise.
11087 (llrint_towardzero_test_data): Likewise.
11088 (llrint_downward_test_data): Likewise.
11089 (llrint_upward_test_data): Likewise.
11090 (lround_test_data): Likewise.
11091 (llround_test_data): Likewise.
11092
14407b7e
JM
11093 * math/libm-test.inc (NO_TEST_INLINE): New macro.
11094 (ERRNO_UNCHANGED): Update value.
11095 (ERRNO_EDOM): Likewise.
11096 (ERRNO_ERANGE): Likewise.
11097 (NO_TEST_INLINE_FLOAT): New macro.
11098 (NO_TEST_INLINE_DOUBLE): Likewise.
11099 (enable_test): New function.
11100 (RUN_TEST_f_f): Check enable_test before running test.
11101 (RUN_TEST_2_f): Likewise.
11102 (RUN_TEST_fff_f): Likewise.
11103 (RUN_TEST_c_f): Likewise.
11104 (RUN_TEST_f_f1): Likewise.
11105 (RUN_TEST_fF_f1): Likewise.
11106 (RUN_TEST_fI_f1): Likewise.
11107 (RUN_TEST_ffI_f1): Likewise.
11108 (RUN_TEST_c_c): Likewise.
11109 (RUN_TEST_cc_c): Likewise.
11110 (RUN_TEST_f_i): Likewise.
11111 (RUN_TEST_f_i_tg): Likewise.
11112 (RUN_TEST_ff_i_tg): Likewise.
11113 (RUN_TEST_f_b): Likewise.
11114 (RUN_TEST_f_b_tg): Likewise.
11115 (RUN_TEST_f_l): Likewise.
11116 (RUN_TEST_f_L): Likewise.
11117 (RUN_TEST_fFF_11): Likewise.
11118 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11119 conditionals.
11120 (cosh_test_data): Likewise.
11121 (exp_test_data): Likewise.
11122 (expm1_test_data): Likewise.
11123 (hypot_test_data): Likewise.
11124 (pow_test_data): Likewise.
11125 (sinh_test_data): Likewise.
11126 (tanh_test_data): Likewise.
11127 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11128 flags argument.
11129
ca07f197
JM
11130 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11131 tests with quiet NaN input and output.
11132 (acosh_test_data): Likewise.
11133 (asin_test_data): Likewise.
11134 (asinh_test_data): Likewise.
11135 (atan_test_data): Likewise.
11136 (atanh_test_data): Likewise.
11137 (atan2_test_data): Likewise.
11138 (cbrt_test_data): Likewise.
11139 (cos_test_data): Likewise.
11140 (cosh_test_data): Likewise.
11141 (erf_test_data): Likewise.
11142 (erfc_test_data): Likewise.
11143 (exp_test_data): Likewise.
11144 (exp10_test_data): Likewise.
11145 (exp2_test_data): Likewise.
11146 (expm1_test_data): Likewise.
11147 (hypot_test_data): Likewise.
11148 (j0_test_data): Likewise.
11149 (j1_test_data): Likewise.
11150 (jn_test_data): Likewise.
11151 (lgamma_test_data): Likewise.
11152 (log_test_data): Likewise.
11153 (log10_test_data): Likewise.
11154 (log1p_test_data): Likewise.
11155 (log2_test_data): Likewise.
11156 (pow_test_data): Likewise.
11157 (scalb_test_data): Likewise.
11158 (sin_test_data): Likewise.
11159 (sincos_test_data): Likewise.
11160 (sinh_test_data): Likewise.
11161 (tan_test_data): Likewise.
11162 (tanh_test_data): Likewise.
11163 (tgamma_test_data): Likewise.
11164 (y0_test_data): Likewise.
11165 (y1_test_data): Likewise.
11166 (yn_test_data): Likewise.
11167
66294491
JM
11168 [BZ #16167]
11169 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11170 argument being NaN and avoid computations with second argument in
11171 that case.
11172 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11173 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11174 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11175
1820b143
CL
111762013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
11177
11178 * locale/iso-639.def: Add Chitwani Tharu (the).
11179
714bd261
AS
111802013-11-14 Andreas Schwab <schwab@suse.de>
11181
11182 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11183 word instead of empty string.
11184
7ab44563
AZ
111852013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11186
11187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11188 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11190 (__fe_nomask_env): Likewise.
11191
e8470ea2
SE
111922013-11-13 Steve Ellcey <sellcey@mips.com>
11193
11194 * benchtests/bench-timing.h: Include time.h.
11195
17c1d9f0
L
111962013-11-13 H.J. Lu <hongjiu.lu@intel.com>
11197
11198 [BZ #15997]
11199 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11200 to 3.4.0 for x32.
11201 * sysdeps/unix/sysv/linux/configure: Regenerated.
11202
9310c284
JM
112032013-11-13 Joseph Myers <joseph@codesourcery.com>
11204
11205 [BZ #16151]
11206 * stdlib/strtod_l.c (round_and_return): Do not consider
11207 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11208 exponent one less than half the least subnormal exponent.
11209 * stdlib/test-strtod-round-data: Add more tests.
11210 * stdlib/tst-strtod-round.c (tests): Regenerated.
11211
7a2ad8cf
AZ
112122013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11213
11214 [BZ #14143]
11215 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11216 (__fe_mask_env): Likewise.
11217 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11218 libm_hidden_proto and add function prototype.
11219 (__fe_mask_env): Add function prototype.
11220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11221 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11223 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11225 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11226
50727aa7
MS
112272013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11228
b2f386c1 11229 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
11230 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11231
a615be46
MS
112322013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11233
11234 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11235 of htab_find_slot().
11236
7ddace62
DM
112372013-11-11 David S. Miller <davem@davemloft.net>
11238
11239 [BZ #16150]
11240 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11241 symbol in the non-vis3 case in static builds.
11242 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11243 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11244 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11245 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11246
9182aa67
JK
112472013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11248
11249 [BZ #387]
11250 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11251 it is empty.
11252
450a2e2d
AZ
112532013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11254
b2f386c1
SP
11255 * benchtests/Makefile: Add bench-strtod.
11256 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 11257
8ec3f656
AS
112582013-11-11 Andreas Schwab <schwab@suse.de>
11259
11260 [BZ #16153]
11261 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11262 terminating NUL in key length.
11263
76a9b998
AZ
112642013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11265
11266 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11267 Add artificial ODP entry for vDSO symbol for PPC64.
11268 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11269 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11270
e4368156
OB
112712013-11-07 Ondřej Bílka <neleai@seznam.cz>
11272
11273 [BZ #15374]
11274 * nss/getent.c (services_keys): Recognize services starting with digit.
11275
8d6bb57c
DM
112762013-11-06 David S. Miller <davem@davemloft.net>
11277
11278 [BZ #15985]
11279 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11280 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11281
e256c421
WN
112822013-11-06 Will Newton <will.newton@linaro.org>
11283
11284 * manual/memory.texi (Malloc Examples): Remove register
11285 keyword from examples.
11286
f6e12daa 112872013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 11288
f6e12daa 11289 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 11290
9d880655
AS
112912013-11-04 Joseph Myers <joseph@codesourcery.com>
11292
fd2f9486 11293 [BZ #6981]
9d880655
AS
11294 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11295 depending on [__GCC_IEC_559 > 0].
11296 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11297 depending on [__GCC_IEC_559_COMPLEX > 0].
11298
ae129d3c
CL
112992013-11-03 Chris Leonard <cjl@sugarlabs.org>
11300
11301 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11302 to iso-639.def.
11303
4a15c2a4 113042013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
11305
11306 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11307
8b35e35d
OB
113082013-11-01 Ondřej Bílka <neleai@seznam.cz>
11309
11310 [BZ #16112]
11311 * malloc/malloc (malloc_info): Do not handle first bin as
11312 special case.
11313
1d70fd6c
CL
113142013-11-01 Chris Leonard <cjl@sugarlabs.org>
11315
11316 * locale/iso-639.def: Add Central Nahuatl (nhn).
11317
8c5c2600
BH
113182013-11-01 Bruno Haible <bruno@clisp.org>
11319
11320 [BZ #7003]
11321 * manual/math.texi (BSD Random): Specify range upper bound as
11322 in POSIX.
11323
da5579c2
CL
113242013-10-31 Chris Leonard <cjl@sugarlabs.org>
11325
11326 * locale/iso-639.def: Add Meadow Mari (mhr).
11327
5d30d853
OB
113282013-10-31 Ondřej Bílka <neleai@seznam.cz>
11329
11330 [BZ #14752], [BZ #15763]
11331 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11332 Validate name.
11333 * rt/tst_shm.c: Add test for escaping directory.
11334
a4966c61
AS
113352013-10-31 Andreas Schwab <schwab@suse.de>
11336
8a43e768 11337 [BZ #15917]
a4966c61
AS
11338 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11339 followed by 'x' as part of digit sequence.
11340 * stdio-common/tst-sscanf.c (double_tests2): New tests.
11341
28d708c4
MAP
113422013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11343
11344 [BZ #16037]
11345 * configure.ac: allow GNU Make 4.0 and greater.
11346 * configure: Regenerated.
11347
a56ee40b
WN
113482013-10-30 Will Newton <will.newton@linaro.org>
11349
11350 [BZ #16038]
11351 * malloc/hooks.c (memalign_check): Limit alignment to the
11352 maximum representable power of two.
11353 * malloc/malloc.c (__libc_memalign): Likewise.
11354 * malloc/tst-memalign.c (do_test): Add test for very
11355 large alignment values.
11356 * malloc/tst-posix_memalign.c (do_test): Likewise.
11357
c6e4925d
OB
113582013-10-30 Ondřej Bílka <neleai@seznam.cz>
11359
11360 [BZ #11087]
11361 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11362 (munmap_chunk): Likewise.
11363 (mremap_chunk): Likewise.
11364
113652013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 11366
8a43e768 11367 [BZ #15799]
bbea82f7
OB
11368 * stdlib/div.c (div): Remove obsolete code.
11369 * stdlib/ldiv.c (ldiv): Likewise.
11370 * stdlib/lldiv.c (lldiv): Likewise.
11371
977f4b31
SP
113722013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11373
11374 [BZ #16071]
11375 * nss/nss_files/files-XXX.c (get_contents_ret): New
11376 enumerator.
11377 (get_contents): New function.
11378 (internal_getent): Use it. Expand size of LINEBUFLEN.
11379
cb8a6dbd
MF
113802013-10-30 Mike Frysinger <vapier@gentoo.org>
11381
11382 * configure.in: Moved to ...
11383 * configure.ac: ... here. Change reference to configure.in
11384 to configure.ac.
11385 * sysdeps/arm/preconfigure.ac: ... here.
11386 configure.in to configure.ac.
11387 * sysdeps/gnu/configure.in: Moved to ...
11388 * sysdeps/gnu/configure.ac: ... here.
11389 * sysdeps/i386/configure.in: Moved to ...
11390 * sysdeps/i386/configure.ac: ... here.
11391 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11392 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11393 * sysdeps/mach/configure.in: Moved to ...
11394 * sysdeps/mach/configure.ac: ... here.
11395 * sysdeps/mach/hurd/configure.in: Moved to ...
11396 * sysdeps/mach/hurd/configure.ac: ... here.
11397 * sysdeps/powerpc/configure.in: Moved to ...
11398 * sysdeps/powerpc/configure.ac: ... here.
11399 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11400 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11401 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11402 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11403 * sysdeps/s390/s390-32/configure.in: Moved to ...
11404 * sysdeps/s390/s390-32/configure.ac: ... here.
11405 * sysdeps/s390/s390-64/configure.in: Moved to ...
11406 * sysdeps/s390/s390-64/configure.ac: ... here.
11407 * sysdeps/sh/configure.in: Moved to ...
11408 * sysdeps/sh/configure.ac: ... here.
11409 * sysdeps/sparc/configure.in: Moved to ...
11410 * sysdeps/sparc/configure.ac: ... here.
11411 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11412 * sysdeps/unix/sysv/linux/configure.ac: ... here.
11413 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11414 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11415 * sysdeps/x86_64/configure.in: Moved to ...
11416 * sysdeps/x86_64/configure.ac: ... here.
11417 * sysdeps/x86_64/preconfigure.in: Moved to ...
11418 * sysdeps/x86_64/preconfigure.ac: ... here.
11419 * aclocal.m4: Change reference to configure.in to configure.ac.
11420 * config.h.in: Likewise.
11421 * manual/install.texi: Likewise.
11422 * manual/maint.texi: Likewise.
11423 * Makefile: Likewise.
11424 * malloc/Makefile: Likewise.
11425 * nscd/Makefile: Likewise.
11426 * Makeconfig: Change reference to configure.in and
11427 preconfigure.in to configure.ac and preconfigure.ac
11428 respectively.
11429 * INSTALL: Regenerated.
11430 * configure: Likewise.
11431 * sysdeps/gnu/configure: Likewise.
11432 * sysdeps/i386/configure: Likewise.
11433 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11434 * sysdeps/mach/configure: Likewise.
11435 * sysdeps/mach/hurd/configure: Likewise.
11436 * sysdeps/powerpc/configure: Likewise.
11437 * sysdeps/powerpc/powerpc32/configure: Likewise.
11438 * sysdeps/powerpc/powerpc64/configure: Likewise.
11439 * sysdeps/s390/s390-32/configure: Likewise.
11440 * sysdeps/s390/s390-64/configure: Likewise.
11441 * sysdeps/sh/configure: Likewise.
11442 * sysdeps/sparc/configure: Likewise.
11443 * sysdeps/unix/sysv/linux/configure: Likewise.
11444 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
11445 * sysdeps/x86_64/configure: Likewise.
11446 * sysdeps/x86_64/preconfigure: Likewise.
11447
36a4953a
AS
114482013-10-29 Andreas Schwab <schwab@suse.de>
11449
11450 * stdio-common/Makefile (tst-swscanf-ENV): Define.
11451
c79a1204
SP
114522013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11453
dfa1b402
SP
11454 * benchtests/pow-inputs: Add new inputs.
11455
54f73d9c
SP
11456 * benchtests/exp-inputs: Add new inputs.
11457
c79a1204
SP
11458 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
11459 conditional check for return value.
11460 (__cos32): Likewise.
11461
67beb545 114622013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
11463
11464 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
11465 to provide a boost for large inputs with word alignment.
11466 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
11467 implementation based on optimized PPC64 strcpy.
11468 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
11469 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
11470 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
11471 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
11472
151659f6
OB
114732013-10-25 Ondřej Bílka <neleai@seznam.cz>
11474
482a077e 11475 [BZ #2801]
151659f6
OB
11476 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
11477
10b0f26b
OB
114782013-10-25 Ondřej Bílka <neleai@seznam.cz>
11479
11480 [BZ #14876]
11481 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
11482 * time/tst-strptime.c (day_tests): Add testcase.
11483
ca42d35e
OB
114842013-10-25 Ondřej Bílka <neleai@seznam.cz>
11485
482a077e 11486 [BZ #14029]
ca42d35e
OB
11487 * manual/pattern.texi: Acknowledge that fnmatch can fail.
11488
52e6d801
FB
114892013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
11490
11491 [BZ #16074]
11492 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
11493 MAP_FAILED on error.
11494
7cbcdb36
SP
114952013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11496
11497 [BZ #16072]
11498 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
11499 heap for large requests.
11500
894f3f10
AM
115012013-10-25 Aurelien Jarno <aurelien@aurel32.net>
11502
11503 [BZ #9954]
11504 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
11505 result if the result has no associated interface.
11506 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
11507 interface for all 127.X.Y.Z addresses.
11508
b85545a6
CL
115092013-10-24 Chris Leonard <cjl@sugarlabs.org>
11510
11511 * locale/iso-639.def: Add Ligurian (lij)
11512
d1f23d46
OB
115132013-10-21 Ondřej Bílka <neleai@seznam.cz>
11514
11515 [BZ #15825]
11516 * sunrpc/rpc_main.c: Document rpcgen -5.
11517
4db5b08f
MS
115182013-10-19 Michael Stahl <mstahl@redhat.com>
11519
11520 * elf/rtld.c (do_preload): Print the reason why preloading failed.
11521
a471e96a
OB
115222013-10-19 Ondřej Bílka <neleai@seznam.cz>
11523
d1f23d46 11524 [BZ #10278]
a471e96a
OB
11525 * posix/glob.c: Match only directories when trailing slash is present.
11526 * posix/tst-gnuglob.c (my_opendir): Do not open files.
11527 (main): Add testcase.
11528
45c30c61
OB
115292013-10-19 Ondřej Bílka <neleai@seznam.cz>
11530
11531 [BZ #15670]
11532 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
11533
484c12fb
CD
115342013-10-18 Carlos O'Donell <carlos@redhat.com>
11535
3d7dc513
CD
11536 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
11537 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
11538 AUTH_DES and cindex for FIPS 140-2.
11539 (DES Encryption): Add cindex FIPS 46-3.
11540
484c12fb
CD
11541 * locale/locarchive.h (struct locarhandle): Add fname.
11542 * locale/programs/localedef.c (main): Pass ARGV[remaining]
11543 if an optional argument was specified to --list-archive,
11544 otherwise NULL.
11545 * locale/programs/locarchive.c (show_archive_content): Take new
11546 argument fname and pass it via ah.fname to open_archive.
11547 * locale/programs/localedef.h: Update decl.
11548 (open_archive): If AH->fname is non-null, open that file
11549 rather than the default file name, and don't ignore ENOENT.
11550 (create_archive): Set AH.fname to NULL.
11551 (delete_locales_from_archive): Likewise.
11552 (add_locales_to_archive): Likewise.
11553 * locale/programs/locfile.c (write_all_categories): Likewise.
11554
3c8325fb
JM
115552013-10-18 Joseph Myers <joseph@codesourcery.com>
11556 Aldy Hernandez <aldyh@redhat.com>
11557
11558 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
11559 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
11560 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
11561 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
11562 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
11563 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
11564 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
11565 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
11566 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
11567 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
11568 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
11569 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
11570 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
11571 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
11572 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
11573 Likewise.
11574 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
11575 Likewise.
11576 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
11577 Likewise.
11578 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
11579 Likewise.
11580 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
11581 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
11582 Likewise.
11583 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
11584 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
11585 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
11586 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
11587 Likewise.
11588 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
11589 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
11590 * sysdeps/powerpc/preconfigure: Likewise.
11591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11592 Likewise.
11593 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
11594 Replace contents of file by #include of <fenv_libc.h>.
11595 * sysdeps/powerpc/soft-fp/sfp-machine.h
11596 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
11597 and <sys/prctl.h>.
11598 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
11599 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
11600 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
11601 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
11602 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
11603 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
11604 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
11605 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
11606 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
11607 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
11608 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
11609 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
11610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11611 Allow copysignl PLT reference to be missing.
11612
5abe0682
RS
116132013-10-18 Richard Sandiford <richard@codesourcery.com>
11614 Joseph Myers <joseph@codesourcery.com
11615
11616 [BZ #15948]
11617 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
11618 single character.
11619 (add_to_tablewc): Assert sequence of wide characters is nonempty.
11620
c7738d08
SP
116212013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11622
11623 * elf/tst-tls-dlinfo.c: Don't include tls.h.
11624 * elf/tst-tls1.c: Likewise.
11625 * elf/tst-tls10.h: Likewise.
11626 * elf/tst-tls14.c: Likewise.
11627 * elf/tst-tls2.c: Likewise.
11628 * elf/tst-tls3.c: Likewise.
11629 * elf/tst-tls4.c: Likewise.
11630 * elf/tst-tls5.c: Likewise.
11631 * elf/tst-tls6.c: Likewise.
11632 * elf/tst-tls7.c: Likewise.
11633 * elf/tst-tls8.c: Likewise.
11634 * elf/tst-tls9.c: Likewise.
11635 * elf/tst-tlsmod1.c: Likewise.
11636 * elf/tst-tlsmod13.c: Likewise.
11637 * elf/tst-tlsmod13a.c: Likewise.
11638 * elf/tst-tlsmod14a.c: Likewise.
11639 * elf/tst-tlsmod16a.c: Likewise.
11640 * elf/tst-tlsmod16b.c: Likewise.
11641 * elf/tst-tlsmod2.c: Likewise.
11642 * elf/tst-tlsmod3.c: Likewise.
11643 * elf/tst-tlsmod4.c: Likewise.
11644 * elf/tst-tlsmod5.c: Likewise.
11645 * elf/tst-tlsmod6.c: Likewise.
11646
0bfcf2c7
OB
116472013-10-18 Ondřej Bílka <neleai@seznam.cz>
11648
11649 [BZ #12486]
11650 * malloc/malloc.c: remove checks for statistics.
11651
264aad1e
OB
116522013-10-17 Ondřej Bílka <neleai@seznam.cz>
11653
11654 [BZ #15277]
11655 * inet/inet_net.c (inet_network): Detect additional invalid strings.
11656 * inet/tst-network.c: Add testcase.
11657
b957ced8
AS
116582013-10-17 Andreas Schwab <schwab@suse.de>
11659
11660 [BZ #15218]
11661 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
11662 to determine canonical name.
11663
c5d5d574
OB
116642013-10-17 Ondřej Bílka <neleai@seznam.cz>
11665
11666 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
11667 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
11668 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11669 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11670 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11671 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11672 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11673 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11674 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11675 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11676 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11677 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11678 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11679 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11680 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11681 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11682 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11683 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11684 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11685 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11686 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11687 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11688 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11689 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
11690 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
11691 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11692 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11693 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
11694 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11695 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
11696 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11697 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11698 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11699 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11700 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11701 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11702 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11703 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11704 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11705 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11706 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11707 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11708 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11709 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11710 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11711 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11712 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11713 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11714 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11715 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11716 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11717 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11718 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11719 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11720 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11721 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11722 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11723 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11724
e5c2c2d0
JM
117252013-10-17 Joseph Myers <joseph@codesourcery.com>
11726
11727 [BZ #16041]
11728 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
11729 make result into a quiet NaN.
11730
51ca9e29
JM
117312013-10-16 Joseph Myers <joseph@codesourcery.com>
11732
11733 * soft-fp/adddf3.c: Fix horizontal whitespace.
11734 * soft-fp/addsf3.c: Likewise.
11735 * soft-fp/addtf3.c: Likewise.
11736 * soft-fp/divdf3.c: Likewise.
11737 * soft-fp/divsf3.c: Likewise.
11738 * soft-fp/divtf3.c: Likewise.
11739 * soft-fp/double.h: Likewise.
11740 * soft-fp/eqdf2.c: Likewise.
11741 * soft-fp/eqsf2.c: Likewise.
11742 * soft-fp/eqtf2.c: Likewise.
11743 * soft-fp/extenddftf2.c: Likewise.
11744 * soft-fp/extended.h: Likewise.
11745 * soft-fp/extendsfdf2.c: Likewise.
11746 * soft-fp/extendsftf2.c: Likewise.
11747 * soft-fp/extendxftf2.c: Likewise.
11748 * soft-fp/fixdfdi.c: Likewise.
11749 * soft-fp/fixdfsi.c: Likewise.
11750 * soft-fp/fixdfti.c: Likewise.
11751 * soft-fp/fixsfdi.c: Likewise.
11752 * soft-fp/fixsfsi.c: Likewise.
11753 * soft-fp/fixsfti.c: Likewise.
11754 * soft-fp/fixtfdi.c: Likewise.
11755 * soft-fp/fixtfsi.c: Likewise.
11756 * soft-fp/fixtfti.c: Likewise.
11757 * soft-fp/fixunsdfdi.c: Likewise.
11758 * soft-fp/fixunsdfsi.c: Likewise.
11759 * soft-fp/fixunsdfti.c: Likewise.
11760 * soft-fp/fixunssfdi.c: Likewise.
11761 * soft-fp/fixunssfsi.c: Likewise.
11762 * soft-fp/fixunssfti.c: Likewise.
11763 * soft-fp/fixunstfdi.c: Likewise.
11764 * soft-fp/fixunstfsi.c: Likewise.
11765 * soft-fp/fixunstfti.c: Likewise.
11766 * soft-fp/floatdidf.c: Likewise.
11767 * soft-fp/floatdisf.c: Likewise.
11768 * soft-fp/floatditf.c: Likewise.
11769 * soft-fp/floatsidf.c: Likewise.
11770 * soft-fp/floatsisf.c: Likewise.
11771 * soft-fp/floatsitf.c: Likewise.
11772 * soft-fp/floattidf.c: Likewise.
11773 * soft-fp/floattisf.c: Likewise.
11774 * soft-fp/floattitf.c: Likewise.
11775 * soft-fp/floatundidf.c: Likewise.
11776 * soft-fp/floatundisf.c: Likewise.
11777 * soft-fp/floatunditf.c: Likewise.
11778 * soft-fp/floatunsidf.c: Likewise.
11779 * soft-fp/floatunsisf.c: Likewise.
11780 * soft-fp/floatunsitf.c: Likewise.
11781 * soft-fp/floatuntidf.c: Likewise.
11782 * soft-fp/floatuntisf.c: Likewise.
11783 * soft-fp/floatuntitf.c: Likewise.
11784 * soft-fp/fmadf4.c: Likewise.
11785 * soft-fp/fmasf4.c: Likewise.
11786 * soft-fp/fmatf4.c: Likewise.
11787 * soft-fp/gedf2.c: Likewise.
11788 * soft-fp/gesf2.c: Likewise.
11789 * soft-fp/getf2.c: Likewise.
11790 * soft-fp/ledf2.c: Likewise.
11791 * soft-fp/lesf2.c: Likewise.
11792 * soft-fp/letf2.c: Likewise.
11793 * soft-fp/muldf3.c: Likewise.
11794 * soft-fp/mulsf3.c: Likewise.
11795 * soft-fp/multf3.c: Likewise.
11796 * soft-fp/negdf2.c: Likewise.
11797 * soft-fp/negsf2.c: Likewise.
11798 * soft-fp/negtf2.c: Likewise.
11799 * soft-fp/op-1.h: Likewise.
11800 * soft-fp/op-2.h: Likewise.
11801 * soft-fp/op-4.h: Likewise.
11802 * soft-fp/op-8.h: Likewise.
11803 * soft-fp/op-common.h: Likewise.
11804 * soft-fp/quad.h: Likewise.
11805 * soft-fp/single.h: Likewise.
11806 * soft-fp/soft-fp.h: Likewise.
11807 * soft-fp/sqrtdf2.c: Likewise.
11808 * soft-fp/sqrtsf2.c: Likewise.
11809 * soft-fp/sqrttf2.c: Likewise.
11810 * soft-fp/subdf3.c: Likewise.
11811 * soft-fp/subsf3.c: Likewise.
11812 * soft-fp/subtf3.c: Likewise.
11813 * soft-fp/truncdfsf2.c: Likewise.
11814 * soft-fp/trunctfdf2.c: Likewise.
11815 * soft-fp/trunctfsf2.c: Likewise.
11816 * soft-fp/trunctfxf2.c: Likewise.
11817 * soft-fp/unorddf2.c: Likewise.
11818 * soft-fp/unordsf2.c: Likewise.
11819 * soft-fp/unordtf2.c: Likewise.
11820
9ebb0332
JM
118212013-10-15 Joseph Myers <joseph@codesourcery.com>
11822
11823 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
11824 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
11825
4b1a6d8b
OB
118262013-10-15 Ondřej Bílka <neleai@seznam.cz>
11827
11828 * elf/dl-libc.c: Clear initfini list after freeing.
11829
1e145589
JM
118302013-10-14 Joseph Myers <joseph@codesourcery.com>
11831
11832 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
11833 * soft-fp/addsf3.c: Likewise.
11834 * soft-fp/addtf3.c: Likewise.
11835 * soft-fp/divdf3.c: Likewise.
11836 * soft-fp/divsf3.c: Likewise.
11837 * soft-fp/divtf3.c: Likewise.
11838 * soft-fp/double.h: Likewise.
11839 * soft-fp/eqdf2.c: Likewise.
11840 * soft-fp/eqsf2.c: Likewise.
11841 * soft-fp/eqtf2.c: Likewise.
11842 * soft-fp/extenddftf2.c: Likewise.
11843 * soft-fp/extended.h: Likewise.
11844 * soft-fp/extendsfdf2.c: Likewise.
11845 * soft-fp/extendsftf2.c: Likewise.
11846 * soft-fp/extendxftf2.c: Likewise.
11847 * soft-fp/fixdfdi.c: Likewise.
11848 * soft-fp/fixdfsi.c: Likewise.
11849 * soft-fp/fixdfti.c: Likewise.
11850 * soft-fp/fixsfdi.c: Likewise.
11851 * soft-fp/fixsfsi.c: Likewise.
11852 * soft-fp/fixsfti.c: Likewise.
11853 * soft-fp/fixtfdi.c: Likewise.
11854 * soft-fp/fixtfsi.c: Likewise.
11855 * soft-fp/fixtfti.c: Likewise.
11856 * soft-fp/fixunsdfdi.c: Likewise.
11857 * soft-fp/fixunsdfsi.c: Likewise.
11858 * soft-fp/fixunsdfti.c: Likewise.
11859 * soft-fp/fixunssfdi.c: Likewise.
11860 * soft-fp/fixunssfsi.c: Likewise.
11861 * soft-fp/fixunssfti.c: Likewise.
11862 * soft-fp/fixunstfdi.c: Likewise.
11863 * soft-fp/fixunstfsi.c: Likewise.
11864 * soft-fp/fixunstfti.c: Likewise.
11865 * soft-fp/floatdidf.c: Likewise.
11866 * soft-fp/floatdisf.c: Likewise.
11867 * soft-fp/floatditf.c: Likewise.
11868 * soft-fp/floatsidf.c: Likewise.
11869 * soft-fp/floatsisf.c: Likewise.
11870 * soft-fp/floatsitf.c: Likewise.
11871 * soft-fp/floattidf.c: Likewise.
11872 * soft-fp/floattisf.c: Likewise.
11873 * soft-fp/floattitf.c: Likewise.
11874 * soft-fp/floatundidf.c: Likewise.
11875 * soft-fp/floatundisf.c: Likewise.
11876 * soft-fp/floatunsidf.c: Likewise.
11877 * soft-fp/floatunsisf.c: Likewise.
11878 * soft-fp/floatuntidf.c: Likewise.
11879 * soft-fp/floatuntisf.c: Likewise.
11880 * soft-fp/floatuntitf.c: Likewise.
11881 * soft-fp/fmadf4.c: Likewise.
11882 * soft-fp/fmasf4.c: Likewise.
11883 * soft-fp/fmatf4.c: Likewise.
11884 * soft-fp/gedf2.c: Likewise.
11885 * soft-fp/gesf2.c: Likewise.
11886 * soft-fp/getf2.c: Likewise.
11887 * soft-fp/ledf2.c: Likewise.
11888 * soft-fp/lesf2.c: Likewise.
11889 * soft-fp/letf2.c: Likewise.
11890 * soft-fp/muldf3.c: Likewise.
11891 * soft-fp/mulsf3.c: Likewise.
11892 * soft-fp/multf3.c: Likewise.
11893 * soft-fp/negdf2.c: Likewise.
11894 * soft-fp/negsf2.c: Likewise.
11895 * soft-fp/negtf2.c: Likewise.
11896 * soft-fp/op-1.h: Likewise.
11897 * soft-fp/op-2.h: Likewise.
11898 * soft-fp/op-4.h: Likewise.
11899 * soft-fp/op-8.h: Likewise.
11900 * soft-fp/op-common.h: Likewise.
11901 * soft-fp/quad.h: Likewise.
11902 * soft-fp/single.h: Likewise.
11903 * soft-fp/soft-fp.h: Likewise.
11904 * soft-fp/sqrtdf2.c: Likewise.
11905 * soft-fp/sqrtsf2.c: Likewise.
11906 * soft-fp/sqrttf2.c: Likewise.
11907 * soft-fp/subdf3.c: Likewise.
11908 * soft-fp/subsf3.c: Likewise.
11909 * soft-fp/subtf3.c: Likewise.
11910 * soft-fp/truncdfsf2.c: Likewise.
11911 * soft-fp/trunctfdf2.c: Likewise.
11912 * soft-fp/trunctfsf2.c: Likewise.
11913 * soft-fp/trunctfxf2.c: Likewise.
11914 * soft-fp/unorddf2.c: Likewise.
11915 * soft-fp/unordsf2.c: Likewise.
11916 * soft-fp/unordtf2.c: Likewise.
11917
17c48a60
OB
119182013-10-14 Ondřej Bílka <neleai@seznam.cz>
11919
11920 [BZ #15672]
11921 * misc/error.c (error_tail): Fix possible buffer overflow.
11922
cabba934
OB
119232013-10-14 Aurelien Jarno <aurelien@aurel32.net>
11924
11925 [BZ #13028]
11926 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
11927 address.
11928
94bf958a
PM
119292013-10-14 P. J. McDermott <pj@pehjota.net>
11930
11931 [BZ #832]
11932 * elf/ldd.bash.in (try_trace): New function. Delete previous code
11933 testing pipefail option.
11934
71b4dea7
JM
119352013-10-12 Joseph Myers <joseph@codesourcery.com>
11936
11937 * soft-fp/double.h: Indent preprocessor directives inside #if.
11938 * soft-fp/extended.h: Likewise.
11939 * soft-fp/op-2.h: Likewise.
11940 * soft-fp/op-4.h: Likewise.
11941 * soft-fp/op-common.h: Likewise.
11942 * soft-fp/quad.h: Likewise.
11943 * soft-fp/single.h: Likewise.
11944 * soft-fp/soft-fp.h: Likewise.
11945
55602758
YC
119462013-10-12 Yuri Chornoivan <yurchor@ukr.net>
11947
11948 * iconv/iconv_prog.c: Fix typos.
11949 * stdio-common/psiginfo-data.h: Likewise.
11950
9cd83302
RT
119512013-10-12 Reuben Thomas <rrt@sc3d.org>
11952
11953 [BZ #15764]
11954 * locale/setlocale.c: Fix typo.
11955
99fd9f47
JM
119562013-10-12 Joseph Myers <joseph@codesourcery.com>
11957
b7ea74f0
JM
11958 [BZ #16036]
11959 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
11960 signaling NaN arguments.
11961 * soft-fp/unordsf2.c (__unordsf2): Likewise.
11962 * soft-fp/unordtf2.c (__unordtf2): Likewise.
11963
8a509447
JM
11964 [BZ #14910]
11965 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
11966 unordered operands.
11967 * soft-fp/gesf2.c (__gesf2): Likewise.
11968 * soft-fp/getf2.c (__getf2): Likewise.
11969 * soft-fp/ledf2.c (__ledf2): Likewise.
11970 * soft-fp/lesf2.c (__lesf2): Likewise.
11971 * soft-fp/letf2.c (__letf2): Likewise.
11972
98998e9f
JM
11973 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
11974 * soft-fp/eqsf2.c (__eqsf2): Likewise.
11975 * soft-fp/eqtf2.c (__eqtf2): Likewise.
11976 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
11977 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
11978 * soft-fp/fixdfti.c (__fixdfti): Likewise.
11979 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
11980 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
11981 * soft-fp/fixsfti.c (__fixsfti): Likewise.
11982 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
11983 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
11984 * soft-fp/fixtfti.c (__fixtfti): Likewise.
11985 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
11986 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
11987 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
11988 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
11989 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
11990 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
11991 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
11992 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
11993 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
11994 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
11995 * soft-fp/floatdisf.c (__floatdisf): Likewise.
11996 * soft-fp/floatsisf.c (__floatsisf): Likewise.
11997 * soft-fp/floattidf.c (__floattidf): Likewise.
11998 * soft-fp/floattisf.c (__floattisf): Likewise.
11999 * soft-fp/floattitf.c (__floattitf): Likewise.
12000 * soft-fp/floatundidf.c (__floatundidf): Likewise.
12001 * soft-fp/floatundisf.c (__floatundisf): Likewise.
12002 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12003 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12004 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12005 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12006 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12007 * soft-fp/gesf2.c (__gesf2): Likewise.
12008 * soft-fp/getf2.c (__getf2): Likewise.
12009 * soft-fp/ledf2.c (__ledf2): Likewise.
12010 * soft-fp/lesf2.c (__lesf2): Likewise.
12011 * soft-fp/letf2.c (__letf2): Likewise.
12012
8edc4a11
JM
12013 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12014 Undefine and redefine.
12015 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12016 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12017 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12018 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12019 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12020 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12021 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12022 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12023 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12024 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12025 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12026 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12027 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12028 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12029 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12030
8399acaf
JM
12031 [BZ #16032]
12032 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12033 without decrementing exponent if mantissa >= that for the
12034 denominator, not >.
12035 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12036 denominator, not >. Decrement exponent in < case instead of
12037 incrementing in >= case.
12038 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12039 without decrementing exponent if mantissa >= that for the
12040 denominator, not >.
12041
99fd9f47
JM
12042 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12043 computing saturated result for unsigned overflow.
12044
10e1cf6b
SP
120452013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12046 Jeff Law <law@redhat.com>
12047
12048 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12049 (atan2Mp): Add systemtap probe marker.
12050 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12051 (__ieee754_log): Add systemtap probe marker.
12052 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12053 (atanMp): Add systemtap probe marker.
12054 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12055 (tanMp): Add systemtap probe marker.
12056 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12057 (__slowexp): Add systemtap probe marker.
12058 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12059 (__slowpow): Add systemtap probe marker.
12060 * manual/probes.texi: Document probes.
12061
3d110c7c
EB
120622013-10-11 Eric Biggers <ebiggers3@gmail.com>
12063
12064 [BZ #15362]
12065 * libio/fileops.c (_IO_new_file_write): Return count of bytes
12066 written.
12067 (_IO_new_file_xsputn): Don't return EOF if nothing has been
12068 written.
12069 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12070 written to buffer but not flushed.
12071 * libio/iofwrite_u.c: Likewise.
12072 * libio/iopadn.c: Return bytes returned even if EOF was
12073 encountered.
12074 * libio/iowpadn.c: Likewise.
12075 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12076 if _IO_padn does not write the whole buffer.
12077 [!COMPILE_WPRINTF] (PAD): Likewise.
12078
75b4202a
DM
120792013-10-10 David S. Miller <davem@davemloft.net>
12080
12081 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12082 directory block.
12083
6c6352e6
JM
120842013-10-10 Joseph Myers <joseph@codesourcery.com>
12085
33b853c3
JM
12086 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
12087 instead of FSF address.
12088 * soft-fp/fixdfti.c: Likewise.
12089 * soft-fp/fixsfti.c: Likewise.
12090 * soft-fp/fixtfti.c: Likewise.
12091 * soft-fp/fixunsdfti.c: Likewise.
12092 * soft-fp/fixunssfti.c: Likewise.
12093 * soft-fp/fixunstfti.c: Likewise.
12094 * soft-fp/floattidf.c: Likewise.
12095 * soft-fp/floattisf.c: Likewise.
12096 * soft-fp/floattitf.c: Likewise.
12097 * soft-fp/floatuntidf.c: Likewise.
12098 * soft-fp/floatuntisf.c: Likewise.
12099 * soft-fp/floatuntitf.c: Likewise.
12100 * soft-fp/trunctfxf2.c: Likewise.
12101
6c6352e6
JM
12102 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
12103 * soft-fp/fixdfti.c: Likewise.
12104 * soft-fp/fixsfti.c: Likewise.
12105 * soft-fp/fixtfti.c: Likewise.
12106 * soft-fp/fixunsdfti.c: Likewise.
12107 * soft-fp/fixunssfti.c: Likewise.
12108 * soft-fp/fixunstfti.c: Likewise.
12109 * soft-fp/floattidf.c: Likewise.
12110 * soft-fp/floattisf.c: Likewise.
12111 * soft-fp/floattitf.c: Likewise.
12112 * soft-fp/floatuntidf.c: Likewise.
12113 * soft-fp/floatuntisf.c: Likewise.
12114 * soft-fp/floatuntitf.c: Likewise.
12115 * soft-fp/trunctfxf2.c: Likewise.
12116
3bf78b71
DM
121172013-10-10 David S. Miller <davem@davemloft.net>
12118
12119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12120
6f10289e
JM
121212013-10-10 Joseph Myers <joseph@codsourcery.com>
12122
bd878fc0
JM
12123 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12124 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12125 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12126 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12127 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12128 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12129 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12130
6f10289e
JM
12131 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12132 for NaNs before doing comparisons on argument.
12133 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12134 Likewise.
12135
321e2684
WN
121362013-10-10 Will Newton <will.newton@linaro.org>
12137
12138 * malloc/hooks.c (memalign_check): Ensure the value of bytes
12139 passed to _int_memalign does not overflow.
12140
40fefba1
TR
121412013-10-10 Torvald Riegel <triegel@redhat.com>
12142
12143 * scripts/bench.pl: Add include-sources directive.
12144 * benchtests/README: Update documentation.
12145
2ae21ed2
JM
121462013-10-10 Joseph Myers <joseph@codesourcery.com>
12147
dcc2dd3f
JM
12148 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12149 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12150 instead of FP_INIT_ROUNDMODE.
12151 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12152 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12153
2ae21ed2
JM
12154 [BZ #16034]
12155 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
12156 copy class of input value.
12157 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
12158 not handle exceptions.
12159 * soft-fp/negsf2.c (__negsf2): Likewise.
12160 * soft-fp/negtf2.c (__negtf2): Likewise.
12161 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12162
cb8f9562
JM
121632013-10-09 Joseph Myers <joseph@codesourcery.com>
12164
12165 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12166 semicolon. From Linux kernel.
12167
5b60c59d
AB
121682013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
12169
12170 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12171
b86835ca
YC
121722013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
12173
12174 [BZ #156]
12175 * manual/socket.texi: Added statement about buffer
12176 for gethostbyname2_r.
12177
e7044ea7
OB
121782013-10-08 Ondřej Bílka <neleai@seznam.cz>
12179
12180 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12181 Use .p2align directive instead, throughout.
12182 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12183 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12184 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12185 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12186 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12187 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12188 * sysdeps/x86_64/strchr.S: Likewise.
12189 * sysdeps/x86_64/strrchr.S: Likewise.
12190
09544cbc
SP
121912013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12192
88576635
SP
12193 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12194
e7b2d1dd
SP
12195 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12196
09544cbc
SP
12197 * sysdeps/generic/math_private.h (__mpsin1): Remove
12198 declaration.
12199 (__mpcos1): Likewise.
12200 (__mpsin): New argument __range_reduce.
12201 (__mpcos): Likewise.
12202 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12203 (slow): Use __mpsin and __mpcos.
12204 (slow1): Likewise.
12205 (slow2): Likewise.
12206 (sloww): Likewise.
12207 (sloww1): Likewise.
12208 (sloww2): Likewise.
12209 (bsloww): Likewise.
12210 (bsloww1): Likewise.
12211 (bsloww2): Likewise.
12212 (cslow2): Likewise.
12213 (csloww): Likewise.
12214 (csloww1): Likewise.
12215 (csloww2): Likewise.
12216 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12217 range_reduce. Merge in __mpsin1.
12218 (__mpcos): Likewise.
12219 (__mpsin1): Remove.
12220 (__mpcos1): Likewise.
12221
7602d070
JM
122222013-10-07 Joseph Myers <joseph@codesourcery.com>
12223
12224 * locale/loadlocale.c (_nl_intern_locale_data): Use
12225 LOCFILE_ALIGNED_P.
12226 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12227 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12228 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12229 obstack data is appropriately aligned.
12230 (obstack_int32_grow_fast): Likewise.
12231 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12232 * locale/programs/locfile.c (add_locale_uint32): Likewise.
12233 (add_locale_uint32_array): Likewise.
12234
a357259b
SP
122352013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12236
12237 * benchtests/Makefile: Remove ARGLIST and RET variables.
12238 ($(objpfx)bench-%.c): Pass only function name to the script.
12239 * benchtests/README: Update documentation.
12240 * benchtests/acos-inputs: Add new directives.
12241 * benchtests/acosh-inputs: Likewise.
12242 * benchtests/asin-inputs: Likewise.
12243 * benchtests/asinh-inputs: Likewise.
12244 * benchtests/atan-inputs: Likewise.
12245 * benchtests/atanh-inputs: Likewise.
12246 * benchtests/cos-inputs: Likewise.
12247 * benchtests/cosh-inputs: Likewise.
12248 * benchtests/exp-inputs: Likewise.
12249 * benchtests/log-inputs: Likewise.
12250 * benchtests/pow-inputs: Likewise.
12251 * benchtests/rint-inputs: Likewise.
12252 * benchtests/sin-inputs: Likewise.
12253 * benchtests/sinh-inputs: Likewise.
12254 * benchtests/tan-inputs: Likewise.
12255 * benchtests/tanh-inputs: Likewise.
12256 * scripts/bench.pl: Add support for new directives.
12257
9ec1b13d
AM
122582013-10-07 Alan Modra <amodra@gmail.com>
12259
12260 * README: Fix careless merge.
12261
8b7d57cd
AM
122622013-10-05 Alan Modra <amodra@gmail.com>
12263
12264 * NEWS: Mention powerpc64le support and bugs fixed.
12265 * README: Both big-endian and little-endian powerpc64 supported.
12266
7b7bab13
ST
122672013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12268
57f41c40
AS
12269 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12270 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
12271 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12272 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12273
d39baad1
RA
122742013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
12275
12276 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12277 match prototype.
12278
cd78f7e7
JM
122792013-10-04 Joseph Myers <joseph@codesourcery.com>
12280
29d73d86
JM
12281 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12282 Move -mhard-float appending from
12283 ports/sysdeps/powerpc/powerpc32/Makefile.
12284 [$(with-fp) = yes] (ASFLAGS): Likewise.
12285 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12286 * sysdeps/powerpc/nofpu: Move directory from
12287 ports/sysdeps/powerpc/nofpu.
12288 * sysdeps/powerpc/soft-fp: Move directory from
12289 ports/sysdeps/powerpc/soft-fp.
12290 * sysdeps/powerpc/powerpc32/405: Move directory from
12291 ports/sysdeps/powerpc/powerpc32/405.
12292 * sysdeps/powerpc/powerpc32/440: Move directory from
12293 ports/sysdeps/powerpc/powerpc32/440.
12294 * sysdeps/powerpc/powerpc32/464: Move directory from
12295 ports/sysdeps/powerpc/powerpc32/464.
12296 * sysdeps/powerpc/powerpc32/476: Move directory from
12297 ports/sysdeps/powerpc/powerpc32/476.
12298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12299 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12301 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12303 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12305 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12307 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12308 * README: Update for powerpc-*-linux-gnu software floating point
12309 support in libc.
12310
e246b347
JM
12311 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12312 case to powerpc/powerpc32*.
12313 * sysdeps/unix/sysv/linux/configure: Regenerated.
12314
89c2003e
JM
12315 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12316 (_FPU_MASK_OM): Define as 0x04.
12317 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12318 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12319 0x00c10080.
12320 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12321 0x0000003c.
12322 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12323
cd78f7e7
JM
12324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12325 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12326 getcontext_e500.
12327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12328 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12329 setcontext_e500.
12330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12331 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12332 and setcontext_e500.
12333
c755294d
CL
123342013-10-04 Chris Leonard <cjl@sugarlabs,.org>
12335
12336 * locale/iso-3166.def: Update iso-1366.def and related occurrences
12337
e16d221c
SP
123382013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12339
12340 * manual/threads.texi (Default Thread Attributes): Fix typo.
12341
215c7d43
WN
123422013-10-04 Will Newton <will.newton@linaro.org>
12343
12344 * malloc/Makefile: Add tst-memalign.
12345 * malloc/tst-memalign.c: New file.
12346
27d0461b
WN
12347 * malloc/tst-posix_memalign.c: Add comments.
12348 (do_test): Add comments and call free on all potentially
12349 allocated pointers. Add space after cast.
12350
1bc92709
WN
12351 * malloc/tst-pvalloc.c: Add comments.
12352 (do_test): Add comments and call free on all potentially
12353 allocated pointers. Remove duplicate check for NULL pointer.
12354 Add space after cast.
12355
66a9be9d
WN
12356 * malloc/tst-valloc.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
4cb81307
AM
123612013-10-04 Alan Modra <amodra@gmail.com>
12362
12363 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12364 Use stdint types in rather than __attribute__((mode())).
12365 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12366
f8e3e9f3
AM
123672013-10-04 Alan Modra <amodra@gmail.com>
12368
12369 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12370 Correct handling of unaligned relocs for little-endian.
12371 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12372
8f9ebb08
AM
123732013-10-04 Alan Modra <amodra@gmail.com>
12374
12375 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12376 * configure: Regenerate.
12377 * nptl/shlib-versions: Powerpc*le starts at 2.18.
12378 * shlib-versions: Likewise.
12379
0edf96c2
AM
123802013-10-04 Alan Modra <amodra@gmail.com>
12381
12382 * string/tester.c (test_memrchr): Increment reported test cycle.
12383
e0f7a380
AM
123842013-10-04 Alan Modra <amodra@gmail.com>
12385
12386 * string/test-memcpy.c (do_one_test): When reporting errors, print
12387 string address and don't overrun end of string.
12388
466b0393
AM
123892013-10-04 Alan Modra <amodra@gmail.com>
12390
12391 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12392 insrdi. Make better use of reg selection to speed exit slightly.
12393 Schedule entry path a little better. Remove useless "are we done"
12394 checks on entry to main loop. Handle wrapping around zero address.
12395 Correct main loop count. Handle single left-over word from main
12396 loop inline rather than by using loop_small. Remove extra word
12397 case in loop_small caused by wrong loop count. Add little-endian
12398 support.
12399 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12400 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
12401 cache hint.
12402 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12403 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12404 support. Avoid rlwimi.
12405 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12406
3be87c77
AM
124072013-10-04 Alan Modra <amodra@gmail.com>
12408
12409 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 12410 insrdi. Formatting.
3be87c77
AM
12411 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12412 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12413 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12414 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12415 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12416 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12417
759cfef3
AM
124182013-10-04 Alan Modra <amodra@gmail.com>
12419
12420 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12421 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12422 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12423 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12424 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12425 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12426 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12427 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12428 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
12429 use of regs. Use power7 mtocrf. Tidy function tails.
12430
fe6e95d7
AM
124312013-10-04 Alan Modra <amodra@gmail.com>
12432
12433 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12434 Formatting. Consistently use rXXX register defines or rN defines.
12435 Use early exit labels that avoid restoring unused non-volatile regs.
12436 Make cr field use more consistent with rWORDn compares. Rename
12437 regs used as shift registers for unaligned loop, using rN defines
12438 for short lifetime/multiple use regs.
12439 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12440 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
12441 addi 1,1,64 to pop stack frame. Simplify return value code.
12442 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12443
664318c3
AM
124442013-10-04 Alan Modra <amodra@gmail.com>
12445
12446 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
12447 support. Correct typos, formatting. Optimize tail. Use insrdi
12448 rather than rlwimi.
12449 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
12450 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
12451 little-endian support. Correct typos.
12452 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
12453 rather than rlwimi.
12454 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
12455 in loop and entry code to keep "and." results.
12456 (strchr): Add little-endian support. Comment. Move cntlzd
12457 earlier in tail.
12458 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
12459
43b84013
AM
124602013-10-04 Alan Modra <amodra@gmail.com>
12461
12462 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
12463 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
12464 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12465 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
12466
8a7413f9
AM
124672013-10-04 Alan Modra <amodra@gmail.com>
12468
12469 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
12470 (rTMP): Define as r11.
12471 (strcmp): Add little-endian support. Optimise tail.
12472 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
12473 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12474 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12475 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12476 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12477 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12478 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12479
33ee81de
AM
124802013-10-04 Alan Modra <amodra@gmail.com>
12481
12482 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
12483 little-endian support. Remove unnecessary "are we done" tests.
12484 Handle "s" wrapping around zero and extremely large "size".
12485 Correct main loop count. Handle single left-over word from main
12486 loop inline rather than by using small_loop. Correct comments.
12487 Delete "zero" tail, use "end_max" instead.
12488 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
12489
db9b4570
AM
124902013-10-04 Alan Modra <amodra@gmail.com>
12491
12492 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
12493 support. Don't branch over align.
12494 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
12495 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
12496 support. Rearrange tmp reg use to suit. Comment.
12497 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
12498
f7c399cf
AM
124992013-10-04 Alan Modra <amodra@gmail.com>
12500
12501 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
12502
0b2c2ace
AM
125032013-10-04 Alan Modra <amodra@gmail.com>
12504
12505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
12506 conditional form of branch and link when obtaining pc.
12507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12508
02f04a6c
AM
125092013-10-04 Alan Modra <amodra@gmail.com>
12510
12511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
12512 HIWORD/LOWORD.
12513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
12514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
12515
9b874b2f
AM
125162013-10-04 Alan Modra <amodra@gmail.com>
12517
12518 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
12519 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
12520 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12521 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
12522 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12523 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12524 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
12525 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12526 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12527 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
12528
be1e5d31
AB
125292013-10-04 Anton Blanchard <anton@au1.ibm.com>
12530 Alistair Popple <alistair@ozlabs.au.ibm.com>
12531 Alan Modra <amodra@gmail.com>
12532
12533 [BZ #15723]
12534 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
12535 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
12536 _dl_hwcap access for little-endian.
12537 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
12538 destroy vmx regs when saving unaligned.
12539 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
12540 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
12541 destroy vmx regs when saving unaligned.
12542
fef13a78
AM
125432013-10-04 Alan Modra <amodra@gmail.com>
12544
12545 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
12546 Don't use a union to pack hi/low value.
12547
76a66d51
AB
125482013-10-04 Anton Blanchard <anton@au1.ibm.com>
12549
12550 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
12551 for little-endian.
12552 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12553 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
12554 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12555 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12556 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12557
6a31fe7f
AM
125582013-10-04 Alan Modra <amodra@gmail.com>
12559
12560 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
12561 constants to usual value for .cst8 section, and remove redundant
12562 high address load.
12563 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
12564 constant for 0x1p52. Load little-endian words of double from
12565 correct stack offsets.
12566
7b88401f
AM
125672013-10-04 Alan Modra <amodra@gmail.com>
12568
12569 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
12570 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
12571 words of double from correct stack offsets.
12572 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12573 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
12574 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12575 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12576 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12577 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12578 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12579 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12580 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12581 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12582 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12583 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12584 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12585 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12586 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12587 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
12588 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12589
9c008155
AM
125902013-10-04 Alan Modra <amodra@gmail.com>
12591
12592 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
12593 64-bit int/double union.
12594 (_FPU_SETCW): Likewise.
12595 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
12596 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
12597
da13146d
AM
125982013-10-04 Alan Modra <amodra@gmail.com>
12599
12600 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
12601 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
12602
603e8410
AM
126032013-10-04 Alan Modra <amodra@gmail.com>
12604
12605 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
12606 use vector int constants.
12607 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
12608
4a28b3ca
AB
126092013-10-04 Anton Blanchard <anton@au1.ibm.com>
12610
12611 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
12612 array with long long.
12613 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
12614 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
12615 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
12616 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
12617 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
12618 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
12619 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
12620 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
12621 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
12622 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
12623 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
12624 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
12625 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
12626
2ca85d2b
AB
126272013-10-04 Anton Blanchard <anton@au1.ibm.com>
12628
12629 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
12630 (__signbit): Likewise. Correct for little-endian.
12631 (__signbitl): Call __signbit.
12632 (lrint): Correct for little-endian.
12633 (lrintf): Call lrint.
12634
62a728ae
AM
126352013-10-04 Alan Modra <amodra@gmail.com>
12636
12637 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
12638 union 32-bit int array member with 64-bit int array.
12639 (t515, tm256): Double rather than long double.
12640 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
12641
32c301df
AM
126422013-10-04 Alan Modra <amodra@gmail.com>
12643
12644 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
12645 Delete.
12646 (IEEE854_LONG_DOUBLE_BIAS): Delete.
12647 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
12648 version of math_ldbl.h.
12649
650ef4bd
AM
126502013-10-04 Alan Modra <amodra@gmail.com>
12651
12652 [BZ #15734], [BZ #15735]
12653 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
12654 all uses of ieee875 long double macros and unions. Simplify test
12655 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
12656 ldbl_extract_mantissa value for ix,iy exponents. Properly
12657 normalize after ldbl_extract_mantissa, and don't add hidden bit
12658 already handled. Don't treat low word of ieee854 mantissa like
12659 low word of IBM long double and mask off bit when testing for
12660 zero.
12661 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
12662 all uses of ieee875 long double macros and unions. Simplify tests
12663 for 0.0L and inf. Correct double adjustment of k. Delete dead code
12664 adjusting ha,hb. Simplify code setting kld. Delete two600 and
12665 two1022, instead use their values. Recognise that tests for large
12666 "a" and small "b" are mutually exclusive. Rename vars. Comment.
12667 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
12668 Rewrite all uses of ieee875 long double macros and unions. Simplify
12669 test for 0.0L and nan. Correct negation.
12670 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
12671 ieee875 long double macros and unions. Correct output for large
12672 magnitude x. Correct absolute value calculation.
12673 (__erfcl): Likewise.
12674 * math/libm-test.inc: Add tests for errors discovered in IBM long
12675 double versions of fmodl, remainderl, erfl and erfcl.
12676
765714ca
AM
126772013-10-04 Alan Modra <amodra@gmail.com>
12678
12679 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
12680 all uses of ieee854 long double macros and unions. Simplify tests
12681 for long doubles that are fully specified by the high double.
12682 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12683 Likewise.
12684 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
12685 Remove dead code too.
12686 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12687 (__ieee754_ynl): Likewise.
12688 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12689 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
12690 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12691 Remove dead code too.
12692 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12693 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12694 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12695 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
12696 Simplify.
12697 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
12698 Simplify.
12699 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
12700 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
12701 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
12702 Comment on variable precision.
12703 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
12704 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12705 Likewise.
12706 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12707 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12708 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12709 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12710 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
12711
4ebd120c
AM
127122013-10-04 Alan Modra <amodra@gmail.com>
12713
12714 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
12715 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
12716 all uses of ieee854 long double macros and unions.
12717 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12718 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12719 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
12720 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
12721 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12722 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12723 Likewise.
12724 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
12725 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12726 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
12727 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12728 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12729 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12730 Simplify sign and nan test too.
12731 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
12732 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
12733 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
12734 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
12735 Likewise.
12736 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12737 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
12738 Likewise.
12739 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12740 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12741 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
12742 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
12743 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
12744 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
12745
1b6adf88
AM
127462013-10-04 Alan Modra <amodra@gmail.com>
12747
12748 * stdio-common/printf_size.c (__printf_size): Don't use
12749 union ieee854_long_double in fpnum union.
12750 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
12751 signbit macro to retrieve sign from long double.
12752 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
12753 retrieve sign from long double.
12754 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
12755 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
12756 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
12757 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12758 * math/test-misc.c (main): Don't use union ieee854_long_double.
12759
4cf69995
AM
127602013-10-04 Alan Modra <amodra@gmail.com>
12761
12762 [BZ #15680]
12763 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
12764 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
12765 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
12766 calculation. Remove unnecessary test for denormal exponent.
12767 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
12768 Correct handling of denormals. Avoid undefined shift behaviour.
12769 Correct normalisation of low mantissa when low double is denormal.
12770 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
12771 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
12772 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
12773 Correct normalisation of low mantissa. Test for overflow of high
12774 mantissa and normalise.
12775 (ldbl_nearbyint): Use more readable constant for two52.
12776 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
12777 (__mpn_construct_long_double): Fix test for overflow of high
12778 mantissa and correct normalisation. Avoid undefined shift.
12779
9605ca6c
AM
127802013-10-04 Alan Modra <amodra@gmail.com>
12781
12782 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12783 (union ibm_extended_long_double): Define as an array of ieee754_double.
12784 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
12785 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
12786 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
12787 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12788 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12789 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
12790 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12791 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12792 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12793 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
12794 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12795
975569d0
JM
127962013-10-03 Joseph Myers <joseph@codesourcery.com>
12797
d3d23756
JM
12798 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
12799 page size instead of calling getpagesize.
12800
975569d0
JM
12801 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
12802 (LOCFILE_ALIGN_MASK): Likewise.
12803 (LOCFILE_ALIGN_UP): Likewise.
12804 (LOCFILE_ALIGNED_P): Likewise.
12805 * locale/programs/ld-collate.c (collate_output): Use the new
12806 macros instead of __alignof__ (int32_t).
12807 * locale/weight.h (findidx): Likewise.
12808
b1fe1f2b
OB
128092013-10-03 Ondřej Bílka <neleai@seznam.cz>
12810
12811 [BZ #431]
12812 * manual/string.texi: Fix strncat and wcsncat.
12813
5f855e35
BM
128142013-10-03 Brooks Moses <bmoses@google.com>
12815
12816 [BZ #15915]
12817 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
12818 * Makerules: ...here, and adjust associated comments.
12819
3cef6009
WN
128202013-10-02 Will Newton <will.newton@linaro.org>
12821
12822 * malloc/Makefile: Add tst-pvalloc.
12823 * malloc/tst-pvalloc.c: New file.
12824
7815420b
WN
128252013-10-02 Will Newton <will.newton@linaro.org>
12826
12827 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
12828 improve test coverage.
12829
4868b204
WN
128302013-10-02 Will Newton <will.newton@linaro.org>
12831
12832 * malloc/Makefile: Add tst-posix_memalign.
12833 * malloc/tst-posix_memalign.c: New file.
12834
29c793b3
EB
128352013-10-01 Eric Blake <eblake@redhat.com>
12836
12837 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
12838 Use __THROWNL rather than __THROW on static functions.
12839
fd967522
PM
128402013-09-30 Petr Machata <pmachata@redhat.com>
12841
12842 * elf/elf.h (R_AARCH64_ABS16): New macro.
12843 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
12844 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
12845 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
12846 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
12847 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
12848 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
12849 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
12850 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
12851 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
12852 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
12853 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
12854 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
12855 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
12856 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
12857 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
12858 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
12859 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
12860 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
12861 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
12862 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
12863 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
12864 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
12865 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
12866 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
12867 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
12868 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
12869 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
12870 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
12871 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
12872 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
12873 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
12874 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
12875 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
12876 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
12877 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
12878 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
12879 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
12880 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
12881 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
12882 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
12883 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
12884 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
12885 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
12886 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
12887 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
12888 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
12889 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
12890 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
12891 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
12892 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
12893 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
12894 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
12895 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
12896 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
12897 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
12898 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
12899 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
12900 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
12901 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
12902 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
12903 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
12904 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
12905 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
12906 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
12907 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
12908 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
12909 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
12910 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
12911 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
12912 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
12913 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
12914 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
12915 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
12916 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
12917 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
12918 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
12919 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
12920 (R_AARCH64_TLSDESC_LDR): Likewise.
12921 (R_AARCH64_TLSDESC_ADD): Likewise.
12922 (R_AARCH64_TLSDESC_CALL): Likewise.
12923
b2179107
AS
129242013-09-30 Andreas Schwab <schwab@suse.de>
12925
12926 [BZ #15048]
12927 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
12928 the nss database lookup.
12929 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12930 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12931
47f28d0a
MF
129322013-09-28 Mike Frysinger <vapier@gentoo.org>
12933
12934 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
12935
129362013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
12937
12938 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
12939 ${Bash-specific parameter/pattern/string} parameter expansion.
12940 * sysdeps/unix/make-syscalls.sh: Likewise.
12941
f4518a17
KK
129422013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12943
12944 * sysdeps/sh/stackguard-macros.h: New file.
12945
dc1a95c7
OB
129462013-09-26 Ondřej Bílka <neleai@seznam.cz>
12947
12948 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12949 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
12950 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
12951 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
12952 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12953 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
12954
5ebbff8f
AZ
129552013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12956
12957 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
12958 Fix thread ID register.
12959
4fd2cf9f
JM
129602013-09-25 Joseph Myers <joseph@codesourcery.com>
12961
12962 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
12963 [POSIX || UNIX98]: Require rather than permitting all symbols from
12964 <time.h>.
12965 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
12966 element of struct sched_param.
12967 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
12968 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
12969 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
12970 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
12971 constant.
12972
12c22bc4
OL
129732013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
12974
12975 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
12976 argument calculation.
12977
a03d8ea7
JM
129782013-09-24 Joseph Myers <joseph@codesourcery.com>
12979
12980 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
12981 Expect macro.
12982 [POSIX] (pthread_attr_t): Do not require type.
12983 [POSIX] (pthread_cond_t): Likewise.
12984 [POSIX] (pthread_condattr_t): Likewise.
12985 [POSIX] (pthread_key_t): Likewise.
12986 [POSIX] (pthread_mutex_t): Likewise.
12987 [POSIX] (pthread_mutexattr_t): Likewise.
12988 [POSIX] (pthread_once_t): Likewise.
12989 [POSIX] (pthread_t): Likewise.
12990 [POSIX-based standards] (pthread_atfork): Expect function.
12991
6055173a
JM
129922013-09-24 Joseph Myers <joseph@codesourcery.com>
12993 Richard Sandiford <richard@codesourcery.com>
12994
12995 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
12996 (swap_endianness_p): New extern variable.
12997 (set_big_endian): New inline function.
12998 (maybe_swap_uint32): Likewise.
12999 (maybe_swap_uint32_array): Likewise.
13000 (maybe_swap_uint32_obstack): Likewise.
13001 * locale/programs/locfile.c: Include <stdbool.h>.
13002 (swap_endianness_p): New variable.
13003 (add_locale_uint32): Call maybe_swap_uint32.
13004 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13005 (write_locale_data): Call maybe_swap_uint32_array.
13006 * locale/programs/ld-collate.c (obstack_int32_grow): Call
13007 maybe_swap_uint32.
13008 (obstack_int32_grow_fast): Likewise.
13009 (output_weightwc): Call maybe_swap_uint32_obstack.
13010 (collate_output): Likewise.
13011 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13012 (OPT_LITTLE_ENDIAN): Likewise.
13013 (options): Add --little-endian and --big-endian options.
13014 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13015 * locale/programs/locarchive.c: Include "locfile.h".
13016 (GET): New macro.
13017 (SET): Likewise.
13018 (INC): Likewise.
13019 (create_archive): Use the new macros to access fields of
13020 structures directly mapped from or written to locale archives.
13021 (oldlocrecentcmp): Likewise.
13022 (enlarge_archive): Likewise.
13023 (insert_name): Likewise.
13024 (add_alias): Likewise.
13025 (add_locale): Likewise.
13026 (delete_locales_from_archive): Likewise.
13027 (show_archive_content): Likewise.
13028 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
13029 locale data.
13030
39bf0bb4
RM
130312013-09-24 Roland McGrath <roland@hack.frob.com>
13032
13033 * manual/freemanuals.texi: Updated from (newly) canonical copy at
13034 http://www.gnu.org/doc/freemanuals.texi.
13035 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13036
f02eed10
WN
130372013-09-24 Will Newton <will.newton@linaro.org>
13038
13039 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13040 macro.
13041
a3a6c312
JM
130422013-09-23 Joseph Myers <joseph@codesourcery.com>
13043
13044 * locale/hashval.h (compute_hashval): Interpret bytes of key as
13045 unsigned char.
13046
107375ac
MR
130472013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
13048
13049 * manual/threads.texi (POSIX Threads): Fix a typo.
13050
141f3a77
SP
130512013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13052
303e567a
SP
13053 [BZ #14547]
13054 * string/tst-strcoll-overflow.c: New test case.
13055 * string/Makefile (xtests): Add tst-strcoll-overflow.
13056 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13057 cache if string sizes may cause integer overflow.
13058
141f3a77
SP
13059 [BZ #14547]
13060 * string/strcoll_l.c (coll_seq): New members rule, idx,
13061 save_idx and back_us.
13062 (get_next_seq_nocache): New function.
13063 (do_compare_nocache): New function.
13064 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13065 when malloc fails.
13066
c61b4d41
CD
130672013-09-23 Carlos O'Donell <carlos@redhat.com>
13068
0b1f8e35
CD
13069 [BZ #15754]
13070 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13071 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13072 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13073
c61b4d41
CD
13074 [BZ #15754]
13075 * elf/Makefile (tests): Add tst-ptrguard1.
13076 (tests-static): Add tst-ptrguard1-static.
13077 (tst-ptrguard1-ARGS): Define.
13078 (tst-ptrguard1-static-ARGS): Define.
13079 * elf/tst-ptrguard1.c: New file.
13080 * elf/tst-ptrguard1-static.c: New file.
13081 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13082 * sysdeps/i386/stackguard-macros.h: Likewise.
13083 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13084 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13085 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13086 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13087 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13088 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13089
130902013-09-23 Hector Marco <hecmargi@upv.es>
13091 Ismael Ripoll <iripoll@disca.upv.es>
13092 Carlos O'Donell <carlos@redhat.com>
13093
13094 [BZ #15754]
13095 * sysdeps/generic/stackguard-macros.h: Define
13096 __pointer_chk_guard_local and POINTER_CHK_GUARD.
13097 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13098 Define __pointer_chk_guard_local.
13099 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13100 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13101
f5f4e7b4
VV
131022013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
13103
13104 [BZ #15859]
13105 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13106
5bb43a43
AS
131072013-09-20 Andreas Schwab <schwab@linux-m68k.org>
13108
13109 * include/string.h (__ffs): Declare as hidden.
13110 * string/ffs.c (__ffs): Define as hidden.
13111 * sysdeps/i386/ffs.c (__ffs): Likewise.
13112 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13113 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13114 * sysdeps/s390/ffs.c (__ffs): Likewise.
13115 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13116
3ea5be54
AO
131172013-09-20 Alexandre Oliva <aoliva@redhat.com>
13118
ffb89e53
AO
13119 * NEWS: Mention malloc probes.
13120
322dea08
AO
13121 * malloc/arena.c (new_heap): New memory_heap_new probe.
13122 (grow_heap): New memory_heap_more probe.
13123 (shrink_heap): New memory_heap_less probe.
13124 (heap_trim): New memory_heap_free probe.
13125 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13126 (systrim): New memory_sbrk_less probe.
13127 * manual/probes.texi: Document them.
13128
655673f3
AO
13129 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13130 * manual/probes.texi: Document it.
13131
35fed6f1
AO
13132 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13133 (__libc_realloc): Add memory_realloc_retry probe.
13134 (__libc_memalign): Add memory_memalign_retry probe.
13135 (__libc_valloc): Add memory_valloc_retry probe.
13136 (__libc_pvalloc): Add memory_pvalloc_retry probe.
13137 (__libc_calloc): Add memory_calloc_retry probe.
13138 * manual/probes.texi: Document them.
13139
6999d38c
AO
13140 * malloc/arena.c (get_free_list): Add probe
13141 memory_arena_reuse_free_list.
13142 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13143 and memory_arena_reuse.
13144 (arena_get2) [!PER_THREAD]: Likewise.
13145 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13146 memory_arena_reuse_realloc.
13147 * manual/probes.texi: Document them.
13148
0653427f
AO
13149 * malloc/malloc.c (__libc_free): Add
13150 memory_mallopt_free_dyn_thresholds probe.
13151 (__libc_mallopt): Add multiple memory_mallopt probes.
13152 * manual/probes.texi: Document them.
13153
3ea5be54
AO
13154 * malloc/malloc.c: Include stap-probe.h.
13155 (__libc_mallopt): Add memory_mallopt probe.
13156 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13157 * manual/probes.texi: New.
13158 * manual/Makefile (chapters): Add probes.
13159 * manual/threads.texi: Set next node.
13160
e35696c3 131612013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 13162
e35696c3
CL
13163 [BZ #15963, #13985]
13164 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13165 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13166 Add `Chinese' to `nan' entry name.
13167
4aafb73c
SP
131682013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13169
13170 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13171 (POLYNOMIAL): Likewise.
13172 (TAYLOR_SINCOS): Likewise.
13173 (TAYLOR_SLOW): Likewise.
13174 (__sin): Use TAYLOR_SINCOS.
13175 (__cos): Likewise.
13176 (slow): Use TAYLOR_SLOW.
13177 (sloww): Likewise.
13178 (bsloww): Likewise.
13179 (csloww): Likewise.
13180
d84f25c7
LD
131812013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13182
13183 * stdlib/strtod_l.c: Fix buffer overrun.
13184
5eea0404
SP
131852013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13186
7849ff93
SP
13187 * benchtests/Makefile (bench): Add sincos.
13188 * benchtests/bench-sincos.c: New file.
13189
cfa3c886
SP
13190 * math/libm-test.inc (cos_test_data): New test inputs.
13191 (sin_test_data): Likewise.
13192
b348e1e3
SP
13193 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13194 macro.
13195 (__sin): Use it.
13196 (__cos): Likewise.
13197 (slow1): Likewise.
13198 (slow2): Likewise.
13199 (sloww1): Likewise.
13200 (sloww2): Likewise.
13201 (bsloww1): Likewise.
13202 (bsloww2): Likewise.
13203 (cslow2): Likewise.
13204 (csloww1): Likewise.
13205 (csloww2): Likewise.
13206
6cce25f8
SP
13207 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13208 function.
13209 (__sin): Use it.
13210 (__cos): Likewise.
13211
5eea0404
SP
13212 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13213 gotos.
13214 (__cos): Likewise.
13215
9c21573c
MR
132162013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
13217
13218 * config.h.in (HAVE_MIPS_NAN2008): New macro.
13219 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13220 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13221 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13222 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13223 * elf/cache.c (print_entry): Handle the new cache flags.
13224
24d22e65
JM
132252013-09-18 Joseph Myers <joseph@codesourcery.com>
13226 Aldy Hernandez <aldyh@redhat.com>
13227
13228 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13229 Change condition to [_SOFT_FLOAT].
13230 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13231 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13232 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13233 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13234 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13235 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13236 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13237 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13238 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13239 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13240 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13241 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13242 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13243 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13244 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13245 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13246 declaration.
13247
d13ef066
JM
132482013-09-18 Joseph Myers <joseph@codesourcery.com>
13249
2e071de0
JM
13250 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13251 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13252 (__longjmp): Use LOAD_GP to load saved GPRs.
13253 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13254 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13255 (__sigsetjmp): Use SAVE_GP to save GPRs.
13256
d13ef066
JM
13257 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13258 Do not append -msoft-float.
13259 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13260
97a0650b
SP
132612013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13262
13263 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13264
11ca09e9
JM
132652013-09-17 Joseph Myers <joseph@codesourcery.com>
13266
13267 [BZ #15966]
13268 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13269 (_FPU_GETCW): Use initial "__" on variable and field names but not
13270 on macro parameter name.
13271 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
13272 parentheses around reference to macro parameter.
13273
08ffcf34
RS
132742013-09-13 Richard Sandiford <richard@codesourcery.com>
13275
13276 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13277 prototype.
13278 (ctype_startup): Use uint32_t in cast and sizeof for
13279 ctype->charnames.
13280
ae7080d3
JL
132812013-09-11 Jia Liu <proljc@gmail.com>
13282
13283 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13284 __daddr_t_defined.
13285 [__FreeBSD__]: Likewise.
13286
5905e7b3
OB
132872013-09-11 Ondřej Bílka <neleai@seznam.cz>
13288
13289 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13290 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13291 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13292 (strchr): Remove __strchr_sse42 ifunc selection.
13293 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13294 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13295
b987c776
WN
132962013-09-11 Will Newton <will.newton@linaro.org>
13297
13298 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13299 parameter to RES. Remove hardcoded 1000 value.
13300 * benchtests/bench-skeleton.c (main): Pass RES parameter
13301 to TIMING_INIT and multiply result by 1000.
13302
ddf985af
AZ
133032013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13304
13305 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13306
ffdd3181
AS
133072013-09-11 Andreas Schwab <schwab@suse.de>
13308
13309 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13310 if not defined.
13311 (O_TMPFILE) [__USE_GNU]: Define.
13312 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13313 Define.
13314
b73ed247
WN
133152013-09-11 Will Newton <will.newton@linaro.org>
13316
13317 [BZ #15857]
13318 * malloc/malloc.c (__libc_memalign): Check the value of bytes
13319 does not overflow.
13320
55e17aad
WN
133212013-09-11 Will Newton <will.newton@linaro.org>
13322
13323 [BZ #15856]
13324 * malloc/malloc.c (__libc_valloc): Check the value of bytes
13325 does not overflow.
13326
1159a193
WN
133272013-09-11 Will Newton <will.newton@linaro.org>
13328
13329 [BZ #15855]
13330 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13331 does not overflow.
13332
5905e7b3 133332013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
13334
13335 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13336 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13337 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13338 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13339 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13340
cdfc721b
AM
133412013-09-10 Allan McRae <allan@archlinux.org>
13342
aa04af00
AM
13343 [BZ #15748]
13344 * manual/arith.texi (Parsing of Floats): Clarify
13345 cross-reference.
13346
cdfc721b
AM
13347 [BZ #15849]
13348 * manual/install.texi (Running make install): Mention
13349 --enable-pt-chown.
13350 * INSTALL: Regenerated.
13351
95e7cf29
MR
133522013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13353
13354 * csu/init-first.c (_init): Remove the !SHARED condition around
13355 FPU control word initialization.
13356 * elf/dl-support.c (_dl_fpu_control): New variable.
13357 (_dl_aux_init) <AT_FPUCW>: Initialize it.
13358 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13359 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13360 * math/test-fpucw-static.c: New file.
13361 * math/test-fpucw-ieee.c: New file.
13362 * math/test-fpucw-ieee-static.c: New file.
13363 * math/Makefile (tests): Add `test-fpucw-ieee' and
13364 `$(tests-static)'.
13365 (tests-static): New variable.
13366 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13367 dependency to...
13368 [($(build-shared),yes)]
13369 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13370 ... this.
13371 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13372 New dependency.
13373
83e43bf0
AM
133742013-09-09 Allan McRae <allan@archlinux.org>
13375
a9f5ce09
AM
13376 [BZ #15939]
13377 * manual/string.texi (Collation Functions): Fix typo in
13378 strcoll example.
13379 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13380
34829bc2
AM
13381 [BZ #15893]
13382 * stdlib/isomac.c (get_null_defines): Fix memory leak.
13383
3932737d
AM
13384 [BZ #15892]
13385 * libio/memstream.c (open_memstream): Fix memory leak.
13386 * libio/wmemstream.c (open_wmemstream): Likewise.
13387
83e43bf0
AM
13388 [BZ #15895]
13389 * nscd/netgroupcache.c: Fix nesting of ifdefs.
13390
0c66b8e9
WN
133912013-09-09 Will Newton <will.newton@linaro.org>
13392
13393 * malloc/Makefile: Add tst-realloc to tests.
13394 * malloc/tst-realloc.c: New file.
13395
f6b00fd1
AM
133962013-09-09 Allan McRae <allan@archlinux.org>
13397
13398 [BZ #15844]
13399 * COPYING: Update from GNU website to fix FSF address.
13400 * COPYING.LIB: Likewise.
13401
eec55e16
DM
134022013-09-06 David S. Miller <davem@davemloft.net>
13403
13404 * po/zh_TW.po: Update Chinese (traditional) translation from
13405 translation project.
13406
1ecbb381
RS
134072013-09-06 Richard Sandiford <richard@codesourcery.com>
13408 Joseph Myers <joseph@codesourcery.com>
13409
13410 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13411 "localeinfo.h".
13412 (obstack_chunk_alloc): New macro.
13413 (obstack_chunk_free): Likewise.
13414 (record_offset): New function.
13415 (init_locale_data): Likewise.
13416 (align_locale_data): Likewise.
13417 (add_locale_empty): Likewise.
13418 (add_locale_raw_data): Likewise.
13419 (add_locale_raw_obstack): Likewise.
13420 (add_locale_string): Likewise.
13421 (add_locale_wstring): Likewise.
13422 (add_locale_uint32): Likewise.
13423 (add_locale_uint32_array): Likewise.
13424 (add_locale_char): Likewise.
13425 (start_locale_structure): Likewise.
13426 (end_locale_structure): Likewise.
13427 (start_locale_prelude): Likewise.
13428 (end_locale_prelude): Likewise.
13429 (write_locale_data): Take locale_file structure rather than an
13430 iovec.
13431 * locale/programs/locfile.h: Include "obstack.h".
13432 (struct locale_file): Change to store locale file contents instead
13433 of header.
13434 (init_locale_data): New prototype.
13435 (align_locale_data): Likewise.
13436 (add_locale_empty): Likewise.
13437 (add_locale_raw_data): Likewise.
13438 (add_locale_raw_obstack): Likewise.
13439 (add_locale_string): Likewise.
13440 (add_locale_wstring): Likewise.
13441 (add_locale_uint32): Likewise.
13442 (add_locale_uint32_array): Likewise.
13443 (add_locale_char): Likewise.
13444 (start_locale_structure): Likewise.
13445 (end_locale_structure): Likewise.
13446 (start_locale_prelude): Likewise.
13447 (end_locale_prelude): Likewise.
13448 (write_locale_data): Update prototype.
13449 * locale/programs/3level.h (struct TABLE): Remove result field.
13450 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
13451 Use new locale_file interface.
13452 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
13453 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
13454 * locale/programs/ld-address.c (address_output): Use new
13455 locale_file interface.
13456 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
13457 NO_ADD_LOCALE.
13458 (collate_finish): Don't call collseq_table_finalize.
13459 (collate_output): Use new locale_file interface.
13460 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
13461 in file.
13462 (NO_FINALIZE): Change to NO_ADD_LOCALE.
13463 (TABLE): Move defines earlier in file.
13464 (ELEMENT): Likewise.
13465 (DEFAULT): Likewise.
13466 (wctrans_table_add): Move macro and inline function earlier in
13467 file.
13468 (struct wctype_table): Move type earlier in file.
13469 (add_locale_wctype_table): New static prototype.
13470 (struct locale_ctype_t): Use logical types instead of struct iovec
13471 pointers for members.
13472 (ctype_output): Use new locale_file interface.
13473 (wctype_table_finalize): Change to add_locale_wctype_table. Use
13474 new locale_file interface.
13475 (allocate_arrays): Update for use of new locale_file interface.
13476 * locale/programs/ld-identification.c (identification_output): Use
13477 new locale_file interface.
13478 * locale/programs/ld-measurement.c (measurement_output): Likewise.
13479 * locale/programs/ld-messages.c (messages_output): Likewise.
13480 * locale/programs/ld-monetary.c (monetary_output): Likewise.
13481 * locale/programs/ld-name.c (name_output): Likewise.
13482 * locale/programs/ld-numeric.c (numeric_output): Likewise.
13483 * locale/programs/ld-paper.c (paper_output): Likewise.
13484 * locale/programs/ld-telephone.c (telephone_output): Likewise.
13485 * locale/programs/ld-time.c (time_output): Likewise.
13486
e029e2e5
AZ
134872013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13488
13489 * benchtests/Makefile: Add memrchr benchmark.
13490 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
13491 benchmark as memrchr.
13492 * benchtests/bench-memrchr-ifunc.c: New file.
13493 * benchtests/bench-memrchr.c: New file.
13494
bbf6e8e4
WN
134952013-09-06 Will Newton <will.newton@linaro.org>
13496
13497 * benchtests/Makefile (string-bench): Add memcpy.
13498
6c82a2f8
CD
134992013-09-05 Carlos O'Donell <carlos@redhat.com>
13500 Cong Wang <amwang@redhat.com>
13501
e732c5f0 13502 [BZ #15850]
6c82a2f8
CD
13503 * sysdeps/unix/sysv/linux/bits/in.h
13504 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
13505 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
13506 before __USE_KERNEL_IPV6_DEFS uses.
13507 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
13508 IPPROTO_BEETPH.
13509 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
13510 sockaddr_in6, or ipv6_mreq.
13511
5430fc65
AZ
135122013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13513
13514 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
13515 memory access for final bytes in some large inputs.
13516 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
13517
4660856c
AZ
135182013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13519
13520 * string/test-memrchr.c: New file.
13521 * string/test-memrchr-ifunc.c: New file.
13522 * string/Makefile: Add new memrchr testcase.
13523
bb8ea713
MF
135242013-09-05 Mike Frysinger <vapier@gentoo.org>
13525
13526 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
13527 fanotify_init returns EPERM.
13528
b92a20b5
JM
135292013-09-04 Joseph Myers <joseph@codesourcery.com>
13530
13531 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
13532 errors.
13533 (top level): Treat second token from macro or constant entries for
13534 allowed headers as allowed.
13535 * include/complex.h: Condition internal declarations on
13536 [!_ISOMAC].
13537 * include/fenv.h: Condition include of <stdbool.h> and internal
13538 declarations on [!_ISOMAC].
7447ccd9
CL
13539
135402013-09-04 Chris Leonard <cjl@sugarlabs,.org>
13541
3e181dda 13542 [BZ #15923]
7447ccd9
CL
13543 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
13544
3f2e46a4
JM
135452013-09-04 Joseph Myers <joseph@codesourcery.com>
13546
13547 * configure.in (--enable-versioning): Remove configure option.
13548 (libc_cv_asm_symver_directive): Remove configure test.
13549 (libc_cv_ld_version_script_option): Likewise.
13550 (VERSIONING): Remove variable and AC_SUBST.
13551 (DO_VERSIONING): Remove AC_DEFINE.
13552 * configure: Regenerated.
13553 * config.h.in (DO_VERSIONING): Remove macro.
13554 * Makerules [$(versioning) = yes]: Change conditionals to
13555 [$(build-shared) = yes].
13556 * config.make.in (versioning): Remove variable.
13557 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
13558 [$(build-shared) = yes].
13559 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
13560 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
13561 * elf/Makefile [$(versioning) = yes]: Change conditionals to
13562 [$(build-shared) = yes].
13563 * extra-lib.mk [$(versioning) = yes]: Likewise.
13564 * hurd/Makefile [$(versioning) = yes]: Likewise.
13565 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
13566 [SHARED].
13567 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
13568 [SHARED].
13569 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13570 [SHARED && !NO_HIDDEN].
13571 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
13572 [SHARED].
13573 [SHARED && DO_VERSIONING]: Likewise..
13574 * libio/Makefile [$(versioning) = yes]: Change conditionals to
13575 [$(build-shared) = yes].
13576 * manual/install.texi (--disable-versioning): Remove
13577 documentation.
13578 * INSTALL: Regenerated.
13579 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
13580 to [SHARED].
13581 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
13582 [$(build-shared) = yes].
13583 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
13584 * sysdeps/i386/i686/multiarch/strstr-c.c
13585 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13586 [SHARED && !NO_HIDDEN].
13587 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
13588 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
13589 * sysdeps/powerpc/powerpc32/dl-machine.c
13590 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
13591 * sysdeps/powerpc/powerpc32/sysdep.h
13592 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
13593 to [SHARED && PIC && !NO_HIDDEN].
13594 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
13595 conditional to [SHARED].
13596
44558701
WN
135972013-09-04 Will Newton <will.newton@linaro.org>
13598
13599 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
13600 * benchtests/bench-string.h: Include bench-timing.h instead
13601 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
13602 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
13603 call to HP_TIMING_DIFF_INIT.
13604 * benchtests/bench-memccpy.c: Use bench-timing.h macros
13605 instead of hp-timing.h macros.
13606 * benchtests/bench-memchr.c: Likewise.
13607 * benchtests/bench-memcmp.c: Likewise.
13608 * benchtests/bench-memcpy.c: Likewise.
13609 * benchtests/bench-memmem.c: Likewise.
13610 * benchtests/bench-memmove.c: Likewise.
13611 * benchtests/bench-memset.c: Likewise.
13612 * benchtests/bench-rawmemchr.c: Likewise.
13613 * benchtests/bench-strcasecmp.c: Likewise.
13614 * benchtests/bench-strcasestr.c: Likewise.
13615 * benchtests/bench-strcat.c: Likewise.
13616 * benchtests/bench-strchr.c: Likewise.
13617 * benchtests/bench-strcmp.c: Likewise.
13618 * benchtests/bench-strcpy.c: Likewise.
13619 * benchtests/bench-strcpy_chk.c: Likewise.
13620 * benchtests/bench-strlen.c: Likewise.
13621 * benchtests/bench-strncasecmp.c: Likewise.
13622 * benchtests/bench-strncat.c: Likewise.
13623 * benchtests/bench-strncmp.c: Likewise.
13624 * benchtests/bench-strncpy.c: Likewise.
13625 * benchtests/bench-strnlen.c: Likewise.
13626 * benchtests/bench-strpbrk.c: Likewise.
13627 * benchtests/bench-strrchr.c: Likewise.
13628 * benchtests/bench-strspn.c: Likewise.
13629 * benchtests/bench-strstr.c: Likewise.
13630
cae16d66
WN
136312013-09-04 Will Newton <will.newton@linaro.org>
13632
13633 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
13634
ffa3cd7f
JM
136352013-09-03 Joseph Myers <joseph@codesourcery.com>
13636
13637 [BZ #15427]
13638 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13639 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
13640 * math/libm-test.inc (lgamma_test_data): Add more tests.
13641 * sysdeps/i386/fpu/libm-test-ulps: Update.
13642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13643
8f02859f
OB
136442013-09-03 Ondřej Bílka <neleai@seznam.cz>
13645
13646 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
13647 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13648 Add ifunc.
13649 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13650 Add strcmp-sse2-unaligned
13651 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
13652
18d43716
MF
136532013-09-02 Mike Frysinger <vapier@gentoo.org>
13654
13655 * Versions.def (libc): Add GLIBC_2.19.
13656
ac444012
MF
136572013-09-02 Mike Frysinger <vapier@gentoo.org>
13658
13659 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
13660 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
13661
b7835e32
JM
136622013-09-02 Joseph Myers <joseph@codesourcery.com>
13663
13664 [BZ #14155]
13665 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
13666 intermediate calculations in recurrence.
13667 (__ieee754_ynf): Likewise.
13668 * math/libm-test.inc (jn_test_data): Do not allow spurious
13669 underflow exception. Add more tests.
13670 (yn_test_data): Add more tests.
13671 * sysdeps/i386/fpu/libm-test-ulps: Update.
13672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13673
8220f4f0
OB
136742013-09-02 Ondřej Bílka <neleai@seznam.cz>
13675
13676 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
13677
f24a6d08
OB
136782013-08-30 Ondřej Bílka <neleai@seznam.cz>
13679
13680 * csu/init-first.c: Fix then/than typos.
13681 * locale/programs/ld-collate.c: Likewise.
13682 * locale/programs/linereader.h: Likewise.
13683 * manual/charset.texi: Likewise.
13684 * manual/filesys.texi: Likewise.
13685 * manual/stdio.texi: Likewise.
13686 * manual/string.texi: Likewise.
13687 * stdlib/fmtmsg.c: Likewise.
13688 * sysdeps/i386/stpncpy.S: Likewise.
13689 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13690 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13691 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13692 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13693
382466e0
OB
136942013-08-30 Ondřej Bílka <neleai@seznam.cz>
13695
13696 * elf/dl-open.c: Fix typos.
13697 * iconvdata/gbbig5.c: Likewise.
13698 * iconvdata/iso-2022-jp.c: Likewise.
13699 * iconv/gconv_int.h: Likewise.
13700 * iconv/loop.c: Likewise.
13701 * nis/rpcsvc/nis.h: Likewise.
13702 * resolv/ns_name.c: Likewise.
13703 * stdio-common/vfscanf.c: Likewise.
13704 * streams/stropts.h: Likewise.
13705 * sunrpc/rpc_thread.c: Likewise.
13706 * sysdeps/i386/strpbrk.S: Likewise.
13707 * sysdeps/ieee754/k_standard.c: Likewise.
13708 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13709 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13710 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
13711 * sysdeps/mach/hurd/profil.c: Likewise.
13712 * sysdeps/s390/dl-procinfo.h: Likewise.
13713 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
13714 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13715 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
13716 * sysdeps/x86_64/dl-trampoline.S: Likewise.
13717 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13718
0186c6e9
OB
137192013-08-30 Ondřej Bílka <neleai@seznam.cz>
13720
13721 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
13722 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
13723
d4e16af1
OB
137242013-08-29 Ondřej Bílka <neleai@seznam.cz>
13725
13726 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
13727 aix specific files.
13728 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
13729 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
13730 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
13731 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
13732 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
13733 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
13734 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
13735 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
13736
88335980
TS
137372013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13738 Roland McGrath <roland@hack.frob.com>
13739
13740 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
13741 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13742
ed479b02
ST
137432013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
13744
13745 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
13746 __executable_start symbol instead of _start.
13747
f1cc4c86
TS
137482013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13749
d821f07c
TS
13750 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
13751 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
13752 Move macros to...
13753 * sysdeps/gnu/ldsodefs.h: ... this new file.
13754
c54290cf
TS
13755 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
13756 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
13757 instead of ELFOSABI_LINUX.
13758
0007fc9b 13759 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
13760 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
13761 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
13762 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
13763 Likewise.
13764 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
13765 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
13766 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
13767 Likewise.
13768 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13769 (ibm_extended_long_double): Add ieee_nan member.
13770 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
13771 (do_test): New function.
13772
f1cc4c86
TS
13773 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
13774 TEST_TRUNC.
13775 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
13776 functions, renamed from truncdfsf_test, trunctfsf_test,
13777 trunctfdf_test.
13778 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
13779 functions.
13780 (do_test): Run all these.
13781
6f65e668
OB
137822013-08-29 Ondřej Bílka <neleai@seznam.cz>
13783
13784 * argp/argp-help.c: Fix typos.
13785 * argp/argp-parse.c: Likewise.
13786 * debug/backtracesyms.c: Likewise.
13787 * elf/elf.h: Likewise.
13788 * malloc/malloc.c: Likewise.
13789 * nis/nis_print.c: Likewise.
13790 * resolv/res_comp.c: Likewise.
13791 * stdlib/stdlib.h: Likewise.
13792 * sunrpc/clnt_tcp.c: Likewise.
13793 * sunrpc/clnt_udp.c: Likewise.
13794 * sunrpc/clnt_unix.c: Likewise.
13795 * sysdeps/unix/bsd/ptsname.c: Likewise.
13796 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13797 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
13798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
13799 Likewise.
13800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
13801 Likewise.
13802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13803 Likewise.
6f65e668
OB
13804 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13805
3a309239
SP
138062013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13807
13808 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
13809 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13810
3b813b29
MF
138112013-08-27 Mike Frysinger <vapier@gentoo.org>
13812
13813 [BZ #15897]
13814 * dlfcn/Makefile (tests): Add bug-dl-leaf.
13815 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
13816 ($(objpfx)bug-dl-leaf): New rule.
13817 ($(objpfx)bug-dl-leaf.so): Likewise.
13818 ($(objpfx)bug-dl-leaf.out): Likewise.
13819 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
13820 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
13821 * dlfcn/bug-dl-leaf.c: New test.
13822 * dlfcn/bug-dl-leaf-lib.c: Likewise.
13823 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
13824 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
13825 (dlclose): Likewise.
13826 (dlmopen): Likewise.
13827
8cc3269f
RM
138282013-08-27 Roland McGrath <roland@hack.frob.com>
13829
7f9d0034
RM
13830 * include/netdb.h [!_ISOMAC]:
13831 Don't include <tls.h>.
13832 (h_errno, __libc_h_errno): Move declaration and macros out of
13833 [_LIBC_REENTRANT].
13834
fb431262
RM
13835 * include/resolv.h [_RESOLV_H_]:
13836 Don't include <tls.h>.
13837 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
13838 * resolv/res_libc.c: Don't include <tls.h>.
13839 (_res): Use __attribute__ ((nocommon)) in place of
13840 __attribute__ ((section (".bss"))).
13841
bd81123a
RM
13842 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
13843 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
13844
c4e42566
RM
13845 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
13846
f890a59b
RM
13847 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
13848 only under [SIOCGIFCONF && SIOCGIFNETMASK].
13849
13850 * resolv/res_mkquery.c: Include <sys/time.h>.
13851
5d1f0a09
RM
13852 * inet/ifreq.c: Moved to ...
13853 * sysdeps/unix/ifreq.c: ... here.
13854 * inet/ifreq.c: New file, true stub version.
13855
6fcf28b3
RM
13856 * socket/sa_len.c: New file.
13857 * socket/Makefile (aux): Add it.
13858 * sysdeps/unix/sysv/linux/Makefile
13859 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
13860 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
13861 and #include <socket/sa_len.c>.
13862 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
13863 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
13864
e041fb8b
RM
13865 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
13866 * bits/socket.h: ... here.
13867
8cc3269f
RM
13868 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
13869 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
13870 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
13871
5d228a43
AS
138722013-08-27 Andreas Schwab <schwab@suse.de>
13873
45b8accc
AS
13874 [BZ #15736]
13875 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
13876 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
13877 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
13878 * string/test-strcasecmp.c (test_main): Run tests in several
13879 locales.
13880 * string/test-strncasecmp.c (test_main): Likewise.
13881
5d228a43
AS
13882 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
13883 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
13884 to __strcasecmp_nonascii and __strncasecmp_nonascii.
13885 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
13886 (__strncasecmp_ssse3) [PIC]: Likewise.
13887
59d112a4
RM
138882013-08-26 Roland McGrath <roland@hack.frob.com>
13889
53234cc3
RM
13890 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
13891
59d112a4
RM
13892 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
13893 instead of explicitly declaring xdecrypt.
13894 * nis/nss_nis/nis-publickey.c: Likewise.
13895
595aba70
SP
138962013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13897
13898 [BZ #15890]
13899 * nscd/aicache.c: Include res_hconf.h.
13900 (addhstaiX): Initialize res_hconf.
13901
ffabd393
AS
139022013-08-26 Andreas Schwab <schwab@suse.de>
13903
13904 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
13905 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
13906
e0a69f5c
SP
139072013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13908
13909 * nscd/aicache.c (addhstaiX): Fix indentation.
13910
8c12f01d
MF
139112013-08-25 Mike Frysinger <vapier@gentoo.org>
13912
13913 * configure.ac: Quote $build_pt_chown test.
13914 * configure: Regenerated.
13915
8fe89494
JM
139162013-08-23 Joseph Myers <joseph@codesourcery.com>
13917
13918 [BZ #15532]
13919 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
13920 * math/s_cexpf.c (__cexpf): Likewise.
13921 * math/s_cexpl.c (__cexpl): Likewise.
13922 * math/libm-test.inc (cexp_test_data): Correct expected return
13923 value for NaN + i0. Add another test.
13924
75b181d6
DM
139252013-08-22 David S. Miller <davem@davemloft.net>
13926
13927 * po/ca.po: Update Catalan translation from translation project.
936241e4 13928 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 13929
acd06bb1
JM
139302013-08-21 Joseph Myers <joseph@codesourcery.com>
13931
13932 [BZ #15797]
13933 * math/s_fdim.c (__fdim): Check for infinite arguments if result
13934 is infinite, not alongside NaN test.
13935 * math/s_fdimf.c (__fdimf): Likewise.
13936 * math/s_fdiml.c (__fdiml): Likewise.
13937 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
13938 errno is unchanged.
13939
c0c3f78a
OB
139402013-08-21 Ondřej Bílka <neleai@seznam.cz>
13941
13942 * argp/argp-help.c: Fix typos.
13943 * crypt/speeds.c: Likewise.
13944 * csu/check_fds.c: Likewise.
13945 * elf/dl-load.c: Likewise.
13946 * elf/dl-open.c: Likewise.
13947 * elf/reldep3.c: Likewise.
13948 * elf/reldep.c: Likewise.
13949 * elf/sprof.c: Likewise.
13950 * iconv/iconv_charmap.c: Likewise.
13951 * iconv/skeleton.c: Likewise.
13952 * iconv/strtab.c: Likewise.
13953 * io/lockf64.c: Likewise.
13954 * libio/libioP.h: Likewise.
13955 * resolv/gai_notify.c: Likewise.
13956 * resolv/ns_name.c: Likewise.
13957 * resolv/ns_samedomain.c: Likewise.
13958 * resolv/res_send.c: Likewise.
13959 * stdlib/random.c: Likewise.
13960 * sunrpc/rpc/xdr.h: Likewise.
13961 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
13962 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13963 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13964 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13965 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13966 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13967 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13968 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13969 * sysdeps/mach/hurd/check_fds.c: Likewise.
13970 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13971 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13972 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13973 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13974 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13975 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13976 * sysdeps/pthread/aio_notify.c: Likewise.
13977 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
13978 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
13979 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
13980 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13981 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13982
46ed1038
LD
139832013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13984
13985 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
13986 version if bit_Slow_SSE4_2 is set.
13987 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13988 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13989
d400dcac
AZ
139902013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13991
13992 [BZ #15867]
13993 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
13994 trampoline stack frame information.
13995 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
13996 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
13997 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
13998 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
13999 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14000 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14001 (_libc_vdso_platform_setup): Initialize the signal trampolines.
14002 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14003 sa_flags value.
14004 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14005 interrupting a syscall and set with option SA_SIGINFO.
14006
42c8fdd8
JM
140072013-08-20 Joseph Myers <joseph@codesourcery.com>
14008
c980f2f4
JM
14009 [BZ #15531]
14010 * math/s_cproj.c (__cproj): Only return an infinity if one part of
14011 argument is infinite.
14012 * math/s_cprojf.c (__cprojf): Likewise.
14013 * math/s_cprojl.c (__cprojl): Likewise.
14014 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14015 * math/libm-test.inc (cproj_test_data): Add more tests.
14016
0716c4fc
JM
14017 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14018
42c8fdd8
JM
14019 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14020 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14021 size. Use __ffs to determine corresponding shift.
14022
b31469d0
JM
140232013-08-20 Joseph Myers <joseph@codesourcery.com>
14024 Roland McGrath <roland@hack.frob.com>
14025
14026 * Makefile (INSTALL): Remove trailing blank lines from output of
14027 makeinfo.
14028
4e39af6e
AK
140292013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14030
14031 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14032 Align 32 bit compat elf_greg to 8 bytes.
14033
f315524e
AA
140342013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14035
14036 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14037
1326ba1a
SP
140382013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14039
14040 * string/strcoll_l.c (coll_seq): New structure.
14041 (get_next_seq_cached): New function.
14042 (get_next_seq): New function.
14043 (do_compare): New function.
14044 (STRCOLL): Use GNU style definition. Simplify implementation
14045 by using get_next_seq, get_next_seq_cached and do_compare.
14046
91ce4085
FW
140472013-08-16 Florian Weimer <fweimer@redhat.com>
14048
14049 [BZ #14699]
14050 CVE-2013-4237
14051 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14052 member.
14053 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14054 member.
14055 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14056 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14057 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
14058 conditional.
14059 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14060 GETDENTS_64BIT_ALIGNED.
14061 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14062 * manual/filesys.texi (Reading/Closing Directory): Document
14063 ENAMETOOLONG return value of readdir_r. Recommend readdir more
14064 strongly.
14065 * manual/conf.texi (Limits for Files): Add portability note to
14066 NAME_MAX, PATH_MAX.
14067 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14068
ca0a6bc4
AS
140692013-08-13 Andreas Schwab <schwab@suse.de>
14070
14071 [BZ #15749]
14072 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14073 of fabs.
14074 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14075 LDBL_MAX_EXP >= 16384]: Add tests for it.
14076
6c1fd795
DM
140772013-08-12 David S. Miller <davem@davemloft.net>
14078
14079 * version.h (RELEASE): Set to "development".
14080 (VERSION): Set to "2.18.90".
14081 * NEWS: Add 2.19 section.
14082
31ad488d
DM
140832013-08-03 David S. Miller <davem@davemloft.net>
14084
14085 * po/ko.po: Update Korean translation from translation project.
14086
db24e684
DM
140872013-08-01 David S. Miller <davem@davemloft.net>
14088
14089 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
14090 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14091 Bilka.
14092
f723285b
DM
140932013-07-30 David S. Miller <davem@davemloft.net>
14094
14095 * po/fr.po: Update French translation from translation project.
14096
3cbc52db
DM
140972013-07-28 David S. Miller <davem@davemloft.net>
14098
30bbc0cc
DM
14099 * po/cs.po: Update Czech translation from translation project.
14100
3cbc52db
DM
14101 * po/sv.po: Update Swedish translation from translation project.
14102
d492e6d0
DM
141032013-07-27 David S. Miller <davem@davemloft.net>
14104
f1a7f492
DM
14105 * po/eo.po: Update Esperanto translation from translation project.
14106
90e62a4a
DM
14107 * po/vi.po: Update Vietnamese translation from translation project.
14108
d492e6d0
DM
14109 * po/de.po: Update German translation from translation project.
14110
d4baa62d
DM
141112013-07-26 David S. Miller <davem@davemloft.net>
14112
641aa7b4
DM
14113 * po/bg.po: Update Bulgarian translation from translation project.
14114
d4baa62d
DM
14115 * po/nl.po: Update Dutch translation from translation project.
14116 * po/pl.po: Update Polish translation from translation project.
14117 * po/ru.po: Update Russian translation from translation project.
14118
61a9dcb9
DM
141192013-07-24 David S. Miller <davem@davemloft.net>
14120
14121 * po/libc.pot: Update.
14122
7b1f8b58
AZ
141232013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14124
14125 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14126 variable page size.
14127 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14128 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14129 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14130
a8fc7a03
AK
141312013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14132
14133 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14134
e4608715
CD
141352013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14136 Andreas Schwab <schwab@suse.de>
14137 Roland McGrath <roland@hack.frob.com>
14138 Joseph Myers <joseph@codesourcery.com>
14139 Carlos O'Donell <carlos@redhat.com>
14140
14141 [BZ #15755]
14142 * config.h.in: Define HAVE_PT_CHOWN.
14143 * config.make.in (build-pt-chown): New variable.
14144 * configure.in (--enable-pt_chown): New configure option.
14145 * configure: Regenerate.
14146 * login/Makefile: Include Makeconfig. Build pt_chown only if
14147 build-pt-chown is enabled.
14148 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14149 pt_chown to fix pty ownership.
14150 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14151 CLOSE_ALL_FDS.
14152 * manual/install.texi (Configuring and compiling): Mention
14153 --enable-pt_chown. Add @findex for grantpt.
14154 * INSTALL: Regenerate.
14155
da2d62df
DM
141562013-07-20 David S. Miller <davem@davemloft.net>
14157
14158 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14159 difference between 32-bit and 64-bit.
14160
d7e06450
CD
141612013-07-15 Carlos O'Donell <carlos@redhat.com>
14162
14163 [BZ #15711]
14164 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14165 Avoid system header dependency with -ffreestanding.
14166 ($(objpfx)bits/syscall%d): Likewise.
14167
f959cfd7
DM
141682013-07-13 David S. Miller <davem@davemloft.net>
14169
14170 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14171 underflows from atanl/atan2l due to bug 15319.
14172 (casinh_test_data): Likewise.
14173
c61f8513
DM
141742013-07-07 David S. Miller <davem@davemloft.net>
14175
14176 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14177
72c90ed0
JA
141782013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
14179
14180 * sysdeps/i386/fpu/libm-test-ulps: Update.
14181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14182
52dfbe13
SP
141832013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14184
14185 * configure.in (--enable-lock-elision): Fix message text.
14186 * INSTALL: Regenerate.
14187 * configure: Regenerate.
14188
3f169543
AZ
141892013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14190
14191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14192
521c6785
AJ
141932013-07-03 Andreas Jaeger <aj@suse.de>
14194
14195 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14196 define.
14197 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14198 (ptrace_peeksiginfo_args): Add.
14199 (__ptrace_peeksiginfo_flags): Add.
14200 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14201 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14202 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14203
d2cc15cb
AM
142042013-07-03 Allan McRae <allan@archlinux.org>
14205
14206 * sysdeps/i386/fpu/libm-test-ulps: Update.
14207
3aaeeca7
DM
142082013-07-02 David S. Miller <davem@davemloft.net>
14209
14210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14211
5314ed1a
MT
142122013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
14213
14214 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14215
67338156
JM
142162013-07-02 Joseph Myers <joseph@codesourcery.com>
14217
14218 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14220
1717da59
AK
142212013-07-02 Andi Kleen <ak@linux.intel.com>
14222
14223 * config.h.in (ENABLE_LOCK_ELISION): Add.
14224 * configure.in (--enable-lock-elision): Add option.
14225 * manual/install.texi: Document --enable lock elision.
14226 * configure: Regenerate
14227 * INSTALL: Regenerate.
14228
1c81621c
L
142292013-07-02 H.J. Lu <hongjiu.lu@intel.com>
14230
14231 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14232 SSE4.2 strcasecmp for libc.a.
14233 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14234
77f01ab5
JM
142352013-07-02 Joseph Myers <joseph@codesourcery.com>
14236
14237 [BZ #13304]
14238 * soft-fp/op-common.h (_FP_FMA): New macro.
14239 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14240 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
14241 (_FP_MUL_MEAT_1_imm): ... here.
14242 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
14243 (_FP_MUL_MEAT_1_wide): ... here.
14244 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
14245 (_FP_MUL_MEAT_1_hard): ... here.
14246 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14247 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
14248 (_FP_MUL_MEAT_2_wide): ... here.
14249 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
14250 (_FP_MUL_MEAT_2_wide_3mul): ... here.
14251 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
14252 (_FP_MUL_MEAT_2_gmp): ... here.
14253 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14254 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
14255 (_FP_MUL_MEAT_4_wide): ... here.
14256 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
14257 (_FP_MUL_MEAT_4_gmp): ... here.
14258 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14259 (_FP_WFRACBITS_DW_S): Likewise.
14260 (_FP_WFRACXBITS_DW_S): Likewise.
14261 (_FP_HIGHBIT_DW_S): Likewise.
14262 (FP_FMA_S): Likewise.
14263 (_FP_FRAC_HIGH_DW_S): Likewise.
14264 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14265 (_FP_WFRACBITS_DW_D): Likewise.
14266 (_FP_WFRACXBITS_DW_D): Likewise.
14267 (_FP_HIGHBIT_DW_D): Likewise.
14268 (FP_FMA_D): Likewise.
14269 (_FP_FRAC_HIGH_DW_D): Likewise.
14270 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14271 (_FP_WFRACBITS_DW_E): Likewise.
14272 (_FP_WFRACXBITS_DW_E): Likewise.
14273 (_FP_HIGHBIT_DW_E): Likewise.
14274 (FP_FMA_E): Likewise.
14275 (_FP_FRAC_HIGH_DW_E): Likewise.
14276 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14277 (_FP_WFRACBITS_DW_Q): Likewise.
14278 (_FP_WFRACXBITS_DW_Q): Likewise.
14279 (_FP_HIGHBIT_DW_Q): Likewise.
14280 (FP_FMA_Q): Likewise.
14281 (_FP_FRAC_HIGH_DW_Q): Likewise.
14282 * soft-fp/fmasf4.c: New file.
14283 * soft-fp/fmadf4.c: Likewise.
14284 * soft-fp/fmatf4.c: Likewise.
14285
6308fd9a
LD
142862013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14287
14288 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14289 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14290 Silvermont.
14291 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14292 macro.
14293 (index_Slow_SSE4_2): Likewise.
14294 (index_Prefer_PMINUB_for_stringop): Likewise.
14295 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14296 bit_Slow_SSE4_2 is set.
14297 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14298 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14299
89cd9569
RA
143002013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14301
14302 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14303 rtld_global._dl_hwcap2.
14304 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14305 POWER8.
14306 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14307 POWER8 feature descriptions defined in _dl_hwcap2.
14308 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14309 string handling for POWER8 feature bits.
14310 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14311 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14312 _dl_powerpc_cap_flags.
14313 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14314 * sysdeps/powerpc/rtld-global-offsets.sym
14315 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14316 _dl_hwcap2 in the rtld_global_ro structure.
14317
1ae8bfe0
RA
143182013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14319
14320 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14321 hardware capabilities in support of AT_HWCAP2.
14322 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14323 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14324 GLRO(dl_hwcap2).
14325 (_dl_show_auxv): Add support for calling _dl_procinfo to display
14326 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
14327 explicitly the unknown a_type display mechanism is used.
14328 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14329 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14330 struct member.
14331 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14332 to macro prototype for AT_HWCAP2 support.
14333 * sysdeps/i386/dl-procinfo.h: Likewise.
14334 * sysdeps/s390/dl-procinfo.h: Likewise.
14335 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14336 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
14337 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
14338 return -1 for unknown a_type display fallback.
14339 * sysdeps/sparc/dl-procinfo.h: Likewise.
14340 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14341 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14342
8fbec010
JM
143432013-06-28 Joseph Myers <joseph@codesourcery.com>
14344
14345 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14346 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14347
0432680e
PY
143482013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
14349
14350 [BZ #12492]
14351 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14352 mprotect making __stack_prot writable.
14353
ce61a2ad
NF
143542013-06-28 Nathan Froyd <froydnj@codesourcery.com>
14355 Joseph Myers <joseph@codesourcery.com>
14356
14357 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14358 as being properly aligned.
14359
f91f1c0f
MR
143602013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
14361
3d0f5d0c
MR
14362 * dlfcn/modstatic5.c: New file.
14363 * dlfcn/tststatic5.c: New file.
14364 * dlfcn/Makefile (tests): Add tststatic5.
14365 (tests-static): Likewise.
14366 (modules-names): Add modstatic5.
14367 (tststatic5-ENV): New variable.
14368 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14369
f91f1c0f
MR
14370 [BZ #15022]
14371 * elf/dl-support.c (_dl_main_map): New variable.
14372 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14373 (_dl_nns, _dl_load_adds): Set to 1.
14374 (_dl_initial_searchlist): Refer to _dl_main_map.
14375 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14376 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14377 call to _dl_get_origin.
14378 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14379 around call_map.
14380 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14381 * dlfcn/modstatic3.c: New file.
14382 * dlfcn/tststatic3.c: New file.
14383 * dlfcn/tststatic4.c: New file.
14384 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14385 (tests-static): Likewise.
14386 (modules-names): Add modstatic3.
14387 (tststatic3-ENV, tststatic4-ENV): New variables.
14388 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14389 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14390
cbe7d24b
JM
143912013-06-26 Joseph Myers <joseph@codesourcery.com>
14392
14393 * configure.in (CC): Require GCC version 4.4 or later.
14394 * configure: Regenerated.
14395 * manual/install.texi (Tools for Compilation): Update GCC version
14396 requirement.
14397 * INSTALL: Regenerated.
14398
11b8a0e1
LD
143992013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14400
14401 [BZ #15674]
bb5bb87c
L
14402 * string/test-memcmp.c (check2): New.
14403 (main): Call check2.
14404
11b8a0e1
LD
14405 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14406
b0037103
MR
144072013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
14408
14409 [BZ #15022]
14410 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14411 over to...
14412 (dl_open_worker) [!SHARED]: ... here.
14413
c18c701d
RA
144142013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14415
14416 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14417
1d17fa5f
RH
144182013-06-25 Richard Henderson <rth@redhat.com>
14419
14420 * locale/programs/locarchive.c: Include <libc-internal.h>
14421
8fcb833a
JM
144222013-06-25 Joseph Myers <joseph@codesourcery.com>
14423
14424 * manual/texinfo.tex: Update to version 2013-06-21.17, with
14425 trailing whitespace removed.
14426
17db6e8d
MF
144272013-06-24 Mike Frysinger <vapier@gentoo.org>
14428
14429 [BZ #10283]
17db6e8d
MF
14430 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14431 * locale/programs/locarchive.c: Include libc-mmap.h.
14432 (prepare_address_space): Take two new outputs (the mmap base and len).
14433 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
14434 values.
14435 (create_archive): Declare new mmap base and len values for
14436 prepare_address_space, and store the result in ah.
14437 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14438 (enlarge_archive): If ah->mmap_base is not NULL, use that and
14439 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14440 Declare new mmap base and len values for
14441 prepare_address_space, and store the result in new_ah.
14442 (open_archive): Declare new mmap base and len values for
14443 prepare_address_space, and store the result in ah.
14444 (close_archive): If ah->mmap_base is not NULL, use that and
14445 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14446 * sysdeps/generic/libc-mmap.h: New file.
14447
d605071e
MF
144482013-06-24 Mike Frysinger <vapier@gentoo.org>
14449
14450 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
14451 (ALIGN_UP): Likewise.
14452 (PTR_ALIGN_DOWN): Likewise.
14453 (PTR_ALIGN_UP): Likewise.
14454
2f063a6e
RA
144552013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14456
14457 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
14458 entry mapped to PPC_PLATFORM_POWER8.
14459 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
14460 POWER8.
14461 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
14462 (_dl_string_platform): Add case for exporting platform position for
14463 POWER8.
14464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
14465 search path to sysdeps/powerpc/powerpc32/power8 directory.
14466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
14467 search path to sysdeps/powerpc/powerpc64/power8 directory.
14468 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
14469 power7 directories.
14470 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
14471 power7 directories.
14472
a31ee4b3
SP
144732013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14474
a74ca98f
SP
14475 * INSTALL: Regenerate.
14476
a31ee4b3
SP
14477 * nscd/connections.c (nscd_init): Fix comment.
14478
695c378f
JM
144792013-06-22 Joseph Myers <joseph@codesourcery.com>
14480
d8412221
JM
14481 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
14482
695c378f
JM
14483 [BZ #15667]
14484 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
14485 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
14486
d1d54715
MR
144872013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14488
14489 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
14490 DL_DST_REQ_STATIC.
14491 (DL_DST_REQ_STATIC): Remove macro.
14492
8fdda7af
JM
144932013-06-21 Joseph Myers <joseph@codesourcery.com>
14494
14495 [BZ #7006]
14496 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
14497 with a shift of 0 bits.
14498
f3bc5e5a
MR
144992013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14500
14501 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
14502 $(tststatic-ENV).
14503
be09e8c9
KK
145042013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14505
14506 [BZ #15655]
14507 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
14508
85c2e611
AZ
145092013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14510
14511 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
14512 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
14513 accepts -fno-tree-loop-distribute-patterns.
14514 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
14515 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
14516 recursive call.
14517 * string/memset.c (memset): Likewise.
14518 * string/test-memmove.c (simple_memmove): Disable loop transformation
14519 to library calls.
14520 * string/test-memset.c (simple_memset): Likewise.
14521 * benchtests/bench-memmove.c (simple_memmove): Likewise.
14522 * benchtests/bench-memset.c (simple_memset): Likewise.
14523 * configure: Regenerated.
14524
c91e0825
JM
145252013-06-20 Joseph Myers <joseph@codesourcery.com>
14526
b8c792af
JM
14527 * math/test-misc.c (main): Ignore fesetround failure when failures
14528 of subsequent rounding tests would be ignored.
14529
c91e0825
JM
14530 [BZ #15654]
14531 * math/fedisblxcpt.c (fedisableexcept): Return 0.
14532 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
14533 * math/fegetenv.c (__fegetenv): Return 0.
14534 * math/fegetexcept.c (fegetexcept): Return 0.
14535 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
14536 FE_TONEAREST.
14537 * math/feholdexcpt.c (feholdexcept): Return 0.
14538 * math/fesetenv.c (__fesetenv): Return 0.
14539 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
14540 argument FE_TONEAREST.
14541 * math/feupdateenv.c (__feupdateenv): Return 0.
14542 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
14543
bfcacbde
RM
145442013-06-18 Roland McGrath <roland@hack.frob.com>
14545
14546 * elf/rtld-Rules (rtld-compile-command.S): New variable.
14547 (rtld-compile-command.s, rtld-compile-command.c): New variables.
14548 ($(objpfx)rtld-%.os rules): Use them.
14549
e55a9b25
AZ
145502013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14551
14552 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
14553 fields.
14554
346d65b3
RM
145552013-06-17 Roland McGrath <roland@hack.frob.com>
14556
12086fb4
RM
14557 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
14558 length of target pattern, then descending length of dependency pattern.
14559 * configure.in (AWK): Require gawk 3.1.2 or newer.
14560 * manual/install.texi (Tools for Compilation): Say that we do.
14561 * configure: Regenerated.
14562
346d65b3
RM
14563 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
14564 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
14565 * scripts/sysd-rules.awk: ... this new script.
14566 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
14567 than a glob-style pattern.
14568
1a846317
JM
145692013-06-17 Joseph Myers <joseph@codesourcery.com>
14570
14571 * math/test-misc.c (main): Do not treat incorrectly rounded
14572 conversions as failure unless ROUNDING_TESTS passes.
14573
8fc75e6f
JM
145742013-06-15 Joseph Myers <joseph@codesourcery.com>
14575
3711a167
JM
14576 [BZ #15631]
14577 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
14578 restore exception state around main square root computation, then
14579 check for inexactness explicitly.
14580
8fc75e6f
JM
14581 * math/libm-test.inc (fma_test_data): Add another test.
14582
61dd6208
SP
145832013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14584
adf23d2c
SP
14585 * manual/threads.texi (Non-POSIX Extensions): New document
14586 node. Document pthread_getattr_default_np and
14587 pthread_setattr_default_np.
14588
61dd6208
SP
14589 * Versions.def (libpthread): Add GLIBC_2.18.
14590 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
14591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14592 Likewise.
14593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14594 Likewise.
14595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14596 Likewise.
14597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14598 Likewise.
14599 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
14600 Likewise.
14601 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14602 Likewise.
14603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14604 Likewise.
14605 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14606 Likewise.
14607 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14608 Likewise.
14609
d086fc7b
LD
146102013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14611
14612 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14613 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
14614
747ef469
SP
146152013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14616 H.J. Lu <hjl.tools@gmail.com>
14617
14618 [BZ #15627]
14619 * sysdeps/x86_64/rtld-memset.c: Remove file.
14620 * sysdeps/x86_64/rtld-memset.S: New file.
14621
1b2feed2
JM
146222013-06-14 Joseph Myers <joseph@codesourcery.com>
14623
14624 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
14625 (test_in_one_mode): Take arguments for whether the rounding mode
14626 is supported for each floating-point type.
14627 (do_test): Pass new arguments to test_in_one_mode using
14628 ROUNDING_TESTS.
14629
a58ad3f8
RM
146302013-06-13 Roland McGrath <roland@hack.frob.com>
14631
14632 * posix/tst-waitid.c (do_test): Distinguish different instances of
14633 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
14634 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
14635 before entering the kernel for waitpid.
14636
c204ab28
SP
146372013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14638
14639 * NEWS: Fix note on clock function precision. Text by Roland
14640 McGrath.
14641
f4a29fba
RM
146422013-06-13 Roland McGrath <roland@hack.frob.com>
14643
14644 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
14645 it into place only when and if the sanity check passes.
14646
1f24b9ad
JM
146472013-06-13 Joseph Myers <joseph@codesourcery.com>
14648
14649 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
14650 output for whether conversion result is exact. Take argument
14651 indicating whether type is IBM long double.
14652 (round_for_all): Change need_exact field to ibm_ld.
14653 * stdlib/tst-strtod-round.c (struct exactness): New type.
14654 (struct test): Change bool ld_ok field to struct exactness exact.
14655 (TEST): Update all definitions for change to field.
14656 (tests): Regenerate array contents.
14657 (test_in_one_mode): Take pointer to new field instead of old ld_ok
14658 field value. Check for IBM long double here.
14659 (do_test): Update calls to test_in_one_mode.
14660
58206c68
SP
146612013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14662
14663 [BZ #12515]
14664 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
14665 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
14666
2d6f4c5b 146672013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
14668
14669 [BZ #15605]
14670 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
14671 generated by the compiler on loop optimizations.
14672 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
14673 general definitions.
14674
94f2c076
JM
146752013-06-12 Joseph Myers <joseph@codesourcery.com>
14676
14677 * math/bug-nextafter.c: Include <math-tests.h>.
14678 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14679 the relevant type.
14680 * math/bug-nexttoward.c: Include <math-tests.h>.
14681 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14682 the relevant type.
14683 * math/test-misc.c: Include <math-tests.h>.
14684 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14685 the relevant type.
14686
e0e50a0a
AJ
146872013-06-12 Andreas Jaeger <aj@suse.de>
14688
14689 * po/ia.po: Update Interlingua translation from translation
14690 project.
14691
25061094
SP
146922013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14693
14694 * include/fenv.h: Include stdbool.h.
14695 (struct rm_ctx): New structure.
14696 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
14697 Define macro.
14698 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
14699 (SET_RESTORE_ROUNDF): Likewise.
14700 (SET_RESTORE_ROUNDL): Likewise.
14701 (SET_RESTORE_ROUND_NOEX): Likewise.
14702 (SET_RESTORE_ROUND_NOEXF): Likewise.
14703 (SET_RESTORE_ROUND_NOEXL): Likewise.
14704 (SET_RESTORE_ROUND_53BIT): Likewise.
14705 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
14706 (libc_feresetround_noexf_ctx): Likewise.
14707 (libc_feresetround_noexl_ctx): Likewise.
14708 (libc_feholdsetround_53bit_ctx): Likewise.
14709 (libc_feresetround_53bit_ctx): Likewise.
14710 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
14711 (libc_feholdexcept_setround_sse_ctx): New function.
14712 (libc_fesetenv_sse_ctx): Likewise.
14713 (libc_feupdateenv_sse_ctx): Likewise.
14714 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
14715 (libc_feholdexcept_setround_387_ctx): Likewise.
14716 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
14717 (libc_feholdsetround_387_prec_ctx): Likewise.
14718 (libc_feholdsetround_387_ctx): Likewise.
14719 (libc_feholdsetround_387_53bit_ctx): Likewise.
14720 (libc_feholdsetround_sse_ctx): Likewise.
14721 (libc_feresetround_sse_ctx): Likewise.
14722 (libc_feresetround_387_ctx): Likewise.
14723 (libc_feupdateenv_387_ctx): Likewise.
14724 (libc_feholdexcept_setroundf_ctx): Define macro.
14725 (libc_fesetenvf_ctx): Likewise.
14726 (libc_feupdateenvf_ctx): Likewise.
14727 (libc_feholdsetroundf_ctx): Likewise.
14728 (libc_feresetroundf_ctx): Likewise.
14729 (libc_feholdexcept_setround_ctx): Likewise.
14730 (libc_fesetenv_ctx): Likewise.
14731 (libc_feupdateenv_ctx): Likewise.
14732 (libc_feholdsetround_ctx): Likewise.
14733 (libc_feresetround_ctx): Likewise.
14734 (libc_feholdexcept_setroundl_ctx): Likewise.
14735 (libc_feupdateenvl_ctx): Likewise.
14736 (libc_feholdsetroundl_ctx): Likewise.
14737 (libc_feresetroundl_ctx): Likewise.
14738 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
14739 (libc_feresetround_53bit_ctx): Likewise.
14740
59b30555
SP
147412013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14742
14743 * locale/iso-639.def: Convert to UTF-8.
14744
f1d73d30
JM
147452013-06-11 Joseph Myers <joseph@codesourcery.com>
14746
14747 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
14748 (EXCEPTION_TESTS_double): Likewise.
14749 (EXCEPTION_TESTS_long_double): Likewise.
14750 (EXCEPTION_TESTS): Likewise.
14751 * math/libm-test.inc (test_exceptions): Only test exceptions if
14752 EXCEPTION_TESTS (FLOAT).
14753
94aca5e7
SP
147542013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14755
14756 * benchtests/Makefile (string-bench): Add strcpy_chk and
14757 stpcpy_chk.
14758 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
14759 * benchtests/bench-stpcpy_chk.c: New file.
14760 * benchtests/bench-strcpy_chk-ifunc.c: New file.
14761 * benchtests/bench-strcpy_chk.c: New file.
14762 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
14763 code.
14764 (do_test): Likewise.
14765
fac0c5f2
RA
147662013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14767
14768 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
14769 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
14770 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
14771 with tabs where appropriate.
14772 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
14773 dl-procinfo.h.
14774 [PPC_PLATFORM_PPC440]: Likewise.
14775 [PPC_PLATFORM_PPC464]: Likewise.
14776 [PPC_PLATFORM_PPC476]: Likewise.
14777 (_dl_string_platform): Add support for detecting ppc405, ppc440,
14778 ppc464, and ppc476 platform strings merging from ports/
14779 dl-procinfo.h.
14780
f22bc486
AS
147812013-06-11 Andreas Schwab <schwab@suse.de>
14782
14783 [BZ #14991]
14784 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
14785 (from_ucs4_idx): Regenerate.
14786 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
14787 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
14788 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
14789 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
14790 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
14791 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
14792 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
14793 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
14794 from FROM_LOOP and TO_LOOP specific macros.
14795 (BODY): Handle combining characters.
14796 * iconvdata/BIG5HKSCS.irreversible: Update.
14797 * iconvdata/BIG5HKSCS.precomposed: New file.
14798 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
14799 characters.
14800 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
14801
c1f75dc3
SP
148022013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14803
4eacded2
SP
14804 * include/sys/time.h: Fix indentation and add copyright header.
14805
fec799f8
SP
14806 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
14807 (do_test): Likewise.
14808 * string/test-memchr.c (do_one_test): Likewise.
14809 (do_test): Likewise.
14810 * string/test-memcmp.c (do_one_test): Likewise.
14811 (do_test): Likewise.
14812 * string/test-memcpy.c (do_one_test): Likewise.
14813 (do_test): Likewise.
14814 * string/test-memmem.c (do_one_test): Likewise.
14815 (do_test): Likewise.
14816 (do_random_tests): Likewise.
14817 * string/test-memmove.c (do_one_test): Likewise.
14818 (do_test): Likewise.
14819 * string/test-memset.c (do_one_test): Likewise.
14820 (do_test): Likewise.
14821 * string/test-rawmemchr.c (do_one_test): Likewise.
14822 (do_test): Likewise.
14823 * string/test-strcasecmp.c (do_one_test): Likewise.
14824 (do_test): Likewise.
14825 * string/test-strcasestr.c (do_one_test): Likewise.
14826 (do_test): Likewise.
14827 * string/test-strcat.c (do_one_test): Likewise.
14828 (do_test): Likewise.
14829 * string/test-strchr.c (do_one_test): Likewise.
14830 (do_test): Likewise.
14831 * string/test-strcmp.c (do_one_test): Likewise.
14832 (do_test): Likewise.
14833 * string/test-strcpy.c (do_one_test): Likewise.
14834 (do_test): Likewise.
14835 * string/test-string.h: Likewise.
14836 (test_init): Likewise.
14837 * string/test-strlen.c (do_one_test): Likewise.
14838 (do_test): Likewise.
14839 * string/test-strncasecmp.c (do_one_test): Likewise.
14840 (do_test): Likewise.
14841 * string/test-strncat.c (do_one_test): Likewise.
14842 (do_test): Likewise.
14843 * string/test-strncmp.c (do_one_test): Likewise.
14844 (do_test_limit): Likewise.
14845 (do_test): Likewise.
14846 * string/test-strncpy.c (do_one_test): Likewise.
14847 (do_test): Likewise.
14848 * string/test-strnlen.c (do_one_test): Likewise.
14849 (do_test): Likewise.
14850 * string/test-strpbrk.c (do_one_test): Likewise.
14851 (do_test): Likewise.
14852 * string/test-strrchr.c (do_one_test): Likewise.
14853 (do_test): Likewise.
14854 * string/test-strspn.c (do_one_test): Likewise.
14855 (do_test): Likewise.
14856 * string/test-strstr.c (do_one_test): Likewise.
14857 (do_test): Likewise.
14858
97020474
SP
14859 * benchtests/Makefile (string-bench): Add string benchmarks.
14860 * benchtests/bench-bcopy-ifunc.c: New file.
14861 * benchtests/bench-bcopy.c: New file.
14862 * benchtests/bench-bzero-ifunc.c: New file.
14863 * benchtests/bench-bzero.c: New file.
14864 * benchtests/bench-memccpy-ifunc.c: New file.
14865 * benchtests/bench-memccpy.c: New file.
14866 * benchtests/bench-memchr-ifunc.c: New file.
14867 * benchtests/bench-memchr.c: New file.
14868 * benchtests/bench-memcmp-ifunc.c: New file.
14869 * benchtests/bench-memcmp.c: New file.
14870 * benchtests/bench-memmem-ifunc.c: New file.
14871 * benchtests/bench-memmem.c: New file.
14872 * benchtests/bench-memmove-ifunc.c: New file.
14873 * benchtests/bench-memmove.c: New file.
14874 * benchtests/bench-mempcpy-ifunc.c: New file.
14875 * benchtests/bench-mempcpy.c: New file.
14876 * benchtests/bench-memset-ifunc.c: New file.
14877 * benchtests/bench-memset.c: New file.
14878 * benchtests/bench-rawmemchr-ifunc.c: New file.
14879 * benchtests/bench-rawmemchr.c: New file.
14880 * benchtests/bench-stpcpy-ifunc.c: New file.
14881 * benchtests/bench-stpcpy.c: New file.
14882 * benchtests/bench-stpncpy-ifunc.c: New file.
14883 * benchtests/bench-stpncpy.c: New file.
14884 * benchtests/bench-strcasecmp-ifunc.c: New file.
14885 * benchtests/bench-strcasecmp.c: New file.
14886 * benchtests/bench-strcasestr-ifunc.c: New file.
14887 * benchtests/bench-strcasestr.c: New file.
14888 * benchtests/bench-strcat-ifunc.c: New file.
14889 * benchtests/bench-strcat.c: New file.
14890 * benchtests/bench-strchr-ifunc.c: New file.
14891 * benchtests/bench-strchr.c: New file.
14892 * benchtests/bench-strchrnul-ifunc.c: New file.
14893 * benchtests/bench-strchrnul.c: New file.
14894 * benchtests/bench-strcmp-ifunc.c: New file.
14895 * benchtests/bench-strcmp.c: New file.
14896 * benchtests/bench-strcpy-ifunc.c: New file.
14897 * benchtests/bench-strcpy.c: New file.
14898 * benchtests/bench-strcspn-ifunc.c: New file.
14899 * benchtests/bench-strcspn.c: New file.
14900 * benchtests/bench-strlen-ifunc.c: New file.
14901 * benchtests/bench-strlen.c: New file.
14902 * benchtests/bench-strncasecmp-ifunc.c: New file.
14903 * benchtests/bench-strncasecmp.c: New file.
14904 * benchtests/bench-strncat-ifunc.c: New file.
14905 * benchtests/bench-strncat.c: New file.
14906 * benchtests/bench-strncmp-ifunc.c: New file.
14907 * benchtests/bench-strncmp.c: New file.
14908 * benchtests/bench-strncpy-ifunc.c: New file.
14909 * benchtests/bench-strncpy.c: New file.
14910 * benchtests/bench-strnlen-ifunc.c: New file.
14911 * benchtests/bench-strnlen.c: New file.
14912 * benchtests/bench-strpbrk-ifunc.c: New file.
14913 * benchtests/bench-strpbrk.c: New file.
14914 * benchtests/bench-strrchr-ifunc.c: New file.
14915 * benchtests/bench-strrchr.c: New file.
14916 * benchtests/bench-strspn-ifunc.c: New file.
14917 * benchtests/bench-strspn.c: New file.
14918 * benchtests/bench-strstr-ifunc.c: New file.
14919 * benchtests/bench-strstr.c: New file.
14920
c1f75dc3
SP
14921 * benchtests/Makefile: Disable parallel execution of targets.
14922 (string-bench): Add memcpy.
14923 (benchset): New variable to store a list of benchmark sets.
14924 (bench-func): Renamed from bench.
14925 (bench-set): New target.
14926 (bench): Depend on bench-func and bench-set.
14927 * benchtests/README: Add section on benchmark sets.
14928 * benchtests/bench-memcpy-ifunc.c: New file.
14929 * benchtests/bench-memcpy.c: New file.
14930 * benchtests/bench-string.h: New file.
14931
50fd745b
AS
149322013-06-11 Andreas Schwab <schwab@suse.de>
14933
14934 [BZ #15577]
14935 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
14936 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
14937 values in the triple.
14938 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
14939 terminator in the group key.
14940
3ee7e9fe
AJ
149412013-06-11 Andreas Jaeger <aj@suse.de>
14942
14943 * po/zh_TW.po: Update Chinese (traditional) translation from
14944 translation project.
14945
89fb6835
SP
149462013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14947
14948 * include/time.h (__clock_gettime): Add libc_hidden_proto.
14949 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
14950 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
14951 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14952 (clock_getcpuclockid): Likewise.
14953 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
14954 Add weak_alias and libc_hidden_def.
14955 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
14956 * rt/clock_gettime.c (clock_gettime): Rename to
14957 __clock_gettime. Add weak_alias and libc_hidden_def.
14958 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
14959 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
14960 __clock_nanosleep. Add weak_alias and libc_hidden_def.
14961 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
14962 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
14963 Likewise.
14964 * rt/clock_settime.c (clock_settime): Rename to
14965 __clock_settime. Add weak_alias and libc_hidden_def.
14966 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
14967
0efa6f8b
JM
149682013-06-10 Joseph Myers <joseph@codesourcery.com>
14969
b8c61b4b
JM
14970 * mach/err_boot.sub: Remove trailing whitespace.
14971 * mach/err_ipc.sub: Likewise.
14972 * mach/err_mach.sub: Likewise.
14973
0efa6f8b
JM
14974 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
14975 (ROUNDING_TESTS_double): Likewise.
14976 (ROUNDING_TESTS_long_double): Likewise.
14977 (ROUNDING_TESTS): Likewise.
14978 * math/libm-test.inc: Include <math-tests.h>.
14979 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
14980 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14981 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14982 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14983
50b818bf
SP
149842013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14985
14986 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
14987 of assigning.
14988
60d2f8f3
JM
149892013-06-08 Joseph Myers <joseph@codesourcery.com>
14990
4902d2c3
JM
14991 * sysdeps/gnu/errlist.awk: Do not generate space at end of
14992 otherwise empty TRANS lines.
14993 * sysdeps/gnu/errlist.c: Regenerated.
14994
60d2f8f3
JM
14995 * catgets/gencat.c (error_print): Use (void) in function
14996 definition.
14997 * crypt/crypt_util.c (__init_des): Likewise.
14998 * crypt/speeds.c (Stop): Likewise.
14999 (main): Likewise.
15000 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15001 * inet/ruserpass.c (token): Likewise.
15002 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15003 * intl/localealias.c (extend_alias_table): Likewise.
15004 * intl/plural-exp.c (init_germanic_plural): Likewise.
15005 * libio/fcloseall.c (__fcloseall): Likewise.
15006 * libio/genops.c (_IO_flush_all): Likewise.
15007 (_IO_flush_all_linebuffered): Likewise.
15008 (_IO_cleanup): Likewise.
15009 (_IO_iter_begin): Likewise.
15010 (_IO_iter_end): Likewise.
15011 (_IO_list_lock): Likewise.
15012 (_IO_list_unlock): Likewise.
15013 (_IO_list_resetlock): Likewise.
15014 * libio/getchar.c (getchar): Likewise.
15015 * libio/getchar_u.c (getchar_unlocked): Likewise.
15016 * libio/getwchar.c (getwchar): Likewise.
15017 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15018 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15019 * login/getpt.c (__getpt): Likewise.
15020 * login/tst-utmp.c (main): Likewise.
15021 * malloc/hooks.c (__malloc_check_init): Likewise.
15022 * malloc/malloc.c (__malloc_stats): Likewise.
15023 * malloc/mtrace.c (tr_break): Likewise.
15024 (mtrace): Likewise.
15025 (muntrace): Likewise.
15026 * misc/fstab.c (endfsent): Likewise.
15027 * misc/getclktck.c (__getclktck): Likewise.
15028 * misc/getdtsz.c (__getdtablesize): Likewise.
15029 * misc/gethostid.c (gethostid): Likewise.
15030 * misc/getpagesize.c (__getpagesize): Likewise.
15031 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15032 (__get_nprocs): Likewise.
15033 (__get_phys_pages): Likewise.
15034 (__get_avphys_pages): Likewise.
15035 * misc/getttyent.c (getttyent): Likewise.
15036 (setttyent): Likewise.
15037 (endttyent): Likewise.
15038 * misc/getusershell.c (getusershell): Likewise.
15039 (endusershell): Likewise.
15040 (setusershell): Likewise.
15041 (initshells): Likewise.
15042 * misc/hsearch.c (__hdestroy): Likewise.
15043 * misc/sync.c (sync): Likewise.
15044 * misc/syslog.c (closelog_internal): Likewise.
15045 (closelog): Likewise.
15046 * misc/ttyslot.c (ttyslot): Likewise.
15047 * misc/vhangup.c (vhangup): Likewise.
15048 * posix/fork.c (__fork): Likewise.
15049 * posix/getegid.c (__getegid): Likewise.
15050 * posix/geteuid.c (__geteuid): Likewise.
15051 * posix/getgid.c (__getgid): Likewise.
15052 * posix/getpid.c (__getpid): Likewise.
15053 * posix/getppid.c (__getppid): Likewise.
15054 * posix/getuid.c (__getuid): Likewise.
15055 * posix/pause.c (pause): Likewise.
15056 * posix/setpgrp.c (setpgrp): Likewise.
15057 * posix/setsid.c (__setsid): Likewise.
15058 * posix/test-vfork.c (noop): Likewise.
15059 * resolv/gethnamaddr.c (_endhtent): Likewise.
15060 (_gethtent): Likewise.
15061 (ht_endhostent): Likewise.
15062 (gethostent): Likewise.
15063 (dns_service): Likewise.
15064 * stdlib/drand48.c (drand48): Likewise.
15065 * stdlib/lrand48.c (lrand48): Likewise.
15066 * stdlib/mrand48.c (mrand48): Likewise.
15067 * stdlib/rand.c (rand): Likewise.
15068 * stdlib/random.c (__random): Likewise.
15069 * stdlib/setenv.c (clearenv): Likewise.
15070 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15071 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15072 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15073 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15074 (__get_nprocs): Likewise.
15075 (__get_phys_pages): Likewise.
15076 (__get_avphys_pages): Likewise.
15077 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15078 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15079 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15080 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15081 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15082 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15083 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15084 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15085 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15086 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15087 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15088 * sysdeps/mach/hurd/sync.c (sync): Likewise.
15089 * sysdeps/posix/clock.c (clock): Likewise.
15090 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15091 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15092 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15093 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15094 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15095 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15096 (__get_nprocs_conf): Likewise.
15097 (__get_phys_pages): Likewise.
15098 (__get_avphys_pages): Likewise.
15099 * time/clock.c (clock): Likewise.
15100 * time/tzset.c (__tzname_max): Likewise.
15101
2e09a79a
JM
151022013-06-07 Joseph Myers <joseph@codesourcery.com>
15103
15104 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15105 (__bswap_32): Do not use "register".
15106 * crypt/crypt.c (_ufc_doit_r): Likewise.
15107 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15108 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15109 * gmon/gmon.c (__monstartup): Likewise.
15110 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15111 * hurd/hurdmalloc.c (more_memory): Likewise.
15112 (malloc): Likewise.
15113 (free): Likewise.
15114 (realloc): Likewise.
15115 (malloc_fork_prepare): Likewise.
15116 (malloc_fork_parent): Likewise.
15117 (malloc_fork_child): Likewise.
15118 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15119 (_svcauth_des): Likewise.
15120 * inet/inet_lnaof.c (inet_lnaof): Likewise.
15121 * inet/inet_net.c (inet_network): Likewise.
15122 * inet/inet_netof.c (inet_netof): Likewise.
15123 * inet/rcmd.c (__validuser2_sa): Likewise.
15124 * io/fts.c (fts_open): Likewise.
15125 (fts_load): Likewise.
15126 (fts_close): Likewise.
15127 (fts_read): Likewise.
15128 (fts_children): Likewise.
15129 (fts_build): Likewise.
15130 (fts_stat): Likewise.
15131 (fts_sort): Likewise.
15132 (fts_alloc): Likewise.
15133 (fts_lfree): Likewise.
15134 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15135 (_IO_file_xsgetn): Likewise.
15136 (_IO_file_xsgetn_mmap): Likewise.
15137 * libio/iofopncook.c (_IO_cookie_read): Likewise.
15138 (_IO_cookie_write): Likewise.
15139 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15140 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15141 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15142 * malloc/obstack.c (_obstack_begin): Likewise.
15143 (_obstack_begin_1): Likewise.
15144 (_obstack_newchunk): Likewise.
15145 (_obstack_allocated_p): Likewise.
15146 (obstack_free): Likewise.
15147 (_obstack_memory_used): Likewise.
15148 * misc/getttyent.c (getttynam): Likewise.
15149 (getttyent): Likewise.
15150 (skip): Likewise.
15151 (value): Likewise.
15152 * misc/getusershell.c (initshells): Likewise.
15153 * misc/syslog.c (__vsyslog_chk): Likewise.
15154 * misc/ttyslot.c (ttyslot): Likewise.
15155 * nis/nis_hash.c (__nis_hash): Likewise.
15156 * posix/fnmatch_loop.c (FCT): Likewise.
15157 * posix/getconf.c (print_all): Likewise.
15158 (main): Likewise.
15159 * posix/getopt.c (exchange): Likewise.
15160 * posix/glob.c (globfree): Likewise.
15161 (prefix_array): Likewise.
15162 (__glob_pattern_type): Likewise.
15163 * resolv/arpa/nameser.h (NS_GET16): Likewise.
15164 (NS_GET32): Likewise.
15165 (NS_PUT16): Likewise.
15166 (NS_PUT32): Likewise.
15167 * resolv/gethnamaddr.c (getanswer): Likewise.
15168 (gethostbyname2): Likewise.
15169 (gethostbyaddr): Likewise.
15170 (_gethtent): Likewise.
15171 (_gethtbyname2): Likewise.
15172 (_gethtbyaddr): Likewise.
15173 * resolv/ns_print.c (dst_s_get_int16): Likewise.
15174 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15175 * resolv/res_init.c (__res_vinit): Likewise.
15176 (net_mask): Likewise.
15177 * resolv/res_mkquery.c (outchar): Likewise.
15178 (PRINT): Likewise.
15179 * stdio-common/printf_fp.c (outchar): Likewise.
15180 (PRINT): Likewise.
15181 * stdio-common/printf_fphex.c (outchar): Likewise.
15182 (PRINT): Likewise.
15183 * stdio-common/printf_size.c (outchar): Likewise.
15184 (PRINT): Likewise.
15185 * stdio-common/test_rdwr.c (main): Likewise.
15186 * stdio-common/tfformat.c (matches): Likewise.
15187 * stdio-common/vfprintf.c (outchar): Likewise.
15188 (printf_unknown): Likewise.
15189 (buffered_vfprintf): Likewise.
15190 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15191 * stdio-common/xbug.c (AppendToBuffer): Likewise.
15192 (ReadFile): Likewise.
15193 * stdlib/qsort.c (SWAP): Likewise.
15194 (_quicksort): Likewise.
15195 * stdlib/setenv.c (__add_to_environ): Likewise.
15196 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15197 * stdlib/strtol_l.c (__strtol_l): Likewise.
15198 * stdlib/tst-strtod.c (main): Likewise.
15199 * stdlib/tst-strtol.c (main): Likewise.
15200 * stdlib/tst-strtoll.c (main): Likewise.
15201 * string/bits/string2.h (__strcmp_cc): Likewise.
15202 (__strcmp_cg): Likewise.
15203 (__strcspn_c1): Likewise.
15204 (__strcspn_c2): Likewise.
15205 (__strcspn_c3): Likewise.
15206 (__strspn_c1): Likewise.
15207 (__strspn_c2): Likewise.
15208 (__strspn_c3): Likewise.
15209 (__strsep_1c): Likewise.
15210 (__strsep_2c): Likewise.
15211 (__strsep_3c): Likewise.
15212 * string/memccpy.c (__memccpy): Likewise.
15213 * string/stpcpy.c (__stpcpy): Likewise.
15214 * string/strcmp.c (strcmp): Likewise.
15215 * string/strrchr.c (strrchr): Likewise.
15216 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15217 Likewise.
15218 * sysdeps/mach/hurd/getcwd.c
15219 (_hurd_canonicalize_directory_name_internal): Likewise.
15220 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15221 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15222 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15223 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15224 Likewise, in both definitions.
15225 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15226 definitions.
15227 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15228 64] (__bswap_64): Likewise.
15229 * time/test_time.c (main): Likewise.
15230 * time/tzfile.c (__tzfile_read): Likewise.
15231 (__tzfile_compute): Likewise.
15232 * time/tzset.c (__tzset_parse_tz): Likewise.
15233 (tzset_internal): Likewise.
15234 (compute_change): Likewise.
15235 * wcsmbs/wcscat.c (__wcscat): Likewise.
15236 * wcsmbs/wcschr.c (wcschr): Likewise.
15237 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15238 * wcsmbs/wcscspn.c (wcscspn): Likewise.
15239 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15240 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15241 * wcsmbs/wcsspn.c (wcsspn): Likewise.
15242 * wcsmbs/wcsstr.c (wcsstr): Likewise.
15243 * wcsmbs/wmemchr.c (wmemchr): Likewise.
15244 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15245 * wcsmbs/wmemset.c (wmemset): Likewise.
15246
9e54314b
JM
152472013-06-06 Joseph Myers <joseph@codesourcery.com>
15248
15249 * scripts/config.guess: Update to version 2013-05-16.
15250 * scripts/config.sub: Update to version 2013-04-24.
15251 * scripts/install-sh: Update to version 2011-11-20.07.
15252 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15253 * scripts/move-if-change: Update to version 2012-01-06 07:23.
15254
350635a5
OB
152552013-06-06 Ondřej Bílka <neleai@seznam.cz>
15256
15257 * debug/fgetws_u_chk.c: Fix leading whitespaces.
15258 * elf/sln.c: Likewise.
15259 * hurd/hurd/ioctl.h: Likewise.
15260 * hurd/hurdmalloc.c: Likewise.
15261 * hurd/xattr.c: Likewise.
15262 * include/shlib-compat.h: Likewise.
15263 * inet/ruserpass.c: Likewise.
15264 * libio/iofgets_u.c: Likewise.
15265 * libio/iofgetws_u.c: Likewise.
15266 * locale/programs/ld-identification.c: Likewise.
15267 * locale/programs/ld-time.c: Likewise.
15268 * mach/msg-destroy.c: Likewise.
15269 * nss/nss_files/files-netgrp.c: Likewise.
15270 * resolv/res_data.c: Likewise.
15271 * soft-fp/op-1.h: Likewise.
15272 * soft-fp/op-2.h: Likewise.
15273 * soft-fp/op-4.h: Likewise.
15274 * soft-fp/op-common.h: Likewise.
15275 * stdio-common/printf_fphex.c: Likewise.
15276 * stdlib/strtod_l.c: Likewise.
15277 * sunrpc/rpc/clnt.h: Likewise.
15278 * sysdeps/generic/framestate.c: Likewise.
15279 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15280 * sysdeps/i386/bsd-setjmp.S: Likewise.
15281 * sysdeps/i386/__longjmp.S: Likewise.
15282 * sysdeps/i386/setjmp.S: Likewise.
15283 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15284 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15285 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15286 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15287 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15288 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15289 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15290 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15291 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15292 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15293 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15294 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15295 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15296 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15297 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15298 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15299 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15300 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15301 * sysdeps/ieee754/support.c: Likewise.
15302 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15303 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15304 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15305 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15306 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15307 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15308 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15309 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15310 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15311 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15312 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15313 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15314 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15315 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15316 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15317 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15318 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15320
44a988af
OB
153212013-06-05 Ondřej Bílka <neleai@seznam.cz>
15322
25506f09 15323 * posix/transbug.c: Remove executable mode.
44a988af 15324
9c84384c
JM
153252013-06-05 Joseph Myers <joseph@codesourcery.com>
15326
15327 * crypt/speeds.c: Remove trailing whitespace.
15328 * dlfcn/default.c: Likewise.
15329 * elf/ifuncdep2.c: Likewise.
15330 * elf/ifuncmain1.c: Likewise.
15331 * elf/ifuncmain1vis.c: Likewise.
15332 * elf/testobj.h: Likewise.
15333 * elf/tst-stackguard1.c: Likewise.
15334 * gmon/sys/gmon.h: Likewise.
15335 * hurd/hurdmsg.c: Likewise.
15336 * hurd/new-fd.c: Likewise.
15337 * hurd/ports-get.c: Likewise.
15338 * iconvdata/ibm1008_420.c: Likewise.
15339 * inet/tst-getni1.c: Likewise.
15340 * inet/tst-getni2.c: Likewise.
15341 * libio/ioungetc.c: Likewise.
15342 * libio/wfiledoalloc.c: Likewise.
15343 * manual/libm-err-tab.pl: Likewise.
15344 * math/w_dremf.c: Likewise.
15345 * misc/ftruncate.c: Likewise.
15346 * posix/bug-glob2.c: Likewise.
15347 * posix/tst-pcre.c: Likewise.
15348 * posix/wait4.c: Likewise.
15349 * resolv/README: Likewise.
15350 * resolv/res_debug.h: Likewise.
15351 * resolv/tst-inet_ntop.c: Likewise.
15352 * setjmp/bug269-setjmp.c: Likewise.
15353 * soft-fp/extended.h: Likewise.
15354 * soft-fp/op-1.h: Likewise.
15355 * soft-fp/op-2.h: Likewise.
15356 * soft-fp/op-4.h: Likewise.
15357 * soft-fp/op-8.h: Likewise.
15358 * soft-fp/testit.c: Likewise.
15359 * stdio-common/bug16.c: Likewise.
15360 * stdlib/random.c: Likewise.
15361 * sunrpc/rpcsvc/rquota.x: Likewise.
15362 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15363 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15364 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15365 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15366 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15367 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15368 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15369 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15370 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15371 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15372 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15373 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15374 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15375 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15376 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15377 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15378 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15379 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15380 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15381 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15382 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15383 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15384 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15385 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15386 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15387 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15388 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15389 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15390 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15391 * sysdeps/ieee754/s_lib_version.c: Likewise.
15392 * sysdeps/mach/hurd/check_fds.c: Likewise.
15393 * sysdeps/mach/hurd/getsockname.c: Likewise.
15394 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15395 * sysdeps/mach/hurd/recvfrom.c: Likewise.
15396 * sysdeps/powerpc/bits/link.h: Likewise.
15397 * sysdeps/powerpc/dl-procinfo.c: Likewise.
15398 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15399 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15400 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15401 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15402 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15403 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15404 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15405 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15406 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15407 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15408 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15409 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15410 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15411 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15412 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15413 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15414 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15415 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15416 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15417 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15418 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15419 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15420 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15421 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15422 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15423 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15424 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15425 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15426 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15427 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15428 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15429 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15430 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15431 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15432 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15433 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15434 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15435 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15436 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15437 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15438 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15439 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15440 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
15441 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15442 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
15443 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
15444 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15445 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
15446 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
15447 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15448 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15449 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15450 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15451 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
15452 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15453 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15454 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15455 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
15456 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15457 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
15458 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
15459 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
15460 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15461 * sysdeps/powerpc/sysdep.h: Likewise.
15462 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15463 * sysdeps/s390/s390-64/sub_n.S: Likewise.
15464 * sysdeps/sh/dl-trampoline.S: Likewise.
15465 * sysdeps/sh/memset.S: Likewise.
15466 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
15467 * sysdeps/sh/strlen.S: Likewise.
15468 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
15469 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
15470 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
15471 * sysdeps/sparc/sparc32/rem.S: Likewise.
15472 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15473 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
15474 * sysdeps/sparc/sparc32/strchr.S: Likewise.
15475 * sysdeps/sparc/sparc32/udiv.S: Likewise.
15476 * sysdeps/sparc/sparc32/urem.S: Likewise.
15477 * sysdeps/sparc/sparc64/add_n.S: Likewise.
15478 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15479 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
15480 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
15481 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
15482 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
15483 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15484 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
15485 * sysdeps/unix/bsd/times.c: Likewise.
15486 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
15487 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
15488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15491 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
15492 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15493 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
15494 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
15495 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
15496 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
15497 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15498 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
15499 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15500 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15501 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15502 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15503 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
15504 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
15505 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
15506 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
15507 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
15508 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15509 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
15510 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
15511 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15512 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
15513 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15514 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
15515 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
15516 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
15517 * sysdeps/x86_64/strcspn.S: Likewise.
15518
869378a5
RA
155192013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15520
15521 * locale/C-translit.h: Revert #include <stdint.h> because this is a
15522 generated file. Regenerate properly from gen-translit.pl.
15523 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
15524 locale/C-translit.h.
15525
840e2943
AS
155262013-06-05 Andreas Schwab <schwab@suse.de>
15527
15528 [BZ #15100]
15529 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
15530 week as 6 instead of -1.
15531 * time/tst-strptime.c (day_tests): Add test case.
15532
4c60cb0c
SP
155332013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15534
15535 * sysdeps/generic/math_private.h
15536 (libc_feholdexcept_setround_53bit): Replace with
15537 libc_feholdsetround_53bit.
15538 (libc_feupdateenv_53bit): Replace with
15539 libc_feresetround_53bit.
15540 (SET_RESTORE_ROUND_53BIT): Adjust.
15541
d180203e
SP
155422013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15543
96df079a
SP
15544 * string/test-strchrnul.c: Add copyright header.
15545
d180203e
SP
15546 * posix/tst-getaddrinfo4.c: Increase test timeout.
15547
8b0ccb2d
CD
155482013-06-03 Carlos O'Donell <carlos@redhat.com>
15549
15550 [BZ #15536]
15551 * math/libm-test.inc (MAX_EXP): Remove
15552 (MIN_EXP): Define.
15553 (ulp): Use MIN_EXP - MANT_DIG.
15554 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
15555
3b3c4d40
CD
155562013-05-31 Carlos O'Donell <carlos@redhat.com>
15557
15558 * po/be.po: Revert last change.
15559 * po/zh_CN.po: Likewise.
15560 * po/header.pot: Likewise.
15561
fab7ce3f
JM
155622013-05-31 Joseph Myers <joseph@codesourcery.com>
15563
15564 * Makefile ($(common-objpfx)linkobj/libc.so): Define
15565 link-libc-deps to empty as target-specific variable.
15566 * Makerules (link-libc-args): New variable.
15567 (libc-for-link): Likewise.
15568 (link-libc-deps): Likewise.
15569 (lib%.so): Depend on $(link-libc-deps). Link with
15570 $(link-libc-args).
15571 (build-module): Link with $(link-libc-args).
15572 (build-module-asneeded): Likewise.
15573 (build-module-helper-objlist): Filter out $(link-libc-deps) from
15574 list of objects.
15575 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
15576 target-specific variable.
15577 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
15578 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
15579 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
15580 libc.
15581 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
15582 libc and ld.so.
15583 ($(objpfx)libpcprofile.so): Likewise.
15584 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
15585 libc_nonshared.a.
15586 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
15587 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
15588 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
15589 $(link-libc-deps).
15590 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
15591 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
15592 * login/Makefile ($(objpfx)libutil.so): Likewise.
15593 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
15594 * math/Makefile ($(objpfx)libm.so): Likewise.
15595 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
15596 $(objpfx)libnsl.so): Define libc-for-link as target-specific
15597 variable instead of depending directly on libc.
15598 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
15599 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
15600 $(link-libc-deps).
15601 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
15602 libc.
15603 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
15604 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
15605 ($(objpfx)libanl.so): Likewise.
15606 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
15607 ld.so.
15608 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
15609 $(link-libc-deps).
15610 * sysdeps/i386/fpu/Makefile: Remove file.
15611 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
15612 ($(objpfx)libm.so): Remove dependency on ld.so.
15613
eca5920c
PF
156142013-05-30 Patsy Franklin <pfrankli@redhat.com>
15615
15616 [BZ # 15553]
15617 * nis/yp_xdr.c (XDRMAXNAME): Define.
15618 (XDRMAXRECORD): Define.
15619 (xdr_domainname): Use XDRMAXNAME.
15620 (xdr_mapname): Likewise.
15621 (xdr_peername): Likewise.
15622 (xdr_keydat): Use XDRMAXRECORD.
15623 (xdr_valdat): Likewise.
15624
156252013-05-30 Jeff Law <law@redhat.com>
96945714
JL
15626
15627 [BZ #14256]
15628 * manual/errno.texi (ESTALE): Update to account for more than
15629 just NFS file systems.
15630 * sysdeps/gnu/errlist.c: Regenerated.
15631
b9375348
SP
156322013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15633
15634 [BZ #15465]
15635 * elf/Makefile (tests): Add tst-null-argv.
15636 (modules-names): Add tst-null-argv-lib.
15637 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
15638 (tst-null-argv-ENV): Set environment for tst-null-argv.
15639 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
15640 (RTLD_PROGNAME): New macro.
15641 * elf/tst-null-argv.c: New test case.
15642 * elf/tst-null-argv-lib.c: Library for test case.
15643 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
15644 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
15645 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
15646 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
15647 * elf/dl-init.c (call_init): Likewise.
15648 (_dl_init): Likewise.
15649 * elf/dl-load.c (print_search_path): Likewise.
15650 (_dl_map_object): Likewise.
15651 * elf/dl-lookup.c (do_lookup_x): Likewise.
15652 (add_dependency): Likewise.
15653 (_dl_lookup_symbol_x): Likewise.
15654 (_dl_debug_bindings): Likewise.
15655 * elf/dl-open.c (_dl_show_scope): Likewise.
15656 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15657 * elf/dl-version.c (match_symbol): Likewise.
15658 (_dl_check_map_versions): Likewise.
15659 * elf/rtld.c (dl_main): Likewise.
15660 (print_unresolved): Use RTLD_PROGNAME.
15661 (print_missing_version): Likewise.
15662 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15663 (elf_machine_rela): Likewise.
15664 * sysdeps/powerpc/powerpc32/dl-machine.c
15665 (__process_machine_rela): Likewise.
15666 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15667 Likewise.
15668 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15669 Likewise.
15670 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15671 Likewise.
15672 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15673 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15674 Likewise.
15675 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15676 Likewise.
15677 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15678
8a9f20c8
CD
156792013-05-28 Carlos O'Donell <carlos@redhat.com>
15680
15681 * po/be.po: Add descriptive title.
15682 * po/zh_CN.po: Likewise.
15683 * po/header.pot: Likewise.
15684
0e60d68e
MF
156852013-05-28 Mike Frysinger <vapier@gentoo.org>
15686
15687 * locale/programs/locarchive.c (create_archive): Inlucde fname in
15688 error message.
15689 (enlarge_archive): Likewise.
15690
56b672e9
BN
156912013-05-28 Ben North <ben@redfrontdoor.org>
15692
15693 * manual/arith.texi (frexp): It is the magnitude of the return
15694 value which lies in [0.5, 1), not the return value itself.
15695
5e056687
AZ
156962013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15697
15698 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15699
2b66ef5d
TS
157002013-05-26 Thomas Schwinge <thomas@codesourcery.com>
15701
528c2405
TS
15702 * stdio-common/bug26.c (main): Correct fscanf template.
15703
07b4c13d
TS
15704 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
15705 declare _dl_skip_args.
15706
ec9dd97c
TS
15707 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
15708 Don't declare.
15709
2b66ef5d
TS
15710 * manual/platform.texi: Add missing @end deftypefun.
15711
4f8dfe27
JM
157122013-05-24 Joseph Myers <joseph@codesourcery.com>
15713
0323d086
JM
15714 [BZ #15529]
15715 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
15716 bit of mantissa of 2^16382.
15717 * math/libm-test.inc (hypot_test_data): Add more tests.
15718
dd4259b9
JM
15719 * math/libm-test.inc: Add drem and pow10 to list of tested
15720 functions.
15721 (pow10_test): New function.
15722 (drem_test): Likewise.
15723 (drem_test_tonearest): Likewise.
15724 (drem_test_towardzero): Likewise.
15725 (drem_test_downward): Likewise.
15726 (drem_test_upward): Likewise.
15727 (main): Call the new functions.
15728
4f8dfe27
JM
15729 * math/libm-test.inc (finite_test_data): Remove.
15730 (finite_test): Run tests from isfinite_test_data.
15731 (gamma_test_data): Remove.
15732 (gamma_test): Run tests from lgamma_test_data.
15733 * sysdeps/i386/fpu/libm-test-ulps: Update.
15734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15735
d116b7c4
AZ
157362013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15737
15738 * manual/platform.texi: Add PowerPC PPR function set documentation.
15739 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
15740 implementation.
15741
e96e3767
CD
157422013-05-24 Carlos O'Donell <carlos@redhat.com>
15743
15744 * math/libm-test.inc (MAX_EXP): Define.
15745 (ULPDIFF): Define.
15746 (ulp): New function.
15747 (check_float_internal): Use ULPDIFF.
15748 (cpow_test): Disable failing test.
15749 (check_ulp): Test ulp() implemetnation.
15750 (main): Call check_ulp before starting tests.
15751
b679a606
JM
157522013-05-24 Joseph Myers <joseph@codesourcery.com>
15753
e8bdba36
JM
15754 * math/gen-libm-test.pl (generate_testfile): Do not handle
15755 START_DATA and END_DATA.
15756 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
15757 END_DATA.
15758 (acos_tonearest_test_data): Likewise.
15759 (acos_towardzero_test_data): Likewise.
15760 (acos_downward_test_data): Likewise.
15761 (acos_upward_test_data): Likewise.
15762 (acosh_test_data): Likewise.
15763 (asin_test_data): Likewise.
15764 (asin_tonearest_test_data): Likewise.
15765 (asin_towardzero_test_data): Likewise.
15766 (asin_downward_test_data): Likewise.
15767 (asin_upward_test_data): Likewise.
15768 (asinh_test_data): Likewise.
15769 (atan_test_data): Likewise.
15770 (atanh_test_data): Likewise.
15771 (atan2_test_data): Likewise.
15772 (cabs_test_data): Likewise.
15773 (cacos_test_data): Likewise.
15774 (cacosh_test_data): Likewise.
15775 (carg_test_data): Likewise.
15776 (casin_test_data): Likewise.
15777 (casinh_test_data): Likewise.
15778 (catan_test_data): Likewise.
15779 (catanh_test_data): Likewise.
15780 (cbrt_test_data): Likewise.
15781 (ccos_test_data): Likewise.
15782 (ccosh_test_data): Likewise.
15783 (ceil_test_data): Likewise.
15784 (cexp_test_data): Likewise.
15785 (cimag_test_data): Likewise.
15786 (clog_test_data): Likewise.
15787 (clog10_test_data): Likewise.
15788 (conj_test_data): Likewise.
15789 (copysign_test_data): Likewise.
15790 (cos_test_data): Likewise.
15791 (cos_tonearest_test_data): Likewise.
15792 (cos_towardzero_test_data): Likewise.
15793 (cos_downward_test_data): Likewise.
15794 (cos_upward_test_data): Likewise.
15795 (cosh_test_data): Likewise.
15796 (cosh_tonearest_test_data): Likewise.
15797 (cosh_towardzero_test_data): Likewise.
15798 (cosh_downward_test_data): Likewise.
15799 (cosh_upward_test_data): Likewise.
15800 (cpow_test_data): Likewise.
15801 (cproj_test_data): Likewise.
15802 (creal_test_data): Likewise.
15803 (csin_test_data): Likewise.
15804 (csinh_test_data): Likewise.
15805 (csqrt_test_data): Likewise.
15806 (ctan_test_data): Likewise.
15807 (ctan_tonearest_test_data): Likewise.
15808 (ctan_towardzero_test_data): Likewise.
15809 (ctan_downward_test_data): Likewise.
15810 (ctan_upward_test_data): Likewise.
15811 (ctanh_test_data): Likewise.
15812 (ctanh_tonearest_test_data): Likewise.
15813 (ctanh_towardzero_test_data): Likewise.
15814 (ctanh_downward_test_data): Likewise.
15815 (ctanh_upward_test_data): Likewise.
15816 (erf_test_data): Likewise.
15817 (erfc_test_data): Likewise.
15818 (exp_test_data): Likewise.
15819 (exp_tonearest_test_data): Likewise.
15820 (exp_towardzero_test_data): Likewise.
15821 (exp_downward_test_data): Likewise.
15822 (exp_upward_test_data): Likewise.
15823 (exp10_test_data): Likewise.
15824 (exp2_test_data): Likewise.
15825 (expm1_test_data): Likewise.
15826 (fabs_test_data): Likewise.
15827 (fdim_test_data): Likewise.
15828 (finite_test_data): Likewise.
15829 (floor_test_data): Likewise.
15830 (fma_test_data): Likewise.
15831 (fma_towardzero_test_data): Likewise.
15832 (fma_downward_test_data): Likewise.
15833 (fma_upward_test_data): Likewise.
15834 (fmax_test_data): Likewise.
15835 (fmin_test_data): Likewise.
15836 (fmod_test_data): Likewise.
15837 (fpclassify_test_data): Likewise.
15838 (frexp_test_data): Likewise.
15839 (gamma_test_data): Likewise.
15840 (hypot_test_data): Likewise.
15841 (ilogb_test_data): Likewise.
15842 (isfinite_test_data): Likewise.
15843 (isgreater_test_data): Likewise.
15844 (isgreaterequal_test_data): Likewise.
15845 (isinf_test_data): Likewise.
15846 (isless_test_data): Likewise.
15847 (islessequal_test_data): Likewise.
15848 (islessgreater_test_data): Likewise.
15849 (isnan_test_data): Likewise.
15850 (isnormal_test_data): Likewise.
15851 (issignaling_test_data): Likewise.
15852 (isunordered_test_data): Likewise.
15853 (j0_test_data): Likewise.
15854 (j1_test_data): Likewise.
15855 (jn_test_data): Likewise.
15856 (ldexp_test_data): Likewise.
15857 (lgamma_test_data): Likewise.
15858 (lrint_test_data): Likewise.
15859 (lrint_tonearest_test_data): Likewise.
15860 (lrint_towardzero_test_data): Likewise.
15861 (lrint_downward_test_data): Likewise.
15862 (lrint_upward_test_data): Likewise.
15863 (llrint_test_data): Likewise.
15864 (llrint_tonearest_test_data): Likewise.
15865 (llrint_towardzero_test_data): Likewise.
15866 (llrint_downward_test_data): Likewise.
15867 (llrint_upward_test_data): Likewise.
15868 (log_test_data): Likewise.
15869 (log10_test_data): Likewise.
15870 (log1p_test_data): Likewise.
15871 (log2_test_data): Likewise.
15872 (logb_test_data): Likewise.
15873 (logb_downward_test_data): Likewise.
15874 (lround_test_data): Likewise.
15875 (llround_test_data): Likewise.
15876 (modf_test_data): Likewise.
15877 (nearbyint_test_data): Likewise.
15878 (nextafter_test_data): Likewise.
15879 (nexttoward_test_data): Likewise.
15880 (pow_test_data): Likewise.
15881 (pow_tonearest_test_data): Likewise.
15882 (pow_towardzero_test_data): Likewise.
15883 (pow_downward_test_data): Likewise.
15884 (pow_upward_test_data): Likewise.
15885 (remainder_test_data): Likewise.
15886 (remainder_tonearest_test_data): Likewise.
15887 (remainder_towardzero_test_data): Likewise.
15888 (remainder_downward_test_data): Likewise.
15889 (remainder_upward_test_data): Likewise.
15890 (remquo_test_data): Likewise.
15891 (rint_test_data): Likewise.
15892 (rint_tonearest_test_data): Likewise.
15893 (rint_towardzero_test_data): Likewise.
15894 (rint_downward_test_data): Likewise.
15895 (rint_upward_test_data): Likewise.
15896 (round_test_data): Likewise.
15897 (scalb_test_data): Likewise.
15898 (scalbn_test_data): Likewise.
15899 (scalbln_test_data): Likewise.
15900 (signbit_test_data): Likewise.
15901 (sin_test_data): Likewise.
15902 (sin_tonearest_test_data): Likewise.
15903 (sin_towardzero_test_data): Likewise.
15904 (sin_downward_test_data): Likewise.
15905 (sin_upward_test_data): Likewise.
15906 (sincos_test_data): Likewise.
15907 (sinh_test_data): Likewise.
15908 (sinh_tonearest_test_data): Likewise.
15909 (sinh_towardzero_test_data): Likewise.
15910 (sinh_downward_test_data): Likewise.
15911 (sinh_upward_test_data): Likewise.
15912 (sqrt_test_data): Likewise.
15913 (tan_test_data): Likewise.
15914 (tan_tonearest_test_data): Likewise.
15915 (tan_towardzero_test_data): Likewise.
15916 (tan_downward_test_data): Likewise.
15917 (tan_upward_test_data): Likewise.
15918 (tanh_test_data): Likewise.
15919 (tgamma_test_data): Likewise.
15920 (trunc_test_data): Likewise.
15921 (y0_test_data): Likewise.
15922 (y1_test_data): Likewise.
15923 (yn_test_data): Likewise.
15924 (significand_test_data): Likewise.
15925
b679a606
JM
15926 * math/gen-libm-test.pl (@functions): Remove variable.
15927 (generate_testfile): Don't handle START and END lines.
15928 * math/libm-test.inc (START): New macro.
15929 (END): Likewise.
15930 (END_COMPLEX): Likewise.
15931 (acos_test): Use END macro without arguments.
15932 (acos_test_tonearest): Likewise.
15933 (acos_test_towardzero): Likewise.
15934 (acos_test_downward): Likewise.
15935 (acos_test_upward): Likewise.
15936 (acosh_test): Likewise.
15937 (asin_test): Likewise.
15938 (asin_test_tonearest): Likewise.
15939 (asin_test_towardzero): Likewise.
15940 (asin_test_downward): Likewise.
15941 (asin_test_upward): Likewise.
15942 (asinh_test): Likewise.
15943 (atan_test): Likewise.
15944 (atanh_test): Likewise.
15945 (atan2_test): Likewise.
15946 (cabs_test): Likewise.
15947 (cacos_test): Use END_COMPLEX macro without arguments.
15948 (cacosh_test): Likewise.
15949 (carg_test): Use END macro without arguments.
15950 (casin_test): Use END_COMPLEX macro without arguments.
15951 (casinh_test): Likewise.
15952 (catan_test): Likewise.
15953 (catanh_test): Likewise.
15954 (cbrt_test): Use END macro without arguments.
15955 (ccos_test): Use END_COMPLEX macro without arguments.
15956 (ccosh_test): Likewise.
15957 (ceil_test): Use END macro without arguments.
15958 (cexp_test): Use END_COMPLEX macro without arguments.
15959 (cimag_test): Use END macro without arguments.
15960 (clog_test): Use END_COMPLEX macro without arguments.
15961 (clog10_test): Likewise.
15962 (conj_test): Likewise.
15963 (copysign_test): Use END macro without arguments.
15964 (cos_test): Likewise.
15965 (cos_test_tonearest): Likewise.
15966 (cos_test_towardzero): Likewise.
15967 (cos_test_downward): Likewise.
15968 (cos_test_upward): Likewise.
15969 (cosh_test): Likewise.
15970 (cosh_test_tonearest): Likewise.
15971 (cosh_test_towardzero): Likewise.
15972 (cosh_test_downward): Likewise.
15973 (cosh_test_upward): Likewise.
15974 (cpow_test): Use END_COMPLEX macro without arguments.
15975 (cproj_test): Likewise.
15976 (creal_test): Use END macro without arguments.
15977 (csin_test): Use END_COMPLEX macro without arguments.
15978 (csinh_test): Likewise.
15979 (csqrt_test): Likewise.
15980 (ctan_test): Likewise.
15981 (ctan_test_tonearest): Likewise.
15982 (ctan_test_towardzero): Likewise.
15983 (ctan_test_downward): Likewise.
15984 (ctan_test_upward): Likewise.
15985 (ctanh_test): Likewise.
15986 (ctanh_test_tonearest): Likewise.
15987 (ctanh_test_towardzero): Likewise.
15988 (ctanh_test_downward): Likewise.
15989 (ctanh_test_upward): Likewise.
15990 (erf_test): Use END macro without arguments.
15991 (erfc_test): Likewise.
15992 (exp_test): Likewise.
15993 (exp_test_tonearest): Likewise.
15994 (exp_test_towardzero): Likewise.
15995 (exp_test_downward): Likewise.
15996 (exp_test_upward): Likewise.
15997 (exp10_test): Likewise.
15998 (exp2_test): Likewise.
15999 (expm1_test): Likewise.
16000 (fabs_test): Likewise.
16001 (fdim_test): Likewise.
16002 (finite_test): Likewise.
16003 (floor_test): Likewise.
16004 (fma_test): Likewise.
16005 (fma_test_towardzero): Likewise.
16006 (fma_test_downward): Likewise.
16007 (fma_test_upward): Likewise.
16008 (fmax_test): Likewise.
16009 (fmin_test): Likewise.
16010 (fmod_test): Likewise.
16011 (fpclassify_test): Likewise.
16012 (frexp_test): Likewise.
16013 (gamma_test): Likewise.
16014 (hypot_test): Likewise.
16015 (ilogb_test): Likewise.
16016 (isfinite_test): Likewise.
16017 (isgreater_test): Likewise.
16018 (isgreaterequal_test): Likewise.
16019 (isinf_test): Likewise.
16020 (isless_test): Likewise.
16021 (islessequal_test): Likewise.
16022 (islessgreater_test): Likewise.
16023 (isnan_test): Likewise.
16024 (isnormal_test): Likewise.
16025 (issignaling_test): Likewise.
16026 (isunordered_test): Likewise.
16027 (j0_test): Likewise.
16028 (j1_test): Likewise.
16029 (jn_test): Likewise.
16030 (ldexp_test): Likewise.
16031 (lgamma_test): Likewise.
16032 (lrint_test): Likewise.
16033 (lrint_test_tonearest): Likewise.
16034 (lrint_test_towardzero): Likewise.
16035 (lrint_test_downward): Likewise.
16036 (lrint_test_upward): Likewise.
16037 (llrint_test): Likewise.
16038 (llrint_test_tonearest): Likewise.
16039 (llrint_test_towardzero): Likewise.
16040 (llrint_test_downward): Likewise.
16041 (llrint_test_upward): Likewise.
16042 (log_test): Likewise.
16043 (log10_test): Likewise.
16044 (log1p_test): Likewise.
16045 (log2_test): Likewise.
16046 (logb_test): Likewise.
16047 (logb_test_downward): Likewise.
16048 (lround_test): Likewise.
16049 (llround_test): Likewise.
16050 (modf_test): Likewise.
16051 (nearbyint_test): Likewise.
16052 (nextafter_test): Likewise.
16053 (nexttoward_test): Likewise.
16054 (pow_test): Likewise.
16055 (pow_test_tonearest): Likewise.
16056 (pow_test_towardzero): Likewise.
16057 (pow_test_downward): Likewise.
16058 (pow_test_upward): Likewise.
16059 (remainder_test): Likewise.
16060 (remainder_test_tonearest): Likewise.
16061 (remainder_test_towardzero): Likewise.
16062 (remainder_test_downward): Likewise.
16063 (remainder_test_upward): Likewise.
16064 (remquo_test): Likewise.
16065 (rint_test): Likewise.
16066 (rint_test_tonearest): Likewise.
16067 (rint_test_towardzero): Likewise.
16068 (rint_test_downward): Likewise.
16069 (rint_test_upward): Likewise.
16070 (round_test): Likewise.
16071 (scalb_test): Likewise.
16072 (scalbn_test): Likewise.
16073 (scalbln_test): Likewise.
16074 (signbit_test): Likewise.
16075 (sin_test): Likewise.
16076 (sin_test_tonearest): Likewise.
16077 (sin_test_towardzero): Likewise.
16078 (sin_test_downward): Likewise.
16079 (sin_test_upward): Likewise.
16080 (sincos_test): Likewise.
16081 (sinh_test): Likewise.
16082 (sinh_test_tonearest): Likewise.
16083 (sinh_test_towardzero): Likewise.
16084 (sinh_test_downward): Likewise.
16085 (sinh_test_upward): Likewise.
16086 (sqrt_test): Likewise.
16087 (tan_test): Likewise.
16088 (tan_test_tonearest): Likewise.
16089 (tan_test_towardzero): Likewise.
16090 (tan_test_downward): Likewise.
16091 (tan_test_upward): Likewise.
16092 (tanh_test): Likewise.
16093 (tgamma_test): Likewise.
16094 (trunc_test): Likewise.
16095 (y0_test): Likewise.
16096 (y1_test): Likewise.
16097 (yn_test): Likewise.
16098 (significand_test): Likewise.
16099
bae143d2
OB
161002013-05-24 Ondřej Bílka <neleai@seznam.cz>
16101
16102 [BZ #15381]
16103 * libio/genops.c (_IO_no_init): Initialize wide struct info.
16104
9323d39b
EM
161052013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
16106
d4ea44a0 16107 [BZ #14894]
9323d39b
EM
16108 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16109 __ppc_mdoio and __ppc_mdoom.
16110 * manual/platform.texi: Document new functions __ppc_yield,
16111 __ppc_mdoio and __ppc_mdoom.
16112
13e23af7
CD
161132013-05-22 Carlos O'Donell <carlos@redhat.com>
16114
16115 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16116 (main): Mention "tls" pseudo-hwcap is legacy.
16117 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16118
351fe550
JM
161192013-05-22 Joseph Myers <joseph@codesourcery.com>
16120
16121 * math/gen-libm-test.pl (parse_args): Output only string of
16122 arguments as text for test name, not full call or descriptions of
16123 tests for extra outputs.
16124 (generate_testfile): Do not pass function name to parse_args.
16125 Generate this_func variable from START.
16126 * math/libm-test.inc (struct test_f_f_data): Rename test_name
16127 field to arg_str.
16128 (struct test_ff_f_data): Likewise.
16129 (test_ff_f_data_nexttoward): Likewise.
16130 (struct test_fi_f_data): Likewise.
16131 (struct test_fl_f_data): Likewise.
16132 (struct test_if_f_data): Likewise.
16133 (struct test_fff_f_data): Likewise.
16134 (struct test_c_f_data): Likewise.
16135 (struct test_f_f1_data): Likewise. Remove field extra_name.
16136 (struct test_fF_f1_data): Likewise.
16137 (struct test_ffI_f1_data): Likewise.
16138 (struct test_c_c_data): Rename test_name field to arg_str.
16139 (struct test_cc_c_data): Likewise.
16140 (struct test_f_i_data): Likewise.
16141 (struct test_ff_i_data): Likewise.
16142 (struct test_f_l_data): Likewise.
16143 (struct test_f_L_data): Likewise.
16144 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
16145 and extra2_name.
16146 (COMMON_TEST_SETUP): New macro.
16147 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16148 (COMMON_TEST_CLEANUP): Likewise.
16149 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16150 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
16151 macros.
16152 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16153 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
16154 macros.
16155 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16156 (RUN_TEST_fff_f): Take argument string. Call new setup and
16157 cleanup macros.
16158 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16159 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
16160 macros.
16161 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16162 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
16163 macros.
16164 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16165 (RUN_TEST_fF_f1): Take argument string. Call new setup and
16166 cleanup macros.
16167 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16168 (RUN_TEST_fI_f1): Take argument string. Call new setup and
16169 cleanup macros.
16170 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16171 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
16172 cleanup macros.
16173 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16174 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
16175 macros.
16176 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16177 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
16178 macros.
16179 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16180 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
16181 macros.
16182 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16183 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
16184 cleanup macros.
16185 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16186 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
16187 cleanup macros.
16188 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16189 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
16190 macros.
16191 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16192 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
16193 cleanup macros.
16194 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16195 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
16196 macros.
16197 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16198 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
16199 macros.
16200 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16201 (RUN_TEST_fFF_11): Take argument string. Call new setup and
16202 cleanup macros.
16203 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16204
85118d4d
EBM
162052013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16206
16207 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16208 to _sifields.sigfault.
16209 (si_addr_lsb): Define new macro.
16210 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16211 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16212 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16213
7a44c18f
CD
162142013-05-03 Carlos O'Donell <carlos at redhat.com>
16215
16216 [BZ #15441]
16217 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16218 returns -1.
16219 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16220 null return -1.
16221 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16222 loading the domain.
16223
b50a7181
JM
162242013-05-22 Joseph Myers <joseph@codesourcery.com>
16225
16226 * math/gen-libm-test.pl (parse_args): Do not include expected
16227 result in test name.
16228 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16229 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16230 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16231 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16232 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16234
051063c8
SP
162352013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16236
3ce9e010
SP
16237 * benchtests/Makefile: Sort function entries.
16238
051063c8
SP
16239 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16240 tanh, asinh, acosh, atanh.
16241 * benchtests/acos-inputs: New file.
16242 * benchtests/acosh-inputs: New file.
16243 * benchtests/asin-inputs: New file.
16244 * benchtests/asinh-inputs: New file.
16245 * benchtests/atanh-inputs: New file.
16246 * benchtests/cosh-inputs: New file.
16247 * benchtests/log-inputs: New file.
16248 * benchtests/sinh-inputs: New file.
16249 * benchtests/tanh-inputs: New file.
16250
47c22455
DL
162512013-05-21 Dmitry V. Levin <ldv@altlinux.org>
16252
16253 [BZ #15339]
16254 * posix/tst-getaddrinfo4.c: New test.
16255 * posix/Makefile (tests): Add it.
16256
3d04f5db
SP
162572013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16258
16259 [BZ #15339]
16260 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16261 when no services were used.
16262 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16263 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16264
d5dd6189
AS
162652013-05-21 Andreas Schwab <schwab@suse.de>
16266
16267 [BZ #15014]
16268 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16269 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16270 successful.
16271 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16272 redundant variable declarations and reallocation of buffer when
16273 parsing as IPv6 address. Always set NSS status when called from
16274 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
16275 buffer too small. Correct computation of needed size.
16276 * nss/Makefile (tests): Add test-digits-dots.
16277 * nss/test-digits-dots.c: New test.
16278
fef94eab
SP
162792013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16280
16281 * benchtests/Makefile: Remove instructions for adding
16282 benchmark tests.
16283 * benchtests/README: New file to explain how to execute and
16284 enhance the benchmark tests.
16285
e39adf43
AS
162862013-05-21 Andreas Schwab <schwab@suse.de>
16287
16288 [BZ #15493]
16289 * setjmp/Makefile (tests): Add tst-sigsetjmp.
16290 * setjmp/tst-sigsetjmp.c: New test.
16291
b2b671b6
OB
162922013-05-20 Ondřej Bílka <neleai@seznam.cz>
16293
16294 * sysdeps/x86_64/memset.S (memset): New implementation.
16295 (__bzero): Likewise.
16296 (__memset_tail): New function.
16297
2d48b41c
OB
162982013-05-20 Ondřej Bílka <neleai@seznam.cz>
16299
16300 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16301 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16302 __memcpy_sse2_unaligned ifunc selection.
16303 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16304 Add memcpy-sse2-unaligned.S.
16305 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16306 Add: __memcpy_sse2_unaligned.
16307
f16cc3eb
JM
163082013-05-19 Joseph Myers <joseph@codesourcery.com>
16309
3e694268
JM
16310 [BZ #15490]
16311 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16312 math_force_eval before restoring floating-point envrionment.
16313 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16314 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16315 Likewise.
16316 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16317 <math_private.h>.
16318 (__nearbyintl): Use math_force_eval before restoring
16319 floating-point environment.
16320 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16321
db62a907
JM
16322 * math/gen-libm-test.pl (special_functions): Remove.
16323 (parse_args): Don't handle TEST_extra. Handle functions with no
16324 return value.
16325 * math/libm-test.inc (struct test_sincos_data): Replace with
16326 struct test_fFF_11_data.
16327 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16328 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16329 (sincos_test_data): Change element type to struct
16330 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
16331 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16332 RUN_TEST_LOOP_sincos.
16333 * math/README.libm-test: Don't mention special handling of
16334 individual functions.
16335 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16336 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16337 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16338 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16339 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16341
f16cc3eb
JM
16342 * math/gen-libm-test.pl (get_variable): Remove function.
16343 (parse_args): Don't show pointer parameters to call in test
16344 names. Use "extra output N" in test names for extra outputs
16345 rather than naming variables.
16346
3779b5b6
JM
163472013-05-18 Joseph Myers <joseph@codesourcery.com>
16348
2ee094ff
JM
16349 [BZ #15488]
16350 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16351 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16352 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16353 double tests.
16354 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16355 disable.
16356 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16357 check_long_double.
16358
3779b5b6
JM
16359 * math/gen-libm-test.pl (@tests): Remove variable.
16360 ($count): Likewise.
16361 (new_test): Remove function.
16362 (show_exceptions): New function.
16363 (special_functions): Use show_exceptions instead of new_test.
16364 (parse_args): Likewise.
16365 (generate_testfile): Pass only function name in generated call to
16366 print_max_error or print_complex_max_error.
16367 (get_ulps): Do not handle complex tests specially.
16368 (output_test): Rename to ...
16369 (get_all_ulps_for_test): ... this. Return a string rather than
16370 printing to a file. Require ulps to be present.
16371 (output_ulps): Generate arrays rather than #defines.
16372 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16373 (struct ulp_data): New type.
16374 (BUILD_COMPLEX_ULP): Remove macro.
16375 (compare_ulp_data): New function.
16376 (find_ulps): Likewise.
16377 (find_test_ulps): Likewise.
16378 (find_function_ulps): Likewise.
16379 (find_complex_function_ulps): Likewise.
16380 (print_max_error): Determine allowed ulps using
16381 find_function_ulps.
16382 (print_complex_max_error): Determine allowed ulps using
16383 find_complex_function_ulps.
16384 (check_float_internal): Determine max ulps using find_test_ulps.
16385 (check_float): Do not take max_ulp parameter. Update call to
16386 check_float_internal.
16387 (check_complex): Likewise.
16388 (check_int): Do not take max_ulp parameter.
16389 (check_long): Likewise.
16390 (check_bool): Likewise.
16391 (check_longlong): Likewise.
16392 (struct test_f_f_data): Remove max_ulp field.
16393 (struct test_ff_f_data): Likewise.
16394 (struct test_ff_f_data_nexttoward): Likewise.
16395 (struct test_fi_f_data): Likewise.
16396 (struct test_fl_f_data): Likewise.
16397 (struct test_if_f_data): Likewise.
16398 (struct test_fff_f_data): Likewise.
16399 (struct test_c_f_data): Likewise.
16400 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16401 (struct test_fF_f1_data): Likewise.
16402 (struct test_ffI_f1_data): Likewise.
16403 (struct test_c_c_data): Remove max_ulp field.
16404 (struct test_cc_c_data): Likewise.
16405 (struct test_f_i_data): Likewise.
16406 (struct test_ff_i_data): Likewise.
16407 (struct test_f_l_data): Likewise.
16408 (struct test_f_L_data): Likewise.
16409 (struct test_sincos_data): Likewise.
16410 (RUN_TEST_f_f): Do not handle ulps.
16411 (RUN_TEST_LOOP_f_f): Likewise.
16412 (RUN_TEST_2_f): Likewise.
16413 (RUN_TEST_LOOP_2_f): Likewise.
16414 (RUN_TEST_fff_f): Likewise.
16415 (RUN_TEST_LOOP_fff_f): Likewise.
16416 (RUN_TEST_c_f): Likewise.
16417 (RUN_TEST_LOOP_c_f): Likewise.
16418 (RUN_TEST_f_f1): Likewise.
16419 (RUN_TEST_LOOP_f_f1): Likewise.
16420 (RUN_TEST_fF_f1): Likewise.
16421 (RUN_TEST_LOOP_fF_f1): Likewise.
16422 (RUN_TEST_fI_f1): Likewise.
16423 (RUN_TEST_LOOP_fI_f1): Likewise.
16424 (RUN_TEST_ffI_f1): Likewise.
16425 (RUN_TEST_LOOP_ffI_f1): Likewise.
16426 (RUN_TEST_c_c): Likewise.
16427 (RUN_TEST_LOOP_c_c): Likewise.
16428 (RUN_TEST_cc_c): Likewise.
16429 (RUN_TEST_LOOP_cc_c): Likewise.
16430 (RUN_TEST_f_i): Likewise.
16431 (RUN_TEST_LOOP_f_i): Likewise.
16432 (RUN_TEST_f_i_tg): Likewise.
16433 (RUN_TEST_LOOP_f_i_tg): Likewise.
16434 (RUN_TEST_ff_i_tg): Likewise.
16435 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16436 (RUN_TEST_f_b): Likewise.
16437 (RUN_TEST_LOOP_f_b): Likewise.
16438 (RUN_TEST_f_b_tg): Likewise.
16439 (RUN_TEST_LOOP_f_b_tg): Likewise.
16440 (RUN_TEST_f_l): Likewise.
16441 (RUN_TEST_LOOP_f_l): Likewise.
16442 (RUN_TEST_f_L): Likewise.
16443 (RUN_TEST_LOOP_f_L): Likewise.
16444 (RUN_TEST_sincos): Likewise.
16445 (RUN_TEST_LOOP_sincos): Likewise.
16446
8269107f
JM
164472013-05-17 Joseph Myers <joseph@codesourcery.com>
16448
bb38759d
JM
16449 [BZ #15480]
16450 [BZ #15485]
16451 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
16452 main case of finite arguments, set rounding mode to FE_TONEAREST
16453 and discard exceptions.
16454 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
16455 exceptions.
16456 (remainder_tonearest_test_data): New variable.
16457 (remainder_test_tonearest): New function.
16458 (remainder_towardzero_test_data): New variable.
16459 (remainder_test_towardzero): New function.
16460 (remainder_downward_test_data): New variable.
16461 (remainder_test_downward): New function.
16462 (remainder_upward_test_data): New variable.
16463 (remainder_test_upward): New function.
16464 (main): Call the new test functions.
16465
a00bdcf0
JM
16466 * math/libm-test.inc (struct test_f_f1_data): Remove field
16467 extra_init.
16468 (struct test_fF_f1_data): Likewise.
16469 (struct test_ffI_f1_data): Likewise.
16470 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
16471 based on value of EXTRA_EXPECTED.
16472 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16473 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
16474 EXTRA_VAR based on value of EXTRA_EXPECTED.
16475 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16476 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
16477 EXTRA_VAR based on value of EXTRA_EXPECTED.
16478 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16479 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
16480 EXTRA_VAR based on value of EXTRA_EXPECTED.
16481 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16482 * math/gen-libm-test.pl (parse_args): Don't output initializers
16483 for extra output values.
16484
de407f79
JM
16485 * math/libm-test.inc (check_int): Expect result to be exactly
16486 equal to expected value and do not handle ulps.
16487 (check_long): Likewise.
16488 (check_longlong): Likewise.
16489
8269107f
JM
16490 * math/libm-test.inc (ceil_test_data): Test for "inexact"
16491 exceptions.
16492 (cimag_test_data): Likewise.
16493 (conj_test_data): Likewise.
16494 (copysign_test_data): Likewise.
16495 (cproj_test_data): Likewise.
16496 (creal_test_data): Likewise.
16497 (fabs_test_data): Likewise.
16498 (fdim_test_data): Likewise.
16499 (finite_test_data): Likewise.
16500 (floor_test_data): Likewise.
16501 (fmax_test_data): Likewise.
16502 (fmin_test_data): Likewise.
16503 (fmod_test_data): Likewise.
16504 (fpclassify_test_data): Likewise.
16505 (frexp_test_data): Likewise.
16506 (ilogb_test_data): Likewise.
16507 (isfinite_test_data): Likewise.
16508 (isgreater_test_data): Likewise.
16509 (isgreaterequal_test_data): Likewise.
16510 (isinf_test_data): Likewise.
16511 (isless_test_data): Likewise.
16512 (islessequal_test_data): Likewise.
16513 (islessgreater_test_data): Likewise.
16514 (isnan_test_data): Likewise.
16515 (isnormal_test_data): Likewise.
16516 (issignaling_test_data): Likewise.
16517 (isunordered_test_data): Likewise.
16518 (ldexp_test_data): Likewise.
16519 (lrint_test_data): Likewise.
16520 (lrint_test_data) [TEST_FLOAT]: Disable one test.
16521 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
16522 (lrint_tonearest_test_data): Test for "inexact" exceptions.
16523 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16524 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
16525 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16526 test input.
16527 (lrint_towardzero_test_data): Test for "inexact" exceptions.
16528 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16529 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
16530 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
16531 that test input.
16532 (lrint_downward_test_data): Test for "inexact" exceptions.
16533 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16534 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
16535 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16536 test input.
16537 (lrint_upward_test_data): Test for "inexact" exceptions.
16538 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
16539 test input.
16540 (llrint_test_data): Test for "inexact" exceptions.
16541 (llrint_test_data) [TEST_FLOAT]: Disable one test.
16542 (llrint_tonearest_test_data): Test for "inexact" exceptions.
16543 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16544 (llrint_towardzero_test_data): Test for "inexact" exceptions.
16545 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16546 (llrint_downward_test_data): Test for "inexact" exceptions.
16547 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16548 (llrint_upward_test_data): Test for "inexact" exceptions.
16549 (logb_test_data): Likewise.
16550 (logb_downward_test_data): Likewise.
16551 (nextafter_test_data): Likewise.
16552 (nexttoward_test_data): Likewise.
16553 (remainder_test_data): Likewise.
16554 (remquo_test_data): Likewise.
16555 (scalbn_test_data): Likewise.
16556 (scalbln_test_data): Likewise.
16557 (signbit_test_data): Likewise.
16558 (sqrt_test_data): Likewise.
16559 (significand_test_data): Likewise.
16560
48a18de1
SP
165612013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16562
16563 [BZ #15424]
16564 * benchtests/bench-modf.c (struct args): Mark arg0 as
16565 volatile.
16566 * scripts/bench.pl: Mark members of struct args as volatile.
16567
13d3b41a
AZ
165682013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16569
68191c1d 16570 [BZ # 15497]
13d3b41a
AZ
16571 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
16572 negative infinity on POWER6 or lower.
16573 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
16574
2848b105
MR
165752013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
16576
16577 [BZ #15442]
16578 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
16579 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
16580 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
16581 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
16582 (_FP_SETQNAN): New macro.
16583 (_FP_SETQNAN_SEMIRAW): Likewise.
16584 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
16585 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
16586 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
16587 (FP_EXTEND): Use _FP_FRAC_SNANP.
16588 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
16589 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
16590 into account.
16591 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16592 New macro.
16593 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16594 Likewise.
16595
323e5cb7
JM
165962013-05-16 Joseph Myers <joseph@codesourcery.com>
16597
c58b274f
JM
16598 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
16599 with DIVIDE_BY_ZERO_EXCEPTION.
16600 (gamma_test_data): Likewise.
16601 (lgamma_test_data): Likewise.
16602 (log_test_data): Likewise.
16603 (log10_test_data): Likewise.
16604 (log2_test_data): Likewise.
16605 (tgamma_test_data): Likewise.
16606
0ab34904
JM
16607 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
16608 (acos_test_tonearest): Likewise.
16609 (acos_test_towardzero): Likewise.
16610 (acos_test_downward): Likewise.
16611 (acos_test_upward): Likewise.
16612 (acosh_test): Likewise.
16613 (asin_test): Likewise.
16614 (asin_test_tonearest): Likewise.
16615 (asin_test_towardzero): Likewise.
16616 (asin_test_downward): Likewise.
16617 (asin_test_upward): Likewise.
16618 (asinh_test): Likewise.
16619 (atan_test): Likewise.
16620 (atanh_test): Likewise.
16621 (atan2_test): Likewise.
16622 (cabs_test): Likewise.
16623 (cacos_test): Likewise.
16624 (cacosh_test): Likewise.
16625 (casin_test): Likewise.
16626 (casinh_test): Likewise.
16627 (catan_test): Likewise.
16628 (catanh_test): Likewise.
16629 (cbrt_test): Likewise.
16630 (ccos_test): Likewise.
16631 (ccosh_test): Likewise.
16632 (cexp_test): Likewise.
16633 (clog_test): Likewise.
16634 (clog10_test): Likewise.
16635 (cos_test): Likewise.
16636 (cos_test_tonearest): Likewise.
16637 (cos_test_towardzero): Likewise.
16638 (cos_test_downward): Likewise.
16639 (cos_test_upward): Likewise.
16640 (cosh_test): Likewise.
16641 (cosh_test_tonearest): Likewise.
16642 (cosh_test_towardzero): Likewise.
16643 (cosh_test_downward): Likewise.
16644 (cosh_test_upward): Likewise.
16645 (cpow_test): Likewise.
16646 (csin_test): Likewise.
16647 (csinh_test): Likewise.
16648 (csqrt_test): Likewise.
16649 (ctan_test): Likewise.
16650 (ctan_test_tonearest): Likewise.
16651 (ctan_test_towardzero): Likewise.
16652 (ctan_test_downward): Likewise.
16653 (ctan_test_upward): Likewise.
16654 (ctanh_test): Likewise.
16655 (ctanh_test_tonearest): Likewise.
16656 (ctanh_test_towardzero): Likewise.
16657 (ctanh_test_downward): Likewise.
16658 (ctanh_test_upward): Likewise.
16659 (erf_test): Likewise.
16660 (erfc_test): Likewise.
16661 (exp_test): Likewise.
16662 (exp_test_tonearest): Likewise.
16663 (exp_test_towardzero): Likewise.
16664 (exp_test_downward): Likewise.
16665 (exp_test_upward): Likewise.
16666 (exp10_test): Likewise.
16667 (exp2_test): Likewise.
16668 (expm1_test): Likewise.
16669 (fmod_test): Likewise.
16670 (gamma_test): Likewise.
16671 (hypot_test): Likewise.
16672 (j0_test): Likewise.
16673 (j1_test): Likewise.
16674 (jn_test): Likewise.
16675 (lgamma_test): Likewise.
16676 (log_test): Likewise.
16677 (log10_test): Likewise.
16678 (log1p_test): Likewise.
16679 (log2_test): Likewise.
16680 (logb_test_downward): Likewise.
16681 (pow_test): Likewise.
16682 (pow_test_tonearest): Likewise.
16683 (pow_test_towardzero): Likewise.
16684 (pow_test_downward): Likewise.
16685 (pow_test_upward): Likewise.
16686 (remainder_test): Likewise.
16687 (remquo_test): Likewise.
16688 (sin_test): Likewise.
16689 (sin_test_tonearest): Likewise.
16690 (sin_test_towardzero): Likewise.
16691 (sin_test_downward): Likewise.
16692 (sin_test_upward): Likewise.
16693 (sincos_test): Likewise.
16694 (sinh_test): Likewise.
16695 (sinh_test_tonearest): Likewise.
16696 (sinh_test_towardzero): Likewise.
16697 (sinh_test_downward): Likewise.
16698 (sinh_test_upward): Likewise.
16699 (sqrt_test): Likewise.
16700 (tan_test): Likewise.
16701 (tan_test_tonearest): Likewise.
16702 (tan_test_towardzero): Likewise.
16703 (tan_test_downward): Likewise.
16704 (tan_test_upward): Likewise.
16705 (tanh_test): Likewise.
16706 (tgamma_test): Likewise.
16707 (y0_test): Likewise.
16708 (y1_test): Likewise.
16709 (yn_test): Likewise.
16710
323e5cb7
JM
16711 * math/gen-libm-test.pl (adjust_arg): Remove function.
16712 (special_function): Remove argument $in_func. Only handle
16713 generating output for tables of tests, not inside functions.
16714 (parse_args): Likewise.
16715 (generate_testfile): Remove variable $in_func. Update call to
16716 parse_args.
16717 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
16718 (MINUS_ZERO_INIT): Rename macro to minus_zero.
16719 (PLUS_INFTY_INIT): Rename macro to plus_infty.
16720 (MINUS_INFTY_INIT): Rename macro to minus_infty.
16721 (QNAN_VALUE_INIT): Rename macro to qnan_value.
16722 (MAX_VALUE_INIT): Rename macro to max_value.
16723 (MIN_VALUE_INIT): Rename macro to min_value.
16724 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
16725 (plus_zero): Remove variable.
16726 (minus_zero): Likewise.
16727 (plus_infty): Likewise.
16728 (minus_infty): Likewise.
16729 (qnan_value): Likewise.
16730 (max_value): Likewise.
16731 (min_value): Likewise.
16732 (min_subnorm_value): Likewise.
16733
e054f494
RA
167342013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16735
16736 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
16737 uint64_t or uint32_t usage.
16738 * crypt/sha256-block.c: Likewise.
16739 * crypt/sha256-crypt.c: Likewise.
16740 * crypt/sha256.c: Likewise.
16741 * crypt/sha512-block.c: Likewise.
16742 * crypt/sha512-crypt.c: Likewise.
16743 * crypt/sha512.c: Likewise.
16744 * debug/backtrace-tst.c: Likewise.
16745 * debug/pcprofiledump.c: Likewise.
16746 * elf/cache.c: Likewise.
16747 * elf/dl-cache.c: Likewise.
16748 * elf/dl-misc.c: Likewise.
16749 * elf/dl-profile.c: Likewise.
16750 * elf/dl-support.c: Likewise.
16751 * elf/ldconfig.c: Likewise.
16752 * elf/sprof.c: Likewise.
16753 * iconv/dummy-repertoire.c: Likewise.
16754 * iconv/iconv_charmap.c: Likewise.
16755 * iconv/skeleton.c: Likewise.
16756 * iconvdata/8bit-generic.c: Likewise.
16757 * iconvdata/cp737.h: Likewise.
16758 * iconvdata/cp775.h: Likewise.
16759 * iconvdata/ibm1008.h: Likewise.
16760 * iconvdata/ibm1025.h: Likewise.
16761 * iconvdata/ibm1046.h: Likewise.
16762 * iconvdata/ibm1097.h: Likewise.
16763 * iconvdata/ibm1112.h: Likewise.
16764 * iconvdata/ibm1122.h: Likewise.
16765 * iconvdata/ibm1123.h: Likewise.
16766 * iconvdata/ibm1124.h: Likewise.
16767 * iconvdata/ibm1129.h: Likewise.
16768 * iconvdata/ibm1130.h: Likewise.
16769 * iconvdata/ibm1132.h: Likewise.
16770 * iconvdata/ibm1133.h: Likewise.
16771 * iconvdata/ibm1137.h: Likewise.
16772 * iconvdata/ibm1140.h: Likewise.
16773 * iconvdata/ibm1141.h: Likewise.
16774 * iconvdata/ibm1142.h: Likewise.
16775 * iconvdata/ibm1143.h: Likewise.
16776 * iconvdata/ibm1144.h: Likewise.
16777 * iconvdata/ibm1145.h: Likewise.
16778 * iconvdata/ibm1146.h: Likewise.
16779 * iconvdata/ibm1147.h: Likewise.
16780 * iconvdata/ibm1148.h: Likewise.
16781 * iconvdata/ibm1149.h: Likewise.
16782 * iconvdata/ibm1153.h: Likewise.
16783 * iconvdata/ibm1154.h: Likewise.
16784 * iconvdata/ibm1155.h: Likewise.
16785 * iconvdata/ibm1156.h: Likewise.
16786 * iconvdata/ibm1157.h: Likewise.
16787 * iconvdata/ibm1158.h: Likewise.
16788 * iconvdata/ibm1160.h: Likewise.
16789 * iconvdata/ibm1161.h: Likewise.
16790 * iconvdata/ibm1162.h: Likewise.
16791 * iconvdata/ibm1163.h: Likewise.
16792 * iconvdata/ibm1164.h: Likewise.
16793 * iconvdata/ibm1166.h: Likewise.
16794 * iconvdata/ibm1167.h: Likewise.
16795 * iconvdata/ibm12712.h: Likewise.
16796 * iconvdata/ibm1390.h: Likewise.
16797 * iconvdata/ibm1399.h: Likewise.
16798 * iconvdata/ibm16804.h: Likewise.
16799 * iconvdata/ibm4517.h: Likewise.
16800 * iconvdata/ibm4899.h: Likewise.
16801 * iconvdata/ibm4909.h: Likewise.
16802 * iconvdata/ibm4971.h: Likewise.
16803 * iconvdata/ibm5347.h: Likewise.
16804 * iconvdata/ibm803.h: Likewise.
16805 * iconvdata/ibm856.h: Likewise.
16806 * iconvdata/ibm901.h: Likewise.
16807 * iconvdata/ibm902.h: Likewise.
16808 * iconvdata/ibm9030.h: Likewise.
16809 * iconvdata/ibm9066.h: Likewise.
16810 * iconvdata/ibm921.h: Likewise.
16811 * iconvdata/ibm922.h: Likewise.
16812 * iconvdata/ibm9448.h: Likewise.
16813 * iconvdata/isiri-3342.h: Likewise.
16814 * iconvdata/jis0201.h: Likewise.
16815 * include/link.h: Likewise.
16816 * include/netdb.h: Likewise.
16817 * inet/check_native.c: Likewise.
16818 * inet/check_pf.c: Likewise.
16819 * inet/getipv4sourcefilter.c: Likewise.
16820 * inet/getnameinfo.c: Likewise.
16821 * inet/getsourcefilter.c: Likewise.
16822 * inet/htonl.c: Likewise.
16823 * inet/setipv4sourcefilter.c: Likewise.
16824 * inet/setsourcefilter.c: Likewise.
16825 * inet/test-inet6_opt.c: Likewise.
16826 * inet/tst-network.c: Likewise.
16827 * locale/C-collate.c: Likewise.
16828 * locale/C-ctype.c: Likewise.
16829 * locale/C-time.c: Likewise.
16830 * locale/C-translit.h: Likewise.
16831 * locale/loadarchive.c: Likewise.
16832 * locale/programs/3level.h: Likewise.
16833 * locale/programs/charmap.c: Likewise.
16834 * locale/programs/charmap.h: Likewise.
16835 * locale/programs/ld-address.c: Likewise.
16836 * locale/programs/ld-collate.c: Likewise.
16837 * locale/programs/ld-ctype.c: Likewise.
16838 * locale/programs/ld-identification.c: Likewise.
16839 * locale/programs/ld-measurement.c: Likewise.
16840 * locale/programs/ld-messages.c: Likewise.
16841 * locale/programs/ld-monetary.c: Likewise.
16842 * locale/programs/ld-name.c: Likewise.
16843 * locale/programs/ld-numeric.c: Likewise.
16844 * locale/programs/ld-paper.c: Likewise.
16845 * locale/programs/ld-telephone.c: Likewise.
16846 * locale/programs/ld-time.c: Likewise.
16847 * locale/programs/linereader.c: Likewise.
16848 * locale/programs/locale.c: Likewise.
16849 * locale/programs/locarchive.c: Likewise.
16850 * locale/programs/locfile.h: Likewise.
16851 * locale/programs/repertoire.c: Likewise.
16852 * locale/programs/simple-hash.c: Likewise.
16853 * locale/programs/simple-hash.h: Likewise.
16854 * malloc/memusage.c: Likewise.
16855 * malloc/memusagestat.c: Likewise.
16856 * nis/nis_defaults.c: Likewise.
16857 * nis/nis_hash.c: Likewise.
16858 * nis/nis_print.c: Likewise.
16859 * nis/nis_xdr.c: Likewise.
16860 * nscd/connections.c: Likewise.
16861 * nscd/hstcache.c: Likewise.
16862 * nscd/nscd_gethst_r.c: Likewise.
16863 * nscd/nscd_getserv_r.c: Likewise.
16864 * nscd/nscd_helper.c: Likewise.
16865 * nscd/servicescache.c: Likewise.
16866 * nss/makedb.c: Likewise.
16867 * nss/nss_db/db-XXX.c: Likewise.
16868 * nss/nss_db/db-initgroups.c: Likewise.
16869 * nss/nss_db/db-netgrp.c: Likewise.
16870 * nss/nss_files/files-network.c: Likewise.
16871 * nss/nss_files/files-parse.c: Likewise.
16872 * posix/bug-regex5.c: Likewise.
16873 * posix/fnmatch_loop.c: Likewise.
16874 * posix/regcomp.c: Likewise.
16875 * posix/regexec.c: Likewise.
16876 * posix/tst-rfc3484-2.c: Likewise.
16877 * posix/tst-rfc3484-3.c: Likewise.
16878 * posix/tst-rfc3484.c: Likewise.
16879 * resolv/nss_dns/dns-canon.c: Likewise.
16880 * resolv/nss_dns/dns-network.c: Likewise.
16881 * resolv/res_init.c: Likewise.
16882 * resolv/res_mkquery.c: Likewise.
16883 * resolv/tst-aton.c: Likewise.
16884 * stdlib/cxa_atexit.c: Likewise.
16885 * stdlib/cxa_finalize.c: Likewise.
16886 * stdlib/gen-fpioconst.c: Likewise.
16887 * stdlib/strtol_l.c: Likewise.
16888 * string/tst-endian.c: Likewise.
16889 * sunrpc/auth_des.c: Likewise.
16890 * sunrpc/clnt_udp.c: Likewise.
16891 * sunrpc/rtime.c: Likewise.
16892 * sunrpc/svcauth_des.c: Likewise.
16893 * sunrpc/xdr.c: Likewise.
16894 * sunrpc/xdr_intXX_t.c: Likewise.
16895 * sunrpc/xdr_rec.c: Likewise.
16896 * sysdeps/generic/ldconfig.h: Likewise.
16897 * sysdeps/generic/ldsodefs.h: Likewise.
16898 * sysdeps/generic/memusage.h: Likewise.
16899 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16900 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
16901 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
16902 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16903 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16904 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16905 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16906 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16907 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16908 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16909 * sysdeps/posix/getaddrinfo.c: Likewise.
16910 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16911 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16912 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16913 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16914 * sysdeps/powerpc/test-gettimebase.c: Likewise.
16915 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16916 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
16917 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
16918 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16919 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
16920 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16921 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16922 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
16923 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
16924 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
16925 * sysdeps/x86_64/dl-tls.h: Likewise.
16926 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
16927 * time/alt_digit.c: Likewise.
16928 * time/era.c: Likewise.
16929 * wcsmbs/tst-c16c32-1.c: Likewise.
16930
8c75f674
JM
169312013-05-16 Joseph Myers <joseph@codesourcery.com>
16932
16933 * math/libm-test.inc (struct test_sincos_data): New type.
16934 (RUN_TEST_LOOP_sincos): New macro.
16935 (sincos_test_data): New variable.
16936 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
16937
e6e49e59
RH
169382013-05-16 Richard Henderson <rth@redhat.com>
16939
16940 * math/atest-exp2.c (LIMB64): New macro.
16941 (CONSTSZ): New macro.
16942 (mp_exp1, mp_exp_m1, mp_log2): New variables.
16943 (hexdig): Move ...
16944 (print_mpn_fp): ... to function scope.
16945 (read_mpn_hex): Remove.
16946 (get_log2): Remove.
16947 (exp2_mpn): Use mp_log2.
16948 (main): Use mp_exp1.
16949
15c7c18d
JM
169502013-05-16 Joseph Myers <joseph@codesourcery.com>
16951
105a07df
JM
16952 * math/libm-test.inc: Remove comment about not testing "inexact"
16953 exceptions.
16954 (INEXACT_EXCEPTION): New macro.
16955 (NO_INEXACT_EXCEPTION): Likewise.
16956 (INVALID_EXCEPTION_OK): Update value.
16957 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16958 (OVERFLOW_EXCEPTION_OK): Likewise.
16959 (UNDERFLOW_EXCEPTION_OK): Likewise.
16960 (IGNORE_ZERO_INF_SIGN): Likewise.
16961 (ERRNO_UNCHANGED): Likewise.
16962 (ERRNO_EDOM): Likewise.
16963 (ERRNO_ERANGE): Likewise.
16964 (test_exceptions): Handle testing "inexact" exceptions.
16965 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
16966 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
16967 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
16968 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
16969 INEXACT_EXCEPTION.
16970 (rint_towardzero_test_data): Likewise.
16971 (rint_downward_test_data): Likewise.
16972 (rint_upward_test_data): Likewise.
16973
e9eee333
JM
16974 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
16975 with OVERFLOW_EXCEPTION.
16976 (exp10_test_data): Likewise.
16977 (exp2_test_data): Likewise.
16978 (expm1_test_data): Likewise.
16979 (lgamma_test_data): Likewise.
16980 (pow_test_data): Likewise.
16981 (tgamma_test_data): Likewise.
16982 (yn_test_data): Remove duplicate test of overflow.
16983
1c38ff73
JM
16984 * math/libm-test.inc (struct test_cc_c_data): New type.
16985 (RUN_TEST_LOOP_cc_c): New macro.
16986 (cpow_test_data): New variable.
16987 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
16988
15c7c18d
JM
16989 * math/libm-test.inc (struct test_f_L_data): New type.
16990 (RUN_TEST_LOOP_f_L): New macro.
16991 (llrint_test_data): New variable.
16992 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
16993 (llrint_tonearest_test_data): New variable.
16994 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
16995 (llrint_towardzero_test_data): New variable.
16996 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
16997 (llrint_downward_test_data): New variable.
16998 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
16999 (llrint_upward_test_data): New variable.
17000 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17001 (llround_test_data): New variable.
17002 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17003
f137ff13
PC
170042013-05-13 Peter Collingbourne <pcc@google.com>
17005
17006 * math/atest-exp2.c (get_log2): Remove const attribute.
17007
3608cb24
JM
170082013-05-15 Joseph Myers <joseph@codesourcery.com>
17009
17010 * math/libm-test.inc (struct test_f_l_data): New type.
17011 (RUN_TEST_LOOP_f_l): New macro.
17012 (lrint_test_data): New variable.
17013 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17014 (lrint_tonearest_test_data): New variable.
17015 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17016 (lrint_towardzero_test_data): New variable.
17017 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17018 (lrint_downward_test_data): New variable.
17019 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17020 (lrint_upward_test_data): New variable.
17021 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17022 (lround_test_data): New variable.
17023 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17024
39b1f617
PC
170252013-05-15 Peter Collingbourne <pcc@google.com>
17026
1deff3dc
PC
17027 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17028 (EXTRACT_WORDS64) Use where appropriate.
17029 (INSERT_WORDS64) Likewise.
17030
791f3ba0
PC
17031 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17032 constraints with x constraints.
17033 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17034
39b1f617
PC
17035 * malloc/obstack.c (_obstack_compat): Add initializer.
17036
12fba011
EM
170372013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
17038
17039 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17040 si_trapno and add si_addr_lsb to _sifields.sigfault.
17041 (si_trapno): Remove macro.
17042 (si_addr_lsb): Define new macro.
17043 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17044
d369f531
JM
170452013-05-15 Joseph Myers <joseph@codesourcery.com>
17046
b861c6c4
JM
17047 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17048 instead of TEST_f_l.
17049 (llrint_test_tonearest): Likewise.
17050 (llrint_test_towardzero): Likewise.
17051 (llrint_test_downward): Likewise.
17052 (llrint_test_upward): Likewise.
17053 (llround_test): Likewise.
17054
7abeee12
JM
17055 * math/libm-test.inc (struct test_f_i_data): Add comment.
17056 (RUN_TEST_LOOP_f_b): New macro.
17057 (RUN_TEST_LOOP_f_b_tg): Likewise.
17058 (finite_test_data): New variable.
17059 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17060 (isfinite_test_data): New variable.
17061 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17062 (isinf_test_data): New variable.
17063 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17064 (isnan_test_data): New variable.
17065 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17066 (isnormal_test_data): New variable.
17067 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17068 (issignaling_test_data): New variable.
17069 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17070 (signbit_test_data): New variable.
17071 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17072
cbe8c4d3
JM
17073 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17074 with INVALID_EXCEPTION.
17075 (acosh_test_data): Likewise.
17076 (asin_test_data): Likewise.
17077 (atanh_test_data): Likewise.
17078 (fmod_test_data): Likewise.
17079 (log_test_data): Likewise.
17080 (log10_test_data): Likewise.
17081 (log2_test_data): Likewise.
17082 (pow_test_data): Likewise.
17083 (sqrt_test_data): Likewise.
17084 (y0_test_data): Likewise.
17085 (y1_test_data): Likewise.
17086 (yn_test_data): Likewise.
17087
5575c0e5
JM
17088 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17089 function contents.
17090
d369f531
JM
17091 * math/libm-test.inc (struct test_ff_i_data): New type.
17092 (RUN_TEST_LOOP_ff_i_tg): New macro.
17093 (isgreater_test_data): New variable.
17094 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17095 (isgreaterequal_test_data): New variable.
17096 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17097 (isless_test_data): New variable.
17098 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17099 (islessequal_test_data): New variable.
17100 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17101 (islessgreater_test_data): New variable.
17102 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17103 (isunordered_test_data): New variable.
17104 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17105
781fd748
DM
171062013-05-14 David S. Miller <davem@davemloft.net>
17107
17108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17109
87aa21df
JM
171102013-05-14 Joseph Myers <joseph@codesourcery.com>
17111
5e908270
JM
17112 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17113
f71172e5
JM
17114 * math/libm-test.inc (struct test_fF_f1_data): Change type of
17115 extra_test to int.
17116 (struct test_f_i_data): Change type of max_ulp to int.
17117
8cfa635a
JM
17118 * math/libm-test.inc (test_ffI_f1_data): New type.
17119 (RUN_TEST_LOOP_ffI_f1): New macro.
17120 (remquo_test_data): New variable.
17121 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17122
2bcb36b2
JM
17123 * setjmp/tst-setjmp-fp.c: New file.
17124 * setjmp/Makefile (tests): Add tst-setjmp-fp.
17125 (link-libm): New variable.
17126 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17127
acbd839a
JM
17128 * math/libm-test.inc (struct test_f_i_data): New type.
17129 (RUN_TEST_LOOP_f_i): New macro.
17130 (RUN_TEST_LOOP_f_i_tg): Likewise.
17131 (fpclassify_test_data): New variable.
17132 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17133 (ilogb_test_data): New variable.
17134 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17135
e414d745
JM
17136 * math/libm-test.inc (scalbln_test): Correct function name in END
17137 call.
17138
d9c2a0fd
JM
17139 * math/libm-test.inc (struct test_f_f1_data): Add comment.
17140 (RUN_TEST_LOOP_fI_f1): New macro.
17141 (frexp_test_data): New variable.
17142 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17143
9dc9095d
JM
17144 * math/libm-test.inc (struct test_fF_f1_data): New type.
17145 (RUN_TEST_LOOP_fF_f1): New macro.
17146 (modf_test_data): New variable.
17147 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17148
87aa21df
JM
17149 * math/libm-test.inc (struct test_f_f1_data): New type.
17150 (RUN_TEST_LOOP_f_f1): New macro.
17151 (gamma_test_data): New variable.
17152 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17153 (lgamma_test_data): New variable.
17154 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17155
141af660
CD
171562013-05-13 Carlos O'Donell <carlos@redhat.com>
17157
17158 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17159 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17160 (main): Comment "tls" pseudo-hwcap.
17161
6d33265c
JM
171622013-05-13 Joseph Myers <joseph@codesourcery.com>
17163
68fc074c
JM
17164 * math/libm-test.inc (struct test_fl_f_data): New type.
17165 (RUN_TEST_LOOP_fl_f): New variable.
17166 (scalbln_test_data): New variable.
17167 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17168
243216e1
JM
17169 * math/libm-test.inc (struct test_fi_f_data): New type.
17170 (RUN_TEST_LOOP_fi_f): New macro.
17171 (ldexp_test_data): New variable.
17172 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17173 (scalbn_test_data): New variable.
17174 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17175
6a1992e2
JM
17176 * math/libm-test.inc (struct test_c_f_data): New type.
17177 (RUN_TEST_LOOP_c_f): New macro.
17178 (cabs_test_data): New variable.
17179 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17180 (carg_test_data): New variable.
17181 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17182 (cimag_test_data): New variable.
17183 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17184 (creal_test_data): New variable.
17185 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17186
0e400df5
JM
17187 * math/libm-test.inc (struct test_if_f_data): New type.
17188 (RUN_TEST_LOOP_if_f): New macro.
17189 (jn_test_data): New variable.
17190 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17191 (yn_test_data): New variable.
17192 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17193
6d33265c
JM
17194 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17195
f98ece5f
AZ
171962013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17197
17198 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17199 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17200
0f7d347b
SP
172012013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17202
43fe811b
SP
17203 * benchtests/Makefile (CPPFLAGS-nonlib): Add
17204 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17205 (bench-deps): Add bench-timing.h.
17206 * benchtests-bench-skeleton.c: Include bench-timing.h.
17207 (main): Use TIMING_* macros instead of clock_gettime.
17208 * benchtests/bench-timing.h: New file.
17209
0f7d347b
SP
17210 [BZ #14582]
17211 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17212 Renamed from _LIB_VERSION.
17213 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17214
601a3a5f
JM
172152013-05-12 Joseph Myers <joseph@codesourcery.com>
17216
4f184d30
JM
17217 * math/libm-test.inc (struct test_fff_f_data): New type.
17218 (RUN_TEST_LOOP_fff_f): New macro.
17219 (fma_test_data): New variable.
17220 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17221 (fma_towardzero_test_data): New variable.
17222 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17223 (fma_downward_test_data): New variable.
17224 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17225 (fma_upward_test_data): New variable.
17226 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17227
08198877
JM
17228 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17229 (struct test_c_c_data): New type.
17230 (RUN_TEST_LOOP_c_c): New macro.
17231 (cacos_test_data): New variable.
17232 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17233 (cacosh_test_data): New variable.
17234 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17235 (casin_test_data): New variable.
17236 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17237 (casinh_test_data): New variable.
17238 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17239 (catan_test_data): New variable.
17240 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17241 (catanh_test_data): New variable.
17242 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17243 (ccos_test_data): New variable.
17244 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17245 (ccosh_test_data): New variable.
17246 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17247 (cexp_test_data): New variable.
17248 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17249 (clog_test_data): New variable.
17250 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17251 (clog10_test_data): New variable.
17252 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17253 (conj_test_data): New variable.
17254 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17255 (cproj_test_data): New variable.
17256 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17257 (csin_test_data): New variable.
17258 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17259 (csinh_test_data): New variable.
17260 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17261 (csqrt_test_data): New variable.
17262 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17263 (ctan_test_data): New variable.
17264 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17265 (ctan_tonearest_test_data): New variable.
17266 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17267 (ctan_towardzero_test_data): New variable.
17268 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17269 (ctan_downward_test_data): New variable.
17270 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17271 (ctan_upward_test_data): New variable.
17272 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17273 (ctanh_test_data): New variable.
17274 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17275 (ctanh_tonearest_test_data): New variable.
17276 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17277 (ctanh_towardzero_test_data): New variable.
17278 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17279 (ctanh_downward_test_data): New variable.
17280 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17281 (ctanh_upward_test_data): New variable.
17282 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17283 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17284 of BUILD_COMPLEX.
17285
601a3a5f
JM
17286 * math/libm-test.inc (struct test_ff_f_data): New type.
17287 (struct test_ff_f_data_nexttoward): Likewise.
17288 (RUN_TEST_LOOP_2_f): New macro.
17289 (RUN_TEST_LOOP_ff_f): Likewise.
17290 (atan2_test_data): New variable.
17291 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17292 (copysign_test_data): New variable.
17293 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17294 (fdim_test_data): New variable.
17295 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17296 (fmax_test_data): New variable.
17297 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17298 (fmin_test_data): New variable.
17299 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17300 (fmod_test_data): New variable.
17301 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17302 (hypot_test_data): New variable.
17303 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17304 (nextafter_test_data): New variable.
17305 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17306 (nexttoward_test_data): New variable.
17307 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17308 (pow_test_data): New variable.
17309 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17310 (pow_tonearest_test_data): New variable.
17311 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17312 (pow_towardzero_test_data): New variable.
17313 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17314 (pow_downward_test_data): New variable.
17315 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17316 (pow_upward_test_data): New variable.
17317 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17318 (remainder_test_data): New variable.
17319 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17320 (scalb_test_data): New variable.
17321 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17322 * sysdeps/i386/fpu/libm-test-ulps: Update.
17323
74c57478
JM
173242013-05-11 Joseph Myers <joseph@codesourcery.com>
17325
8329e4da
JM
17326 * math/libm-test.inc (fma_test): Use max_value instead of local
17327 variable fltmax.
17328 (nextafter_test): Likewise.
17329
74c57478
JM
17330 * math/libm-test.inc (acos_towardzero_test_data): New variable.
17331 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17332 (acos_downward_test_data): New variable.
17333 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17334 (acos_upward_test_data): New variable.
17335 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17336 (acosh_test_data): New variable.
17337 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17338 (asin_test_data): New variable.
17339 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17340 (asin_tonearest_test_data): New variable.
17341 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17342 (asin_towardzero_test_data): New variable.
17343 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17344 (asin_downward_test_data): New variable.
17345 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17346 (asin_upward_test_data): New variable.
17347 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17348 (asinh_test_data): New variable.
17349 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17350 (atan_test_data): New variable.
17351 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17352 (atanh_test_data): New variable.
17353 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17354 (cbrt_test_data): New variable.
17355 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17356 (ceil_test_data): New variable.
17357 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17358 (cos_test_data): New variable.
17359 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17360 (cos_tonearest_test_data): New variable.
17361 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17362 (cos_towardzero_test_data): New variable.
17363 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17364 (cos_downward_test_data): New variable.
17365 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17366 (cos_upward_test_data): New variable.
17367 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17368 (cosh_test_data): New variable.
17369 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17370 (cosh_tonearest_test_data): New variable.
17371 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17372 (cosh_towardzero_test_data): New variable.
17373 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17374 (cosh_downward_test_data): New variable.
17375 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17376 (cosh_upward_test_data): New variable.
17377 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17378 (erf_test_data): New variable.
17379 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17380 (erfc_test_data): New variable.
17381 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17382 (exp_test_data): New variable.
17383 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17384 (exp_tonearest_test_data): New variable.
17385 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17386 (exp_towardzero_test_data): New variable.
17387 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17388 (exp_downward_test_data): New variable.
17389 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17390 (exp_upward_test_data): New variable.
17391 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17392 (exp10_test_data): New variable.
17393 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17394 (exp2_test_data): New variable.
17395 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17396 (expm1_test_data): New variable.
17397 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17398 (fabs_test_data): New variable.
17399 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17400 (floor_test_data): New variable.
17401 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17402 (j0_test_data): New variable.
17403 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17404 (j1_test_data): New variable.
17405 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17406 (log_test_data): New variable.
17407 (log_test): Run tests with RUN_TEST_LOOP_f_f.
17408 (log10_test_data): New variable.
17409 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17410 (log1p_test_data): New variable.
17411 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17412 (log2_test_data): New variable.
17413 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17414 (logb_test_data): New variable.
17415 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17416 (logb_downward_test_data): New variable.
17417 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17418 (nearbyint_test_data): New variable.
17419 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17420 (rint_test_data): New variable.
17421 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17422 (rint_tonearest_test_data): New variable.
17423 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17424 (rint_towardzero_test_data): New variable.
17425 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17426 (rint_downward_test_data): New variable.
17427 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17428 (rint_upward_test_data): New variable.
17429 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17430 (round_test_data): New variable.
17431 (round_test): Run tests with RUN_TEST_LOOP_f_f.
17432 (sin_test_data): New variable.
17433 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17434 (sin_tonearest_test_data): New variable.
17435 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17436 (sin_towardzero_test_data): New variable.
17437 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17438 (sin_downward_test_data): New variable.
17439 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17440 (sin_upward_test_data): New variable.
17441 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17442 (sinh_test_data): New variable.
17443 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
17444 (sinh_tonearest_test_data): New variable.
17445 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17446 (sinh_towardzero_test_data): New variable.
17447 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17448 (sinh_downward_test_data): New variable.
17449 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17450 (sinh_upward_test_data): New variable.
17451 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17452 (sqrt_test_data): New variable.
17453 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
17454 (tan_test_data): New variable.
17455 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
17456 (tan_tonearest_test_data): New variable.
17457 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17458 (tan_towardzero_test_data): New variable.
17459 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17460 (tan_downward_test_data): New variable.
17461 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17462 (tan_upward_test_data): New variable.
17463 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17464 (tanh_test_data): New variable.
17465 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
17466 (tgamma_test_data): New variable.
17467 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
17468 (trunc_test_data): New variable.
17469 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
17470 (y0_test_data): New variable.
17471 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
17472 (y1_test_data): New variable.
17473 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
17474 (significand_test_data): New variable.
17475 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
17476
7187d844
CG
174772013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
17478
17479 [BZ #12387]
17480 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
17481
f63fae73
PT
174822013-05-10 Pino Toscano <toscano.pino@tiscali.it>
17483
17484 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
17485
8a67a4b3
AJ
174862013-05-10 Andreas Jaeger <aj@suse.de>
17487
17488 [BZ #15448]
17489 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
17490 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
17491
51df539d
JM
174922013-05-10 Joseph Myers <joseph@codesourcery.com>
17493
17494 * math/gen-libm-test.pl (adjust_arg): New function.
17495 (special_functions): Handle generating output in both functions
17496 and arrays.
17497 (parse_args): Likewise.
17498 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
17499 $in_func argument to parse_args.
17500 * math/libm-test.inc (struct test_f_f_data): New type.
17501 (IF_ROUND_INIT_): New macro.
17502 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
17503 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17504 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17505 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17506 (ROUND_RESTORE_): Likewise.
17507 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
17508 (ROUND_RESTORE_FE_TONEAREST): Likewise.
17509 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
17510 (ROUND_RESTORE_FE_UPWARD): Likewise.
17511 (RUN_TEST_LOOP_f_f): New macro.
17512 (acos_test_data): New variable.
17513 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
17514 (acos_tonearest_test_data): New variable.
17515 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17516
5c637fe5
SP
175172013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17518
17519 * benchtests/bench-skeleton.c (startup): Fix coding style.
17520
ab2b9461
JM
175212013-05-10 Joseph Myers <joseph@codesourcery.com>
17522
17523 [BZ #6809]
17524 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
17525 negative infinity argument.
17526 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
17527 negative infinity argument.
17528 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
17529 negative infinity argument.
17530 * math/libm-test.inc (tgamma_test): Expect errno to be set for
17531 domain errors.
17532
4c0fe6fe
FW
175332013-05-10 Florian Weimer <fweimer@redhat.com>
17534
17535 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
17536 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
17537 * iconv/iconv_prog.c (main): Likewise.
17538 * locale/programs/charmap-dir.c (charmap_readdir)
17539 (fopen_uncompressed): Likewise.
17540 * locale/programs/locfile.c (siblings_uncached)
17541 (write_locale_data): Use lstat64 instead of lstat.
17542 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
17543 stat.
17544
a3375d29
AJ
175452013-05-10 Andreas Jaeger <aj@suse.de>
17546
17547 [BZ #15395]
17548 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
17549 localization.
17550 Include <locale.h>.
17551
36129722
CD
175522013-05-09 Carlos O'Donell <carlos@redhat.com>
17553
17554 * elf/dl-close.c (_dl_close_worker): Add comments.
17555
faa7f811
JM
175562013-05-09 Joseph Myers <joseph@codesourcery.com>
17557
ed41ffef
JM
17558 [BZ #15359]
17559 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
17560 high part of pi/2.
17561 (__ieee754_rem_pio2l): Update comments.
17562
d0213cd0
JM
17563 [BZ #15429]
17564 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
17565 high part of pi/2.
17566 (__ieee754_rem_pio2l): Update comments.
17567
0d3e777a
JM
17568 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
17569 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
17570
24f56066
JM
17571 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
17572 M_PI_4l.
17573
faa7f811
JM
17574 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
17575 (M_PI_34_LOG10El): Likewise.
17576 (M_PI2_LOG10El): Likewise.
17577 (M_PI4_LOG10El): Likewise.
17578 (M_PI_LOG10El): Likewise.
17579
e9a5e0fd
AZ
175802013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17581
17582 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17583
d8cd06db
JM
175842013-05-08 Joseph Myers <joseph@codesourcery.com>
17585
a0d9f9d7
JM
17586 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
17587 (MINUS_ZERO_INIT): Likewise.
17588 (PLUS_INFTY_INIT): Likewise.
17589 (MINUS_INFTY_INIT): Likewise.
17590 (QNAN_VALUE_INIT): Likewise.
17591 (MAX_VALUE_INIT): Likewise.
17592 (MIN_VALUE_INIT): Likewise.
17593 (MIN_SUBNORM_VALUE_INIT): Likewise.
17594 (plus_zero): Initialize with PLUS_ZERO_INIT.
17595 (minus_zero): Initialize with MINUS_ZERO_INIT.
17596 (plus_infty): Initialize with PLUS_INFTY_INIT.
17597 (minus_infty): Initialize with MINUS_INFTY_INIT.
17598 (qnan_value): Initialize with QNAN_VALUE_INIT.
17599 (max_value): Initialize with MAX_VALUE_INIT.
17600 (min_value): Initialize with MIN_VALUE_INIT.
17601 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
17602
ae08db3b
JM
17603 * math/libm-test.inc (RUN_TEST_if_f): New macro.
17604 (jn_test): Use TEST_if_f instead of TEST_ff_f.
17605 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
17606 (yn_test): Use TEST_if_f instead of TEST_ff_f.
17607
f44bf14a
JM
17608 * math/libm-test.inc (RUN_TEST_f_f): New macro.
17609 (RUN_TEST_2_f): Likewise.
17610 (RUN_TEST_ff_f): Likewise.
17611 (RUN_TEST_fi_f): Likewise.
17612 (RUN_TEST_fl_f): Likewise.
17613 (RUN_TEST_fff_f): Likewise.
17614 (RUN_TEST_c_f): Likewise.
17615 (RUN_TEST_f_f1): Likewise.
17616 (RUN_TEST_fF_f1): Likewise.
17617 (RUN_TEST_fI_f1): Likewise.
17618 (RUN_TEST_ffI_f1): Likewise.
17619 (RUN_TEST_c_c): Likewise.
17620 (RUN_TEST_cc_c): Likewise.
17621 (RUN_TEST_f_i): Likewise.
17622 (RUN_TEST_f_i_tg): Likewise.
17623 (RUN_TEST_ff_i_tg): Likewise.
17624 (RUN_TEST_f_b): Likewise.
17625 (RUN_TEST_f_b_tg): Likewise.
17626 (RUN_TEST_f_l): Likewise.
17627 (RUN_TEST_f_L): Likewise.
17628 (RUN_TEST_sincos): Likewise.
17629 * math/gen-libm-test.pl (new_test): Take new argument to indicate
17630 whether to show exceptions. Do not include ");\n" in return
17631 value.
17632 (special_functions): Output call to RUN_TEST_sincos instead of
17633 check_float calls. Update calls to new_test.
17634 (parse_args): Output call to single RUN_TEST_* macro instead of
17635 check_* calls and other assignments. Update calls to new_test.
17636
d8cd06db
JM
17637 [BZ #2546]
17638 [BZ #2560]
17639 [BZ #5159]
17640 [BZ #15426]
17641 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
17642 input to result for tgamma overflow.
17643 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
17644 (gamma_coeff): New variable.
17645 (NCOEFF): New macro.
17646 (gamma_positive): New function.
17647 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
17648 underflow here. Use gamma_positive instead of exp (lgamma) for
17649 other arguments.
17650 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
17651 (gamma_coeff): New variable.
17652 (NCOEFF): New macro.
17653 (gammaf_positive): New function.
17654 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
17655 underflow here. Use gamma_positive instead of exp (lgamma) for
17656 other arguments.
17657 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
17658 (gamma_coeff): New variable.
17659 (NCOEFF): New macro.
17660 (gammal_positive): New function.
17661 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
17662 underflow here. Use gamma_positive instead of exp (lgamma) for
17663 other arguments.
17664 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
17665 (gamma_coeff): New variable.
17666 (NCOEFF): New macro.
17667 (gammal_positive): New function.
17668 (__ieee754_gammal_r): Handle positive infinity, overflow and
17669 underflow here. Handle NaN the same as positive infinity. Remove
17670 check x < 0xffffffff for negative integers. Use gamma_positive
17671 instead of exp (lgamma) for other arguments.
17672 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
17673 (gamma_coeff): New variable.
17674 (NCOEFF): New macro.
17675 (gammal_positive): New function.
17676 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
17677 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17678 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17679 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
17680 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17681 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
17682 * sysdeps/generic/math_private.h (__gamma_productf): New
17683 prototype.
17684 (__gamma_product): Likewise.
17685 (__gamma_productl): Likewise.
17686 * math/Makefile (libm-calls): Add gamma_product.
17687 * math/libm-test.inc (tgamma_test): Add more tests.
17688 * sysdeps/i386/fpu/libm-test-ulps: Update.
17689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17690
bb7cf681
OB
176912013-05-08 Ondřej Bílka <neleai@seznam.cz>
17692
17693 * benchtests/bench-skeleton.c (main): Preheat CPU.
17694
ba853947
AJ
176952013-05-07 Aurelien Jarno <aurelien@aurel32.net>
17696
17697 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
17698
8347c74c
RM
176992013-05-07 Roland McGrath <roland@hack.frob.com>
17700
17701 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
17702 and _dl_skip_args_internal.
17703
e8dd4791
CD
177042013-05-07 Carlos O'Donell <carlos@redhat.com>
17705
17706 * manual/message.texi (Message Translation): Talk about users.
17707 Message to key mapping impacts design.
17708
c7405830
RM
177092013-05-06 Roland McGrath <roland@hack.frob.com>
17710
a9173057
RM
17711 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
17712
976e2f03
RM
17713 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
17714
9723ffc5
RM
17715 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
17716 * sysdeps/wordsize-64/glob64.c: ... here.
17717
962e6658
RM
17718 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
17719 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
17720 New macros.
17721
ee586a6d
RM
17722 * debug/getlogin_r_chk.c: Moved to ...
17723 * login/getlogin_r_chk.c: ... here.
17724 * debug/Makefile (routines): Move getlogin_r_chk to ...
17725 * login/Makefile (routines): ... here.
17726 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
17727 * login/Versions (libc: GLIBC_2.4): ... here.
17728
355f9165
RM
17729 * io/poll.c (__poll): Renamed from poll.
17730 Add libc_hidden_def.
17731 (poll): Define as weak alias.
17732
bd9ffde6
RM
17733 * debug/ptsname_r_chk.c: Moved to ...
17734 * login/ptsname_r_chk.c: ... here.
17735 * debug/Makefile (routines): Move ptsname_r_chk to ...
17736 * login/Makefile (routines): ... here.
17737 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
17738 * login/Versions (libc: GLIBC_2.4): ... here.
17739
8fb16a04
RM
17740 * posix/getlogin.c: Moved to ...
17741 * login/getlogin.c: ... here.
17742 * posix/getlogin_r.c: Moved to ...
17743 * login/getlogin_r.c: ... here.
17744 * posix/getlogin_r.c: Moved to ...
17745 * login/getlogin_r.c: ... here.
17746 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
17747 * login/Makefile (routines): ... here.
17748 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
17749 * login/Versions (libc: GLIBC_2.0): ... here.
17750
b99b892f
RM
17751 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
17752 (setrlimit): Define as weak alias.
17753
c7405830
RM
17754 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
17755 Call __ names for open, ftruncate, and close.
17756 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
17757 (truncate): Define as weak alias.
17758
5bf96de5
JM
177592013-05-06 Joseph Myers <joseph@codesourcery.com>
17760
9ea3513c
JM
17761 * math/gen-libm-test.pl (parse_args): Initialize x before each
17762 test of frexp, modf and remquo.
17763
5bf96de5
JM
17764 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
17765 test signgam value.
17766
16e616a7
AZ
177672013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17768
17769 [BZ #15418]
17770 [BZ #15419]
17771 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
17772 internal tests.
17773 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17774
d5e82754
RM
177752013-05-06 Roland McGrath <roland@hack.frob.com>
17776
17777 * elf/dl-writev.h: New file.
17778 * elf/dl-misc.c: Include it.
17779 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
17780 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
17781
a7548d41
JM
177822013-05-04 Joseph Myers <joseph@codesourcery.com>
17783
b7dab1e4
JM
17784 * math/libm-test.inc (noXFails): Remove variable.
17785 (noXPasses): Likewise.
17786 (BUILD_COMPLEX_INT): Remove macro.
17787 (print_screen): Remove xfail argument.
17788 (print_screen_max_error): Likewise.
17789 (update_stats): Likewise.
17790 (print_max_error): Likewise. Update calls to other affected
17791 functions.
17792 (print_complex_max_error): Likewise.
17793 (test_single_exception): Update calls to print_screen.
17794 (test_single_errno): Likewise.
17795 (check_float_internal): Remove xfail argument. Update calls to
17796 other affected functions.
17797 (check_float): Likewise.
17798 (check_complex): Likewise.
17799 (check_int): Likewise.
17800 (check_long): Likewise.
17801 (check_bool): Likewise.
17802 (check_longlong): Likewise.
17803 (main): Don't print noXFails and noXPasses.
17804 * math/gen-libm-test.pl (top level): Don't mention expected
17805 failure handling in comment.
17806 (new_test): Don't handle expected failures.
17807 (parse_args): Don't mention expected failure handling in comment.
17808 (generate_testfile): Don't handle expected failures.
17809 (parse_ulps): Likewise.
17810 (print_ulps_file): Likewise.
17811 (get_failure): Remove function.
17812 (output_test): Don't handle expected failures.
17813 * make/README.libm-test: Don't mention expected failure handling.
17814
a7548d41
JM
17815 * math/libm-test.inc (plus_zero): Make const. Add initializer.
17816 (minus_zero): Likewise.
17817 (plus_infty): Likewise.
17818 (minus_infty): Likewise.
17819 (qnan_value): Likewise.
17820 (max_value): Likewise.
17821 (min_value): Likewise.
17822 (min_subnorm_value): Likewise.
17823 (initialize): Do not initialize those variables dynamically.
17824
60bfd54c
RM
178252013-05-03 Roland McGrath <roland@hack.frob.com>
17826
cc0e6ed8
RM
17827 * io/open.c (__open_2): Moved to ...
17828 * io/open_2.c: ... this new file.
17829 * io/open64.c (__open64_2): Moved to ...
17830 * io/open64_2.c: ... this new file.
17831 * io/openat.c (__openat_2): Moved to ...
17832 * io/openat_2.c: ... this new file.
17833 * io/openat64.c (__openat64_2): Moved to ...
17834 * io/openat64_2.c: ... this new file.
17835 * io/Makefile (routines): Add them.
17836 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
17837 * sysdeps/unix/sysv/linux/open_2.c: File removed.
17838 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
17839 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
17840 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
17841 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
17842 (__openat64): Add hidden_ver.
17843 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
17844 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
17845
60bfd54c
RM
17846 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
17847 Separately conditionalize setting of GLRO(dl_sysinfo) so
17848 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
17849 as well, but the actual setting is only under [NEED_DL_SYSINFO].
17850
83e7640f
AZ
178512013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17852
17853 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
17854 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
17855 definition.
17856 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
17857 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17858 (_libc_vdso_platform_setup): Add __vdso_time initialization.
17859 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
17860 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
17861
d5dc2af3
JM
178622013-05-03 Joseph Myers <joseph@codesourcery.com>
17863
c31a5b1e
JM
17864 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
17865 test signgam value.
17866
d5dc2af3
JM
17867 * math/libm-test.inc (hypot_test): Do not use
17868 IGNORE_ZERO_INF_SIGN.
17869
164fd39d
AJ
178702013-05-03 Andreas Jaeger <aj@suse.de>
17871
17872 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
17873 Linux 3.9.
17874 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
17875 (PF_MAX): Adjust for VSOCK change.
17876
8237f48c
AZ
178772013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17878
17879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17880
9df02941
CD
178812013-05-02 Carlos O'Donell <carlos@redhat.com>
17882
17883 [BZ #15264]
17884 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
17885 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
17886 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
17887
d422395e
DM
178882013-05-02 David S. Miller <davem@davemloft.net>
17889
17890 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17891
a07c5731
OB
178922013-05-01 Ondřej Bílka <neleai@seznam.cz>
17893
17894 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
17895
1324e37f
RM
178962013-05-01 Roland McGrath <roland@hack.frob.com>
17897
17898 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
17899
0695940b
RS
179002013-05-01 Richard Smith <richard@metafoo.co.uk>
17901
bb5f27ad 17902 [BZ #14952]
0695940b
RS
17903 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
17904 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17905 Use __attribute__ ((__gnu_inline__)).
17906 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17907 Don't use __attribute__ ((__gnu_inline__)).
17908
10de07f5
JM
179092013-05-01 Joseph Myers <joseph@codesourcery.com>
17910
17911 [BZ #15423]
17912 * math/s_catan.c (__catan): Handle small real or imaginary part of
17913 input specially to avoid spurious underflow.
17914 * math/s_catanf.c (__catanf): Likewise.
17915 * math/s_catanh.c (__catanh): Likewise.
17916 * math/s_catanhf.c (__catanhf): Likewise.
17917 * math/s_catanhl.c (__catanhl): Likewise.
17918 * math/s_catanl.c (__catanl): Likewise.
17919 * math/libm-test.inc (catan_test): Add more tests.
17920 (catanh_test): Likewise.
17921 * sysdeps/i386/fpu/libm-test-ulps: Update.
17922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17923
cb4d5414
AZ
179242013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17925
17926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17927
caf84319
JM
179282013-04-30 Joseph Myers <joseph@codesourcery.com>
17929
17930 [BZ #15416]
17931 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
17932 accurately for denominator in atan2.
17933 * math/s_catanf.c (__catanf): Likewise.
17934 * math/s_catanh.c (__catanh): Likewise.
17935 * math/s_catanhf.c (__catanhf): Likewise.
17936 * math/s_catanhl.c (__catanhl): Likewise.
17937 * math/s_catanl.c (__catanl): Likewise.
17938 * math/libm-test.inc (catan_test): Add more tests.
17939 (catanh_test): Likewise.
17940 * sysdeps/i386/fpu/libm-test-ulps: Update.
17941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17942
d569c6ee
SP
179432013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17944
6dbe713d
SP
17945 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
17946
f0ee064b
SP
17947 * benchtests/Makefile (bench): Remove slow benchmarks.
17948 * benchtests/atan-inputs: Add slow benchmark inputs.
17949 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
17950 (BENCH_FUNC): Accept variant offset.
17951 (VARIANT): Define.
17952 * benchtests/bench-skeleton.c (main): Run benchmark for each
17953 variant.
17954 * benchtests/cos-inputs: Add slow benchmark inputs.
17955 * benchtests/exp-inputs: Likewise.
17956 * benchtests/pow-inputs: Likewise.
17957 * benchtests/sin-inputs: Likewise.
17958 * benchtests/slowatan-inputs: Remove.
17959 * benchtests/slowatan.c: Remove.
17960 * benchtests/slowcos-inputs: Remove.
17961 * benchtests/slowcos.c: Remove.
17962 * benchtests/slowexp-inputs: Remove.
17963 * benchtests/slowexp.c: Remove.
17964 * benchtests/slowpow-inputs: Remove.
17965 * benchtests/slowpow.c: Remove.
17966 * benchtests/slowsin-inputs: Remove.
17967 * benchtests/slowsin.c: Remove.
17968 * benchtests/slowtan-inputs: Remove.
17969 * benchtests/slowtan.c: Remove.
17970 * benchtests/tan-inputs: Add slow benchmark inputs.
17971 * scripts/bench.pl: Parse comments and directives.
17972
d569c6ee
SP
17973 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
17974 in CPPFLAGS.
17975 ($(objpfx)bench-%.c): Remove *-ITER.
17976 * benchtests/bench-modf.c: Remove definition of ITER.
17977 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
17978 (main): Loop for DURATION seconds instead of fixed number of
17979 iterations.
17980 * scripts/bench.pl: Don't expect iterations in parameters.
17981
a6a242fe
RM
179822013-04-29 Roland McGrath <roland@hack.frob.com>
17983
17984 * io/fchdir.c (__fchdir): Renamed from fchdir.
17985 (fchdir): Define as weak alias.
17986
f2da7793
JM
179872013-04-29 Joseph Myers <joseph@codesourcery.com>
17988
17989 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
17990 (ERRNO_EDOM): Likewise.
17991 (ERRNO_ERANGE): Likewise.
17992 (noErrnoTests): New variable.
17993 (init_max_error): Set errno to 0.
17994 (test_single_errno): New function.
17995 (test_errno): Likewise.
17996 (check_float_internal): Call test_errno. Set errno to 0.
17997 (check_complex): Refer to errno tests in comment.
17998 (check_int): Call test_errno. Set errno to 0.
17999 (check_long): Likewise.
18000 (check_bool): Likewise.
18001 (check_longlong): Likewise.
18002 (cos_test): Use ERRNO_* flags for errno tests instead of
18003 check_int.
18004 (expm1_test): Likewise.
18005 (fmod_test): Likewise.
18006 (ilogb_test): Likewise.
18007 (lgamma_test): Likewise.
18008 (pow_test): Likewise.
18009 (remainder_test): Likewise.
18010 (sin_test): Likewise.
18011 (tan_test): Likewise.
18012 (yn_test): Likewise.
18013 (initialize): Set errno to 0.
18014 (main): Print number of errno tests.
18015 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18016
b1a36ceb
AJ
180172013-04-29 Andreas Jaeger <aj@suse.de>
18018
c3ed8088
AJ
18019 [BZ #15084]
18020 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18021 and RES_USEVC.
18022
f1a24198
AJ
18023 [BZ #15085]
18024 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18025 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18026 unimplemented.
18027
9ce3b2cb
AJ
18028 [BZ #15380]
18029 * stdlib/random.c (__initstate): Return NULL if
18030 __initstate fails.
18031
f1a24198 18032 [BZ #15086]
b1a36ceb
AJ
18033 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18034 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18035 RES_SNGLKUPREOP.
18036
7e7b6f36
AZ
180372013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18038
18039 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18040
4d14f449
JM
180412013-04-29 Joseph Myers <joseph@codesourcery.com>
18042
18043 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18044 of individual tests.
18045 (casin_test): Likewise.
18046 (casinh_test): Likewise.
18047
5b4217d7
JM
180482013-04-27 Joseph Myers <joseph@codesourcery.com>
18049
18050 [BZ #15409]
18051 * math/s_catan.c (__catan): Handle arguments with large real or
18052 imaginary part separately without squaring.
18053 * math/s_catanf.c (__catanf): Likewise.
18054 * math/s_catanh.c (__catanh): Likewise.
18055 * math/s_catanhf.c (__catanhf): Likewise.
18056 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18057 and redefine.
18058 (__catanhl): Handle arguments with large real or imaginary part
18059 separately without squaring.
18060 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18061 and redefine.
18062 (__catanl): Handle arguments with large real or imaginary part
18063 separately without squaring.
18064 * math/libm-test.inc (catan_test): Add more tests.
18065 (catanh_test): Likewise.
18066 * sysdeps/i386/fpu/libm-test-ulps: Update.
18067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18068
4220c3ef
AJ
180692013-04-27 Andreas Jaeger <aj@suse.de>
18070
18071 [BZ #15007]
18072 * stdlib/stdlib.h: Update guards for qecvt.
18073 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18074 <stdlib.h>.
18075
4721b2d1
AM
180762013-04-27 Allan McRae <allan@archlinux.org>
18077
18078 * sysdeps/i386/fpu/libm-test-ulps: Update.
18079
f0302940
JM
180802013-04-26 Joseph Myers <joseph@codesourcery.com>
18081
9457fd95
JM
18082 [BZ #15406]
18083 * math/s_catan.c: Include <float.h>.
18084 (__catan): Ensure underflow exception occurs for underflowed
18085 result.
18086 * math/s_catanf.c: Include <float.h>.
18087 (__catanf): Ensure underflow exception occurs for underflowed
18088 result.
18089 * math/s_catanh.c: Include <float.h>.
18090 (__catanh): Ensure underflow exception occurs for underflowed
18091 result.
18092 * math/s_catanhf.c: Include <float.h>.
18093 (__catanhf): Ensure underflow exception occurs for underflowed
18094 result.
18095 * math/s_catanhl.c: Include <float.h>.
18096 (__catanhl): Ensure underflow exception occurs for underflowed
18097 result.
18098 * math/s_catanl.c: Include <float.h>.
18099 (__catanl): Ensure underflow exception occurs for underflowed
18100 result.
18101 * math/libm-test.inc (catan_test): Add more tests.
18102 (catanh_test): Likewise.
18103
f0302940
JM
18104 [BZ #15405]
18105 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18106 underflowed result.
18107 * math/s_ccoshf.c (__ccoshf): Likewise.
18108 * math/s_ccoshl.c (__ccoshl): Likewise.
18109 * math/s_csin.c (__csin): Likewise.
18110 * math/s_csinf.c (__csinf): Likewise.
18111 * math/s_csinh.c (__csinh): Likewise.
18112 * math/s_csinhf.c (__csinhf): Likewise.
18113 * math/s_csinhl.c (__csinhl): Likewise.
18114 * math/s_csinl.c (__csinl): Likewise.
18115 * math/libm-test.inc (ccos_test): Add more tests.
18116 (ccosh_test): Likewise.
18117 (csin_test): Likewise.
18118 (csinh_test): Likewise.
18119
aa630f59
AZ
181202013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18121
18122 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18123 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18124 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18125 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18126 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18127 powerpc/power5+/fpu folders.
18128 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18129
18130
1b835983
MT
181312013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18132
18133 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18134
73709b26
JM
181352013-04-25 Joseph Myers <joseph@codesourcery.com>
18136
18137 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18138 additions to variable.
18139 [$(config-machine) = x86_64] (modules-names): Likewise.
18140 ($(objpfx)tst-audit3): Remove dependency.
18141 ($(objpfx)tst-audit3.out): Likewise.
18142 ($(objpfx)tst-audit4): Likewise.
18143 ($(objpfx)tst-audit4.out): Likewise.
18144 ($(objpfx)tst-audit5): Likewise.
18145 ($(objpfx)tst-audit5.out): Likewise.
18146 ($(objpfx)tst-audit6): Likewise.
18147 ($(objpfx)tst-audit6.out): Likewise.
18148 ($(objpfx)tst-audit7): Likewise.
18149 ($(objpfx)tst-audit7.out): Likewise.
18150 (tst-audit3-ENV): Remove variable.
18151 (tst-audit4-ENV): Likewise.
18152 (tst-audit5-ENV): Likewise.
18153 (tst-audit6-ENV): Likewise.
18154 (tst-audit7-ENV): Likewise.
18155 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18156 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18157 addition to variable.
18158 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18159 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18160 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18161 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18162 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18163 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18164 tst-audit3, tst-audit4 and tst-audit5.
18165 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18166 tst-audit6 and tst-audit7.
18167 [$(subdir) = elf] (modules-names): Add audit modules for those
18168 tests.
18169 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18170 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18171 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18172 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18173 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18174 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18175 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18176 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18177 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18178 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18179 [$(subdir) = elf] (tst-audit3-ENV): New variable.
18180 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18181 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18182 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18183 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18184 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18185 Likewise.
18186 [$(subdir) = elf && $(config-cflags-avx) = yes]
18187 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18188 [$(subdir) = elf && $(config-cflags-avx) = yes]
18189 (CFLAGS-tst-auditmod4a.c): Likewise.
18190 [$(subdir) = elf && $(config-cflags-avx) = yes]
18191 (CFLAGS-tst-auditmod4b.c): Likewise.
18192 [$(subdir) = elf && $(config-cflags-avx) = yes]
18193 (CFLAGS-tst-auditmod6b.c): Likewise.
18194 [$(subdir) = elf && $(config-cflags-avx) = yes]
18195 (CFLAGS-tst-auditmod6c.c): Likewise.
18196 [$(subdir) = elf && $(config-cflags-avx) = yes]
18197 (CFLAGS-tst-auditmod7b.c): Likewise.
18198 * elf/tst-audit3.c: Move to ...
18199 * sysdeps/x86_64/tst-audit3.c: ... here.
18200 * elf/tst-audit4.c: Move to ...
18201 * sysdeps/x86_64/tst-audit4.c: ... here.
18202 * elf/tst-audit5.c: Move to ...
18203 * sysdeps/x86_64/tst-audit5.c: ... here.
18204 * elf/tst-audit6.c: Move to ...
18205 * sysdeps/x86_64/tst-audit6.c: ... here.
18206 * elf/tst-audit7.c: Move to ...
18207 * sysdeps/x86_64/tst-audit7.c: ... here.
18208 * elf/tst-auditmod3a.c: Move to ...
18209 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18210 * elf/tst-auditmod3b.c: Move to ...
18211 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18212 * elf/tst-auditmod4a.c: Move to ...
18213 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18214 * elf/tst-auditmod4b.c: Move to ...
18215 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18216 * elf/tst-auditmod5a.c: Move to ...
18217 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18218 * elf/tst-auditmod5b.c: Move to ...
18219 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18220 * elf/tst-auditmod6a.c: Move to ...
18221 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18222 * elf/tst-auditmod6b.c: Move to ...
18223 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18224 * elf/tst-auditmod6c.c: Move to ...
18225 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18226 * elf/tst-auditmod7a.c: Move to ...
18227 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18228 * elf/tst-auditmod7b.c: Move to ...
18229 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18230
1ef74943
PP
182312013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
18232
18233 [BZ #15366]
18234 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18235 define unconditionally.
18236 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18237 define unconditionally.
18238 (INT8_C, INT16_C, etc.): Likewise.
18239
93fd48c5
MR
182402013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
18241
ae9552cf
MR
18242 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18243 __ehdr_start with hidden visibility.
18244
93fd48c5
MR
18245 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18246
418601aa
CD
182472013-04-24 Carlos O'Donell <carlos@redhat.com>
18248
18249 * math/libm-test.inc (cos_test): Use accurate hex constants.
18250 (sincost_test): Likewise.
18251
2f38fbfe
JM
182522013-04-24 Joseph Myers <joseph@codesourcery.com>
18253
5e221800
JM
18254 * math/libm-test.inc (catan_test): Add more tests.
18255 (catanh_test): Likewise.
18256
77f143fd
JM
18257 * math/s_catanf.c (__catanf): Use suffixed floating-point
18258 constants.
18259 * math/s_catanhf.c (__catanhf): Likewise.
18260 * math/s_catanhl.c (__catanhl): Likewise.
18261 * math/s_catanl.c (__catanl): Likewise.
18262
2f38fbfe
JM
18263 [BZ #15394]
18264 * math/s_catan.c (__catan): Calculate imaginary part of result
18265 with log1p not log unless computing log of number close to 0.
18266 * math/s_catanf.c (__catanf): Likewise.
18267 * math/s_catanl.c (__catanl): Likewise.
18268 * math/s_catanh.c (__catanh): Calculate real part of result with
18269 log1p not log unless computing log of number close to 0.
18270 * math/s_catanhf.c (__catanhf): Likewise.
18271 * math/s_catanhl.c (__catanhl): Likewise.
18272 * math/libm-test.inc (catan_test): Add more tests.
18273 (catanh_test): Likewise.
18274 * sysdeps/i386/fpu/libm-test-ulps: Update.
18275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18276
45d69176
SP
182772013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18278
18279 * benchtests/Makefile: Mention files in which fast and slow
18280 paths of math functions are implemented.
18281
87f51853
RM
182822013-04-23 Roland McGrath <roland@hack.frob.com>
18283
18284 * sysdeps/posix/timespec_get.c: New file.
18285
3c026539
AZ
182862013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18287
18288 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18289 POWER.
18290 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18291 for POWER.
18292 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18293 powerpc/power5/fpu folders.
18294 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18295 * benchtests/Makefile: Add modf testcase.
18296 * benchtests/bench-modf.c: New file: Benchmark test for mo
18297
ff491d14
SP
182982013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18299
18300 [BZ #14888]
18301 * time/Makefile (tests): Add tst-strptime-whitespace.
18302 * time/strptime_l.c (get_number): Use ISSPACE.
18303 (__strptime_internal): Likewise.
18304 * time/tst-strptime-whitespace.c: New test case.
18305
7ed3f4e8
AS
183062013-04-23 Andreas Schwab <schwab@linux-m68k.org>
18307
18308 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18309 member.
18310 (_nss_files_init): Set it here.
18311
5c95f7b6
HC
183122013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
18313
18314 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18315 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18316 unsigned.
18317
d34c9158
JBG
183182013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
18319
18320 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18321
2169712d
SP
183222013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18323
18324 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18325 size just once.
18326
29c5de99
DM
183272013-04-21 David S. Miller <davem@davemloft.net>
18328
18329 * po/ru.po: Update Russion translation from translation project.
18330
ccdad15d
AC
183312013-04-17 Adam Conrad <adconrad@0c3.net>
18332
18333 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18334 and setfsgid.
18335
0f122b8d
CD
183362013-04-17 Carlos O'Donell <carlos@redhat.com>
18337
5c5b07da 18338 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 18339 * configure: Regenerate.
5c5b07da 18340 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
18341 Add example to error message.
18342 * sysdeps/i386/configure: Regenerate.
18343
037714dd
SP
183442013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18345
18346 * benchtests/Makefile (bench): Add cos, tan, slowcos and
18347 slowtan.
18348 * benchtests/cos-inputs: New file.
18349 * benchtests/slowcos-inputs: New file.
18350 * benchtests/slowcos.c: New file.
18351 * benchtests/slowtan-inputs: New file.
18352 * benchtests/slowtan.c: New file.
18353 * benchtests/tan-inputs: New file.
18354
e913141d
RM
183552013-04-16 Roland McGrath <roland@hack.frob.com>
18356
18357 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18358 considered kosher.
18359
a2964074
SP
183602013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18361
4856bcd2
SP
18362 * benchtests/Makefile: Include cppflags-iterator.mk to add
18363 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18364
a2964074
SP
18365 * Makefile.in (bench-clean): New target.
18366 * benchtests/Makefile (bench-clean): Likewise.
18367
9fbf9aca
DH
183682013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
18369
18370 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18371
207d1e2a
TS
183722013-04-15 Thomas Schwinge <thomas@codesourcery.com>
18373
18374 * stdio-common/tstdiomisc.c: Fix coding-style violation.
18375
306dfba9
AS
183762013-04-15 Andreas Schwab <schwab@suse.de>
18377
18378 * nscd/grpcache.c (cache_addgr): Properly check for short write.
18379 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18380 * nscd/pwdcache.c (cache_addpw): Likewise.
18381 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
18382 more than recsize.
18383
206a6699
SP
183842013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18385
18386 * benchtests/Makefile (bench): Write all output to
18387 bench-out.tmp together.
18388
0582f6b3
AS
183892013-04-15 Andreas Schwab <schwab@suse.de>
18390
18391 * nscd/nscd.c (main): Don't fork again after closing files.
18392
acb4325f
SP
183932013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18394
5cb26d0a
SP
18395 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18396
acb4325f
SP
18397 * benchtests/Rules (bench-deps): Collect dependencies into a
18398 single variable. Add Makefile to dependencies.
18399 ($(objpfx)bench-%.c): Depend on bench-deps.
18400
47792506
RM
184012013-04-12 Roland McGrath <roland@hack.frob.com>
18402 Xavier Roche <roche+kml2@exalead.com>
18403
18404 [BZ #15361]
18405 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18406 just that it's a file descriptor.
18407 * manual/llio.texi (Synchronizing AIO Operations): Update description
18408 for EBADF error from aio_fsync.
18409
8fc1bee5
SP
184102013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18411
18412 * Rules (bench): Move target definition...
18413 * benchtests/Makefile: ... here.
18414
aba5e333
CD
184152013-04-11 Carlos O'Donell <carlos@redhat.com>
18416
18417 * math/libm-test.inc (cos_test): Fix PI/2 test.
18418 (sincos_test): Likewise.
18419 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18420 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18421
273cdee8
AS
184222013-04-11 Andreas Schwab <schwab@suse.de>
18423
6ecec3b6
AS
18424 [BZ #13988]
18425 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18426 accept exponent character only when digits were seen.
18427 * stdio-common/Makefile (tests): Add bug26.
18428 * stdio-common/bug26.c: New file.
18429
273cdee8
AS
18430 [BZ #14293]
18431 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18432 non-freeable.
18433
8da491f5
SP
184342013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18435
01dc6df9
SP
18436 * Makeconfig (rtld-prefix): Define built linker prefix.
18437 * Rules (run-bench): Use it.
18438 * math/Makefile (run-regen-ulps): Likewise.
18439
8da491f5
SP
18440 * Rules (bench): Remove eval.
18441
abe7f530
SP
184422013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18443 Roland McGrath <roland@hack.frob.com>
18444 Ondrej Bilka <neleai@seznam.cz>
18445
18446 [BZ #15346]
18447 * time/getdate.c: Include ctype.h and alloca.h.
18448 (__getdate_r): Trim leading and trailing spaces of input.
18449 * time/tst-getdate.c (tests): Add tests with leading and
18450 trailing spaces.
18451
61c23e62
RM
184522013-04-08 Roland McGrath <roland@hack.frob.com>
18453
18454 [BZ #14280]
18455 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
18456 when computing value.
18457
7208a313
CD
184582013-04-06 Carlos O'Donell <carlos@redhat.com>
18459
085b2d41
CD
18460 * math/README.libm-test (How can I generate "libm-test-ulps"?):
18461 Use testrun.sh to run libm tests.
18462
7208a313
CD
18463 [BZ #15309]
18464 * elf/dl-open.c (dl_open_worker): memset all of seen array.
18465
872c0acd
MM
184662013-04-06 Marko Myllynen <myllynen@redhat.com>
18467
18468 [BZ #15264]
18469 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
18470
26510bdd
CD
184712013-04-06 Carlos O'Donell <carlos@redhat.com>
18472
18473 * Makefile.in (regen-ulps): New target.
18474 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
18475 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
18476 [ifneq (no,$(PERL)] (regen-ulps): New target.
18477 [ifeq (no,$(PERL)] (regen-ulps): New target.
18478 * math/libm-test.inc (ulps_file_name): Define.
18479 (output_dir): New variable.
18480 (options): Add "output-dir" option.
18481 (parse_opt): Handle 'o' case.
18482 (main): If output_dir is non-NULL use it as a prefix
18483 otherwise use "".
18484 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
18485
a01f19c8
CD
184862013-04-06 Carlos O'Donell <carlos@redhat.com>
18487
18488 [BZ #10060, #10062]
18489 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
18490 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
18491 fail configure if __sync_val_compare_and_swap is not inlined.
18492 * sysdeps/i386/configure: Regenerate.
18493 * configure.in: Build for i686 when configured for i386.
18494 * configure: Regenerate.
18495 * README: Remove i386 reference.
18496
b7a329a5
CD
184972013-04-06 Carlos O'Donell <carlos@redhat.com>
18498
18499 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
18500 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18501
bf0f50df
TS
185022013-04-05 Thomas Schwinge <thomas@codesourcery.com>
18503
ee091edf
TS
18504 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
18505 (lmsnanval): New variables.
18506 (F): Add conversion tests.
18507 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
18508 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
18509
a8b792d6
TS
18510 * stdio-common/tstdiomisc.c (F): Properly collect individual
18511 tests' results.
18512
a1cbf437
TS
18513 [BZ #14686, #15336]
18514 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
18515 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18516 Instead, use input NaN values or generate a qNaN by arithmetic
18517 operation. Also fix bugs to comply with the standard.
18518 * math/libm-test.inc (remainder_test): Add more tests.
18519
8b43a0c9
TS
18520 [BZ #15335, #15342]
18521 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
18522 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
18523 input NaN values or generate a qNaN by arithmetic operation.
18524
d91da4ce
TS
18525 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
18526 unreachable code.
18527
bf0f50df
TS
18528 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
18529 definitions.
18530
05e166c8
JM
185312013-04-03 Joseph Myers <joseph@codesourcery.com>
18532
18533 [BZ #14478]
18534 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
18535 underflowed result.
18536 * math/s_cexpf.c (__cexpf): Likewise.
18537 * math/s_cexpl.c (__cexpl): Likewise.
18538 * math/libm-test.inc (cexp_test): Add more tests.
18539
1cef1b19
AS
185402013-04-03 Andreas Schwab <schwab@suse.de>
18541
18542 [BZ #15330]
18543 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
18544 order arrays from heap if bigger than alloca cutoff.
18545
74d87055
TS
185462013-04-03 Thomas Schwinge <thomas@codesourcery.com>
18547
18548 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
18549 (SNAN_TESTS_double): Refer to GCC PR56831.
18550 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
18551 GCC PR56828.
18552
d755bba4
SP
185532013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18554
90d5d5bb
SP
18555 * Rules (bench): Move bench.out after the run is complete.
18556
73e0cd5d
SP
18557 * Rules (bench): Echo currently running benchmark.
18558
64aabd4b
SP
18559 * benchtests/Makefile (bench): Add atan and slowatan.
18560 * benchtests/atan-inputs: New file.
18561 * benchtests/slowatan-inputs: New file.
18562 * benchtests/slowatan.c: New file.
18563
c871eccd
SP
18564 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
18565 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
18566 its value.
18567
d755bba4
SP
18568 [BZ #15305]
18569 * sysdeps/unix/sysv/linux/kernel-features.h
18570 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
18571 __ASSUME_XFS_RESTRICTED_CHOWN.
18572 * sysdeps/unix/sysv/linux/pathconf.c
18573 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18574 Save and restore errno.
18575
52ce4860
JM
185762013-04-02 Joseph Myers <joseph@codesourcery.com>
18577
18578 [BZ #15327]
18579 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
18580 arguments using __kernel_casinh.
18581 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
18582 arguments using __kernel_casinhf.
18583 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
18584 arguments using __kernel_casinhl.
18585 * math/libm-test.inc (cacosh_test): Add more tests.
18586 * sysdeps/i386/fpu/libm-test-ulps: Update.
18587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18588
81f311c2
SP
185892013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18590
e7906a47
SP
18591 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
18592 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
18593
92e3664b
SP
18594 * bench/Makefile (bench): Add sin and slowsin.
18595 * benchtests/sin-inputs: New file.
18596 * benchtests/slowsin-inputs: New file.
18597 * benchtests/slowsin.c: New file.
18598
81f311c2
SP
18599 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
18600 (bench): Add slowexp and slowpow.
18601 (exp-ITER): Increase iterations.
18602 (pow-ITER): Likewise.
18603 * benchtests/exp-inputs: Change input.
18604 * benchtests/pow-inputs: Likewise.
18605 * benchtests/slowexp-inputs: New file.
18606 * benchtests/slowexp.c: New file.
18607 * benchtests/slowpow-inputs: New file.
18608 * benchtests/slowpow.c: New file.
18609
ab0f1aa9
AZ
186102013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18611
18612 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
18613 instructions.
18614 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18615 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
18616 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18617 * benchtests/Makefile: Add rint benchtest.
18618 * benchtests/rint-inputs: Input for rint benchtest.
18619
57267616
TS
186202013-04-02 Thomas Schwinge <thomas@codesourcery.com>
18621
18622 * Versions.def (libm): Add GLIBC_2.18.
18623 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
18624 hidden libm prototypes.
18625 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
18626 * math/Makefile (libm-calls): Add s_issignaling.
18627 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
18628 __issignalingf, __issignalingl. Adjust all libm.abilist files.
18629 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
18630 declaration.
18631 * math/math.h [__USE_GNU] (issignaling): New macro.
18632 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
18633 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
18634 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
18635 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
18636 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
18637 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
18638 * manual/arith.texi (issignaling): New section.
18639 * manual/libm-err-tab.pl (@all_functions): Update comment.
18640 * math/gen-libm-test.pl (parse_args): Apply special handling for
18641 issignaling.
18642 * math/libm-test.inc (print_float, issignaling_test): New
18643 functions.
18644 (check_float_internal): Add issignaling checks.
18645 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
18646 default definition.
18647 * sysdeps/powerpc/math-tests.h: New file.
18648 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
18649 tests.
18650 * math/test-snan.c (TEST_FUNC): Likewise.
18651
6142896d
DM
186522013-03-30 David S. Miller <davem@davemloft.net>
18653
18654 * po/de.po: Update from translation team.
18655
ccc8cadf
JM
186562013-03-30 Joseph Myers <joseph@codesourcery.com>
18657
18658 [BZ #10357]
18659 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18660 imaginary part less than 1.0 and real part less than 0.5
18661 specially.
18662 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18663 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18664 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
18665 (cacos_test): Add more tests.
18666 (casin_test): Likewise.
18667 (casinh_test): Likewise.
18668 * sysdeps/i386/fpu/libm-test-ulps: Update.
18669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18670
0f6a8d4b
SP
186712013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18672
0d1029de
SP
18673 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
18674 ONE with its value.
18675
c2d94018
SP
18676 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
18677 (__pow_mp): Replace ONE and MONE with their values.
18678 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18679 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
18680 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18681 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
18682 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18683 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18684
27ec37f1
SP
18685 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
18686
a64d7e0e
SP
18687 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
18688 (__pow_mp): Replace ZERO and MZERO with their values.
18689 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18690 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18691 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18692 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18693 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18694 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
18695 (__sqr): Likewise.
18696
d26dd3eb
SP
18697 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
18698
0f6a8d4b
SP
18699 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
18700
e57b0c61
RM
187012013-03-28 Roland McGrath <roland@hack.frob.com>
18702
18703 * include/stdlib.h [!SHARED] (__call_tls_dtors):
18704 Declare with __attribute__ ((weak)).
18705 * stdlib/exit.c (__libc_atexit) [!SHARED]:
18706 Call __call_tls_dtors only if it's not NULL.
18707
356b3480
RM
187082013-03-28 Roland McGrath <roland@hack.frob.com>
18709
288f7d79
RM
18710 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
18711 didn't do it already, then set _dl_phdr and _dl_phnum based on the
18712 magic __ehdr_start linker symbol if it's defined.
18713 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
18714 them up here if it was already done.
18715
dc0a0263
RM
18716 * elf/dl-support.c (_dl_phdr): Make pointer to const.
18717 (_dl_aux_init): Use const in cast when setting it.
18718 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
18719 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
18720 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
18721
3d3436ae
RM
18722 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
18723 Declare them here.
18724 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
18725 * csu/libc-tls.c: Nor here.
18726 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
18727
356b3480
RM
18728 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
18729 (__libc_message): Never call vsyslog.
18730
b0f1246a
AM
187312013-03-28 Alan Modra <amodra@gmail.com>
18732
18733 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
18734 Define as empty.
18735 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
18736 Likewise.
18737
fbbe2b9a
AZ
187382013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18739
18740 [BZ #15214]
18741 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
18742 underflow.
18743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18744
1728ab37
SP
187452013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18746
7a86be6e
SP
18747 [BZ #15304]
18748 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18749 Don't add gid passed as argument.
18750
1728ab37
SP
18751 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
18752
3a7182a1
JM
187532013-03-27 Joseph Myers <joseph@codesourcery.com>
18754
18755 [BZ #15307]
18756 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18757 imaginary part between 1.0 and 1.5 and real part less than 0.5
18758 specially.
18759 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18760 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18761 * math/libm-test.inc (cacos_test): Add more tests.
18762 (casin_test): Likewise.
18763 (casinh_test): Likewise.
18764 * sysdeps/i386/fpu/libm-test-ulps: Update.
18765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18766
6f2e90e7
SP
187672013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18768
5739f705
SP
18769 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
18770 constants.
18771 (norm): Likewise.
18772 (denorm): Likewise.
18773 (__dbl_mp): Likewise.
18774 (add_magnitudes): Likewise.
18775 (sub_magnitudes): Likewise.
18776 (__add): Likewise.
18777 (__sub): Likewise.
18778 (__mul): Likewise.
18779 (__sqr): Likewise.
18780 (__inv): Likewise.
18781 (__dvd): Likewise.
18782
e375e83d
SP
18783 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
18784 commented code.
18785 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
18786 (__dubcos): Likewise.
18787 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
18788 (__ieee754_acos): Likewise.
18789 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18790 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
18791 (__exp1): Likewise.
18792 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18793 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18794 (log1): Likewise.
18795 (my_log2): Likewise.
18796 (checkint): Likewise.
18797 * sysdeps/ieee754/dbl-64/e_remainder.c
18798 (__ieee754_remainder): Likewise.
18799 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18800 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18801 (bsloww): Likewise.
18802 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18803
6f2e90e7
SP
18804 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18805 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
18806 MANTISSA_STORE_T to store computations on mantissa. Use
18807 macros for rounding and division.
18808 (denorm): Likewise.
18809 (__dbl_mp): Likewise.
18810 (add_magnitudes): Likewise.
18811 (sub_magnitudes): Likewise.
18812 (__mul): Likewise.
18813 (__sqr): Likewise.
18814 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18815 powers of two in terms of TWOPOW macro.
18816 (mp_no): Make type of mantissa as MANTISSA_T.
18817 [!RADIXI]: Define RADIXI.
18818 [!TWO52]: Define TWO52.
18819 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18820
fce14d4e
AZ
188212013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18822
18823 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
18824 llroundl symbol when building for PPC32.
18825
9ad027fb
MW
188262013-03-24 Mark H Weaver <mhw@netris.org>
18827
18828 * manual/arith.texi (Normalization Functions): Fix prototypes for
18829 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
18830
e42a38dd
AZ
188312013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18832
18833 [BZ #13889]
18834 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
18835 high value to check if expl overflow.
18836 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
18837 to check for underflow and overflow.
18838 * math/libm-test.inc: Add exp test.
18839
2e0fb521
DL
188402013-03-21 Dmitry V. Levin <ldv@altlinux.org>
18841
18842 [BZ #11120]
18843 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
18844 with NOT_IN_libc.
18845
b5784d95
AZ
188462013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18847
18848 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
18849 symbol.
18850
5aa4a1a1
TS
188512013-03-21 Thomas Schwinge <thomas@codesourcery.com>
18852
bdef0be7
TS
18853 * math/gen-libm-test.pl (parse_args, special_functions): Properly
18854 wrap blocks consisting of several statements.
18855
5aa4a1a1
TS
18856 * sysdeps/generic/math-tests.h: New file.
18857 * sysdeps/i386/fpu/math-tests.h: Likewise.
18858 * math/test-snan.c: Include it.
18859 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
18860
98c48fe5
JM
188612013-03-21 Joseph Myers <joseph@codesourcery.com>
18862
18863 [BZ #15285]
18864 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
18865 (__ieee754_j0l): Do not improve calculations using cos of twice
18866 input for inputs above LDBL_MAX / 2.0L.
18867 (__ieee754_y0l): Likewise.
18868 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
18869 (__ieee754_j1l): Do not improve calculations using cos of twice
18870 input for inputs above LDBL_MAX / 2.0L.
18871 (__ieee754_y1l): Likewise.
18872 * math/libm-test.inc (j0_test): Add another test.
18873 (j1_test): Likewise.
18874 (y0_test): Likewise.
18875 (y1_test): Likewise.
18876 * sysdeps/i386/fpu/libm-test-ulps: Update.
18877
3775a8bc
SP
188782013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18879
18880 * Rules ($(objpfx)bench-%.c): Include code from a C source
18881 file.
18882
0a1b2ae6
JM
188832013-03-21 Joseph Myers <joseph@codesourcery.com>
18884
18885 [BZ #15287]
18886 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18887 imaginary part 1.0 and real part less than 0.5 specially.
18888 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18889 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18890 * math/libm-test.inc (cacos_test): Add more tests.
18891 (casin_test): Likewise.
18892 (casinh_test): Likewise.
18893 * sysdeps/i386/fpu/libm-test-ulps: Update.
18894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18895
b33d4ce4
SP
188962013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18897
18898 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
18899 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
18900
bef0b507
JM
189012013-03-20 Joseph Myers <joseph@codesourcery.com>
18902
18903 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
18904 * config.make.in (config-cflags-sse4): Remove variable.
18905 (config-cflags-avx): Likewise.
18906 (config-cflags-sse2avx): Likewise.
18907 (config-cflags-novzeroupper): Likewise.
18908 (config-asflags-i686): Likewise.
18909 (have-mfma4): Likewise.
18910 (have-as-vis3): Likewise.
18911 (MIG): Likewise.
18912 * configure.in (MIG): Do not AC_SUBST.
18913 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
18914 (libc_cv_cc_sse4): Do not AC_SUBST.
18915 (libc_cv_cc_avx): Likewise.
18916 (libc_cv_cc_sse2avx): Likewise.
18917 (libc_cv_cc_novzeroupper): Likewise.
18918 (libc_cv_cc_fma4): Likewise.
18919 (libc_cv_as_i686): Likewise.
18920 (libc_cv_sparc_as_vis3): Likewise.
18921 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
18922 LIBC_CONFIG_VAR.
18923 (config-asflags-i686): Likewise.
18924 (config-cflags-avx): Likewise.
18925 (config-cflags-sse2avx): Likewise.
18926 (have-mfma4): Likewise.
18927 (config-cflags-novzeroupper): Likewise.
18928 * sysdeps/mach/configure.in (MIG): Likewise.
18929 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
18930 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
18931 LIBC_CONFIG_VAR.
18932 (config-cflags-avx): Likewise.
18933 (config-cflags-sse2avx): Likewise.
18934 (have-mfma4): Likewise.
18935 (config-cflags-novzeroupper): Likewise.
18936 * configure: Regenerated.
18937 * sysdeps/i386/configure: Likewise.
18938 * sysdeps/mach/configure: Likewise.
18939 * sysdeps/sparc/configure: Likewise.
18940 * sysdeps/x86_64/configure: Likewise.
18941
912cc4b3
RM
189422013-03-20 Roland McGrath <roland@hack.frob.com>
18943
18944 [BZ #14812]
18945 * locale/programs/localedef.c (options): Put N_ translation marker
18946 on argument names, not just descriptions.
18947
04eed2b0
MS
189482013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18949
18950 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
18951
a065ceff
OB
189522013-03-20 Ondřej Bílka <neleai@seznam.cz>
18953
9bb2a810 18954 [BZ #14176]
a065ceff
OB
18955 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
18956
a600e5ce
RM
189572013-03-19 Roland McGrath <roland@hack.frob.com>
18958
18959 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
18960 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
18961 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
18962 [!BEFORE_ABORT] (before_abort): New function.
18963 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
18964 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
18965 (writev_for_fatal): New function.
18966 (WRITEV_FOR_FATAL): New macro; call that.
18967 (backtrace_and_maps): New function.
18968 (BEFORE_ABORT): New macro; call that.
18969 (struct str_list): Type removed.
18970 (__libc_message, __libc_fatal): Functions removed.
18971 Include <sysdeps/posix/libc_fatal.c> instead.
18972
6b18bea6
JM
189732013-03-19 Joseph Myers <joseph@codesourcery.com>
18974
18975 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
18976 constants.
18977 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
18978 double constants.
18979
aaa8cb4b
AS
189802013-03-19 Andreas Schwab <schwab@suse.de>
18981
44673770
AS
18982 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
18983 * sysdeps/gnu/configure: Regenerate.
18984
aaa8cb4b
AS
18985 * configure.in: Substitute libc_cv_rtlddir.
18986 * configure: Regenerate.
18987 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
18988 * Makeconfig (rtlddir, inst_rtlddir): New variables.
18989 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
18990 * elf/Makefile (install-others, CFLAGS-interp.c)
18991 (ldso_install, common-ldd-rewrite): Likewise.
18992 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
18993 $(inst_slibdir)/$(rtld-installed-name).
18994 * scripts/rellns-sh: Add -p option.
18995 * Makerules (make-shlib-link): Use rellns-sh to get relative name
18996 for source.
18997
d3cfc668
SP
189982013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18999
19000 * manual/nptl.texi: Renamed to ...
19001 * manual/threads.texi: ... this.
19002 * manual/Makefile (chapters): Update.
19003
0e2b9cdd
RM
190042013-03-18 Roland McGrath <roland@hack.frob.com>
19005
19006 [BZ #14812]
19007 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19008 on argument names, not just descriptions.
0e2b9cdd
RM
19009 * malloc/memusagestat.c (options): Likewise.
19010 * nss/getent.c (options): Likewise.
63270c24
RM
19011
190122013-03-18 Benno Schulenberg <bensberg@justemail.net>
19013
19014 [BZ #14812]
19015 * iconv/iconv_prog.c (options): Put N_ translation marker
19016 on argument names, not just descriptions.
19017 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 19018
b2e1393c
OB
190192013-03-18 Ondrej Bilka <neleai@seznam.cz>
19020
19021 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19022 implementation which is faster on all x86_64 architectures.
19023 Tested on AMD, Intel Nehalem, SNB, IVB.
19024 * sysdeps/x86_64/strnlen.S: Likewise.
19025
19026 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19027 Remove all multiarch strlen and strnlen versions.
19028 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19029 Remove strlen and strnlen related parts.
19030
19031 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19032 Inline strlen part.
19033 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19034
19035 * sysdeps/x86_64/multiarch/strlen.S: Remove.
19036 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19037 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19038 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19039 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19040 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19041
ec4ff04d
CD
190422013-03-17 Carlos O'Donell <carlos@redhat.com>
19043
19044 * manual/memory.texi (Malloc Tunable Parameters):
19045 Sort parameters alphabetically. Add comments for missing entries.
19046
cd18e90a
DM
190472013-03-17 David S. Miller <davem@davemloft.net>
19048
19049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19050
2a185d32
JM
190512013-03-16 Joseph Myers <joseph@codesourcery.com>
19052
d2f9799e
JM
19053 [BZ #15283]
19054 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19055 for arguments at most half maximum finite value.
19056 * math/libm-test.inc (j0_test): Add more tests.
19057 (j1_test): Likewise.
19058 (y0_test): Likewise.
19059 (y1_test): Likewise.
19060 * sysdeps/i386/fpu/libm-test-ulps: Update.
19061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19062
2a185d32
JM
19063 [BZ #14155]
19064 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19065 1 / x and functions P and Q for arguments above 0x1p256L.
19066 (__ieee754_y0l): Likewise.
19067 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19068 (__ieee754_y1l): Likewise.
19069 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19070 (j1_test): Likewise.
19071 (y0_test): Likewise.
19072 (y1_test): Likewise.
19073
6cbec759
TS
190742013-03-16 Thomas Schwinge <thomas@codesourcery.com>
19075
19076 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19077 variable.
19078
bc16e260
RM
190792013-03-15 Roland McGrath <roland@hack.frob.com>
19080
aefc9b8c
RM
19081 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19082 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19083 zero since it's initialized to EXEC_PAGESIZE.
19084
bc16e260
RM
19085 * sysdeps/unix/sysv/linux/ldsodefs.h
19086 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19087 * sysdeps/generic/ldsodefs.h: ... here.
19088
a57da955
TS
190892013-03-15 Thomas Schwinge <thomas@codesourcery.com>
19090
af00a34d
TS
19091 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19092
495ded2c
TS
19093 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19094 math/test-snan.c.
19095 * math/test-snan.c: Renamed from
19096 sysdeps/powerpc/fpu/test-powerpc-snan.c.
19097 * math/Makefile (tests): Add test-snan.
19098 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19099 test-powerpc-snan.
19100
777b0332
TS
19101 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19102 SUFFIX. Initialize qNaN_var with __builtin_nan family of
19103 functions.
19104 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
19105 __builtin_nan family of functions.
19106 * math/libm-test.inc (initialize): Initialize qnan_value with
19107 __builtin_nan family of functions.
19108 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19109 Remove variables.
19110 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19111 Remove functions.
19112 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
19113 storage class. Initialize qNaN_var and sNaN_var with
19114 __builtin_nan and __builtin_nans families of functions,
19115 respectively.
19116
64d063b8
TS
19117 * math/libm-test.inc (acosh_test): Also test with qNaN input.
19118 (sqrt_test): Remove duplicate test with qNaN input.
19119 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19120 (round_test, signbit_test, significand_test): Note missing +/-Inf
19121 as well as qNaN tests.
19122
67e971f1
TS
19123 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19124 qNaN_var. Fix a few strings, too.
19125 * math/libm-test.inc (nan_value): Rename to qnan_value.
19126 * math/gen-libm-test.pl (%beautify): Adjust to that.
19127 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19128 * math/test-misc.c (main): Likewise.
19129 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19130 to __qnan_bytes, and __qnan_union, respectively.
19131 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19132 Likewise.
19133 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19134 and lqnanval, respectively.
19135 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19136 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19137 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19138 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19139
64487e12
TS
19140 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19141 * math/test-misc.c (main) [__x86_64__]: Enable test for long
19142 doubles.
19143
e015e27b
TS
19144 * math/test-misc.c (main): Fix copy'n'pastos.
19145 * misc/tst-efgcvt.c (special): Likewise.
19146
a57da955
TS
19147 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19148 Remove declarations.
19149
1e380345
SP
191502013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19151
19152 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19153 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19154 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19155 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19156
ef26eece
AZ
191572013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19158
19159 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19160 macro to return vdso values correctly in IFUNC implementations.
19161 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19162 Optimization by using IFUNC.
19163
8cfdb7e0
SP
191642013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19165 Richard Henderson <rth@redhat.com>
19166 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19167
19168 * Makefile.in (bench): New target.
19169 * NEWS: Mention the benchmark framework.
19170 * Rules (bench): Likewise.
19171 (binaries-bench): Generate binaries for functions to
19172 benchmark.
19173 * benchtests/Makefile: New makefile for benchmark tests.
19174 * benchtests/bench-skeleton.c: New skeleton file for benchmark
19175 programs.
19176 * benchtests/exp-inputs: New input file for EXP function.
19177 * benchtests/pow-inputs: New input file for POW function.
19178 * scripts/bench.pl: New script to generate source files for
19179 benchmark programs.
19180
bcda9880
SP
191812013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19182
d22ca8cd
SP
19183 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19184 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19185 computations on mantissa. Use macros for rounding and
19186 division.
19187 (denorm): Likewise.
19188 (__dbl_mp): Likewise.
19189 (add_magnitudes): Likewise.
19190 (sub_magnitudes): Likewise.
19191 (__mul): Likewise.
19192 (__sqr): Likewise.
19193 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19194 powers of two in terms of TWOPOW macro.
19195 (mp_no): Make type of mantissa as MANTISSA_T.
19196 [!RADIXI]: Define RADIXI.
19197 [!TWO52]: Define TWO52.
19198 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19199
bcda9880
SP
19200 * manual/nptl.texi (cindex): Modify threads to pthreads.
19201
06d5adfb
JM
192022013-03-15 Joseph Myers <joseph@codesourcery.com>
19203
19204 * sysdeps/x86_64/preconfigure: Regenerated.
19205
41c7328e
JM
192062013-03-14 Joseph Myers <joseph@codesourcery.com>
19207
19208 [BZ #14155]
19209 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19210 0x1p28 and above.
19211 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19212 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19213 0x1p28 and above.
19214 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19215 * math/libm-test.inc (j0_test): Do not allow one spurious
19216 underflow exception.
19217 (y1_test): Likewise.
19218
e25cfa60
SP
192192013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19220
0409959c
SP
19221 * manual/Makefile (chapters): Add nptl.
19222 * manual/debug.texi (Debugging Support): Add link to Threads
19223 chapter.
19224 * manual/nptl.texi: New file.
19225
e25cfa60
SP
19226 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19227
58a1335e
PB
192282013-03-14 Petr Baudis <pasky@ucw.cz>
19229
19230 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19231 for non-NULL pointer before the memory validity test. Pointed
19232 out by Holger Brunck <holger.brunck@keymile.com>.
19233
9dc7c64f
AS
192342013-03-13 Andreas Schwab <schwab@suse.de>
19235
19236 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19237 instead of .os.
19238
54206aa6
JM
192392013-03-13 Joseph Myers <joseph@codesourcery.com>
19240
19241 * timezone/zic.c: Update from tzcode 2013b.
19242
e98cdb38
CD
192432013-03-12 Carlos O'Donell <carlos@redhat.com>
19244
19245 * manual/install.texi (Configuring and compiling):
19246 Mention i686 and i586.
19247 * INSTALL: Regenerate.
19248
9967e003
RM
192492013-03-12 Roland McGrath <roland@hack.frob.com>
19250
19251 * sysdeps/init_array/elf-init.c: New file.
19252 * csu/elf-init.c
19253 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19254 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19255
19256 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19257 __gmon_start__ as global, but as static with a .preinit_array pointer.
19258 * sysdeps/init_array/gmon-start.c: New file. Use that.
19259 * sysdeps/init_array/crti.S: New file, empty except for comments.
19260 * sysdeps/init_array/crtn.S: Likewise.
19261
e6b5a293 192622013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
19263
19264 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19265 definining bcopy.
80f844c9
OB
19266 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19267 Remove Prefer_SSE_for_memop.
19268 * sysdeps/x86_64/multiarch/init-arch.h: Remove
19269 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19270 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
19271 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19272 memset-x86-64.
80f844c9 19273 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 19274 Remove bzero, memset ifunc support.
80f844c9
OB
19275 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19276 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19277 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19278 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19279
fb6b0fcb
AS
192802013-03-11 Andreas Schwab <schwab@suse.de>
19281
19282 [BZ #15234]
19283 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19284 by SHLIB_COMPAT.
19285 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19286 (GLIBC_2.16): Remove pthread_atfork.
19287
3e6bd4b1
PP
192882013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
19289
19290 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19291 (ptestcases.h): Likewise.
19292
222d7f00
RM
192932013-03-08 Roland McGrath <roland@hack.frob.com>
19294
19295 * Makeconfig ($(common-objpfx)config.status): Depend on
19296 sysdeps/*/preconfigure{,.in} too.
19297
1ba4f030
JM
192982013-03-08 Joseph Myers <joseph@codesourcery.com>
19299
a222d91a
JM
19300 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19301 (__free_hook): Use void * instead of __malloc_ptr_t.
19302 (__malloc_hook): Likewise.
19303 (__realloc_hook): Likewise.
19304 (__memalign_hook): Likewise.
19305 (__after_morecore_hook): Likewise.
19306 * malloc/arena.c (save_malloc_hook): Likewise.
19307 (save_free_hook): Likewise.
19308 * malloc/hooks.c (malloc_hook_ini): Likewise.
19309 (realloc_hook_ini): Likewise.
19310 (memalign_hook_ini): Likewise.
19311 * malloc/malloc.c (malloc_hook_ini): Likewise.
19312 (realloc_hook_ini): Likewise.
19313 (memalign_hook_ini): Likewise.
19314 (__free_hook): Likewise.
19315 (__malloc_hook): Likewise.
19316 (__realloc_hook): Likewise.
19317 (__memalign_hook): Likewise.
19318 (__libc_malloc): Likewise.
19319 (__libc_free): Likewise.
19320 (__libc_realloc): Likewise.
19321 (__libc_memalign): Likewise.
19322 (__libc_valloc): Likewise.
19323 (__libc_pvalloc): Likewise.
19324 (__libc_calloc): Likewise.
19325 (__posix_memalign): Likewise.
19326 * malloc/morecore.c (__sbrk): Likewise.
19327 (__default_morecore): Likewise.
19328
5cc45e10
JM
19329 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19330
dd54b864
JM
19331 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19332 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19333 __malloc_ptrdiff_t.
19334
1ba4f030
JM
19335 * malloc/malloc.h (__malloc_size_t): Remove macro.
19336 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19337 __malloc_size_t.
19338 (old_memalign_hook): Likewise.
19339 (old_realloc_hook): Likewise.
19340 (struct hdr): Likewise.
19341 (flood): Likewise.
19342 (mallochook): Likewise.
19343 (memalignhook): Likewise.
19344 (reallochook): Likewise.
19345 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19346 (tr_old_realloc_hook): Likewise.
19347 (tr_old_memalign_hook): Likewise.
19348 (tr_mallochook): Likewise.
19349 (tr_reallochook): Likewise.
19350 (tr_memalignhook): Likewise.
19351
edf66e57
AZ
193522013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19353
19354 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19355 default_ldbl_pack and using as default implementation.
19356 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19357 implementation.
19358 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19359 redundant definition.
19360 (ldbl_insert_mantissa): Likewise.
19361 (ldbl_canonicalize): Likewise.
19362 (ldbl_nearbyint): Likewise.
19363 (ldbl_pack): Rename to ldbl_pack_ppc.
19364 (ldbl_unpack): Rename to ldbl_unpack_ppc.
19365 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19366 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19367
6d9145d8
SP
193682013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19369
19370 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19371 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19372 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19373 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19374 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19375 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19376 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19377 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19378
4dd4e157
AJ
193792013-03-07 Andreas Jaeger <aj@suse.de>
19380
19381 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19382 bits/mman-linux.h.
19383
adbb8027
SP
193842013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19385
ce544b5b
SP
19386 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19387 Include mpa.h and declare __MPEXP.
19388 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19389 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19390 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19391 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19392 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19393 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19394 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19395
4cc149fd
SP
19396 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19397 (__slowpow): Use long double EXPL and LOGL functions to
19398 compute POW.
19399 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19400 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19401 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19402 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19403 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19404 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19405
e6ebd4a7
SP
19406 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19407 intermediate variable to calculate exponent.
19408 (__sqr): Likewise.
19409 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19410 Likewise.
19411 (__sqr): Likewise.
19412
82a9811d
SP
19413 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19414 [!NO__SQR]: Define __sqr.
19415 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19416 and NO__SQR. Remove all code except __mul and __sqr. Include
19417 sysdeps/ieee754/dbl-64/mpa.c.
19418 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19419
adbb8027
SP
19420 [BZ #12723]
19421 * posix/Makefile (tests): Add tst-pathconf.
19422 * posix/tst-pathconf.c: New test case.
19423 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19424 _PC_PIPE_BUF.
19425 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19426
39120df9
PF
194272013-03-06 Patsy Franklin <pfrankli@redhat.com>
19428
19429 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19430
67525cb8
AJ
194312013-03-06 Andreas Jaeger <aj@suse.de>
19432
664a9ce4
AJ
19433 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19434 definition via __MAP_ANONYMOUS.
19435
8e39047d
AJ
19436 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19437 it's not part of Linux headers.
19438
67525cb8
AJ
19439 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19440 (MAP_HUGE_MASK): Define.
19441
19442 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19443 Define.
19444 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19445 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19446 Define.
19447 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19448 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19449 Define.
19450 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19451 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
19452 Define.
19453 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19454
19455 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
19456 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
19457 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
19458 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
19459 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
19460 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
19461
19462 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19463 Handle f2fs.
19464
19465 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19466 Handle f2fs and efivarfs.
19467
19468 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
19469 f2fs.
19470
19471 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
19472 (EFIVARFS_MAGIC): Add.
19473 (F2FS_LINK_MAX): Add.
19474
e1b42695
PP
194752013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19476
19477 * stdio-common/vfprintf.c: Replace __builtin_expect with
19478 __glibc_unlikely.
19479
2d67d91a
JM
194802013-03-06 Joseph Myers <joseph@codesourcery.com>
19481
19482 [BZ #13550]
19483 * sysdeps/generic/bp-sym.h: Remove file.
19484 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
19485 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
19486 <bp-sym.h> and <bp-asm.h>.
19487 (__longjmp): Don't use BP_SYM.
19488 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
19489 and <bp-asm.h>.
19490 (memcpy): Don't use BP_SYM.
19491 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
19492 <bp-sym.h> and <bp-asm.h>.
19493 (memcpy): Don't use BP_SYM.
19494 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
19495 <bp-asm.h>.
19496 (memcpy): Don't use BP_SYM.
19497 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
19498 <bp-asm.h>.
19499 (memset): Don't use BP_SYM.
19500 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19501 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19502 (__bzero): Don't use BP_SYM.
19503 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19504 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19505 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
19506 <bp-sym.h> and <bp-asm.h>.
19507 (memcmp): Don't use BP_SYM. Remove comment about bounded
19508 pointers.
19509 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
19510 <bp-sym.h> and <bp-asm.h>.
19511 (memcpy): Don't use BP_SYM.
19512 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
19513 <bp-sym.h> and <bp-asm.h>.
19514 (memset): Don't use BP_SYM.
19515 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19516 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19517 (__bzero): Don't use BP_SYM.
19518 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19519 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19520 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
19521 <bp-sym.h> and <bp-asm.h>.
19522 (strncmp): Don't use BP_SYM. Remove comment about bounded
19523 pointers.
19524 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
19525 <bp-sym.h> and <bp-asm.h>.
19526 (memcpy): Don't use BP_SYM.
19527 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
19528 <bp-sym.h> and <bp-asm.h>.
19529 (memset): Don't use BP_SYM.
19530 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19531 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19532 (__bzero): Don't use BP_SYM.
19533 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19534 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19535 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
19536 <bp-sym.h> and <bp-asm.h>.
19537 (__memchr): Don't use BP_SYM.
19538 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
19539 <bp-sym.h> and <bp-asm.h>.
19540 (memcmp): Don't use BP_SYM. Remove comment about bounded
19541 pointers.
19542 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
19543 <bp-sym.h> and <bp-asm.h>.
19544 (memcpy): Don't use BP_SYM.
19545 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
19546 <bp-sym.h> and <bp-asm.h>.
19547 (__mempcpy): Don't use BP_SYM.
19548 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
19549 <bp-sym.h> and <bp-asm.h>.
19550 (__memrchr): Don't use BP_SYM.
19551 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
19552 <bp-sym.h> and <bp-asm.h>.
19553 (memset): Don't use BP_SYM.
19554 (__bzero): Likewise.
19555 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
19556 <bp-sym.h> and <bp-asm.h>.
19557 (__rawmemchr): Don't use BP_SYM.
19558 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
19559 <bp-sym.h> and <bp-asm.h>.
19560 (__STRCMP): Don't use BP_SYM.
19561 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
19562 <bp-sym.h> and <bp-asm.h>.
19563 (strchr): Don't use BP_SYM.
19564 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
19565 <bp-sym.h> and <bp-asm.h>.
19566 (__strchrnul): Don't use BP_SYM.
19567 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
19568 <bp-sym.h> and <bp-asm.h>.
19569 (strlen): Don't use BP_SYM.
19570 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
19571 <bp-sym.h> and <bp-asm.h>.
19572 (strncmp): Don't use BP_SYM. Remove comment about bounded
19573 pointers.
19574 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
19575 <bp-sym.h> and <bp-asm.h>.
19576 (__strnlen): Don't use BP_SYM.
19577 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
19578 <bp-sym.h> and <bp-asm.h>.
19579 (__GI__setjmp): Don't use BP_SYM.
19580 (_setjmp): Likewise.
19581 (__sigsetjmp): Likewise.
19582 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
19583 (L(start_addresses)): Don't use BP_SYM.
19584 (_start): Likewise.
19585 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
19586 <bp-asm.h>.
19587 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
19588 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
19589 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19590 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19591 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
19592 <bp-asm.h>.
19593 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
19594 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
19595 about bounded pointers.
19596 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19597 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19598 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
19599 <bp-asm.h>.
19600 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19601 about bounded pointers. Remove GKM FIXME comments.
19602 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19603 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
19604 <bp-asm.h>.
19605 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
19606 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
19607 Remove GKM FIXME comments.
19608 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19609 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19610 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
19611 <bp-asm.h>.
19612 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19613 about bounded pointers. Remove GKM FIXME comment.
19614 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
19615 and <bp-asm.h>.
19616 (strncmp): Don't use BP_SYM. Remove comment about bounded
19617 pointers.
19618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
19619 <bp-sym.h> and <bp-asm.h>.
19620 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
19622 <bp-sym.h> and <bp-asm.h>.
19623 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19624 comment.
19625
cdcf361f
PP
196262013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19627
19628 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
19629 call free(NULL).
19630
3c4a2b15
DM
196312013-03-05 David S. Miller <davem@davemloft.net>
19632
19633 * po/es.po: Update from translation team.
19634
cdcf361f 196352013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
19636
19637 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
19638 <bits/mman-linux.h>.
19639 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19640 is fine.
19641 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
19642 <bits/mman-linux.h> to end of file.
19643 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19644 is fine.
19645 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
19646 <bits/mman-linux.h> to end of file.
19647 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19648 is fine.
19649 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
19650 <bits/mman-linux.h> to end of file.
19651
19652 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
19653 (MCL_CURRENT, MCL_FUTURE): Define here.
19654
5f67c04f
AK
196552013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19656
8a4473cc 19657 [BZ #15232]
5f67c04f
AK
19658 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
19659 attribute_hidden.
19660 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19661
c3e94a95
AK
196622013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19663
19664 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
19665 fourth parameter needed for rt_sigprocmask syscall.
19666 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19667 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19668 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19669 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19670 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19671 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
19672
cfb6382a
JM
196732013-03-04 Joseph Myers <joseph@codesourcery.com>
19674
19675 [BZ #13550]
19676 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
19677 comment about bounded pointers.
19678 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
19679 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
19680
539d8e01
AJ
196812013-03-04 Andreas Jaeger <aj@suse.de>
19682
19683 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
19684 common definitions.
19685
19686 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
19687 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
19688 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
19689 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19690 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
19691 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19692
2e167a70 196932013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
19694
19695 [BZ #15055]
19696 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19697 __ieee754_sqrl instead of __sqrl.
19698
68508633
JM
196992013-03-01 Joseph Myers <joseph@codesourcery.com>
19700
19701 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
19702 * sysdeps/powerpc/fpu_control.h: ... here.
19703 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
19704 * sysdeps/powerpc/bits/fenvinline.h: ... here.
19705 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
19706 * sysdeps/powerpc/bits/mathinline.h: ... here.
19707
7775448e
RM
197082013-03-01 Roland McGrath <roland@hack.frob.com>
19709
19710 * elf/dl-hwcaps.c (_dl_important_hwcaps):
19711 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
19712 to just [NEED_DL_SYSINFO_DSO].
19713 * elf/dl-support.c: Likewise.
19714 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19715 * elf/rtld.c (dl_main): Likewise.
19716 * elf/setup-vdso.h (setup_vdso): Likewise.
19717 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
19718 * sysdeps/unix/sysv/linux/dl-sysdep.c
19719 (_dl_discover_osversion): Likewise.
19720
4e9b5995
CD
197212013-03-01 Carlos O'Donell <carlos@redhat.com>
19722
19723 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
19724 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19725
e23872c8
SP
197262013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
19727
e5c74c63
SP
19728 * NEWS: Mention libm performance improvements and non-x86 PI
19729 futex support.
19730
e23872c8
SP
19731 * csu/libc-start.c (__pthread_initialize_minimal): Change
19732 function arguments.
19733 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19734
b5510883
JM
197352013-02-28 Joseph Myers <joseph@codesourcery.com>
19736
19737 [BZ #13550]
19738 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
19739 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
19740 <bp-sym.h> and <bp-asm.h>.
19741 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19742 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
19743 and <bp-asm.h>.
19744 (memcpy): Don't use BP_SYM.
19745 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
19746 <bp-asm.h>.
19747 (__mpn_add_n): Don't use BP_SYM.
19748 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
19749 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
19750 and <bp-asm.h>.
19751 (__mpn_addmul_1): Don't use BP_SYM.
19752 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19753 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
19754 <bp-sym.h>.
19755 (_setjmp): Don't use BP_SYM.
19756 (__novmx_setjmp): Likewise.
19757 (__GI__setjmp): Likewise.
19758 (__vmx_setjmp): Likewise.
19759 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
19760 <bp-sym.h>.
19761 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
19762 (__bzero): Don't use BP_SYM.
19763 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19764 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19765 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
19766 <bp-sym.h> and <bp-asm.h>.
19767 (memcpy): Don't use BP_SYM.
19768 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
19769 <bp-sym.h> and <bp-asm.h>.
19770 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19771 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
19772 <bp-sym.h> and <bp-asm.h>.
19773 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19774 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
19775 <bp-asm.h>.
19776 (__mpn_lshift): Don't use BP_SYM.
19777 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19778 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
19779 <bp-asm.h>.
19780 (memset): Don't use BP_SYM.
19781 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19782 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19783 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
19784 <bp-asm.h>.
19785 (__mpn_mul_1): Don't use BP_SYM.
19786 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19787 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
19788 <bp-sym.h> and <bp-asm.h>.
19789 (memcmp): Don't use BP_SYM.
19790 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
19791 <bp-sym.h> and <bp-asm.h>.
19792 (memcpy): Don't use BP_SYM.
19793 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
19794 <bp-sym.h> and <bp-asm.h>.
19795 (memset): Don't use BP_SYM.
19796 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
19797 <bp-sym.h> and <bp-asm.h>.
19798 (strncmp): Don't use BP_SYM.
19799 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
19800 <bp-sym.h> and <bp-asm.h>.
19801 (memcpy): Don't use BP_SYM.
19802 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
19803 <bp-sym.h> and <bp-asm.h>.
19804 (memset): Don't use BP_SYM.
19805 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
19806 <bp-sym.h> and <bp-asm.h>.
19807 (__memchr): Don't use BP_SYM.
19808 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
19809 <bp-sym.h> and <bp-asm.h>.
19810 (memcmp): Don't use BP_SYM.
19811 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
19812 <bp-sym.h> and <bp-asm.h>.
19813 (memcpy): Don't use BP_SYM.
19814 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
19815 <bp-sym.h> and <bp-asm.h>.
19816 (__mempcpy): Don't use BP_SYM.
19817 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
19818 <bp-sym.h> and <bp-asm.h>.
19819 (__memrchr): Don't use BP_SYM.
19820 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
19821 <bp-sym.h> and <bp-asm.h>.
19822 (memset): Don't use BP_SYM.
19823 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
19824 <bp-sym.h> and <bp-asm.h>.
19825 (__rawmemchr): Don't use BP_SYM.
19826 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
19827 <bp-sym.h> and <bp-asm.h>.
19828 (__STRCMP): Don't use BP_SYM.
19829 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
19830 <bp-sym.h> and <bp-asm.h>.
19831 (strchr): Don't use BP_SYM.
19832 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
19833 <bp-sym.h> and <bp-asm.h>.
19834 (__strchrnul): Don't use BP_SYM.
19835 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
19836 <bp-sym.h> and <bp-asm.h>.
19837 (strlen): Don't use BP_SYM.
19838 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
19839 <bp-sym.h> and <bp-asm.h>.
19840 (strncmp): Don't use BP_SYM.
19841 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
19842 <bp-sym.h> and <bp-asm.h>.
19843 (__strnlen): Don't use BP_SYM.
19844 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
19845 <bp-asm.h>.
19846 (__mpn_rshift): Don't use BP_SYM.
19847 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19848 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
19849 <bp-sym.h> and <bp-asm.h>.
19850 (__sigsetjmp): Don't use BP_SYM.
19851 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
19852 (L(start_addresses)): Don't use BP_SYM.
19853 (_start): Likewise.
19854 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
19855 <bp-asm.h>.
19856 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
19857 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19858 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19859 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
19860 <bp-asm.h>.
19861 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
19862 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19863 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19864 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
19865 <bp-asm.h>.
19866 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19867 comments.
19868 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19869 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
19870 <bp-asm.h>.
19871 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
19872 FIXME comments.
19873 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19874 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19875 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
19876 <bp-asm.h>.
19877 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19878 comment.
19879 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
19880 and <bp-asm.h>.
19881 (strncmp): Don't use BP_SYM,
19882 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
19883 <bp-asm.h>.
19884 (__mpn_sub_n): Don't use BP_SYM.
19885 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19886 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
19887 and <bp-asm.h>.
19888 (__mpn_submul_1): Don't use BP_SYM.
19889 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
19891 <bp-sym.h> and <bp-asm.h>.
19892 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
19894 <bp-sym.h> and <bp-asm.h>.
19895 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19896 comment.
19897
8d19fe64
SP
198982013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19899
19900 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
19901 Use ZK to minimize writes to Z.
19902 (sub_magnitudes): Simplify code a bit.
19903 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
19904 Use ZK to minimize writes to Z.
19905 (sub_magnitudes): Simplify code a bit.
19906
85bd816a
RM
199072013-02-27 Roland McGrath <roland@hack.frob.com>
19908
19909 * csu/gmon-start.c: Add special exception to license text.
19910
b5977bf2
RH
199112013-02-27 Richard Henderson <rth@redhat.com>
19912
19913 * scripts/config.guess: Update from config.git.
19914 * scripts/config.sub: Likewise.
19915
11d6e2f2
SP
199162013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19917
09c14ed2
SP
19918 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
19919
a688864e
SP
19920 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
19921
6295157a
SP
19922 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
19923
b8de2202
SP
19924 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
19925
11d6e2f2
SP
19926 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
19927
7e80ddb8
RM
199282013-02-26 Roland McGrath <roland@hack.frob.com>
19929
19930 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
19931 [$(build-shared = yes].
7e80ddb8 19932
7da6d9ed
SP
199332013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19934
45f05884
SP
19935 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
19936 (__mul): Reduce iterations for calculating mantissa.
19937
2236d359
SP
19938 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
19939 MPTWO.
19940 (__mpranred): Likewise.
19941
7da6d9ed
SP
19942 [BZ #15160]
19943 * malloc/memusagestat.c (main): Draw graphs for heap and stack
19944 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
19945
b7688c42
PE
199462013-02-26 Paul Eggert <eggert@cs.ucla.edu>
19947
19948 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
19949 Define __attribute__.
19950
53a5c423
SP
199512013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19952
19953 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
19954 unused.
19955 * posix/regex_internal.h (__attribute): Remove.
19956 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
19957 (re_string_context_at): Likewise.
19958 (bitset_not): Use __attribute__ and mark function as possibly
19959 unused.
19960 (bitset_merge): Likewise.
19961 (bitset_mask): Likewise.
19962 (re_string_char_size_at): Likewise.
19963 (re_string_wchar_at): Likewise.
19964 (re_string_elem_size_at): Likewise.
19965
60f5a8b5
SP
199662013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19967
2a983a2e
SP
19968 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
19969 code.
19970 (cc32): Likewise.
19971
e69804d1
SP
19972 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
19973 (__acr): Likewise.
19974 (__cpy): Likewise.
19975 (norm): Likewise.
19976 (denorm): Likewise.
19977 (__dbl_mp): Likewise.
19978 (add_magnitudes): Likewise.
19979 (sub_magnitudes): Likewise.
19980 (__mul): Likewise.
19981 (__inv): Likewise.
19982
2f22a1e8
SP
19983 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
19984 style.
19985
8930ddc7
SP
19986 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
19987 style.
19988
dc60cb11
SP
19989 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
19990 code.
19991
60f5a8b5
SP
19992 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
19993 up changes with default code.
19994 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
19995 Likewise.
19996
b4d1fd33
AM
199972013-02-24 Allan McRae <allan@archlinux.org>
19998
faf6f8bc
AM
19999 * manual/socket.texi (The Internet Namespace): Order menu items
20000 to match that in the file.
20001
b4d1fd33
AM
20002 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20003 node listing of the info page menu.
20004
2366713d
JM
200052013-02-21 Joseph Myers <joseph@codesourcery.com>
20006
20007 [BZ #13550]
20008 * sysdeps/i386/bp-asm.h: Remove file.
20009 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20010 (PARMS): Do not use macros from bp-asm.h.
20011 (S1): Likewise.
20012 (S2): Likewise.
20013 (SIZE): Likewise.
20014 (__mpn_add_n): Do not use BP_SYM
20015 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20016 "bp-asm.h".
20017 (PARMS): Do not use macros from bp-asm.h.
20018 (S1): Likewise.
20019 (SIZE): Likewise.
20020 (__mpn_addmul_1): Do not use BP_SYM
20021 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20022 "bp-asm.h".
20023 (PARMS): Do not use macros from bp-asm.h.
20024 (SIGMSK): Likewise.
20025 (_setjmp): Likewise. 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/fpu/s_frexp.S: Do not include "bp-sym.h" and
20032 "bp-asm.h".
20033 (PARMS): Do not use macros from bp-asm.h.
20034 (__frexp): Do not use BP_SYM.
20035 (frexp): Likewise.
20036 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20037 "bp-asm.h".
20038 (PARMS): Do not use macros from bp-asm.h.
20039 (__frexpf): Do not use BP_SYM.
20040 (frexpf): Likewise.
20041 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20042 "bp-asm.h".
20043 (PARMS): Do not use macros from bp-asm.h.
20044 (__frexpl): Do not use BP_SYM.
20045 (frexpl): Likewise.
20046 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20047 "bp-asm.h".
20048 (PARMS): Do not use macros from bp-asm.h.
20049 (__remquo): Do not use BP_SYM.
20050 (remquo): Likewise.
20051 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20052 "bp-asm.h".
20053 (PARMS): Do not use macros from bp-asm.h.
20054 (__remquof): Do not use BP_SYM.
20055 (remquof): Likewise.
20056 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20057 "bp-asm.h".
20058 (PARMS): Do not use macros from bp-asm.h.
20059 (__remquol): Do not use BP_SYM.
20060 (remquol): Likewise.
20061 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20062 "bp-asm.h".
20063 (PARMS): Do not use macros from bp-asm.h.
20064 (DEST): Likewise.
20065 (SRC): Likewise.
20066 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
20067 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20068 "bp-asm.h".
20069 (PARMS): Do not use macros from bp-asm.h.
20070 (strlen): Do not use BP_SYM.
20071 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20072 "bp-asm.h".
20073 (PARMS): Do not use macros from bp-asm.h.
20074 (S1): Likewise.
20075 (S2): Likewise.
20076 (SIZE): Likewise.
20077 (__mpn_add_n): Do not use BP_SYM.
20078 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20079 "bp-asm.h".
20080 (PARMS): Do not use macros from bp-asm.h.
20081 (S1): Likewise.
20082 (SIZE): Likewise.
20083 (__mpn_addmul_1): Do not use BP_SYM.
20084 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20085 weak_alias.
20086 (bzero): Likewise.
20087 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20088 "bp-asm.h".
20089 (PARMS): Do not use macros from bp-asm.h.
20090 (S): Likewise.
20091 (SIZE): Likewise.
20092 (__mpn_lshift): Do not use BP_SYM.
20093 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20094 "bp-asm.h".
20095 (PARMS): Do not use macros from bp-asm.h.
20096 (DEST): Likewise.
20097 (SRC): Likewise.
20098 (LEN): Likewise.
20099 (memcpy): Likewise. Do not use BP_SYM.
20100 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20101 libc_hidden_def and weak_alias.
20102 (mempcpy): Do not use BP_SYM in weak_alias.
20103 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20104 "bp-asm.h".
20105 (PARMS): Do not use macros from bp-asm.h.
20106 (DEST): Likewise.
20107 (LEN): Likewise.
20108 [!BZERO_P] (CHR): Likewise.
20109 (memset): Likewise. Do not use BP_SYM.
20110 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20111 "bp-asm.h".
20112 (PARMS): Do not use macros from bp-asm.h.
20113 (S1): Likewise.
20114 (SIZE): Likewise.
20115 (__mpn_mul_1): Do not use BP_SYM.
20116 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20117 "bp-asm.h".
20118 (PARMS): Do not use macros from bp-asm.h.
20119 (S): Likewise.
20120 (SIZE): Likewise.
20121 (__mpn_rshift): Do not use BP_SYM.
20122 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20123 "bp-asm.h".
20124 (PARMS): Do not use macros from bp-asm.h.
20125 (STR): Likewise.
20126 (CHR): Likewise.
20127 (strchr): Likewise. Do not use BP_SYM.
20128 (index): Do not use BP_SYM in weak_alias.
20129 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20130 "bp-asm.h".
20131 (PARMS): Do not use macros from bp-asm.h.
20132 (DEST): Likewise.
20133 (SRC): Likewise.
20134 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
20135 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20136 "bp-asm.h".
20137 (PARMS): Do not use macros from bp-asm.h.
20138 (strlen): Do not use BP_SYM.
20139 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20140 "bp-asm.h".
20141 (PARMS): Do not use macros from bp-asm.h.
20142 (S1): Likewise.
20143 (S2): Likewise.
20144 (SIZE): Likewise.
20145 (__mpn_sub_n): Do not use BP_SYM.
20146 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20147 "bp-asm.h".
20148 (PARMS): Do not use macros from bp-asm.h.
20149 (S1): Likewise.
20150 (SIZE): Likewise.
20151 (__mpn_submul_1): Do not use BP_SYM.
20152 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20153 "bp-asm.h".
20154 (PARMS): Do not use macros from bp-asm.h.
20155 (S1): Likewise.
20156 (S2): Likewise.
20157 (SIZE): Likewise.
20158 (__mpn_add_n): Do not use BP_SYM.
20159 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20160 weak_alias.
20161 (bzero): Likewise.
20162 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20163 "bp-asm.h".
20164 (PARMS): Do not use macros from bp-asm.h.
20165 (BLK2): Likewise.
20166 (LEN): Likewise.
20167 (memcmp): Do not use BP_SYM.
20168 (bcmp): Do not use BP_SYM in weak_alias.
20169 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20170 "bp-asm.h".
20171 (PARMS): Do not use macros from bp-asm.h.
20172 (DEST): Likewise.
20173 (SRC): Likewise.
20174 (LEN): Likewise.
20175 (memcpy): Likewise. Do not use BP_SYM.
20176 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20177 "bp-asm.h".
20178 (PARMS): Do not use macros from bp-asm.h.
20179 (DEST): Likewise.
20180 (SRC): Likewise.
20181 (LEN): Likewise.
20182 (memmove): Likewise. Do not use BP_SYM.
20183 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20184 "bp-asm.h".
20185 (PARMS): Do not use macros from bp-asm.h.
20186 (DEST): Likewise.
20187 (SRC): Likewise.
20188 (LEN): Likewise.
20189 (__mempcpy): Likewise. Do not use BP_SYM.
20190 (mempcpy): Do not use BP_SYM in weak_alias.
20191 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20192 "bp-asm.h".
20193 (PARMS): Do not use macros from bp-asm.h.
20194 (DEST): Likewise.
20195 (LEN): Likewise.
20196 [!BZERO_P] (CHR): Likewise.
20197 (memset): Likewise. Do not use BP_SYM.
20198 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20199 "bp-asm.h".
20200 (PARMS): Do not use macros from bp-asm.h.
20201 (STR2): Likewise.
20202 (strcmp): Do not use BP_SYM.
20203 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20204 "bp-asm.h".
20205 (PARMS): Do not use macros from bp-asm.h.
20206 (STR): Likewise.
20207 (DELIM): Likewise.
20208 [USE_AS_STRTOK_R] (SAVE): Likewise.
20209 (FUNCTION): Likewise. Do not use BP_SYM.
20210 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20211 aliases.
20212 (strtok_r): Likewise.
20213 (__GI___strtok_r): Likewise.
20214 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20215 (PARMS): Do not use macros from bp-asm.h.
20216 (S): Likewise.
20217 (SIZE): Likewise.
20218 (__mpn_lshift): Do not use BP_SYM.
20219 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20220 (PARMS): Do not use macros from bp-asm.h.
20221 (STR): Likewise.
20222 (CHR): Likewise.
20223 (__memchr): Do not use BP_SYM.
20224 (memchr): Do not use BP_SYM in weak_alias.
20225 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20226 (PARMS): Do not use macros from bp-asm.h.
20227 (BLK2): Likewise.
20228 (LEN): Likewise.
20229 (memcmp): Do not use BP_SYM.
20230 (bcmp): Do not use BP_SYM in weak_alias.
20231 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20232 (PARMS): Do not use macros from bp-asm.h.
20233 (S1): Likewise.
20234 (SIZE): Likewise.
20235 (__mpn_mul_1): Do not use BP_SYM.
20236 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20237 "bp-asm.h".
20238 (PARMS): Do not use macros from bp-asm.h.
20239 (STR): Likewise.
20240 (CHR): Likewise.
20241 (__rawmemchr): Do not use BP_SYM.
20242 (rawmemchr): Do not use BP_SYM in weak_alias.
20243 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20244 (PARMS): Do not use macros from bp-asm.h.
20245 (S): Likewise.
20246 (SIZE): Likewise.
20247 (__mpn_rshift): Do not use BP_SYM.
20248 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20249 (PARMS): Do not use macros from bp-asm.h.
20250 (SIGMSK): Likewise.
20251 (__sigsetjmp): Likewise. Do not use BP_SYM.
20252 * sysdeps/i386/start.S: Do not include "bp-sym.h".
20253 (_start): Do not use BP_SYM.
20254 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20255 (PARMS): Do not use macros from bp-asm.h.
20256 (DEST): Likewise.
20257 (SRC): Likewise.
20258 (__stpcpy): Likewise. Do not use BP_SYM.
20259 (stpcpy): Do not use BP_SYM in weak_alias.
20260 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20261 "bp-asm.h".
20262 (PARMS): Do not use macros from bp-asm.h.
20263 (DEST): Likewise.
20264 (SRC): Likewise.
20265 (LEN): Likewise.
20266 (__stpncpy): Likewise. Do not use BP_SYM.
20267 (stpncpy): Do not use BP_SYM in weak_alias.
20268 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20269 (PARMS): Do not use macros from bp-asm.h.
20270 (STR): Likewise.
20271 (CHR): Likewise.
20272 (strchr): Likewise. Do not use BP_SYM.
20273 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20274 "bp-asm.h".
20275 (PARMS): Do not use macros from bp-asm.h.
20276 (STR): Likewise.
20277 (CHR): Likewise.
20278 (__strchrnul): Likewise. Do not use BP_SYM.
20279 (strchrnul): Do not use BP_SYM in weak_alias.
20280 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20281 "bp-asm.h".
20282 (PARMS): Do not use macros from bp-asm.h.
20283 (STOP): Likewise.
20284 (strcspn): Do not use BP_SYM.
20285 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20286 "bp-asm.h".
20287 (PARMS): Do not use macros from bp-asm.h.
20288 (STR): Likewise.
20289 (STOP): Likewise.
20290 (strpbrk): Likewise. Do not use BP_SYM.
20291 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20292 "bp-asm.h".
20293 (PARMS): Do not use macros from bp-asm.h.
20294 (STR): Likewise.
20295 (CHR): Likewise.
20296 (strrchr): Likewise. Do not use BP_SYM.
20297 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20298 (PARMS): Do not use macros from bp-asm.h.
20299 (SKIP): Likewise.
20300 (strspn): Do not use BP_SYM.
20301 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20302 (PARMS): Do not use macros from bp-asm.h.
20303 (STR): Likewise.
20304 (DELIM): Likewise.
20305 (SAVE): Likewise.
20306 (FUNCTION): Likewise. Do not use BP_SYM.
20307 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20308 aliases.
20309 (strtok_r): Likewise.
20310 (__GI___strtok_r): Likewise.
20311 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20312 (PARMS): Do not use macros from bp-asm.h.
20313 (S1): Likewise.
20314 (S2): Likewise.
20315 (SIZE): Likewise.
20316 (__mpn_sub_n): Do not use BP_SYM.
20317 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20318 "bp-asm.h".
20319 (PARMS): Do not use macros from bp-asm.h.
20320 (S1): Likewise.
20321 (SIZE): Likewise.
20322 (__mpn_submul_1): Do not use BP_SYM.
20323 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20324 <bp-sym.h>.
20325 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20326 and <bp-asm.h>.
20327 (PARMS): Do not use macros from bp-asm.h.
20328 (FLAGS): Likewise.
20329 (PTID): Likewise.
20330 (TLS): Likewise.
20331 (CTID): Likewise.
20332 (__clone): Do not use BP_SYM.
20333 (clone): Do not use BP_SYM in weak_alias.
20334 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20335 and <bp-asm.h>.
20336 (PARMS): Do not use macros from bp-asm.h.
20337 (LEN): Likewise.
20338 (__mmap64): Do not use BP_SYM.
20339 (mmap64): Do not use BP_SYM in weak_alias.
20340 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20341 <bp-sym.h> and <bp-asm.h>.
20342 (PARMS): Do not use macros from bp-asm.h.
20343 (__posix_fadvise64_l64): Do not use BP_SYM.
20344 * sysdeps/unix/sysv/linux/i386/semtimedop.S
20345 (PARMS): Do not use macros from bp-asm.h.
20346 (NSOPS): Likewise.
20347 (semtimedop): Do not use BP_SYM.
20348 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20349 and <bp-asm.h>.
20350
582a3cff
AM
203512013-02-21 Allan McRae <allan@archlinux.org>
20352
20353 * manual/message.texi (Charset conversion in gettext):
20354 Move @end statement to beginning of line.
20355
bab8a695
SP
203562013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20357
80945231
SP
20358 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20359 static.
20360 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20361 Likewise.
20362
bab8a695
SP
20363 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20364 (denorm): Likewise.
20365 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20366 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20367
e21d7aa7
AK
203682013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20369
20370 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20371 tail-call to the resolved function if pltexit isn't needed.
20372
4c7a4263
SP
203732013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20374
20375 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20376 or Y being zero as being unlikely.
20377 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20378 Likewise.
20379
41f49342
CD
203802013-02-20 Carlos O'Donell <carlos@redhat.com>
20381
20382 * manual/nss.texi (System Databases and Name Service Switch):
20383 Remove frobnicate @pxref.
20384
50022a93
TS
203852013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20386
20387 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20388 __attribute__ ((unused)) to __attribute__ ((__unused__)).
20389
08cbd996
PM
203902013-02-20 Petr Machata <pmachata@redhat.com>
20391
20392 * elf/elf.h (R_ARM_TARGET1): New macro.
20393 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20394 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20395 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20396 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20397 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20398 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20399 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20400 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20401 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20402 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20403 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20404 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20405 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20406 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20407 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20408 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20409 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20410 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20411 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20412 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20413 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20414 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20415 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20416 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20417 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20418 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20419 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20420 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20421 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20422 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20423 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20424 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20425 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20426 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20427 (R_ARM_THM_GOT_BREL12): Likewise.
20428 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20429 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20430 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20431 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20432 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20433 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20434 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20435 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20436 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20437
c7b275d6
TS
204382013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20439
20440 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20441 __attribute_used__ to __attribute__ ((unused)).
20442
20cd7fb3
SP
204432013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20444
20445 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
20446 powerpc mpa.c.
20447 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
20448 comment formatting.
20449 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
20450
92945b52
JM
204512013-02-19 Joseph Myers <joseph@codesourcery.com>
20452
20453 [BZ #13550]
20454 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
20455 Remove macro.
20456 (ENTER): Remove both macro definitions.
20457 (LEAVE): Likewise.
20458 (CHECK_BOUNDS_LOW): Likewise.
20459 (CHECK_BOUNDS_HIGH): Likewise.
20460 (CHECK_BOUNDS_BOTH): Likewise.
20461 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
20462 (RETURN_BOUNDED_POINTER): Likewise.
20463 (RETURN_NULL_BOUNDED_POINTER): Likewise.
20464 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
20465 (POP_ERRNO_LOCATION_RETURN): Likewise.
20466 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
20467 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20468 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
20469 macros.
20470 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20471 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
20472 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
20473 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
20474 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
20475 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
20476 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
20477 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
20478 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
20479 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
20480 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
20481 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
20482 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20483 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
20484 removed macros.
20485 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20486 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
20487 macros.
20488 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20489 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
20490 * sysdeps/i386/i586/memset.S (memset): Likewise.
20491 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
20492 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20493 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
20494 macros.
20495 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20496 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
20497 Change uses of L(2) to L(out).
20498 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
20499 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
20500 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
20501 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20502 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
20503 removed macros.
20504 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20505 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
20506 macros.
20507 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20508 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
20509 (RETURN): Do not use macro LEAVE.
20510 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
20511 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
20512 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
20513 * sysdeps/i386/i686/memset.S (memset): Likewise.
20514 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
20515 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
20516 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20517 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
20518 Likewise.
20519 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20520 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
20521 L(1_2) and L(1_3) into L(1).
20522 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20523 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
20524 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20525 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
20526 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20527 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
20528 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
20529 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20530 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
20531 macros.
20532 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
20533 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20534 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
20535 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
20536 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
20537 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20538 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
20539 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
20540 * sysdeps/i386/strcspn.S (strcspn): Likewise.
20541 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
20542 * sysdeps/i386/strrchr.S (strrchr): Likewise.
20543 * sysdeps/i386/strspn.S (strspn): Likewise.
20544 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
20545 conditional code.
20546 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20547 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
20548 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20549 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
20550 L(1_3) into L(1_1).
20551 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
20552 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20553 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
20554 macros.
20555 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20556
2389741a
JJ
205572013-02-19 Jakub Jelinek <jakub@redhat.com>
20558
20559 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
20560 macro.
20561
2016b3cd
SP
205622013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20563
e4f22324
SP
20564 * math/atest-exp.c (exp_mpn): Remove ROUND.
20565 * math/atest-exp2.c (exp_mpn): Likewise.
20566 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
20567
2016b3cd
SP
20568 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
20569 * stdlib/tst-tls-atexit-lib.c: Likewise.
20570 * stdlib/tst-tls-atexit.c: Likewise.
20571
4be9b544
MF
205722013-02-18 Mike Frysinger <vapier@gentoo.org>
20573
20574 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
20575 and __attribute_alloc_size__.
20576
2f62b9ee
MF
205772013-02-18 Mike Frysinger <vapier@gentoo.org>
20578
20579 * include/programs/xmalloc.h: Change __attribute_alloc_size to
20580 __attribute_alloc_size__.
20581 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
20582 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
20583
6ff444c4
MF
205842013-02-18 Mike Frysinger <vapier@gentoo.org>
20585
20586 * include/programs/xmalloc.h: New file.
20587 * catgets/gencat.c: Include it.
20588 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
20589 * elf/pldd.c: Likewise.
20590 * iconv/iconv_charmap.c: Likewise.
20591 * iconv/iconvconfig.c: Likewise.
20592 * iconv/strtab.c: Likewise.
20593 * locale/programs/locale.c: Likewise.
20594 * locale/programs/localedef.h: Likewise.
20595 * locale/programs/simple-hash.c: Likewise.
20596 * nscd/nscd.h: Likewise.
20597 * nss/makedb.c: Likewise.
20598 * sysdeps/generic/ldconfig.h: Likewise.
20599
be179c8a
SP
206002013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20601
ba384f6e
SP
20602 * Versions.def: Add GLIBC_2.18.
20603 * include/link.h (struct link_map): New member l_tls_dtor_count.
20604 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
20605 (__call_tls_dtors): Likewise.
20606 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
20607 __cxa_thread_atexit_impl.
20608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20609 Likewise.
20610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20611 Likewise.
20612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20613 Likewise.
20614 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20615 Likewise.
20616 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
20618 Likewise.
20619 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
20620 Likewise.
20621 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20622 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20623 Likewise.
20624 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
20625 (tests): Add test case tst-tls-atexit.
20626 (modules-names): Add shared library for tst-tls-atexit.
85891aca 20627 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
20628 (GLIBC_PRIVATE): Add __call_tls_dtors.
20629 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
20630 for libstdc++.
20631 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
20632 * stdlib/tst-tls-atexit.c: New test case.
20633 * stdlib/tst-tls-atexit-lib.c: New test case.
20634
ffaa74cf 20635 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 20636
be179c8a
SP
20637 * elf/Versions (ld): Add _dl_find_dso_for_object.
20638 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
20639 * elf/dl-open.c (_dl_find_dso_for_object): New function.
20640 (dl_open_worker): Use _dl_find_dso_for_object.
20641 * elf/dl-sym.c (do_sym): Likewise.
20642 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
20643
f78b5caa
AK
206442013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20645
20646 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
20647 Syntactic changes only.
20648 (_dl_runtime_profile): Do a tail-call to the resolved function.
20649
29691210
JM
206502013-02-17 Joseph Myers <joseph@codesourcery.com>
20651
20652 [BZ #13550]
20653 * sysdeps/x86_64/bp-asm.h: Remove file.
20654 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
20655 <bp-sym.h> and <bp-asm.h>.
20656 (__clone): Do not use BP_SYM.
20657 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
20658 <bp-sym.h> and <bp-asm.h>.
20659 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20660 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
20661 "bp-asm.h".
20662 (_setjmp): Do not use BP_SYM.
20663 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
20664 "bp-asm.h".
20665 (setjmp): Do not use BP_SYM.
20666 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
20667 libc_hidden_def.
20668 (mempcpy): Do not use BP_SYM in weak_alias.
20669 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
20670 "bp-asm.h".
20671 (strchr): Do not use BP_SYM.
20672 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
20673 "bp-asm.h".
20674 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
20675 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
20676 (_start): Do not use BP_SYM.
20677 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
20678 "bp-asm.h".
20679 (strcat): Do not use BP_SYM.
20680 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
20681 "bp-asm.h".
20682 (STRCMP): Do not use BP_SYM.
20683 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
20684 "bp-asm.h".
20685 (STRCPY): Do not use BP_SYM.
20686 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
20687 "bp-asm.h".
20688 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
20689 "bp-asm.h".
20690 (FUNCTION): Do not use BP_SYM.
20691 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
20692 weak_alias.
20693 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
20694
f238fd19
AJ
206952013-02-17 Andreas Jaeger <aj@suse.de>
20696
20697 * time/Versions: Sort entries.
20698 * string/Versions: Likewise.
20699 * resolv/Versions: Likewise.
20700 * posix/Versions: Likewise.
20701 * iconv/Versions: Likewise.
20702 * elf/Versions: Likewise.
20703 * wcsmbs/Versions: Likewise.
20704
bd07f23c 207052013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 20706
22af19f9
SP
20707 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
20708 loop termination condition.
20709
4709fe76
SP
20710 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
20711 variable to calculate EZ.
20712 (__sqr): Likewise.
2d0e0f29
SP
20713
20714 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
20715 the lower precision input.
20716
daaa7713
JM
207172013-02-15 Joseph Myers <joseph@codesourcery.com>
20718
20719 [BZ #13550]
20720 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
20721 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
20722 (run-via-rtld-prefix): Do not handle %-bp tests.
20723 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
20724 (all-object-suffixes): Remove .ob.
20725 (bppfx): Remove variable.
20726 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
20727 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
20728 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
20729 [$(build-bounded) = yes] (libtype.ob): Likewise.
20730 * Makerules (elide-routines.ob): Remove variable.
20731 (do-tests-clean): Do not handle *-bp.out.
20732 (common-mostlyclean): Do not handle *-bp and *-bp.out.
20733 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
20734 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
20735 (tests): Do not include $(tests-bp.out).
20736 (xtests): Do not include $(xtests-bp.out).
20737 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
20738 [$(build-bounded) = yes] ($(addprefix
20739 $(objpfx),$(binaries-bounded))): Remove rule.
20740 ($(objpfx)%-bp.out): Remove rule.
20741 * config.make.in (build-bounded): Remove variable.
20742 * crypt/Makefile [$(build-bounded) = yes]
20743 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
20744 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
20745 append to variable.
20746 [$(build-bounded) = yes] (install-lib): Likewise.
20747 [$(build-bounded) = yes] (generated): Likewise.
20748 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
20749 Remove rule.
20750 * intl/Makefile [$(build-bounded) = yes]
20751 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
20752 * math/Makefile [$(build-bounded) = yes]
20753 ($(tests:%=$(objpfx)%-bp): Likewise.
20754 * misc/Makefile [$(build-bounded) = yes]
20755 ($(objpfx)tst-tsearch-bp): Likewise.
20756 * nptl/Makeconfig (bounded-thread-library): Remove variable.
20757 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
20758 Remove dependency.
20759 * string/Makefile (o-objects.ob): Remove variable.
20760 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
20761 (CFLAGS-.ob): Remove variable.
20762 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
20763 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
20764 both definitions of variable.
20765 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
20766 (ASFLAGS-.ob): Remove variable.
20767
e97ed6dd
JM
207682013-02-14 Joseph Myers <joseph@codesourcery.com>
20769
2bdd4ca6
JM
20770 [BZ #13550]
20771 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
20772 Remove __BOUNDED_POINTERS__ from condition.
20773 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
20774 * string/bits/string2.h [!__NO_STRING_INLINES &&
20775 !__BOUNDED_POINTERS__]: Likewise.
20776 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
20777 Likewise.
20778 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
20779 Remove conditional code.
20780 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
20781 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
20782 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
20783 condition.
20784
e97ed6dd
JM
20785 [BZ #13550]
20786 * csu/libc-start.c: Do not include <bp-sym.h>.
20787 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
20788 * elf/dl-open.c: Do not include <bp-sym.h>.
20789 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
20790 * math/fegetenv.c: Do not include <bp-sym.h>.
20791 (fegetenv): Do not use BP_SYM in versioned symbols.
20792 * nptl/sysdeps/pthread/bits/libc-lockP.h
20793 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
20794 <bp-sym.h>.
20795 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20796 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
20797 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20798 (__pthread_mutex_destroy): Likewise.
20799 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20800 (__pthread_mutex_lock): Likewise.
20801 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20802 (__pthread_mutex_trylock): Likewise.
20803 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20804 (__pthread_mutex_unlock): Likewise.
20805 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20806 (__pthread_mutexattr_init): Likewise.
20807 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20808 (__pthread_mutexattr_destroy): Likewise.
20809 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20810 (__pthread_mutexattr_settype): Likewise.
20811 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20812 (__pthread_rwlock_init): Likewise.
20813 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20814 (__pthread_rwlock_destroy): Likewise.
20815 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20816 (__pthread_rwlock_rdlock): Likewise.
20817 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20818 (__pthread_rwlock_tryrdlock): Likewise.
20819 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20820 (__pthread_rwlock_wrlock): Likewise.
20821 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20822 (__pthread_rwlock_trywrlock): Likewise.
20823 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20824 (__pthread_rwlock_unlock): Likewise.
20825 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20826 (__pthread_key_create): Likewise.
20827 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20828 (__pthread_setspecific): Likewise.
20829 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20830 (__pthread_getspecific): Likewise.
20831 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
20832 Likewise.
20833 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20834 (_pthread_cleanup_push_defer): Likewise.
20835 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20836 (_pthread_cleanup_pop_restore): Likewise.
20837 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20838 (pthread_setcancelstate): Likewise.
20839 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
20840 <bp-sym.h>.
20841 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
20842 (memchr): Do not use BP_SYM in weak_alias.
20843 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
20844 (fegetenv): Do not use BP_SYM in versioned symbols.
20845 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
20846 (fesetenv): Do not use BP_SYM in versioned symbols.
20847 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20848 (feupdateenv): Do not use BP_SYM in versioned symbols.
20849 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20850 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20851 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
20852 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
20853 (open64): Do not use BP_SYM in weak_alias.
20854 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
20855 (fegetenv): Do not use BP_SYM in versioned symbols.
20856 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
20857 (fesetenv): Do not use BP_SYM in versioned symbols.
20858 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20859 (feupdateenv): Do not use BP_SYM in versioned symbols.
20860 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
20861 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
20862 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
20863 (feraiseexcept): Do not use BP_SYM in versioned symbols.
20864 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20865 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20866 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
20867 <bp-sym.h>.
20868 (__libc_start_main): Do not use BP_SYM.
20869
d6752ccd
SP
208702013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20871
cb57ce60
SP
20872 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
20873 redundant return line.
20874 (norm): Likewise.
20875 (denorm): Likewise.
20876 (dbl_mp): Likewise.
20877 (sub_magnitudes): Likewise.
20878 (__add): Likewise.
20879 (__sub): Likewise.
20880 (__mul): Likewise.
20881 (__inv): Likewise.
20882 (__dvd): Likewise.
20883 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
20884 (norm): Likewise.
20885 (denorm): Likewise.
20886 (dbl_mp): Likewise.
20887 (sub_magnitudes): Likewise.
20888 (__add): Likewise.
20889 (__sub): Likewise.
20890 (__mul): Likewise.
20891 (__inv): Likewise.
20892 (__dvd): Likewise.
20893
f414520d
SP
20894 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
20895 instead of __mul.
20896 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20897 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
20898 (cc32): Likewise.
20899
d6752ccd
SP
20900 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
20901 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
20902 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
20903 of __mul for squares.
20904 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
20905 function
20906 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
20907 Likewise.
20908 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
20909 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20910
70d9946a
JM
209112013-02-13 Joseph Myers <joseph@codesourcery.com>
20912
20913 [BZ #13550]
20914 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
20915 code.
20916 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
20917 prototype or function definition. Rename ubp_* variables and
20918 parameters. Remove argv definitions conditional on
20919 [__BOUNDED_POINTERS__].
20920 * debug/backtrace.c (__backtrace): Do not use __unbounded.
20921 * elf/dl-runtime.c (_dl_fixup): Likewise.
20922 * include/set-hooks.h (RUN_HOOK): Likewise.
20923 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
20924 definition.
20925 * string/strcpy.c (strcpy): Do not use __unbounded.
20926 * sysdeps/generic/frame.h (struct layout): Likewise.
20927 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
20928 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
20929 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
20930 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
20931 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
20932 (__backtrace): Likewise.
20933 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
20934 use __ptrvalue.
20935 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20936 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20937 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20938 Likewise.
20939 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
20940 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
20941 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20942 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20943 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
20944 Do not use __unbounded.
20945 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
20946 Rename __unboundedrlimits parameter to rlimits in prototype.
20947 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
20948 Do not use __unbounded.
20949 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
20950 not use __ptrvalue.
20951 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20952 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
20953 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20954 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
20955 __ptrvalue or __unbounded.
20956 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
20957 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
20958 use __unbounded.
20959 (__new_msgctl): Do not use __ptrvalue.
20960 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
20961 __unbounded.
20962 (__libc_msgrcv): Do not use __ptrvalue.
20963 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
20964 startup_info): Do not use __unbounded.
20965 (__libc_start_main): Likewise. Rename ubp_* variables and
20966 parameters. Remove argv definitions conditional on
20967 [__BOUNDED_POINTERS__].
20968 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
20969 __ptrvalue.
20970 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
20971 use __unbounded.
20972 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
20973 or __ptrvalue.
20974 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
20975 use __unbounded.
20976 (__new_shmctl): Do not use __ptrvalue.
20977 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20978 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20979 Likewise.
20980 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20981 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
20982 (__libc_sigaction): Likewise.
20983 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
20984 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
20985 Likewise.
20986 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20987
cc7834d6
OB
209882013-02-13 Ondřej Bílka <neleai@seznam.cz>
20989
ffb1ec7b 20990 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
20991
20992 * string/mempcpy.c: Implement by calling memcpy.
20993
bdf02814
SP
209942013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20995
c2af38aa
SP
20996 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
20997
4e92d59e
SP
20998 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
20999 evaluation.
21000
909279a5
SP
21001 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21002 values in the mantissa.
21003
bdf02814
SP
21004 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21005 minimize writes to Z.
21006 (sub_magnitudes): Simplify code a bit.
21007
cd525923
RM
210082013-02-12 Roland McGrath <roland@hack.frob.com>
21009
21010 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21011 from the message. The linker prefixes all warnings with that already.
21012
7e2f0d2d
AS
210132013-02-12 Andreas Schwab <schwab@suse.de>
21014
a445af0b
AS
21015 [BZ #15078]
21016 * posix/regexec.c (extend_buffers): Add parameter min_len.
21017 (check_matching): Pass minimum needed length.
21018 (clean_state_log_if_needed): Likewise.
21019 (get_subexp): Likewise.
21020 * posix/Makefile (tests): Add bug-regex34.
21021 (bug-regex34-ENV): Define.
21022 * posix/bug-regex34.c: New file.
21023
7e2f0d2d
AS
21024 [BZ #11561]
21025 * posix/regcomp.c (parse_bracket_exp): When looking up collating
21026 elements compare against the byte sequence of it, not its name.
21027 * posix/Makefile (tests): Add bug-regex35.
21028 (bug-regex35-ENV): Define.
21029 * posix/bug-regex35.c: New file.
21030
a175b684
TV
210312013-02-11 Tom de Vries <tom@codesourcery.com>
21032
21033 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
21034 comment.
21035 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21036 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21037 (CHECK_EOL): Add undef.
21038
310998fe 210392013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
21040
21041 * bits/stdlib-bsearch.h: New file.
21042 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 21043 * stdlib/stdlib.h: Likewise.
41eda41d 21044
8ded91fb
RM
210452013-02-11 Roland McGrath <roland@hack.frob.com>
21046
21047 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21048 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21049 declaration.
21050 * manual/search.texi (Array Search Function): Add missing const in
21051 lfind prototype.
21052 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21053 declaration to use rlim_t.
21054 (Basic Scheduling Functions): Remove erroneous const from
21055 sched_getparam prototype. Remove erroneous * from
21056 sched_get_priority_max and sched_get_priority_min prototypes.
21057 (Resource Usage): Fix summary @comment on vtimes to refer to
21058 sys/vtimes.h rather than vtimes.h.
21059 Add missing *s in vtimes prototype.
21060 (Limits on Resources): Fix ulimit prototype to return long int.
21061 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21062 prototypes to use long int rather than double.
21063 (BSD Random): Fix initstate and setstate to use char *, not void *.
21064 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21065 prototype to make second argument 'struct aiocb64 *const[]'.
21066 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21067 (Status of AIO Operations): Remove erroneous const in aio_return and
21068 aio_return64 prototypes.
21069 (Synchronizing I/O): Fix sync prototype to return void.
21070 * manual/startup.texi (Suboptions): Remove an erroneous const in
21071 getsubopt prototype.
21072 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21073 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21074 use size_t rather than int.
21075 (Scanning All Users): Likewise for getpwent_r.
21076 (Setting Groups): Add missing const to setgroups prototype.
21077 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21078 * manual/socket.texi (Host Names): Fix gethostbyaddr and
21079 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21080 'const void *' rather than 'const char *'.
21081 (Host Address Functions): Likewise for inet_ntop.
21082 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21083 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21084 ssize_t for return value.
21085 (Sending Data): Likewise for send, sendto, sendmsg.
21086 (Socket Option Functions): Add a missing const in setsockopt prototype.
21087 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21088 use wchar_t for the argument.
21089 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21090 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21091 take no arguments.
21092 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21093 double/float/long double for second argument.
21094 Fix return types of significand, significandf, significandl.
21095 * manual/filesys.texi (Setting Permissions): Use mode_t for second
21096 argument in fchmod prototype.
21097 (File Owner): Use uid_t and gid_t in fchown prototype.
21098 (File Times): Add const to utimes, futimes, and lutimes prototypes.
21099 (Making Special Files): Use mode_t and dev_t in mknod prototype.
21100 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21101 use 'const struct dirent **' as argument types to CMP function pointer
21102 argument.
21103 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21104 (File Times): Fix summary magic @comment for struct utimbuf and utime
21105 to refer to utime.h, not time.h.
21106 * manual/string.texi (Argz Functions): Add missing const in
21107 argz_extract and argz_next prototypes.
21108 (Finding Tokens in a String): Likewise for basename.
21109 (String/Array Comparison): Fix typo in wcscasecmp prototype.
21110 (Copying and Concatenation): Fix typo in wmemmove prototype.
21111 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21112 (Signal Stack): Remove erroneous const in sigstack prototype.
21113 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21114 prototype.
21115 (Simple Calendar Time): Likewise for stime.
21116 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21117 prototype.
21118 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21119 say sys/sysctl.h instead.
21120 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21121 and vsyslog prototypes.
21122
fe77fe6d
TV
211232013-02-11 Tom de Vries <tom@codesourcery.com>
21124
21125 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21126 Remove.
21127
3a09b620
RM
211282013-02-11 Roland McGrath <roland@hack.frob.com>
21129
21130 * misc/sys/mman.h: Fix typo in mremap comment.
21131
550a0b89
RM
211322013-02-08 Roland McGrath <roland@hack.frob.com>
21133
21134 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21135 the '\0' terminator.
21136
a2da1673
JM
211372013-02-08 Joseph Myers <joseph@codesourcery.com>
21138
21139 [BZ #13550]
21140 * debug/segfault.c: Don't include <bp-checks.h>.
21141 * sysdeps/generic/bp-checks.h: Remove file.
21142 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21143 (__GETDENTS): Don't use CHECK_N.
21144 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21145 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21146 (__getgroups): Don't use CHECK_N.
21147 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21148 (setgroups): Don't use CHECK_N.
21149 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21150 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21151 (__libc_msgrcv): Don't use CHECK_N.
21152 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21153 (__libc_msgsnd): Don't use CHECK_N.
21154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21155 <bp-checks.h>.
21156 (__libc_pread): Don't use CHECK_N.
21157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21158 include <bp-checks.h>.
21159 (__libc_pread64): Don't use CHECK_N.
21160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21161 include <bp-checks.h>.
21162 (__libc_pwrite): Don't use CHECK_N.
21163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21164 include <bp-checks.h>.
21165 (__libc_pwrite64): Don't use CHECK_N.
21166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21167 <bp-checks.h>.
21168 (__libc_pread): Don't use CHECK_N.
21169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21170 include <bp-checks.h>.
21171 (__libc_pread64): Don't use CHECK_N.
21172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21173 include <bp-checks.h>.
21174 (__libc_pwrite): Don't use CHECK_N.
21175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21176 include <bp-checks.h>.
21177 (__libc_pwrite64): Don't use CHECK_N.
21178 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21179 (do_pread): Don't use CHECK_N.
21180 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21181 (do_pread64): Don't use CHECK_N.
21182 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21183 (do_pwrite): Don't use CHECK_N.
21184 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21185 (do_pwrite64): Don't use CHECK_N.
21186 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21187 (__libc_readv): Don't use CHECK_N.
21188 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21189 (semop): Don't use CHECK_N.
21190 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21191 <bp-checks.h>.
21192 (semtimedop): Don't use CHECK_N.
21193 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21194 (__libc_pread): Don't use CHECK_N.
21195 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21196 <bp-checks.h>.
21197 (__libc_pread64): Don't use CHECK_N.
21198 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21199 <bp-checks.h>.
21200 (__libc_pwrite): Don't use CHECK_N.
21201 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21202 <bp-checks.h>.
21203 (__libc_pwrite64): Don't use CHECK_N.
21204 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21205 <bp-checks.h>.
21206 (__libc_msgrcv): Don't use CHECK_N.
21207 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21208 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
21209 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21210 (__libc_writev): Don't use CHECK_N.
21211
b84660a8
RM
212122013-02-08 Roland McGrath <roland@hack.frob.com>
21213
7f3e75f8
RM
21214 * string/strcpy.c: Removed unused variable.
21215
b84660a8
RM
21216 * Makeconfig (+sysdep-includes): Define with := rather than =.
21217 Use an existing include/ subdir of each sysdeps dir before it.
21218
471514d3
CD
212192013-02-08 Carlos O'Donell <carlos@redhat.com>
21220
21221 * nscd/connection.c (register_traced_file): Comment function.
21222 [HAVE_INOTIFY] (union __inev): Define.
21223 [HAVE_INOTIFY] (inotify_check_files): New function.
21224 [HAVE_INOTIFY] (clear_db_cache): Likewise.
21225 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21226 clear_db_cache.
21227 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21228
b2d3c3be
CD
212292013-02-08 Carlos O'Donell <carlos@redhat.com>
21230
21231 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21232 loaded if not already and that a failure is permanent.
21233
b39949d2
CD
212342013-02-08 Carlos O'Donell <carlos@redhat.com>
21235
ddacd1db 21236 [BZ #15006]
b39949d2
CD
21237 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21238 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21239
b2c9eff4
JM
212402013-02-08 Joseph Myers <joseph@codesourcery.com>
21241
f3aae3f3
JM
21242 [BZ #13550]
21243 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21244 (CHECK_1_NULL_OK): Likewise.
21245 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21246 (__fxstat): Do not use CHECK_1.
21247 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21248 <bp-checks.h>.
21249 (___fxstat64): Do not use CHECK_1.
21250 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21251 <bp-checks.h>.
21252 (__fxstatat): Do not use CHECK_1.
21253 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21254 <bp-checks.h>.
21255 (__fxstatat64): Do not use CHECK_1.
21256 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21257 <bp-checks.h>.
21258 (__fxstat): Do not use CHECK_1.
21259 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21260 <bp-checks.h>.
21261 (__fxstatat): Do not use CHECK_1.
21262 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21263 <bp-checks.h>.
21264 (__getresgid): Do not use CHECK_1.
21265 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21266 <bp-checks.h>.
21267 (__getresuid): Do not use CHECK_1.
21268 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21269 <bp-checks.h>.
21270 (__lxstat): Do not use CHECK_1.
21271 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21272 <bp-checks.h>.
21273 (__old_msgctl): Do not use CHECK_1.
21274 (__new_msgctl): Likewise.
21275 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21276 <bp-checks.h>.
21277 (__new_setrlimit): Do not use CHECK_1.
21278 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21279 <bp-checks.h>.
21280 (__old_shmctl): Do not use CHECK_1.
21281 (__new_shmctl): Likewise.
21282 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21283 <bp-checks.h>.
21284 (__xstat): Do not use CHECK_1.
21285 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21286 (__lxstat): Do not use CHECK_1.
21287 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21288 <bp-checks.h>.
21289 (___lxstat64): Do not use CHECK_1.
21290 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21291 (__old_msgctl): Do not use CHECK_1.
21292 (__new_msgctl): Likewise.
21293 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21294 <bp-checks.h>.
21295 (__gettimeofday): Do not use CHECK_1.
21296 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21297 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21298 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21299 <bp-checks.h>.
21300 (__gettimeofday): Do not use CHECK_1.
21301 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21302 (__old_shmctl): Do not use CHECK_1_NULL_OK.
21303 (__new_shmctl): Do not use CHECK_1.
21304 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21305 <bp-checks.h>.
21306 (do_sigtimedwait): Do not use CHECK_1.
21307 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21308 <bp-checks.h>.
21309 (do_sigwaitinfo): Do not use CHECK_1.
21310 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21311 <bp-checks.h>.
21312 (msgctl): Do not use CHECK_1.
21313 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21314 <bp-checks.h>.
21315 (shmctl): Do not use CHECK_1.
21316 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21317 (ustat): Do not use CHECK_1.
21318 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21319 <bp-checks.h>.
21320 (__fxstat): Do not use CHECK_1.
21321 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21322 <bp-checks.h>.
21323 (__fxstatat): Do not use CHECK_1.
21324 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21325 <bp-checks.h>.
21326 (__lxstat): Do not use CHECK_1.
21327 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21328 <bp-checks.h>.
21329 (__xstat): Do not use CHECK_1.
21330 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21331 (__xstat): Do not use CHECK_1.
21332 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21333 (___xstat64): Do not use CHECK_1.
21334
b2c9eff4
JM
21335 [BZ #13550]
21336 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21337 definitions.
21338 (CHECK_BOUNDS_HIGH): Likewise.
21339 * string/strcpy.c: Do not include <bp-checks.h>.
21340 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21341
f1d70dad
RM
213422013-02-07 Roland McGrath <roland@hack.frob.com>
21343
21344 * nscd/nscd-client.h (__nscd_drop_map_ref):
21345 Add __attribute__ ((unused)).
21346 * nis/nss-nisplus.h (niserr2nss): Likewise.
21347
21348 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21349 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21350
21351 * csu/libc-tls.c (init_static_tls, init_slotinfo):
21352 Remove inline keyword.
21353 * include/rounding-mode.h (round_away): Likewise.
21354 * libio/wfileops.c (adjust_wide_data): Likewise.
21355 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21356 (__m128i_strloadu_tolower): Likewise.
21357 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21358 (__m128i_strloadu_tolower): Likewise.
21359 * time/mktime.c (ydhms_diff): Likewise.
21360 * locale/elem-hash.h (elem_hash): Likewise.
21361 * locale/setlocale.c (setdata): Likewise.
21362 * posix/regex_internal.h (re_string_char_size_at): Likewise.
21363 (re_string_wchar_at): Likewise.
21364 (bitset_not, bitset_merge, bitset_mask): Likewise.
21365 [!(__GNUC__ > 3)] (inline): Remove macro.
21366 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21367 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21368 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21369 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21370 * string/memcmp.c (memcmp_bytes): Likewise.
21371 * locale/programs/locarchive.c (compute_hashval): Likewise.
21372 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21373 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21374 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21375 * nss/getent.c (print_rpc, print_protocols): Likewise.
21376 (print_passwd, print_group, print_aliases): Likewise.
21377 * nis/nss-nisplus.h (niserr2nss): Likewise.
21378 * nscd/connections.c (restart_p): Likewise.
21379 Change return type to bool.
21380
eab55bfb
RM
213812013-02-05 Roland McGrath <roland@hack.frob.com>
21382
7bd642f5
RM
21383 * Makeconfig (all-Depend-files): Add existing
21384 $(sorted-subdirs:=/Depend) files.
21385 (all-subdirs): Remove nss.
21386 * sysdeps/unix/inet/Subdirs: Add it here instead.
21387 * hesiod/Depend: New file.
21388
573c29b2
RM
21389 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21390 instead of calling alloca.
21391
b2e25af0
RM
21392 * io/lseek.c (__lseek): Rename to __libc_lseek.
21393 Define __lseek as an alias.
21394
eab55bfb
RM
21395 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21396
9a0d1941
CD
213972013-02-04 Carlos O'Donell <carlos@redhat.com>
21398
21399 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21400 else clause and remove check for non-standard endianness.
21401
b83bbec4
DM
214022013-02-04 David S. Miller <davem@davemloft.net>
21403
21404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21405
6277fdab
JM
214062013-02-04 Joseph Myers <joseph@codesourcery.com>
21407
21408 [BZ #13550]
21409 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21410 (__ubp_memchr): Remove prototype.
21411 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21412 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21413 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21414 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21415 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21416 Remove alias.
21417 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21418 (__ubp_memchr): Likewise.
21419 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21420 (__ubp_memchr): Likewise.
21421 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21422 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21423 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21424 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21425 CHECK_STRING.
21426 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21427 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21428 (__getcwd): Do not use CHECK_STRING.
21429 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21430 <bp-checks.h>.
21431 (__real_chown): Do not use CHECK_STRING.
21432 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21433 <bp-checks.h>.
21434 (fchownat): Do not use CHECK_STRING.
21435 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21436 CHECK_STRING.
21437 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21438 <bp-checks.h>.
21439 (__lchown): Do not use CHECK_STRING.
21440 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21441 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21442 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21443 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21445 include <bp-checks.h>.
21446 (truncate64): Do not use CHECK_STRING.
21447 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21448 <bp-checks.h>.
21449 (__real_chown): Do not use CHECK_STRING.
21450 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21451 <bp-checks.h>.
21452 (__lchown): Do not use CHECK_STRING.
21453 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21454 <bp-checks.h>.
21455 (__chown): Do not use CHECK_STRING.
21456 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
21457 <bp-checks.h>.
21458 (truncate64): Do not use CHECK_STRING.
21459 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
21460 Likewise.
21461 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
21462 (__xmknod): Do not use CHECK_STRING.
21463 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
21464 <bp-checks.h>.
21465 (__xmknodat): Do not use CHECK_STRING.
21466 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21467 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21468
903ae060
AS
214692013-02-04 Andreas Schwab <schwab@suse.de>
21470
21471 [BZ #14142]
21472 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
21473 * include/netdb.h: Likewise for h_errno.
21474 * elf/tst-stackguard1.c: Include <tls.h>.
21475
542f9466
JK
214762013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
21477
21478 * elf/link.h (struct link_map): Extend the l_addr comment.
21479 * include/link.h (struct link_map): Likewise.
21480
e782a927
JM
214812013-02-01 Joseph Myers <joseph@codesourcery.com>
21482
21483 [BZ #13550]
21484 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
21485 (BOUNDED_1): Remove macro.
21486 * debug/backtrace.c: Don't include <bp-checks.h>.
21487 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
21488 (__backtrace): Likewise.
21489 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
21490 <bp-checks.h>.
21491 (__backtrace): Don't use BOUNDED_1.
21492 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
21493 <bp-checks.h>.
21494 (__backtrace): Don't use BOUNDED_1.
21495 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
21496 (__backtrace): Don't use BOUNDED_1.
21497 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
21498 (shmat): Don't use BOUNDED_N.
21499
8cf28c5e
JM
215002013-01-31 Joseph Myers <joseph@codesourcery.com>
21501
3a7ac8a0
JM
21502 [BZ #13550]
21503 * sysdeps/generic/bp-start.h: Remove file.
21504 * csu/libc-start.c: Don't include <bp-start.h>.
21505 (LIBC_START_MAIN): Set up __environ directly instead of using
21506 INIT_ARGV_and_ENVIRON.
21507 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
21508 <bp-start.h>.
21509
f3499f95
JM
21510 [BZ #13550]
21511 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
21512 definitions.
21513 (CHECK_FCNTL): Likewise.
21514 (CHECK_N_PAGES): Likewise.
21515
32a45bea
JM
21516 [BZ #13550]
21517 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
21518 definitions.
21519 (CHECK_SIGSET_NULL_OK): Likewise.
21520 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
21521 <bp-checks.h>.
21522 (sigpending): Don't use CHECK_SIGSET.
21523 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
21524 <bp-checks.h>.
21525 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21526 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
21527 <bp-checks.h>.
21528 (do_sigsuspend): Don't use CHECK_SIGSET.
21529 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
21530 use CHECK_SIGSET.
21531 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
21532 (do_sigwait): Don't use CHECK_SIGSET.
21533 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
21534 use CHECK_SIGSET.
21535 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
21536 include <bp-checks.h>.
21537 (sigpending): Don't use CHECK_SIGSET.
21538 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
21539 include <bp-checks.h>.
21540 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21541 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
21542 <bp-checks.h>.
21543 (sigpending): Don't use CHECK_SIGSET.
21544 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
21545 <bp-checks.h>.
21546 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21547
2e8a5c8c
JM
21548 [BZ #13550]
21549 * sysdeps/generic/bp-semctl.h: Remove file.
21550 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
21551 <bp-checks.h> and <bp-semctl.h>.
21552 (__old_semctl): Don't use CHECK_SEMCTL.
21553 (__new_semctl): Likewise.
21554 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
21555 and <bp-semctl.h>.
21556 (__old_semctl): Don't use CHECK_SEMCTL.
21557 (__new_semctl): Likewise.
21558 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
21559 <bp-checks.h> and <bp-semctl.h>.
21560 (__old_semctl): Don't use CHECK_SEMCTL.
21561 (__new_semctl): Likewise.
21562 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
21563 <bp-checks.h> and <bp-semctl.h>.
21564 (semctl): Don't use CHECK_SEMCTL.
21565
c2d54929
JM
21566 [BZ #13550]
21567 * Makerules (elide-bp-thunks): Remove variable.
21568 (elide-routines.oS): Don't use $(elide-bp-thunks).
21569 (elide-routines.os): Likewise.
21570 (elide-routines.o): Likewise.
21571 (elide-routines.op): Likewise.
21572 (elide-routines.og): Likewise.
21573 (objects): Don't use $(bp-thunks).
21574 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
21575 include.
21576 (common-generated): Do not add s-proto-bp.d.
21577 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
21578 (int): Likewise.
21579 (typ): Likewise.
21580 Do not generate makefile rules for bounded-pointer thunks.
21581 * sysdeps/generic/bp-thunks.h: Remove file.
21582 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
21583 * sysdeps/unix/s-proto-bp.S: Likewise.
21584
8cf28c5e
JM
21585 [BZ #15062]
21586 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
21587 parts of result separately when argument is not close to line from
21588 -i to i and one part of argument is small.
21589 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21590 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21591 * math/libm-test.inc (cacos_test): Add more tests.
21592 (casin_test): Likewise.
21593 (casinh_test): Likewise.
21594 * sysdeps/i386/fpu/libm-test-ulps: Update.
21595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21596
c4e33b8d
DM
215972013-01-31 David S. Miller <davem@davemloft.net>
21598
21599 * po/de.po: Update from translation team.
21600
3b60b421
MK
216012013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
21602
21603 * time/tzfile.c: Include stdint.h for SIZE_MAX.
21604
bb931195
TS
216052013-01-25 Thomas Schwinge <thomas@codesourcery.com>
21606
b5a5da23
TS
21607 * configure.in (_AC_PROG_CC_C89): New definition.
21608 * configure: Regenerate.
21609
bb931195
TS
21610 * configure.in (AC_PROG_CPP): New definition.
21611 * configure: Regenerate.
21612
8c53a12c
JM
216132013-01-23 Joseph Myers <joseph@codesourcery.com>
21614
21615 * debug/tst-backtrace.h: New file.
21616 * debug/tst-backtrace2.c: Include tst-backtrace.h.
21617 (ret): Remove variable.
21618 (x): Likewise.
21619 (FAIL): Remove macro.
21620 (NO_INLINE): Likewise.
21621 (fn1): Use match function instead of strstr.
21622 * debug/tst-backtrace3.c: Include tst-backtrace.h.
21623 (ret): Remove variable.
21624 (x): Likewise.
21625 (FAIL): Remove macro.
21626 (NO_INLINE): Likewise.
21627 (fn): Use match function instead of strstr.
21628 * debug/tst-backtrace4.c: Include tst-backtrace.h.
21629 (ret): Remove variable.
21630 (x): Likewise.
21631 (FAIL): Remove macro.
21632 (NO_INLINE): Likewise.
21633 (handle_signal): Use match function instead of strstr.
21634 * debug/tst-backtrace5.c: Include tst-backtrace.h.
21635 (ret): Remove variable.
21636 (x): Likewise.
21637 (FAIL): Remove macro.
21638 (NO_INLINE): Likewise.
21639 (handle_signal): Use match function instead of strstr.
21640
4858fa2a
RM
216412013-01-23 Roland McGrath <roland@hack.frob.com>
21642
21643 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
21644
bae8e7f5
DM
216452013-01-23 David S. Miller <davem@davemloft.net>
21646
21647 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
21648 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
21649 argument of CAS if possible.
21650 * sysdeps/sparc/sparc64/bits/atomic.h
21651 (__arch_compare_and_exchange_val_32_acq): Likewise.
21652 (__arch_compare_and_exchange_val_64_acq): Likewise.
21653
9cbbc4ae
PT
216542013-01-23 Pino Toscano <toscano.pino@tiscali.it>
21655
21656 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
21657 * sysdeps/posix/ulimit.c: ... this.
92a601b8 21658 Include <limits.h>.
67b3f58c 21659 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 21660
5655a0b5
AC
216612013-01-23 Adam Conrad <adconrad@0c3.net>
21662
21663 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
21664 (LDFLAGS-tst-array5): Likewise.
21665
052aff95
JM
216662013-01-23 Joseph Myers <joseph@codesourcery.com>
21667
21668 [BZ #15036]
21669 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
21670 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
21671 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
21672 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
21673
7c1e01aa
DM
216742013-01-21 David S. Miller <davem@davemloft.net>
21675
21676 * sysdeps/sparc/backtrace.c: New file.
21677 * sysdeps/sparc/sparc32/backtrace.h: New file.
21678 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
21679 * sysdeps/sparc/sparc64/backtrace.h: New file.
21680 * sysdeps/sparc/sparc64/backtrace.c: Delete.
21681 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
21682 -funwind-tables.
21683
ab087e0a
AS
216842013-01-21 Andreas Schwab <schwab@suse.de>
21685
21686 [BZ #15020]
21687 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
21688 closed its stdout.
21689
ed689c2f
AS
216902013-01-20 Andreas Schwab <schwab@linux-m68k.org>
21691
21692 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
21693 "mpa2.h".
21694 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21695
31d470ac
JM
216962013-01-18 Joseph Myers <joseph@codesourcery.com>
21697 Mark Mitchell <mark@codesourcery.com>
21698 Tom de Vries <tom@codesourcery.com>
21699 Paul Pluzhnikov <ppluzhnikov@google.com>
21700
21701 * debug/tst-backtrace2.c: New file.
21702 * debug/tst-backtrace3.c: Likewise.
21703 * debug/tst-backtrace4.c: Likewise.
21704 * debug/tst-backtrace5.c: Likewise.
21705 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
21706 (CFLAGS-tst-backtrace3.c): Likewise.
21707 (CFLAGS-tst-backtrace4.c): Likewise.
21708 (CFLAGS-tst-backtrace5.c): Likewise.
21709 (LDFLAGS-tst-backtrace2): Likewise.
21710 (LDFLAGS-tst-backtrace3): Likewise.
21711 (LDFLAGS-tst-backtrace4): Likewise.
21712 (LDFLAGS-tst-backtrace5): Likewise.
21713 (tests): Add new tests tst-backtrace2, tst-backtrace3,
21714 tst-backtrace4 and tst-backtrace5.
21715
90567f30 217162013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
21717 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21718
21719 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
21720 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
21721 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
21722 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
21723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21724 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
21725 "+r" and remove output regs list as redundant. Add explicit inline
21726 asm to specify register of return val to work around compiler codegen
21727 bug. Remove (int) cast on return value. Add return type parameter to
21728 use in macro so that this macro does not truncate return value for
21729 64-bit values.
21730 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
21731 pass to INTERNAL_VSYSCALL_NCS.
21732 (INLINE_VSYSCALL): Add 'long int' as return type to
21733 INTERNAL_VSYSCALL_NCS macro invocation.
21734 (INTERNAL_VSYSCALL): Add 'long int' as return type to
21735 INTERNAL_VSYSCALL_NCS macro invocation.
21736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21737
d3b9ea61
SP
217382013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21739
0b57daeb
SP
21740 [BZ #14496]
21741 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
21742 Fix application of SIMD FP exception mask.
21743
caa99d06
SP
21744 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
21745 mp_no from a power of two.
21746 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
21747 __mpexp_twomm1. Use __pow_mp.
21748
d3b9ea61
SP
21749 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
21750 multiplication.
21751
1dbaee3c
DM
217522013-01-17 David S. Miller <davem@davemloft.net>
21753
21754 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21755
728d7b43
JM
217562013-01-17 Joseph Myers <joseph@codesourcery.com>
21757
21758 [BZ #15023]
21759 * include/complex.h: Condition contents on [!_COMPLEX_H].
21760 (__kernel_casinhf): New prototype.
21761 (__kernel_casinh): Likewise.
21762 (__kernel_casinhl): Likewise.
21763 * math/Makefile (libm_calls): Add k_casinh.
21764 * math/k_casinh.c: New file.
21765 * math/k_casinhf.c: Likewise.
21766 * math/k_casinhl.c: Likewise.
21767 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
21768 finite nonzero arguments.
21769 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
21770 finite nonzero arguments.
21771 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
21772 finite nonzero arguments.
21773 * math/s_casinh.c: Do not include <float.h>.
21774 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
21775 * math/s_casinhf.c: Do not include <float.h>.
21776 (__casinhf): Move code for finite nonzero arguments to
21777 k_casinhf.c.
21778 * math/s_casinhl.c: Do not include <float.h>.
21779 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
21780 redefine.
21781 (__casinhl): Move code for finite nonzero arguments to
21782 k_casinhl.c.
21783 * math/libm-test.inc (cacos_test): Add more tests.
21784 * sysdeps/i386/fpu/libm-test-ulps: Update.
21785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21786
2a26ef3a
PT
217872013-01-17 Pino Toscano <toscano.pino@tiscali.it>
21788
21789 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
21790 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
21791 [!HAVE_MREMAP]: Remove [defined linux] case.
21792 * malloc/arena.c: Do not include <malloc-sysdep.h>.
21793
a897655d
SP
217942013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21795
21796 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
21797
881ebe89 217982013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
21799
21800 * elf/elf.h (R_386_SIZE32): New relocation.
21801 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
21802 R_386_SIZE32.
21803 (elf_machine_rela): Likewise.
21804 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21805 R_X86_64_SIZE64 and R_X86_64_SIZE32.
21806
59981e9b
JM
218072013-01-17 Joseph Myers <joseph@codesourcery.com>
21808
21809 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
21810 (FP_FAST_FMA): Do not define.
21811 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
21812 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
21813 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
21814 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
21815 !_SOFT_FLOAT]: Likewise.
21816 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
21817 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
21818 value.
21819 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
21820 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
21821 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
21822 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
21823 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
21824 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
21825 file.
21826
cfa8054f
AS
218272013-01-16 Andreas Schwab <schwab@suse.de>
21828
21829 [BZ #14327]
21830 * include/stdlib.h (__mktemp): Add declaration.
21831 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
21832 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
21833
dd930cc5
SP
218342013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21835
881ebe89
SP
21836 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
21837 definitions.
21838 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21839 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
21840 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
21841 definitions here.
21842 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
21843 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
21844 definitions.
21845 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
21846 and ONE.
21847 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
21848 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
21849 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
21850 definitions.
21851 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
21852 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
21853 definitions.
21854 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 21855
dd930cc5
SP
21856 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
21857
c19a9f89
DM
218582013-01-15 David S. Miller <davem@davemloft.net>
21859
1aa61767
DM
21860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21861 trunc{,f} to libm-sysdep_routes.
21862 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
21864 file.
21865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
21866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
21867 file.
21868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
21869 file.
21870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
21871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
21872 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
21873 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
21874 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
21875 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
21876 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
21877 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
21878
c42d5e98
DM
21879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21880 nearbyint{,f} to libm-sysdep_routes.
21881 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
21883 New file.
21884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
21885 file.
21886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
21887 New file.
21888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
21889 file.
21890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
21891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
21892 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
21893 file.
21894 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
21895 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
21896 file.
21897 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
21898 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
21899 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
21900
c19a9f89
DM
21901 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21902 libc_feholdexcept and libc_fesetenv.
21903
357679d2
MF
219042013-01-15 Mike Frysinger <vapier@gentoo.org>
21905
21906 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
21907
65a82e3d
DM
219082013-01-14 David S. Miller <davem@davemloft.net>
21909
8b954ab9
DM
21910 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
21911 (SPARC_ASM_VIS2_IFUNC): Likewise.
21912 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
21913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
21914 use of 'siam' instruction.
21915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
21916 Likewise.
21917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
21918 Likewise.
21919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
21920 Likewise.
21921 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
21922 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
21923 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
21924 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
21925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
21926 file.
21927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
21928 file.
21929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
21930 file.
21931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
21932 file.
21933 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
21934 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
21935 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
21936 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
21937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
21938 new VIS2 routines.
21939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21942 Likewise.
21943 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21944 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21945 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21946 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
21948 routines to libm-sysdep_routines.
21949 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21950
65a82e3d
DM
21951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21952 fdim/fdimf to libm-sysdep_routines.
21953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
21954 file.
21955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
21956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
21957 file.
21958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
21959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
21960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
21961 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
21962 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
21963 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
21964 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
21965
e34ab705
SP
219662013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21967
2a91b573
SP
21968 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
21969 to optimize copies.
21970
1066a534
SP
21971 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
21972 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21973 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21974
e34ab705
SP
21975 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
21976 local variable MPTWO.
21977 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21978 Likewise.
21979
aba5e596
MF
219802013-01-13 Mike Frysinger <vapier@gentoo.org>
21981
21982 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
21983 GLOB_NOESCAPE.
21984
e557e9e5
MF
219852013-01-13 Mike Frysinger <vapier@gentoo.org>
21986
21987 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
21988
0428cec9
MF
219892013-01-13 Mike Frysinger <vapier@gentoo.org>
21990
21991 * manual/pattern.texi (glob_t): Document gl_flags.
21992 (glob64_t): Likewise.
21993
8794a964
DM
219942013-01-11 David S. Miller <davem@davemloft.net>
21995
66438c3f
RM
21996 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
21997 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
21998 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
21999 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22000 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22001 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22002 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22003 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22004 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22005 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22006 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22007 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22008 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22009
4ae4244d
DM
22010 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22011 sparc V9 rather than using V8 code.
22012 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22013 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22014
8794a964
DM
22015 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22016 Move to...
22017 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22018 Here.
22019
6270516e
RM
220202013-01-11 Roland McGrath <roland@hack.frob.com>
22021
22022 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22023 not in the main loop.
22024 * configure: Regenerated.
22025
6a57d931
JM
220262013-01-11 Joseph Myers <joseph@codesourcery.com>
22027
22028 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22029 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22030 to just #else.
22031 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
22032 [!__GLIBC_HAVE_LONG_LONG] case.
22033 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22034 condition to just #else.
22035 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22036 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22037 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22038 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22039 unconditional.
22040 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22041 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22042 #elif condition to just #else.
22043 * sysdeps/unix/sysv/linux/sys/sysmacros.h
22044 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22045 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22046 #elif condition to just #else.
22047
0e8529e9
SE
220482013-01-11 Steve Ellcey <sellcey@mips.com>
22049
22050 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22051 (EF_MIPS_ARCH_64): Fix value.
22052 (EF_MIPS_ARCH_32R2): New.
22053 (EF_MIPS_ARCH_64R2): New.
22054
740b3dbe
L
220552013-01-11 H.J. Lu <hongjiu.lu@intel.com>
22056
22057 * Makeconfig (+link-pie-before-libc): New.
22058 (+link-pie-after-libc): Likewise.
22059 (+link-pie-tests): Likewise.
22060 (+link-pie): Rewritten.
22061 (link-before-libc): Remove $(config-LDFLAGS).
22062 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22063 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22064 (config-LDFLAGS): Renamed to ...
22065 (rtld-LDFLAGS): This.
22066 (rtld-tests-LDFLAGS): New macro.
22067 (link-libc-rpath-link): Likewise.
22068 (link-libc-tests-rpath-link): Likewise.
22069 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22070 (link-libc): Prepand $(link-libc-rpath-link).
22071 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22072 (test-program-prefix): New macro.
22073 (test-via-rtld-prefix): Likewise.
22074 (test-program-cmd): Likewise.
22075 (host-test-program-cmd): Likewise.
22076 * Makefile ($(common-objpfx)testrun.sh): Replace
22077 $(run-program-prefix) with $(test-program-prefix).
22078 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22079 $(rtld-LDFLAGS).
22080 ($(common-objpfx)shlib.lds): Likewise.
22081 (build-module-helper): Likewise.
22082 ($(common-objpfx)format.lds): Likewise.
22083 * Rules (binaries-pie-tests): New.
22084 (binaries-pie-notests): Likewise.
22085 (binaries-pie): Rewritten.
22086 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22087 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22088 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22089 (make-test-out): Replace $(host-built-program-cmd) with
22090 $(host-test-program-cmd).
22091 * config.make.in (build-hardcoded-path-in-tests): New variable.
22092 * configure.in (--enable-hardcoded-path-in-tests): New configure
22093 option.
22094 (hardcoded_path_in_tests): New AC_SUBST.
22095 * configure: Regenerated.
22096 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22097 $(built-program-cmd) with $(test-program-cmd).
22098 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22099 (test_program_cmd): This.
22100 * elf/Makefile ($(objpfx)order.out): Run test with
22101 $(test-program-prefix).
22102 ($(objpfx)order2.out): Likewise.
22103 ($(objpfx)tst-initorder.out): Likewise.
22104 ($(objpfx)tst-initorder2.out): Likewise.
22105 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22106 $(test-program-cmd).
22107 ($(objpfx)tst-array1-static.out): Likewise.
22108 ($(objpfx)tst-array2.out): Likewise.
22109 ($(objpfx)tst-array3.out): Likewise.
22110 ($(objpfx)tst-array4.out): Likewise.
22111 ($(objpfx)tst-array5.out): Likewise.
22112 ($(objpfx)tst-array5-static.out): Likewise.
22113 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22114 $(test-program-cmd).
22115 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22116 $(run-program-prefix) with $(test-program-prefix).
22117 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22118 (test_program_prefix): This.
22119 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22120 $(run-program-prefix) with $(test-program-prefix).
22121 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22122 (test_program_prefix): This.
22123 * iconvdata/tst-tables.sh: Likewise.
22124 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22125 $(run-program-prefix) with $(test-program-prefix).
22126 ($(objpfx)tst-translit.out): Likewise.
22127 ($(objpfx)tst-gettext2.out): Likewise.
22128 ($(objpfx)tst-gettext4.out): Likewise.
22129 ($(objpfx)tst-gettext6.out): Likewise.
22130 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22131 (test_program_prefix): This.
22132 * intl/tst-gettext2.sh: Likewise.
22133 * intl/tst-gettext4.sh Likewise.
22134 * intl/tst-gettext6.sh: Likewise.
22135 * intl/tst-translit.sh: Likewise.
22136 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22137 with $(test-program-cmd).
22138 * libio/Makefile ($(objpfx)test-freopen.out): Replace
22139 $(run-program-prefix) with $(test-program-prefix).
22140 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22141 (test_program_prefix): This.
22142 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22143 $(run-program-prefix) with $(test-program-prefix).
22144 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22145 (test_program_prefix): This.
22146 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22147 * posix/Makefile ($(objpfx)globtest.out): Replace
22148 $(run-via-rtld-prefix) and $(test-wrapper) with
22149 $(test-program-prefix) and $(test-via-rtld-prefix).
22150 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22151 $(test-program-prefix).
22152 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22153 $(host-test-program-cmd).
22154 (tst-spawn-ARGS): Likewise.
22155 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22156 $(test-program-prefix).
22157 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22158 (test_via_rtld_prefix): This.
22159 (test_wrapper): Renamed to ...
22160 (test_program_prefix): This.
22161 (run_program_prefix): Replaced by test_program_prefix.
22162 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22163 (test_program_prefix): This.
22164 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22165 with $(host-test-program-cmd).
22166 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22167 $(run-program-prefix) with $(test-program-prefix).
22168 ($(objpfx)tst-printf.out): Likewise.
22169 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22170 $(test-program-cmd).
22171 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22172 (test_program_prefix): This.
22173 * stdio-common/tst-unbputc.sh: Likewise.
22174 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22175 $(run-program-prefix) with $(test-program-prefix).
22176 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22177 (test_program_prefix): This.
22178 * string/Makefile ($(objpfx)tst-svc.out): Replace
22179 $(built-program-cmd) with $(test-program-cmd).
22180
c6fe55cf
AJ
221812013-01-11 Andreas Jaeger <aj@suse.de>
22182
22183 [BZ #15003]
22184 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22185 value. Sync with Linux 3.7.
22186
9e6919c8
DM
221872013-01-10 David S. Miller <davem@davemloft.net>
22188
22189 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22190 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22191 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22192
1c9f1a02
RM
221932013-01-10 Roland McGrath <roland@hack.frob.com>
22194
22195 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22196 never set.
22197 * configure: Regenerated.
22198
b9de2dde
DM
221992013-01-10 David S. Miller <davem@davemloft.net>
22200
22201 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22202 sparc V9 rather than using V8 code.
22203 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22204 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22205
e7f68ef4
RM
222062013-01-10 Roland McGrath <roland@hack.frob.com>
22207
22208 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22209 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22210 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22211 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22212 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22213 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22214 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22215 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22216 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22217 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22218 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22219 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22220 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22221 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22222 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22223 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22224 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22225 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22226 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22227 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22228 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22229 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22230 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22231 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22232 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22233 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22234 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22235
5a47cc9c
DM
222362013-01-10 David S. Miller <davem@davemloft.net>
22237
22238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22239
4cf8f209
L
222402013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22241
22242 * posix/Makefile (tests-static): New variable.
22243 (tests): Add $(tests-static).
22244 (tst-exec-static-ARGS): New variable.
22245 (tst-spawn-static-ARGS): Likewise.
22246 * posix/tst-exec-static.c: New file.
22247 * posix/tst-spawn-static.c: Likewise.
22248 * posix/tst-exec.c: Support run directly.
22249 * posix/tst-spawn.c: Likewise.
22250
fed0faa1
JM
222512013-01-10 Joseph Myers <joseph@codesourcery.com>
22252
828beb13
JM
22253 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22254 long.
22255 * math/bits/mathcalls.h (llrint): Likewise.
22256 (llround): Likewise.
22257 * stdlib/stdlib.h (struct drand48_data): Likewise.
22258 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22259 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22260 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22261 Likewise.
22262 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22263 Likewise.
22264 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22265 (elf_greg_t): Likewise.
22266 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22267 (__jmp_buf): Likewise.
22268 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22269 definitions.
22270 (llrint): Likewise, for all definitions.
22271 (llrintl): Likewise.
22272
fed0faa1
JM
22273 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22274 Remove [__GNUC__] condition.
22275 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22276 condition to just [__USE_ISOC99].
22277 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22278
1a20cb20
L
222792013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22280
22281 [BZ #14200]
22282 * sysdeps/unix/sysv/linux/x86/bits/environments.h
22283 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22284 defined.
22285 (_POSIX_V6_ILP32_OFF32): Likewise.
22286 (_XBS5_ILP32_OFF32): Likewise.
22287 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22288 (__ILP32_OFFBIG_LDFLAGS): Likewise.
22289
751b85f7
SP
222902013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22291
7490eb81
SP
22292 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22293
751b85f7
SP
22294 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22295 doubles __mpexp_twomm1. Adjust usage.
22296 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22297 Remove.
22298
988197f0
AS
222992013-01-10 Andreas Schwab <schwab@suse.de>
22300
22301 [BZ #14964]
22302 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22303 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22304
e83d7298
DM
223052013-01-09 David S. Miller <davem@davemloft.net>
22306
034ed64b 22307 [BZ #15003]
57f41c40
AS
22308 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22309 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22310 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22311 (TCP_FASTOPEN): Define.
e83d7298
DM
22312 (tcp_repair_opt): New structure.
22313 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22314 enum values.
57f41c40
AS
22315 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22316 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22317 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
22318 (tcp_cookie_transactions): New structure.
22319
d5e0b9bd
AB
223202013-01-09 Anton Blanchard <anton@samba.org>
22321
22322 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22323 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22324 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22325 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22326
0c07e3ea
JM
223272013-01-09 Joseph Myers <joseph@codesourcery.com>
22328
22329 * include/features.h (__USE_ANSI): Remove.
22330
232f7002
RM
223312013-01-09 Roland McGrath <roland@hack.frob.com>
22332
ad98e30c
RM
22333 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22334
232f7002
RM
22335 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22336
950c99ca
SP
223372013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
22338
b5792741
SP
22339 * sysdeps/s390/fpu/libm-test-ulps: Update.
22340
47cf2278
SP
22341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22342
950c99ca
SP
22343 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22344 (__acr): Likewise.
22345 (__cpy): Likewise.
22346 (norm): Likewise.
22347 (denorm): Likewise.
22348 (__mp_dbl): Likewise.
22349 (__dbl_mp): Likewise.
22350 (add_magnitudes): Likewise.
22351 (sub_magnitudes): Likewise.
22352 (__add): Likewise.
22353 (__sub): Likewise.
22354 (__mul): Likewise.
22355 (__inv): Likewise.
22356 (__dvd): Likewise.
22357 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22358 (__acr): Likewise.
22359 (__cpy): Likewise.
22360 (norm): Likewise.
22361 (denorm): Likewise.
22362 (__mp_dbl): Likewise.
22363 (__dbl_mp): Likewise.
22364 (add_magnitudes): Likewise.
22365 (sub_magnitudes): Likewise.
22366 (__add): Likewise.
22367 (__sub): Likewise.
22368 (__mul): Likewise.
22369 (__inv): Likewise.
22370 (__dvd): Likewise.
22371 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22372 (__acr): Likewise.
22373 (__cpy): Likewise.
22374 (norm): Likewise.
22375 (denorm): Likewise.
22376 (__mp_dbl): Likewise.
22377 (__dbl_mp): Likewise.
22378 (add_magnitudes): Likewise.
22379 (sub_magnitudes): Likewise.
22380 (__add): Likewise.
22381 (__sub): Likewise.
22382 (__mul): Likewise.
22383 (__inv): Likewise.
22384 (__dvd): Likewise.
22385
eede9df9
JM
223862013-01-08 Joseph Myers <joseph@codesourcery.com>
22387
22388 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22389 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22390 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22391 2 && __USE_EXTERN_INLINES]: Likewise.
22392
c40ea3d9
AJ
223932013-01-08 Andreas Jaeger <aj@suse.de>
22394
22395 [BZ# 14985]
22396 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22397 Remove.
22398 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22399 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22400
2ccdea26
AB
224012013-01-07 Anton Blanchard <anton@samba.org>
22402
22403 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22404 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22405 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22406 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22407 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22408 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22409 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22410 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22411 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22412 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22413 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22414 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22415 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22416 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22417 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22418 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22419 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22420 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22421 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22422 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22423 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22424 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22425 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22426 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22427 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22428 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22429 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22430 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22431 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22432 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22433 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22434 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22435 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22436 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22437 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22438 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22439 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22440 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22441 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
22442 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22443 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
22444 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22445 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22446
a9708fed
JM
224472013-01-07 Joseph Myers <joseph@codesourcery.com>
22448
375607b9
JM
22449 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
22450 (__MALLOC_PMT): Likewise.
22451 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
22452 [__GNUC__], only on [_LIBC].
22453 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22454 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
22455 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22456 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
22457 forward declaration.
22458 (realloc_hook_ini): Likewise.
22459 (memalign_hook_ini): Likewise.
22460 (__libc_memalign): Do not use __MALLOC_PMT in variable
22461 declaration.
22462 (__libc_valloc): Likewise.
22463 (__libc_pvalloc): Likewise.
22464 (__libc_calloc): Likewise.
22465 (__posix_memalign): Likewise.
22466
a9708fed
JM
22467 [BZ #14996]
22468 * math/s_casinh.c: Include <float.h>.
22469 (__casinh): Do not do computation with squaring and square root
22470 for large arguments.
22471 * math/s_casinhf.c: Include <float.h>.
22472 (__casinhf): Do not do computation with squaring and square root
22473 for large arguments.
22474 * math/s_casinhl.c: Include <float.h>.
22475 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
22476 (__casinhl): Do not do computation with squaring and square root
22477 for large arguments.
22478 * math/libm-test.inc (casin_test): Add more tests.
22479 (casinh_test): Likewise.
22480 * sysdeps/i386/fpu/libm-test-ulps: Update.
22481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22482
afec409a
L
224832013-01-04 H.J. Lu <hongjiu.lu@intel.com>
22484
22485 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
22486 (__x86_64_raw_data_cache_size): Likewise.
22487 (__x86_64_data_cache_size_half): Likewise.
22488 (__x86_64_raw_data_cache_size_half): Likewise.
22489 (__x86_64_shared_cache_size): Likewise.
22490 (__x86_64_raw_shared_cache_size): Likewise.
22491 (__x86_64_shared_cache_size_half): Likewise.
22492 (__x86_64_raw_shared_cache_size_half): Likewise.
22493 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
22494 to ...
22495 (__x86_data_cache_size): This.
22496 (__x86_64_raw_data_cache_size): Renamed to ...
22497 (__x86_raw_data_cache_size): This.
22498 (__x86_64_data_cache_size_half): Renamed to ...
22499 (__x86_data_cache_size_half): This.
22500 (__x86_64_raw_data_cache_size_half): Renamed to ...
22501 (__x86_raw_data_cache_size_half): This.
22502 (__x86_64_shared_cache_size): Renamed to ...
22503 (__x86_shared_cache_size): This.
22504 (__x86_64_raw_shared_cache_size): Renamed to ...
22505 (__x86_raw_shared_cache_size): This.
22506 (__x86_64_shared_cache_size_half): Renamed to ...
22507 (__x86_shared_cache_size_half): This.
22508 (__x86_64_raw_shared_cache_size_half): Renamed to ...
22509 (__x86_raw_shared_cache_size_half): This.
22510 * sysdeps/x86_64/memcpy.S: Updated.
22511 * sysdeps/x86_64/memset.S: Likewise.
22512 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22513 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22514 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22515
0b3986d0
DM
225162013-01-04 David S. Miller <davem@davemloft.net>
22517
22518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22519
e47686e9
AS
225202013-01-04 Andreas Schwab <schwab@linux-m68k.org>
22521
d643bac1
AS
22522 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
22523 1 to avoid redefinition warning.
22524 (__USE_GNU): Don't define.
22525 (init_signaling_nan): Protoize.
22526
e47686e9
AS
22527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22528
b18decba
SP
225292013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22530
fffb407f
SP
22531 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
22532 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
22533 (__cpymn): Likewise.
22534 (norm): Remove commented code.
22535 (denorm): Likewise.
22536 (__mp_dbl): Likewise.
22537 (__inv): Likewise.
22538 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
22539 (__cpymn): Likewise.
22540 (norm): Remove commented code.
22541 (denorm): Likewise.
22542 (__mp_dbl): Likewise.
22543 (__inv): Likewise.
22544
b18decba
SP
22545 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
22546 mp_no value for 1.0 and 2.0.
22547 (norm): Use RADIXI instead of radixi.d.
22548 (denorm): Likewise.
22549 (__mul): Use 0.0 instead of zero.d.
22550 * sysdeps/powerpc/powerpc64/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
cdc1c96f
JM
225562013-01-04 Joseph Myers <joseph@codesourcery.com>
22557
22558 [BZ #14994]
22559 * math/s_casinh.c (__casinh): Reduce finite argument to first
22560 quadrant then set signs of results at the end.
22561 * math/s_casinhf.c (__casinhf): Likewise.
22562 * math/s_casinhl.c (__casinhl): Likewise.
22563 * math/libm-test.inc (casin_test): Add more tests.
22564 (casinh_test): Likewise.
22565 * sysdeps/i386/fpu/libm-test-ulps: Update.
22566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22567
302913e1
SP
225682013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22569
6420d207
SP
22570 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
22571
a9e48ab4
SP
22572 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
22573
b7837264
SP
22574 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
22575 declarations.
22576 (denorm): Likewise.
22577 (__mp_dbl): Likewise.
22578 (__inv): Likewise.
22579
f8af25d2
SP
22580 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
22581 and adjust the header comment.
22582
302913e1
SP
22583 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
22584 variable name from declaration.
22585
5d7dd1ca
L
225862013-01-03 H.J. Lu <hongjiu.lu@intel.com>
22587
22588 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22589 Initialize COMMON_CPUID_INDEX_7 element.
22590 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
22591 (CPUID_RTM): Likewise.
22592 (HAS_RTM): Likewise.
22593 (COMMON_CPUID_INDEX_7): New enum.
22594
2f5f40f4
AS
225952013-01-03 Andreas Schwab <schwab@linux-m68k.org>
22596
22597 [BZ #14981]
22598 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
22599 size is zero, record memory as freed.
22600
4056f4a0
AJ
226012013-01-03 Andreas Jaeger <aj@suse.de>
22602
22603 * po/ia.po: Add new Interlingua translation.
22604
ab15736f 226052012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
22606
22607 * locale/programs/localedef.c: Fix description of '--posix' flag.
22608
568035b7
JM
226092013-01-02 Joseph Myers <joseph@codesourcery.com>
22610
e6898b8d
JM
22611 * NEWS: Update dates in second copyright notice.
22612 * README: Update copyright dates in example.
22613 * manual/libc.texinfo: Update copyright dates.
22614 * scripts/test-installation.pl: Update copyright date in --version
22615 output.
22616
0e2f9562
JM
22617 * hurd/ctty-input.c: Fix copyright notice formatting.
22618 * hurd/ctty-output.c: Likewise.
22619 * hurd/dtable.c: Likewise.
22620 * hurd/hurd-raise.c: Likewise.
22621 * hurd/hurdprio.c: Likewise.
22622 * hurd/msgportdemux.c: Likewise.
22623 * misc/sys/file.h: Likewise.
22624 * misc/sys/ioctl.h: Likewise.
22625 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22626 * sysdeps/mach/hurd/chdir.c: Likewise.
22627 * sysdeps/mach/hurd/fchdir.c: Likewise.
22628 * sysdeps/mach/hurd/rename.c: Likewise.
22629 * sysdeps/mach/hurd/rmdir.c: Likewise.
22630 * sysdeps/mach/hurd/seekdir.c: Likewise.
22631 * sysdeps/mach/hurd/setsid.c: Likewise.
22632 * sysdeps/posix/wait3.c: Likewise.
22633
568035b7
JM
22634 * All files with FSF copyright notices: Update copyright dates
22635 using scripts/update-copyrights.
22636 * intl/plural.c: Regenerated.
22637 * locale/programs/charmap-kw.h: Likewise.
22638 * locale/programs/locfile-kw.h: Likewise.
22639
da08f647
SP
226402013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22641
0f5477af
SP
22642 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
22643 four values.
22644
44e0d4c2
SP
22645 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
22646 calculation loop and add branch prediction.
22647
4d55b4e5
SP
22648 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
22649 check access beyond bounds of m1np.
22650
da08f647
SP
22651 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22652 MPTWO.
22653 (__inv): Remove local variable MPTWO to use the global
22654 constant.
22655 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
22656 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22657 variable MPTWO.
22658 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
22659 MP3HALFS static const.
22660
8e051029
DM
226612013-01-01 David S. Miller <davem@davemloft.net>
22662
22663 * po/ca.po: Update from translation team.
22664
f4cf5f2d
JM
226652013-01-01 Joseph Myers <joseph@codesourcery.com>
22666
22667 * scripts/update-copyrights: New file.
22668 * Makeconfig: Reformat copyright notice.
22669 * ctype/ctype.h: Likewise.
22670 * debug/swprintf_chk.c: Likewise.
22671 * elf/dl-cache.c: Likewise.
22672 * elf/dl-debug.c: Likewise.
22673 * elf/dl-object.c: Likewise.
22674 * grp/initgroups.c: Likewise.
22675 * hurd/Makefile: Likewise.
22676 * hurd/hurd/signal.h: Likewise.
22677 * hurd/hurdfault.c: Likewise.
22678 * hurd/hurdioctl.c: Likewise.
22679 * hurd/hurdlookup.c: Likewise.
22680 * hurd/intr-msg.c: Likewise.
22681 * iconv/gconv_open.c: Likewise.
22682 * libio/swprintf.c: Likewise.
22683 * locale/lc-ctype.c: Likewise.
22684 * locale/nl_langinfo.c: Likewise.
22685 * mach/Machrules: Likewise.
22686 * mach/Makefile: Likewise.
22687 * malloc/obstack.h: Likewise.
22688 * manual/Makefile: Likewise.
22689 * manual/tsort.awk: Likewise.
22690 * misc/bits/stab.def: Likewise.
22691 * nis/nis_print_group_entry.c: Likewise.
22692 * nis/nis_table.c: Likewise.
22693 * nis/nss_compat/compat-pwd.c: Likewise.
22694 * nis/nss_compat/compat-spwd.c: Likewise.
22695 * po/Makefile: Likewise.
22696 * posix/fnmatch.c: Likewise.
22697 * posix/regex.h: Likewise.
22698 * resolv/Makefile: Likewise.
22699 * resolv/nss_dns/dns-network.c: Likewise.
22700 * resolv/res_hconf.c: Likewise.
22701 * scripts/gen-sorted.awk: Likewise.
22702 * soft-fp/soft-fp.h: Likewise.
22703 * stdio-common/printf.h: Likewise.
22704 * stdlib/monetary.h: Likewise.
22705 * stdlib/random.c: Likewise.
22706 * stdlib/random_r.c: Likewise.
22707 * sysdeps/generic/Makefile: Likewise.
22708 * sysdeps/gnu/Makefile: Likewise.
22709 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22710 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22711 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22712 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22713 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22714 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22715 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22716 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22717 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22718 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22719 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22720 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22721 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22722 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22723 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
22724 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22725 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22726 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22727 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22728 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22729 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22730 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22731 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22732 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22733 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
22734 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22735 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22736 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
22737 * sysdeps/mach/hurd/errnos.awk: Likewise.
22738 * sysdeps/mach/hurd/fork.c: Likewise.
22739 * sysdeps/mach/hurd/getcwd.c: Likewise.
22740 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
22741 * sysdeps/mach/hurd/mmap.c: Likewise.
22742 * sysdeps/mach/hurd/utimes.c: Likewise.
22743 * sysdeps/mach/hurd/xmknod.c: Likewise.
22744 * sysdeps/posix/profil.c: Likewise.
22745 * sysdeps/posix/readdir_r.c: Likewise.
22746 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22747 * sysdeps/powerpc/bits/setjmp.h: Likewise.
22748 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
22749 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22750 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22751 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22752 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22753 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22754 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22755 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22756 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22757 * sysdeps/pthread/lio_listio.c: Likewise.
22758 * sysdeps/sparc/dl-procinfo.h: Likewise.
22759 * sysdeps/unix/i386/sysdep.S: Likewise.
22760 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
22761 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
22762 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
22763 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
22764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22765 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22766 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22767 * sysdeps/unix/sysv/linux/speed.c: Likewise.
22768 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22769 * sysdeps/wordsize-32/divdi3.c: Likewise.
22770 * time/sys/time.h: Likewise.
22771 * wcsmbs/Makefile: Likewise.
22772
0549fbba
DM
227732013-01-01 David S. Miller <davem@davemloft.net>
22774
a141f1a7
DM
22775 * po/fr.po: Update from translation team.
22776
0549fbba
DM
22777 * catgets/gencat.c: Update copyright year.
22778 * csu/version.c: Likewise.
22779 * debug/catchsegv.sh: Likewise.
22780 * debug/pcprofiledump.c: Likewise.
22781 * debug/xtrace.sh: Likewise.
22782 * elf/ldconfig.c: Likewise.
22783 * elf/ldd.bash.in: Likewise.
22784 * elf/pldd.c: Likewise.
22785 * elf/sotruss.ksh: Likewise.
22786 * elf/sprof.c: Likewise.
22787 * iconv/iconv_prog.c: Likewise.
22788 * iconv/iconvconfig.c: Likewise.
22789 * locale/programs/locale.c: Likewise.
22790 * locale/programs/localedef.c: Likewise.
22791 * login/programs/pt_chown.c: Likewise.
22792 * malloc/memusage.sh: Likewise.
22793 * malloc/memusagestat.c: Likewise.
22794 * malloc/mtrace.pl: Likewise.
22795 * nscd/nscd.c: Likewise.
22796 * nss/getent.c: Likewise.
22797 * nss/makedb.c: Likewise.
22798 * posix/getconf.c: Likewise.
22799
18ea052c
SP
228002012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22801
22802 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
22803 numbers.
22804
9c89fca6
MF
228052012-12-30 Mike Frysinger <vapier@gentoo.org>
22806
22807 * math/bits/mathcalls.h (modf): Use __nonnull.
22808
085ec079
SP
228092012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22810
22811 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
22812 (split): Use macro CN instead of the bare value.
22813 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
22814 could be used.
22815 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
22816 instead of the bare value.
22817 (power1): Likewise.
22818
6d9f97e1
SP
228192012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22820
d63f73be
SP
22821 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
22822 __ATAN_TWOM.
22823 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22824
6d9f97e1
SP
22825 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
22826 their values.
22827 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22828 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22829 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
22830 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22831
4c4febf5
AJ
228322012-12-28 Andreas Jaeger <aj@suse.de>
22833
af5843ef
AJ
22834 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
22835 values are from Linux 3.7.
22836
4c4febf5
AJ
22837 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
22838 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
22839
99136f82
SP
228402012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22841
2f216c3c 22842 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
22843 TRUE case.
22844
99136f82
SP
22845 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
22846 (norm): Likewise.
22847 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
22848 variables with preprocessor constants.
22849 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22850 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22851 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22852
7fffbdff
BH
228532012-12-27 Bruno Haible <bruno@clisp.org>
22854
22855 [BZ #14317]
22856 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
22857 only if needed.
22858
b76eb5f0
SP
228592012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22860
31a7fe5c
SP
22861 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
22862 and use variable directly.
22863 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
22864
b76eb5f0
SP
22865 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22866 MPONE.
22867 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
22868 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22869 variable MPONE.
22870 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22871 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22872 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
22873 include directive. Remove local variable MPONE.
22874 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
22875 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
22876 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22877
2c8bfe7d
DM
228782012-12-25 David S. Miller <davem@davemloft.net>
22879
22880 * version.h (RELEASE): Set to "development".
22881 (VERSION): Set to "2.17.90".
22882 * NEWS: Add 2.18 section.
22883
147d03b0
DM
228842012-12-21 David S. Miller <davem@davemloft.net>
22885
22886 * po/hr.po: Update from translation team.
22887
a8ebb2b9
AK
228882012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22889
22890 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
22891
95b4f1b6
SE
228922012-12-19 Steve Ellcey <sellcey@mips.com>
22893
b2d94007 22894 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 22895
cedb2a90
MS
228962012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22897
22898 * manual/contrib.texi (Contributors): Spelling correction.
22899
bbf527d6
DM
229002012-12-15 David S. Miller <davem@davemloft.net>
22901
22902 * po/ru.po: Update from translation team.
22903
bc38c906
DM
229042012-12-13 David S. Miller <davem@davemloft.net>
22905
85429b1a
DM
22906 * NEWS: Mention IFUNC testsuite enhancements.
22907
d283e353
DM
22908 * po/pl.po: Update from translation team.
22909 * po/bg.po: Likewise.
22910
bc38c906
DM
22911 * manual/contrib.texi (Contributors): Update entries for Hongjiu
22912 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
22913
a181b0d7
DM
229142012-12-11 David S. Miller <davem@davemloft.net>
22915
4641d57e
DM
22916 * po/sv.po: Update from translation team.
22917
f7bc6495
DM
22918 * po/vi.po: Update from translation team.
22919
6fc9048f
DM
22920 * po/cs.po: Update from translation team.
22921
a181b0d7
DM
22922 * po/de.po: Update from translation team.
22923 * po/eo.po: Likewise.
22924 * po/nl.po: Likewise.
22925
f70bfe80
SP
229262012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22927
3c8b4190
SP
22928 [BZ #14246]
22929 * manual/argp.texi (Argp Helper Functions): Move node to follow
22930 Argp Parsing State.
22931
f70bfe80
SP
22932 [BZ #14872]
22933 * manual/conf.texi (Limits on File System Capacity): Mention if
22934 terminating null is included in the max size.
22935
188f0adf
AJ
229362012-12-10 Andreas Jaeger <aj@suse.de>
22937
22938 * po/cs.po: Update from translation team.
22939
56e7d3ad
SP
229402012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22941
22942 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
22943 void pointer and cast to uintptr_t.
22944 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
22945 path.
22946 * sysdeps/s390/s390-64/memcpy.S: Likewise.
22947 * sysdeps/s390/s390-64/memset.S: Likewise.
22948
76f2d2ea 229492012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
22950
22951 [BZ #14833]
22952 * menual/message.texi (Message Translation): Fix typos.
22953 (Helper programs for gettext): Likewise.
22954
67cbf9a2
AS
229552012-12-07 Andreas Schwab <schwab@linux-m68k.org>
22956
22957 [BZ #14898]
22958 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
22959 Change to -1.
22960
682d0e9a
DM
229612012-12-07 David S. Miller <davem@davemloft.net>
22962
22963 * po/libc.pot: Update.
22964
573cd484
RH
229652012-12-07 Richard Henderson <rth@redhat.com>
22966
7e9da188 22967 [BZ #10114]
573cd484
RH
22968 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
22969 normal/normal case to before the switch.
22970 (_FP_DIV): Likewise.
22971
e933a943
MF
229722012-12-06 Carlos O'Donell <carlos@systemhalted.org>
22973 Mike Frysinger <vapier@gentoo.org>
22974
22975 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
22976 check for __NR_fadvise64_64.
22977
82123268
CM
229782012-12-06 Chris Metcalf <cmetcalf@tilera.com>
22979
22980 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
22981 0, not just to plain "0" as a statement.
22982 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
22983 with cw.
22984
d9814526
JM
229852012-12-06 Joseph Myers <joseph@codesourcery.com>
22986
22987 * NEWS: Use sourceware.org in Bugzilla URL.
22988
7728c574
SP
229892012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22990
f16946dd
SP
22991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22992 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22993
5704bbcb
SP
22994 * stdio-common/tst-put-error.c (do_test): Add newline to the
22995 padded test to ensure flush.
22996
17aa0516
JL
229972012-12-05 Jeff Law <law@redhat.com>
22998
22999 * sunrpc/etc.rpc (fedfs_admin): Add entry.
23000
363313b5
JM
230012012-12-05 Joseph Myers <joseph@codesourcery.com>
23002
effbd42a
JM
23003 * README: Don't refer to ports add-on as distributed separately.
23004 Mention AArch64 in list of systems supported in the ports add-on.
23005
87600365
JM
23006 * LICENSES: Add more non-FSF copyright and license notices.
23007
a0d7066a
JM
23008 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23009 ((unused)).
23010
66ca5a5b
JM
23011 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23012
363313b5
JM
23013 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23014 10000 as width of padded output.
23015
b37984ad
JM
230162012-12-04 Joseph Myers <joseph@codesourcery.com>
23017
9003570a
JM
23018 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23019
b37984ad
JM
23020 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23021 variable LX with __attribute__ ((unused)).
23022 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23023 Likewise.
23024 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23025 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23026 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23027 with __attribute__ ((unused)).
23028
c8df52ec
DM
230292012-12-04 David S. Miller <davem@abraco.davemloft.net>
23030
23031 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23032
b3b099af
JM
230332012-12-04 Joseph Myers <joseph@codesourcery.com>
23034
c33aa6e3
JM
23035 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23036 (CFLAGS-nldbl-acos.c): New variable.
23037 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23038 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23039 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23040 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23041 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23042 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23043 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23044 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23045 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23046 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23047 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23048 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23049 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23050 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23051 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23052 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23053 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23054 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23055 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23056 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23057 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23058 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23059 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23060 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23061 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23062 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23063 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23064 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23065 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23066 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23067 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23068 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23069 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23070 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23071 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23072 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23073 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23074 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23075 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23076 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23077 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23078 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23079 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23080 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23081 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23082 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23083 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23084 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23085 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23086 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23087 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23088 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23089 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23090 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23091 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23092 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23093 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23094 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23095 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23096 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23097 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23098 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23099 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23100 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23101 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23102 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23103 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23104 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23105 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23106 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23107 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23108 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23109 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23110 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23111 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23112 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23113 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23114 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23115 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23116 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23117 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23118 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23119 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23120 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23121 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23122 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23123 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23124 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23125 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23126 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23127 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23128 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23129 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23130 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23131 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23132 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23133 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23134
20f0018d
JM
23135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23136 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23137
b3b099af
JM
23138 [BZ #14914]
23139 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23140 whole low double instead of just low 47 bits when splitting values
23141 into two parts.
23142
029264d1
AM
231432012-12-03 Allan McRae <allan@archlinux.org>
23144
23145 * manual/stdio.texi (Predefined Printf Handlers): Remove
23146 @hsep and @vsep usage.
23147
c9d6789e
MF
231482012-12-03 Mike Frysinger <vapier@gentoo.org>
23149
23150 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23151 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23152
4b7634a5
JL
231532012-12-03 Jeff Law <law@redhat.com>
23154
23155 * time/sys/time.h (settimeofday): Do not mark TV argument
23156 as __nonnull.
23157
eb6cbd24
MF
231582012-12-01 Mike Frysinger <vapier@gentoo.org>
23159
23160 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23161 when currently writing and seek to current position when not.
23162 * libio/Makefile (tests): Remove bug-fclose1.
23163 * libio/bug-fclose1.c: Delete.
23164
f638872a
JM
231652012-12-01 Joseph Myers <joseph@codesourcery.com>
23166
23167 * manual/arith.texi (feenableexcept): Fix typo.
23168 (fedisableexcept): Likewise.
23169
48085d14
RM
231702012-11-30 Roland McGrath <roland@hack.frob.com>
23171
23172 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23173 second, differently-typed declaration, rather than a cast.
23174
1a538b9f
SP
231752012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23176
23177 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23178 * include/rpc/svc.h: ... here.
23179
d07f2ff1 231802012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
23181
23182 [BZ #13013]
23183 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23184 depending n and resplen2 to catch cases where answer
23185 equals answerp2.
23186
c93ec1f0
CD
231872012-11-29 Carlos O'Donell <carlos@systemhalted.org>
23188
23189 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23190 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23191
37db69de
MF
231922012-11-29 Mike Frysinger <vapier@gentoo.org>
23193
23194 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23195
e10c4e4f
RM
231962012-11-29 Roland McGrath <roland@hack.frob.com>
23197
23198 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23199
2af1b328
JL
232002012-11-28 Jeff Law <law@redhat.com>
23201
23202 [BZ #13761]
23203 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23204 dataset_temporary. Track alloca usage into alloca_used.
23205 If dataset is large allocate and release it via malloc/free.
23206
111db5b1
FW
232072012-06-04 Florian Weimer <fweimer@redhat.com>
23208
f06cc227 23209 [BZ #14197]
111db5b1
FW
23210 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23211
dd694abd
DM
232122012-11-28 David S. Miller <davem@davemloft.net>
23213
23214 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23215
9984dd01
JM
232162012-11-28 Joseph Myers <joseph@codesourcery.com>
23217
23218 [BZ #14803]
23219 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23220 of pi/2 rounded to nearest to 64 bits.
23221 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23222 nearest to 64 bits.
23223 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23224 bits.
23225
14bc93a9
JL
232262012-11-28 Jeff Law <law@redhat.com>
23227 Martin Osvald <mosvald@redhat.com>
23228
23229 [BZ #14889]
23230 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23231 * sunrpc/svc.c: Include time.h.
23232 (__svc_accept_failed): New function.
23233 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23234 any reason other than EINTR, call __svc_accept_failed.
23235 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23236 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23237
e3c6aa3a
AS
232382012-11-28 Andreas Schwab <schwab@suse.de>
23239
23240 * scripts/abilist.awk: Also handle indirect functions in .opd
23241 section.
23242
1bead169
JM
232432012-11-28 Joseph Myers <joseph@codesourcery.com>
23244
23245 [BZ #13881]
23246 * sysdeps/x86/fpu/powl_helper.c: New file.
23247 * sysdeps/x86/fpu/Makefile: Likewise.
23248 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23249 (p3): New object.
23250 (__ieee754_powl): Use __powl_helper for finite arguments except
23251 integer exponents below 8.
23252 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23253 (p3): New object.
23254 (__ieee754_powl): Use __powl_helper for finite arguments except
23255 integer exponents below 8.
23256 * math/libm-test.inc (pow_test): Add more tests and enable some
23257 previously disabled tests.
23258 * sysdeps/i386/fpu/libm-test-ulps: Update.
23259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23260
0817d63d
SP
232612012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23262 Carlos O'Donell <carlos_odonell@mentor.com>
23263
23264 * nss/makedb.c (is_prime): Assert that input is odd and greater
23265 than 4. Note that fact in a comment too.
23266 (next_prime): Add 4 to input.
23267
de2fd463
SP
232682012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23269
23270 [BZ #11741]
23271 * libio/Makefile (tests): Add test case tst-fwrite-error.
23272 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23273 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23274 * libio/tst-fwrite-error.c: New test case.
23275
c515fb51
L
232762012-11-26 H.J. Lu <hongjiu.lu@intel.com>
23277
23278 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23279 before casting to void *.
23280 * include/libc-internal.h (__pointer_type): New macro.
23281 (__integer_if_pointer_type_sub): Likewise.
23282 (__integer_if_pointer_type): Likewise.
23283 (cast_to_integer): Likewise.
23284 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23285 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23286 before casting to atomic64_t.
23287 (atomic_exchange_acq): Likewise.
23288 (__arch_exchange_and_add_body): Likewise.
23289 (__arch_add_body): Likewise.
23290 (atomic_add_negative): Likewise.
23291 (atomic_add_zero): Likewise.
23292
4cf77aa9
JM
232932012-11-26 Joseph Myers <joseph@codesourcery.com>
23294
23295 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23296 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23297 (add_fdes): Likewise.
23298 (linear_search_fdes): Likewise.
23299 (binary_search_unencoded_fdes): Likewise.
23300
d260b3b4
AS
233012012-11-26 Andreas Schwab <schwab@linux-m68k.org>
23302
23303 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23304
67060746
AC
233052012-11-24 Adam Conrad <adconrad@0c3.net>
23306
23307 * configure.in: Autodetect C++ header directories.
23308 * configure: Regenerated.
23309
800938a1
MF
233102012-11-23 Mike Frysinger <vapier@gentoo.org>
23311
23312 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23313
4e6e34e6
AS
233142012-11-23 Andreas Schwab <schwab@linux-m68k.org>
23315
23316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23317
7c7feb47
JM
233182012-11-22 Joseph Myers <joseph@codesourcery.com>
23319
7184dcdf
JM
23320 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23321 LDBL_MANT_DIG == 106]: Disable some tests.
23322 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23323 Likewise.
23324 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23325 Likewise.
23326
0a42601f
JM
23327 [BZ #14871]
23328 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23329 input for small inputs. Return +/- pi/2 for large inputs.
23330 * math/libm-test.inc (atan_test): Add more tests.
23331
79c9b9fe
JM
23332 * sysdeps/generic/unwind-dw2-fde-glibc.c
23333 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23334 __attribute__ ((unused)).
23335
c60d3bf2
JM
23336 [BZ #14645]
23337 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23338 x * y if x and y are nonzero and z is zero.
23339
ef1e0867
JM
23340 [BZ #14811]
23341 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23342 nonzero exponents with absolute value below 0x1p-117 to +/-
23343 0x1p-117.
23344
1468ded3
JM
23345 [BZ #14869]
23346 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23347 up arguments below 2**-450, not just those below 2**-500.
23348 * math/libm-test.inc (hypot_test): Add another test.
23349
8e27e3cc
JM
23350 [BZ #14868]
23351 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23352 Return a+b for ratio over 2**120, not 2**60.
23353 * math/libm-test.inc (hypot_test): Add another test.
23354
c9c0279b
JM
23355 * math/libm-test.inc (clog_test): Use
23356 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23357 (clog10_test): Likewise.
23358
7c7feb47
JM
23359 [BZ #6778]
23360 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23361
fff1530e
AS
233622012-11-22 Andreas Schwab <schwab@suse.de>
23363
23364 * sysdeps/i386/fpu/libm-test-ulps: Update.
23365
94558d30
PT
233662012-11-22 Pino Toscano <toscano.pino@tiscali.it>
23367
23368 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23369 printf output with newline.
23370
7e1be741
L
233712012-11-21 H.J. Lu <hongjiu.lu@intel.com>
23372
6bfea974
L
23373 [BZ #14865]
23374 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23375 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23376 -z nodlopen, -z initfirst and -z execstack support.
23377 * configure: Regenerated.
23378
7e1be741
L
23379 * elf/elf.h (DF_1_NODIRECT): New macro.
23380 (DF_1_IGNMULDEF): Likewise.
23381 (DF_1_NOKSYMS): Likewise.
23382 (DF_1_NOHDR): Likewise.
23383 (DF_1_EDITED): Likewise.
23384 (DF_1_NORELOC): Likewise.
23385 (DF_1_SYMINTPOSE): Likewise.
23386 (DF_1_GLOBAUDIT): Likewise.
23387 (DF_1_SINGLETON): Likewise.
23388 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23389 DT_1_SUPPORTED_MASK bits.
23390 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23391
105ce2ce
CD
233922012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
23393
23394 * sysdeps/unix/make-syscalls.sh: Document prefixes.
23395
123be9de
TS
233962012-11-20 Thomas Schwinge <thomas@codesourcery.com>
23397
d072f3f7
TS
23398 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23399 macro.
23400
123be9de
TS
23401 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23402 (sendmmsg): Move declarations...
23403 * socket/sys/socket.h: ... here.
23404 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23405 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23406 include it from...
23407 * socket/recvmmsg.c: ... this new file.
23408 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23409 (sendmmsg): Rename to __sendmmsg, create weak alias and make
23410 definition of __sendmmsg hidden.
23411 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23412 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23413 Move ENOSYS stub into and include it from...
23414 * socket/sendmmsg.c: ... this new file.
23415 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23416 (sysdep_routines): Move recvmmsg and sendmmsg...
23417 * socket/Makefile (routines): ... here.
23418 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23419 (GLIBC_PRIVATE): Add __sendmmsg.
23420 * include/sys/socket.h (__sendmmsg): Add declarations.
23421 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23422 sendmmsg.
23423
cf9a5d18
JM
234242012-11-20 Joseph Myers <joseph@codesourcery.com>
23425
23426 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23427 variable I1 with __attribute__ ((unused)).
23428 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23429
ecd4caf9
JM
234302012-11-19 Joseph Myers <joseph@codesourcery.com>
23431
be14d48f
JM
23432 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23433 DUMMY variables with __attribute__ ((unused)).
23434
ecd4caf9
JM
23435 * bits/byteswap.h: Include <bits/types.h>.
23436 (__bswap_64): Use __uint64_t instead of unsigned long long int.
23437
986cab95
PT
234382012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23439
23440 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
23441 string_t. Do not manually set errno.
23442 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
23443 length with __strnlen. Make sure to both set errno and return it on
23444 failure.
23445
6d33cc9d
DM
234462012-11-19 David S. Miller <davem@davemloft.net>
23447
23448 With help from Joseph Myers.
23449 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
23450 very large arguments properly.
23451 * math/libm-test.inc (atan_test): New tests.
23452 (atan2_test): New tests.
23453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23454 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23455
ee663277
JM
234562012-11-19 Joseph Myers <joseph@codesourcery.com>
23457
877f2d8e
JM
23458 [BZ #14856]
23459 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
23460 Define to 3.
23461
116fc08a
JM
23462 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
23463 [POSIX] (EADDRNOTAVAIL): Likewise.
23464 [POSIX] (EAFNOSUPPORT): Likewise.
23465 [POSIX] (EALREADY): Likewise.
23466 [POSIX] (ECONNABORTED): Likewise.
23467 [POSIX] (ECONNREFUSED): Likewise.
23468 [POSIX] (ECONNRESET): Likewise.
23469 [POSIX] (EDESTADDRREQ): Likewise.
23470 [POSIX] (EDQUOT): Likewise.
23471 [POSIX] (EHOSTUNREACH): Likewise.
23472 [POSIX] (EIDRM): Likewise.
23473 [POSIX] (EISCONN): Likewise.
23474 [POSIX] (ELOOP): Likewise.
23475 [POSIX] (EMULTIHOP): Likewise.
23476 [POSIX] (ENETDOWN): Likewise.
23477 [POSIX] (ENETUNREACH): Likewise.
23478 [POSIX] (ENOBUFS): Likewise.
23479 [POSIX] (ENODATA): Likewise.
23480 [POSIX] (ENOLINK): Likewise.
23481 [POSIX] (ENOMSG): Likewise.
23482 [POSIX] (ENOPROTOOPT): Likewise.
23483 [POSIX] (ENOSR): Likewise.
23484 [POSIX] (ENOSTR): Likewise.
23485 [POSIX] (ENOTCONN): Likewise.
23486 [POSIX] (ENOTSOCK): Likewise.
23487 [POSIX] (EOPNOTSUPP): Likewise.
23488 [POSIX] (EOVERFLOW): Likewise.
23489 [POSIX] (EPROTO): Likewise.
23490 [POSIX] (EPROTONOSUPPORT): Likewise.
23491 [POSIX] (EPROTOTYPE): Likewise.
23492 [POSIX] (ESTALE): Likewise.
23493 [POSIX] (ETIME): Likewise.
23494 [POSIX] (ETXTBSY): Likewise.
23495 [POSIX] (EWOULDBLOCK): Likewise.
23496 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
23497 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
23498 [POSIX] (SEEK_CUR): Likewise.
23499 [POSIX] (SEEK_END): Likewise.
23500 [POSIX || UNIX98] (mode_t): Do not require.
23501 [POSIX] (off_t): Likewise.
23502 [POSIX] (pid_t): Likewise.
23503 [POSIX] (sys/stat.h): Do not allow header.
23504 [POSIX] (unistd.h): Likewise.
23505 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
23506 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
23507 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
23508 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
23509 require.
23510 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
23511 sigevent): Specify elements.
23512 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
23513 entry.
23514 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
23515 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
23516
a483863f
JM
23517 * conform/data/cpio.h-data [POSIX]: Disable whole file.
23518 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
23519 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
23520 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
23521 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
23522 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
23523 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
23524 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
23525 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
23526 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
23527 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
23528 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
23529 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
23530 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
23531 Likewise.
23532 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
23533 Likewise.
23534 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
23535 Likewise.
23536 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
23537 Likewise.
23538 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
23539 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
23540 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
23541 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
23542 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
23543 Specify lower bound on value.
23544 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
23545 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
23546 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
23547 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
23548 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
23549 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
23550 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
23551 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
23552 value.
23553 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
23554 as optional.
23555 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
23556 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
23557 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
23558 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
23559 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
23560 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
23561 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
23562 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
23563 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
23564 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
23565 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
23566 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
23567 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
23568 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
23569 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
23570 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
23571 entry.
23572 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
23573 optional.
23574 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
23575 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
23576 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
23577 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
23578 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
23579 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
23580 Likewise.
23581 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
23582 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
23583 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
23584 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
23585 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
23586 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
23587 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
23588 as optional.
23589 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
23590 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
23591 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
23592 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
23593 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
23594 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
23595 specify as optional.
23596 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
23597 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
23598 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
23599 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
23600 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
23601 [XPG3] (NL_LANGMAX): Likewise.
23602 [POSIX || XPG3] (NL_MSGMAX): Likewise.
23603 [POSIX || XPG3] (NL_NMAX): Likewise.
23604 [POSIX || XPG3] (NL_SETMAX): Likewise.
23605 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
23606 [XPG3] (NZERO): Likewise.
23607 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
23608 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
23609 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
23610 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
23611 (REG_ERANGE): Expect.
23612 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
23613 optional-constant.
23614 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
23615 Use (void) in prototype.
23616 [POSIX] (*_t): Allow.
23617 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
23618 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
23619 (WRDE_BADVAL): Expect.
23620
5ba924e3
JM
23621 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
23622 expect.
23623 [XPG3 || XPG4] (O_RSYNC): Likewise.
23624 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
23625 Likewise.
23626 [XPG3 || XPG4] (pthread_sigmask): Likewise.
23627 [XPG3 || XPG4] (sigqueue): Likewise.
23628 [XPG3 || XPG4] (sigtimedwait): Likewise.
23629 [XPG3 || XPG4] (sigwaitinfo): Likewise.
23630 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
23631 [XPG3 || XPG4] (vsnprintf): Likewise.
23632 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
23633 Likewise.
23634 [XPG3 || XPG4] (blksize_t): Likewise.
23635 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
23636 Likewise.
23637 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
23638 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23639 [XPG3 || XPG4] (struct itimerspec): Likewise.
23640 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
23641 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
23642 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
23643 [XPG3 || XPG4] (clockid_t): Likewise.
23644 [XPG3 || XPG4] (timer_t): Likewise.
23645 [XPG3 || XPG4] (clock_getres): Likewise.
23646 [XPG3 || XPG4] (clock_gettime): Likewise.
23647 [XPG3 || XPG4] (clock_settime): Likewise.
23648 [XPG3 || XPG4] (nanosleep): Likewise.
23649 [XPG3 || XPG4] (timer_create): Likewise.
23650 [XPG3 || XPG4] (timer_delete): Likewise.
23651 [XPG3 || XPG4] (timer_gettime): Likewise.
23652 [XPG3 || XPG4] (timer_getoverrun): Likewise.
23653 [XPG3 || XPG4] (timer_settime): Likewise.
23654 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
23655 [XPG3 || XPG4] (getlogin_r): Likewise.
23656 [XPG3 || XPG4] (pread): Likewise.
23657 [XPG3 || XPG4] (pthread_atfork): Likewise.
23658 [XPG3 || XPG4] (pwrite): Likewise.
23659
ee663277
JM
23660 [BZ #14835]
23661 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
23662 <bits/siginfo.h>.
23663
942caa16
PT
236642012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23665
e19af380
PT
23666 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
23667 finalizing MALLSTREAM.
23668
942caa16
PT
23669 * sysdeps/mach/hurd/syncfs.c: New file.
23670
cfde9b46
SP
236712012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23672
23673 [BZ #14719]
23674 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
23675 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
23676 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
23677 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
23678 (_nss_dns_gethostbyname4_r): Likewise.
23679 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
23680 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
23681
f6da27e5
PH
236822012-11-19 Peng Haitao <penght@cn.fujitsu.com>
23683
23684 [BZ #13763]
23685 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
23686
6665d4a2
SM
236872012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
23688
1f51ee92
SM
23689 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
23690 * elf/cache.c (print_entry): Print ",AArch64" for
23691 FLAG_AARCH64_LIB64
23692
6665d4a2
SM
23693 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
23694 * elf/cache.c (print_entry): Print ",hard-float" for
23695 FLAG_ARM_LIBHF.
23696
05b227bd
DM
236972012-11-18 David S. Miller <davem@davemloft.net>
23698
23699 With help from Joseph Myers.
23700 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
23701 cutoff to 2**-13.
23702 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
23703 cutoff to 2**-25.
23704 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
23705 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
23706 small.
23707 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
23708 * math/libm-test.inc (y0_test): New tests.
23709 (y1_test): New tests.
23710 * sysdeps/i386/fpu/libm-test-ulps: Update.
23711 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23713
786b0b67
AS
237142012-11-18 Andreas Schwab <schwab@linux-m68k.org>
23715
23716 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
23717 64-bit targets.
23718 * configure: Regenerated.
23719
8e18b86d
DM
237202012-11-17 David S. Miller <davem@davemloft.net>
23721
23722 [BZ #14811]
23723 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
23724 nonzero exponents with absolute value below 0x1p-128 to +/-
23725 0x1p-128.
23726
531f1ae0
JM
237272012-11-17 Joseph Myers <joseph@codesourcery.com>
23728
12df29e2
JM
23729 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
23730
150dc1a0
JM
23731 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
23732
531f1ae0
JM
23733 * posix/getconf-speclist.c: New file.
23734 * posix/posix-envs.def: Likewise.
23735 * posix/confstr.c (START_ENV_GROUP): New macro.
23736 (END_ENV_GROUP): Likewise.
23737 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23738 (KNOWN_PRESENT_ENV_STRING): Likewise.
23739 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23740 (UNKNOWN_ENVIRONMENT): Likewise.
23741 (confstr): Include posix-envs.def instead of handling
23742 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
23743 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
23744 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
23745 (END_ENV_GROUP): Likewise.
23746 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23747 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23748 (UNKNOWN_ENVIRONMENT): Likewise.
23749 (__sysconf): Include posix-envs.def instead of handling associated
23750 cases directly here.
23751 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
23752 preprocessing getconf-speclist.c rather than running getconf or
23753 generating empty file.
23754
a93f9cbc
PT
237552012-11-16 Pino Toscano <toscano.pino@tiscali.it>
23756
23757 * scripts/check-local-headers.sh: Ignore 'mach' headers.
23758
d64d9f87
AL
237592012-11-16 Andrej Lajovic <natrij@gmail.com>
23760
23761 [BZ #14672]
23762 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
23763
447885eb
DM
237642012-11-16 David S. Miller <davem@davemloft.net>
23765
23766 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
23767 smaller than LDBL_EPSILON/2.0L, just return xm1.
23768
bcbf9830
L
237692012-11-16 H.J. Lu <hongjiu.lu@intel.com>
23770
23771 * elf/tst-array1.c (init): Set constructor priority to 1000.
23772 (fini): Set destructor priority to 1000.
23773 * elf/tst-array2dep.c: Likewise.
23774
2b766585
SP
237752012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23776
23777 [BZ #11741]
23778 * libio/fileops.c (_IO_new_file_write): Correctly return error.
23779 (_IO_new_file_xsputn): Also return EOF if none of the input
23780 data was written when overflow failed.
23781 * libio/iopadn.c (_IO_padn): Likewise.
23782 * libio/iowpadn.c (_IO_wpadn): Likewise.
23783 * stdio-common/tst-put-error.c: Add copyright notice.
23784 (do_test): Add case for printing padded string.
23785 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
23786 _IO_padn returned error.
23787 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
23788 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
23789 return EOF.
23790
b1848fde
SP
237912012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23792
23793 * libio/libioP.h: Add comment note that the references to C++
23794 bits are now obsolete.
23795
2fd89785
MS
237962012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23797
23798 * math/libm-test.inc (check_complex): Use asprintf.
23799
e3ea5409
JM
238002012-11-14 Joseph Myers <joseph@codesourcery.com>
23801
23802 * debug/pcprofiledump.c (print_version): Update copyright year.
23803 * malloc/memusagestat.c (print_version): Likewise.
23804
2e64d265
L
238052012-11-14 H.J. Lu <hongjiu.lu@intel.com>
23806
23807 [BZ #14831]
23808 * elf/Makefile (tests): Add tst-audit8.
23809 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
23810 ($(objpfx)tst-audit8.out): New target.
23811 (tst-audit8-ENV): New variable.
23812 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
23813 audit if l_reloc_result is NULL.
23814 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
23815 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
23816 * elf/tst-audit8.c: New file.
23817
c485e4d2
MS
238182012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23819
23820 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
23821 * misc/Makefile (CFLAGS-select.c): Define.
23822 * posix/Makefile (CFLAGS-pause.c): Define.
23823
3a0d900a
DM
238242012-11-13 David S. Miller <davem@davemloft.net>
23825
23826 * crypt/Makefile: Move test targets after toplevel Rules
23827 inclusion. Grab any necessary sysdep routines when linking.
23828 * crypt/md5.c (md5_process_block): Remove define, we will always
23829 name it __md5_process_block.
23830 (md5_finish_ctx): Update md5_process_block call.
23831 (md5_stream): Likewise.
23832 (md5_process_bytes): Likewise.
23833 (md5_process_block): Rename to __md5_process_block and move to ...
23834 * crypt/md5-block.c: ... here.
23835 * crypt/sha256.c (sha256_process_block): Move to ...
23836 * crypt/sha256-block.c: ... here.
23837 * crypt/sha512.c (sha512_process_block): Move to ...
23838 * crypt/sha512-block.c: ... here.
23839 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
23840 path.
23841 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
23842 * sysdeps/sparc/sparc64/multiarch/Makefile
23843 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
23844 crypt subdir.
23845 (localedef-aux): Add md5 crypto assembler when in locale subdir.
23846 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
23847 multiarch changes.
23848 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
23849 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
23850 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
23851 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
23852 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
23853 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
23854 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
23855 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
23856 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
23857 file.
23858 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
23859 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
23860 file.
23861 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
23862
8ca89318
JM
238632012-11-13 Joseph Myers <joseph@codesourcery.com>
23864
e27d476a
JM
23865 * timezone/tzselect.ksh: Update from tzcode git revision
23866 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
23867 * timezone/zdump.c: Likewise.
23868 * timezone/zic.c: Likewise.
23869 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
23870 in TZVERSION setting, not $(PKGVERSION).
23871 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
23872 REPORT_BUGS_TO settings.
23873
8ca89318
JM
23874 [BZ #14838]
23875 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
23876 macro.
23877
47594329
MS
238782012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23879
23880 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
23881 detection to immediately after _FP_ROUND().
23882 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
23883 bits are 0.
23884
640ac3f1
DM
238852012-11-11 David S. Miller <davem@davemloft.net>
23886
23887 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
23888 inttypes.h
23889 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
23890 __close rather than their public counterparts.
23891
3d2577bb
JM
238922012-11-10 Joseph Myers <joseph@codesourcery.com>
23893
23894 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
23895 file.
23896 [UNIX98] (sem_timedwait): Do not expect.
23897 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
23898 [XPG4 || UNIX98] (sockatmark): Do not expect.
23899 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
23900 (clock_getcpuclockid): Do not expect.
23901 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
23902 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
23903 Do not expect.
23904 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
23905 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
23906 [UNIX98] (vwscanf): Likewise.
23907 [UNIX98] (vswscanf): Likewise.
23908
fb1ae1ee
JM
239092012-11-09 Joseph Myers <joseph@codesourcery.com>
23910
9ec6f8bd
JM
23911 * timezone/version.h: Remove file.
23912 * timezone/README: Do not refer to version.h.
23913 * timezone/Makefile ($(objpfx)zic.o): New dependency on
23914 $(objpfx)version.h.
23915 ($(objpfx)zdump.o): Likewise.
c3f81911 23916 ($(objpfx)version.h): New target.
9ec6f8bd 23917
0aa8f8a1
JM
23918 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
23919 2012i.
23920 * timezone/README: Don't mention modification to tzselect.ksh.
23921 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
23922 work on unmodified tzselect.ksh. Substitute version numbers in
23923 tzselect.ksh.
23924
4e87147f
JM
23925 * Makefile (format-me): Remove.
23926 (INSTALL): Adjust indentation. Use commands directly instead of
23927 using $(format-me).
23928
8b748aed
JM
23929 * aclocal.m4 (ACX_PKGVERSION): New macro.
23930 (ACX_BUGURL): Likewise.
23931 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
23932 (PKGVERSION): New AC_DEFINE_UNQUOTED.
23933 (REPORT_BUGS_TO): Likewise.
23934 * configure: Regenerated.
23935 * config.h.in (PKGVERSION): New macro.
23936 (REPORT_BUGS_TO): Likewise.
23937 * config.make.in (PKGVERSION): New variable.
23938 (PKGVERSION_TEXI): Likewise.
23939 (REPORT_BUGS_TO): Likewise.
23940 (REPORT_BUGS_TEXI): Likewise.
23941 * Makefile (format-me): Use -I$(common-objpfx)manual.
23942 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
23943 ($(common-objpfx)manual/%): New target.
23944 (manual/%): Remove target.
23945 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
23946 (print_version): Use PKGVERSION.
23947 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
23948 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
23949 and REPORT_BUGS_TO.
23950 ($(objpfx)xtrace): Likewise.
23951 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
23952 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
23953 (print_version): Use PKGVERSION.
23954 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
23955 (do_version): Use PKGVERSION.
23956 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
23957 REPORT_BUGS_TO.
23958 (common-ldd-rewrite): Likewise.
23959 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
23960 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
23961 (print_version): Use PKGVERSION.
23962 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
23963 * elf/pldd.c (argp_program_bug_address): Remove variable.
23964 (more_help): New function.
23965 (argp): Use more_help.
23966 (print_version): Use PKGVERSION.
23967 * elf/sln.c (main): Use PKGVERSION.
23968 (usage): Use REPORT_BUGS_TO.
23969 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
23970 (top level): Use PKGVERSION.
23971 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
23972 (print_version): Use PKGVERSION.
23973 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
23974 (print_version): Use PKGVERSION.
23975 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
23976 (print_version): Use PKGVERSION.
23977 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
23978 (print_version): Use PKGVERSION.
23979 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
23980 (print_version): Use PKGVERSION.
23981 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
23982 (print_version): Use PKGVERSION.
23983 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
23984 and BUGURL.
23985 ($(objpfx)memusage): Likewise.
23986 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
23987 (do_version): Use PKGVERSION.
23988 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
23989 (print_version): Use PKGVERSION.
23990 * malloc/mtrace.pl ($PACKAGE): Remove variable.
23991 ($PKGVERSION): New variable.
23992 ($REPORT_BUGS_TO): Likewise.
23993 (usage): Use $REPORT_BUGS_TO.
23994 (top level): Use $PKGVERSION.
23995 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
23996 ($(objpfx)pkgvers.texi): New rule.
23997 ($(objpfx)stamp-pkgvers): Likewise.
23998 * manual/install.texi: Include pkgvers.texi.
23999 (--with-pkgversion): Document new configure option.
24000 (--with-bugurl): Likewise.
24001 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24002 than necessarily for this particular distribution. Use
24003 REPORT_BUGS_TO for where to report bugs.
24004 * INSTALL: Regenerated.
24005 * manual/libc.texinfo: Include pkgvers.texi.
24006 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24007 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24008 (print_version): Use PKGVERSION.
24009 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24010 (print_version): Use PKGVERSION.
24011 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24012 (print_version): Use PKGVERSION.
24013 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24014 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24015 macro.
24016 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24017 (print_version): Use PKGVERSION.
24018 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24019 (print_version): Use PKGVERSION.
24020 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24021 and PKGVERSION.
24022
92e4b6a9
JM
24023 * timezone/checktab.awk: Update from tzcode 2012i.
24024 * timezone/ialloc.c: Likewise.
24025 * timezone/private.h: Likewise.
24026 * timezone/scheck.c: Likewise.
24027 * timezone/tzfile.h: Likewise.
24028 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24029 (TZVERSION): Hardcode tzcode version number.
24030 * timezone/zdump.c: Update from tzcode 2012i.
24031 * timezone/zic.c: Likewise.
24032 * timezone/version.h: New file.
24033 * timezone/README: Describe version.h. Update upstream location.
24034
9bde902c
JM
24035 [BZ #14824]
24036 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24037 (mktemp): Enable declaration.
24038 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24039 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24040 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24041 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24042 Likewise.
24043 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24044 Likewise.
24045 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24046 Likewise.
24047 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24048 Likewise.
24049 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24050 Likewise.
24051 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24052 Likewise.
24053
fb1ae1ee
JM
24054 [BZ #14821]
24055 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24056 offset in buffer as u_int32_t not u_long. Consistently use memcpy
24057 for copies of such integer values.
24058 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24059 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24060
2c1adbcb
AJ
240612012-11-09 Andreas Jaeger <aj@suse.de>
24062
24063 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24064 definitions and declarations that are provided by
24065 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24066
d0f8457e
AK
240672012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24068
3a235abb 24069 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
24070 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24071 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24072 definition.
24073
57241e26
MS
240742012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24075
24076 * elf/elf.h: Update comment before AArch64 relocations.
24077
60e8270d
DM
240782012-11-07 David S. Miller <davem@davemloft.net>
24079
24080 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24081 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24082 (__start_context): Declare.
24083 (__makecontext_ret): Delete.
24084 (__makecontext): Hook up __start_context instead of
24085 __makecontext_ret.
24086 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24087 (sysdep_routines): Add __start_context when in stdlib.
24088
0fbb0fbc
JM
240892012-11-07 Joseph Myers <joseph@codesourcery.com>
24090
24091 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24092 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24093 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
24094 hardcoded "nm".
24095 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
24096 (READELF): New variable. Use it instead of hardcoded "readelf".
24097
eb48db7e
L
240982012-11-07 H.J. Lu <hongjiu.lu@intel.com>
24099
24100 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24101 * sysdeps/x86/Makefile: Here.
24102 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24103 * sysdeps/x86/tst-xmmymm.sh: This.
24104
05bcf62a
JM
241052012-11-07 Joseph Myers <joseph@codesourcery.com>
24106
c4b6cf53
JM
24107 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24108 expectations.
24109 [UNIX98] (pthread_barrier_t): Do not expect.
24110 [UNIX98] (pthread_barrierattr_t): Likewise.
24111 [UNIX98] (pthread_spinlock_t): Likewise.
24112 [UNIX98] (pthread_barrier_destroy): Likewise.
24113 [UNIX98] (pthread_barrier_init): Likewise.
24114 [UNIX98] (pthread_barrier_wait): Likewise.
24115 [UNIX98] (pthread_barrierattr_destroy): Likewise.
24116 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24117 [UNIX98] (pthread_barrierattr_init): Likewise.
24118 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24119 [UNIX98] (pthread_getcpuclockid): Likewise.
24120 [UNIX98] (pthread_mutex_timedlock): Likewise.
24121 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24122 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24123 [UNIX98] (pthread_sigmask): Likewise.
24124 [UNIX98] (pthread_spin_destroy): Likewise.
24125 [UNIX98] (pthread_spin_init): Likewise.
24126 [UNIX98] (pthread_spin_lock): Likewise.
24127 [UNIX98] (pthread_spin_trylock): Likewise.
24128 [UNIX98] (pthread_spin_unlock): Likewise.
24129 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24130 Do not expect.
24131 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24132 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24133 [XPG3 || XPG4] (pthread_cond_t): Likewise.
24134 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24135 [XPG3 || XPG4] (pthread_key_t): Likewise.
24136 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24137 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24138 [XPG3 || XPG4] (pthread_once_t): Likewise.
24139 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24140 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24141 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24142 [XPG3 || XPG4] (pthread_t): Likewise.
24143
cbe6e120
JM
24144 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24145 not expect.
24146 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24147
1b126443
JM
24148 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24149 Change function return type to int.
24150
b961a573
JM
24151 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24152 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24153 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24154 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24155 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24156 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24157 [!POSIX] (posix_madvise): Likewise.
24158 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24159 && !UNIX98].
24160 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24161 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24162 (mode_t): Likewise.
24163 (posix_mem_offset): Likewise.
24164 (posix_typed_mem_get_info): Likewise.
24165 (posix_typed_mem_open): Likewise.
24166
9e188909
JM
24167 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24168 Change condition to [XOPEN2K8].
24169
05bcf62a
JM
24170 * conform/conformtest.pl: Preprocess allow-header data with -x c
24171 instead of from stdin.
24172 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24173 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24174 [C99-based standards] (cerfc): Likewise.
24175 [C99-based standards] (cexp2): Likewise.
24176 [C99-based standards] (cexpm1): Likewise.
24177 [C99-based standards] (clog10): Likewise.
24178 [C99-based standards] (clog1p): Likewise.
24179 [C99-based standards] (clog2): Likewise.
24180 [C99-based standards] (clgamma): Likewise.
24181 [C99-based standards] (ctgamma): Likewise.
24182 [C99-based standards] (cerff): Likewise.
24183 [C99-based standards] (cerfcf): Likewise.
24184 [C99-based standards] (cexp2f): Likewise.
24185 [C99-based standards] (cexpm1f): Likewise.
24186 [C99-based standards] (clog10f): Likewise.
24187 [C99-based standards] (clog1pf): Likewise.
24188 [C99-based standards] (clog2f): Likewise.
24189 [C99-based standards] (clgammaf): Likewise.
24190 [C99-based standards] (ctgammaf): Likewise.
24191 [C99-based standards] (cerfl): Likewise.
24192 [C99-based standards] (cerfcl): Likewise.
24193 [C99-based standards] (cexp2l): Likewise.
24194 [C99-based standards] (cexpm1l): Likewise.
24195 [C99-based standards] (clog10l): Likewise.
24196 [C99-based standards] (clog1pl): Likewise.
24197 [C99-based standards] (clog2l): Likewise.
24198 [C99-based standards] (clgammal): Likewise.
24199 [C99-based standards] (ctgammal): Likewise.
24200 * conform/data/inttypes.h-data [C99-based standards]: Include
24201 stdint.h-data. Remove all expectations for stdint.h contents.
24202 [C99-based standards] (PRI*): Do not allow.
24203 [C99-based standards] (SCN*): Likewise.
24204 [C99-based standards] (*_t): Likewise.
24205 [C99-based-standards] (PRId8): Expect macro.
24206 [C99-based-standards] (PRIi8): Likewise.
24207 [C99-based-standards] (PRIo8): Likewise.
24208 [C99-based-standards] (PRIu8): Likewise.
24209 [C99-based-standards] (PRIx8): Likewise.
24210 [C99-based-standards] (PRIX8): Likewise.
24211 [C99-based-standards] (SCNd8): Likewise.
24212 [C99-based-standards] (SCNi8): Likewise.
24213 [C99-based-standards] (SCNo8): Likewise.
24214 [C99-based-standards] (SCNu8): Likewise.
24215 [C99-based-standards] (SCNx8): Likewise.
24216 [C99-based-standards] (PRIdLEAST8): Likewise.
24217 [C99-based-standards] (PRIiLEAST8): Likewise.
24218 [C99-based-standards] (PRIoLEAST8): Likewise.
24219 [C99-based-standards] (PRIuLEAST8): Likewise.
24220 [C99-based-standards] (PRIxLEAST8): Likewise.
24221 [C99-based-standards] (PRIXLEAST8): Likewise.
24222 [C99-based-standards] (SCNdLEAST8): Likewise.
24223 [C99-based-standards] (SCNiLEAST8): Likewise.
24224 [C99-based-standards] (SCNoLEAST8): Likewise.
24225 [C99-based-standards] (SCNuLEAST8): Likewise.
24226 [C99-based-standards] (SCNxLEAST8): Likewise.
24227 [C99-based-standards] (PRIdFAST8): Likewise.
24228 [C99-based-standards] (PRIiFAST8): Likewise.
24229 [C99-based-standards] (PRIoFAST8): Likewise.
24230 [C99-based-standards] (PRIuFAST8): Likewise.
24231 [C99-based-standards] (PRIxFAST8): Likewise.
24232 [C99-based-standards] (PRIXFAST8): Likewise.
24233 [C99-based-standards] (SCNdFAST8): Likewise.
24234 [C99-based-standards] (SCNiFAST8): Likewise.
24235 [C99-based-standards] (SCNoFAST8): Likewise.
24236 [C99-based-standards] (SCNuFAST8): Likewise.
24237 [C99-based-standards] (SCNxFAST8): Likewise.
24238 [C99-based-standards] (PRId16): Likewise.
24239 [C99-based-standards] (PRIi16): Likewise.
24240 [C99-based-standards] (PRIo16): Likewise.
24241 [C99-based-standards] (PRIu16): Likewise.
24242 [C99-based-standards] (PRIx16): Likewise.
24243 [C99-based-standards] (PRIX16): Likewise.
24244 [C99-based-standards] (SCNd16): Likewise.
24245 [C99-based-standards] (SCNi16): Likewise.
24246 [C99-based-standards] (SCNo16): Likewise.
24247 [C99-based-standards] (SCNu16): Likewise.
24248 [C99-based-standards] (SCNx16): Likewise.
24249 [C99-based-standards] (PRIdLEAST16): Likewise.
24250 [C99-based-standards] (PRIiLEAST16): Likewise.
24251 [C99-based-standards] (PRIoLEAST16): Likewise.
24252 [C99-based-standards] (PRIuLEAST16): Likewise.
24253 [C99-based-standards] (PRIxLEAST16): Likewise.
24254 [C99-based-standards] (PRIXLEAST16): Likewise.
24255 [C99-based-standards] (SCNdLEAST16): Likewise.
24256 [C99-based-standards] (SCNiLEAST16): Likewise.
24257 [C99-based-standards] (SCNoLEAST16): Likewise.
24258 [C99-based-standards] (SCNuLEAST16): Likewise.
24259 [C99-based-standards] (SCNxLEAST16): Likewise.
24260 [C99-based-standards] (PRIdFAST16): Likewise.
24261 [C99-based-standards] (PRIiFAST16): Likewise.
24262 [C99-based-standards] (PRIoFAST16): Likewise.
24263 [C99-based-standards] (PRIuFAST16): Likewise.
24264 [C99-based-standards] (PRIxFAST16): Likewise.
24265 [C99-based-standards] (PRIXFAST16): Likewise.
24266 [C99-based-standards] (SCNdFAST16): Likewise.
24267 [C99-based-standards] (SCNiFAST16): Likewise.
24268 [C99-based-standards] (SCNoFAST16): Likewise.
24269 [C99-based-standards] (SCNuFAST16): Likewise.
24270 [C99-based-standards] (SCNxFAST16): Likewise.
24271 [C99-based-standards] (PRId32): Likewise.
24272 [C99-based-standards] (PRIi32): Likewise.
24273 [C99-based-standards] (PRIo32): Likewise.
24274 [C99-based-standards] (PRIu32): Likewise.
24275 [C99-based-standards] (PRIx32): Likewise.
24276 [C99-based-standards] (PRIX32): Likewise.
24277 [C99-based-standards] (SCNd32): Likewise.
24278 [C99-based-standards] (SCNi32): Likewise.
24279 [C99-based-standards] (SCNo32): Likewise.
24280 [C99-based-standards] (SCNu32): Likewise.
24281 [C99-based-standards] (SCNx32): Likewise.
24282 [C99-based-standards] (PRIdLEAST32): Likewise.
24283 [C99-based-standards] (PRIiLEAST32): Likewise.
24284 [C99-based-standards] (PRIoLEAST32): Likewise.
24285 [C99-based-standards] (PRIuLEAST32): Likewise.
24286 [C99-based-standards] (PRIxLEAST32): Likewise.
24287 [C99-based-standards] (PRIXLEAST32): Likewise.
24288 [C99-based-standards] (SCNdLEAST32): Likewise.
24289 [C99-based-standards] (SCNiLEAST32): Likewise.
24290 [C99-based-standards] (SCNoLEAST32): Likewise.
24291 [C99-based-standards] (SCNuLEAST32): Likewise.
24292 [C99-based-standards] (SCNxLEAST32): Likewise.
24293 [C99-based-standards] (PRIdFAST32): Likewise.
24294 [C99-based-standards] (PRIiFAST32): Likewise.
24295 [C99-based-standards] (PRIoFAST32): Likewise.
24296 [C99-based-standards] (PRIuFAST32): Likewise.
24297 [C99-based-standards] (PRIxFAST32): Likewise.
24298 [C99-based-standards] (PRIXFAST32): Likewise.
24299 [C99-based-standards] (SCNdFAST32): Likewise.
24300 [C99-based-standards] (SCNiFAST32): Likewise.
24301 [C99-based-standards] (SCNoFAST32): Likewise.
24302 [C99-based-standards] (SCNuFAST32): Likewise.
24303 [C99-based-standards] (SCNxFAST32): Likewise.
24304 [C99-based-standards] (PRId64): Likewise.
24305 [C99-based-standards] (PRIi64): Likewise.
24306 [C99-based-standards] (PRIo64): Likewise.
24307 [C99-based-standards] (PRIu64): Likewise.
24308 [C99-based-standards] (PRIx64): Likewise.
24309 [C99-based-standards] (PRIX64): Likewise.
24310 [C99-based-standards] (SCNd64): Likewise.
24311 [C99-based-standards] (SCNi64): Likewise.
24312 [C99-based-standards] (SCNo64): Likewise.
24313 [C99-based-standards] (SCNu64): Likewise.
24314 [C99-based-standards] (SCNx64): Likewise.
24315 [C99-based-standards] (PRIdLEAST64): Likewise.
24316 [C99-based-standards] (PRIiLEAST64): Likewise.
24317 [C99-based-standards] (PRIoLEAST64): Likewise.
24318 [C99-based-standards] (PRIuLEAST64): Likewise.
24319 [C99-based-standards] (PRIxLEAST64): Likewise.
24320 [C99-based-standards] (PRIXLEAST64): Likewise.
24321 [C99-based-standards] (SCNdLEAST64): Likewise.
24322 [C99-based-standards] (SCNiLEAST64): Likewise.
24323 [C99-based-standards] (SCNoLEAST64): Likewise.
24324 [C99-based-standards] (SCNuLEAST64): Likewise.
24325 [C99-based-standards] (SCNxLEAST64): Likewise.
24326 [C99-based-standards] (PRIdFAST64): Likewise.
24327 [C99-based-standards] (PRIiFAST64): Likewise.
24328 [C99-based-standards] (PRIoFAST64): Likewise.
24329 [C99-based-standards] (PRIuFAST64): Likewise.
24330 [C99-based-standards] (PRIxFAST64): Likewise.
24331 [C99-based-standards] (PRIXFAST64): Likewise.
24332 [C99-based-standards] (SCNdFAST64): Likewise.
24333 [C99-based-standards] (SCNiFAST64): Likewise.
24334 [C99-based-standards] (SCNoFAST64): Likewise.
24335 [C99-based-standards] (SCNuFAST64): Likewise.
24336 [C99-based-standards] (SCNxFAST64): Likewise.
24337 [C99-based-standards] (PRIdMAX): Likewise.
24338 [C99-based-standards] (PRIiMAX): Likewise.
24339 [C99-based-standards] (PRIoMAX): Likewise.
24340 [C99-based-standards] (PRIuMAX): Likewise.
24341 [C99-based-standards] (PRIxMAX): Likewise.
24342 [C99-based-standards] (PRIXMAX): Likewise.
24343 [C99-based-standards] (SCNdMAX): Likewise.
24344 [C99-based-standards] (SCNiMAX): Likewise.
24345 [C99-based-standards] (SCNoMAX): Likewise.
24346 [C99-based-standards] (SCNuMAX): Likewise.
24347 [C99-based-standards] (SCNxMAX): Likewise.
24348 [C99-based-standards] (PRIdPTR): Likewise.
24349 [C99-based-standards] (PRIiPTR): Likewise.
24350 [C99-based-standards] (PRIoPTR): Likewise.
24351 [C99-based-standards] (PRIuPTR): Likewise.
24352 [C99-based-standards] (PRIxPTR): Likewise.
24353 [C99-based-standards] (PRIXPTR): Likewise.
24354 [C99-based-standards] (SCNdPTR): Likewise.
24355 [C99-based-standards] (SCNiPTR): Likewise.
24356 [C99-based-standards] (SCNoPTR): Likewise.
24357 [C99-based-standards] (SCNuPTR): Likewise.
24358 [C99-based-standards] (SCNxPTR): Likewise.
24359 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24360 allow.
24361 * conform/data/stdint.h-data: Update comments to clarify
24362 requirements.
24363 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
24364 type.
24365 [C99-based standards] (INT8_MAX): Likewise.
24366 [C99-based standards] (INT16_MIN): Likewise.
24367 [C99-based standards] (INT16_MAX): Likewise.
24368 [C99-based standards] (INT32_MIN): Likewise.
24369 [C99-based standards] (INT32_MAX): Likewise.
24370 [C99-based standards] (INT64_MIN): Likewise.
24371 [C99-based standards] (INT64_MAX): Likewise.
24372 [C99-based standards] (UINT8_MAX): Likewise.
24373 [C99-based standards] (UINT16_MAX): Likewise.
24374 [C99-based standards] (UINT32_MAX): Likewise.
24375 [C99-based standards] (UINT64_MAX): Likewise.
24376 [C99-based standards] (INT_LEAST8_MIN): Likewise.
24377 [C99-based standards] (INT_LEAST8_MAX): Likewise.
24378 [C99-based standards] (INT_LEAST16_MIN): Likewise.
24379 [C99-based standards] (INT_LEAST16_MAX): Likewise.
24380 [C99-based standards] (INT_LEAST32_MIN): Likewise.
24381 [C99-based standards] (INT_LEAST32_MAX): Likewise.
24382 [C99-based standards] (INT_LEAST64_MIN): Likewise.
24383 [C99-based standards] (INT_LEAST64_MAX): Likewise.
24384 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24385 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24386 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24387 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24388 [C99-based standards] (INT_FAST8_MIN): Likewise.
24389 [C99-based standards] (INT_FAST8_MAX): Likewise.
24390 [C99-based standards] (INT_FAST16_MIN): Likewise.
24391 [C99-based standards] (INT_FAST16_MAX): Likewise.
24392 [C99-based standards] (INT_FAST32_MIN): Likewise.
24393 [C99-based standards] (INT_FAST32_MAX): Likewise.
24394 [C99-based standards] (INT_FAST64_MIN): Likewise.
24395 [C99-based standards] (INT_FAST64_MAX): Likewise.
24396 [C99-based standards] (UINT_FAST8_MAX): Likewise.
24397 [C99-based standards] (UINT_FAST16_MAX): Likewise.
24398 [C99-based standards] (UINT_FAST32_MAX): Likewise.
24399 [C99-based standards] (UINT_FAST64_MAX): Likewise.
24400 [C99-based standards] (INTPTR_MIN): Likewise.
24401 [C99-based standards] (INTPTR_MAX): Likewise.
24402 [C99-based standards] (UINTPTR_MAX): Likewise.
24403 [C99-based standards] (INTMAX_MIN): Likewise.
24404 [C99-based standards] (INTMAX_MAX): Likewise.
24405 [C99-based standards] (UINTMAX_MAX): Likewise.
24406 [C99-based standards] (PTRDIFF_MIN): Likewise.
24407 [C99-based standards] (PTRDIFF_MAX): Likewise.
24408 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24409 [C99-based standards] (SIZE_MAX): Likewise.
24410 [C99-based standards] (WCHAR_MAX): Likewise.
24411 [C99-based standards] (WINT_MAX): Likewise.
24412 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
24413 constraint on value.
24414 [C99-based standards] (WCHAR_MIN): Likewise.
24415 [C99-based standards] (WINT_MIN): Likewise.
24416 [C99-based standards] (*_t): Allow.
24417 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24418 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24419 Include math.h-data and complex.h-data. Remove all expectations
24420 of math.h and complex.h contents.
24421 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24422 at end of line.
24423 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24424 (struct tm): Expect tag.
24425 [C99-based-standards] (wcstof): Expect function.
24426 [C99-based-standards] (wcstold): Likewise.
24427 [C99-based-standards] (wcstoll): Likewise.
24428 [C99-based-standards] (wcstoull): Likewise.
24429 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24430 macro-int-constant. Specify type.
24431 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
24432 constraint on value.
24433 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24434 Specify type.
24435 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24436 Specify value.
24437 [ISO C standards]: Do not allow headers.
24438 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24439 wcs[abcdefghijklmnopqrstuvwxyz]*.
24440 [ISO C standards] (*_t): Do not allow.
24441 * conform/data/wctype.h-data [C99-based standards] (iswblank):
24442 Expect function.
24443 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
24444 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24445 Specify type.
24446 [ISO C standards]: Do not allow headers.
24447 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
24448 is[abcdefghijklmnopqrstuvwxyz]*.
24449 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
24450 to[abcdefghijklmnopqrstuvwxyz]*.
24451 [ISO C standards] (*_t): Do not allow.
24452 * conform/data/stdalign.h-data: New file.
24453 * conform/data/stdbool.h-data: Likewise.
24454 * conform/data/stdnoreturn.h-data: Likewise.
24455
7514feb8
RM
244562012-11-07 Roland McGrath <roland@hack.frob.com>
24457
24458 [BZ #14815]
24459 * manual/filesys.texi (Directory Entries): Typo fix.
24460 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
24461
19b2ecfc
MS
244622012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24463
24464 * elf/elf.h (EM_AARCH64): New macro.
24465 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
24466 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
24467 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
24468 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
24469 (R_AARCH64_TLSDESC): Likewise.
24470 (NT_ARM_TLS): Likewise.
24471 (NT_ARM_HW_BREAK): Likewise.
24472 (NT_ARM_HW_WATCH): Likewise.
24473
60e235ee
JM
244742012-11-07 Joseph Myers <joseph@codesourcery.com>
24475
24476 [BZ #14811]
24477 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
24478 (__ieee754_powl): Saturate nonzero exponents with absolute value
24479 below 0x1p-79 to +/- 0x1p-79.
24480 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
24481 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
24482 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
24483 nonzero exponents with absolute value below 0x1p-32 to +/-
24484 0x1p-32.
24485 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
24486 (__ieee754_powl): Saturate nonzero exponents with absolute value
24487 below 0x1p-79 to +/- 0x1p-79.
24488 * math/libm-test.inc (pow_test): Add more tests.
24489
0ab234b7
AK
244902012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24491
24492 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
24493 _dl_s390_cap_flags with kernel. Increase string length.
24494 (_dl_s390_platforms): Add z196 and zEC12.
24495
45832f74
JM
244962012-11-07 Joseph Myers <joseph@codesourcery.com>
24497
24498 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
24499 Change XOPEN21K to XOPEN2K.
24500
19218757
MK
245012012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
24502
24503 * string/memmove.c: Use memcpy when possible.
24504
c5f45721
AJ
245052012-11-06 Andreas Jaeger <aj@suse.de>
24506
24507 * po/eo.po: Update from translation team.
24508
82477c28
JM
245092012-11-06 Joseph Myers <joseph@codesourcery.com>
24510
24511 [BZ #14793]
24512 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
24513 exponent and small x and y exponents, scale x or y up. Increase
24514 by 2 the exponent used in scaling up.
24515 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24516 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24517 * math/libm-test.inc (fma_test): Add more tests.
24518 (fma_test_towardzero): Likewise.
24519 (fma_test_downward): Likewise.
24520 (fma_test_upward): Likewise.
24521
99252c8c
JM
245222012-11-05 Joseph Myers <joseph@codesourcery.com>
24523
acfa885f
JM
24524 [BZ #14805]
24525 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
24526 fenv_t *.
24527
99252c8c
JM
24528 [BZ #14801]
24529 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
24530 namespace for names of struct fields.
24531 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
24532 fenv_t fields.
24533 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24534 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
24535
d6d98dea
ST
245362012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24537
24538 [BZ #3665]
24539 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
24540
e10bb107
TS
245412012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24542
24543 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
24544 PTR_DEMANGLE.
24545
24546 [BZ #5246]
24547 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
24548 PTR_DEMANGLE.
24549
a0c2940d
JM
245502012-11-04 Joseph Myers <joseph@codesourcery.com>
24551
24552 [BZ #14797]
24553 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
24554 definitely overflow as x * y not x * y + z.
24555 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24556 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24557 * math/libm-test.inc (fma_test): Add more tests.
24558 (fma_test_towardzero): Likewise.
24559 (fma_test_downward): Likewise.
24560 (fma_test_upward): Likewise.
24561
b830319d
TS
245622012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24563
24564 [BZ #157]
24565
24566 * include/stub-tag.h: Remove file.
24567 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
24568 '#include' of it.
24569 * manual/maint.texi (Porting): Don't reference it.
24570 * Makerules ($(objpfx)stubs): Likewise.
24571 * dirent/closedir.c: Don't include <stub-tag.h>.
24572 * dirent/dirfd.c: Likewise.
24573 * dirent/fdopendir.c: Likewise.
24574 * dirent/getdents.c: Likewise.
24575 * dirent/getdents64.c: Likewise.
24576 * dirent/opendir.c: Likewise.
24577 * dirent/readdir.c: Likewise.
24578 * dirent/readdir64.c: Likewise.
24579 * dirent/readdir64_r.c: Likewise.
24580 * dirent/readdir_r.c: Likewise.
24581 * dirent/rewinddir.c: Likewise.
24582 * dirent/seekdir.c: Likewise.
24583 * dirent/telldir.c: Likewise.
24584 * gmon/profil.c: Likewise.
24585 * grp/setgroups.c: Likewise.
24586 * inet/if_index.c: Likewise.
24587 * io/access.c: Likewise.
24588 * io/chdir.c: Likewise.
24589 * io/chmod.c: Likewise.
24590 * io/chown.c: Likewise.
24591 * io/close.c: Likewise.
24592 * io/dup.c: Likewise.
24593 * io/dup2.c: Likewise.
24594 * io/dup3.c: Likewise.
24595 * io/euidaccess.c: Likewise.
24596 * io/faccessat.c: Likewise.
24597 * io/fchdir.c: Likewise.
24598 * io/fchmod.c: Likewise.
24599 * io/fchmodat.c: Likewise.
24600 * io/fchown.c: Likewise.
24601 * io/fchownat.c: Likewise.
24602 * io/fcntl.c: Likewise.
24603 * io/flock.c: Likewise.
24604 * io/fstatfs.c: Likewise.
24605 * io/fstatfs64.c: Likewise.
24606 * io/fstatvfs.c: Likewise.
24607 * io/fstatvfs64.c: Likewise.
24608 * io/futimens.c: Likewise.
24609 * io/fxstat.c: Likewise.
24610 * io/fxstat64.c: Likewise.
24611 * io/fxstatat.c: Likewise.
24612 * io/fxstatat64.c: Likewise.
24613 * io/getcwd.c: Likewise.
24614 * io/isatty.c: Likewise.
24615 * io/lchmod.c: Likewise.
24616 * io/lchown.c: Likewise.
24617 * io/link.c: Likewise.
24618 * io/linkat.c: Likewise.
24619 * io/lseek.c: Likewise.
24620 * io/lseek64.c: Likewise.
24621 * io/lxstat64.c: Likewise.
24622 * io/mkdir.c: Likewise.
24623 * io/mkdirat.c: Likewise.
24624 * io/mkfifo.c: Likewise.
24625 * io/mkfifoat.c: Likewise.
24626 * io/open.c: Likewise.
24627 * io/open64.c: Likewise.
24628 * io/openat.c: Likewise.
24629 * io/openat64.c: Likewise.
24630 * io/pipe.c: Likewise.
24631 * io/pipe2.c: Likewise.
24632 * io/poll.c: Likewise.
24633 * io/posix_fadvise.c: Likewise.
24634 * io/posix_fadvise64.c: Likewise.
24635 * io/posix_fallocate.c: Likewise.
24636 * io/posix_fallocate64.c: Likewise.
24637 * io/read.c: Likewise.
24638 * io/readlink.c: Likewise.
24639 * io/readlinkat.c: Likewise.
24640 * io/rmdir.c: Likewise.
24641 * io/sendfile.c: Likewise.
24642 * io/sendfile64.c: Likewise.
24643 * io/statfs.c: Likewise.
24644 * io/statfs64.c: Likewise.
24645 * io/statvfs.c: Likewise.
24646 * io/statvfs64.c: Likewise.
24647 * io/symlink.c: Likewise.
24648 * io/symlinkat.c: Likewise.
24649 * io/ttyname.c: Likewise.
24650 * io/ttyname_r.c: Likewise.
24651 * io/umask.c: Likewise.
24652 * io/unlink.c: Likewise.
24653 * io/unlinkat.c: Likewise.
24654 * io/utime.c: Likewise.
24655 * io/utimensat.c: Likewise.
24656 * io/write.c: Likewise.
24657 * io/xmknod.c: Likewise.
24658 * io/xmknodat.c: Likewise.
24659 * io/xstat.c: Likewise.
24660 * io/xstat64.c: Likewise.
24661 * login/getpt.c: Likewise.
24662 * login/grantpt.c: Likewise.
24663 * login/unlockpt.c: Likewise.
24664 * math/e_acoshl.c: Likewise.
24665 * math/e_acosl.c: Likewise.
24666 * math/e_asinl.c: Likewise.
24667 * math/e_atan2l.c: Likewise.
24668 * math/e_atanhl.c: Likewise.
24669 * math/e_coshl.c: Likewise.
24670 * math/e_expl.c: Likewise.
24671 * math/e_fmodl.c: Likewise.
24672 * math/e_gammal_r.c: Likewise.
24673 * math/e_hypotl.c: Likewise.
24674 * math/e_j0l.c: Likewise.
24675 * math/e_j1l.c: Likewise.
24676 * math/e_jnl.c: Likewise.
24677 * math/e_lgammal_r.c: Likewise.
24678 * math/e_log10l.c: Likewise.
24679 * math/e_log2l.c: Likewise.
24680 * math/e_logl.c: Likewise.
24681 * math/e_powl.c: Likewise.
24682 * math/e_rem_pio2l.c: Likewise.
24683 * math/e_sinhl.c: Likewise.
24684 * math/e_sqrtl.c: Likewise.
24685 * math/fclrexcpt.c: Likewise.
24686 * math/fedisblxcpt.c: Likewise.
24687 * math/feenablxcpt.c: Likewise.
24688 * math/fegetenv.c: Likewise.
24689 * math/fegetexcept.c: Likewise.
24690 * math/fegetround.c: Likewise.
24691 * math/feholdexcpt.c: Likewise.
24692 * math/fesetenv.c: Likewise.
24693 * math/fesetround.c: Likewise.
24694 * math/feupdateenv.c: Likewise.
24695 * math/fgetexcptflg.c: Likewise.
24696 * math/fraiseexcpt.c: Likewise.
24697 * math/fsetexcptflg.c: Likewise.
24698 * math/ftestexcept.c: Likewise.
24699 * math/k_cosl.c: Likewise.
24700 * math/k_rem_pio2l.c: Likewise.
24701 * math/k_sinl.c: Likewise.
24702 * math/k_tanl.c: Likewise.
24703 * math/s_asinhl.c: Likewise.
24704 * math/s_atanl.c: Likewise.
24705 * math/s_cbrtl.c: Likewise.
24706 * math/s_erfl.c: Likewise.
24707 * math/s_expm1l.c: Likewise.
24708 * math/s_log1pl.c: Likewise.
24709 * math/s_tanhl.c: Likewise.
24710 * misc/acct.c: Likewise.
24711 * misc/brk.c: Likewise.
24712 * misc/chflags.c: Likewise.
24713 * misc/chroot.c: Likewise.
24714 * misc/fchflags.c: Likewise.
24715 * misc/fgetxattr.c: Likewise.
24716 * misc/flistxattr.c: Likewise.
24717 * misc/fremovexattr.c: Likewise.
24718 * misc/fsetxattr.c: Likewise.
24719 * misc/fsync.c: Likewise.
24720 * misc/ftruncate.c: Likewise.
24721 * misc/futimes.c: Likewise.
24722 * misc/futimesat.c: Likewise.
24723 * misc/getdomain.c: Likewise.
24724 * misc/getdtsz.c: Likewise.
24725 * misc/gethostid.c: Likewise.
24726 * misc/gethostname.c: Likewise.
24727 * misc/getloadavg.c: Likewise.
24728 * misc/getpagesize.c: Likewise.
24729 * misc/getsysstats.c: Likewise.
24730 * misc/getxattr.c: Likewise.
24731 * misc/gtty.c: Likewise.
24732 * misc/ioctl.c: Likewise.
24733 * misc/lgetxattr.c: Likewise.
24734 * misc/listxattr.c: Likewise.
24735 * misc/llistxattr.c: Likewise.
24736 * misc/lremovexattr.c: Likewise.
24737 * misc/lsetxattr.c: Likewise.
24738 * misc/lutimes.c: Likewise.
24739 * misc/madvise.c: Likewise.
24740 * misc/mincore.c: Likewise.
24741 * misc/mlock.c: Likewise.
24742 * misc/mlockall.c: Likewise.
24743 * misc/mmap.c: Likewise.
24744 * misc/mprotect.c: Likewise.
24745 * misc/msync.c: Likewise.
24746 * misc/munlock.c: Likewise.
24747 * misc/munlockall.c: Likewise.
24748 * misc/munmap.c: Likewise.
24749 * misc/preadv.c: Likewise.
24750 * misc/preadv64.c: Likewise.
24751 * misc/ptrace.c: Likewise.
24752 * misc/pwritev.c: Likewise.
24753 * misc/pwritev64.c: Likewise.
24754 * misc/readv.c: Likewise.
24755 * misc/reboot.c: Likewise.
24756 * misc/remap_file_pages.c: Likewise.
24757 * misc/removexattr.c: Likewise.
24758 * misc/revoke.c: Likewise.
24759 * misc/select.c: Likewise.
24760 * misc/setdomain.c: Likewise.
24761 * misc/setegid.c: Likewise.
24762 * misc/seteuid.c: Likewise.
24763 * misc/sethostid.c: Likewise.
24764 * misc/sethostname.c: Likewise.
24765 * misc/setregid.c: Likewise.
24766 * misc/setreuid.c: Likewise.
24767 * misc/setxattr.c: Likewise.
24768 * misc/sstk.c: Likewise.
24769 * misc/stty.c: Likewise.
24770 * misc/swapoff.c: Likewise.
24771 * misc/swapon.c: Likewise.
24772 * misc/sync.c: Likewise.
24773 * misc/syncfs.c: Likewise.
24774 * misc/syscall.c: Likewise.
24775 * misc/truncate.c: Likewise.
24776 * misc/ualarm.c: Likewise.
24777 * misc/usleep.c: Likewise.
24778 * misc/ustat.c: Likewise.
24779 * misc/utimes.c: Likewise.
24780 * misc/vhangup.c: Likewise.
24781 * misc/writev.c: Likewise.
24782 * posix/_exit.c: Likewise.
24783 * posix/alarm.c: Likewise.
24784 * posix/execve.c: Likewise.
24785 * posix/fexecve.c: Likewise.
24786 * posix/fork.c: Likewise.
24787 * posix/fpathconf.c: Likewise.
24788 * posix/getaddrinfo.c: Likewise.
24789 * posix/getegid.c: Likewise.
24790 * posix/geteuid.c: Likewise.
24791 * posix/getgid.c: Likewise.
24792 * posix/getgroups.c: Likewise.
24793 * posix/getlogin.c: Likewise.
24794 * posix/getlogin_r.c: Likewise.
24795 * posix/getpgid.c: Likewise.
24796 * posix/getpid.c: Likewise.
24797 * posix/getppid.c: Likewise.
24798 * posix/getresgid.c: Likewise.
24799 * posix/getresuid.c: Likewise.
24800 * posix/getsid.c: Likewise.
24801 * posix/getuid.c: Likewise.
24802 * posix/glob64.c: Likewise.
24803 * posix/nanosleep.c: Likewise.
24804 * posix/pathconf.c: Likewise.
24805 * posix/pause.c: Likewise.
24806 * posix/posix_madvise.c: Likewise.
24807 * posix/pread.c: Likewise.
24808 * posix/pread64.c: Likewise.
24809 * posix/pwrite.c: Likewise.
24810 * posix/pwrite64.c: Likewise.
24811 * posix/sched_getaffinity.c: Likewise.
24812 * posix/sched_getp.c: Likewise.
24813 * posix/sched_gets.c: Likewise.
24814 * posix/sched_primax.c: Likewise.
24815 * posix/sched_primin.c: Likewise.
24816 * posix/sched_rr_gi.c: Likewise.
24817 * posix/sched_setaffinity.c: Likewise.
24818 * posix/sched_setp.c: Likewise.
24819 * posix/sched_sets.c: Likewise.
24820 * posix/sched_yield.c: Likewise.
24821 * posix/setgid.c: Likewise.
24822 * posix/setlogin.c: Likewise.
24823 * posix/setpgid.c: Likewise.
24824 * posix/setresgid.c: Likewise.
24825 * posix/setresuid.c: Likewise.
24826 * posix/setsid.c: Likewise.
24827 * posix/setuid.c: Likewise.
24828 * posix/sleep.c: Likewise.
24829 * posix/spawni.c: Likewise.
24830 * posix/sysconf.c: Likewise.
24831 * posix/times.c: Likewise.
24832 * posix/wait.c: Likewise.
24833 * posix/wait3.c: Likewise.
24834 * posix/wait4.c: Likewise.
24835 * posix/waitpid.c: Likewise.
24836 * resolv/gai_sigqueue.c: Likewise.
24837 * resource/getpriority.c: Likewise.
24838 * resource/getrlimit.c: Likewise.
24839 * resource/getrusage.c: Likewise.
24840 * resource/nice.c: Likewise.
24841 * resource/setpriority.c: Likewise.
24842 * resource/setrlimit.c: Likewise.
24843 * resource/ulimit.c: Likewise.
24844 * rt/aio_cancel.c: Likewise.
24845 * rt/aio_fsync.c: Likewise.
24846 * rt/aio_read.c: Likewise.
24847 * rt/aio_sigqueue.c: Likewise.
24848 * rt/aio_suspend.c: Likewise.
24849 * rt/aio_write.c: Likewise.
24850 * rt/clock_getres.c: Likewise.
24851 * rt/clock_gettime.c: Likewise.
24852 * rt/clock_nanosleep.c: Likewise.
24853 * rt/clock_settime.c: Likewise.
24854 * rt/lio_listio.c: Likewise.
24855 * rt/mq_close.c: Likewise.
24856 * rt/mq_getattr.c: Likewise.
24857 * rt/mq_notify.c: Likewise.
24858 * rt/mq_open.c: Likewise.
24859 * rt/mq_receive.c: Likewise.
24860 * rt/mq_send.c: Likewise.
24861 * rt/mq_setattr.c: Likewise.
24862 * rt/mq_timedreceive.c: Likewise.
24863 * rt/mq_timedsend.c: Likewise.
24864 * rt/mq_unlink.c: Likewise.
24865 * rt/shm_open.c: Likewise.
24866 * rt/shm_unlink.c: Likewise.
24867 * rt/timer_create.c: Likewise.
24868 * rt/timer_delete.c: Likewise.
24869 * rt/timer_getoverr.c: Likewise.
24870 * rt/timer_gettime.c: Likewise.
24871 * rt/timer_settime.c: Likewise.
24872 * setjmp/__longjmp.c: Likewise.
24873 * setjmp/setjmp.c: Likewise.
24874 * signal/kill.c: Likewise.
24875 * signal/killpg.c: Likewise.
24876 * signal/raise.c: Likewise.
24877 * signal/sigaction.c: Likewise.
24878 * signal/sigaltstack.c: Likewise.
24879 * signal/sigblock.c: Likewise.
24880 * signal/sigignore.c: Likewise.
24881 * signal/sigintr.c: Likewise.
24882 * signal/signal.c: Likewise.
24883 * signal/sigpause.c: Likewise.
24884 * signal/sigpending.c: Likewise.
24885 * signal/sigqueue.c: Likewise.
24886 * signal/sigreturn.c: Likewise.
24887 * signal/sigset.c: Likewise.
24888 * signal/sigsetmask.c: Likewise.
24889 * signal/sigstack.c: Likewise.
24890 * signal/sigsuspend.c: Likewise.
24891 * signal/sigtimedwait.c: Likewise.
24892 * signal/sigvec.c: Likewise.
24893 * signal/sigwait.c: Likewise.
24894 * signal/sigwaitinfo.c: Likewise.
24895 * signal/sysv_signal.c: Likewise.
24896 * socket/accept.c: Likewise.
24897 * socket/accept4.c: Likewise.
24898 * socket/bind.c: Likewise.
24899 * socket/connect.c: Likewise.
24900 * socket/getpeername.c: Likewise.
24901 * socket/getsockname.c: Likewise.
24902 * socket/getsockopt.c: Likewise.
24903 * socket/isfdtype.c: Likewise.
24904 * socket/listen.c: Likewise.
24905 * socket/recv.c: Likewise.
24906 * socket/recvfrom.c: Likewise.
24907 * socket/recvmsg.c: Likewise.
24908 * socket/send.c: Likewise.
24909 * socket/sendmsg.c: Likewise.
24910 * socket/sendto.c: Likewise.
24911 * socket/setsockopt.c: Likewise.
24912 * socket/shutdown.c: Likewise.
24913 * socket/sockatmark.c: Likewise.
24914 * socket/socket.c: Likewise.
24915 * socket/socketpair.c: Likewise.
24916 * stdio-common/ctermid.c: Likewise.
24917 * stdio-common/cuserid.c: Likewise.
24918 * stdio-common/remove.c: Likewise.
24919 * stdio-common/rename.c: Likewise.
24920 * stdio-common/renameat.c: Likewise.
24921 * stdio-common/tempname.c: Likewise.
24922 * stdlib/getcontext.c: Likewise.
24923 * stdlib/makecontext.c: Likewise.
24924 * stdlib/setcontext.c: Likewise.
24925 * stdlib/swapcontext.c: Likewise.
24926 * stdlib/system.c: Likewise.
24927 * streams/fattach.c: Likewise.
24928 * streams/fdetach.c: Likewise.
24929 * streams/getmsg.c: Likewise.
24930 * streams/getpmsg.c: Likewise.
24931 * streams/putmsg.c: Likewise.
24932 * streams/putpmsg.c: Likewise.
24933 * sysdeps/unix/bsd/getpt.c: Likewise.
24934 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
24935 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
24936 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24938 Likewise.
24939 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
24940 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24941 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24942 * sysvipc/msgctl.c: Likewise.
24943 * sysvipc/msgget.c: Likewise.
24944 * sysvipc/msgrcv.c: Likewise.
24945 * sysvipc/msgsnd.c: Likewise.
24946 * sysvipc/semctl.c: Likewise.
24947 * sysvipc/semget.c: Likewise.
24948 * sysvipc/semop.c: Likewise.
24949 * sysvipc/semtimedop.c: Likewise.
24950 * sysvipc/shmat.c: Likewise.
24951 * sysvipc/shmctl.c: Likewise.
24952 * sysvipc/shmdt.c: Likewise.
24953 * sysvipc/shmget.c: Likewise.
24954 * termios/tcdrain.c: Likewise.
24955 * termios/tcflow.c: Likewise.
24956 * termios/tcflush.c: Likewise.
24957 * termios/tcgetattr.c: Likewise.
24958 * termios/tcgetpgrp.c: Likewise.
24959 * termios/tcsendbrk.c: Likewise.
24960 * termios/tcsetattr.c: Likewise.
24961 * termios/tcsetpgrp.c: Likewise.
24962 * time/adjtime.c: Likewise.
24963 * time/clock.c: Likewise.
24964 * time/getitimer.c: Likewise.
24965 * time/gettimeofday.c: Likewise.
24966 * time/setitimer.c: Likewise.
24967 * time/settimeofday.c: Likewise.
24968 * time/stime.c: Likewise.
24969 * time/time.c: Likewise.
24970
249712012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 24972
a20492cf
PT
24973 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
24974 /usr/old/bin.
24975
72e182e3
PT
24976 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
24977 instead of spaces.
24978 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
24979
fbeafede
JM
249802012-11-03 Joseph Myers <joseph@codesourcery.com>
24981
5b5b04d6
JM
24982 [BZ #14796]
24983 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
24984 FE_TONEAREST before applying Dekker multiplication and Knuth
24985 addition. Clear inexact exceptions and check for exact zero
24986 results afterwards.
24987 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24988 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24989 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24990 * math/libm-test.inc (fma_test): Add more tests.
24991 (fma_test_towardzero): Likewise.
24992 (fma_test_downward): Likewise.
24993 (fma_test_upward): Likewise.
24994 * sysdeps/generic/math_private.h (default_libc_fesetround): New
24995 function.
24996 (libc_fesetround): New macro.
24997 (libc_fesetroundf): Likewise.
24998 (libc_fesetroundl): Likewise.
24999 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25000 function.
25001 (libc_fesetround_387): Likewise.
25002 (libc_fesetroundf): New macro.
25003 (libc_fesetround): Likewise.
25004 (libc_fesetroundl): Likewise.
25005 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25006 function.
25007 (libc_fesetroundf): New macro.
25008 (libc_fesetround): Likewise.
25009 (libc_fesetroundl): Likewise.
25010 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25011 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25012 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25013 libm_hidden_ver.
25014 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25015 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25016 libm_hidden_def.
25017 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25018 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25019 libm_hidden_ver.
25020 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25021 libm_hidden_def.
25022
fbeafede
JM
25023 [BZ #3439]
25024 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25025 integer constant usable in #if and use that to give value to enum
25026 constant.
25027 (FE_DIVBYZERO): Likewise.
25028 (FE_UNDERFLOW): Likewise.
25029 (FE_OVERFLOW): Likewise.
25030 (FE_INVALID): Likewise.
25031 (FE_INVALID_SNAN): Likewise.
25032 (FE_INVALID_ISI): Likewise.
25033 (FE_INVALID_IDI): Likewise.
25034 (FE_INVALID_ZDZ): Likewise.
25035 (FE_INVALID_IMZ): Likewise.
25036 (FE_INVALID_COMPARE): Likewise.
25037 (FE_INVALID_SOFTWARE): Likewise.
25038 (FE_INVALID_SQRT): Likewise.
25039 (FE_INVALID_INTEGER_CONVERSION): Likewise.
25040 (FE_TONEAREST): Likewise.
25041 (FE_TOWARDZERO): Likewise.
25042 (FE_UPWARD): Likewise.
25043 (FE_DOWNWARD): Likewise.
25044 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25045 (FE_DIVBYZERO): Likewise.
25046 (FE_OVERFLOW): Likewise.
25047 (FE_UNDERFLOW): Likewise.
25048 (FE_INEXACT): Likewise.
25049 (FE_TONEAREST): Likewise.
25050 (FE_DOWNWARD): Likewise.
25051 (FE_UPWARD): Likewise.
25052 (FE_TOWARDZERO): Likewise.
25053 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25054 (FE_UNDERFLOW): Likewise.
25055 (FE_OVERFLOW): Likewise.
25056 (FE_DIVBYZERO): Likewise.
25057 (FE_INVALID): Likewise.
25058 (FE_TONEAREST): Likewise.
25059 (FE_TOWARDZERO): Likewise.
25060 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25061 (FE_OVERFLOW): Likewise.
25062 (FE_UNDERFLOW): Likewise.
25063 (FE_DIVBYZERO): Likewise.
25064 (FE_INEXACT): Likewise.
25065 (FE_TONEAREST): Likewise.
25066 (FE_TOWARDZERO): Likewise.
25067 (FE_UPWARD): Likewise.
25068 (FE_DOWNWARD): Likewise.
25069 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25070 (FE_DIVBYZERO): Likewise.
25071 (FE_OVERFLOW): Likewise.
25072 (FE_UNDERFLOW): Likewise.
25073 (FE_INEXACT): Likewise.
25074 (FE_TONEAREST): Likewise.
25075 (FE_DOWNWARD): Likewise.
25076 (FE_UPWARD): Likewise.
25077 (FE_TOWARDZERO): Likewise.
25078
105ca950
CM
250792012-11-02 Chris Metcalf <cmetcalf@tilera.com>
25080
25081 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25082
a542b389
AS
250832012-11-03 Andreas Schwab <schwab@linux-m68k.org>
25084
25085 * scripts/cross-test-ssh.sh (command): Use newlines to separate
25086 commands. Quote $PWD.
25087 (blacklist_exports): Don't use remove_newlines. Replace "declare
25088 -x" by "export".
25089 (remove_newlines): Remove.
25090
f62c8abc
L
250912012-11-02 H.J. Lu <hongjiu.lu@intel.com>
25092
25093 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25094 * stdlib/stdlib.h (atof): Moved to ...
25095 * include/bits/stdlib-float.h: Here. New file.
25096 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25097 * stdlib/bits/stdlib-float.h: New file.
25098 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25099 -mno-sse -mno-mmx.
25100 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25101 <xmmintrin.h>.
25102
0155d5b2
JM
251032012-11-02 Joseph Myers <joseph@codesourcery.com>
25104
a68d0680
JM
25105 * conform/conformtest.pl (@headers): Add fenv.h.
25106 * conform/data/fenv.h-data: New file.
25107 * include/fenv.h [_ISOMAC]: Disable all contents of file except
25108 include of <math/fenv.h>.
25109
caf7f573
JM
25110 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25111 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25112 && !UNIX98]. Enables tests for XOPEN2K8.
25113 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25114 POSIX2008]: Likewise.
25115
6c073ad6
JM
25116 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25117 (struct rusage): Do not expect type or its members.
25118
0155d5b2
JM
25119 [BZ #3439]
25120 * math/math.h (FP_NAN): Define macro to integer constant usable in
25121 #if and use that to give value to enum constant.
25122 (FP_INFINITE): Likewise.
25123 (FP_ZERO): Likewise.
25124 (FP_SUBNORMAL): Likewise.
25125 (FP_NORMAL): Likewise.
25126
b5dcacb4
AS
251272012-11-02 Andreas Schwab <schwab@linux-m68k.org>
25128
25129 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25130 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25131 arguments.
25132
f7934be8
RM
251332012-11-02 Roland McGrath <roland@hack.frob.com>
25134
25135 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25136 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25137 autoconf-time if not.
25138 * configure.in: Remove AC_PREREQ.
25139
d7d08bde
TMQMF
251402012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25141
25142 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25143 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25144 of the internal implementation.
25145
dcdae19a
JM
251462012-11-02 Joseph Myers <joseph@codesourcery.com>
25147
25148 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25149 except include of <misc/sys/syslog.h>.
25150
d6cffd3e
AS
251512012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25152
25153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25154 function returns with a NULL context exit with zero.
25155
b3563932
TMQMF
251562012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25157
25158 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25159
b288a93d
L
251602012-11-01 H.J. Lu <hongjiu.lu@intel.com>
25161
25162 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25163 (run_program_cmd): This.
25164 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25165 (tst_langinfo): New variable. Use it.
25166
a2421a68
SAS
251672012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
25168
25169 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25170 floating point opcodes.
25171
6f796e1b
TS
251722012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25173
7402596b
TS
25174 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25175 variable.
25176
d0d4f868
TS
25177 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25178
6f796e1b
TS
25179 * sysdeps/mach/hurd/powerpc: Remove directory.
25180 * sysdeps/mach/powerpc: Likewise.
25181
4da224a2
AS
251822012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25183
25184 * scripts/check-local-headers.sh: Ignore c++ headers.
25185
341dd673
TS
251862012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25187
25188 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25189 __libc_cleanup_region_start argument.
25190
473611b2
JM
251912012-11-01 Joseph Myers <joseph@codesourcery.com>
25192
25193 [BZ #14784]
25194 [BZ #14785]
25195 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25196 x * y using scaling, not as x * y + z.
25197 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25198 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25199 * math/libm-test.inc (fma_test): Add more tests.
25200 (fma_test_towardzero): Likewise.
25201 (fma_test_downward): Likewise.
25202 (fma_test_upward): Likewise.
25203
4078da3d
TS
252042012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25205
25206 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25207
903252aa
JM
252082012-10-31 Joseph Myers <joseph@codesourcery.com>
25209
25210 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25211 New variable.
25212
cbc818d0
TS
252132012-10-31 Thomas Schwinge <thomas@codesourcery.com>
25214
25215 * rt/tst-shm.c (worker): Correct checking for mmap failure.
25216
5a03cb1e
AS
252172012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25218
25219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25220 Fix sort order.
25221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25222 Likewise.
25223
90aff2ff
TMQMF
252242012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25225
25226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25227 Fix the order of the list for glibc 2.17.
25228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25229 Likewise.
25230
1818fcb7
AS
252312012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25232
25233 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25234
ef82f4da
JM
252352012-10-31 Joseph Myers <joseph@codesourcery.com>
25236
16a0e2ec
JM
25237 [BZ #14610]
25238 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25239 for low part of x being zero before using __atanl (y).
25240 * math/libm-test.inc (atan2_test): Add another test.
25241
0eb69512
JM
25242 * manual/install.texi (Configuring and compiling): Document
25243 general use of test-wrapper and test-wrapper-env.
25244 * INSTALL: Regenerated.
25245
ef82f4da
JM
25246 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25247 (__fma): Do not extract and scale down low bits on after-rounding
25248 systems when result rounded to normal precision would have normal
25249 exponent.
25250 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25251 (__fmal): Do not extract and scale down low bits on after-rounding
25252 systems when result rounded to normal precision would have normal
25253 exponent.
25254 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25255 (__fmal): Do not extract and scale down low bits on after-rounding
25256 systems when result rounded to normal precision would have normal
25257 exponent.
25258 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25259 macro.
25260 (fma_test): Add more tests.
25261 (fma_test_towardzero): Likewise.
25262 (fma_test_downward): Likewise.
25263 (fma_test_upward): Likewise.
25264
954ef0d9
L
252652012-10-30 H.J. Lu <hongjiu.lu@intel.com>
25266
25267 * sysdeps/i386/tininess.h: Renamed to ...
25268 * sysdeps/x86/tininess.h: This.
25269 * sysdeps/x86_64/tininess.h: Removed.
25270
df61ffb2
JM
252712012-10-30 Joseph Myers <joseph@codesourcery.com>
25272
25273 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25274 input. Use $(build-program-cmd).
25275 ($(objpfx)tst-array1-static.out): Likewise.
25276 ($(objpfx)tst-array2.out): Likewise.
25277 ($(objpfx)tst-array3.out): Likewise.
25278 ($(objpfx)tst-array4.out): Likewise.
25279 ($(objpfx)tst-array5.out): Likewise.
25280 ($(objpfx)tst-array5-static.out): Likewise.
25281
01767843
CM
252822012-10-30 Chris Metcalf <cmetcalf@tilera.com>
25283
47cc1490
CM
25284 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25285 if defined.
25286
01767843
CM
25287 * nss/nsswitch.h (nss_interface_function): Provide new
25288 macro for use with NSS functions.
25289 * grp/initgroups.c: Use new macro.
25290 * nss/getXXbyYY.c: Likewise.
25291 * nss/getXXbyYY_r.c: Likewise.
25292 * nss/getXXent.c: Likewise.
25293 * nss/getXXent_r.c: Likewise.
25294 * sysdeps/posix/getaddrinfo.c: Likewise.
25295
8321aa97
AJ
252962012-10-30 Andreas Jaeger <aj@suse.de>
25297
25298 * po/ru.po: Update Russion translation from translation project.
25299
2a27fd6d
JM
253002012-10-30 Joseph Myers <joseph@codesourcery.com>
25301
8627a232
JM
25302 [BZ #14152]
25303 [BZ #14783]
25304 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25305 result and shift together with sticky bit instead of replicating
25306 round-to-nearest rounding.
25307 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25308 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25309 * math/libm-test.inc (fma_test): Add more tests. Do not permit
25310 missing underflow exceptions.
25311 (fma_test_towardzero): Add more tests.
25312 (fma_test_downward): Likewise.
25313 (fma_test_upward): Likewise.
25314
2a27fd6d
JM
25315 [BZ #14047]
25316 * sysdeps/generic/tininess.h: New file.
25317 * sysdeps/i386/tininess.h: Likewise.
25318 * sysdeps/sh/tininess.h: Likewise.
25319 * sysdeps/x86_64/tininess.h: Likewise.
25320 * stdlib/tst-strtod-underflow.c: Likewise.
25321 * stdlib/tst-tininess.c: Likewise.
25322 * stdlib/strtod_l.c: Include <tininess.h>.
25323 (round_and_return): Do not set errno for exact underflow cases.
25324 Force an underflow exception when setting errno for underflow.
25325 Determine underflow based on rounding to normal precision if
25326 TININESS_AFTER_ROUNDING.
25327 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25328 ERANGE for exact underflow cases.
25329 * stdlib/Makefile (tests): Add tst-tininess and
25330 tst-strtod-underflow.
25331 ($(objpfx)tst-tininess): Use $(link-libm).
25332 ($(objpfx)tst-strtod-underflow): Likewise.
25333
e7170363
AJ
253342012-10-30 Andreas Jaeger <aj@suse.de>
25335
e5088dc6
AJ
25336 [BZ#14767]
25337 * elf/Makefile (tests): Remove conditional for have-initfini-array
25338 since this is now always required and the variable does not exist
25339 anymore.
25340 (tests-static): Likewise.
25341 (modules-names): Likewise.
25342
e7170363 25343 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
25344
25345 * elf/tst-array1.c (fini_array): Make writeable so that it can be
25346 merged with constructor/destructor.
25347 (init_array): Likewise.
25348 * elf/tst-array2dep.c (fini_array): Likewise.
25349 (init_array): Likewise.
25350
60457d8a
MF
253512012-10-29 Mike Frysinger <vapier@gentoo.org>
25352
25353 * manual/message.texi: Delete @cartouche tags.
25354
8bece752
PT
253552012-10-29 Pino Toscano <toscano.pino@tiscali.it>
25356
94ce799f
PT
25357 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25358 EOPNOTSUPP.
25359 * sysdeps/mach/hurd/fsync.c: Likewise.
25360
8bece752
PT
25361 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25362 [_POSIX_REALTIME_SIGNALS]: Change condition to
25363 [_POSIX_REALTIME_SIGNALS > 0].
25364
86ebe6b1
AJ
253652012-10-27 Andreas Jaeger <aj@suse.de>
25366
25367 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25368 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25369 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25370 [__WORDSIZE != 64]: Likewise.
25371
54399c08
L
253722012-10-26 H.J. Lu <hongjiu.lu@intel.com>
25373
25374 * iconvdata/tst-table.sh: Remove ${SHELL}.
25375 * iconvdata/tst-tables.sh: Likewise.
25376
e2211bed
DM
253772012-10-25 David S. Miller <davem@davemloft.net>
25378
25379 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25380 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25381 of strtoull.
25382
f303f97c
DM
25383 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25384 ifunc-impl-list.c
25385 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25386 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25387 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25388 file.
25389
1e9d84cd
RM
253902012-10-25 Roland McGrath <roland@hack.frob.com>
25391
25392 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25393 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25394 __getdirentries.
25395
df381762
JM
253962012-10-25 Joseph Myers <joseph@codesourcery.com>
25397 Jim Blandy <jimb@codesourcery.com>
25398
25399 * scripts/cross-test-ssh.sh: New file.
25400 * manual/install.texi (Configuring and compiling): Document use of
25401 cross-test-ssh.sh.
25402 * INSTALL: Regenerated.
25403
bff64913
PT
254042012-10-25 Pino Toscano <toscano.pino@tiscali.it>
25405
25406 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25407 EOPNOTSUPP.
25408
25fe8932
JM
254092012-10-25 Joseph Myers <joseph@codesourcery.com>
25410
25411 * Makeconfig (run-program-prefix): Fix comment.
25412
cc1290d0
JM
254132012-10-24 Joseph Myers <joseph@codesourcery.com>
25414 Jim Blandy <jimb@codesourcery.com>
25415
25416 * Makeconfig (test-wrapper): New variable,
25417 (test-wrapper-env): Likewise.
25418 [$(cross-compiling) = yes && $(test-wrapper) != ""]
25419 (run-built-tests): Define to yes.
25420 (run-program-prefix): Use $(test-wrapper).
25421 (built-program-cmd): Likewise.
25422 * Rules (make-test-out): Use $(test-wrapper-env) and
25423 $(host-built-program-cmd).
25424 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25425 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25426 tst-pathopt.sh.
25427 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25428 $(test-wrapper-env) to tst-rtld-load-self.sh.
25429 ($(objpfx)order2.out): Use $(test-wrapper).
25430 ($(objpfx)tst-initorder.out): Likewise.
25431 ($(objpfx)tst-initorder2.out): Likewise.
25432 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25433 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25434 (test_wrapper_env): New variable. Use it to run ld.so.
25435 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25436 Use it to run ld.so.
25437 (test_wrapper_env): Likewise.
25438 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25439 $(test-wrapper) to run-iconv-test.sh.
25440 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
25441 (ICONV): Use $test_wrapper.
25442 * posix/Makefile ($(objpfx)globtest.out): Pass
25443 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
25444 globtest.sh, not $(run-program-prefix).
25445 * posix/globtest.sh (run_via_rtld_prefix): New variable.
25446 (test_wrapper): Likewise.
25447 (test_wrapper_env): Likewise. Use it to run globtest with HOME
25448 set together with run_via_rtld_prefix.
25449 (run_program_prefix): Define in terms of test_wrapper and
25450 run_via_rtld_prefix.
25451
6e6249d0
RM
254522012-10-24 Roland McGrath <roland@hack.frob.com>
25453
25454 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
25455 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
25456 Targets removed.
25457
25458 [BZ #14743]
25459 * include/time.h: Remove librt_hidden_proto (clock_gettime).
25460 Declare __clock_getres, __clock_gettime, __clock_settime,
25461 __clock_nanosleep, and __clock_getcpuclockid.
25462 * rt/clock_gettime.c: Define __clock_gettime as an alias.
25463 Remove librt_hidden_def (clock_gettime).
25464 * sysdeps/unix/clock_gettime.c: Likewise.
25465 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
25466 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25467 * rt/clock_getres.c: Define __clock_getres as an alias.
25468 * sysdeps/posix/clock_getres.c: Likewise.
25469 * rt/clock_settime.c: Define __clock_settime as an alias.
25470 * sysdeps/unix/clock_settime.c: Likewise.
25471 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
25472 * sysdeps/unix/clock_nanosleep.c: Likewise.
25473 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25474 * rt/clock-compat.c: New file.
25475 * rt/Makefile (librt-routines): Add clock-compat and move
25476 $(clock-routines) to ...
25477 (routines): ... here, new variable.
25478 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
25479 Don't add get_clockfreq here.
25480 * rt/Versions (libc: GLIBC_2.17): New version set.
25481 Add clock_* symbols here.
25482 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
25483 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
25484 (GLIBC_2.17): Add clock_* symbols.
25485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25486 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25487 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25489 Likewise.
25490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25491 Likewise.
25492 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25493 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25494 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25496 * NEWS: Mention the move.
25497
25498 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25499 Use __open, __read, __close rather than their public counterparts.
25500 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25501 (__get_clockfreq_via_cpuinfo): Likewise.
25502 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
25503 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
25504
25505 * config.h.in (HAVE_IFUNC): New #undef.
25506 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
25507 was successful.
25508 * configure: Regenerated.
25509
0cae3f4b
MF
255102012-10-24 Mike Frysinger <vapier@gentoo.org>
25511
25512 * configure.in: Move READELF check to start of file.
25513 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
25514 libc_cv_asm_gnu_indirect_function in the process.
25515 * configure: Regenerated.
25516
8175a253
MF
255172012-10-24 Mike Frysinger <vapier@gentoo.org>
25518
25519 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
25520 send the output to /dev/null.
25521 (libc_cv_cc_with_libunwind): Likewise.
25522 (libc_cv_as_noexecstack): Likewise.
25523 * configure: Regenerate.
25524
0708a7d1
JM
255252012-10-24 Joseph Myers <joseph@codesourcery.com>
25526
10b40d85
JM
25527 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
25528
0708a7d1
JM
25529 * posix/globtest.sh (TMPDIR): Do not set.
25530 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
25531 (testout): Likewise.
25532
9fddec1a
AJ
255332012-10-24 Andreas Jaeger <aj@suse.de>
25534
3a8db22f
AJ
25535 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
25536 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
25537 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
25538 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
25539 posix_fadvise64, posix_fallocate64.
25540
9fddec1a
AJ
25541 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
25542 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
25543 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
25544 Likewise.
25545 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
25546 Likewise.
25547 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
25548
25549 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
25550 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
25551 <bits/fcntl-linux.h>.
25552 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
25553
25554 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
25555 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
25556 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
25557 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
25558 [__WORDSIZE != 64]: Likewise.
25559
ebfd1bbd
JM
255602012-10-23 Joseph Myers <joseph@codesourcery.com>
25561
03ac099f
JM
25562 * Makeconfig (run-built-tests): New variable.
25563 * Rules [$(cross-compiling) = yes]: Change condition to
25564 [$(run-built-tests) = no].
25565 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
25566 to [$(run-built-tests) = yes].
25567 * elf/Makefile [$(cross-compiling) = no]: Likewise
25568 * grp/Makefile [$(cross-compiling) = no]: Likewise.
25569 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
25570 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
25571 * intl/Makefile [$(cross-compiling) = no]: Likewise.
25572 * io/Makefile [$(cross-compiling) = no]: Likewise.
25573 * libio/Makefile [$(cross-compiling) = no]: Likewise.
25574 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
25575 * misc/Makefile [$(cross-compiling) = no]: Likewise.
25576 * posix/Makefile [$(cross-compiling) = no]: Likewise.
25577 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
25578 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
25579 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
25580 * string/Makefile [$(cross-compiling) = no]: Likewise.
25581
ebfd1bbd
JM
25582 * posix/Makefile ($(objpfx)globtest.out): Pass
25583 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
25584 $(rtld-installed-name).
25585 * posix/globtest.sh (elf_objpfx): Remove variable.
25586 (rtld_installed_name): Likewise.
25587 (library_path): Likewise.
25588 (run_program_prefix): New variable. Use for running globtest
25589 binary.
25590
166bca24
JB
255912012-10-23 Jim Blandy <jimb@codesourcery.com>
25592 Joseph Myers <joseph@codesourcery.com>
25593
25594 * Makeconfig (host-built-program-cmd): New variable.
25595 * elf/Makefile (tst-stackguard1-ARGS): Use
25596 $(host-built-program-cmd).
25597 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
25598 (tst-spawn-ARGS): Likewise.
25599 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
25600
88866099
JM
256012012-10-23 Joseph Myers <joseph@codesourcery.com>
25602 Jim Blandy <jimb@codesourcery.com>
25603
25604 * Makeconfig (run-via-rtld-prefix): New variable.
25605 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
25606 (built-program-cmd): Likewise.
25607
b4b4c296
AJ
256082012-10-22 Andreas Jaeger <aj@suse.de>
25609
25610 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
25611 __O_RSYNC if it exists, otherwise to O_SYNC.
25612
6fb54a22
JB
256132012-10-22 Jim Blandy <jimb@codesourcery.com>
25614 Joseph Myers <joseph@codesourcery.com>
25615
25616 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
25617 /dev/null.
25618 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
25619 from /dev/null
25620 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
25621 /dev/null.
25622
481b90b9
AJ
256232012-10-22 Andreas Jaeger <aj@suse.de>
25624
2a0e2669
AJ
25625 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
25626 Define always.
25627 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
25628
76e38f9a
AJ
25629 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25630 bits/fcntl-linux.h.
25631
7cd37b43
AJ
25632 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
25633 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
25634
481b90b9
AJ
25635 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
25636 to __O_LARGEFILE.
25637 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
25638 to __O_LARGEFILE.
25639
aba75984
JB
256402012-10-21 Jim Blandy <jimb@codesourcery.com>
25641 Joseph Myers <joseph@codesourcery.com>
25642
25643 * config.make.in (NM): New variable.
25644
88d4247f
AJ
256452012-10-21 Andreas Jaeger <aj@suse.de>
25646
25647 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
25648 definitions and declarations that are provided by
25649 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25650
f2eed205
L
256512012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25652
25653 [BZ #14683]
25654 * elf/Makefile (tests-static): Add tst-leaks1-static.
25655 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
25656 ($(objpfx)tst-leaks1-static): New rule.
25657 ($(objpfx)tst-leaks1-static-mem): Likewise.
25658 (tst-leaks1-static-ENV): New macro.
25659 * elf/dl-open.c (dl_open_worker): Check the main application
25660 only if SHARED is defined.
25661 * elf/tst-leaks1-static.c: New file.
25662
335e6931
AJ
256632012-10-20 Andreas Jaeger <aj@suse.de>
25664
25665 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
25666 generic values for Linux.
25667 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
25668 and declarations that are provided by <bits/fcntl-linux.h> and
25669 include <bits/fcntl-linux.h>.
25670 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25671 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25672
ac5c94d3
RM
256732012-10-20 Roland McGrath <roland@hack.frob.com>
25674
25675 * io/fcntl.h: Move include of <bits/types.h> to the top and
25676 include it unconditionally.
25677
de54b33a
L
256782012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25679
228cfb01
L
25680 * wcsmbs/Makefile (tests-ifunc): New variable.
25681 (tests): Add $(tests-ifunc).
25682 * wcsmbs/test-wcschr-ifunc.c: New file.
25683 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25684 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25685 * wcsmbs/test-wcslen-ifunc.c: Likewise.
25686 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25687 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25688
69f07e5f
L
25689 * string/Makefile (tests-ifunc): New variable.
25690 (tests): Add $(tests-ifunc).
25691 * string/test-memccpy.c (TEST_NAME): New macro.
25692 * string/test-memchr.c (TEST_NAME): Likewise.
25693 * string/test-memcmp.c (TEST_NAME): Likewise.
25694 * string/test-memcpy.c (TEST_NAME): Likewise.
25695 * string/test-memmem.c (TEST_NAME): Likewise.
25696 * string/test-memmove.c (TEST_NAME): Likewise.
25697 * string/test-memset.c (TEST_NAME): Likewise.
25698 * string/test-rawmemchr.c (TEST_NAME): Likewise.
25699 * string/test-stpcpy.c (TEST_NAME): Likewise.
25700 * string/test-stpncpy.c (TEST_NAME): Likewise.
25701 * string/test-strcasecmp.c (TEST_NAME): Likewise.
25702 * string/test-strcasestr.c (TEST_NAME): Likewise.
25703 * string/test-strcat.c (TEST_NAME): Likewise.
25704 * string/test-strchr.c (TEST_NAME): Likewise.
25705 * string/test-strcmp.c(TEST_NAME): Likewise.
25706 * string/test-strcpy.c (TEST_NAME): Likewise.
25707 * string/test-strcspn.c (TEST_NAME): Likewise.
25708 * string/test-strlen.c (TEST_NAME): Likewise.
25709 * string/test-strncasecmp.c (TEST_NAME): Likewise.
25710 * string/test-strncmp.c (TEST_NAME): Likewise.
25711 * string/test-strncpy.c (TEST_NAME): Likewise.
25712 * string/test-strnlen.c (TEST_NAME): Likewise.
25713 * string/test-strpbrk.c (TEST_NAME): Likewise.
25714 * string/test-strrchr.c (TEST_NAME): Likewise.
25715 * string/test-strspn.c (TEST_NAME): Likewise.
25716 * string/test-strstr.c (TEST_NAME): Likewise.
25717 * string/test-bcopy-ifunc.c: New file.
25718 * string/test-bzero-ifunc.c: Likewise.
25719 * string/test-memccpy-ifunc.c: Likewise.
25720 * string/test-memchr-ifunc.c: Likewise.
25721 * string/test-memcmp-ifunc.c: Likewise.
25722 * string/test-memcpy-ifunc.c: Likewise.
25723 * string/test-memmem-ifunc.c: Likewise.
25724 * string/test-memmove-ifunc.c: Likewise.
25725 * string/test-mempcpy-ifunc.c: Likewise.
25726 * string/test-memset-ifunc.c: Likewise.
25727 * string/test-rawmemchr-ifunc.c: Likewise.
25728 * string/test-stpcpy-ifunc.c: Likewise.
25729 * string/test-stpncpy-ifunc.c: Likewise.
25730 * string/test-strcasecmp-ifunc.c: Likewise.
25731 * string/test-strcasestr-ifunc.c: Likewise.
25732 * string/test-strcat-ifunc.c: Likewise.
25733 * string/test-strchr-ifunc.c: Likewise.
25734 * string/test-strchrnul-ifunc.c: Likewise.
25735 * string/test-strcmp-ifunc.c: Likewise.
25736 * string/test-strcpy-ifunc.c: Likewise.
25737 * string/test-strcspn-ifunc.c: Likewise.
25738 * string/test-strlen-ifunc.c: Likewise.
25739 * string/test-strncasecmp-ifunc.c: Likewise.
25740 * string/test-strncat-ifunc.c: Likewise.
25741 * string/test-strncmp-ifunc.c: Likewise.
25742 * string/test-strncpy-ifunc.c: Likewise.
25743 * string/test-strnlen-ifunc.c: Likewise.
25744 * string/test-strpbrk-ifunc.c: Likewise.
25745 * string/test-strrchr-ifunc.c: Likewise.
25746 * string/test-strspn-ifunc.c: Likewise.
25747 * string/test-strstr-ifunc.c: Likewise.
25748
de54b33a
L
25749 * debug/Makefile (tests-ifunc): New variable.
25750 (tests): Add $(tests-ifunc).
25751 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
25752 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
25753 * debug/test-stpcpy_chk-ifunc.c: New file.
25754 * debug/test-strcpy_chk-ifunc.c: Likewise.
25755
88481c16
SP
257562012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25757
25758 [BZ #13601]
25759 * elf/dl-load.c (open_verify): Retry read if the entire ELF
25760 header is not read in.
25761
135948bd
JM
257622012-10-19 Joseph Myers <joseph@codesourcery.com>
25763
89f1c388
JM
25764 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
25765 script to $(SHELL) as $<. Pass $(common-objpfx) to script
25766 directly. Pass built executable to script as
25767 $(built-program-cmd).
25768 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
25769 $testprogram without using LD_LIBRARY_PATH and $ldso.
25770
e40a0d21
JM
25771 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
25772 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
25773 $(rtld-installed-name).
25774 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
25775 (rtld_installed_name): Likewise.
25776 (library_path): Likewise.
25777 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
25778 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
25779 $(run-program-prefix) to tst-tables.sh.
25780 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
25781 it to run tst-table-from and tst-table-to.
25782 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
25783 Pass it to tst-table.sh.
25784 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
25785 $(run-program-prefix) to tst-gettext.sh.
25786 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
25787 tst-translit.sh.
25788 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
25789 tst-gettext2.sh.
25790 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
25791 to run tst-gettext.
25792 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
25793 to run tst-gettext2.
25794 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
25795 to run tst-translit.
25796 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
25797 $(run-program-prefix) to tst-mtrace.sh.
25798 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
25799 to run tst-mtrace.
25800 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
25801 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
25802 $(rtld-installed-name).
25803 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
25804 (rtld_installed_name): Likewise.
25805 (run_program_prefix): New variable. Use it to run wordexp-test.
25806
728e272a
JM
25807 * Makeconfig (ARCH): Remove all definitions.
25808 (machine): Likewise.
25809 [ARCH]: Remove conditional code.
25810 [!objdir]: Give error.
25811 [!objdir] (objpfx): Remove.
25812 [!objdir] (common-objpfx): Likewise.
25813 [!objdir] (common-objdir): Likewise.
25814 * configure.in (config_makefile): Remove. Hardcode Makefile in
25815 AC_CONFIG_FILES call.
25816 * configure: Regenerated.
25817
d528cdcf
JM
25818 [BZ #13888]
25819 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
25820 or TMPDIR.
25821 (testout): Likewise.
25822
135948bd
JM
25823 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
25824 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
25825 $(rtld-installed-name).
25826 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
25827 (rtld_installed_name): Likwise.
25828 (runit): Remove function.
25829 (run_getconf): New variable, Use it for running getconf binary.
25830
38c78296
L
258312012-10-18 H.J. Lu <hongjiu.lu@intel.com>
25832
25833 [BZ #14716]
25834 * string/test-memmem.c (check_result): New function.
25835 (do_one_test): Use it.
25836 (check1): New function.
25837 (test_main): Use it.
25838
d077f65f
MT
258392012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
25840
25841 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
25842
ced52c71
JM
258432012-10-18 Joseph Myers <joseph@codesourcery.com>
25844
25845 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
25846 (_G_LSEEK64): Likewise.
25847 (_G_MMAP64): Likewise.
25848 (_G_FSTAT64): Likewise.
25849 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
25850 (_G_LSEEK64): Likewise.
25851 (_G_MMAP64): Likewise.
25852 (_G_FSTAT64): Likewise.
25853 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
25854 unconditional. Call __mmap64 directly.
25855 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
25856 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
25857 __lseek64 directly.
25858 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
25859 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
25860 __mmap64 directly.
25861 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
25862 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
25863 __lseek64 directly.
25864 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
25865 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
25866 __lseek64 directly.
25867 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
25868 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
25869 __lseek64 directly.
25870 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
25871 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
25872 __fxstat64 directly.
25873 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
25874 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
25875 unconditional.
25876 (freopen64) [!_G_OPEN64]: Remove conditional code.
25877 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
25878 unconditional.
25879 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
25880 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
25881 unconditional.
25882 (ftello64) [!_G_LSEEK64]: Remove conditional code.
25883 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
25884 unconditional.
25885 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25886 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
25887 unconditional.
25888 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
25889 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
25890 unconditional.
25891 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25892 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
25893 unconditional.
25894 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25895 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
25896 unconditional.
25897 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25898
b741de23
SP
258992012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25900
25901 [BZ #12140]
25902 * manual/memory.texi (Malloc Tunable Parameters): Add note
25903 about free list pointers overwriting some perturb bytes.
25904 Wording suggested by Roland McGrath.
25905
f9b9d9c9
JM
259062012-10-17 Joseph Myers <joseph@codesourcery.com>
25907
25908 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
25909 (lgamma_test): Likewise.
25910 (tgamma_test): Likewise.
25911
172a631a
FW
259122012-10-16 Florian Weimer <fweimer@redhat.com>
25913
25914 [BZ #14700]
25915 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
25916 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
25917
e9f37252
MK
259182012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
25919
25920 * NEWS: Mention BZ #14716.
25921 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
25922 when removing AVAILABLE1_USES_J macro.
25923
d394eb74
L
259242012-10-12 H.J. Lu <hongjiu.lu@intel.com>
25925
25926 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
25927 (__bswap_64): __uint64_t for unsigned 64-bit int.
25928
ca38dc17
AS
259292012-10-12 Andreas Schwab <schwab@linux-m68k.org>
25930
25931 * include/string.h (memmem): Declare libc hidden alias.
25932 * string/memmem.c (memmem): Define libc hidden alias.
25933 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
25934 __read, __close instead of open, read, close.
25935
9a387d1f
L
259362012-10-11 H.J. Lu <hongjiu.lu@intel.com>
25937
ac49ecaf
L
25938 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
25939 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
25940 global and hidden.
25941 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
25942 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
25943 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
25944 Likewise.
25945 (__rawmemchr_sse2): Likewise.
25946 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
25947 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
25948 (__strchr_sse2): Likewise.
25949 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
25950 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
25951 (__strcasecmp_sse2): Likewise.
25952 (__strncasecmp_sse2): Likewise.
25953 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
25954 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
25955 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
25956 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
25957 (__strrchr_sse2): Likewise.
25958 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
25959 ifunc-impl-list.c.
25960 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25961 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25962 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25963 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25964 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25965 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25966 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25967 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25968 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
25969 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
25970 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
25971 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
25972 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
25973 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25974 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25975 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25976 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25977 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25978 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
25979 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
25980 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
25981 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
25982 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
25983 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25984 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
25985 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25986 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25987 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25988 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25989 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25990
b090e8ea
L
25991 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
25992 global and hidden.
25993 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
25994 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
25995 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
25996 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
25997 Likewise.
25998 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
25999 Likewise.
26000 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26001 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26002 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26003 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26004 ifunc-impl-list.c.
26005 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26006 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26007 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26008 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26009 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26010 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26011 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26012 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26013 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26014 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26015 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26016 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26017 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26018 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26019 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26020 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26021 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26022 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26023 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26024 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26025 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26026 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26027 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26028 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26029 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26030 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26031 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26032 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26033 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26034 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26035 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26036 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26037 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26038 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26039 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26040 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26041 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26042 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26043 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26044 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26045 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26046
11dd4af6
L
26047 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26048 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26049 * include/ifunc-impl-list.h: New file.
26050 * misc/ifunc-impl-list.c: Likewise.
26051 * misc/Makefile (routines): Add ifunc-impl-list.
26052 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26053 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
26054 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26055 TEST_NAME]: New variables.
11dd4af6
L
26056 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26057 are defined.
26058 (test_init): Call __libc_ifunc_impl_list to initialize
26059 func_list if TEST_IFUNC and TEST_NAME are defined.
26060
9a387d1f
L
26061 * string/Makefile (strop-tests): Add bcopy and bzero.
26062 * string/test-bcopy.c: New file.
26063 * string/test-bzero.c: Likewise.
26064 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26065 defined.
26066 * string/test-memset.c: Support bzero test if TEST_BZERO is
26067 defined.
26068 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26069 __libc_memmove.
26070 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26071 __libc_memset.
26072 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26073 of memset.
26074
472371b9
JM
260752012-10-10 Joseph Myers <joseph@codesourcery.com>
26076
1e4a9536
JM
26077 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26078 * configure: Regenerated.
26079
d173d12e
JM
26080 * Makeconfig (+link-static-before-libc): Don't include
26081 $(link-static-libc).
26082
472371b9
JM
26083 * libio/libio.h (_IO_pos_t): Remove.
26084
89a3ad0b
AO
260852012-10-10 Alexandre Oliva <aoliva@redhat.com>
26086
26087 * NEWS: Add note about FIPS mode. Wording suggested by Roland
26088 McGrath.
26089
e7451425
AO
260902012-10-10 Alexandre Oliva <aoliva@redhat.com>
26091
26092 * crypt/crypt-entry.c: Include fips-private.h.
26093 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26094 * crypt/md5c-test.c (main): Tolerate disabled MD5.
26095 * sysdeps/unix/sysv/linux/fips-private.h: New file.
26096 * sysdeps/generic/fips-private.h: New file, dummy fallback.
26097
4ba74a35
AO
260982012-10-10 Alexandre Oliva <aoliva@redhat.com>
26099
26100 * crypt/crypt-private.h: Include stdbool.h.
26101 (_ufc_setup_salt_r): Return bool.
26102 * crypt/crypt-entry.c: Include errno.h.
26103 (__crypt_r): Return NULL with EINVAL for bad salt.
26104 * crypt/crypt_util.c (bad_for_salt): New.
26105 (_ufc_setup_salt_r): Check that salt is long enough and within
26106 the specified alphabet.
26107 * crypt/badsalttest.c: New file.
26108 * crypt/Makefile (tests): Add it.
26109 ($(objpfx)badsalttest): New.
26110
f96f1242
MK
261112012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
26112
26113 * NEWS: Add entry for BZ #14602.
26114
0e8e0c1c
JM
261152012-10-09 Joseph Myers <joseph@codesourcery.com>
26116
26117 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26118 type-generic.
26119 * math/libm-test.inc: Update comment listing what functions and
26120 macros are tested.
26121 (isgreater_test): New function.
26122 (isgreaterequal_test): Likewise.
26123 (isless_test): Likewise.
26124 (islessequal_test): Likewise.
26125 (islessgreater_test): Likewise.
26126 (isunordered_test): Likewise.
26127 (main): Call the new functions.
26128
273edc5e
RM
261292012-10-09 Roland McGrath <roland@hack.frob.com>
26130
b8493de0
RM
26131 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26132 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26133 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26134 * sysdeps/i386/configure: Regenerated.
26135 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26136 * sysdeps/mach/configure: Regenerated.
26137 * sysdeps/mach/hurd/configure: Regenerated.
26138 * sysdeps/powerpc/configure: Regenerated.
26139 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26140 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26141 * sysdeps/s390/s390-32/configure: Regenerated.
26142 * sysdeps/s390/s390-64/configure: Regenerated.
26143 * sysdeps/sh/configure: Regenerated.
26144 * sysdeps/sparc/configure: Regenerated.
26145 * sysdeps/unix/sysv/linux/configure: Regenerated.
26146 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26147 * sysdeps/x86_64/configure: Regenerated.
26148
273edc5e
RM
26149 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26150 defined. Don't check if MAP is NULL.
26151
c8450f70
JM
261522012-10-09 Joseph Myers <joseph@codesourcery.com>
26153
26154 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26155 (_G_stat64): Likewise.
26156 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26157 (_G_stat64): Likewise.
26158 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26159 instead of struct _G_stat64.
26160 * libio/fileops.c (mmap_remap_check): Likewise.
26161 (decide_maybe_mmap): Likewise.
26162 (_IO_new_file_seekoff): Likewise.
26163 (_IO_file_stat): Likewise.
26164 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26165 _G_off64_t.
26166 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26167 instead of struct _G_stat64.
26168 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26169
57e605ba
MK
261702012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
26171
26172 [BZ #14602]
26173 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26174 Replace with ...
26175 (CHECK_EOL): New macro.
26176 (two_way_short_needle): Check beginning of haystack for EOL. Use
26177 CHECK_EOL.
26178 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26179 Replace with CHECK_EOL.
26180 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26181 Replace with CHECK_EOL.
26182
ef1bb361
JM
261832012-10-08 Joseph Myers <joseph@codesourcery.com>
26184
26185 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26186 type-generic.
26187 * math/libm-test.inc: Update comment listing what functions and
26188 macros are tested.
26189 (finite_test): New function.
26190 (isinf_test): Likewise.
26191 (isnan_test): Likewise.
26192 (fpclassify_test): Test subnormal input.
26193 (isfinite_test): Likewise.
26194 (isnormal_test): Likewise.
26195 (main): Call the new functions.
26196
55f11534
JN
261972012-10-08 Jonathan Nieder <jrnieder@gmail.com>
26198
26199 [BZ #14660]
26200 * Makerules (%.dynsym): Force C locale when running
26201 $(OBJDUMP) --dynamic-syms.
26202
1ab29350
AS
262032012-10-08 Andreas Schwab <schwab@linux-m68k.org>
26204
26205 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26206 <stdint.h>.
26207
f1ecb7ef
DM
262082012-10-06 David S. Miller <davem@davemloft.net>
26209
26210 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26211 upper 32-bits of the length value in %o2 since we use branch-on-register
26212 tests which consider the entire 64-bit register.
26213
5d41d91a
L
262142012-10-06 H.J. Lu <hongjiu.lu@intel.com>
26215
26216 * string/test-strstr.c (check2): Add a test for page boundary.
26217
3baddb72
DM
262182012-10-05 David S. Miller <davem@davemloft.net>
26219
26220 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26221 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26222 file.
26223 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26224 sysdep_routines.
26225 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26226 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26227 and bzero when HWCAP_SPARC_CRYPTO is present.
26228
9cee5585
L
262292012-10-05 H.J. Lu <hongjiu.lu@intel.com>
26230
d7e0dab9
L
26231 [BZ #14602]
26232 * string/test-strstr.c (check2): New function.
26233 (test_main): Call check2.
26234
03759f47
L
26235 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26236 and bug-strchr1.
26237 * string/bug-strcasestr1.c (do_test): Moved to ...
26238 * string/test-strcasestr.c (check1): Here. New function.
26239 (do_one_test): Break out result checking code into ...
26240 (check_result): This. New function.
26241 (do_one_test): Call check_result.
26242 (test_main): Call check1.
26243 * string/bug-strchr1.c (do_test): Moved to ...
26244 * string/test-strchr.c (check1): Here. New function.
26245 (do_one_test): Break out result checking code into ...
26246 (check_result): This. New function.
26247 (do_one_test): Call check_result.
26248 (test_main): Call check1.
26249 * string/bug-strstr1.c (main): Moved to ...
046f153e 26250 * string/test-strstr.c (check1): Here. New function.
03759f47
L
26251 (do_one_test): Break out result checking code into ...
26252 (check_result): This. New function.
26253 (do_one_test): Call check_result.
26254 (test_main): Call check1.
26255 * string/bug-strcasestr1.c: Removed.
26256 * string/bug-strchr1.c: Likewise.
26257 * string/bug-strstr1.c: Likewise.
26258
53cea63e
L
26259 * elf/Makefile (dl-routines): Add hwcaps.
26260 * elf/dl-support.c (_dl_important_hwcaps): Removed.
26261 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26262 (_dl_important_hwcaps): Moved to ...
26263 * elf/dl-hwcaps.c: Here. New file.
26264 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26265
9cee5585 26266 [BZ #14557]
bb859b06
L
26267 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26268 if IS_IN_rtld isn't defined.
26269
9cee5585
L
26270 * elf/dl-support.c (_dl_sysinfo_map): New.
26271 Include "get-dynamic-info.h" and "setup-vdso.h".
26272 (_dl_non_dynamic_init): Call setup_vdso.
26273 * elf/dynamic-link.h: Don't include <assert.h>.
26274 (elf_get_dynamic_info): Moved to ...
26275 * elf/get-dynamic-info.h: Here. New file.
26276 * elf/dynamic-link.h: Include "get-dynamic-info.h".
26277 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26278 * elf/setup-vdso.h: Here. New file.
26279 * elf/rtld.c: Include "setup-vdso.h".
26280 (dl_main): Call setup_vdso.
26281
23c31b76
JM
262822012-10-05 Joseph Myers <joseph@codesourcery.com>
26283
28234b07
JM
26284 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26285 creal in comment listing functions tested. List finite, isinf,
26286 isnan, isless, islessequal, isgreater, isgreaterequal,
26287 islessgreater, isunordered, lgamma_r and pow10 as functions and
26288 macros not tested. Mention which functions not tested are aliases
26289 for other functions. Fix typo. Note that signs of NaNs are not
26290 tested.
26291
23c31b76
JM
26292 * scripts/config.guess: Update from config.git.
26293 * scripts/config.sub: Likewise.
26294
9043e228
RM
262952012-10-04 Roland McGrath <roland@hack.frob.com>
26296
26297 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26298 * misc/madvise.c (madvise): Renamed to __madvise.
26299 Make madvise a weak alias.
26300 * include/sys/mman.h: Declare __madvise.
26301 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26302 * sysdeps/unix/syscalls.list
26303 (madvise): Make __madvise the strong name, and madvise a weak alias.
26304 * sysdeps/unix/sysv/linux/syscalls.list
26305 (madvise, mmap): Remove redundant entries.
26306 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26307 * malloc/malloc.c (mtrim): Likewise.
26308 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26309
f57f8055
RM
263102012-10-03 Roland McGrath <roland@hack.frob.com>
26311
26312 * sysdeps/mach/hurd/dl-cache.c: File removed.
26313 * config.h.in (USE_LDCONFIG): New #undef.
26314 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26315 * configure: Regenerated.
26316 * elf/Makefile (dl-routines): Add dl-cache only under
26317 [$(use-ldconfig) = yes].
26318 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26319 cache on [USE_LDCONFIG].
26320 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26321 [USE_LDCONFIG].
26322 * elf/rtld.c (dl_main): Likewise.
26323
5bb0c10a
PT
263242012-10-03 Pino Toscano <toscano.pino@tiscali.it>
26325
26326 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26327 _SC_LEVEL4_CACHE_LINESIZE.
26328
010188c6
RM
263292012-10-03 Roland McGrath <roland@hack.frob.com>
26330
26331 * sysdeps/unix/bsd/confstr.h: File removed.
26332
b6c5ec07
AO
263332012-10-02 Alexandre Oliva <aoliva@redhat.com>
26334
26335 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26336 sys/sdt-config.h.
26337
408223d4
RM
263382012-10-02 Roland McGrath <roland@hack.frob.com>
26339
26340 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26341 Make 'mapoff' field ElfW(Off) rather than off_t.
26342
bb9510dc
DL
263432012-10-02 Dmitry V. Levin <ldv@altlinux.org>
26344
fc997c6e
DL
26345 * nscd/Makefile: Remove nscd-cflags and all its users.
26346 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26347 (CFLAGS-nonlib): Add compiler flags for nscd modules.
26348
bb9510dc
DL
26349 [BZ #10631]
26350 * malloc.c (malloc_printerr): Clarify error message.
26351
05699367
L
263522012-10-02 H.J. Lu <hongjiu.lu@intel.com>
26353
26354 [BZ #14648]
26355 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26356 Set bit_FMA_Usable if FMA is supported.
26357 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26358 macro.
26359 (bit_FMA4_Usable): Updated.
26360 (index_FMA_Usable): New macro.
26361 (CPUID_FMA): Likewise
26362 (HAS_FMA): Defined with bit_FMA_Usable.
26363
51367701
RM
263642012-10-01 Roland McGrath <roland@hack.frob.com>
26365
26366 * bits/types.h (__swblk_t): Type removed.
26367 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26368 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26369 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26370 (__SWBLK_T_TYPE): Likewise.
26371 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26372 (__SWBLK_T_TYPE): Likewise.
26373 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26374 (__SWBLK_T_TYPE): Likewise.
26375 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26376 (__SWBLK_T_TYPE): Likewise.
26377
4d57bf63 263782012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 26379 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
26380
26381 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26382 (xdr_mapname): Use YPMAXMAP as maxsize.
26383 (xdr_peername): Use YPMAXPEER as maxsize.
26384 (xdr_keydat): Use YPAXRECORD as maxsize.
26385 (xdr_valdat): Use YPMAXRECORD as maxsize.
26386
93c65d43
RM
263872012-10-01 Roland McGrath <roland@hack.frob.com>
26388
497a03d6
RM
26389 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26390
93c65d43
RM
26391 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26392 * csu/init-first.c: ... here.
26393 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26394 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26395 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26396 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26397 * sysdeps/i386/init-first.c: File removed.
26398 * sysdeps/sh/init-first.c: File removed.
26399
bec749fd
JM
264002012-10-01 Joseph Myers <joseph@codesourcery.com>
26401
26402 [BZ #14645]
26403 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26404 if x * y might underflow to zero and z is zero.
26405 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26406 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26407 * math/libm-test.inc (min_subnorm_value): New variable.
26408 (fma_test): Add more tests.
26409 (fma_test_towardzero): Likewise.
26410 (fma_test_downward): Likewise
26411 (fma_test_upward): Likewise.
26412 (initialize): Set min_subnorm_value.
26413
8ec5b013
JM
264142012-09-29 Joseph Myers <joseph@codesourcery.com>
26415
26416 [BZ #14638]
26417 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26418 0 + 0.
26419 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26420 mode for addition resulting in exact zero.
26421 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26422 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26423 exact 0 + 0.
26424 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26425 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26426 * math/libm-test.inc (fma_test): Add more tests.
26427 (fma_test_towardzero): New function.
26428 (fma_test_downward): Likewise.
26429 (fma_test_upward): Likewise.
26430 (main): Call the new functions.
26431
b1fa802e
DM
264322012-09-28 David S. Miller <davem@davemloft.net>
26433
26434 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26435
d3b9fd9e
RM
264362012-09-28 Roland McGrath <roland@hack.frob.com>
26437
ea4d37b3
RM
26438 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26439 instead of SIGALRM.
26440
ac51c949
RM
26441 * sysdeps/gnu/_G_config.h: Moved to ...
26442 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
26443 * sysdeps/mach/hurd/_G_config.h: Moved to ...
26444 * sysdeps/generic/_G_config.h: ... here.
26445
28c195f7
RM
26446 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
26447
848917f9
RM
26448 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
26449
6bacf05b
RM
26450 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
26451 Conditionalize target on [libnss_test1.so-version].
26452
91363dbb
RM
26453 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
26454
cc87f7d8
RM
26455 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
26456 (elfobjdir): Move out of conditionals.
26457
b1c608fe
RM
26458 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
26459 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
26460 (__nss_lookup_function): Conditionalize label remove_from_tree on
26461 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 26462
1d9a6d96
DM
264632012-09-28 David S. Miller <davem@davemloft.net>
26464
26465 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
26466 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
26467 file.
26468 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26469 sysdep_routines.
26470 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26471 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
26472 when HWCAP_SPARC_CRYPTO is present.
26473
72581615
PT
264742012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26475
26476 * io/tst-mknodat.c: Create a FIFO instead of a socket.
26477
715a900c
JL
264782012-09-28 Andreas Schwab <schwab@linux-m68k.org>
26479
26480 [BZ #6530]
26481 * stdio-common/vfprintf.c (process_string_arg): Revert
26482 2000-07-22 change.
26483
264842011-09-28 Jonathan Nieder <jrnieder@gmail.com>
26485
26486 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
26487 for testcase.
26488 * stdio-common/tst-sprintf.c: Include <locale.h>
26489 (main): Test sprintf's handling of incomplete multibyte
26490 characters.
26491
9bac1d86
L
264922012-09-28 H.J. Lu <hongjiu.lu@intel.com>
26493
26494 * elf/dl-runtime.c (VERSYMIDX): Removed.
26495 * elf/dl-version.c (VERSYMIDX): Likewise.
26496 * elf/do-rel.h (VERSYMIDX): Likewise.
26497 (VALIDX): Likewise.
26498 * elf/dynamic-link.h (VERSYMIDX): Likewise.
26499 * elf/rtld.c (VALIDX): Likewise.
26500 (ADDRIDX): Likewise.
9bac1d86
L
26501 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
26502 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
26503 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
26504 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
26505 (VALIDX): Likewise.
26506 (ADDRIDX): Likewise.
9bac1d86 26507
b31606c0
PT
265082012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26509
26510 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
26511
11541177
JL
265122012-09-28 Dmitry V. Levin <ldv@altlinux.org>
26513
26514 [BZ #11438]
26515 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
26516 to global scope.
26517 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
26518 addresses are in the same scope as 192.0.2/24.
26519 * posix/gai.conf: Document new scope table defaults.
26520
adb26fae
SP
265212012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26522
26523 [BZ #5298]
26524 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
26525 for ftell. Compute offsets from write pointers instead.
26526 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26527
4573c6b0
SP
265282012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26529
26530 [BZ #14543]
26531 * libio/Makefile (tests): New test case tst-fseek.
26532 * libio/tst-fseek.c: New test case to verify that fseek/ftell
26533 combination works in wide mode.
26534 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
26535 state when the external buffer state changes.
26536
aa9bbfe6
DM
265372012-09-27 David S. Miller <davem@davemloft.net>
26538
26539 [BZ #14376]
26540 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
26541 pass reloc->r_addend in as the 'high' argument to
26542 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
26543
784421e7
DM
26544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26545
c39bc8b8
PT
265462012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26547
26548 * rt/tst-aio2.c: Include <pthread.h>.
26549 * rt/tst-aio3.c: Likewise.
26550
1ccc2399
SE
265512012-09-27 Steve Ellcey <sellcey@mips.com>
26552
26553 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
26554
31ed4153
L
265552012-09-27 H.J. Lu <hongjiu.lu@intel.com>
26556
25f5f885
L
26557 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
26558 contents on [SHARED].
31ed4153 26559
b7bfe116
MP
265602012-09-26 Marek Polacek <polacek@redhat.com>
26561
26562 [BZ #14530]
26563 [BZ #13741]
26564 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
26565 for C++ and GCC <4.3 as well as for non GCC compilers.
26566
43c4edba
MT
265672012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
26568
26569 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26570
6a1bf82f
RM
265712012-09-25 Roland McGrath <roland@hack.frob.com>
26572
26573 * Makefile.in (all, install): Declare with .PHONY.
26574 Reported by Michael Hope <michael.hope@linaro.org>.
26575
8ad11b9a
TMQMF
265762012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26577
26578 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
26579 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
26580 system header.
26581 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
26582 Likewise.
26583 (sydep_routines): Add the new and the internal functions.
26584 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
26585 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
26586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
26587 (GLIBC_2.17): Add the new function.
26588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26589 (GLIBC_2.17): Likewise.
26590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
26591 (GLIBC_2.17): Likewise.
26592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
26593 (GLIBC_2.17): Likewise.
26594 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
26595
7e2fca8d
AM
265962012-09-25 Alan Modra <amodra@gmail.com>
26597
26598 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
26599 Add release barrier before setting once_control to say
26600 initialisation is done. Add hints on lwarx. Use macro in
26601 place of isync.
26602 (clear_once_control): Add release barrier.
26603
b87c4b24
JM
266042012-09-25 Joseph Myers <joseph@codesourcery.com>
26605
d032e0d2
JM
26606 [BZ #13629]
26607 * math/s_clog.c (__clog): Handle more values close to |z| = 1
26608 specially.
26609 * math/s_clog10.c (__clog10): Likewise.
26610 * math/s_clog10f.c (__clog10f): Likewise.
26611 * math/s_clog10l.c (__clog10l): Likewise.
26612 * math/s_clogf.c (__clogf): Likewise.
26613 * math/s_clogl.c (__clogl): Likewise.
26614 * math/Makefile (libm-calls): Add x2y2m1.
26615 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
26616 (__x2y2m1): Likewise.
26617 (__x2y2m1l): Likewise.
26618 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
26619 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
26620 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
26621 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26622 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
26623 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
26624 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
26625 * sysdeps/i386/fpu/libm-test-ulps: Update.
26626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26627
b87c4b24
JM
26628 [BZ #14621]
26629 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
26630 int as type of variable DEPTH.
26631 (glob): Use size_t instead of int as type of variables NEWCOUNT
26632 and OLD_PATHC.
26633
6d3bf199
LD
266342012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26635
22bf5c17
LD
26636 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26637 Add s_sincosf-sse2.
26638 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
26639 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
26640 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
26641 macros for using routine as __sincosf_ia32.
26642 Use macro for function declaration and weak_alias.
26643 * sysdeps/i386/fpu/libm-test-ulps: Update.
26644
26645 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
26646 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26647
26648 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
26649 subnormal argument.
26650 * math/s_cexpf.c (__cexpf): Likewise.
26651 * math/s_csinf.c (__csinf): Likewise.
26652 * math/s_csinhf.c (__csinhf): Likewise.
26653 * math/s_ctanf.c (__ctanf): Likewise.
26654 * math/s_ctanhf.c (__ctanhf): Likewise.
26655 * math/s_ccosh.c (__ccoshf): Likewise.
26656 * math/s_cexp.c (__cexpl): Likewise.
26657 * math/s_csin.c (__csin): Likewise.
26658 * math/s_csinh.c (__csinh): Likewise.
26659 * math/s_ctan.c (__ctan): Likewise.
26660 * math/s_ctanh.c (ctanh): Likewise.
26661 * math/s_ccoshl.c (__ccoshl): Likewise.
26662 * math/s_cexpl.c (__cexpl): Likewise.
26663 * math/s_csinl.c (__csinl): Likewise.
26664 * math/s_csinhl.c (__csinhl): Likewise.
26665 * math/s_ctanl.c (__ctanl): Likewise.
26666 * math/s_ctanhl.c (__ctanhl): Likewise.
26667
203e5603
JM
266682012-09-25 Joseph Myers <joseph@codesourcery.com>
26669
26670 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
26671 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
26672 (_IO_off_t): Define to __off_t, not _G_off_t.
26673 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
26674 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
26675 (_IO_wint_t): Define to wint_t, not _G_wint_t.
26676 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
26677 type of __dummy and __dummy2 fields.
26678 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
26679 (_G_ssize_t): Likewise.
26680 (_G_off_t): Likewise.
26681 (_G_pid_t): Likewise.
26682 (_G_uid_t): Likewise.
26683 (_G_wchar_t): Likewise.
26684 (_G_wint_t): Likewise.
26685 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
26686 (_G_ssize_t): Likewise.
26687 (_G_off_t): Likewise.
26688 (_G_pid_t): Likewise.
26689 (_G_uid_t): Likewise.
26690 (_G_wchar_t): Likewise.
26691 (_G_wint_t): Likewise.
26692 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
26693 (_G_ssize_t): Likewise.
26694 (_G_off_t): Likewise.
26695 (_G_pid_t): Likewise.
26696 (_G_uid_t): Likewise.
26697 (_G_wchar_t): Likewise.
26698 (_G_wint_t): Likewise.
26699
9fab36eb
SP
267002012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26701
26702 * malloc/arena.c: Include malloc-sysdep.h.
26703 (shrink_heap): Use check_may_shrink_heap to decide if madvise
26704 is sufficient to shrink the heap or an unmap is needed.
26705 * sysdeps/generic/malloc-sysdep.h: New file. Define
26706 new function check_may_shrink_heap.
26707 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
26708 new function check_may_shrink_heap.
26709
2b4f00d1
SP
267102012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26711
26712 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
26713 comments.
26714
9a9028b1
DL
267152012-09-24 Dmitry V. Levin <ldv@altlinux.org>
26716
57c69bef
DL
26717 * catgets/test-gencat.sh: Add "set -e".
26718 * elf/tst-pathopt.sh: Likewise.
26719 * grp/tst_fgetgrent.sh: Likewise.
26720 * iconvdata/run-iconv-test.sh: Likewise.
26721 * intl/tst-gettext.sh: Likewise.
26722 * intl/tst-gettext2.sh: Likewise.
26723 * intl/tst-gettext4.sh: Likewise.
26724 * intl/tst-gettext6.sh: Likewise.
26725 * intl/tst-translit.sh: Likewise.
26726 * io/ftwtest-sh: Likewise.
26727 * libio/test-freopen.sh: Likewise.
26728 * malloc/tst-mtrace.sh: Likewise.
26729 * posix/globtest.sh: Likewise.
26730 * posix/tst-getconf.sh: Likewise.
26731 * posix/wordexp-tst.sh: Likewise.
26732 * stdio-common/tst-printf.sh: Likewise.
26733 * stdio-common/tst-unbputc.sh: Likewise.
26734 * stdlib/tst-fmtmsg.sh: Likewise.
26735 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26736 * catgets/Makefile: Do not specify -e option when running
26737 testsuite shell scripts.
26738 * elf/Makefile: Likewise.
26739 * grp/Makefile: Likewise.
26740 * iconvdata/Makefile: Likewise.
26741 * intl/Makefile: Likewise.
26742 * io/Makefile: Likewise.
26743 * libio/Makefile: Likewise.
26744 * malloc/Makefile: Likewise.
26745 * posix/Makefile: Likewise.
26746 * stdio-common/Makefile: Likewise.
26747 * stdlib/Makefile: Likewise.
26748 * sysdeps/x86_64/Makefile: Likewise.
26749
9a9028b1
DL
26750 * io/ftwtest-sh: Add copyright header.
26751 * posix/globtest.sh: Likewise.
26752 * posix/tst-getconf.sh: Likewise.
26753 * posix/wordexp-tst.sh: Likewise.
26754 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26755
ced6f16e
L
267562012-09-24 H.J. Lu <hongjiu.lu@intel.com>
26757
94b32c39
L
26758 [BZ #13679]
26759 * Makeconfig (+link): Defined as $(+link-static) if
26760 $(build-shared) isn't yes.
26761 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
26762 isn't yes.
26763 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
26764
189e935b
L
26765 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
26766
ced6f16e
L
26767 [BZ #14562]
26768 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
26769 new chunk size with MALLOC_ALIGN_MASK.
26770
a9f8e53a
JM
267712012-09-24 Joseph Myers <joseph@codesourcery.com>
26772
26773 [BZ #5044]
26774 * stdio-common/printf_fphex.c: Include <stdbool.h> and
26775 <rounding-mode.h>.
26776 (__printf_fphex): Determine rounding using get_rounding_mode and
26777 round_away.
26778 * stdio-common/tst-printf-round.c (struct hex_test): New
26779 structure.
26780 (hex_tests): New variable.
26781 (test_hex_in_one_mode): New function.
26782 (do_test): Also run tests for hex float output.
26783
43153109
JM
267842012-09-21 Joseph Myers <joseph@codesourcery.com>
26785
26786 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26787 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26788 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
26789 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26790 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26791 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
26792 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26793 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26794
8a26625d
JM
267952012-09-20 Joseph Myers <joseph@codesourcery.com>
26796
26797 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
26798 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
26799 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
26800 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
26801
f3fd569c
DL
268022012-09-19 Dmitry V. Levin <ldv@altlinux.org>
26803
26804 [BZ #14579]
26805 * elf/rtld.c (dl_main): Limit the check for self loading to normal
26806 mode only.
26807 * elf/tst-rtld-load-self.sh: New test.
26808 * elf/Makefile: Run it.
26809
63bbedd4
JM
268102012-09-18 Joseph Myers <joseph@codesourcery.com>
26811
26812 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
26813 (tst-writev-ENV): Remove.
26814 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
26815
626f8b6a
CM
268162012-09-17 Chris Metcalf <cmetcalf@tilera.com>
26817
26818 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
26819
b7aaa4d6
JM
268202012-09-17 Joseph Myers <joseph@codesourcery.com>
26821
26822 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
26823 unconditional.
26824 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
26825 Likewise.
26826 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
26827 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
26828 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
26829 Likewise.
26830
65513990
L
268312012-09-14 H.J. Lu <hongjiu.lu@intel.com>
26832
26833 [BZ #14587]
26834 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
26835 * config.make.in (have-cpp-asm-debuginfo): Removed.
26836 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
26837 * configure: Regenerated.
26838
784761be
JM
268392012-09-14 Joseph Myers <joseph@codesourcery.com>
26840
26841 [BZ #5044]
26842 * stdio-common/printf_fp.c: Include <stdbool.h> and
26843 <rounding-mode.h>.
26844 (___printf_fp): Determine rounding using get_rounding_mode and
26845 round_away.
26846 * stdio-common/tst-printf-round.c: New file.
26847 * stdio-common/Makefile (tests): Add tst-printf-round.
26848 (link-libm): New variable.
26849 ($(objpfx)tst-printf-round): Depend in $(link-libm).
26850
9503345f
L
268512012-09-13 H.J. Lu <hongjiu.lu@intel.com>
26852
26853 [BZ #14576]
26854 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
26855 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
26856 Likewise.
26857 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
26858 Likewise.
26859
ad35fc00
JM
268602012-09-13 Joseph Myers <joseph@codesourcery.com>
26861
26862 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
26863 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26864 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26865 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26866
6c9b0f68
JM
268672012-09-12 Joseph Myers <joseph@codesourcery.com>
26868
26869 [BZ #14518]
26870 * include/rounding-mode.h: New file.
26871 * sysdeps/generic/get-rounding-mode.h: Likewise.
26872 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
26873 * stdlib/strtod_l.c: Include <rounding-mode.h>.
26874 (MAX_VALUE): New macro.
26875 (MIN_VALUE): Likewise.
26876 (overflow_value): New function.
26877 (underflow_value): Likewise.
26878 (round_and_return): Use overflow_value and underflow_value to
26879 determine return values in overflow and underflow cases. Use
26880 round_away to determine rounding depending on rounding mode.
26881 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
26882 determine return values in overflow and underflow cases.
26883 * stdlib/tst-strtod-round.c: Include <fenv.h>.
26884 (struct test_results): New structure.
26885 (struct test): Use struct test_results to store expected results
26886 for all rounding modes.
26887 (TEST): Include expected results for all rounding modes.
26888 (test_in_one_mode): New function.
26889 (do_test): Use test_in_one_mode to compute and check results.
26890 Check results for all rounding modes.
26891 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
26892 $(link-libm).
26893
19fcedd5
AM
268942012-12-09 Allan McRae <allan@archlinux.org>
26895
1e9d84cd 26896 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 26897
8bbfd2f1
JM
268982012-09-11 Joseph Myers <joseph@codesourcery.com>
26899
26900 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
26901 (_G_int32_t): Likewise.
26902 (_G_uint16_t): Likewise.
26903 (_G_uint32_t): Likewise.
26904 (_G_HAVE_BOOL): Likewise.
26905 (_G_HAVE_ATEXIT): Likewise.
26906 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26907 (_G_HAVE_IO_FILE_OPEN): Likewise.
26908 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
26909 (_G_int32_t): Likewise.
26910 (_G_uint16_t): Likewise.
26911 (_G_uint32_t): Likewise.
26912 (_G_HAVE_BOOL): Likewise.
26913 (_G_HAVE_ATEXIT): Likewise.
26914 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26915 (_G_HAVE_IO_FILE_OPEN): Likewise.
26916 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
26917 (_G_int32_t): Likewise.
26918 (_G_uint16_t): Likewise.
26919 (_G_uint32_t): Likewise.
26920 (_G_HAVE_BOOL): Likewise.
26921 (_G_HAVE_ATEXIT): Likewise.
26922 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26923 (_G_HAVE_IO_FILE_OPEN): Likewise.
26924
b1dc5912
L
269252012-09-11 H.J. Lu <hongjiu.lu@intel.com>
26926
26927 * csu/libc-tls.c: Update copyright years.
26928
0e886ef9
JM
269292012-09-10 Joseph Myers <joseph@codesourcery.com>
26930
28361c5e
JM
26931 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
26932 [!_G_USING_THUNKS]: Remove conditional code.
26933 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
26934 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
26935
0e886ef9
JM
26936 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
26937 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
26938 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26939 (_G_VTABLE_LABEL_PREFIX): Likewise.
26940 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26941 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26942 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26943 (_G_VTABLE_LABEL_PREFIX): Likewise.
26944 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26945 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26946 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26947 (_G_VTABLE_LABEL_PREFIX): Likewise.
26948 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26949
bcba7aa2
L
269502012-09-10 H.J. Lu <hongjiu.lu@intel.com>
26951
26952 * libio/Makefile: Include ../Makeconfig before tests.
26953 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
26954 only if $(build-shared) is yes.
26955
06585ee8
L
26956 * iconv/gconv_db.c: Update copyright years.
26957
80ccd52c
LD
269582012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26959
26960 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
26961 unwind info if defined PIC. Fix special cases description.
26962 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
26963
26964 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
26965 DP_HI_MASK entry.
26966 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
26967
691bc9c1
L
269682012-09-07 H.J. Lu <hongjiu.lu@intel.com>
26969
3d9b46b3
L
26970 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
26971
de2139a9
L
26972 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
26973 is NULL.
26974
5ca78dd0
L
26975 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
26976 (LDLIBS-tst-chk4): This.
26977 (LDFLAGS-tst-chk5): Renamed to ...
26978 (LDLIBS-tst-chk5): This.
26979 (LDFLAGS-tst-chk6): Renamed to ...
26980 (LDLIBS-tst-chk6): This.
26981 (LDFLAGS-tst-lfschk4): Renamed to ...
26982 (LDLIBS-tst-lfschk4): This.
26983 (LDFLAGS-tst-lfschk5): Renamed to ...
26984 (LDLIBS-tst-lfschk5): This.
26985 (LDFLAGS-tst-lfschk6): Renamed to ...
26986 (LDLIBS-tst-lfschk6): This.
26987
691bc9c1
L
26988 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
26989 on $(common-objpfx)soversions.mk.
26990
65cafb1c
JM
269912012-09-07 Joseph Myers <joseph@codesourcery.com>
26992
26993 [BZ #10014]
26994 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
26995 example host name.
26996
c78ab094
SP
269972012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26998
26999 * malloc/arena.c (arena_get_retry): New function that gets
27000 another arena for the caller to try its request on.
27001 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27002 current arena cannot fulfill the request.
27003 (__libc_memalign): Likewise.
27004 (__libc_memalign): Likewise.
27005 (__libc_pvalloc): Likewise.
27006 (__libc_calloc): Likewise.
27007
01f49f59
JT
270082012-09-05 John Tobey <john.tobey@gmail.com>
27009
27010 [BZ #13542]
27011 * manual/arith.texi (Operations on Complex): Fix description
27012 of carg branch cut.
27013
4c23fed5
JM
270142012-09-06 Joseph Myers <joseph@codesourcery.com>
27015
1d3c8572
JM
27016 [BZ #10014]
27017 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27018 host name.
27019
4c23fed5
JM
27020 [BZ #10038]
27021 * manual/memory.texi (Memory): Make order of menu items match
27022 order of sections.
27023
04570aaa
L
270242012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27025
27026 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27027 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
27028 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27029
b80af2f4
L
270302012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27031
27032 * csu/libc-tls.c (static_dtv): Renamed to ...
27033 (_dl_static_dtv): This. Make it global.
27034 (_dl_initial_dtv): Removed.
27035 (__libc_setup_tls): Updated.
27036 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27037 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27038 DL_INITIAL_DTV.
27039
2abe9f15
PM
270402012-09-06 Petr Machata <pmachata@redhat.com>
27041
27042 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27043 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27044 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27045 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27046
0948c3af
L
270472012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27048
27049 [BZ #14545]
27050 * csu/libc-tls.c (_dl_initial_dtv): New variable.
27051 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27052 freeing dtv[-1].
27053
a5055ad1
L
270542012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27055
27056 [BZ #14544]
27057 * Makeconfig (link-static-before-libc): Replace $(+prector)
27058 with $(+prectorT).
27059 (link-static-after-libc): Replace $(+postctor) with
27060 $(+postctorT).
27061 (link-bounded): Replace $(+prector)/$(+postctor) with
27062 $(+prectorT)/$(+postctorT).
27063 (+prectorT): New macro.
27064 (+postctorT): Likewise.
27065
ed8c2ecd
JM
270662012-09-06 Joseph Myers <joseph@codesourcery.com>
27067
27068 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27069 (round_str): Handle values above the maximum for IBM long double
27070 as inexact.
27071 * stdlib/tst-strtod-round.c (tests): Regenerated.
27072
14c996c8
AK
270732012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27074
27075 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27076 assembler flag.
27077 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27078 zarch_nohighgprs around the zarch optimized routines.
27079 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27080 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27081 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27082 for zarch.
27083
430d6ce6
DM
270842012-09-05 David S. Miller <davem@davemloft.net>
27085
27086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27087
57f41c40
AS
27088 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27089 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
27090 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27091 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27092 entries.
27093
24d4e01b
AO
270942012-09-05 Alexandre Oliva <aoliva@redhat.com>
27095
27096 * malloc/arena.c: Fold copyright years.
27097 * malloc/mcheck.c, malloc/memusage.c: Likewise.
27098
61d58174
AO
270992012-09-05 Alexandre Oliva <aoliva@redhat.com>
27100
27101 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27102
20196a5e
AO
271032012-09-05 Alexandre Oliva <aoliva@redhat.com>
27104
27105 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
27106
5c447383
AO
271072012-09-05 Alexandre Oliva <aoliva@redhat.com>
27108
27109 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27110 change internal state upon failure.
27111
fad64255
AO
271122012-09-05 Alexandre Oliva <aoliva@redhat.com>
27113
27114 * malloc/mcheck.c (mcheck_check_all): Fix typo.
27115 * malloc/memusage.c (mmap): Likewise.
27116 (mmap64, mremap): Likewise. Adjust name in comment.
27117
1ffb8c90
SP
271182012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27119
27120 * libio/fileops.c: Fix typos in comments.
27121 * libio/oldfileops.c: Likewise.
27122 * libio/wfileops.c: Likewise.
27123
6ef9cc37
SP
271242012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27125
27126 [BZ #1349]
27127 * malloc/Makefile (tests): Add tst-malloc-usable test case.
27128 (tst-malloc-usable-ENV): Set environment for test case.
27129 * malloc/hooks.c (malloc_check_get_size): New function to get
27130 requested size.
27131 * malloc/malloc.c (musable): Use malloc_check_get_size.
27132 * malloc/tst-malloc-usable.c: New test case.
27133
4d038ae3
AS
271342012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27135
27136 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27137
c4e85184
AM
271382012-09-05 Allan McRae <allan@archlinux.org>
27139
b9dafc56 27140 [BZ #13966]
c4e85184
AM
27141 * configure.in (CXX_SYSINCLUDES): Use compiler output to
27142 determine header location.
27143 * configure: Regenerated.
27144
e1343020
AS
271452012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27146
27147 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27148 float format.
27149 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
27150 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27151 format.
e1343020
AS
27152 (test): Regenerate.
27153
0a9f1987
DM
271542012-09-04 David S. Miller <davem@davemloft.net>
27155
27156 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27157 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27158 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27159
29237804
FW
271602012-09-04 Florian Weimer <fweimer@redhat.com>
27161
27162 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27163 failures.
27164
edb3cb88
FW
27165 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27166
60160d83
JM
271672012-09-04 Joseph Myers <joseph@codesourcery.com>
27168
27169 [BZ #9914]
27170 * libio/iogetdelim.c: Include <limits.h>.
27171 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27172 + len + 1 would overflow.
27173
bcd6c8dc
AJ
271742012-09-03 Andreas Jaeger <aj@suse.de>
27175
27176 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27177 * sysdeps/i386/fpu/libm-test-ulps: Update.
27178
4ffffbd2
LD
271792012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27180
27181 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27182 Add s_sinf-sse2, s_conf-sse2.
27183
27184 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27185 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27186 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27187 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27188
27189 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27190 for using routine as __sinf_ia32.
27191 Use macro for function declaration and weak_alias.
27192 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27193 for using routine as __cosf_ia32.
27194 Use macro for function declaration and weak_alias.
27195
27196 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27197 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27198
27199 * sysdeps/x86_64/fpu/s_sinf.S: New file.
27200 * sysdeps/x86_64/fpu/s_cosf.S: New file.
27201 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27202
27203 * math/libm-test.inc (cos_test): Add more test cases.
27204 (sin_test): Likewise.
27205 (sincos_test): Likewise.
27206
511fa286
AK
272072012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27208
27209 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27210 (IFUNC_RESOLVE): Make pointers to the specialized implementations
27211 hidden.
27212 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27213
5f30cfec
L
272142012-09-02 H.J. Lu <hongjiu.lu@intel.com>
27215
27216 [BZ #14538]
27217 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27218 first element of the GOT.
27219 (elf_machine_load_address): Return the difference between
27220 the runtime address of _DYNAMIC and elf_machine_dynamic ().
27221
0786794f
AM
272222012-09-01 Allan McRae <allan@archlinux.org>
27223
5f30cfec
L
27224 [BZ #13412]
27225 * configure.in (AWK): Require gawk version 3.0 or later.
27226 * configure: Regenerated.
0786794f 27227
26889eac
JM
272282012-09-01 Joseph Myers <joseph@codesourcery.com>
27229
27230 * sysdeps/unix/sysv/linux/kernel-features.h
27231 (__ASSUME_POSIX_CPU_TIMERS): Remove.
27232 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27233 [__NR_clock_getres]: Make code unconditional.
27234 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27235 (clock_getcpuclockid): Remove code left unreachable by removal of
27236 conditionals.
27237 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27238 code unconditional.
27239 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27240 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27241 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27242 Make code unconditional.
27243 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27244 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27245 * sysdeps/unix/sysv/linux/clock_settime.c
27246 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27247 conditional code.
27248 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27249 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27250
d22e28b0
L
272512012-08-29 H.J. Lu <hongjiu.lu@intel.com>
27252
27253 [BZ #14476]
27254 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27255 scripts/test-installation.pl.
27256
27257 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27258 and $ld_so_version if it is set.
27259
050af9c4
SP
272602012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27261
27262 [BZ #14516]
27263 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27264 failure if reading from procfs failed.
27265 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27266
ad845c0b
JM
272672012-08-27 Joseph Myers <joseph@codesourcery.com>
27268
27269 * sysdeps/unix/sysv/linux/kernel-features.h
27270 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27271 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27272 Remove conditional code.
27273 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27274 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27275 Remove conditional code.
27276 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27277 * sysdeps/unix/sysv/linux/i386/fxstat.c
27278 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27279 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27280 * sysdeps/unix/sysv/linux/i386/fxstatat.c
27281 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27282 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27283 * sysdeps/unix/sysv/linux/i386/lxstat.c
27284 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27285 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27286 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27287 Remove conditional code.
27288 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27289 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27290 Remove conditional code.
27291 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27292 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27293 <kernel-features.h>.
27294 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27295 Remove.
27296 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27297 Remove conditional code.
27298 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27299 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27300 Remove conditional.
27301
5dbf56af
MF
273022012-08-27 Mike Frysinger <vapier@gentoo.org>
27303
27304 [BZ #5400]
27305 * NEWS: Add fixed bug number.
27306
d6e70f43
JM
273072012-08-27 Joseph Myers <joseph@codesourcery.com>
27308
7efb4737
JM
27309 [BZ #14519]
27310 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27311 underflowing exponent in case of negative sign.
27312 * stdlib/tst-strtod-round-data: Add more tests.
27313 * stdlib/tst-strtod-round.c (tests): Regenerated.
27314
af92131a
JM
27315 [BZ #3479]
27316 * stdlib/strtod_l.c (NDIG): Remove.
27317 (HEXNDIG): Likewise.
27318 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27319 smallest representable value.
27320 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27321 lie within an exact representation of 1/2 ulp of the result.
27322 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27323 unconditionally.
27324 (TENS_P9_IDX): Define unconditionally.
27325 (TENS_P9_SIZE): Likewise.
27326 (TENS_P10_IDX): Likewise.
27327 (TENS_P10_SIZE): Likewise.
27328 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27329 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27330 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27331 entries for 10^2^13 and 10^2^14.
27332 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27333 (TENS_P13_IDX): Define.
27334 (TENS_P13_SIZE): Likewise.
27335 (TENS_P14_IDX): Likewise.
27336 (TENS_P14_SIZE): Likewise.
27337 (_fpioconst_pow10): Change array size to
27338 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
27339 unconditional.
27340 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27341 1024]: Add entries for 10^2^13 and 10^2^14.
27342 [LAST_POW10 > _LAST_POW10]: Remove #error.
27343 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27344 (_fpioconst_pow10): Change array size to
27345 FPIOCONST_POW10_ARRAY_SIZE.
27346 * stdlib/gen-fpioconst.c: New file.
27347 * stdlib/gen-tst-strtod-round.c: Likewise.
27348 * stdlib/tst-strtod-round-data: Likewise.
27349 * stdlib/tst-strtod-round.c: Likewise.
27350 * stdlib/Makefile (tests): Add tst-strtod-round.
27351
d6e70f43
JM
27352 [BZ #14459]
27353 * stdlib/strtod_l.c: Include <stdint.h>.
27354 (NDEBUG): Do not define.
27355 (round_and_return): Change EXPONENT parameter to type intmax_t.
27356 Rearrange calculations to avoid internal overflow possibilities.
27357 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27358 Rearrange calculations to avoid internal overflow possibilities.
27359 Assert that number fits inside MPNSIZE limbs.
27360 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27361 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
27362 calculations and add assertions to avoid internal overflow
27363 possibilities. Add casts to avoid signed/unsigned operations.
27364 * stdlib/tst-strtod-overflow.c: New file.
27365 * stdlib/Makefile (tests): Add tst-strtod-overflow.
27366
1f529f7d
MP
273672012-08-25 Marek Polacek <polacek@redhat.com>
27368
27369 * time/time.h: Fix some typos in comments.
27370
59a629f1
RM
273712012-08-23 Roland McGrath <roland@hack.frob.com>
27372
27373 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27374 * posix/tst-rfc3484-2.c: Likewise.
27375 * posix/tst-rfc3484-3.c: Likewise.
27376
d3bafbc9
SM
273772012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
27378
27379 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27380 (EF_ARM_ABI_FLOAT_HARD): Likewise.
27381
4efcc022
JM
273822012-08-23 Joseph Myers <joseph@codesourcery.com>
27383
27384 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27385 #include of fxstatat64.c.
27386
3cc3ef96
RM
273872012-08-22 Roland McGrath <roland@hack.frob.com>
27388
f04e2132
RM
27389 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27390 * shadow/getspent_r.c: Likewise.
27391 * shadow/getspnam.c: Likewise.
27392 * shadow/getspnam_r.c: Likewise.
27393 * gshadow/getsgent.c: Likewise.
27394 * gshadow/getsgent_r.c: Likewise.
27395 * gshadow/getsgnam.c: Likewise.
27396 * gshadow/getsgnam_r.c: Likewise.
27397 * inet/getnetbyad.c: Likewise.
27398 * inet/getnetbyad_r.c: Likewise.
27399 * inet/getnetbynm.c: Likewise.
27400 * inet/getnetbynm_r.c: Likewise.
27401 * inet/getnetent.c: Likewise.
27402 * inet/getnetent_r.c: Likewise.
27403 * inet/getproto.c: Likewise.
27404 * inet/getproto_r.c: Likewise.
27405 * inet/getprtent.c: Likewise.
27406 * inet/getprtent_r.c: Likewise.
27407 * inet/getprtname.c: Likewise.
27408 * inet/getprtname_r.c: Likewise.
27409 * inet/getrpcbyname.c: Likewise.
27410 * inet/getrpcbyname_r.c: Likewise.
27411 * inet/getrpcbynumber.c: Likewise.
27412 * inet/getrpcbynumber_r.c: Likewise.
27413 * inet/getrpcent.c: Likewise.
27414 * inet/getrpcent_r.c: Likewise.
27415 * inet/getaliasent.c: Likewise.
27416 * inet/getaliasent_r.c: Likewise.
27417 * inet/getaliasname.c: Likewise.
27418 * inet/getaliasname_r.c: Likewise.
27419 * nscd/getgrgid_r.c: Likewise.
27420 * nscd/getgrnam_r.c: Likewise.
27421 * nscd/gethstbyad_r.c: Likewise.
27422 * nscd/gethstbynm3_r.c: Likewise.
27423 * nscd/getpwnam_r.c: Likewise.
27424 * nscd/getpwuid_r.c: Likewise.
27425 * nscd/getsrvbynm_r.c: Likewise.
27426 * nscd/getsrvbypt_r.c: Likewise.
27427 * nscd/gai.c: Likewise.
27428
c53d909c
RM
27429 * configure.in (build_nscd): New substituted variable, set
27430 by --disable-build-nscd and defaults to $use_nscd.
27431 * configure: Regenerated.
27432 * config.make.in (build-nscd): New substituted variable.
27433 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27434 Change conditional to require [$(build-nscd) = yes] as well.
27435 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27436
3cc3ef96
RM
27437 [BZ# 13696]
27438 * configure.in (use_nscd): New substituted variable, set by
27439 --disable-nscd. If enabled, define USE_NSCD.
27440 * configure: Regenerated.
27441 * config.h.in: Add USE_NSCD.
27442 * config.make.in (use-nscd): New substituted variable.
27443 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
27444 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
27445 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
27446 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
27447 (CFLAGS-getgrnam_r.c): Likewise.
27448 (CFLAGS-initgroups.c): Likewise.
27449 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
27450 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
27451 Variables removed.
27452 * inet/getnetgrent_r.c
27453 (nscd_setnetgrent): New function, broken out of ...
27454 (setnetgrent): ... here. Call it.
27455 (innetgr): Conditionalize nscd bits on [USE_NSCD].
27456 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
27457 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
27458 * nscd/Makefile (routines, aux): Move definitions after include of
27459 Makeconfig. Conditionalize on [$(use-nscd) != no].
27460 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
27461 Conditionalize on [USE_NSCD].
27462 (is_nscd, nscd_init_cb): Likewise.
27463 (nss_load_library): Conditionalize init callback on [USE_NSCD].
27464 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
27465 * nss/nss_db/db-init.c: Likewise.
27466 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
27467 [USE_NSCD].
27468 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
27469 (make_request): Use it.
27470 (cache_valid_p): New function.
27471 (__check_pf): Use it.
27472 * NEWS: Add item for --disable-nscd.
27473
07e51550
DL
274742012-08-22 Dmitry V. Levin <ldv@altlinux.org>
27475
27476 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
27477 to support sed >= 4.2.1-20-ga9bf076.
27478 * configure: Regenerated.
27479
35a5b08b
RM
274802012-08-22 Roland McGrath <roland@hack.frob.com>
27481
27482 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
27483 Conditionalize whole body on [IREL].
27484
8479f23a
JL
274852012-08-22 Jeff Law <law@redhat.com>
27486
27487 [BZ #14505]
27488 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
27489 if the family is PF_UNSPEC.
27490
48da0b21
MF
274912012-08-22 Mike Frysinger <vapier@gentoo.org>
27492
27493 * Makerules (lib-version): Rename from V.
27494 (install-lib-nosubdir): Change V to lib-version.
27495
15d0da8c
WS
274962012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
27497
27498 [BZ #14252]
27499 * powerpc32/power6/wcschr.c: New file.
27500 * powerpc32/power6/wcscpy.c: New file.
27501 * powerpc32/power6/wcsrchr.c: New file.
27502 * powerpc64/power6/wcschr.c: New file.
27503 * powerpc64/power6/wcscpy.c: New file.
27504 * powerpc64/power6/wcsrchr.c: New file.
27505
bcca0895
MK
275062012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27507
27508 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
27509 (two_way_short_needle): Use it.
5a4aaa33
RM
27510 * string/strstr.c (AVAILABLE1_USES_J): Define.
27511 * string/strcasestr.c: Likewise.
99677e57
MK
27512
27513 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
27514 array references.
27515 * string/strcasestr.c (TOLOWER): Make side-effect safe.
27516
400726de
MK
27517 [BZ #11607]
27518 * NEWS: Add an entry.
27519 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
27520 define their defaults.
27521 (two_way_short_needle): Detect end-of-string on-the-fly.
27522 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
27523 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
27524 * string/bug-strcasestr1.c: New test.
27525 * string/Makefile: Run it.
27526
20a71f2c
MK
275272012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27528
27529 [BZ #11607]
27530 * string/str-two-way.h (two_way_short_needle): Optimize matching of
27531 the first character.
27532
21ad0558
RM
275332012-08-21 Roland McGrath <roland@hack.frob.com>
27534
27535 * csu/elf-init.c (__libc_csu_irel): Function removed.
27536 * csu/libc-start.c (apply_irel): New function.
27537 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
27538
0e1d9911
JM
275392012-08-21 Joseph Myers <joseph@codesourcery.com>
27540
27541 * sysdeps/unix/sysv/linux/kernel-features.h
27542 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
27543 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27544 <kernel-features.h>.
27545 [__NR_fadvise64_64]: Make code unconditional.
27546 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
27547 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27548 !__NR_fadvise64_64)]: Likewise.
27549 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27550 !__NR_fadvise64_64))]: Likewise.
27551 [__NR_fadvise64]: Make code unconditional.
27552 [!__NR_fadvise64]: Remove conditional code.
27553 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
27554 <kernel-features.h>.
27555 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27556 unconditional.
27557 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27558 conditional code.
27559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
27560 not include <kernel-features.h>.
27561 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27562 unconditional.
27563 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27564 conditional code.
27565 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
27566 include <kernel-features.h>.
27567 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27568 unconditional.
27569 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27570 conditional code.
27571
14a50c9d
WS
275722012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27573
27574 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
27575 slight instruction rearrangements per scrollpipe analysis.
27576 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27577
c0f4faf0
RM
275782012-08-20 Roland McGrath <roland@hack.frob.com>
27579
696da859
RM
27580 * manual/syslog.texi (syslog; vsyslog, closelog):
27581 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
27582 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
27583
c0f4faf0
RM
27584 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
27585 DSOCAPS to match condition on defining it.
27586
348363b2
JM
275872012-08-20 Joseph Myers <joseph@codesourcery.com>
27588
a35cbf28
JM
27589 * sysdeps/unix/sysv/linux/kernel-features.h
27590 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
27591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
27592 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27593 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
27595 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27596 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
27598 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27599 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27600
445f7ecd
JM
27601 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
27602 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
27603
348363b2
JM
27604 * sysdeps/unix/sysv/linux/kernel-features.h
27605 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
27606 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
27607 unconditional.
27608 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27609 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
27610 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27611 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27612 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
27613 Make code unconditional.
27614 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27615 (__mmap64) [!__NR_mmap2]: Likewise.
27616 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
27617 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27618 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27619 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
27620 [__NR_mmap2]: Make code unconditional.
27621 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27622 (__mmap64) [!__NR_mmap2]: Likewise.
27623
bc5bc0e5
AK
276242012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27625
27626 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
27627
88d506de
AJ
276282012-08-18 Andreas Jaeger <aj@suse.de>
27629
27630 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
27631
493387d2
MF
276322012-08-18 Mike Frysinger <vapier@gentoo.org>
27633
27634 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
27635 * include/unistd.h (__have_sock_cloexec): Likewise.
27636 (__have_pipe2): Likewise.
27637 (__have_dup3): Likewise.
27638
a277af22
MF
276392012-08-18 Mike Frysinger <vapier@gentoo.org>
27640
27641 [BZ #9685]
27642 * include/unistd.h (__have_pipe2): Change define into an extern int.
27643 (__have_dup3): Likewise.
27644 * socket/have_sock_cloexec.c: Include fcntl.h.
27645 (__have_pipe2): New variable.
27646 (__have_dup3): Likewise.
27647
fdab8fd3
MF
276482012-08-17 Mike Frysinger <vapier@gentoo.org>
27649
27650 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
27651
31035e80
MP
276522012-08-17 Marek Polacek <polacek@redhat.com>
27653
27654 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
27655 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
27656
3bd9e993
RM
276572012-08-17 Roland McGrath <roland@hack.frob.com>
27658
c91c505f
RM
27659 * configure.in: Add AC_SUBST for sysheaders.
27660 * configure: Regenerated.
27661 * config.make.in (sysheaders): New substituted variable.
27662
7c6f9d53
RM
27663 * sysdeps/unix/mkfifo.c: Moved ...
27664 * sysdeps/posix/mkfifo.c: ... here.
27665 * sysdeps/unix/mkfifoat.c: Moved ...
27666 * sysdeps/posix/mkfifoat.c: ... here.
27667
27668 * sysdeps/unix/utime.c: Moved ...
27669 * sysdeps/posix/utime.c: ... here.
27670
27671 * sysdeps/unix/time.c: Moved ...
27672 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
27673 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
27674 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
27675
27676 * sysdeps/unix/nice.c: Moved ...
27677 * sysdeps/posix/nice.c: ... here.
27678
27679 * sysdeps/unix/alarm.c: Moved ...
27680 * sysdeps/posix/alarm.c: ... here.
27681
3bd9e993
RM
27682 * intl/Makefile ($(codeset_mo)): Depend on the input file.
27683
d1f09384
JL
276842012-08-17 Jeff Law <law@redhat.com>
27685
27686 * intl/Makefile (codeset_mo): New variable.
27687 ($(codeset_mo)): New target.
27688 (tst-codeset.out): Depend on that. Remove explicit rule.
27689 (tst-gettext3.out, tst-gettext5.out): Likewise.
27690 (LOCPATH-ENV, tst-codeset-ENV): New variables.
27691 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
27692 * intl/tst-codeset.sh: Remove.
27693 * intl/tst-gettext3.sh: Likewise.
27694 * intl/tst-gettext5.sh: Likewise.
27695
2ae1ae5c
RM
276962012-08-17 Roland McGrath <roland@hack.frob.com>
27697
c31fdb83
RM
27698 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
27699 * sysdeps/unix/syscalls.list: ... here.
27700
a0844057
RM
27701 * sysdeps/posix/getaddrinfo.c
27702 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
27703 (gaiconf_init, gaiconf_reload): Use them.
27704 [!_STATBUF_ST_NSEC]
27705 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
27706 Define using time_t rather than struct timespec.
27707
750c1f2a
RM
27708 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
27709 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
27710 Macros removed.
27711 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
27712 [!NO_THREADS].
27713 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
27714 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
27715 Likewise.
27716
2ae1ae5c
RM
27717 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
27718 __libc_cleanup_push argument.
27719
e66a42f5
RM
27720 * bits/param.h: New file.
27721 * misc/sys/param.h: New file.
27722 * include/sys/param.h: New file.
27723 * misc/Makefile (headers): Add bits/param.h.
27724 * sysdeps/generic/sys/param.h: File removed.
27725 * sysdeps/unix/sysv/linux/bits/param.h: New file.
27726 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
27727 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 27728 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 27729
b7c08a66
RM
27730 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
27731 last change.
27732
b2e1c562
RM
27733 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
27734 [_IO_MTSAFE_IO].
27735 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
27736 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
27737 New macros.
27738
c75ccd4c
RM
27739 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
27740 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
27741 rather than -D_IO_MTSAFE_IO conditionally.
27742 * stdio-common/Makefile (CPPFLAGS): Likewise.
27743 * wcsmbs/Makefile (CPPFLAGS): Likewise.
27744 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
27745 Use $(libio-mtsafe).
27746 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
27747 of -D_IO_MTSAFE_IO.
27748 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
27749 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
27750 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
27751 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
27752 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
27753 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
27754 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
27755 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
27756 (CFLAGS-fread_u_chk.c): Likewise.
27757 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
27758 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
27759 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
27760 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
27761 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
27762 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
27763 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
27764 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
27765 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
27766
27767 * libio/Makefile: Test [$(libc-reentrant) = yes]
27768 instead of [$(filter %REENTRANT, $(defines)) nonempty].
27769
27770 * Makeconfig
27771 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
27772 * sysdeps/pthread/configure: File removed.
27773 * sysdeps/pthread/Makeconfig: New file.
27774 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
27775 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
27776
d9195db8
GB
277772012-08-16 Gary Benson <gbenson@redhat.com>
27778
27779 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
27780 unmapping the first object in a namespace.
27781
86466cd9
RM
277822012-08-16 Roland McGrath <roland@hack.frob.com>
27783
27784 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
27785 (__internal_setnetgrent): ... this. Add internal_function to
27786 definition. Add libc_hidden_def.
27787 (setnetgrent): Update caller.
27788 (internal_endnetgrent): Renamed to ...
27789 (__internal_endnetgrent): ... this. Add internal_function to
27790 definition. Add libc_hidden_def.
27791 (endnetgrent): Update caller.
27792 (internal_getnetgrent_r): Renamed to ...
27793 (__internal_getnetgrent_r): ... this. Add internal_function to
27794 definition. Add libc_hidden_def.
27795 (__getnetgrent_r): Update caller.
27796 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
27797
c3c8283c
JM
277982012-08-16 Joseph Myers <joseph@codesourcery.com>
27799
27800 * stdlib/longlong.h: Update from GCC.
27801
db1ee0a8
RM
278022012-08-16 Roland McGrath <roland@hack.frob.com>
27803
27804 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
27805 on _QL, which is set by umul_ppmm but never used.
27806 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
27807 variables, which are set by GMP macros but never used.
27808 * stdio-common/_itowa.c (_itowa): Likewise.
27809 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
27810 * stdlib/mod_1.c (mpn_mod_1): Likewise.
27811
30f69637
CD
278122012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
27813
27814 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
27815 struct La_sh_regs is not constant.
27816 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
27817 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
27818 and struct La_sparc64_regs are not constant.
27819
93a78ac4
JM
278202012-08-16 Joseph Myers <joseph@codesourcery.com>
27821
27822 * sysdeps/unix/sysv/linux/kernel-features.h
27823 (__ASSUME_POSIX_TIMERS): Remove.
27824 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27825 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27826 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
27827 Make code unconditional.
27828 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27829 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
27830 Make code unconditional.
27831 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27832 * sysdeps/unix/sysv/linux/clock_nanosleep.c
27833 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
27834 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27835 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
27836 Make code unconditional.
27837 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27838 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
27839 (__libc_missing_posix_timers): Remove.
27840
dd924cd7
RM
278412012-08-15 Roland McGrath <roland@hack.frob.com>
27842
4b4f2771
RM
27843 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
27844 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
27845
601c888b
RM
27846 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
27847
176790a7
RM
27848 * elf/dl-sym.c: Include <stdlib.h>.
27849
329bc018
RM
27850 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
27851 constants, which avoids warnings in 32-bit builds.
27852
e04e272d
RM
27853 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
27854 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
27855
952bf94a
RM
27856 * misc/lseek.c: File moved to ...
27857 * io/lseek.c: ... here.
27858
7c99b50a
RM
27859 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
27860
dd924cd7
RM
27861 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
27862 shifting LEN more than 31 bits at once.
27863
b3f479a8
LD
278642012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27865
27866 [BZ #14195]
8c4ae0d4
RM
27867 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
27868 segmentation fault for a case of two empty input strings.
b3f479a8
LD
27869 * string/test-strncasecmp.c (check1): Renamed to...
27870 (bz12205): ...this.
27871 (bz14195): Add new testcase for two empty input strings and N > 0.
27872 (test_main): Call new testcase, adapt for renamed function.
27873
9c55864e
AJ
278742012-08-15 Andreas Jaeger <aj@suse.de>
27875
27876 [BZ #14090]
27877 * crypt/md5test2.c: New test, based on test supplied by Serge
27878 Belyshev <belyshev@depni.sinp.msu.ru>.
27879 * crypt/Makefile (xtests): Add md5test-giant..
27880 * crypt/Makefile ($(objpfx)md5test-giant): Add.
27881
02dcb6c5
PE
278822012-08-15 Paul Eggert <eggert@cs.ucla.edu>
27883
27884 [BZ #14090]
27885 * crypt/md5.c (md5_process_block): Don't assume the buffer
27886 length is less than 2**32.
27887 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
27888 length is less than 2**64.
27889
a3f95dcc
RM
278902012-08-15 Roland McGrath <roland@hack.frob.com>
27891
be75d758
RM
27892 * string/str-two-way.h: Include <sys/param.h>.
27893 (MAX): Macro removed.
27894
7312ca90
RM
27895 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
27896 Move #define and #undef of memmove to just before and after
27897 including <string.h>.
27898
9a0a5486
RM
27899 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
27900 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
27901 and after including <string.h>. Move declarations of
27902 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
27903 to before #include "string/memmove.c".
27904
67cc348d
RM
27905 * include/dirent.h: Declare __getdirentries.
27906
a3f95dcc
RM
27907 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
27908 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
27909
ca98e171
MF
279102012-08-14 Mike Frysinger <vapier@gentoo.org>
27911
27912 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
27913 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
27914 * sysdeps/i386/configure: Regenerated.
27915 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
27916 STABS_CURRENT_FILE, and STABS_FUN.
27917 (END): Remove call to STABS_FUN_END.
27918 (STABS_CURRENT_FILE1): Delete.
27919 (STABS_CURRENT_FILE): Likewise.
27920 (STABS_FUN): Likewise.
27921 (STABS_FUN_END): Likewise.
27922 (STABS_FUN2): Likewise.
27923 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
27924 * sysdeps/x86_64/configure: Regenerated.
27925
5908bf46
RM
279262012-08-14 Roland McGrath <roland@hack.frob.com>
27927
27928 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 27929 * elf/dl-lookup.c: Likewise.
5908bf46 27930
f2c05b9e
JM
279312012-08-14 Joseph Myers <joseph@codesourcery.com>
27932
27933 * sysdeps/unix/sysv/linux/kernel-features.h
27934 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
27935 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
27936 unconditionally.
27937 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
27938 unconditionally.
27939 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
27940 condition on __ASSUME_CLONE_THREAD_FLAGS.
27941
e11f5155
AJ
279422012-08-14 Andreas Jaeger <aj@suse.de>
27943
27944 * sysdeps/i386/fpu/libm-test-ulps: Update.
27945
51a9ba86
MK
279462012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
27947
2fdd4f78
AJ
27948 * include/atomic.h (atomic_exchange_and_add): Split into ...
27949 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
27950 New atomic macros.
51a9ba86 27951
ba6cba9e
MT
279522012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
27953
27954 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27955
42443a47
JL
279562012-08-13 Jeff Law <law@redhat.com>
27957
27958 * manual/stdio.texi (snprintf): Clarify handling of the trailing
27959 null byte in the output string.
27960
121dce05
JM
279612012-08-10 Joseph Myers <joseph@codesourcery.com>
27962
27963 * sysdeps/unix/sysv/linux/kernel-features.h
27964 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
27965 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
27966 (__ASSUME_ARG_MAX_STACK_BASED): Define.
27967 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27968 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
27969 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
27970 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
27971
bf51f568
JL
279722012-08-09 Jeff Law <law@redhat.com>
27973
27974 [BZ #13939]
27975 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
27976 When avoid_arena is set, don't retry in the that arena. Pick the
27977 next one, whatever it might be.
27978 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
27979 (arena_lock): Pass in new parameter to arena_get2.
27980 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
27981 arena_get2.
27982 (__libc_malloc): Unify retrying after main arena failure with
27983 __libc_memalign version.
27984 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
27985
f85fa270
L
279862012-08-09 H.J. Lu <hongjiu.lu@intel.com>
27987
27988 [BZ #14166]
27989 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
27990 to __redirect_strstr.
27991 (__strstr_sse42): Use typeof __redirect_strstr.
27992 (__strstr_ia32): Likewise.
27993 (__libc_strstr): New prototype.
27994 (strstr): Renamed to ...
27995 (__libc_strstr): This.
27996 (strstr): New strong alias of __libc_strstr.
27997 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27998 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
27999 __redirect_time.
28000 Include <time.h>.
28001 (__libc_time): New prototype.
28002 (time_ifunc): Replace time with __libc_time.
28003 (time): New strong alias and hidden definition of __libc_time.
28004 (__GI_time): Remove strong alias.
28005 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28006 Include <stddef.h>.
28007 (memmove): Redefined to __redirect_memmove.
28008 (__memmove_sse2): Use typeof __redirect_memmove.
28009 (__memmove_ssse3): Likewise.
28010 (__memmove_ssse3_back): Likewise.
28011 (__libc_memmove): New prototype.
28012 (memmove): Renamed to ...
28013 (__libc_memmove): This.
28014 (memmove): New strong alias of __libc_memmove.
28015
33b4a91e
MS
280162012-08-08 Mark Salter <msalter@redhat.com>
28017
28018 * elf/elf.h
28019 (R_MN10300_TLS_GD): Define.
28020 (R_MN10300_TLS_LD): Likewise.
28021 (R_MN10300_TLS_LDO): Likewise.
28022 (R_MN10300_TLS_GOTIE): Likewise.
28023 (R_MN10300_TLS_IE): Likewise.
28024 (R_MN10300_TLS_LE): Likewise.
28025 (R_MN10300_TLS_DTPMOD): Likewise.
28026 (R_MN10300_TLS_DTPOFF): Likewise.
28027 (R_MN10300_TLS_TPOFF): Likewise.
28028 (R_MN10300_SYM_DIFF): Likewise.
28029 (R_MN10300_ALIGN): Likewise.
28030 (R_MN10300_NUM): Update.
28031
b36137f1
JM
280322012-08-08 Joseph Myers <joseph@codesourcery.com>
28033
28034 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28035 Remove.
28036
cdd915fd
RM
280372012-08-08 Roland McGrath <roland@hack.frob.com>
28038
a2433aac
RM
28039 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28040
cdd915fd
RM
28041 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28042 sysdeps/unix -> sysdeps/posix move.
28043 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28044
bf9b740a
AM
280452012-08-07 Allan McRae <allan@archlinux.org>
28046
28047 [BZ #14303]
28048 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28049 (SUNOS_CPP): Likewise.
28050 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28051 not found.
28052 (open_input): Call CPP using execvp.
28053
93df14ee
JM
280542012-08-07 Joseph Myers <joseph@codesourcery.com>
28055
28056 * sysdeps/unix/sysv/linux/kernel-features.h
28057 (__ASSUME_PROT_GROWSUPDOWN): Remove.
28058 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28059 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28060 (__ASSUME_WAITID_SYSCALL): Likewise.
28061 * sysdeps/unix/sysv/linux/dl-execstack.c
28062 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28063 code unconditional.
28064 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28065 conditional code.
28066 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28067 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28068 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28069 code.
28070 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28071 unconditional.
28072 [__ASSUME_WAITID_SYSCALL]: Likewise.
28073 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28074
d34689de
RM
280752012-08-07 Roland McGrath <roland@hack.frob.com>
28076
a281decc
RM
28077 * sysdeps/unix/closedir.c: Renamed to ...
28078 * sysdeps/posix/closedir.c: ... here.
28079 * sysdeps/unix/dirfd.c: Renamed to ...
28080 * sysdeps/posix/dirfd.c: ... here.
28081 * sysdeps/unix/dirstream.h: Renamed to ...
28082 * sysdeps/posix/dirstream.h: ... here.
28083 * sysdeps/unix/fdopendir.c: Renamed to ...
28084 * sysdeps/posix/fdopendir.c: ... here.
28085 * sysdeps/unix/opendir.c: Renamed to ...
28086 * sysdeps/posix/opendir.c: ... here.
28087 * sysdeps/unix/readdir.c: Renamed to ...
28088 * sysdeps/posix/readdir.c: ... here.
28089 * sysdeps/unix/readdir_r.c: Renamed to ...
28090 * sysdeps/posix/readdir_r.c: ... here.
28091 * sysdeps/unix/rewinddir.c: Renamed to ...
28092 * sysdeps/posix/rewinddir.c: ... here.
28093 * sysdeps/unix/seekdir.c: Renamed to ...
28094 * sysdeps/posix/seekdir.c: ... here.
28095 * sysdeps/unix/telldir.c: Renamed to ...
28096 * sysdeps/posix/telldir.c: ... here.
28097 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28098 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28099 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28100 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28101
22895b47
RM
28102 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28103 * bits/fcntl.h: ... here.
28104
707a53b6
RM
28105 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28106 not 0.
28107 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28108 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28109 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28110 (struct flock): Move l_start, l_len to the beginning.
28111 Use __pid_t for l_pid.
28112 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28113 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28114 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28115 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28116 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28117 [__USE_LARGEFILE64] (struct flock64): New type.
28118 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28119
f0bd3e25
RM
28120 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28121 * bits/dirent.h: ... here.
28122
d34689de
RM
28123 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28124 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28125
6dad2c06
JM
281262012-08-07 Joseph Myers <joseph@codesourcery.com>
28127
28128 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28129 Change from 2.6.0 to 2.6.16.
28130 * sysdeps/unix/sysv/linux/configure: Regenerated.
28131 * sysdeps/unix/sysv/linux/kernel-features.h
28132 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28133 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28134 version.
28135 (__ASSUME_UTIMES): Likewise.
28136 (__ASSUME_CLONE_STOPPED): Remove.
28137 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28138 architectures, not kernel version.
28139 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28140 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28141 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28142 (__ASSUME_WAITID_SYSCALL): Likewise.
28143 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28144 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28145 * README: State 2.6.16 as minimum Linux kernel version. Do not
28146 refer to older versions.
28147
03af9520
RM
281482012-08-06 Roland McGrath <roland@hack.frob.com>
28149
8e49df1d
RM
28150 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28151 Define alphasort64 as an alias.
28152 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28153 Define versionsort64 as an alias.
28154 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28155 Define scandir64 as an alias.
28156 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28157 Define scandirat64 as an alias.
28158 * dirent/alphasort64.c (alphasort64):
28159 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28160 * dirent/versionsort64.c: Likewise.
28161 * dirent/scandir64.c: Likewise.
28162 * dirent/scandirat64.c: Likewise.
28163 * sysdeps/wordsize-64/alphasort.c: File removed.
28164 * sysdeps/wordsize-64/alphasort64.c: File removed.
28165 * sysdeps/wordsize-64/scandir.c: File removed.
28166 * sysdeps/wordsize-64/scandir64.c: File removed.
28167 * sysdeps/wordsize-64/scandirat.c: File removed.
28168 * sysdeps/wordsize-64/scandirat64.c: File removed.
28169 * sysdeps/wordsize-64/versionsort.c: File removed.
28170 * sysdeps/wordsize-64/versionsort64.c: File removed.
28171 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28172 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28173 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28174 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28175 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28176 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28177 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28178 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28179
28180 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28181 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28182 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28183 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28184 [defined __arch64__ || defined __sparcv9]
28185 (__INO_T_MATCHES_INO64_T): New macro.
28186 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28187 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28188 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28189 * sysdeps/unix/sysv/linux/bits/dirent.h
28190 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28191 (_DIRENT_MATCHES_DIRENT64): New macro.
28192
03af9520
RM
28193 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28194 Define lockf64 as an alias.
28195 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28196 Define fseeko64 as an alias.
28197 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28198 Define ftello64 as an alias.
28199 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28200 Define _IO_fgetpos64 and fgetpos64 as aliases.
28201 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28202 Define _IO_fsetpos64 and fsetpos64 as aliases.
28203 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28204 Conditionalize body on this.
28205 * libio/fseeko64.c: Likewise.
28206 * libio/ftello64.c: Likewise.
28207 * libio/iofgetpos64.c: Likewise.
28208 * libio/iofsetpos64.c: Likewise.
28209 * sysdeps/wordsize-64/lockf.c: File removed.
28210 * sysdeps/wordsize-64/lockf64.c: File removed.
28211 * sysdeps/wordsize-64/fseeko.c: File removed.
28212 * sysdeps/wordsize-64/fseeko64.c: File removed.
28213 * sysdeps/wordsize-64/ftello.c: File removed.
28214 * sysdeps/wordsize-64/ftello64.c: File removed.
28215 * sysdeps/wordsize-64/iofgetpos.c: File removed.
28216 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28217 * sysdeps/wordsize-64/iofsetpos.c: File removed.
28218 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28219 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28220 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28221 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28222 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28223 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28224 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28225 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28226 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28227 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28228 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28229
28230 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28231 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28232 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28233 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28234 [defined __arch64__ || defined __sparcv9]
28235 (__OFF_T_MATCHES_OFF64_T): New macro.
28236 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28237 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28238 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28239 (__OFF_T_MATCHES_OFF64_T): New macro.
28240
c5757acd
L
282412012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28242
28243 * stdlib/secure-getenv.c (__secure_getenv): Replace
28244 GLIBC_2_16 with GLIBC_2_17.
28245
3a31811e
L
282462012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28247
28248 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28249 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28250
faa2bccb
DM
282512012-08-03 David S. Miller <davem@davemloft.net>
28252
28253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28254
85fe1997
JM
282552012-08-03 Joseph Myers <joseph@codesourcery.com>
28256
28257 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28258 Remove.
28259 (__ASSUME_CORRECT_SI_PID): Likewise.
28260 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28261 (__ASSUME_TMPFS_NAME): Likewise.
28262 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28263 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28264 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28265 (HAVE_AUX_SECURE): Make definition unconditional.
28266 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28267 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28268
4f75b7a0
RM
282692012-08-03 Roland McGrath <roland@hack.frob.com>
28270
28271 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28272 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28273 * sysdeps/mach/hurd/eloop-threshold.h: New file.
28274 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28275 __eloop_threshold instead of SYMLOOP_MAX.
28276
28277 * sysdeps/generic/eloop-threshold.h: New file.
28278 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28279 of MAXSYMLINKS.
28280 * elf/chroot_canon.c (chroot_canon): Likewise.
28281
7aab07e4
JM
282822012-08-03 Joseph Myers <joseph@codesourcery.com>
28283
28284 [BZ #13717]
28285 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28286 Change to 2.6.0 everywhere.
28287 * sysdeps/unix/sysv/linux/configure: Regenerated.
28288 * sysdeps/unix/sysv/linux/kernel-features.h
28289 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28290 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28291 kernel versions.
28292 (__ASSUME_POSIX_TIMERS): Define unconditionally.
28293 (__ASSUME_FUTEX_REQUEUE): Remove.
28294 (__ASSUME_STATFS64): Define unconditionally.
28295 (__ASSUME_AT_SECURE): Likewise.
28296 (__ASSUME_CORRECT_SI_PID): Likewise.
28297 (__ASSUME_TGKILL): Define without depending on kernel version for
28298 i386.
28299 (__ASSUME_UTIMES): Likewise.
28300 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28301 kernel version.
28302 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28303 (__ASSUME_TMPFS_NAME): Likewise.
28304 * README: Update reference to Linux kernel versions.
28305
b67e9372
MP
283062012-08-02 Marek Polacek <polacek@redhat.com>
28307
1f529f7d 28308 [BZ# 14150]
b67e9372
MP
28309 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
28310 libc_cv_asm_type_prefix with %.
28311 * configure: Regenerated.
d2441631
RM
28312 * include/libc-symbols.h: Remove comment about
28313 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
28314 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28315 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28316 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28317 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28318 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28319 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28320 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28321 * elf/tst-unique2mod1.c: Likewise.
28322 * elf/tst-unique1mod2.c: Likewise.
28323 * elf/tst-unique1mod1.c: Likewise.
28324 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28325 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28326 Replace ASM_TYPE_DIRECTIVE with .type.
28327 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28328 * sysdeps/i386/sysdep.h: Likewise.
28329 * sysdeps/x86_64/sysdep.h: Likewise.
28330 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
28331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28332 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 28333 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
28334 * sysdeps/powerpc/powerpc32/sysdep.h:
28335 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
28336 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28337 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28338 * sysdeps/i386/fpu/e_powf.S: Likewise.
28339 * sysdeps/i386/fpu/e_expl.S: Likewise.
28340 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28341 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28342 * sysdeps/i386/fpu/e_pow.S: Likewise.
28343 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28344 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28345 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28346 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28347 * sysdeps/i386/fpu/e_log2.S: Likewise.
28348 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28349 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28350 * sysdeps/i386/fpu/e_powl.S: Likewise.
28351 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28352 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28353 * sysdeps/i386/fpu/e_logl.S: Likewise.
28354 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28355 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28356 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28357 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28358 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28359 * sysdeps/i386/fpu/e_log.S: Likewise.
28360 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28361 * sysdeps/i386/fpu/e_logf.S: Likewise.
28362 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28363 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28364 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28365 * sysdeps/i386/fpu/e_log10.S: Likewise.
28366 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28367 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28368 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28369 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28370 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28371 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28372 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28373 * sysdeps/i386/i686/strtok.S: Likewise.
28374 * sysdeps/i386/i386-mcount.S: Likewise.
28375 * sysdeps/i386/strtok.S: Likewise.
28376 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28377 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28378 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28379 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28380 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28381 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28382 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28383 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28384 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28385 * sysdeps/x86_64/_mcount.S: Likewise.
28386 * sysdeps/x86_64/strtok.S: Likewise.
28387 * sysdeps/sh/_mcount.S: Likewise.
28388
2747bf9a
RM
283892012-08-01 Roland McGrath <roland@hack.frob.com>
28390
28391 * libio/iofopen.c: Include <fcntl.h>.
28392 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28393 (_IO_fopen64, fopen64): Define as aliases.
28394 * libio/iofopen64.c: Include <fcntl.h>.
28395 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28396 Conditionalize body on this.
28397 * sysdeps/wordsize-64/iofopen.c: File removed.
28398 * sysdeps/wordsize-64/iofopen64.c: File removed.
28399
3fb791b8
MP
284002012-08-01 Marek Polacek <polacek@redhat.com>
28401
28402 * libc/Makeconfig: Use elf in place of binfmt-subdir.
28403 Use dlfcn directly instead of a variable.
28404 (binfmt-subdir): Do not define.
28405 (dlfcn): Likewise.
28406
a9f1039f
JM
284072012-08-01 Joseph Myers <joseph@codesourcery.com>
28408
23bddc06
JM
28409 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28410 Remove all definitions.
28411 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28412 <kernel-features.h>.
28413 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28414 (miss_F_GETOWN_EX): Remove all definitions.
28415 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28416 macro definition.
28417 [!__ASSUME_FCNTL64]: Remove conditional code.
28418 [__ASSUME_FCNTL64]: Make code unconditional.
28419 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28420 <kernel-features.h>.
28421 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28422 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28423 (lockf64) [__NR_fcntl64]: Make code unconditional.
28424 (lockf64) [__ASSUME_FCNTL64]: Likewise.
28425
a9f1039f
JM
28426 * sysdeps/unix/sysv/linux/kernel-features.h
28427 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28428 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28429 Make code unconditional.
28430 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28431 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28433 [__NR_vfork]: Make code unconditional.
28434 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28435 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28437 [__NR_vfork]: Make code unconditional.
28438 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28439 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28440
09c0ee5f
RM
284412012-08-01 Roland McGrath <roland@hack.frob.com>
28442
48aec5b9
RM
28443 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
28444 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
28445
cd97c966
RM
28446 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28447 Define mkstemp64 as an alias.
3f55550c
RM
28448 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28449 Define mkstemps64 as an alias.
cd97c966
RM
28450 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28451 Define mkostemp64 as an alias.
b8625cfc
RM
28452 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28453 Define mkostemps64 as an alias.
cd97c966
RM
28454 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
28455 Conditionalize body on this.
28456 * misc/mkostemp64.c: Likewise.
b8625cfc 28457 * misc/mkostemps64.c: Likewise.
3f55550c 28458 * misc/mkstemps64.c: Likewise.
cd97c966
RM
28459 * sysdeps/wordsize-64/mkstemp64.c: File removed.
28460 * sysdeps/wordsize-64/mkostemp64.c: File removed.
28461 * sysdeps/wordsize-64/mkostemp.c: File removed.
28462 * sysdeps/wordsize-64/mkstemp.c: File removed.
28463 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
28464 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
28465 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
28466 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
28467
09c0ee5f
RM
28468 [BZ #14138]
28469 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
28470 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
28471 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
28472 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
28473
28474 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
28475 compat_symbol macros from <shlib-compat.h> rather than the underlying
28476 default_symbol_version and symbol_version macros, so that DEFAULT
28477 lines in shlib-versions are respected.
28478 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
28479
7e66ee51
FW
284802012-08-01 Florian Weimer <fweimer@redhat.com>
28481
28482 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
28483 Declare with warn_unused_result.
28484 (setgid, setregid, setegid, setresgid): Likewise.
28485 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
28486 Likewise.
28487 * WUR-REPORT: Remove set*id functions.
28488
d2a54255
PT
284892012-07-31 Pino Toscano <toscano.pino@tiscali.it>
28490
28491 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
28492
7ecdb005
RM
284932012-07-31 Roland McGrath <roland@hack.frob.com>
28494
b4180a5e 28495 [BZ #10191]
789bd351
RM
28496 * include/sys/socket.h (__libc_accept, __libc_accept4):
28497 Add attribute_hidden.
28498 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
28499
40ce302d
RM
28500 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
28501 use of PTR_MANGLE.
28502 * inet/getnetgrent_r.c (setup): Likewise.
28503
7ecdb005
RM
28504 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
28505
e2eabb2c
DM
285062012-07-31 David S. Miller <davem@davemloft.net>
28507
28508 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28509
d0419dbf
JM
285102012-07-31 Joseph Myers <joseph@codesourcery.com>
28511
28512 [BZ #13629]
28513 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
28514 value between 1.0 and 2.0 and smaller part has absolute value less
28515 than 1.0.
28516 * math/s_clog10.c (__clog10): Likewise.
28517 * math/s_clog10f.c (__clog10f): Likewise.
28518 * math/s_clog10l.c (__clog10l): Likewise.
28519 * math/s_clogf.c (__clogf): Likewise.
28520 * math/s_clogl.c (__clogl): Likewise.
28521 * math/libm-test.inc (clog_test): Add more tests.
28522 (clog10_test): Likewise.
28523 * sysdeps/i386/fpu/libm-test-ulps: Update.
28524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28525
2bc13872
FW
285262012-07-31 Florian Weimer <fweimer@redhat.com>
28527
28528 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
28529 Exit with zero in case no suitable GID is found, and write a
28530 message to standard error.
28531
bea9b193
RM
285322012-07-30 Roland McGrath <roland@hack.frob.com>
28533
28534 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
28535 rather than to 1.
28536 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
28537 (MAXPATHLEN): Removed.
28538 (NOGROUP, NODEV): New macros.
28539 (setbit, clrbit, isset, isclr): New macros.
28540 (howmany, roundup, powerof2): New macros.
28541 (DEV_BSIZE): New macro.
28542
28543 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
28544 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
28545
28546 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
28547 definition on [!__NO_LONG_DOUBLE_MATH].
28548
28549 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
28550 PTR_MANGLE and PTR_DEMANGLE.
28551
28552 * socket/accept4.c (accept4): Rename to __libc_accept4.
28553 Define accept4 as a weak alias.
28554
28555 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
28556 on [_DIRENT_HAVE_D_TYPE].
28557 * io/ftw.c (ftw_dir): Likewise.
28558
28559 * io/xmknod.c (__xmknod): Don't check PATH for being null.
28560
28561 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
28562
28563 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
28564 Use the BSD numbers rather than the arbitrary ones we had.
28565 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
28566 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
28567 (SIGXCPU, SIGXFSZ): New macros.
28568 (_NSIG): Now 32.
28569
28570 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
28571 initializer on [_LIBC_REENTRANT].
28572
28573 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
28574 definitions inside [_POSIX_MAPPED_FILES].
28575
28576 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
28577
28578 * dirent/opendir.c: Include <fcntl.h>.
28579
28580 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
28581 (__libc_getspecific): Likewise.
28582 (__libc_key_create): Likewise.
28583
28584 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
28585 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
28586 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
28587 (tmpfile64): Define as alias.
28588 * sysdeps/wordsize-64/tmpfile.c: File removed.
28589 * sysdeps/wordsize-64/tmpfile64.c: File removed.
28590 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
28591 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
28592
28593 * stdio-common/vfscanf.c: Include <stdbool.h>.
28594 * nss/makedb.c: Likewise.
28595 * stdio-common/_i18n_number.h: Likewise.
28596 * argp/argp-help.c: Likewise.
28597 * posix/wordexp.c: Likewise.
28598 * sysdeps/posix/spawni.c: Likewise.
28599 * nss/nss_files/files-initgroups.c: Likewise.
28600 * stdio-common/reg-modifier.c: Include <stdlib.h>.
28601 * nss/nss_files/files-initgroups.c: Likewise.
28602 * nss/nss_db/db-netgrp.c: Likewise.
28603 * nss/nss_db/db-initgroups.c: Likewise.
28604 * io/fchmodat.c: Include <sys/stat.h>.
28605
28606 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
28607 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
28608
28609 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
28610 [HAVE_MMAP].
28611
28612 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
28613 Add multiple inclusion protection.
28614
e5abc686
DM
286152012-07-27 David S. Miller <davem@davemloft.net>
28616
28617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28618
815e6fa3
GB
286192012-07-27 Gary Benson <gbenson@redhat.com>
28620
28621 [BZ #14298]
28622 * elf/rtld.c: Include <stap-probe.h>.
28623 (dl_main): Added static probes "init_start" and "init_complete".
28624 * elf/dl-load.c: Include <stap-probe.h>.
28625 (lose): Take new parameter "nsid".
28626 Added static probe "map_failed".
28627 (_dl_map_object_from_fd): Pass namespace id to lose.
28628 Added static probe "map_start".
28629 (open_verify): Pass namespace id to lose.
28630 * elf/dl-open.c: Include <stap-probe.h>.
28631 (dl_open_worker) Added static probes "map_complete", "reloc_start"
28632 and "reloc_complete".
28633 * elf/dl-close.c: Include <stap-probe.h>.
28634 (_dl_close_worker): Added static probes "unmap_start" and
28635 "unmap_complete".
28636 * elf/rtld-debugger-interface.txt: New file documenting the above.
28637
9f98c16c
RM
286382012-07-26 Roland McGrath <roland@hack.frob.com>
28639
28640 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
28641 rather than a string variable.
28642 * sunrpc/rpc_main.c (h_output): Likewise.
28643 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
28644
f3c22df3
PT
286452012-07-26 Pino Toscano <toscano.pino@tiscali.it>
28646
28647 * inet/check_native.c: New file.
28648
3129cfc6
JM
286492012-07-26 Joseph Myers <joseph@codesourcery.com>
28650
da865e95
JM
28651 [BZ #13629]
28652 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
28653 if larger part has absolute value 1.0.
28654 * math/s_clog10.c (__clog10): Likewise.
28655 * math/s_clog10f.c (__clog10f): Likewise.
28656 * math/s_clog10l.c (__clog10l): Likewise.
28657 * math/s_clogf.c (__clogf): Likewise.
28658 * math/s_clogl.c (__clogl): Likewise.
28659 * math/libm-test.inc (clog_test): Add more tests.
28660 (clog10_test): Likewise.
28661 * sysdeps/i386/fpu/libm-test-ulps: Update.
28662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28663
3129cfc6
JM
28664 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
28665 (pltexit): Likewise.
28666 (La_regs): Likewise.
28667 (La_retval): Likewise.
28668 (int_retval): Likewise.
28669 Update #error for removed macros to refer only to definitions in
28670 tst-audit.h.
28671 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
28672 macro.
28673 (pltexit): Likewise.
28674 (La_regs): Likewise.
28675 (La_retval): Likewise.
28676 (int_retval): Likewise.
28677 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
28678 macro.
28679 (pltexit): Likewise.
28680 (La_regs): Likewise.
28681 (La_retval): Likewise.
28682 (int_retval): Likewise.
28683 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
28684 macro.
28685 (pltexit): Likewise.
28686 (La_regs): Likewise.
28687 (La_retval): Likewise.
28688 (int_retval): Likewise.
28689 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
28690 macro.
28691 (pltexit): Likewise.
28692 (La_regs): Likewise.
28693 (La_retval): Likewise.
28694 (int_retval): Likewise.
28695 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
28696 macro.
28697 (pltexit): Likewise.
28698 (La_regs): Likewise.
28699 (La_retval): Likewise.
28700 (int_retval): Likewise.
28701 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
28702 macro.
28703 (pltexit): Likewise.
28704 (La_regs): Likewise.
28705 (La_retval): Likewise.
28706 (int_retval): Likewise.
28707 * sysdeps/generic/tst-audit.h: Update comment to refer only to
28708 macro definitions in tst-audit.h.
28709 * sysdeps/i386/tst-audit.h: New file.
28710 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
28711 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
28712 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
28713 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
28714 * sysdeps/sh/tst-audit.h: Likewise.
28715 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
28716 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
28717 * sysdeps/x86_64/tst-audit.h: Likewise.
28718
bfc07087
AJ
287192012-07-26 Andreas Jaeger <aj@suse.de>
28720
b1b2aaf8
AJ
28721 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
28722 ptrace.
28723
28724 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
28725 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
28726 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
28727 PTRACE_O_MASK.
28728 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
28729 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
28730 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
28731
bfc07087
AJ
28732 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
28733 value.
28734
28735 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
28736 _sigsys.
28737 (si_call_addr, si_syscall, si_arch): Define new macro.
28738 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
28739 _sigsys.
28740 (si_call_addr, si_syscall, si_arch): Define new marcro.
28741 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
28742 _sigsys.
28743 (si_call_addr, si_syscall, si_arch): Define new macro.
28744 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
28745 _sigsys.
28746 (si_call_addr, si_syscall, si_arch): Define new macro.
28747
89b4b02f
JM
287482012-07-25 Joseph Myers <joseph@codesourcery.com>
28749
28750 [BZ #13717]
28751 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28752 Change to 2.4.21 where previously 2.4.1.
28753 * sysdeps/unix/sysv/linux/configure: Regenerated.
28754 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
28755 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
28756 Linux kernel version.
28757 (__ASSUME_STD_AUXV): Remove.
28758 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
28759 kernel version.
28760 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
28761 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
28762 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
28763 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
28764 (__ASSUME_NETLINK_SUPPORT): Likewise.
28765 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
28766 (__no_netlink_support): Remove conditional definition.
28767 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
28768 Remove.
28769 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28770 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
28771 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
28772 (if_nameindex_ioctl): Remove.
28773 (if_nameindex_netlink): Do not handle __no_netlink_support.
28774 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28775 code.
28776 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
28777 Remove conditional code.
28778 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28779 code.
28780 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
28781 unconditional.
28782 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28783 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
28784 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
28785 Remove.
28786 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
28787 [!__ASSUME_STD_AUXV]: Remove conditional code.
28788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
28789 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
28790 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
28791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
28792 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
28793 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28794 code.
28795 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28797 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
28798 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28799 conditional code.
28800 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28802 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28803 code.
28804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28805 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28806 conditional code.
28807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
28808 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28809 code unconditional.
28810 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28811 conditional code.
28812 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28813 unconditional.
28814 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28815 conditional code.
28816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28817 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28818 unconditional.
28819 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28820 conditional code.
28821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28822 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28823 code unconditional.
28824 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28825 conditional code.
28826 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28827 unconditional.
28828 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28829 conditional code.
28830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28831 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28832 code unconditional.
28833 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28834 conditional code.
28835 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28836 unconditional.
28837 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28838 conditional code.
28839
842a39cd
AS
288402012-07-25 Andreas Schwab <schwab@linux-m68k.org>
28841
28842 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
28843 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
28844 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28845 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
28846 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
28847 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28848 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28849 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
28850 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
28851 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
28852 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
28853 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
28854 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
28855 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28856 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
28857 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
28858 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
28859 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
28860 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
28861 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
28862 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
28863 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
28864 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28865
84b3fd84
FW
288662012-07-25 Florian Weimer <fweimer@redhat.com>
28867
28868 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
28869 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
28870 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
28871 Introduce __libc_secure_getenv.
0c7936d5
FW
28872 * stdlib/Versions (2.17): Add secure_getenv
28873 (GLIBC_PRIVATE): Add __libc_secure_getenv.
28874 * stdlib/secure-getenv.c: Rename __secure_getenv to
28875 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
28876 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
28877 * stdlib/tst-secure-getenv.c: New.
28878 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
28879 * manual/startup.texi (Environment Access): Document
28880 secure_getenv.
84b3fd84
FW
28881 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
28882 __libc_secure_getenv.
28883 * inet/ruserpass.c (ruserpass): Likewise.
28884 * malloc/mtrace.c (mtrace): Likewise.
28885 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 28886 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
28887 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
28888 * sysdeps/posix/tempname.c: Likewise. Evaluate
28889 HAVE_SECURE_GETENV.
28890 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 28891 __secure_getenv to __libc_secure_getenv.
84b3fd84 28892 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
28893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28894 Likewise.
28895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28896 Likewise.
28897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28898 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28899 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28900 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28901 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28902 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 28904
56e49b71
JM
289052012-07-25 Joseph Myers <joseph@codesourcery.com>
28906
28907 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
28908 (struct La_i86_retval): Likewise.
28909 (struct La_x86_64_regs): Likewise.
28910 (struct La_x86_64_retval): Likewise.
28911 (struct La_x32_regs): Likewise.
28912 (struct La_x32_retval): Likewise.
28913 (struct La_ppc32_regs): Likewise.
28914 (struct La_ppc32_retval): Likewise.
28915 (struct La_ppc64_regs): Likewise.
28916 (struct La_ppc64_retval): Likewise.
28917 (struct La_sh_regs): Likewise.
28918 (struct La_sh_retval): Likewise.
28919 (struct La_s390_32_regs): Likewise.
28920 (struct La_s390_32_retval): Likewise.
28921 (struct La_s390_64_regs): Likewise.
28922 (struct La_s390_64_retval): Likewise.
28923 (struct La_sparc32_regs): Likewise.
28924 (struct La_sparc32_retval): Likewise.
28925 (struct La_sparc64_regs): Likewise.
28926 (struct La_sparc64_retval): Likewise.
28927 (struct audit_ifaces): Remove architecture-specific pltenter and
28928 pltexit members.
28929 * sysdeps/i386/ldsodefs.h: New file.
28930 * sysdeps/powerpc/ldsodefs.h: Likewise.
28931 * sysdeps/s390/ldsodefs.h: Likewise.
28932 * sysdeps/sh/ldsodefs.h: Likewise.
28933 * sysdeps/sparc/ldsodefs.h: Likewise.
28934 * sysdeps/x86_64/ldsodefs.h: Likewise.
28935
354691b7
MP
289362012-07-25 Marek Polacek <polacek@redhat.com>
28937
28938 [BZ #6808]
28939 * math/libm-test.inc (yn_test): Add another test.
28940 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
28941 to ERANGE when the result is +-Inf.
28942 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28943 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28944 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
28945 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
28946
bf9e2071
JM
289472012-07-24 Joseph Myers <joseph@codesourcery.com>
28948
28949 * conform/data/time.h-data (NULL): Use macro-constant. Require
28950 equal to 0.
28951 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
28952 clock_t.
28953 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
28954
57633811
TS
289552012-07-23 Thomas Schwinge <thomas@codesourcery.com>
28956
28957 * configure.in <sysdeps resolving>: Correct printing
28958 Implies_before.
28959 * configure: Regenerate.
28960
c23c33b0
TS
289612012-07-22 Thomas Schwinge <thomas@codesourcery.com>
28962
28963 * math/w_ilogb.c: Include <limits.h>.
28964 * math/w_ilogbl.c: Likewise.
28965
b5982523
JM
289662012-07-20 Joseph Myers <joseph@codesourcery.com>
28967
28968 * manual/lang.texi (__va_copy): Document primarily as ISO C99
28969 va_copy. Document allowing for unavailable va_copy only as
28970 pre-C99 compatibility.
28971 * manual/string.texi (Copying and Concatenation): Use va_copy
28972 instead of __va_copy in concat example.
28973
ac4ea442
PT
289742012-07-20 Pino Toscano <toscano.pino@tiscali.it>
28975
28976 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
28977 (__sendto): Use create_address_port. Initialize APORT and deallocate
28978 it if not null.
28979
f98eafbd
PT
28980 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
28981 with O_NOLINK passed to __file_name_lookup.
28982
898c7aab
PT
28983 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
28984 with O_NOLINK passed to __file_name_lookup.
28985
0ced335a
PT
28986 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
28987 negative N or less than NGIDS.
28988
b3404dbd
PT
28989 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
28990 type to string_t. Set ERANGE as errno and return it if NAME is not big
28991 enough. Use memcpy instead of strncpy.
28992
0f48659e
JM
289932012-07-20 Joseph Myers <joseph@codesourcery.com>
28994
28995 * elf/Makefile (check-data): Remove.
28996 (localplt.data): New vpath directive.
28997 ($(objpfx)check-localplt.out): Use localplt.data from vpath
28998 instead of $(check-data).
28999 * scripts/data/localplt-generic.data: Move to ...
29000 * sysdeps/generic/localplt.data: ... here.
29001 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29002 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29003 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29005 ... here.
29006 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29008 ... here.
29009 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29011 ... here.
29012 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29014 ... here.
29015 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29016 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29017 ... here.
29018 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29019 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29020 ... here.
29021
d37cbdaa
AZ
290222012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29023
29024 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29025 PPC32 and PPC64 files.
29026 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29027 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29028
46f85fc2
AK
290292012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29030
29031 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29032 __makecontext_ret to ...
29033 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29034 ... here and call exit if uc_link is NULL. New file.
29035 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29036 __makecontext_ret.S.
29037 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29038 __makecontext_ret to ...
29039 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29040 ... here and call exit if uc_link is NULL. New file.
29041 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29042 __makecontext_ret.S.
29043
08f43f9b
AK
290442012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29045
29046 * elf/elf.h (R_390_IRELATIVE): New definition.
29047 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29048 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
29049 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29050 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29051 (elf_machine_lazy_rel): Likewise.
29052 * sysdeps/s390/dl-irel.h: New file.
29053 * sysdeps/s390/s390-64/memcpy.S: New asm code.
29054 * sysdeps/s390/s390-64/memset.S: New asm code.
29055 * sysdeps/s390/s390-64/memcmp.S: New asm code.
29056 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29057 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29058 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29059 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29060 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29061 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29062 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29063 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29064 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29065 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29066 * sysdeps/s390/s390-32/memcpy.S: New asm code.
29067 * sysdeps/s390/s390-32/memset.S: New asm code.
29068 * sysdeps/s390/s390-32/memcmp.S: New asm code.
29069
3b05db33
MP
290702012-07-17 Marek Polacek <polacek@redhat.com>
29071
29072 [BZ #14349]
29073 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29074 * sysdeps/s390/s390-64/configure.in: Likewise.
29075 * sysdeps/sparc/configure.in: Likewise.
29076 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29077 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29078 * sysdeps/i386/configure.in: Likewise.
29079 * sysdeps/x86_64/configure.in: Likewise.
29080 * sysdeps/sh/configure.in: Likewise.
29081 * sysdeps/s390/s390-32/configure: Regenerated.
29082 * sysdeps/s390/s390-64/configure: Likewise.
29083 * sysdeps/x86_64/configure: Likewise.
29084 * sysdeps/sh/configure: Likewise.
29085 * sysdeps/powerpc/powerpc64/configure: Likewise.
29086 * sysdeps/powerpc/powerpc32/configure: Likewise.
29087 * sysdeps/sparc/configure: Likwise.
29088 * sysdeps/i386/configure: Likewise.
29089
a66877c6
MP
29090 * elf/dl-open.c: Comment fixes.
29091
cfc82fd8
JM
290922012-07-17 Joseph Myers <joseph@codesourcery.com>
29093
bd29910a
JM
29094 * Makefile [CXX] (check-data): Remove.
29095 [CXX] (c++-types.data): New vpath directive.
29096 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29097 vpath. Do not allow for C++ type data being missing.
29098 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29099 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29100 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29101 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29102 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29103 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29104 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29106 ... here.
29107 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29109 ... here.
29110 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29112 ... here.
29113 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29115 ... here.
29116 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29118 ... here.
29119 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29120 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29121 ... here.
29122 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29123 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29124 ... here.
29125 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29126 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29127
cfc82fd8
JM
29128 * elf/tls-macros.h (TLS_LE): Move architecture-specific
29129 definitions to architecture-specific files.
29130 (TLS_IE): Likewise.
29131 (TLS_LD): Likewise.
29132 (TLS_GD): Likewise.
29133 * sysdeps/i386/tls-macros.h: New file.
29134 * sysdeps/powerpc/tls-macros.h: Likewise.
29135 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29136 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29137 * sysdeps/sh/tls-macros.h: Likewise.
29138 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29139 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29140 * sysdeps/x86_64/tls-macros.h: Likewise.
29141
f7db3170
TS
291422012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29143
07cbfc23
TS
29144 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29145 zero value for regular exit case.
29146
f7db3170
TS
29147 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29148 (__start_context): Preserve zero value for regular exit case.
29149
dc97c227
TS
291502012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29151 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29152
29153 * manual/setjmp.texi (setcontext): Clarify normal process
29154 termination when uc_link is the null pointer.
29155 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29156 exit call.
29157
d0cd7d02
AS
291582012-07-16 Andreas Schwab <schwab@linux-m68k.org>
29159
29160 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29161 preprocessor. Test for each exception mask separately.
29162
dd318934
AJ
291632012-07-16 Andreas Jaeger <aj@suse.de>
29164
29165 * po/ru.po: Update from translation team.
29166
8048311a
JM
291672012-07-15 Joseph Myers <joseph@codesourcery.com>
29168
29169 * conform/data/string.h-data (NULL): Use macro-constant. Require
29170 equal to 0.
29171 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29172 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29173 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29174 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29175 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29176
b637d46e
AJ
291772012-07-13 Andreas Jaeger <aj@suse.de>
29178
29179 * po/fr.po: Update from translation team.
29180
541428fe
MP
291812012-07-12 Marek Polacek <polacek@redhat.com>
29182
29183 [BZ #14173]
29184 * math/libm-test.inc (yn_test): Add test for BZ #14173.
29185 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29186 loop condition.
29187
ec332e94
JM
291882012-07-12 Joseph Myers <joseph@codesourcery.com>
29189
29190 [BZ #13717]
29191 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29192 Change to 2.4.1 where previously 2.4.0.
29193 * sysdeps/unix/sysv/linux/configure: Regenerated.
29194 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29195 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29196 version.
29197 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29198 (__ASSUME_AT_CLKTCK): Remove.
29199 (__ASSUME_AT_PAGESIZE): Likewise.
29200 (__ASSUME_AT_XID): Likewise.
29201 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29202 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29203 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29204 unconditionally.
29205 (HAVE_AUX_PAGESIZE): Likewise.
29206 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29207 [__ASSUME_AT_CLKTCK]: Make code unconditional.
29208 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29209
7b6e99be
JB
292102012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
29211
29212 [BZ #14307]
29213 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29214 the temporary buffer used to invoke __gethostbyname2_r,
29215 __gethostbyaddr_r and gethostbyname4_r to make room for struct
29216 host_data / struct gaih_addrtuple.
29217 * resolv/nss_dns/dns-host.c (global scope): Move definition of
29218 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29219 header file nss/nsswitch.h.
29220 * nss/nsswitch.h (global scope): Add definition of implementation
29221 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29222 resolv/nss_dns/dns-host.c).
29223
608404eb
AJ
292242012-07-11 Andreas Jaeger <aj@suse.de>
29225
29226 * po/fr.po: Update from translation team.
29227
71220aca
AJ
29228 * po/sv.po: Update from translation team
29229 * po/fr.po: Another update from translation team.
29230
28cfe843
AZ
292312012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29232
29233 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29234 for subnormals or multiply small sinh result by itself.
29235 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29237
6b90f981
DM
292382012-07-11 David S. Miller <davem@davemloft.net>
29239
29240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29241
c6825772
AS
292422012-07-10 Andreas Schwab <schwab@linux-m68k.org>
29243
29244 [BZ #14347]
29245 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29246 (INTERNAL_MARK): Shift it here.
29247
7b8e0d49
MP
292482012-07-10 Marek Polacek <polacek@redhat.com>
29249
29250 [BZ #14151]
29251 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
29252 libc_cv_asm_global_directive with .globl.
29253 * configure: Regenerated.
29254 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29255 with .globl.
29256 * sysdeps/i386/configure: Regenerated.
29257 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29258 with .globl.
29259 * sysdeps/x86_64/configure: Regenerated.
29260 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29261 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29262 * elf/tst-unique2mod2.c: Likewise.
29263 * elf/tst-unique2mod1.c: Likewise.
29264 * elf/tst-unique1mod2.c: Likewise.
29265 * elf/tst-unique1mod1.c: Likewise.
29266 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29267 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29268 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29269 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29270 * sysdeps/mach/sysdep.h: Likewise.
29271 * sysdeps/i386/sysdep.h: Likewise.
29272 * sysdeps/i386/i386-mcount.S: Likewise.
29273 * sysdeps/x86_64/_mcount.S: Likewise.
29274 * sysdeps/x86_64/sysdep.h: Likewise.
29275 * sysdeps/sh/_mcount.S: Likewise.
29276 * sysdeps/sh/sysdep.h: Likewise.
29277 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29278 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29279 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29280 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29281 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29282 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29283 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29284 * locale/localeinfo.h: Likewise.
29285 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29286 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29287
6c55cda3
RM
292882012-07-09 Roland McGrath <roland@hack.frob.com>
29289
29290 [BZ #14336]
29291 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29292 system".
29293 * manual/message.texi (The Uniforum approach): Likewise.
29294 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29295 (glibc iconv Implementation): Likewise.
29296
638a572e
JM
292972012-07-09 Joseph Myers <joseph@codesourcery.com>
29298
29299 [BZ #14337]
29300 * math/s_clog.c (__clog): Avoid scaling a value down where that
29301 could result in underflow.
29302 * math/s_clog10.c (__clog10): Likewise.
29303 * math/s_clog10f.c (__clog10f): Likewise.
29304 * math/s_clog10l.c (__clog10l): Likewise.
29305 * math/s_clogf.c (__clogf): Likewise.
29306 * math/s_clogl.c (__clogl): Likewise.
29307 * math/libm-test.inc (clog_test): Add more tests.
29308 (clog10_test): Likewise.
29309 * sysdeps/i386/fpu/libm-test-ulps: Update.
29310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29311
261f4859
AS
293122012-07-06 Andreas Schwab <schwab@linux-m68k.org>
29313
0abaf3e4
AS
29314 [BZ #14283]
29315 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29316 by 7 not 8 to examine high bit of fractional part.
29317
261f4859
AS
29318 [BZ #14042]
29319 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29320 for call to __mcount_internal.
29321 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29322 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29323 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29324
f17ac40d
JM
293252012-07-06 Joseph Myers <joseph@codesourcery.com>
29326
9ad63c23
JM
29327 [BZ #14154]
29328 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29329 approximation for values within 0x1p-13f of an odd multiple of
29330 pi/4.
29331 * math/libm-test.inc (tan_test): Do not allow spurious underflow
29332 exception. Add more tests.
29333 * sysdeps/i386/fpu/libm-test-ulps: Update.
29334
f17ac40d
JM
29335 [BZ #6778]
29336 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29337 inputs and return -1 for them. Do not check for +Inf in case not
29338 reachable for +Inf.
29339 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29340 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29341 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29342 and return -1 for them. Do not check for +Inf in case not
29343 reachable for +Inf.
29344 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29345 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 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
29350 spurious underflow.
29351 * sysdeps/i386/fpu/libm-test-ulps: Update.
29352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29353
fb21f89b
MF
293542012-07-06 Mike Frysinger <vapier@gentoo.org>
29355
29356 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29357
cdfe2c5e
JM
293582012-07-05 Joseph Myers <joseph@codesourcery.com>
29359
29360 [BZ #14157]
29361 [BZ #14331]
29362 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29363 could result in spurious underflow. Scale down values above
29364 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29365 * math/s_csqrtf.c (__csqrtf): Likewise.
29366 * math/s_csqrtl.c (__csqrtl): Likewise.
29367 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
29368 spurious underflow.
29369 * sysdeps/i386/fpu/libm-test-ulps: Update.
29370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29371
70d35b67
AS
293722012-07-04 Andreas Schwab <schwab@linux-m68k.org>
29373
704bc459
AS
29374 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29375 xopen-msg.sed.
29376 * catgets/xopen-msg.awk: New file.
29377 * catgets/xopen-msg.sed: Removed.
29378
70d35b67
AS
29379 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29380 po2text.sed.
29381 * intl/po2test.awk: New file.
29382 * intl/po2test.sed: Removed.
29383
ca61cf32
JM
293842012-07-04 Joseph Myers <joseph@codesourcery.com>
29385
29386 [BZ #14328]
29387 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29388 or multiply small sinh result by itself.
29389 * math/s_ctanf.c (__ctanf): Likewise.
29390 * math/s_ctanh.c (__ctanh): Likewise.
29391 * math/s_ctanhf.c (__ctanhf): Likewise.
29392 * math/s_ctanhl.c (__ctanhl): Likewise.
29393 * math/s_ctanl.c (__ctanl): Likewise.
29394 * math/libm-test.inc (ctan_test_tonearest): New function.
29395 (ctan_test_towardzero): Likewise.
29396 (ctan_test_downward): Likewise.
29397 (ctan_test_upward): Likewise.
29398 (ctanh_test_tonearest): Likewise.
29399 (ctanh_test_towardzero): Likewise.
29400 (ctanh_test_downward): Likewise.
29401 (ctanh_test_upward): Likewise.
29402 (main): Call these new functions.
29403 * sysdeps/i386/fpu/libm-test-ulps: Update.
29404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29405
ca48a46a
MF
294062012-07-03 Mike Frysinger <vapier@gentoo.org>
29407
29408 * .gitignore: Delete /ports entry.
29409
9d63d37d
AJ
294102012-07-03 Andreas Jaeger <aj@suse.de>
29411
29412 * po/bg.po: Update from translation team.
29413 * po/cs.po: Likewise.
29414 * po/de.po: Likewise.
29415 * po/hr.po: Likewise.
29416 * po/nl.pl: Likewise.
29417 * po/pl.po: Likewise.
29418 * po/vi.po: Likewise.
29419
370ca3d2
JM
294202012-07-03 Joseph Myers <joseph@codesourcery.com>
29421
95f5a9a8
JM
29422 * Makeconfig [!+link] (+link-before-libc): New variable.
29423 [!+link] (+link-after-libc): Likewise.
29424 [!+link] (+link-tests): Likewise.
29425 [!+link] (+link): Define in terms of $(+link-before-libc) and
29426 $(+link-after-libc).
29427 [!+link-static] (+link-static-before-libc): New variable.
29428 [!+link-static] (+link-static-after-libc): Likewise.
29429 [!+link-static] (+link-static-tests): Likewise.
29430 [!+link-static] (+link-static): Define in terms of
29431 $(+link-static-before-libc) and $(+link-static-after-libc).
29432 [build-shared] (link-libc-before-gnulib): New variable.
29433 [build-shared] (link-libc-tests): Likewise.
29434 [build-shared] (link-libc): Define in terms of
29435 $(link-libc-before-gnulib).
29436 [!build-shared] (link-libc-tests): New variable.
29437 (link-libc-static-tests): New variable.
29438 [!gnulib] (gnulib-arch): New variable.
29439 [!gnulib] (gnulib-tests): Likewise.
29440 [!gnulib] (static-gnulib-arch): Likewise.
29441 [!gnulib] (static-gnulib-tests): Likewise.
29442 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
29443 Define with "=" instead of ":=".
29444 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
29445 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
29446 * Rules (binaries-all-notests): New variable.
29447 (binaries-all-tests): Likewise.
29448 (binaries-static-notests): Likewise.
29449 (binaries-static-tests): Likewise.
29450 (binaries-all): Define using $(binaries-all-notests) and
29451 $(binaries-all-tests).
29452 (binaries-static): Define using $(binaries-static-notests) and
29453 $(binaries-static-tests).
29454 (binaries-shared-tests): New variable.
29455 (binaries-shared-notests): Likewise.
29456 (binaries-shared): Remove variable.
29457 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
29458 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
29459 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
29460 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
29461 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
29462 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
29463 * elf/Makefile (sln-modules): New variable.
29464 (extra-objs): Add $(sln-modules:=.o).
29465 (ldconfig-modules): Add static-stubs.
29466 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
29467 * elf/static-stubs.c: New file.
29468
7a845b2c
JM
29469 [BZ #14283]
29470 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
29471 by 7 not 8 to examine high bit of fractional part. Use volatile
29472 variables when splitting into final array of floats if
29473 __FLT_EVAL_METHOD__ != 0.
29474 * math/libm-test.inc (cos_test): Add another test.
29475 (sin_test): Likewise.
29476 * sysdeps/i386/fpu/libm-test-ulps: Update.
29477
e2283f38
JM
29478 [BZ #14273]
29479 * math/libm-test.inc (cosh_test): Add more tests.
29480
370ca3d2
JM
29481 * version.h (RELEASE): Set to "development".
29482 (VERSION): Set to "2.16.90".
29483
ee9247c3
CD
294842012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
29485
29486 * NEWS: Update copyright. Remove last-updated date.
29487 Mention math library bug fixes and timezone data changes.
29488 * README: Mention GNU/Hurd, x32, and HPPA support status.
29489
4648c381
TS
294902012-06-28 Thomas Schwinge <thomas@codesourcery.com>
29491
29492 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
29493
aac78a43
AJ
294942012-06-27 Andreas Jaeger <aj@suse.de>
29495
29496 * manual/contrib.texi (Contributors): Add Samuel Thibault.
29497
ed3dbfad
AJ
294982012-06-25 Andreas Jaeger <aj@suse.de>
29499
29500 * sysdeps/s390/fpu/libm-test-ulps: Update.
29501
4d0ee855
AS
295022012-06-23 Andreas Schwab <schwab@linux-m68k.org>
29503 Thomas Schwinge <thomas@codesourcery.com>
29504
29505 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
29506 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
29507 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
29508 fanotify_mark.
29509
af1bce34
TS
295102012-06-23 Thomas Schwinge <thomas@codesourcery.com>
29511
a9fa33ba
TS
29512 * sysdeps/mach/start.c: Remove file.
29513 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
29514 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
29515 * sysdeps/sh/init-first.c: Likewise.
29516
58f902b8
TS
29517 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
29518 registers for frame unwinding purposes, add CFI directives.
29519 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29520 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
29521 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
29522 Likewise.
29523
1518f58b
TS
29524 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
29525 __fortify_fail returning.
29526 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29527
db9b5059
TS
29528 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
29529 sysdeps/sh/____longjmp_chk.S.
29530 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
29531 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
29532 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
29533 (gen-as-const-headers): Append sigaltstack-offsets.sym.
29534
967705fe
TS
29535 * sysdeps/sh/abort-instr.h: New file.
29536 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
29537 process in case exit returns.
29538
a9def8c4
TS
29539 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
29540 initialize the GOT register before use.
29541
2a649725
TS
29542 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
29543 calculation of ARGC > 4.
29544
af1bce34
TS
29545 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
29546 meaningful names to some local labels.
29547
d230f50a
KK
295482012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29549 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29550
29551 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
29552 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
29553 (__arch_compare_and_exchange_val_16_acq): Likewise.
29554 (__arch_compare_and_exchange_val_32_acq): Likewise.
29555 (atomic_exchange_and_add): Fix gUSA sequence.
29556 (atomic_add): Likewise.
29557 (atomic_add_negative): Likewise.
29558 (atomic_add_zero): Likewise.
29559 (atomic_bit_test_set): Likewise.
29560
0479b305
AS
295612012-06-22 Andreas Schwab <schwab@redhat.com>
29562
29563 [BZ #13579]
29564 * include/link.h (struct link_map): Add l_free_initfini.
29565 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
29566 l_initfini.
29567 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
29568 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
29569 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
29570 set.
29571
0e3933b9
CD
295722012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
29573
29574 * configure.in: Use AC_LANG_SOURCE.
29575 * configure: Regenerate.
29576
4248b1b1
RM
295772012-06-22 Roland McGrath <roland@hack.frob.com>
29578
29579 * configure.in (libc_cv_localstatedir): New substituted variable.
29580 * configure: Regenerated.
29581 * config.make.in (localstatedir): New variable, substituted from
29582 libc_cv_localstatedir.
29583 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
29584 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
29585 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
29586 * sysdeps/gnu/configure: Regenerated.
29587
006dd861
JL
295882012-06-21 Jeff Law <law@redhat.com>
29589
29590 [BZ #14277]
29591 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
29592 free. Simplify list management for _LIBC case.
29593
79662d42
JM
295942012-06-21 Joseph Myers <joseph@codesourcery.com>
29595
b7abb4bf
JM
29596 [BZ #14273]
29597 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29598 Clear sign bit of 64-bit integer value before comparing against
29599 overflow value.
29600
79662d42
JM
29601 * sysdeps/mach/configure: Regenerated.
29602
1f150908
L
296032012-06-21 H.J. Lu <hongjiu.lu@intel.com>
29604
29605 [BZ #14278]
29606 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
29607
28363bbf
JL
296082012-06-21 Jeff Law <law@redhat.com>
29609
29610 [BZ #13882]
29611 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
29612 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 29613 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
29614 * elf/dl-open.c (dl_open_worker): Likewise.
29615
09615db4
CD
296162012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
29617
29618 * scripts/list-sources.sh: Scan PORTS for translations.
29619 * po/libc.pot: Regenerated.
29620
2174c6dd
AJ
296212012-06-21 Andreas Jaeger <aj@suse.de>
29622
29623 [BZ #12194]
29624 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
29625 warning.
29626 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
29627 * bits/byteswap-16.h (__bswap_16): Likewise.
29628 * bits/byteswap.h (__bswap_constant_16): Likewise.
29629
3ee947b1
L
296302012-06-18 H.J. Lu <hongjiu.lu@intel.com>
29631
29632 [BZ #14117]
a2f34833
L
29633 * sysdeps/i386/fpu_control.h: Removed.
29634 * sysdeps/x86_64/fpu_control.h: Moved to ...
29635 * sysdeps/x86/fpu_control.h: Here.
29636
3ee947b1
L
29637 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
29638 (_FPU_SETCW): Likewise.
29639
ed1825f8
L
296402012-06-15 H.J. Lu <hongjiu.lu@intel.com>
29641
25f1282a
L
29642 [BZ #14117]
29643 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
29644 * sysdeps/x86/fpu/bits/mathinline.h: This.
29645 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
29646
ed1825f8
L
29647 [BZ #14050]
29648 [BZ #14117]
29649 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
29650 functions if __x86_64__ is defined.
29651
36d54b74
CLT
296522012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
29653
29654 * string/endian.h: Add !__ASSEMBLER__ condition for including
29655 conversion interfaces.
29656
10285c21
JM
296572012-06-15 Joseph Myers <joseph@codesourcery.com>
29658
29659 [BZ #14241]
29660 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
29661 of ABS(x) in calculating zero to negative powers other than odd
29662 integers.
29663 * math/libm-test.inc (pow_test): Add more tests.
29664
06c5abbd
AJ
296652012-06-15 Andreas Jaeger <aj@suse.de>
29666
29667 * manual/contrib.texi (Contributors): Update entry of Liubov
29668 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
29669 Machado Filho.
29670
a3aeac40
CH
296712012-06-15 Cyril Hrubis <metan@ucw.cz>
29672
29673 * string/string.h: Add __wur to GNU version of strerror_r.
29674
49bdf4c1
L
296752012-06-14 H.J. Lu <hongjiu.lu@intel.com>
29676
29677 [BZ #14229]
29678 * string/Makefile (tests): Add tst-strtok_r.
29679 * string/tst-strtok_r.c: New file.
29680 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
29681 RAX_LP/RDX_LP on SAVE_PTR.
29682
834f9b8d
RM
296832012-06-14 Roland McGrath <roland@hack.frob.com>
29684
29685 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
29686
75fa1921
JM
296872012-06-14 Joseph Myers <joseph@codesourcery.com>
29688
29689 * libm_test.inc (csqrt_test): Allow more spurious underflow
29690 exceptions.
29691 (j0_test): Likewise.
29692 (j1_test): Likewise.
29693 (y0_test): Likewise.
29694 (y1_test): Likewise.
29695
771766df
CD
296962012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
29697
29698 * po/Makefile (libc.pot): Use UTF-8 charset.
29699
ceb9e56b
PP
297002012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
29701
29702 [BZ #14210]
29703 Suppress sign-conversion warning from FD_SET.
29704 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
29705 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
29706 not unsigned long int.
29707 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
29708
ddb28975
L
297092012-06-12 H.J. Lu <hongjiu.lu@intel.com>
29710
29711 [BZ #14050]
29712 [BZ #14117]
29713 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
29714 __extern_always_inline instead of __extern_inline.
29715 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
29716 (__signbit): Likewise.
29717 (__signbitl): Support C++ namespace.
29718 (lrintf): New inline function.
29719 (lrint): Likewise.
29720 (llrintf): Likewise.
29721 (llrint): Likewise.
29722 (fmaxf): Likewise.
29723 (fmax): Likewise.
29724 (fminf): Likewise.
29725 (fmin): Likewise.
29726 (rint): Likewise.
29727 (rintf): Likewise.
29728 (ceil): Likewise.
29729 (ceilf): Likewise.
29730 (floor): Likewise.
29731 (floorf): Likewise.
29732 (nearbyint): Likewise.
29733 (nearbyintf): Likewise.
29734
d7b4fb26
TS
297352012-06-12 Thomas Schwinge <thomas@codesourcery.com>
29736
29737 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
29738 non-default versions.
29739
eb55f5c2
RM
297402012-06-11 Roland McGrath <roland@hack.frob.com>
29741
29742 [BZ #14218]
29743 * manual/argp.texi (Argp): Reword argp_parse description slightly.
29744
366af02c
TS
297452012-06-09 Thomas Schwinge <thomas@codesourcery.com>
29746
99ff6e5c
TS
29747 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
29748 (FE_UPWARD, FE_DOWNWARD): Don't define.
29749 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
29750 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29751
366af02c
TS
29752 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
29753 reading it.
29754 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29755 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29756
793ea851
KK
297572012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29758
29759 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29760 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
29761 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
29762 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
29763
a728a38f
L
297642012-06-06 H.J. Lu <hongjiu.lu@intel.com>
29765
29766 [BZ #14117]
c08010c7
L
29767 * sysdeps/i386/fpu/bits/fenv.h: Removed.
29768 * sysdeps/i386/fpu/Implies: New file.
29769 * sysdeps/x86_64/fpu/Implies: Likewise.
29770 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
29771 * sysdeps/x86/fpu/bits/fenv.h: This.
29772
a728a38f
L
29773 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
29774 __SSE_MATH__.
29775
6e230d11
SP
297762012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29777
29778 [BZ #14134]
29779 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
29780 character 0xffff that matches the last element of the
29781 conversion table.
29782
1b671feb
AZ
297832012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29784
29785 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
29786 fmodl commit.
29787
6043738b
AZ
297882012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29789
29790 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
29791 values higher than 25.6283.
29792
34ae0b32
AZ
297932012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29794
29795 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
29796 subnormal exponent extraction and add some __builtin_expect.
29797 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
29798 Fix for subnormal mantissa calculation.
29799
1214ec8f
MF
298002012-06-04 Mike Frysinger <vapier@gentoo.org>
29801
29802 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
29803 cpu2 is -1 and errno is not ENOSYS.
29804
f3d1f93c
L
298052012-06-04 H.J. Lu <hongjiu.lu@intel.com>
29806
29807 [BZ #14117]
0e4a3cd7
L
29808 * sysdeps/i386/i486/bits/string.h: Renamed to ...
29809 * sysdeps/x86/bits/string.h: This.
29810 * sysdeps/x86_64/bits/string.h: Removed.
29811
6704c645
L
29812 * sysdeps/i386/i486/bits/string.h: Define inline functions only
29813 if not compiling for x86-64, but compiling for >= i486.
29814
48495318
L
29815 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
29816 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
29817
14adcbfc
L
29818 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
29819 New macro from Linux kernel 3.4.0.
29820 (FP_XSTATE_MAGIC2): Likewise.
29821 (FP_XSTATE_MAGIC2_SIZE): Likewise.
29822 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
29823 (struct _fpx_sw_bytes): New struct.
29824 (struct _xsave_hdr): Likewise.
29825 (struct _ymmh_state): Likewise.
29826 (struct _xstate): Likewise.
29827
68e408ab
L
29828 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
29829 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
29830 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
29831 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
29832 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
29833 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
29834
f3d1f93c
L
29835 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
29836 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
29837 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
29838 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
29839 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
29840 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
29841
d9dc34cd
TMQMF
298422012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29843
29844 [BZ #13743]
29845 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
29846 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
29847 (sysdep_headers): Include sys/platform/ppc.h.
29848 * sysdeps/powerpc/test-gettimebase.c: Test for
29849 __ppc_get_timebase() to catch future ISA opcode/insn changes.
29850 * manual/Makefile (appendices): Include platform.texi.
29851 * manual/contrib.texi (Contributors): Update @node pointers.
29852 * manual/maint.texi (Maintenance): Likewise.
29853 (Platform): New node.
29854 * manual/platform.texi: New file. Document the new features.
29855
4af3879c
SP
298562012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29857 Jakub Jelinek <jakub@redhat.com>
29858
29859 [BZ #14188]
29860 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
29861 where __builtin_expect is unavailable.
29862
2fd6ff13
DM
298632012-06-03 David S. Miller <davem@davemloft.net>
29864
29865 * stdlib/longlong.h: Updated from GCC.
29866
173f7220
AS
298672012-06-02 Andreas Schwab <schwab@linux-m68k.org>
29868
29869 [BZ #14042]
29870 * sysdeps/powerpc/powerpc32/mcount.c: New file.
29871 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
29872 __mcount_internal.
29873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29874 (GLIBC_2.16): Likewise.
29875
f34a1c6f
L
298762012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29877
29878 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
29879
88a4576f
JM
298802012-06-01 Joseph Myers <joseph@codesourcery.com>
29881
ea32bcdd
JM
29882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
29883 (default-abi): New variable.
29884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
29885 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
29886 variable.
29887 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
29888 Likewise.
29889 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
29890 Likewise.
29891 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
29892 Likewise.
29893
88a4576f
JM
29894 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
29895 definition. Document in comment.
29896
402fe938
DM
298972012-06-01 David S. Miller <davem@davemloft.net>
29898
29899 * stdlib/longlong.h: Updated from GCC.
29900
3553723f
L
299012012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29902
29903 [BZ #14117]
3bd872c4
L
29904 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
29905 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
29906 sys/debugreg.h sys/io.h here.
29907 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
29908 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
29909 sys/io.h.
29910 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
29911 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
29912 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
29913 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
29914 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
29915 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
29916
3553723f
L
29917 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
29918 Define only if __x86_64__ is defined.
29919
4842e4fe
JM
299202012-06-01 Joseph Myers <joseph@codesourcery.com>
29921
c5bfe3d5
JM
29922 [BZ #14048]
29923 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
29924 Use int64_t for variable i.
29925 * math/libm-test.inc (fmod_test): Add more tests.
29926
4842e4fe
JM
29927 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
29928 z computation is not scheduled after fetestexcept.
29929 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
29930 Use math_force_eval instead of asm to ensure calculation scheduled
29931 before exception test.
29932 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
29933 Ensure a1 + u.d computation is not scheduled after fetestexcept.
29934
efb73488
AJ
299352012-06-01 Aurelien Jarno <aurelien@aurel32.net>
29936
29937 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
29938 computation is not scheduled after fetestexcept.
29939
29bcce7c
L
299402012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29941
29942 [BZ #14117]
29943 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
29944 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
29945
73a68f94
AZ
299462012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29947
29948 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
29949 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29950
67b6df78
L
299512012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29952
edf2933a 29953 [BZ #14117]
ebc64a18
L
29954 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
29955 <bits/wordsize.h>.
29956 (__WCHAR_MIN): Support __WORDSIZE == 64.
29957 (__WCHAR_MAX): Likewise.
29958
edf2933a
L
29959 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
29960 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
29961
57c6cf40
L
29962 [BZ #14183]
29963 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
29964 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
29965
67b6df78 29966 [BZ #14117]
8eb6281e
L
29967 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
29968 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
29969
aac639f4
L
29970 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
29971 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
29972
67b6df78
L
29973 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
29974 Defined to 1 if __x86_64__ isn't defined.
29975 (_STAT_VER_LINUX_OLD): New.
29976 (st_atime): Remove duplicate.
29977 (st_mtime): Likewise.
29978 (st_ctime): Likewise.
29979
1c2cfe81
DM
299802012-05-31 David S. Miller <davem@davemloft.net>
29981
29982 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
29983 entries.
29984
5be8418c
AS
299852012-06-01 Andreas Schwab <schwab@linux-m68k.org>
29986
e7725326
AS
29987 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
29988 gen-libm-test.pl.
29989
5be8418c
AS
29990 [BZ #14132]
29991 * elf/dl-reloc.c: Include <_itoa.h>.
29992 (_dl_reloc_bad_type): Remove use of INTUSE.
29993 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
29994 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
29995 * stdio-common/psiginfo.c (psiginfo): Likewise.
29996 * stdio-common/psignal.c (psignal): Likewise.
29997 * string/strsignal.c (strsignal): Likewise.
29998 * include/signal.h (_sys_siglist): Declare hidden proto.
29999 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
30000 INTVARDEF with libc_hidden_data_def.
30001 * stdio-common/itoa-udigits.c: Likewise.
30002 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30003 (_itoa_lower_digits_internal): Remove declaration.
30004 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30005 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30006 (_sys_sigabbrev_internal): Remove aliases.
30007 (_sys_siglist): Define hidden alias.
30008
507352f1
MT
300092012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
30010
30011 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30012 bits/sysctl.h.
30013
42bbb1c3
L
300142012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30015
30016 [BZ #14117]
6bd784b6
L
30017 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30018 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30019
8bca20f0
L
30020 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30021 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30022 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30023 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30024 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30025 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30026
f9e890a9
L
30027 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30028 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30029 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30030
471101a1
L
30031 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30032 with __addr.
30033 (insw): Likewise.
30034 (insl): Likewise.
30035 (outsb): Likewise.
30036 (outsw): Likewise.
30037 (outsl): Likewise.
30038
6451c862
L
30039 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30040 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30041 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30042
a254b8c9
L
30043 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30044 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30045 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30046 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30047 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30048 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30049
b8dfdd92
L
30050 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30051 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30052
578cd270
L
30053 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30054 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30055
de662f5f
L
30056 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30057 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30058 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30059
25653439
L
30060 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30061 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30062 to ...
30063 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30064
6bad24a0
L
30065 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30066 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30067 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30068
42bbb1c3
L
30069 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30070 for x86-64.
30071 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30072
2d10d547
JM
300732012-05-31 Joseph Myers <joseph@codesourcery.com>
30074
30075 * math/math.h (M_El): Use two more decimal places.
30076 (M_LOG2El): Likewise.
30077 (M_LOG10El): Likewise.
30078 (M_LN2l): Likewise.
30079 (M_LN10l): Likewise.
30080 (M_PIl): Likewise.
30081 (M_PI_2l): Likewise.
30082 (M_PI_4l): Likewise.
30083 (M_1_PIl): Likewise.
30084 (M_2_PIl): Likewise.
30085 (M_2_SQRTPIl): Likewise.
30086 (M_SQRT2l): Likewise.
30087 (M_SQRT1_2l): Likewise.
30088
f230c29b
DM
300892012-05-31 David S. Miller <davem@davemloft.net>
30090
30091 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30092 values between float registers.
30093 * sysdeps/sparc/sparc64/memset.S: Likewise.
30094 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30095
fed806c3
MF
300962012-05-31 Mike Frysinger <vapier@gentoo.org>
30097
30098 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30099 -D_FORTIFY_SOURCE=1.
30100 (CPPFLAGS-tst-longjmp_chk.c): Define.
30101 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30102 (CPPFLAGS-tst-longjmp_chk2.c): Define.
30103 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30104 CFLAGS-tst-wchar-h.c.
30105
30917259
MP
301062012-05-31 Marek Polacek <polacek@redhat.com>
30107
30108 [BZ #14132]
30109 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30110 __endmntent_internal): Remove declaration.
30111 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30112 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30113 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30114
1c58d5dc
DM
301152012-05-30 David S. Miller <davem@davemloft.net>
30116
30117 * sysdeps/sparc/sparc32/soft-fp/q_util.c
30118 (___Q_simulate_exceptions): Use real FP ops rather than writing
30119 into the %fsr.
30120 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30121 Likewise.
30122
7dc00e0d
L
301232012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30124
30125 [BZ #14117]
0bd53985
L
30126 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30127 * sysdeps/x86/bits/xtitypes.h: This.
30128
3a257e66
L
30129 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30130 * sysdeps/x86/bits/wordsize.h: This.
30131
62f62904
L
30132 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30133 * sysdeps/x86/bits/huge_vall.h: This.
30134
404fe9d9
L
30135 * sysdeps/i386/bits/select.h: Removed.
30136 * sysdeps/x86_64/bits/select.h: Renamed to ...
30137 * sysdeps/x86/bits/select.h: This.
30138
d48d0446
L
30139 * sysdeps/i386/bits/setjmp.h: Removed.
30140 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30141 * sysdeps/x86/bits/setjmp.h: This.
30142
7dc00e0d
L
30143 * sysdeps/i386/bits/mathdef.h: Removed.
30144 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30145 * sysdeps/x86/bits/mathdef.h: This.
30146
03277f8f
AS
301472012-05-30 Andreas Schwab <schwab@linux-m68k.org>
30148
30149 [BZ #14132]
30150 * include/sys/socket.h (__connect_internal)
30151 (__libc_sa_len_internal): Remove declaration.
30152 (__connect, __libc_sa_len): Declare hidden_proto.
30153 (SA_LEN): Remove use of INTUSE.
30154 * socket/connect.c: Add libc_hidden_def.
30155 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30156 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30157 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30158 alias.
30159 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30160 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30161 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30162 of adding _internal alias.
30163
13764867
L
301642012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30165
30166 [BZ #14117]
6bd97696
L
30167 * sysdeps/i386/bits/link.h: Removed.
30168 * sysdeps/i386/bits/linkmap.h: Likewise.
30169 * sysdeps/x86_64/bits/link.h: Renamed to ...
30170 * sysdeps/x86/bits/link.h: This.
30171 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30172 * sysdeps/x86/bits/linkmap.h: This.
30173
f726f0bb
L
30174 * sysdeps/i386/bits/endian.h: Removed.
30175 * sysdeps/x86_64/bits/endian.h: Renamed to ...
30176 * sysdeps/x86/bits/endian.h: This.
30177
13764867
L
30178 * sysdeps/i386/bits/byteswap.h: Removed.
30179 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30180 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30181 * sysdeps/x86/bits/byteswap.h: This.
30182 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30183 * sysdeps/x86/bits/byteswap-16.h: This.
30184 * sysdeps/i386/Implies: Add x86.
30185 * sysdeps/x86_64/Implies: Likewise.
30186
ae251b0b
DM
301872012-05-30 David S. Miller <davem@davemloft.net>
30188
30189 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30190 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30191 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30192 (FP_TRAPPING_EXCEPTIONS): Define.
30193 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30194 (FP_TRAPPING_EXCEPTIONS): Define.
30195 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30196 subnormals only when inexact has been signalled or underflow
30197 exceptions are enabled.
30198 (_FP_PACK_CANONICAL): Likewise.
30199
d5c90867
L
302002012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30201
30202 [BZ #14183]
30203 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30204 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30205
63f1549e
RH
302062012-05-30 Richard Henderson <rth@twiddle.net>
30207
8d8f2279
RH
30208 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30209 with #ifndef NOT_IN_libc.
30210
63f1549e
RH
30211 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
30212 marked to avoid plt entry.
30213
0ab0291b
L
302142012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30215
30216 [BZ #14112]
30217 * Makeconfig (default-abi): New macro.
30218 (abi-includes): Likewise.
30219 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
30220 $(abi-$(default-abi)-lib-soname) for soname if defined.
30221 ($(common-objpfx)gnu/lib-names.stmp): Generate from
30222 abi-variants.
30223 * Makefile (installed-stubs): Likewise.
30224 * include/stubs-biarch.h: Removed.
30225 * scripts/lib-names.awk: Only handle one library at a time.
30226 * scripts/soversions.awk: Remove WORDSIZE support.
30227 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30228 entries.
30229 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30230 Removed.
30231 (syscall-list-default-condition): Likewise.
30232 (syscall-list-default-condition): Likewise.
30233 (syscall-list-includes): Likewise.
30234 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30235 syscall-list-* with abi-*. Handle undefined abi-variants.
30236 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30237 * sysdeps/unix/sysv/linux/i386/Implies: New file.
30238 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30239 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30240 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30241 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30242 Removed.
30243 (syscall-list-32-options): Likewise.
30244 (syscall-list-32-condition): Likewise.
30245 (syscall-list-64-options): Likewise.
30246 (syscall-list-64-condition): Likewise.
30247 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30248 macro.
30249 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30250 Renamed to ...
30251 (abi-*): This.
30252 (abi-64-ld-soname): New macro.
30253 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30254 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30255 Renamed to ...
30256 (abi-*): This.
30257 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30258 * sysdeps/x86_64/x32/shlib-versions: Likewise.
30259
4da0431d
JM
302602012-05-30 Joseph Myers <joseph@codesourcery.com>
30261
3a85279c
JM
30262 * sysdeps/unix/sysv/linux/kernel-features.h
30263 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30264 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30265 include <kernel-features.h>.
30266 [!__NR_ftruncate64]: Remove conditional code.
30267 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30268 [__NR_ftruncate64]: Make code unconditional.
30269 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30270 * sysdeps/unix/sysv/linux/truncate64.c: Do not
30271 include <kernel-features.h>.
30272 [!__NR_ftruncate64]: Remove conditional code.
30273 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30274 [__NR_ftruncate64]: Make code unconditional.
30275 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30277 include <kernel-features.h>.
30278 [!__NR_ftruncate64]: Remove conditional code.
30279 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30280 [__NR_ftruncate64]: Make code unconditional.
30281 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30283 include <kernel-features.h>.
30284 [!__NR_ftruncate64]: Remove conditional code.
30285 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30286 [__NR_ftruncate64]: Make code unconditional.
30287 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30288
4da0431d
JM
30289 * configure.in (libc_cv_fpie): Weaken to a compile test using
30290 LIBC_TRY_CC_OPTION.
30291 * configure: Regenerated.
30292
11ef492c
AK
302932012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30294
30295 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30296 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30298 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30299 Refreshed.
30300 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30302 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30303 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30306 Refreshed.
30307
d66ef399
DM
303082012-05-27 David S. Miller <davem@davemloft.net>
30309
30310 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30311 (___Q_zero): New.
30312 (__Q_simulate_exceptions): Return void. Change to simulate
30313 exceptions by writing into the %fsr.
30314 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30315 (__Qp_handle_exceptions): Likewise.
30316 (numbers): Delete.
30317 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30318 __Qp_handle_exceptions.
30319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30320 __Qp_handle_exceptions.
30321 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30322 as unused and give dummy FP_RND_NEAREST initializer.
30323 (FP_INHIBIT_RESULTS): Define.
30324 (___Q_simulate_exceptions): Update declaration.
30325 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30326 formatting.
30327 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30328 as unused and give dummy FP_RND_NEAREST initializer.
30329 (__Qp_handle_exceptions): Update declaration.
30330 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30331 formatting.
30332
04fb54b5
TS
303332012-05-27 Thomas Schwinge <thomas@codesourcery.com>
30334
30335 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30336 the temporary FPU control word.
30337 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30338 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30339 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30340 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30341 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30342 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30343 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30344 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30345 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30346 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30347 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30348
3f99608f
KK
303492012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30350
30351 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30352 fields.
30353
65a4de4e
CLT
303542012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
30355
30356 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30357 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30358 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30359 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30360 Likewise.
30361 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30362 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30363 Likewise.
30364
15749d40
UD
303652012-05-27 Ulrich Drepper <drepper@gmail.com>
30366
30367 * po/h.po: Update from translation team.
30368
25dbcb27
AS
303692012-05-26 Andreas Schwab <schwab@linux-m68k.org>
30370
3d3f8e55
AS
30371 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30372
25dbcb27
AS
30373 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30374 handling of denormals.
30375 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30376 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30377 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30378 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30379 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30380 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30381 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30382 Likewise.
30383
7ad47a80 303842012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
30385
30386 [BZ #14152]
30387 * math/libm-test.inc (fma_test): Don't always expect underflow
30388 exception.
30389
9c6ea9fa
SP
303902012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30391
30392 [BZ #12416]
30393 * elf/tst-execstack.c: Include stackinfo.h.
30394 (do_test): Adjust test case to ensure that pthread_getattr_np
30395 behaviour remains the same after marking stack executable.
30396
a8239222
JM
303972012-05-25 Joseph Myers <joseph@codesourcery.com>
30398
30399 * sysdeps/unix/sysv/linux/kernel-features.h
30400 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30401 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30402 kernel-features.h.
30403 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30404 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30405 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30406 kernel-features.h.
30407 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30408 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30409
918b5606
L
304102012-05-25 H.J. Lu <hongjiu.lu@intel.com>
30411
30412 * configure.in: Define the default includes to being none.
30413 * configure: Regenerated.
30414
3a097cc7
RM
304152012-05-25 Roland McGrath <roland@hack.frob.com>
30416
8422c9a5
RM
30417 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30418 * sysdeps/x86_64/setjmp.S: Likewise.
30419 * sysdeps/i386/bsd-setjmp.S: Likewise.
30420 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30421 * sysdeps/i386/setjmp.S: Likewise.
30422 * sysdeps/i386/__longjmp.S: Likewise.
30423 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30424 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30425
3a097cc7
RM
30426 * include/stap-probe.h: New file.
30427 * configure.in: Handle --enable-systemtap.
30428 * configure: Regenerated.
30429 * config.h.in (USE_STAP_PROBE): New #undef.
30430 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30431 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30432 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30433
21708942
JM
304342012-05-25 Joseph Myers <joseph@codesourcery.com>
30435
30436 [BZ #13717]
30437 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30438 to 2.4.0 where earlier.
30439 * sysdeps/unix/sysv/linux/configure: Regenerated.
30440 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30441 <kernel-features.h>.
30442 [__ASSUME_32BITUIDS]: Make code unconditional.
30443 [!__ASSUME_32BITUIDS]: Remove conditional code.
30444 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
30445 <kernel-features.h>.
30446 [__ASSUME_32BITUIDS]: Make code unconditional.
30447 [!__ASSUME_32BITUIDS]: Remove conditional code.
30448 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
30449 [__ASSUME_32BITUIDS]: Make code unconditional.
30450 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
30451 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
30452 <kernel-features.h>.
30453 [__ASSUME_32BITUIDS]: Make code unconditional.
30454 [!__ASSUME_32BITUIDS]: Remove conditional code.
30455 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
30456 <kernel-features.h>.
30457 [__ASSUME_32BITUIDS]: Make code unconditional.
30458 [!__ASSUME_32BITUIDS]: Remove conditional code.
30459 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
30460 <kernel-features.h>.
30461 [__ASSUME_32BITUIDS]: Make code unconditional.
30462 [!__ASSUME_32BITUIDS]: Remove conditional code.
30463 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
30464 <kernel-features.h>.
30465 [__ASSUME_32BITUIDS]: Make code unconditional.
30466 [!__ASSUME_32BITUIDS]: Remove conditional code.
30467 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30468 <kernel-features.h>.
30469 [__ASSUME_32BITUIDS]: Make code unconditional.
30470 [!__ASSUME_32BITUIDS]: Remove conditional code.
30471 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30472 <kernel-features.h>.
30473 [__ASSUME_32BITUIDS]: Make code unconditional.
30474 [!__ASSUME_32BITUIDS]: Remove conditional code.
30475 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
30476 <kernel-features.h>.
30477 [__ASSUME_32BITUIDS]: Make code unconditional.
30478 [!__ASSUME_32BITUIDS]: Remove conditional code.
30479 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30480 <kernel-features.h>.
30481 [__ASSUME_32BITUIDS]: Make code unconditional.
30482 [!__ASSUME_32BITUIDS]: Remove conditional code.
30483 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30484 <kernel-features.h>.
30485 [__ASSUME_32BITUIDS]: Make code unconditional.
30486 [!__ASSUME_32BITUIDS]: Remove conditional code.
30487 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
30488 <kernel-features.h>.
30489 [__ASSUME_32BITUIDS]: Make code unconditional.
30490 [!__ASSUME_32BITUIDS]: Remove conditional code.
30491 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
30492 <kernel-features.h>.
30493 [__NR_setresgid] (__setresgid): Do not declare.
30494 [__ASSUME_32BITUIDS]: Make code unconditional.
30495 [!__ASSUME_32BITUIDS]: Remove conditional code.
30496 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
30497 <kernel-features.h>.
30498 [__NR_setresuid] (__setresuid): Do not declare.
30499 [__ASSUME_32BITUIDS]: Make code unconditional.
30500 [!__ASSUME_32BITUIDS]: Remove conditional code.
30501 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
30502 <kernel-features.h>.
30503 [__ASSUME_32BITUIDS]: Make code unconditional.
30504 [!__ASSUME_32BITUIDS]: Remove conditional code.
30505 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
30506 <kernel-features.h>.
30507 [__ASSUME_32BITUIDS]: Make code unconditional.
30508 [!__ASSUME_32BITUIDS]: Remove conditional code.
30509 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
30510 <kernel-features.h>.
30511 [__ASSUME_32BITUIDS]: Make code unconditional.
30512 [!__ASSUME_32BITUIDS]: Remove conditional code.
30513 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
30514 <kernel-features.h>.
30515 [__ASSUME_32BITUIDS]: Make code unconditional.
30516 [!__ASSUME_32BITUIDS]: Remove conditional code.
30517 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
30518 <kernel-features.h>.
30519 [__ASSUME_32BITUIDS]: Make code unconditional.
30520 [!__ASSUME_32BITUIDS]: Remove conditional code.
30521 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
30522 <kernel-features.h>.
30523 [__ASSUME_32BITUIDS]: Make code unconditional.
30524 [!__ASSUME_32BITUIDS]: Remove conditional code.
30525 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
30526 <kernel-features.h>.
30527 [__ASSUME_32BITUIDS]: Make code unconditional.
30528 [!__ASSUME_32BITUIDS]: Remove conditional code.
30529 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
30530 <kernel-features.h>.
30531 [__ASSUME_32BITUIDS]: Make code unconditional.
30532 [!__ASSUME_32BITUIDS]: Remove conditional code.
30533 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
30534 <kernel-features.h>.
30535 [__ASSUME_32BITUIDS]: Make code unconditional.
30536 [!__ASSUME_32BITUIDS]: Remove conditional code.
30537 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30538 <kernel-features.h>.
30539 [__ASSUME_32BITUIDS]: Make code unconditional.
30540 [!__ASSUME_32BITUIDS]: Remove conditional code.
30541 * sysdeps/unix/sysv/linux/kernel-features.h
30542 (__ASSUME_SETRESUID_SYSCALL): Remove.
30543 (__ASSUME_SETRESGID_SYSCALL): Likewise.
30544 (__ASSUME_32BITUIDS): Likewise.
30545 (__ASSUME_LDT_WORKS): Likewise.
30546 (__ASSUME_O_DIRECTORY): Likewise.
30547 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
30548 architecture but not kernel version.
30549 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30550 (__ASSUME_MMAP2_SYSCALL): Likewise.
30551 (__ASSUME_STAT64_SYSCALL): Likewise.
30552 (__ASSUME_IPC64): Likewise.
30553 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
30554 <kernel-features.h>.
30555 [__ASSUME_32BITUIDS]: Make code unconditional.
30556 [!__ASSUME_32BITUIDS]: Remove conditional code.
30557 * sysdeps/unix/sysv/linux/opendir.c: Do not include
30558 <kernel-features.h>.
30559 [__ASSUME_O_DIRECTORY]: Make code unconditional.
30560 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
30561 132096]: Remove conditional code.
30562 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
30563 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30564 <kernel-features.h>.
30565 [__ASSUME_32BITUIDS]: Make code unconditional.
30566 [!__ASSUME_32BITUIDS]: Remove conditional code.
30567 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30568 <kernel-features.h>.
30569 [__ASSUME_32BITUIDS]: Make code unconditional.
30570 [!__ASSUME_32BITUIDS]: Remove conditional code.
30571 * sysdeps/unix/sysv/linux/setegid.c: Do not include
30572 <kernel-features.h>.
30573 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
30574 unconditional.
30575 (__setresgid): Do not declare.
30576 [__ASSUME_32BITUIDS]: Make code unconditional.
30577 [!__ASSUME_32BITUIDS]: Remove conditional code.
30578 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
30579 <kernel-features.h>.
30580 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
30581 unconditional.
30582 (__setresuid): Do not declare.
30583 [__ASSUME_32BITUIDS]: Make code unconditional.
30584 [!__ASSUME_32BITUIDS]: Remove conditional code.
30585 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30586 <kernel-features.h>.
30587 [__ASSUME_32BITUIDS]: Make code unconditional.
30588 [!__ASSUME_32BITUIDS]: Remove conditional code.
30589 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
30590 <kernel-features.h>.
30591 [__ASSUME_32BITUIDS]: Make code unconditional.
30592 [!__ASSUME_32BITUIDS]: Remove conditional code.
30593
a386f1cc
RH
305942012-05-25 Richard Henderson <rth@twiddle.net>
30595
30596 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
30597 dl_hwcap to ifunc resolver.
30598 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
30599 elf_ifunc_invoke.
30600 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
30601 dl_hwcap to ifunc resolver.
30602 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
30603
b6550497
JM
306042012-05-24 Joseph Myers <joseph@codesourcery.com>
30605
30606 [BZ #14153]
30607 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
30608 for |x| <= 2**-26, not 2**-57.
30609 * math/libm-test.inc (acos_test): Do not allow spurious underflow
30610 exception.
30611
b0bc23a1
JL
306122012-05-24 Jeff Law <law@redhat.com>
30613
30614 * stdio-common/Makefile (tests): Add bug25.
30615 * stdio-common/bug25.c: New test.
30616
347c92e9
L
306172012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30618
30619 [BZ #13576]
30620 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
30621 multiple of MALLOC_ALIGNMENT in size.
30622 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
30623
6bcc8b3f
JM
306242012-05-24 Joseph Myers <joseph@codesourcery.com>
30625
30626 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
30627 Require >= 256.
30628 (FILENAME_MAX): Use macro-int-constant.
30629 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
30630 (_IOFBF): Use macro-int-constant.
30631 (_IOLBF): Likewise.
30632 (_IONBF): Likewise.
30633 (SEEK_CUR): Likewise.
30634 (SEEK_END): Likewise.
30635 (SEEK_SET): Likewise.
30636 (TMP_MAX): Likewise.
30637 (EOF): Use macro-int-constant. Require < 0.
30638 (NULL): Use macro-constant. Require == 0.
30639 (stdin): Require type to be FILE *.
30640 (stdout): Likewise.
30641 (stderr): Likewise.
30642 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
30643 macro-int-constant.
30644 (EXIT_SUCCESS): Likewise.
30645 (NULL): Use macro-constant. Require == 0.
30646 (RAND_MAX): Use macro-int-constant.
30647 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
30648 [C99-based standards] (strtof): Require function.
30649 [C99-based standards] (strtold): Likewise.
30650 [C99-based standards] (strtoll): Likewise.
30651 [C99-based standards] (strtoull): Likewise.
30652 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30653 [ISO || ISO99 || ISO11] (limits.h): Likewise.
30654 [ISO || ISO99 || ISO11] (math.h): Likewise.
30655 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
30656 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30657 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30658
d18ea0c5
AS
306592012-05-24 Andreas Schwab <schwab@linux-m68k.org>
30660
30661 [BZ #14132]
56d25bb8
AS
30662 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
30663 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
30664 * intl/dgettext.c (DCGETTEXT): Likewise.
30665 * intl/gettext.c (DCGETTEXT): Likewise.
30666 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
30667 * posix/regex_internal.h (gettext): Likewise.
30668 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
30669 Remove declaration.
30670 * include/argz.h (__argz_count_internal)
30671 (__argz_stringify_internal): Remove declaration.
30672 (__argz_count, __argz_stringify): Declare hidden proto.
30673 * intl/dcgettext.c: Remove use of INTDEF.
30674 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
30675 * string/argz-stringify.c: Likewise.
30676 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30677 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30678 Declare hidden proto.
d18ea0c5
AS
30679 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30680 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30681 Declare hidden proto.
30682 * include/stdio.h (__asprintf_internal): Don't declare.
30683 (__asprintf): Don't define as macro. Declare hidden proto.
30684 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
30685 (__fsetlocking): Declare hidden proto.
30686 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
30687 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
30688 hidden proto.
30689 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
30690 (_IO_setlinebuf): Remove use of INTUSE.
30691 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
30692 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
30693 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
30694 Remove declaration.
30695 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
30696 (_IO_do_flush): Remove use of INTUSE.
30697 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
30698 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
30699 (_IO_adjust_column, _IO_least_wmarker)
30700 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
30701 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
30702 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
30703 (_IO_default_doallocate, _IO_wdefault_doallocate)
30704 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
30705 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
30706 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
30707 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
30708 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
30709 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
30710 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
30711 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
30712 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
30713 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
30714 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
30715 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
30716 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
30717 proto.
30718 (_IO_flush_all_internal, _IO_adjust_column_internal)
30719 (_IO_default_uflow_internal, _IO_default_finish_internal)
30720 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
30721 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
30722 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
30723 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
30724 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
30725 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
30726 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
30727 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
30728 (_IO_file_close_internal, _IO_file_close_it_internal)
30729 (_IO_file_underflow_internal, _IO_file_overflow_internal)
30730 (_IO_file_init_internal, _IO_file_attach_internal)
30731 (_IO_file_fopen_internal, _IO_file_read_internal)
30732 (_IO_file_sync_internal, _IO_file_seek_internal)
30733 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
30734 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
30735 (_IO_str_underflow_internal, _IO_str_overflow_internal)
30736 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
30737 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
30738 (_IO_list_all_internal, _IO_link_in_internal)
30739 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
30740 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
30741 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
30742 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
30743 (_IO_do_write_internal, _IO_padn_internal)
30744 (_IO_getline_info_internal, _IO_getline_internal)
30745 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
30746 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
30747 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
30748 (_IO_vfscanf_internal, _IO_vfprintf_internal)
30749 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
30750 (_IO_init_internal, _IO_un_link_internal): Don't declare.
30751 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
30752 with libc_hidden_ver, remove use of INTUSE.
30753 * libio/genops.c: Likewise.
30754 * libio/freopen.c: Likewise.
30755 * libio/freopen64.c: Likewise.
30756 * libio/iofclose.c: Likewise.
30757 * libio/iofdopen.c: Likewise.
30758 * libio/iofflush.c: Likewise.
30759 * libio/iofflush_u.c: Likewise.
30760 * libio/iofgets.c: Likewise.
30761 * libio/iofgets_u.c: Likewise.
30762 * libio/iofopen.c: Likewise.
30763 * libio/iofopncook.c: Likewise.
30764 * libio/iofread.c: Likewise.
30765 * libio/iofread_u.c: Likewise.
30766 * libio/ioftell.c: Likewise.
30767 * libio/iofwrite.c: Likewise.
30768 * libio/iogetline.c: Likewise.
30769 * libio/iogets.c: Likewise.
30770 * libio/iogetwline.c: Likewise.
30771 * libio/iopadn.c: Likewise.
30772 * libio/iopopen.c: Likewise.
30773 * libio/ioseekoff.c: Likewise.
30774 * libio/ioseekpos.c: Likewise.
30775 * libio/iosetbuffer.c: Likewise.
30776 * libio/iosetvbuf.c: Likewise.
30777 * libio/ioungetc.c: Likewise.
30778 * libio/ioungetwc.c: Likewise.
30779 * libio/iovdprintf.c: Likewise.
30780 * libio/iovsprintf.c: Likewise.
30781 * libio/iovsscanf.c: Likewise.
30782 * libio/memstream.c: Likewise.
30783 * libio/obprintf.c: Likewise.
30784 * libio/oldfileops.c: Likewise.
30785 * libio/oldiofclose.c: Likewise.
30786 * libio/oldiofdopen.c: Likewise.
30787 * libio/oldiofopen.c: Likewise.
30788 * libio/oldiopopen.c: Likewise.
30789 * libio/oldstdfiles.c: Likewise.
30790 * libio/putc.c: Likewise.
30791 * libio/setbuf.c: Likewise.
30792 * libio/setlinebuf.c: Likewise.
30793 * libio/stdfiles.c: Likewise.
30794 * libio/strops.c: Likewise.
30795 * libio/vasprintf.c: Likewise.
30796 * libio/vscanf.c: Likewise.
30797 * libio/vsnprintf.c: Likewise.
30798 * libio/vswprintf.c: Likewise.
30799 * libio/wfiledoalloc.c: Likewise.
30800 * libio/wfileops.c: Likewise.
30801 * libio/wgenops.c: Likewise.
30802 * libio/wmemstream.c: Likewise.
30803 * libio/wstrops.c: Likewise.
30804 * libio/__fpurge.c: Likewise.
30805 * libio/__fsetlocking.c: Likewise.
30806 * assert/assert.c: Likewise.
30807 * debug/fgets_chk.c: Likewise.
30808 * debug/fgets_u_chk.c: Likewise.
30809 * debug/fread_chk.c: Likewise.
30810 * debug/fread_u_chk.c: Likewise.
30811 * debug/gets_chk.c: Likewise.
30812 * debug/obprintf_chk.c: Likewise.
30813 * debug/vasprintf_chk.c: Likewise.
30814 * debug/vdprintf_chk.c: Likewise.
30815 * debug/vsnprintf_chk.c: Likewise.
30816 * debug/vsprintf_chk.c: Likewise.
30817 * malloc/mtrace.c: Likewise.
30818 * misc/error.c: Likewise.
30819 * misc/syslog.c: Likewise.
30820 * stdio-common/asprintf.c: Likewise.
30821 * stdio-common/fxprintf.c: Likewise.
30822 * stdio-common/getw.c: Likewise.
30823 * stdio-common/isoc99_fscanf.c: Likewise.
30824 * stdio-common/isoc99_scanf.c: Likewise.
30825 * stdio-common/isoc99_vfscanf.c: Likewise.
30826 * stdio-common/isoc99_vscanf.c: Likewise.
30827 * stdio-common/isoc99_vsscanf.c: Likewise.
30828 * stdio-common/printf-prs.c: Likewise.
30829 * stdio-common/printf_fp.c: Likewise.
30830 * stdio-common/printf_fphex.c: Likewise.
30831 * stdio-common/printf_size.c: Likewise.
30832 * stdio-common/putw.c: Likewise.
30833 * stdio-common/scanf.c: Likewise.
30834 * stdio-common/sprintf.c: Likewise.
30835 * stdio-common/tmpfile.c: Likewise.
30836 * stdio-common/vfprintf.c: Likewise.
30837 * stdio-common/vfscanf.c: Likewise.
30838 * stdlib/strfmon_l.c: Likewise.
30839 * sunrpc/openchild.c: Likewise.
30840 * sunrpc/xdr_stdio.c: Likewise.
30841 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
30842 * sysdeps/mach/hurd/tmpfile.c: Likewise.
30843
d6c33fda
RM
308442012-05-24 Roland McGrath <roland@hack.frob.com>
30845
c1487492
RM
30846 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30847
30848 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
30849 in the third column, to generate for the shared library an IFUNC
30850 that uses _dl_vdso_vsym.
30851 * Makerules (COMPILE.c, compile-stdin.c): New variables.
30852 * Makeconfig (object-suffixes-noshared): New variable.
30853
30854 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
30855 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
30856 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
30857 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
30858
d6c33fda
RM
30859 [BZ #14132]
30860 * include/sys/time.h (__gettimeofday): Remove macro.
30861 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
30862 * time/gettimeofday.c (__gettimeofday): Remove #undef.
30863 Remove INTDEF.
30864 (__gettimeofday): Add libc_hidden_def.
30865 (gettimeofday): Add libc_hidden_weak.
30866 * sysdeps/mach/gettimeofday.c: Likewise.
30867 * sysdeps/posix/gettimeofday.c: Likewise.
30868 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30869 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30870 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
30871 (__gettimeofday_internal): Remove strong_alias.
30872 (__gettimeofday): Add libc_hidden_def.
30873 (gettimeofday): Add libc_hidden_weak.
30874 * sysdeps/unix/syscalls.list (gettimeofday):
30875 Remove __gettimeofday_internal alias.
30876
b5a2bbe6
L
308772012-05-24 Daniel Jacobowitz <drow@false.org>
30878 H.J. Lu <hongjiu.lu@intel.com>
30879
30880 [BZ #12495]
30881 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
30882 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
30883 (largebin_index_32_big): New.
30884 (largebin_index): Use it for 16-byte alignment.
30885 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
30886 correction with front_misalign.
30887
cfba4fda
L
308882012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30889
7f907421
L
30890 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
30891 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
30892 Likewise.
30893 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
30894 Likewise.
30895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30896 Likewise.
30897 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
30898 Likewise.
30899 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
30900 Likewise.
30901 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
30902 Likewise.
30903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
30904 Likewise.
30905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30906 Likewise.
30907 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
30908 Likewise.
30909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
30910 Likewise.
30911 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
30912 Likewise.
30913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
30914 Likewise.
30915
cfba4fda
L
30916 * scripts/data/c++-types-x32-linux-gnu.data: New file.
30917 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
30918
80bad0cc
JM
309192012-05-24 Joseph Myers <joseph@codesourcery.com>
30920
7a25eb06
JM
30921 [BZ #10846]
30922 [BZ #14036]
30923 * math/libm-test.inc (exp_test): Add test from bug 14036.
30924 (pow_test): Add test from bug 10846.
30925
795405f9
JM
30926 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
30927 and other flags.
30928 (special_function): Do not include flags in test name.
30929 (parse_args): Likewise.
30930 * sysdeps/i386/fpu/libm-test-ulps: Update.
30931 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30932 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30933 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30935
80bad0cc
JM
30936 * math/gen-libm-test.pl (%beautify): Add entries for underflow
30937 exceptions.
30938 * math/libm-test.inc ("Philosophy"): Update comment about
30939 exception testing.
30940 (UNDERFLOW_EXCEPTION): New macro.
30941 (UNDERFLOW_EXCEPTION_OK): Likewise.
30942 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
30943 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
30944 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
30945 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
30946 (INVALID_EXCEPTION_OK): Update value.
30947 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30948 (OVERFLOW_EXCEPTION_OK): Likewise.
30949 (IGNORE_ZERO_INF_SIGN): Likewise.
30950 (test_exceptions): Handle underflow exceptions.
30951 (acos_test): Update for underflow exception expectations.
30952 (cexp_test): Likewise.
30953 (clog_test): Likewise.
30954 (clog10_test): Likewise.
30955 (csqrt_test): Likewise.
30956 (ctan_test): Likewise.
30957 (ctanh_test): Likewise.
30958 (exp_test): Likewise.
30959 (exp10_test): Likewise.
30960 (exp2_test): Likewise.
30961 (expm1_test): Likewise.
30962 (fma_test): Likewise.
30963 (j0_test): Likewise.
30964 (jn_test): Likewise.
30965 (nexttoward_test): Likewise.
30966 (pow_test): Likewise.
30967 (scalbn_test): Likewise.
30968 (scalbln_test): Likewise.
30969 (tan_test): Likewise.
30970 (y1_test): Likewise.
30971 * sysdeps/i386/fpu/libm-test-ulps: Update.
30972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30973
9e0e3d0b
DM
309742012-05-23 David S. Miller <davem@davemloft.net>
30975
30976 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30977 (__libc_sigaction): Remove unused local variables.
30978
ccd0a08f
L
309792012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30980
30981 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
30982
62bdf9a6
PE
309832012-05-23 Paul Eggert <eggert@cs.ucla.edu>
30984
f8591f80
PE
30985 mktime: avoid signed integer overflow
30986 * time/mktime.c (__mktime_internal): Do not mishandle the case
30987 where diff == INT_MIN.
30988
94c7d826
PE
30989 mktime: simplify computation of average
30990 * time/mktime.c (ranged_convert): Use new time_t_avg function
30991 instead of rolling our own (probably-slower) code.
30992
ce73d683
PE
30993 mktime: do not assume signed right shift propagates sign bit
30994 * time/mktime.c (isdst_differ): New static function.
30995 (__mktime_internal): No need to normalize tm_isdst now.
30996 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
30997 tm_isdst values.
30998
72a22e59
PE
30999 mktime: merge another wrapv change from gnulib
31000 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31001 from some compilers.
31002
68605433
PE
31003 mktime: remove incorrect attempt at unusual arithmetics
31004 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31005 The code didn't really work on such machines anyway.
31006 (TYPE_MINIMUM): Assume two's complement.
31007 (twos_complement_arithmetic): Verify that long_int and time_t
31008 are two's complement (or unsigned, in the latter case).
31009
03cf7fe3
PE
31010 mktime: check signed shifts on long_int and time_t, too
31011 * time/mktime.c (SHR): Check that shifts work as desired
31012 on the types long_int and time_t too, as SHR is used on
31013 such types.
31014
f04dfbc2
PE
31015 mktime: do not assume 'long' is wide enough
31016 * time/mktime.c (verify): Move decl up.
31017 (long_int): New type.
31018 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31019 to remove assumption in the code that 'long' is wide enough to
31020 store year values. This assumption is not true on x32 and on
31021 some non-glibc platforms.
31022
62bdf9a6
PE
31023 mktime: merge wrapv change from gnulib
31024 * time/mktime.c (WRAPV): New macro.
31025 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31026 (guess_time_tm, __mktime_internal): Do not assume that signed
31027 integer overflow wraps around; modern compilers generate code
31028 where this assumption is no longer valid.
31029
5e292e4f
L
310302012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31031
31032 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31033 Replace "jmp L(pseudo_end)" with "ret".
31034 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31035 Likewise.
31036
8caf8c87
AJ
310372012-05-23 Andreas Jaeger <aj@suse.de>
31038
31039 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31040 * sysdeps/unix/sysv/linux/poll.c: Remove file.
31041
1a09dc56
AJ
310422012-05-23 Andreas Jaeger <aj@suse.de>
31043 Maximilian Attems <max@stro.at>
31044
31045 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31046 New macros.
31047
1c87aba0
L
310482012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31049
31050 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31051 code so that pseudo_end is just ret and the stack pointer is
31052 correct also for static library in error case.
31053
40e45bd5
JM
310542012-05-23 Joseph Myers <joseph@codesourcery.com>
31055
c2670533
JM
31056 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31057 move to syscalls.list.
31058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31062
40e45bd5
JM
31063 * manual/install.texi (Running make install): Do not mention Linux
31064 kernel version for which pt_chown is not needed.
31065 (Linux): Do not mention problems with nscd with 2.0 kernels.
31066 * INSTALL: Regenerated.
31067
be08eda5
AJ
310682012-05-23 Andreas Jaeger <aj@suse.de>
31069
31070 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31071 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31072 macro.
31073 * sysdeps/unix/sysv/linux/s390/bits/mman.h
31074 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31075 * sysdeps/unix/sysv/linux/sh/bits/mman.h
31076 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31077 * sysdeps/unix/sysv/linux/i386/bits/mman.h
31078 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31079 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31080 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31081 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31082 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31083 * sysdeps/unix/sysv/linux/bits/in.h
31084 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31085
a6a056bb
RM
310862012-05-22 Roland McGrath <roland@hack.frob.com>
31087
31088 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31089 (PREPARE_VERSION): Just use assert instead, it will be elided
31090 under [NDEBUG] anyway.
31091
c9009328
L
310922012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31093
31094 * sysdeps/unix/sysv/linux/Makefile: Include
31095 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 31096 (sysdep_routines): Remove sysctl.
c9009328
L
31097 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31098 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31099 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31100 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31101 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31102
73338355
AJ
311032012-05-22 Andreas Jaeger <aj@suse.de>
31104
31105 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31106 that pseudo_end is just ret and the stack pointer is correct also
31107 for static library in error case.
31108
d44638b0
PP
311092012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
31110
31111 [BZ #14122]
31112 * nss/nsswitch.c (defconfig_entries): New variable.
31113 (__nss_database_lookup): Don't leak defconfig entries.
31114 (nss_parse_service_list): Don't leak on error paths.
31115 (free_database_entries): New function.
31116 (free_defconfig): New function.
31117 (free_mem): Move common code to free_database_entries.
31118
31a39bd8
L
311192012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31120
da0331a8
L
31121 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31122 Add arch_prctl.
31123 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31124
31a39bd8
L
31125 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31126 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31127 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31128 New macro.
31129 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31130 (INTERNAL_SYSCALL_TYPES): Likewise.
31131 (LOAD_ARGS_TYPES_[1-6]): Likewise.
31132 (LOAD_REGS_TYPES_[1-6]): Likewise.
31133 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31134 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31135
45470df3
AZ
311362012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31137
31138 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31139 copysignl for GLIBC_2_0.
31140 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31141 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31142 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31143 logbl for GLIBC_2_0.
31144 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31145 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31146
98a61bcb
L
311472012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31148
a4f6e481
L
31149 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31150 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31151
f63d5db6
L
31152 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31153 Use "neg %eax".
31154
98a61bcb
L
31155 * time/mktime.c: Update copyright years.
31156
95770f14
PE
311572012-05-22 Paul Eggert <eggert@cs.ucla.edu>
31158
6226efbd
PE
31159 mktime: merge comment-quoting-style change from gnulib
31160 * time/mktime.c: Quote 'like this' in comments.
31161 The GNU coding standards suggest that we no longer quote `like this',
31162 as "`" and "'" are typically rendered asymmetrically nowadays.
31163 The typical gnulib style is to quote 'like this' when quoting
31164 code, and "like this" when quoting English.
31165
b99e4f78
PE
31166 * time/mktime.c (compile-command): Add "-I.".
31167
643e01e6
PE
31168 mktime: merge mktime-internal.h change from gnulib
31169 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31170
2554247d
PE
31171 mktime: merge time_r change from gnulib
31172 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31173
826dd0ab
PE
31174 mktime: merge DEBUG change from gnulib
31175 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31176 case system <time.h> has a #define.
31177
bd83aabe
PE
31178 mktime: merge <sys/types.h> change from gnulib
31179 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31180 since <time.t> is now guaranteed to define time_t.
31181
95770f14
PE
31182 mktime: merge HAVE_CONFIG_H change from gnulib
31183 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31184
5e1a27a9
L
311852012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31186
0e44a77e
L
31187 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31188 Use "neg %eax".
31189
5e1a27a9
L
31190 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31191 __rlim_t cast.
31192 (struct rusage): Use anonymous union to pad each field to
31193 __syscall_slong_t.
31194
46259bec
DM
311952012-05-21 David S. Miller <davem@davemloft.net>
31196
31197 * Makefules (o-iterator): Remove .s cases.
31198 (compile-command.s): Delete.
31199 (COMPILE.s): Delete.
31200 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31201
59f0c22e
JM
312022012-05-21 Joseph Myers <joseph@codesourcery.com>
31203
31204 * configure.in (libc_cv_predef_stack_protector): Only consider
31205 "foobar" and "__stack_chk_fail" lines in libc_undefs.
31206 * configure: Regenerated.
31207
20c07380
L
312082012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31209
bbb3154b
L
31210 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31211 New macro. Use R*LP on int and pointer.
31212 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
31213 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31214 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
31215 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31216
20c07380
L
31217 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31218 [__WORDSIZE_TIME64_COMPAT32] instead of
31219 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31220 (struct utmp): Likewise.
31221 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31222 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31223 Renamed to ...
31224 (__WORDSIZE_TIME64_COMPAT32): This.
31225 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31226 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31227 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31228 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31229 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31230 (__WORDSIZE_TIME64_COMPAT32): New macro.
31231
d8d1017e
AJ
312322012-05-21 Andreas Jaeger <aj@suse.de>
31233
31234 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31235 only if [SHARED]. Add prototype for __wcschr_ia32.
31236
6c7fb145
RM
312372012-05-21 Roland McGrath <roland@hack.frob.com>
31238
31239 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31240 of %rbp unmolested in the jmp_buf while mangling the low bits.
31241 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31242 unmolested high bits of %rbp while demangling the low bits.
31243 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31244
66274218
AJ
312452012-05-21 Andreas Jaeger <aj@suse.de>
31246
07c58f8f
AJ
31247 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31248 * sunrpc/svc_simple.c: Use it for registerrpc.
31249 * sunrpc/xcrypt.c: Use it for passwd2des.
31250
66274218
AJ
31251 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31252
61f65140
L
312532012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31254
31255 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31256 Don't define if [__SYSCALL_WORDSIZE != 32].
31257 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31258 New macro.
31259
5fefb436
AJ
312602012-05-21 Bruno Haible <bruno@clisp.org>
31261 Andreas Jaeger <aj@suse.de>
31262
31263 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31264 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31265 inptr and inend for must_buffer_ch.
31266 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31267 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31268 * stdio-common/Makefile (tests): Remove bug15.
31269 (bug15-ENV): Remove macro.
31270 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31271 anymore.
31272
d8e272ab
AJ
312732012-05-19 Andreas Jaeger <aj@suse.de>
31274 Roland McGrath <roland@hack.frob.com>
31275
31276 * manual/contrib.texi: Completely rewritten. It contains now an
31277 alphabetical list of contributors and their contributions.
31278
4a56a162
RH
312792012-05-21 Richard Henderson <rth@twiddle.net>
31280
31281 * misc/getauxval.c (__getauxval): Use unsigned long int.
31282 * misc/sys/auxv.h: Include <sys/cdefs.h>.
31283 (getauxval): Use unsigned long int.
31284
d024d23c
L
312852012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31286
31287 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31288
cbc00a03
RM
312892012-05-21 Roland McGrath <roland@hack.frob.com>
31290
31291 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31292 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31293 __alignof__ (long double).
31294
478143fa
AZ
312952012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31296
31297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31298
c7683a6d
RH
312992012-05-20 Richard Henderson <rth@twiddle.net>
31300
31301 * misc/getauxval.c: New file.
31302 * misc/sys/auxv.h: New file.
31303 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31304 (routines): Add getauxval.
31305 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31306 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31307 * elf/dl-sysdep.c (_dl_auxv): Remove.
31308 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31309 * elf/dl-support.c (_dl_auxv): New variable.
31310 (_dl_aux_init): Initialize it.
31311 * manual/startup.texi (Auxiliary Vector): New node.
31312 * sysdeps/generic/bits/hwcap.h: New file.
31313 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31314 * sysdeps/powerpc/sysdep.h: ... here. Include it.
31315 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31316 * sysdeps/sparc/sysdep.h: ... here. Include it.
31317 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31318 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
31319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31320 Update.
c7683a6d
RH
31321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31324 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31325 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31326 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31327 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31328 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31329
a6f1845d
AZ
313302012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31331
31332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31333
cbcbe830
DM
313342012-05-19 David S. Miller <davem@davemloft.net>
31335
31336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31337
e0b16cc2
JM
313382012-05-19 Joseph Myers <joseph@codesourcery.com>
31339
31340 [BZ #14123]
31341 * math/s_ccosh.c: Include <float.h>
31342 (__ccosh): Avoid internal overflow calculating sinh and cosh
31343 values before multiplying by sin and cos values.
31344 * math/s_ccoshf.c: Likewise.
31345 * math/s_ccoshl.c: Likewise.
31346 * math/s_csin.c: Likewise.
31347 * math/s_csinf.c: Likewise.
31348 * math/s_csinl.c: Likewise.
31349 * math/s_csinh.c: Likewise.
31350 * math/s_csinhf.c: Likewise.
31351 * math/s_csinhl.c: Likewise.
31352 * math/libm-test.inc (ccos_test): Add more tests.
31353 (ccosh_test): Likewise.
31354 (csin_test): Likewise.
31355 (csinh_test): Likewise.
31356 * sysdeps/i386/fpu/libm-test-ulps: Update.
31357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31358
6ad13e08
L
313592012-05-19 H.J. Lu <hongjiu.lu@intel.com>
31360
f66f0ce8
L
31361 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31362 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31363
6ad13e08
L
31364 * sysdeps/x86_64/x32/_itoa.h: Add comment.
31365
b1d072a7
JM
313662012-05-19 Joseph Myers <joseph@codesourcery.com>
31367
31368 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31369 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31370 * sysdeps/powerpc/soft-fp/Versions: Likewise.
31371 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31372 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31373 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31374 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31375 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31376 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31377 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31378 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31379 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31380 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31381 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31382 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31383 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31384 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31385 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31386 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31387 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31388 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31389 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31390 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31391 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31392 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31393 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31394 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31395 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31396 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31397 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31398 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31399
9eae47cb
AJ
314002012-05-18 Andreas Jaeger <aj@suse.de>
31401
31402 * csu/.gitignore: Delete.
31403
bb07f69f
L
314042012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31405
31406 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31407 (timex): Use __syscall_slong_t.
31408
e6bdb741
AJ
314092012-05-18 Andreas Jaeger <aj@suse.de>
31410 Carlos O'Donell <carlos_odonell@mentor.com>
31411
31412 * manual/install.texi (Configuring and compiling): Update
31413 description about files modified in the source directory.
d6c33fda 31414 * INSTALL: Regenerated.
e6bdb741 31415
1b74487e
L
314162012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31417
31418 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31419 value. Use "or" to set return value to -1.
31420 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31421 negate return value.
31422
a88b64b9
TMQMF
314232012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31424
57f41c40
AS
31425 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31426 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
31427 failure if the compiler has Graphite support disabled.
31428 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31429 Likewise.
57f41c40
AS
31430 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31431 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
31432 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31433 Likewise.
31434
3707636e
L
314352012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31436
610b8622
L
31437 * sysdeps/x86_64/x32/_itoa.h: New file.
31438
7cd195df
L
31439 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31440 getdents system call only if kernel and user dirents have the
31441 same d_ino and d_off.
31442
94b07d20
L
31443 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31444 LLONG_MAX != LONG_MAX.
31445 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31446 (_fitoa_word): Likewise.
31447
18298070
L
31448 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
31449 years.
31450 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
31451 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
31452 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
31453
553c7ea4
L
31454 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
31455 include <bits/wordsize.h>. Check __x86_64__ instead of
31456 __WORDSIZE.
31457 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
31458 if __x86_64__ is defined. Use anonymous union on fpstate.
31459
3707636e
L
31460 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
31461 anonymous union.
31462
b53ef01a
AS
314632012-05-18 Andreas Schwab <schwab@linux-m68k.org>
31464
37fb1dc0
AS
31465 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31466 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
31467 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
31468 Refer to _rtld_local_ro instead of _rtld_global_ro.
31469 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
31470 Likewise.
31471 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
31472 Likewise.
31473 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
31474 Likewise.
31475 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
31476 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
31477 of _rtld_global, and rtld_progname instead of _dl_argv[0].
31478
b53ef01a
AS
31479 * sysdeps/powerpc/powerpc32/dl-machine.c
31480 (__elf_machine_runtime_setup) [PROF]: Don't reference
31481 _dl_prof_resolve.
31482
7a185db2
AJ
314832012-05-18 Andreas Jaeger <aj@suse.de>
31484
31485 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
31486 function only available for GCCs before 3.4 since GCC 3.4
31487 introduced a builtin.
31488 (lrint): Likewise.
31489 (llrintf): Likewise.
31490 (llrint): Likewise.
31491 (fmaxf): Likewise.
31492 (fmax): Likewise.
31493 (fminf): Likewise.
31494 (fmin): Likewise.
31495 (rint): Likewise.
31496 (rintf): Likewise.
31497 (nearbyint): Likewise.
31498 (nearbyintf): Likewise.
31499 (ceil): Likewise.
31500 (ceilf): Likewise.
31501 (floor): Likewise.
31502 (floorf): Likewise.
31503
3e5aef87
L
315042012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31505
428bd707
L
31506 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
31507 on both fields and cast pointer to __syscall_ulong_t.
31508
3e5aef87
L
31509 * bits/types.h (__fsword_t): New type.
31510 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
31511 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
31512 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31513 (__FSWORD_T_TYPE): Likewise.
31514 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31515 (__FSWORD_T_TYPE): Likewise.
31516 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31517 (__FSWORD_T_TYPE): Likewise.
31518 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
31519 (__FSWORD_T_TYPE): Likewise.
31520 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
31521 __SWORD_TYPE with __fsword_t.
31522 (statfs64): Likewise.
31523
1ba7c3dc
DM
315242012-05-17 David S. Miller <davem@davemloft.net>
31525
31526 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
31527
59910343
AJ
315282012-05-17 Andreas Jaeger <aj@suse.de>
31529
31530 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
31531 warning.
31532
2e4c1e9e
L
315332012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31534
31535 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
31536
de7f5ce7
AJ
315372012-05-17 Andreas Jaeger <aj@suse.de>
31538
31539 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
31540 when it is used.
31541
286abc3d
CM
315422012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31543
31544 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
31545
477cc68e
L
315462012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31547
31548 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
31549 * sysdeps/x86_64/tst-mallocalign1.c: New file.
31550
1a0994f5
CD
315512012-05-17 Andreas Jaeger <aj@suse.de>
31552 Carlos O'Donell <carlos_odonell@mentor.com>
31553
31554 [BZ #14059]
31555 * sysdeps/x86_64/multiarch/init-arch.h
31556 (bit_YMM_Usable): Rename to...
31557 (bit_AVX_Usable): ... this.
31558 (bit_FMA4_Usable): New macro.
31559 (bit_XMM_state): New macro.
31560 (bit_YMM_state): New macro.
31561 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
31562 [__ASSEMBLER__] (index_AVX_Usable): ... this.
31563 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
31564 (CPUID_OSXSAVE): New macro.
31565 (CPUID_AVX): New macro.
31566 (CPUID_FMA4): New macro.
31567 (index_YMM_Usable): Rename to...
31568 (index_AVX_Usable): ... this.
31569 (HAS_AVX): Use HAS_ARCH_FEATURE.
31570 (HAS_FMA4): Likewise.
31571 (HAS_YMM_USABLE): Remove.
31572 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31573 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
31574 are present.
31575 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
31576 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
31577 * sysdeps/x86_64/multiarch/Makefile: Likewise.
31578 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
31579 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
31580
0af797de
CM
315812012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31582
31583 * math/libm-test.c: Support platforms without multiple rounding modes.
31584 * math/bug-nextafter.c: Support platforms without FP exceptions.
31585 * math/bug-nexttoward.c: Likewise.
31586 * math/test-fenv.c: Likewise.
31587 * math/test-misc.c: Likewise.
31588 * stdlib/bug-getcontext.c: Likewise.
31589
e39745ff
AJ
315902012-05-17 Andreas Jaeger <aj@suse.de>
31591
31592 * manual/examples/search.c (critter_cmp): Change signature to
31593 avoid warnings.
31594 * manual/string.texi (Collation Functions): Likewise.
31595
48970aba
L
315962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31597
31598 * bits/types.h: Fold copyright years.
31599 * bits/typesizes.h: Likewise.
31600 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
31601 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31602 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
31603 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
31604 * time/time.h: Likewise.
31605
bedee953
PP
316062012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
31607
31608 [BZ #208]
31609 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
31610 in instead of returning them. Return void.
31611 (__libc_mallinfo): Accumulate over all arenas.
31612 (__malloc_stats): Adjust for change in int_mallinfo interface.
31613
61653dfb
RM
316142012-05-16 Roland McGrath <roland@hack.frob.com>
31615
30b99d79
RM
31616 [BZ #10375]
31617 * configure.in (NM): Add AC_CHECK_TOOL for it.
31618 (libc_extra_cflags): New substituted variable.
31619 Check for -fstack-protector being used implicitly.
31620 * configure: Regenerated.
31621 * config.make.in (config-extra-cflags): New variable,
31622 gets @libc_extra_cflags@.
31623 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
31624
61653dfb
RM
31625 [BZ #10375]
31626 * configure.in: Check for _FORTIFY_SOURCE being predefined.
31627 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
31628 * configure: Regenerated.
31629 * config.make.in (CPPUNDEFS): New substituted variable.
31630 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
31631 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
31632 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
31633
661768bb
L
316342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31635
31636 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
31637 (mq_attr): Use __syscall_slong_t.
31638
d4261567
L
316392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31640
31641 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
31642 Check __x86_64__ instead of __WORDSIZE.
31643 (_STAT_VER_LINUX): Likewise.
31644 (stat): Check __x86_64__ instead of __WORDSIZE. Use
31645 __syscall_ulong_t and __syscall_slong_t.
31646 (stat64): Likewise.
31647
cf3ff365
L
316482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31649
31650 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
31651
76cf3e4d
L
316522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31653
31654 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
31655
a637753a
L
316562012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31657
31658 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
31659 __syscall_ulong_t.
31660
d5e05119
L
31661 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
31662 include <bits/wordsize.h>. Check __x86_64__ instead of
31663 __WORDSIZE.
31664 (greg_t): Use "__extension__ long long int" if __x86_64__ is
31665 defined.
31666 (mcontext_t): Replace "unsigned long" with "unsigned long long".
31667
f62ee380
L
31668 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
31669 include <bits/wordsize.h>. Check __x86_64__ instead of
31670 __WORDSIZE.
31671 (user_regs_struct): Use "__extension__ unsigned long long"
31672 instead of "unsigned long" if __x86_64__ is defined.
31673 (user): Likewise. Pad after pointer field if __ILP32__ is
31674 defined.
31675
4e124ced
JM
316762012-05-16 Joseph Myers <joseph@codesourcery.com>
31677
6a3951a0
JM
31678 * configure.in (makeinfo): Require version 4.5 or later. Allow
31679 versions 5 to 9.
31680 * configure: Regenerated.
31681 * manual/install.texi (texinfo): Increase version requirement to
31682 4.5 or later.
31683 * INSTALL: Regenerated.
31684
4e124ced
JM
31685 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
31686
953ca31a
L
316872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31688
31689 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
31690
617aca05
L
31691 * sysdeps/x86_64/x32/ffs.c: New file.
31692
5762f7ae
L
31693 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
31694 __syscall_ulong_t.
31695 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
31696 defined. Use __syscall_ulong_t.
31697 (shminfo): Use __syscall_ulong_t.
31698 (shm_info): Likewise.
31699
a26b6856
L
31700 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
31701 __syscall_ulong_t.
31702
cb2b9ef7
L
31703 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
31704 <bits/wordsize.h>.
31705 (msgqnum_t): Use __syscall_ulong_t.
31706 (msglen_t): Likewise.
31707 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
31708 __syscall_ulong_t.
31709
34683bb0
L
31710 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
31711 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31712
84a68786
L
31713 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
31714
48baa5f1
L
31715 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
31716 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
31717
180be88b
L
31718 * sysvipc/sys/msg.h (msgbuf): Replace long int with
31719 __syscall_slong_t.
31720
5e90c8ad
L
31721 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
31722 include <bits/wordsize.h>. Check __x86_64__ instead of
31723 __WORDSIZE.
31724
23dfb58b
L
31725 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
31726 "unsigned long long int" if __x86_64__ is defined.
31727 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
31728
ce5d54b0
L
31729 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
31730 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31731 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
31732
13dc9eac
L
31733 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
31734 <stdint.h>.
31735 (GET_PC): Cast to uintptr_t first.
31736 (GET_FRAME): Likewise.
31737 (GET_STACK): Likewise.
31738
a7895d15
L
31739 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
31740 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
31741 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
31742 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
31743 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
31744 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
31745 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
31746 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
31747 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31748 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
31749 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
31750 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
31751 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31752 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
31753 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
31754 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
31755 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
31756 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
31757 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
31758 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
31759 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
31760 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
31761 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
31762 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
31763 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
31764 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
31765 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
31766 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
31767 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
31768
656416c9
AS
317692012-05-16 Andreas Schwab <schwab@linux-m68k.org>
31770
5bd66283
AS
31771 * Makerules (+depfiles): Also collect depfiles from .oS in
31772 $(extra-objs).
31773 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
31774 .oS, $(libnldbl-routines)).
31775
656416c9
AS
31776 * Makerules (native-compile-mkdep-flags): Define.
31777 * sunrpc/Makefile (extra-objs): Add $(addprefix
31778 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
31779 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
31780 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
31781 calling $(make-target-directory).
31782
a46f2169
L
317832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31784
31785 * bits/types.h (__snseconds_t): Removed.
31786 * time/time.h (struct timespec): Replace __snseconds_t with
31787 __syscall_slong_t.
31788 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
31789 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
31790 Likewise.
31791 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31792 (__SNSECONDS_T_TYPE): Likewise.
31793 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31794 (__SNSECONDS_T_TYPE): Likewise.
31795 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31796 (__SNSECONDS_T_TYPE): Likewise.
31797
6af6528b
L
317982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31799
31800 * sysdeps/mach/hurd/bits/typesizes.h
31801 (__SYSCALL_SLONG_TYPE): New macro.
31802 (__SYSCALL_ULONG_TYPE): Likewise.
31803
de986b56
L
318042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31805
31806 * bits/types.h (__syscall_slong_t): New type.
31807 (__syscall_ulong_t): Likewise.
31808
31809 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
31810 (__SYSCALL_ULONG_TYPE): Likewise.
31811 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31812 (__SYSCALL_SLONG_TYPE): Likewise.
31813 (__SYSCALL_ULONG_TYPE): Likewise.
31814 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31815 (__SYSCALL_SLONG_TYPE): Likewise.
31816 (__SYSCALL_ULONG_TYPE): Likewise.
31817 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31818 (__SYSCALL_SLONG_TYPE): Likewise.
31819 (__SYSCALL_ULONG_TYPE): Likewise.
31820
85736dc7
L
318212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31822
31823 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
31824 Add sigaltstack-offsets.sym.
31825 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
31826 <sigaltstack-offsets.h>.
31827 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
31828 longjmp_msg pointer.
31829 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
31830 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
31831 signal stack.
31832 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
31833
cc03b296
JM
318342012-05-15 Joseph Myers <joseph@codesourcery.com>
31835
a9538892
JM
31836 * elf/stackguard-macros.h: Remove file.
31837 * sysdeps/generic/stackguard-macros.h: New file.
31838 * sysdeps/i386/stackguard-macros.h: Likewise.
31839 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31840 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31841 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31842 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31843 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31844 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31845 * sysdeps/x86_64/stackguard-macros.h: Likewise.
31846 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
31847 <elf/stackguard-macros.h>.
31848
cc03b296
JM
31849 [BZ #14109]
31850 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
31851 __aligned__ in attribute.
31852 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
31853 (gregset_t): Likewise.
31854
93171016
L
318552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31856
31857 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
31858 * sysdeps/x86_64/64/Implies-after: Here. New file.
31859 * sysdeps/x86_64/x32/Implies-after: New file.
31860
d86813a0
L
318612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31862
31863 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
31864 and access return value for _dl_profile_fixup. Use R10_LP to
31865 load frame size.
31866
2953ec75
L
318672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31868
31869 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
31870
3b550e9e
L
318712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31872
31873 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
31874 * sysdeps/x86_64/x32/sysdep.h: New file.
31875
eda41706
L
318762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31877
31878 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
31879 * sysdeps/x86_64/setjmp.S: Likewise.
31880
9ea01d93
AZ
318812012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31882
31883 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
31884 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
31885 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
31886 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
31887 remove unused global constant.
31888
02a91938
CM
318892012-05-15 Chris Metcalf <cmetcalf@tilera.com>
31890
31891 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
31892 include of <not-cancel.h>.
31893
6540185f
RM
318942012-05-15 Roland McGrath <roland@hack.frob.com>
31895
31896 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
31897
509072a0
AJ
318982012-05-15 Jeff Law <law@redhat.com>
31899 Andreas Jaeger <aj@suse.de>
31900
31901 [BZ #13594]
31902 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
31903 out from...
31904 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
31905 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
31906 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
31907 code changing __hst_map_handle.map.
31908
ba75122d
RM
319092012-05-15 Roland McGrath <roland@hack.frob.com>
31910
31911 * configure.in (sysnames): Look for Implies-before and Implies-after
31912 files.
31913 * configure: Regenerated.
31914
890d8bd8
L
319152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31916
31917 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
31918 8-byte data alignment with LP_SIZE alignment.
31919
f6ee6623
L
319202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31921
31922 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
31923 into R10_LP.
31924
ea2626f6
L
319252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31926
31927 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
31928
085f715e
L
319292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31930
31931 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
31932 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
31933 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
31934 Likewise.
31935 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31936
be8498fc
L
319372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31938
31939 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
31940 (stackinfo_sub_sp): Likewise.
31941
70bc83b9
L
319422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31943
31944 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
31945 RAX_LP.
31946
9bc0b730
L
319472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31948
31949 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
31950 into R*_LP.
31951
6d2850e7
L
319522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31953
31954 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
31955 sizes into R*_LP.
31956
3cb84561
L
319572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31958
31959 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
31960
54e2ed81
L
319612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31962
31963 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
31964 into R11_LP and load __x86_64_shared_cache_size_half into
31965 R8_LP.
31966
8a17f349
L
319672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31968
31969 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
31970 R8_LP.
31971
777b1eea
AZ
319722012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31973
31974 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
31975 logb for POWER7.
31976 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
31977 logbf for POWER7.
31978 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
31979 logbl for POWER7.
31980 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
31981 powerpc32/power7/fpu/s_logb.c via #include.
31982 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
31983 powerpc32/power7/fpu/s_logbf.c via #include.
31984 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
31985 powerpc32/power7/fpu/s_logbl.c via #include.
31986
d20d4ac2
JM
319872012-05-15 Joseph Myers <joseph@codesourcery.com>
31988
31989 * README.libm: Remove file.
31990
6cdef1ab
L
319912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31992
31993 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
31994 count for x32. Use R*_LP and omit operand-size suffix.
31995
0b254d8f
L
319962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31997
31998 * shlib-versions: Move x86_64-.*-linux.* entries to ...
31999 * sysdeps/x86_64/64/shlib-versions: Here. New file.
32000 * sysdeps/x86_64/x32/shlib-versions: New file.
32001
ceb809dc
RM
320022012-05-14 Roland McGrath <roland@hack.frob.com>
32003
32004 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32005 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32006 Use _dl_fatal_printf instead.
32007
37f1abd4
JM
320082012-05-14 Joseph Myers <joseph@codesourcery.com>
32009
32010 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32011 set if not set by the user. Do not allow for being unset.
32012 * sysdeps/unix/sysv/linux/configure: Regenerated.
32013
11de3a33
L
320142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32015
32016 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32017 the `q' suffix from lea and replace .quad with ASM_ADDR.
32018
e02f153a
L
320192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32020
32021 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32022 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
32023 instead of $17.
32024 (PTR_DEMANGLE): Likewise.
32025
520ae0fd
L
320262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32027
32028 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32029 (LP_OP): Likewise.
32030 (ASM_ADDR): Likewise.
32031 (RAX_LP): Likewise.
32032 (RBP_LP): Likewise.
32033 (RBX_LP): Likewise.
32034 (RCX_LP): Likewise.
32035 (RDI_LP): Likewise.
32036 (RSI_LP): Likewise.
32037 (RSP_LP): Likewise.
32038 (R8_LP): Likewise.
32039 (R9_LP): Likewise.
32040 (R10_LP): Likewise.
32041 (R10_LP): Likewise.
32042 (R11_LP): Likewise.
32043 (R12_LP): Likewise.
32044 (R13_LP): Likewise.
32045 (R14_LP): Likewise.
32046 (R15_LP): Likewise.
32047
b985be81
L
320482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32049
32050 * sysdeps/x86_64/x32/dl-machine.h: New file.
32051
6a4888ff
AJ
320522012-05-14 Andreas Jaeger <aj@suse.de>
32053
32054 * manual/Makefile (subdir): Remove export of subdir.
32055 (all): Remove target.
32056 (.PHONY): Remove all from list.
32057 (mkinstalldirs): Remove.
32058 (.PHONY): Remove installdirs from list.
32059 ($(inst_infodir)/libc.info): Use make-target-directory.
32060 (installdirs): Remove.
32061 (subdir_%): Remove.
32062 (glibc-targets): Remove.
32063 (lib): Remove.
32064 (stubs): Remove.
32065 ($(objpfx)stubs ../po/manual.pot): Remove.
32066 ($(objpfx)stamp%): Remove.
32067 (make-target-directory): Remove.
32068 (subdir_install): Remove.
32069 (routines): Remove.
32070 (aux): Remove.
32071 (sources): Remove.
32072 (objects): Remove.
32073 (headers): Remove.
32074
32075 [BZ #13750]
32076 * manual/.gitignore: Remove, it's not needed anymore.
32077 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32078 all files in it.
32079 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32080 directory.
32081 (texis): Renamed to $(objpfx)texis.
32082 (texis-path): New, contains path to generated files.
32083 (chapters.%): Use texis-path for complete path, add extra argument
32084 libc-texinfo.sh.
32085 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32086 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32087 (summary,texi, stamp-summary): Use complete path of
32088 files. Generate files in build dir.
32089 (dir-add.texi): Build in build dir.
32090 (libm-err.texi,stamp-libm-err): Likewise.
32091 (version.texi, stamp-version): Likewise.
32092 (.%c.texi): Likewise.
32093 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32094 (mostlyclean): Remove target.
32095 (realclean): Remove target.
32096 (generated): Add new variable with contents from mostlyclean and
32097 realclean, remove entries duplicated in common-mostlyclean, add
32098 stamp-libm-err and stamp-version.
32099 (generated-dirs): Add libc directory.
32100 ($(inst_infodir)/libc.info): Install files from build dir.
32101
32102 * manual/install.texi (Configuring and compiling): Adjust since
32103 the info files are not part of the tar ball anymore.
32104
7ac77294
AJ
321052012-05-14 Andreas Jaeger <aj@suse.de>
32106
32107 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32108 variable.
32109
ffb7875d
JM
321102012-05-14 Joseph Myers <joseph@codesourcery.com>
32111
32112 [BZ #13717]
32113 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32114 to 2.2.0 where earlier.
32115 * sysdeps/unix/sysv/linux/configure: Regenerated.
32116 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32117 Remove conditional code.
32118 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32119 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32120 Remove conditional code.
32121 [!__NR_lchown]: Likewise.
32122 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32123 [__NR_lchown]: Likewise.
32124 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32125 comment referencing __ASSUME_LCHOWN_SYSCALL.
32126 * sysdeps/unix/sysv/linux/i386/sigaction.c
32127 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32128 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32129 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32130 Remove conditional code.
32131 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32132 (__protocol_available): Remove #if 0 code.
32133 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32134 conditional code.
32135 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32136 * sysdeps/unix/sysv/linux/kernel-features.h
32137 (__ASSUME_GETCWD_SYSCALL): Don't define.
32138 (__ASSUME_REALTIME_SIGNALS): Likewise.
32139 (__ASSUME_PREAD_SYSCALL): Likewise.
32140 (__ASSUME_PWRITE_SYSCALL): Likewise.
32141 (__ASSUME_POLL_SYSCALL): Likewise.
32142 (__ASSUME_LCHOWN_SYSCALL): Likewise.
32143 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32144 non-SPARC.
32145 (__ASSUME_SIOCGIFNAME): Don't define.
32146 (__ASSUME_MSG_NOSIGNAL): Likewise.
32147 (__ASSUME_SENDFILE): Define unconditionally.
32148 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32149 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32150 conditional code.
32151 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32152 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32153 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32154 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32155 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32156 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32157 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32159 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32160 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32162 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32163 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32165 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32166 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32168 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32169 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32171 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32172 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32174 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32175 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32177 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32178 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32180 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32181 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32182 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32183 Remove conditional code.
32184 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32185 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32186 Remove conditional code.
32187 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32188 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32189 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32190 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32191 Remove conditional code.
32192 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32193 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32194 Remove conditional code.
32195 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32196 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32197 Remove conditional code.
32198 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32199 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32200 Remove conditional code.
32201 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32202 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32203 Remove conditional code.
32204 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32205 * sysdeps/unix/sysv/linux/sh/pwrite64.c
32206 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32207 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32208 * sysdeps/unix/sysv/linux/sigaction.c
32209 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32210 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32211 * sysdeps/unix/sysv/linux/sigpending.c
32212 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32213 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32214 * sysdeps/unix/sysv/linux/sigprocmask.c
32215 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32216 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32217 * sysdeps/unix/sysv/linux/sigsuspend.c
32218 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32219 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32220 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32221 (__libc_missing_rt_sigs): Remove.
32222 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32223 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32224 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32225 Remove conditional code.
32226 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32227 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32228 return 1.
32229 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32230 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32231 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32232 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32233
1bfb7291
AJ
322342012-05-14 Andreas Jaeger <aj@suse.de>
32235
caae5a81
AJ
32236 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32237 it's not used in glibc.
32238 (__coshm1): Likewise.
32239 (__acosh1p): Likewise.
32240 (__sgn): Likewise.
32241
1bfb7291
AJ
32242 * manual/string.texi (Copying and Concatenation): Add missing
32243 variable in concat example.
32244 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32245
c044d724
L
322462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32247
144c5467 32248 [BZ #14103]
c044d724
L
32249 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32250 __builtin_clzl with __builtin_clzll.
32251
2523c62b
L
322522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32253
32254 [BZ #14104]
32255 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32256 libc_freeres_ptr.
32257
d7bb4c42
LD
322582012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32259
32260 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32261 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32262 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32263 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32264
9dc4e1fb
MF
322652012-05-14 Mike Frysinger <vapier@gentoo.org>
32266
32267 * NEWS: Update ia64 info.
32268
c7df0112
AS
322692012-05-12 Andreas Schwab <schwab@linux-m68k.org>
32270
32271 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32272 used as bcopy.
32273
dc70356c
TS
322742012-05-12 Thomas Schwinge <thomas@codesourcery.com>
32275
32276 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32277 * sysdeps/unix/syscalls.list (dup3): Likewise.
32278 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32279 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32280
9fb1a21f
L
322812012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32282
32283 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32284 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32285
4822a2a5
L
322862012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32287
32288 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32289 thread pointer.
32290 (TLS_IE): Use mov/add instead of movq/addq to load thread
32291 pointer.
32292 (TLS_GD_PREFIX): New.
32293 (TLS_GD): Use it.
32294
842b81d6
DM
322952012-05-11 David S. Miller <davem@davemloft.net>
32296
32297 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32298 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32299 (_FPU_SETCW): Likewise.
32300
1cf463cd
L
323012012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32302
32303 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32304 is 32-byte aligned.
32305
60cc4a18
AS
323062012-05-11 Andreas Schwab <schwab@linux-m68k.org>
32307
32308 [BZ #11837]
32309 * iconvdata/gb18030.c: Update tables.
32310 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
32311 characters specially.
32312 (BODY for TO_LOOP): Add encoding of missing ranges.
32313
febb44a4
TS
323142012-05-11 Thomas Schwinge <thomas@codesourcery.com>
32315
32316 [BZ #13673]
32317 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32318 * sysdeps/mach/hurd/dup3.c: Likewise.
32319 * sysdeps/mach/hurd/readlinkat.c: Likewise.
32320 * sysdeps/powerpc/memmove.c:: Likewise.
32321
0a10fb9e
L
323222012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32323
32324 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32325 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32326
df8a552f
L
323272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32328
32329 * elf/elf.h (R_X86_64_RELATIVE64): New.
32330 (R_X86_64_NUM): Updated.
32331 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32332 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
32333 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32334 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32335 tst-quad1pie tst-quad2pie
32336 (modules-names): Add tst-quadmod1 tst-quadmod2.
32337 ($(objpfx)tst-quad1): New dependency.
32338 ($(objpfx)tst-quad2): Likewise.
32339 ($(objpfx)tst-quad1pie): Likewise.
32340 ($(objpfx)tst-quad2pie): Likewise.
32341 * sysdeps/x86_64/tst-quad1.c: New file.
32342 * sysdeps/x86_64/tst-quad1pie.c: New file.
32343 * sysdeps/x86_64/tst-quad2.c: Likewise.
32344 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32345 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32346 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32347 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32348 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32349
f34d6f84
ST
323502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32351
f42d41d1
ST
32352 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32353 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32354 * streams/stropts.h (t_scalar_t): Define type.
32355
3c3571fc
ST
32356 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32357 (_PATH_PRESERVE): Set to "/var/lib".
32358 (_PATH_RWHODIR): Set to "/var/spool/rwho".
32359
61f06bd3
ST
32360 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32361 instead of int.
32362
918d4d71
ST
32363 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32364 if __dir_mkfile succeeded.
32365
f34d6f84
ST
32366 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32367 checking for _hurd_dtablesize. Unlock it right after having
32368 finished _hurd_dtable allocation.
32369
10589b4a
TS
323702012-05-10 Thomas Schwinge <thomas@schwinge.name>
32371
674cdbc7
TS
32372 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32373 * sysdeps/mach/hurd/configure: Regenerated.
32374 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32375 special-casing to...
32376 * sysdeps/gnu/configure.in: ... this new file.
32377 * sysdeps/unix/sysv/linux/configure: Regenerated.
32378 * sysdeps/gnu/configure: New generated file.
32379
8e41b99f
TS
32380 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32381 for Linux: use nsec instead of usec, as well as:
32382 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32383 members of type struct timespec.
32384 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32385 New macros.
32386 (struct stat64): Likewise.
32387 (_STATBUF_ST_NSEC): New macro.
32388 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32389
10589b4a
TS
32390 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32391 __strtoul_internal rather than strtoul.
32392
63643c85
PT
323932012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32394
32395 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32396 and reject them.
32397
3faebe6a
ST
323982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32399
32400 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32401 which preserves existing values.
32402 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32403
c6474b07
PT
324042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32405
32406 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32407 TIMEOUT values. Return EINVAL for NFDS values either negative or
32408 greater than FD_SETSIZE.
32409
1043890b
ST
324102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32411
32412 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32413 allocated, call __vm_protect to finish enabling the existing space, and
32414 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32415 allocate the remainder.
32416
37ed8b9b
PT
324172012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32418
32419 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32420 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
32421
db653660
ST
324222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32423
37ed8b9b
PT
32424 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32425 sysdeps/mach/hurd/readlink.c.
b29d4053 32426
db653660
ST
32427 * posix/tst-sysconf.c (posix_options): Only use
32428 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32429 _POSIX_SYNCHRONIZED_IO when they are defined
32430 * sysdeps/mach/hurd/bits/posix_opt.h:
32431 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32432 (_XOPEN_REALTIME): Undefine macro.
32433 (_XOPEN_REALTIME_THREADS): Undefine macro.
32434 (_XOPEN_SHM): Undefine macro.
32435 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32436 macro to -1.
32437 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32438 macro to -1.
32439 (_POSIX_ASYNC_IO): Undefine macro.
32440 (_POSIX_PRIORITIZED_IO): Undefine macro.
32441 (_POSIX_SPIN_LOCKS): Define macro to -1.
32442
ee16e894
ST
32443 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
32444 SA_NODEFER, SA_RESETHAND.
32445 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
32446 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
32447 F_DUPFD_CLOEXEC.
32448
6103ae3b
TS
324492012-05-10 Thomas Schwinge <thomas@schwinge.name>
32450
32451 * elf/Makefile (pldd-modules): Define unconditionally.
32452
80b4e5f3
TS
324532012-05-10 Thomas Schwinge <thomas@schwinge.name>
32454
32455 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
32456
edadcbd6
ST
324572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32458
32459 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
32460 Return ENOENT when name is empty.
32461 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
32462
80694780
TS
324632012-05-10 Thomas Schwinge <thomas@schwinge.name>
32464
1792c087
TS
32465 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
32466
80694780
TS
32467 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
32468
6b645f0d
ST
324692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32470
80694780
TS
32471 Fix mlock in all cases except non-readable pages.
32472 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
32473 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 32474
6b645f0d
ST
32475 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
32476 (__mkdir): When path is `/', just fail with EEXIST.
32477 * sysdeps/mach/hurd/mkdirat.c: Likewise.
32478
e468f8a3
TS
324792012-05-10 Thomas Schwinge <thomas@schwinge.name>
32480
32481 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
32482 <sys/uio.h> (for writev).
32483 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
32484 and <sys/param.h> (for MIN).
32485
a4186cff
PT
324862012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32487
32488 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
32489 REQUESTED_TIME. Properly set the remaining time and return EINTR
32490 if interrupted.
32491
510bbf14
TS
324922012-05-10 Thomas Schwinge <thomas@schwinge.name>
32493
32494 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
32495 Depend on against $(link-rpcuserlibs).
32496
5d5722e8
ST
324972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32498
a4186cff
PT
32499 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
32500 (__libc_stack_end): Do not use attribute_relro.
32501 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
32502 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 32503 to libthread-provided value.
a4186cff
PT
32504 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
32505 attribute_relro.
5d5722e8 32506
37233df9
TS
325072012-05-10 Thomas Schwinge <thomas@schwinge.name>
32508
be971a2b
TS
32509 [BZ #3748]
32510 * bits/libc-lock.h (__libc_once_get): New macro.
32511 * sysdeps/mach/bits/libc-lock.h: Likewise.
32512 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
32513 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
32514 instead of using implementation details.
32515
37233df9
TS
32516 * libio/fileops.c: Unconditionally include <kernel-features.h>.
32517 * libio/freopen.c: Likewise.
32518 * libio/freopen64.c: Likewise.
32519 * misc/syslog.c: Likewise.
32520 * nscd/connections.c: Likewise.
32521 * nscd/netgroupcache.c: Likewise.
32522 * sysdeps/posix/getcwd.c: Likewise.
32523
38de94a5
RM
325242012-05-10 Roland McGrath <roland@hack.frob.com>
32525
32526 * math/w_ilogbf.c: Add #include <limits.h>.
32527
67530489
ST
325282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32529
a4186cff 32530 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
32531 path instead of returning without unlocking.
32532
67530489
ST
32533 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
32534 immediate-write ioctls.
32535 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
32536
5aa3a74a
TS
325372012-05-10 Thomas Schwinge <thomas@schwinge.name>
32538
18bad2ae
TS
32539 * sysdeps/mach/hurd/i386/init-first.c (init): Use
32540 __builtin_frame_address instead of making assumptions about the
32541 location of the return address relative to DATA. Force early load of
32542 the return address.
32543 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
32544 __builtin_frame_address.
32545
5aa3a74a
TS
32546 dup3 for GNU Hurd.
32547 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
32548 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
32549 implement dup3 and do some further code clean-ups.
32550 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
32551 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
32552
ecd0de9a
ST
325532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32554
cd9fa985
ST
32555 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
32556
a4186cff
PT
32557 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
32558 HURD_CRITICAL_END around holding _hurd_dtable_lock.
32559 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
32560 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
32561 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
32562 d->port.lock.
802ca5a5 32563
a4186cff
PT
32564 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
32565 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
32566 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 32567
bcf55240
TS
325682012-05-10 Thomas Schwinge <thomas@schwinge.name>
32569
6960eb42
TS
32570 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
32571 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
32572 definitions.
32573
eb43375f
TS
32574 accept4 for GNU Hurd.
32575 * include/sys/socket.h (__libc_accept4): New prototype.
32576 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
32577 to implement __libc_accept4.
32578 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
32579 __libc_accept4.
32580 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
32581
bcf55240
TS
32582 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
32583 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
32584 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
32585 signal-defines.sym.
32586
6178c55b
ST
325872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32588
a4186cff 32589 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 32590
6f080c2f
TS
325912012-05-10 Thomas Schwinge <thomas@schwinge.name>
32592
32593 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
32594 assertion on O_CLOEXEC flag.
32595 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
32596 * hurd/intern-fd.c: Likewise.
32597 * hurd/port2fd.c: Likewise.
32598
bcfe3a54
ST
325992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32600
32601 [BZ #3906]
32602 * bits/in.h (IPV6_PKTINFO): Define new macro.
32603 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
32604
89c9aa49
AZ
326052012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32606
32607 [BZ #13954]
32608 [BZ #13955]
32609 [BZ #13956]
32610 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
32611 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32612 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
32613 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32614 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32615 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32616 * math/libm-test.inc (logb_test) : Additional logb tests.
32617
021db4be
AJ
326182012-05-09 Andreas Schwab <schwab@linux-m68k.org>
32619 Andreas Jaeger <aj@suse.de>
32620
32621 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
32622 * configure: Regenerated.
32623 * config.h.in (LINK_OBSOLETE_RPC): New macro.
32624 * config.make.in (link-obsolete-rpc): New substituted variable.
32625 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
32626 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
32627 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32628 (shared-only-routines): Don't set it under [link-obsolete-rpc],
32629 so that libc.a contains the symbols.
32630 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32631 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
32632 * sunrpc/auth_none.c: Likewise.
32633 * sunrpc/auth_unix.c: Likewise.
32634 * sunrpc/authdes_prot.c: Likewise.
32635 * sunrpc/authuxprot.c: Likewise.
32636 * sunrpc/clnt_gen.c: Likewise.
32637 * sunrpc/clnt_perr.c: Likewise.
32638 * sunrpc/clnt_raw.c: Likewise.
32639 * sunrpc/clnt_simp.c: Likewise.
32640 * sunrpc/clnt_tcp.c: Likewise.
32641 * sunrpc/clnt_udp.c: Likewise.
32642 * sunrpc/clnt_unix.c: Likewise.
32643 * sunrpc/des_crypt.c: Likewise.
32644 * sunrpc/des_soft.c: Likewise.
32645 * sunrpc/get_myaddr.c: Likewise.
32646 * sunrpc/key_call.c: Likewise.
32647 * sunrpc/key_prot.c: Likewise.
32648 * sunrpc/netname.c: Likewise.
32649 * sunrpc/pm_getmaps.c: Likewise.
32650 * sunrpc/pm_getport.c: Likewise.
32651 * sunrpc/pmap_clnt.c: Likewise.
32652 * sunrpc/pmap_prot.c: Likewise.
32653 * sunrpc/pmap_prot2.c: Likewise.
32654 * sunrpc/pmap_rmt.c: Likewise.
32655 * sunrpc/publickey.c: Likewise.
32656 * sunrpc/rpc_cmsg.c: Likewise.
32657 * sunrpc/rpc_common.c: Likewise.
32658 * sunrpc/rpc_dtable.c: Likewise.
32659 * sunrpc/rpc_prot.c: Likewise.
32660 * sunrpc/rpc_thread.c: Likewise.
32661 * sunrpc/rtime.c: Likewise.
32662 * sunrpc/svc.c: Likewise.
32663 * sunrpc/svc_auth.c: Likewise.
32664 * sunrpc/svc_raw.c: Likewise.
32665 * sunrpc/svc_run.c: Likewise.
32666 * sunrpc/svc_tcp.c: Likewise.
32667 * sunrpc/svc_udp.c: Likewise.
32668 * sunrpc/svc_unix.c: Likewise.
32669 * sunrpc/svcauth_des.c: Likewise.
32670 * sunrpc/xcrypt.c: Likewise.
32671 * sunrpc/xdr.c: Likewise.
32672 * sunrpc/xdr_array.c: Likewise.
32673 * sunrpc/xdr_float.c: Likewise.
32674 * sunrpc/xdr_intXX_t.c: Likewise.
32675 * sunrpc/xdr_mem.c: Likewise.
32676 * sunrpc/xdr_rec.c: Likewise.
32677 * sunrpc/xdr_ref.c: Likewise.
32678 * sunrpc/xdr_sizeof.c: Likewise.
32679 * sunrpc/xdr_stdio.c: Likewise.
32680
b5c086a2
RM
326812012-05-10 Roland McGrath <roland@hack.frob.com>
32682
32683 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
32684 change. Update copyright years.
32685
6d74dd09
JM
326862012-05-10 Joseph Myers <joseph@codesourcery.com>
32687
32688 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
32689
28e72501
MK
326902012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
32691 Joseph Myers <joseph@codesourcery.com>
32692 Paul Pluzhnikov <ppluzhnikov@google.com>
32693
32694 [BZ #14012]
32695 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
32696 requiring rpcgen.
32697 [cross-compiling] (extra-libs): Likewise.
32698 [cross-compiling] (extra-libs-others): Likewise.
32699 [cross-compiling] (librpcsvc-routines): Likewise.
32700 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
32701 [cross-compiling] (omit-deps): Likewise.
32702 (sunrpc-CPPFLAGS): New variable.
32703 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
32704 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
32705 (cross-rpcgen-objs): New variable.
32706 (extra-objs): Append $(cross-rpcgen-objs).
32707 ($(cross-rpcgen-objs)): New rule.
32708 ($(objpfx)cross-rpcgen): Likewise.
32709 (rpcgen-cmd): Define to use $(built-program-file). Expand
32710 comment.
32711 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
32712 ($(objpfx)x%.stmp): Likewise.
32713 * sunrpc/proto.h [IS_IN_build] (_): Define.
32714 [IS_IN_build] (_libc_intl_domainname): Likewise.
32715
c8c59454
L
327162012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32717
32718 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
32719 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
32720 and R_X86_64_TPOFF64.
32721
6f27cd16
JM
327222012-05-10 Joseph Myers <joseph@codesourcery.com>
32723
32724 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
32725 sysdeps/unix/sysv/syscalls.list.
32726 (stime): Likewise.
32727 (utime): Likewise.
32728 * sysdeps/unix/sysv/syscalls.list: Remove file.
32729
02467e1c
PE
327302012-05-10 Paul Eggert <eggert@cs.ucla.edu>
32731
32732 [BZ #3440]
32733 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
32734 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
32735 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
32736 (__LC_IDENTIFICATION): Make these macros useful in #if
32737 expressions, as required by C99.
32738
da392631
AS
327392012-05-10 Andreas Schwab <schwab@linux-m68k.org>
32740
32741 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
32742 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
32743 after this.
32744
8115f29b
L
327452012-05-09 H.J. Lu <hongjiu.lu@intel.com>
32746
32747 * stdlib/longlong.h: Updated from GCC.
32748
bdd74070
AJ
327492012-05-09 Andreas Jaeger <aj@suse.de>
32750
edfe0dbe
AJ
32751 * nscd/nscd.c (run_modes): Make named enum, reorder so that
32752 default is first entry.
32753 (run_mode): Set type.
32754 (main): Remove informal message about syslog.
32755 (options): Fix typo.
32756
bcfe3a54
ST
32757 [BZ #14053]
32758 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 32759 to asm.
bcfe3a54
ST
32760 (lrint): Likewise.
32761 (llrintf): Likewise.
32762 (llrint): Likewise.
32763 (rint): Likewise.
32764 (rintf): Likewise.
32765 (nearbyint): Likewise.
32766 (nearbyintf): Likewise.
bdd74070 32767
91d8d69e
AJ
327682012-05-09 Andreas Jaeger <aj@suse.de>
32769 Pedro Alves <palves@redhat.com>
32770
32771 * nscd/nscd.c (run_mode): Use enum.
32772 (main): Cleanup coding style issue.
32773
bb90b80b
AJ
327742012-05-09 Alexandre Oliva <aoliva@redhat.com>
32775 Andreas Jaeger <aj@suse.de>
32776
bcfe3a54
ST
32777 * nscd/nscd.c (go_background): Replaced with...
32778 (run_mode): ... this.
bb90b80b 32779 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
32780 (options): Add -F --foreground.
32781 (main): Implement it.
32782 (parse_opt): Parse it.
bb90b80b 32783
1a4b75a1
AJ
327842012-05-09 Andreas Jaeger <aj@suse.de>
32785
32786 [BZ #14083]
32787 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
32788 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
32789 -Wconversion warning.
32790 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
32791 Likewise.
32792
b1cc2472
JM
327932012-05-09 Joseph Myers <joseph@codesourcery.com>
32794
32795 * conform/data/locale.h-data (NULL): Use macro-constant. Require
32796 == 0.
32797 (LC_ALL): Use macro-int-constant.
32798 (LC_COLLATE): Likewise.
32799 (LC_CTYPE): Likewise.
32800 (LC_MESSAGES): Likewise.
32801 (LC_MONETARY): Likewise.
32802 (LC_NUMERIC): Likewise.
32803 (LC_TIME): Likewise.
32804 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
32805 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32806 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32807 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
32808 Specify type.
32809 [C99-based standards] (float_t): Expect type.
32810 [C99-based standards] (double_t): Expect type.
32811 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
32812 type.
32813 [C99-based standards] (HUGE_VALL): Likewise.
32814 [C99-based standards] (INFINITY): Likewise.
32815 [C99-based standards] (NAN): Likewise.
32816 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
32817 [C99-based standards] (FP_NAN): Likewise.
32818 [C99-based standards] (FP_NORMAL): Likewise.
32819 [C99-based standards] (FP_SUBNORMAL): Likewise.
32820 [C99-based standards] (FP_ZERO): Likewise.
32821 [C99-based standards] (FP_FAST_FMA): Use
32822 optional-macro-int-constant. Specify type. Require == 1.
32823 [C99-based standards] (FP_FAST_FMAF): Likewise.
32824 [C99-based standards] (FP_FAST_FMAL): Likewise.
32825 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
32826 [C99-based standards] (FP_ILOGBNAN): Likewise.
32827 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
32828 Specify type.
32829 [C99-based standards] (MATH_ERREXCEPT): Likewise.
32830 [C99-based standards] (math_errhandling): Specify type.
32831 [ISO99 || ISO11] (signgam): Do not allow.
32832 [non-C99-based standards] (copysignf): Do not allow.
32833 [non-C99-based standards] (exp2f): Likewise.
32834 [non-C99-based standards] (log2f): Likewise.
32835 [non-C99-based standards] (modff): Allow.
32836 [non-C99-based standards] (erff): Do not allow.
32837 [non-C99-based standards] (erfcf): Likewise.
32838 [non-C99-based standards] (gammaf): Likewise.
32839 [non-C99-based standards] (hypotf): Likewise.
32840 [non-C99-based standards] (j0f): Likewise.
32841 [non-C99-based standards] (j1f): Likewise.
32842 [non-C99-based standards] (jnf): Likewise.
32843 [non-C99-based standards] (lgammaf): Likewise.
32844 [non-C99-based standards] (tgammaf): Likewise.
32845 [non-C99-based standards] (y0f): Likewise.
32846 [non-C99-based standards] (y1f): Likewise.
32847 [non-C99-based standards] (ynf): Likewise.
32848 [non-C99-based standards] (isnanf): Likewise.
32849 [non-C99-based standards] (acoshf): Likewise.
32850 [non-C99-based standards] (asinhf): Likewise.
32851 [non-C99-based standards] (atanhf): Likewise.
32852 [non-C99-based standards] (cbrtf): Likewise.
32853 [non-C99-based standards] (expm1f): Likewise.
32854 [non-C99-based standards] (ilogbf): Likewise.
32855 [non-C99-based standards] (log1pf): Likewise.
32856 [non-C99-based standards] (logbf): Likewise.
32857 [non-C99-based standards] (nextafterf): Likewise.
32858 [non-C99-based standards] (remainderf): Likewise.
32859 [non-C99-based standards] (rintf): Likewise.
32860 [non-C99-based standards] (scalbf): Likewise.
32861 [non-C99-based standards] (copysignl): Likewise.
32862 [non-C99-based standards] (exp2l): Likewise.
32863 [non-C99-based standards] (log2l): Likewise.
32864 [non-C99-based standards] (modfl): Allow.
32865 [non-C99-based standards] (erfl): Do not allow.
32866 [non-C99-based standards] (erfcl): Likewise.
32867 [non-C99-based standards] (gammal): Likewise.
32868 [non-C99-based standards] (hypotl): Likewise.
32869 [non-C99-based standards] (j0l): Likewise.
32870 [non-C99-based standards] (j1l): Likewise.
32871 [non-C99-based standards] (jnl): Likewise.
32872 [non-C99-based standards] (lgammal): Likewise.
32873 [non-C99-based standards] (tgammal): Likewise.
32874 [non-C99-based standards] (y0l): Likewise.
32875 [non-C99-based standards] (y1l): Likewise.
32876 [non-C99-based standards] (ynl): Likewise.
32877 [non-C99-based standards] (isnanl): Likewise.
32878 [non-C99-based standards] (acoshl): Likewise.
32879 [non-C99-based standards] (asinhl): Likewise.
32880 [non-C99-based standards] (atanhl): Likewise.
32881 [non-C99-based standards] (cbrtl): Likewise.
32882 [non-C99-based standards] (expm1l): Likewise.
32883 [non-C99-based standards] (ilogbl): Likewise.
32884 [non-C99-based standards] (log1pl): Likewise.
32885 [non-C99-based standards] (logbl): Likewise.
32886 [non-C99-based standards] (nextafterl): Likewise.
32887 [non-C99-based standards] (remainderl): Likewise.
32888 [non-C99-based standards] (rintl): Likewise.
32889 [non-C99-based standards] (scalbl): Likewise.
32890 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32891 [non-C99-based standards] (FP_*): Do not allow.
32892 [C99-based standards] (FP_*): Change to
32893 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32894 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32895 allow.
32896 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
32897 (SIG_ERR): Likewise.
32898 [X/Open-based standards] (SIG_HOLD): Likewise.
32899 (SIG_IGN): Likewise.
32900 (SIGABRT): Use macro-int-constant. Specify type. Require
32901 positive value.
32902 (SIGFPE): Likewise.
32903 (SIGILL): Likewise.
32904 (SIGINT): Likewise.
32905 (SIGSEGV): Likewise.
32906 (SIGTER): Likewise.
32907 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
32908 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
32909 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
32910 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
32911 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
32912 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
32913 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
32914 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
32915 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
32916 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
32917 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
32918 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
32919 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
32920 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
32921 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
32922 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
32923 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
32924 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
32925 [X/Open-based standards] (SIGTRAP): Likewise.
32926 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
32927 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
32928 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
32929 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
32930 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32931 allow.
32932
b9f1922d
IW
329332012-05-08 Ian Wienand <ianw@vmware.com>
32934
32935 [BZ #14080]
32936 * time/tzset.c (__tzset_parse_tz): Update default rules for
32937 daylight time changes in the Energy Policy Act of 2005.
32938
1db86e88
AJ
329392012-05-09 Andreas Jaeger <aj@suse.de>
32940
32941 [BZ #13983]
32942 * elf/ldconfig.c (parse_conf): Change string to make clear that
32943 ldconfig only issued a warning if ld.so.conf does not exist.
32944
dee4a4e3
DM
329452012-05-08 David S. Miller <davem@davemloft.net>
32946
ee0db190
DM
32947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
32948 movxtod instead of popping the value on the stack.
32949
dee4a4e3
DM
32950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32951
6a43ec98
CD
329522012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
32953
32954 * config.h.in: Add HAVE_ARM_PCS_VFP.
32955
05c2c961
RMG
329562012-05-08 Roland Mc Grath <roland@hack.frob.com>
32957
bcfe3a54
ST
32958 [BZ #13979]
32959 * include/features.h: Warn if user requests __FORTIFY_SOURCE
32960 checking but the checks are disabled for any reason.
05c2c961 32961
4b30f61a
L
329622012-05-08 H.J. Lu <hongjiu.lu@intel.com>
32963
32964 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
32965 and ELF64_R_TYPE with ELFW(R_TYPE).
32966
eee2bc67
JM
329672012-05-08 Joseph Myers <joseph@codesourcery.com>
32968
7ea5391a
JM
32969 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
32970 (ulimit): Likewise.
32971
eee2bc67
JM
32972 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
32973 (settimeofday): Likewise.
32974
abb66a67
MF
329752012-05-08 Mike Frysinger <vapier@gentoo.org>
32976
32977 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
32978 a struct th_u2 inside the union, and move tu_block/tu_code into
32979 a new th_u3 union of tu_block/tu_code inside of that. Move
32980 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
32981 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
32982 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
32983 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
32984 (th_stuff): Change to th_u1.tu_stuff.
32985 (th_data): Define.
32986 (th_msg): Change to th_u1.th_u2.tu_data.
32987
7f18b530
DM
329882012-05-07 David S. Miller <davem@davemloft.net>
32989
05760585
DM
32990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32991
7f18b530
DM
32992 [BZ #14074]
32993 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
32994 (SETUP_PIC_REG): Use it.
32995 (SETUP_PIC_REG_LEAF): Use it.
32996
495fd99f
JM
329972012-05-07 Joseph Myers <joseph@codesourcery.com>
32998
32999 [BZ #13885]
33000 [BZ #13923]
33001 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33002 USE_AS_EXPM1L.
33003 (EXPL_FINITE): Likewise.
33004 (FLDLOG): Likewise.
33005 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33006 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33007 e_expl.S.
33008 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33009 USE_AS_EXPM1L.
33010 (EXPL_FINITE): Likewise.
33011 (FLDLOG): Likewise.
33012 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33013 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33014 e_expl.S.
33015 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
33016 test of -max_value argument for long double.
33017 * sysdeps/i386/fpu/libm-test-ulps: Update.
33018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33019
6693d694
DM
330202012-05-06 David S. Miller <davem@davemloft.net>
33021
33022 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33023 quad soft-float symbols whose references which are compiler
33024 generated.
33025 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33026
6c23e11c
JM
330272012-05-06 Joseph Myers <joseph@codesourcery.com>
33028
d8b82cad
JM
33029 [BZ #13884]
33030 [BZ #13914]
33031 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33032 USE_AS_EXP10L.
33033 (EXPL_FINITE): Likewise.
33034 (FLDLOG): Likewise.
33035 (c0): Likewise.
33036 (c1): Likewise.
33037 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33038 Adjust comments for base varying.
33039 (__expl_finite): Change alias to EXPL_FINITE.
33040 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33041 e_expl.S.
33042 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33043 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33044 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33045 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33046 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33047 USE_AS_EXP10L.
33048 (EXPL_FINITE): Likewise.
33049 (FLDLOG): Likewise.
33050 (c0): Likewise.
33051 (c1): Likewise.
33052 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33053 Adjust comments for base varying.
33054 (__expl_finite): Change alias to EXPL_FINITE.
33055 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
33056 tests for bugs.
33057 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33058
6c23e11c
JM
33059 [BZ #14064]
33060 * math/libm-test.inc (check_float_internal): Correct ulp
33061 calculation for subnormal expected results.
33062
29ba805c
AJ
330632012-05-06 Andreas Jaeger <aj@suse.de>
33064
33065 * Makeconfig (+math-flags): New, set to -frounding-math.
33066 (+cflags): Add +math-flags so that all of glibc gets compiled with
33067 it.
33068
33069 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33070
7b17aeda
JM
330712012-05-05 Joseph Myers <joseph@codesourcery.com>
33072
5779f134
JM
33073 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33074 Disable one test.
33075
41498f4d
JM
33076 [BZ #13787]
33077 [BZ #13922]
33078 [BZ #14036]
33079 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33080 (__ieee754_expl): Allow for and saturate large arguments.
33081 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33082 (u_threshold): Likewise.
33083 (__exp): Call __ieee754_exp before checking for overflow and
33084 underflow.
33085 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33086 (u_threshold): Likewise.
33087 (__expf): Call __ieee754_expf before checking for overflow and
33088 underflow.
33089 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33090 (u_threshold): Likewise.
33091 (__expl): Call __ieee754_expl before checking for overflow and
33092 underflow.
33093 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33094 (__ieee754_expl): Allow for and saturate large arguments.
33095 * math/libm-test.inc (exp_test): Add another test. Do not allow
33096 missing overflow exception on overflow.
33097 (expm1_test): Do not allow missing overflow exception on overflow.
33098
6698b8bf
JM
33099 * sysdeps/i386/fpu/e_expl.c: Move to ...
33100 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
33101 rather than using inline asm.
33102 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33103 * sysdeps/x86_64/fpu/e_expl.S: Copy from
33104 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33105
7b17aeda
JM
33106 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33107 (nice): Likewise.
33108 (poll): Likewise.
33109 (signal): Likewise.
33110 (time): Likewise.
33111 (times): Likewise.
33112
f7c85819
JM
331132012-05-04 Joseph Myers <joseph@codesourcery.com>
33114
33115 * sysdeps/unix/syscalls.list (adjtime): Add entry from
33116 sysdeps/unix/common/syscalls.list.
33117 (fchmod): Likewise.
33118 (fchown): Likewise.
33119 (ftruncate): Likewise.
33120 (getrusage): Likewise.
33121 (gettimeofday): Likewise.
33122 (setpgid): Likewise.
33123 (setregid): Likewise.
33124 (setreuid): Likewise.
33125 (sigaction): Likewise.
33126 (truncate): Likewise.
33127 (vhangup): Likewise.
33128 * sysdeps/unix/common/syscalls.list: Remove file.
33129 * sysdeps/unix/bsd/Implies: Don't include unix/common.
33130 * sysdeps/unix/sysv/linux/Implies: Likewise.
33131
336270d0
L
331322012-05-04 H.J. Lu <hongjiu.lu@intel.com>
33133
33134 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33136 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33137 Moved to ...
33138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33139 Here.
33140 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33141 to ...
33142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33143 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33144 to ...
33145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33146 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33147 to ...
33148 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33149 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33150 to ...
33151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33152 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33153 to ...
33154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33155 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33156 to ...
33157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33158 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33159 to ...
33160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33161 Here.
33162 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33163 to ...
33164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33165 Here.
33166 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33167 to ...
33168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33169 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33170 Moved to ...
33171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33172 Here.
33173 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33174 to ...
33175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33176
d128e450
JM
331772012-05-04 Joseph Myers <joseph@codesourcery.com>
33178
fa8ee516
JM
33179 * sysdeps/unix/common/bits/dirent.h: Remove file.
33180 * sysdeps/unix/common/bits/fcntl.h: Likewise.
33181
d128e450
JM
33182 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33183 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33184 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33185 * sysdeps/unix/bsd/isatty.c: Likewise.
33186 * sysdeps/unix/bsd/tcdrain.c: Likewise.
33187 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33188 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33189
ff8faaf0 331902012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 33191
62881be4 33192 [BZ #13563]
31dc8730
AZ
33193 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33194 long double comparison inaccuracies.
33195 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33197
6fef930c
AS
331982012-05-04 Andreas Schwab <schwab@linux-m68k.org>
33199
33200 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33201 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33202
8f203e6c
JM
332032012-05-04 Joseph Myers <joseph@codesourcery.com>
33204
33205 [BZ #14049]
33206 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33207 nonzero digits before rounding a hex value.
33208 * stdlib/tst-strtod.c (tests): Add another test.
33209
5197d9c2
AK
332102012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33211
33212 * sysdeps/s390/fpu/libm-test-ulps: Update.
33213
f0c1dedf
AJ
332142012-05-03 Andreas Jaeger <aj@suse.de>
33215
33216 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33217 does not get optimized out.
33218 (malloc_opt_barrier): New.
33219
a65ef2ae 332202012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 33221 Roland McGrath <roland@hack.frob.com>
a65ef2ae 33222
2b942cb7 33223 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 33224 intermediate file deletion.
2b942cb7 33225 (generated): Add .symlist files.
a65ef2ae 33226
54b71e02
JM
332272012-05-03 Joseph Myers <joseph@codesourcery.com>
33228
33229 [BZ #13775]
33230 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33231 Redirect under this condition.
33232 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33233 [__USE_GNU] (__dprintf_chk): Not under this condition.
33234 [__USE_GNU] (__vdprintf_chk): Likewise.
33235 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33236 under this condition.
33237 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33238 [__USE_XOPEN2K8] (dprintf): Define under this condition.
33239 [__USE_XOPEN2K8] (vdprintf): Likewise.
33240 [__USE_GNU] (__dprintf_chk): Not under this condition.
33241 [__USE_GNU] (__vdprintf_chk): Likewise.
33242 [__USE_GNU] (dprintf): Likewise.
33243 [__USE_GNU] (vdprintf): Likewise.
33244
d3dfcc41
RM
332452012-05-03 Roland McGrath <roland@hack.frob.com>
33246
33247 * elf/Makefile (common-generated): Set this instead of generated for
33248 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
33249 $(all-built-dso)-derived lists.
33250
7ac30cc5
AJ
332512012-05-03 Andreas Jaeger <aj@suse.de>
33252
0c51e550
AJ
33253 * sysdeps/i386/fpu/libm-test-ulps: Update.
33254
7ac30cc5
AJ
33255 * FAQ: Removed.
33256 * FAQ.in: Likewise.
33257 * scripts/gen-FAQ.pl: Likewise.
33258 * manual/install.texi (Installation): Point to online location of
33259 FAQ.
33260 * Makefile (files-for-dist): Remove FAQ.
33261 (FAQ): Remove.
33262
d4c2917f
AM
332632012-05-02 Allan McRae <allan@archlinux.org>
33264
33265 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33266 (LDFLAGS-reldepmod5.so): Likewise.
33267 (LDFLAGS-reldep6mod1.so): Likewise.
33268 (LDFLAGS-reldep6mod4.so): Likewise.
33269 (LDFLAGS-reldep8mod3.so): Likewise.
33270 (LDFLAGS-unload4mod1.so): Likewise.
33271 (LDFLAGS-unload4mod2.so): Likewise.
33272 (LDFLAGS-tst-initorder): Likewise.
33273 (LDFLAGS-tst-initordera2.so): Likewise.
33274 (LDFLAGS-tst-initordera3.so): Likewise.
33275 (LDFLAGS-tst-initordera4.so): Likewise.
33276 (LDFLAGS-tst-initorderb2.so): Likewise.
33277 (LDFLAGS-noload): Likewise.
33278 (LDFLAGS-next): Likewise.
33279 (LDFLAGS-order2mod1.so): Likewise.
33280 (LDFLAGS-order2mod2.so): Likewise.
33281 (LDFLAGS-tst-initorder2): Likewise.
33282 (LDFLAGS-tst-initorder2a.so): Likewise.
33283 (LDFLAGS-tst-initorder2b.so): Likewise.
33284 (LDFLAGS-tst-initorder2c.so): Likewise.
33285 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33286
d77f993f
DM
332872012-05-02 David S. Miller <davem@davemloft.net>
33288
33289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33290
171a70b4
PP
332912012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
33292
33293 [BZ #14055]
33294 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33295
0be196ad
AJ
332962012-05-02 Andreas Jaeger <aj@suse.de>
33297
33298 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33299 since we manipulate rounding mode.
33300 (CPPFLAGS-test-idouble.c): Likewise.
33301 (CPPFLAGS-test-ifloat.c): Likewise.
33302 (CFLAGS-test-ldouble.c): Likewise.
33303 (CFLAGS-test-double.c): Likewise.
33304 (CFLAGS-test-float.c): Likewise.
33305 (CFLAGS-test-misc.c): Likewise.
33306 (CFLAGS-test-test-fenv.c): Likewise.
33307
4f9d04aa
AZ
333082012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33309
2b942cb7
RM
33310 [BZ #2550]
33311 [BZ #2570]
33312 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33313 comparisons to determine direction to adjust input.
4f9d04aa 33314
82a79e7d
RM
333152012-05-01 Roland McGrath <roland@hack.frob.com>
33316
f5a01ca9
RM
33317 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33318 output to the target.
33319
90fe4186
RM
33320 * scripts/localplt.awk: New file.
33321 * elf/Makefile ($(objpfx)check-localplt): Target removed.
33322 (check-localplt-CFLAGS): Variable removed.
33323 ($(all-built-dso:=.jmprel)): New static pattern rule.
33324 (generated): Add those targets.
33325 (localplt-built-dso): New variable.
33326 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33327
33328 * elf/check-localplt.c: File removed.
33329
82397ed6
RM
33330 * scripts/check-execstack.awk: New file.
33331 * elf/Makefile ($(objpfx)check-execstack): Target removed.
33332 (check-execstack-CFLAGS): Variable removed.
33333 ($(objpfx)check-execstack.h): Target removed.
33334 ($(objpfx)execstack-default): New target.
33335 (generated): Add that instead of check-execstack.h.
33336 ($(all-built-dso:=.phdr)): New static pattern rule.
33337 (generated): Add those targets.
33338 * elf/check-execstack.c: File removed.
33339
82a79e7d
RM
33340 * scripts/check-textrel.awk: New file.
33341 * elf/Makefile ($(objpfx)check-textrel): Target removed.
33342 (check-textrel-CFLAGS): Variable removed.
33343 (all-built-dso): Use := to define.o
33344 ($(all-built-dso:=.dyn)): New static pattern rule.
33345 (generated): Add those targets.
33346 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33347 * config.make.in (READELF): New substituted variable.
33348 * elf/check-textrel.c: File removed.
33349
62fde54f 333502012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 33351
615605c9
JM
33352 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33353 allow.
33354 * conform/data/ctype.h-data [C99-based standards] (isblank):
33355 Expect function.
33356 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33357 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33358 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33359 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33360 Specify type. Require positive value.
33361 (EILSEQ): Likewise.
33362 (ERANGE): Likewise.
33363 [ISO || POSIX] (EILSEQ): Do not expect.
33364 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33365 Specify type. Require positive value.
33366 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33367 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33368 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33369 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33370 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33371 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33372 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33373 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33374 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33375 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33376 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33377 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33378 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33379 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33380 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33381 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33382 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33383 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33384 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33385 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33386 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33387 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33388 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33389 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33390 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33391 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33392 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33393 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33394 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33395 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33396 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33397 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33398 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33399 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33400 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33401 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33402 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33403 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33404 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33405 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33406 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33407 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33408 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33409 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33410 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33411 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33412 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33413 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33414 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33415 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33416 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33417 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33418 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33419 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33420 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33421 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33422 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33423 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33424 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33425 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33426 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33427 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33428 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33429 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33430 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33431 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33432 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33433 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33434 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33435 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33436 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33437 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33438 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33439 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33440 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
33441 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
33442 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
33443 Require >= 2.
33444 (FLT_ROUNDS): Expect as macro, not constant.
33445 (FLT_MANT_DIG): Use macro-int-constant.
33446 (DBL_MANT_DIG): Likewise.
33447 (LDBL_MANT_DIG): Likewise.
33448 (FLT_DIG): Likewise.
33449 (DBL_DIG): Likewise.
33450 (LDBL_DIG): Likewise.
33451 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
33452 (DBL_MIN_EXP): Likewise.
33453 (LDBL_MIN_EXP): Likewise.
33454 (FLT_MAX_EXP): Use macro-int-constant.
33455 (DBL_MAX_EXP): Likewise.
33456 (LDBL_MAX_EXP): Likewise.
33457 (FLT_MAX_10_EXP): Likewise.
33458 (DBL_MAX_10_EXP): Likewise.
33459 (LDBL_MAX_10_EXP): Likewise.
33460 (FLT_MAX): Use macro-constant.
33461 (DBL_MAX): Likewise.
33462 (LDBL_MAX): Likewise.
33463 (FLT_EPSILON): Use macro-constant. Give upper bound.
33464 (DBL_EPSILON): Likewise.
33465 (LDBL_EPSILON): Likewise.
33466 (FLT_MIN): Likewise.
33467 (DBL_MIN): Likewise.
33468 (LDBL_MIN): Likewise.
33469 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
33470 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
33471 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
33472 [ISO11] (FLT_HAS_SUBNORM): Likewise.
33473 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
33474 [ISO11] (DBL_DECIMAL_DIG): Likewise.
33475 [ISO11] (FLT_DECIMAL_DIG): Likewise.
33476 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
33477 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
33478 [ISO11] (FLT_TRUE_MIN): Likewise.
33479 [ISO11] (LDBL_TRUE_MIN): Likewise.
33480 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33481 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
33482 (SCHAR_MIN): Use macro-int-constant. Specify type.
33483 (SCHAR_MAX): Likewise.
33484 (UCHAR_MAX): Likewise.
33485 (CHAR_MIN): Likewise.
33486 (CHAR_MAX): Likewise.
33487 (MB_LEN_MAX): Use macro-int-constant.
33488 (SHRT_MIN): Use macro-int-constant. Specify type.
33489 (SHRT_MAX): Likewise.
33490 (USHRT_MAX): Likewise.
33491 (INT_MAX): Likewise.
33492 (INT_MIN): Use macro-int-constant. Specify type. Make upper
33493 bound negative.
33494 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
33495 bound with "U".
33496 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33497 bound with "L".
33498 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
33499 bound negative. Suffix upper bound with "L".
33500 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33501 bound with "UL".
33502 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
33503 Specify type.
33504 [C99-based standards] (LLONG_MAX): Likewise.
33505 [C99-based standards] (ULLONG_MAX): Likewise.
33506 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
33507 == 0.
33508 [ISO11] (max_align_t): Require type.
33509 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33510
c9140a62
JM
33511 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
33512 from $CFLAGS, without defining away __attribute__ calls.
33513 (checknamespace): Use $CFLAGS_namespace.
33514
9af0bf29
JM
33515 * conform/conformtest.pl (@keywords): Only include C99 keywords
33516 for standards based on C99 or C11.
33517
343222a2
JM
33518 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
33519 Disable tests.
33520 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
33521 UNIX98]: Likewise.
33522
661f8cf0
JM
33523 * conform/conformtest.pl: Handle "macro-int-constant" and test for
33524 usability of symbols in #if.
33525
ee74b9cb
JM
33526 * conform/conformtest.pl: If macro or constant types start
33527 "promoted:", expect the symbol to be of the following type
33528 promoted by the integer promotions.
62fde54f 33529
aafc49b3
JM
33530 * conform/conformtest.pl: Parse all "constant" and "macro" lines
33531 in one place. Also handle "macro-constant".
33532
fefdf574
JM
33533 * conform/conformtest.pl: Only accept expected macro values with
33534 "==". Parse all "macro" lines in one place.
33535 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
33536
f2d922fe
JM
33537 * conform/conformtest.pl: Handle braced types on "constant" lines
33538 instead of handling "typed-constant".
33539 * conform/data/signal.h-data: Use "constant" instead of
33540 "typed-constant".
33541
d22956c9
JM
33542 * conform/conformtest.pl: Handle "optional-" at start of lines in
33543 one place rather than duplicating several cases. Handle each
33544 format of "macro" line with initial "optional-".
33545
028e2e38
JM
33546 * conform/conformtest.pl: Only accept expected constant or
33547 optional-constant values with "==". Parse all "constant" lines in
33548 one place. Parse all "optional-constant" lines in one place.
33549 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
33550 * conform/data/fmtmsg.h-data: Likewise.
33551 * conform/data/netinet/in.h-data: Likewise.
33552 * conform/data/tar.h-data: Likewise.
33553 * conform/data/limits.h-data: Use "==" form on "constant" and
33554 "optional-constant" lines.
33555
1b8f2850
JM
33556 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
33557 Use -std=c99 for XOPEN2K.
33558 (@knownproblems): Remove.
33559 (newtoken): Don't check %isknown.
33560
a05a144b
JM
33561 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
33562 Do not expect macro.
33563 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
33564 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
33565 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
33566 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
33567 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
33568 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
33569 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
33570 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
33571 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
33572 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
33573 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
33574 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
33575 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
33576 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
33577 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
33578 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
33579 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
33580 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
33581 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
33582 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
33583 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
33584 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
33585 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
33586 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
33587 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
33588 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
33589 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
33590 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
33591 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
33592 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
33593 [XPG3] (acosh): Likewise.
33594 [XPG3] (asinh): Likewise.
33595 [XPG3] (atanh): Likewise.
33596 [XPG3] (cbrt): Likewise.
33597 [XPG3] (expm1): Likewise.
33598 [XPG3] (ilogb): Likewise.
33599 [XPG3] (log1p): Likewise.
33600 [XPG3] (logb): Likewise.
33601 [XPG3] (nextafter): Likewise.
33602 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
33603 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
33604 [XPG3] (remainder): Likewise.
33605 [XPG3] (rint): Likewise.
33606 [XPG3 || XPG4 || UNIX98] (round): Likewise.
33607 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
33608 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
33609 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
33610 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
33611 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
33612 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
33613 [UNIX98 || XOPEN2K] (scalb): Expect.
33614 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
33615 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
33616 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
33617 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
33618 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
33619 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
33620 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
33621 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
33622 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
33623 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
33624 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
33625 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
33626 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
33627 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
33628 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
33629 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
33630 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
33631 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
33632 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
33633 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
33634 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
33635 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
33636 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
33637 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
33638 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
33639 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
33640 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
33641 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
33642 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
33643 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
33644 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
33645 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
33646 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
33647 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
33648 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
33649 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
33650 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
33651 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
33652 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
33653 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
33654 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
33655 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
33656 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
33657 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
33658 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
33659 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
33660 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
33661 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
33662 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
33663 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
33664 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
33665 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
33666 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
33667 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
33668 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
33669 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
33670 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
33671 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
33672 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
33673 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
33674 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
33675 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
33676 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
33677 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
33678 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
33679 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
33680 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
33681 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
33682 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
33683 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
33684 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
33685 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
33686 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
33687 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
33688 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
33689 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
33690 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
33691 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
33692 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
33693 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
33694 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
33695 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
33696 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
33697 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
33698 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
33699 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
33700 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
33701 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
33702 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
33703 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
33704 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
33705 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
33706 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
33707 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
33708 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
33709 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
33710 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
33711 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
33712 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
33713 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
33714 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
33715 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
33716 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
33717 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
33718 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
33719 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
33720 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
33721 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
33722 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
33723 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
33724 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
33725 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
33726 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
33727 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
33728 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
33729 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
33730 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
33731 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
33732 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
33733 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
33734 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
33735 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
33736 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
33737 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
33738 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
33739 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
33740 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
33741 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
33742 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
33743 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
33744 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
33745 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
33746 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
33747 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
33748 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
33749 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
33750 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
33751
73c5ebe3
JM
33752 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
33753 _XOPEN_SOURCE_EXTENDED for XPG4.
33754
39c33b6c
JM
33755 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
33756
62fde54f
JM
33757 * Makeconfig (localtime): Remove variable.
33758 (inst_localtime-file): Likewise.
33759
0741d64c
AS
337602012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33761
33762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33763 Update.
33764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33765 Update.
33766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33767 Update.
33768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33769 Update.
33770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33771 Update.
33772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
33773 Update.
33774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33775 Update.
33776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
33777 Update.
33778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33779 Update.
33780
7cb029ee
JM
337812012-05-01 Joseph Myers <joseph@codesourcery.com>
33782
33783 [BZ #2550]
33784 [BZ #2570]
33785 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
33786 comparisons to determine direction to adjust input.
33787 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33788 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
33789 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33790 Likewise.
33791 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33792 Likewise.
33793 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33794 Likewise.
33795 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33796 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33797 Likewise.
33798 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33799 Likewise.
33800 * math/libm-test.inc (nexttoward_test): Add more tests.
33801
412bd966
AS
338022012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33803
33804 [BZ #14040]
33805 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
33806 in version GLIBC_2.1, not GLIBC_2.0.
33807 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
33808 Likewise.
33809
9568c0c2
JM
338102012-04-30 Joseph Myers <joseph@codesourcery.com>
33811
adfbc8ac
JM
33812 [BZ #13942]
33813 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
33814 (1 - x) * (1 + x).
33815 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33816 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
33817 * math/libm-test.inc (acos_test): Add more tests.
33818 (asin_test): Likewise.
33819 * sysdeps/i386/fpu/libm-test-ulps: Update.
33820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33821
5ba3cc69
JM
33822 [BZ #14034]
33823 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
33824 of square root.
33825 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
33826 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33827 * math/libm-test.inc (acos_test_tonearest): New function.
33828 (acos_test_towardzero): Likewise.
33829 (acos_test_downward): Likewise.
33830 (acos_test_upward): Likewise.
33831 (asin_test_tonearest): Likewise.
33832 (asin_test_towardzero): Likewise.
33833 (asin_test_downward): Likewise.
33834 (asin_test_upward): Likewise.
33835 (main): Call the new functions.
33836 * sysdeps/i386/fpu/libm-test-ulps: Update.
33837 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33838
9568c0c2
JM
33839 [BZ #13884]
33840 [BZ #13924]
33841 * math/e_exp10.c: Include <float.h>.
33842 (__ieee754_exp10): Handle underflow here rather than multiplying
33843 large negative argument by M_LN10.
33844 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
33845 of __ieee754_expf.
33846 * math/e_exp10l.c: Include <float.h>.
33847 (__ieee754_exp10l): Handle underflow here rather than multiplying
33848 large negative argument by M_LN10l.
33849 * math/libm-test.inc (exp10_test): Add another test. Do not allow
33850 spurious overflow exception on underflow.
33851
5ac3ea17
MP
338522012-04-29 Marek Polacek <polacek@redhat.com>
33853
33854 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
33855 (__fortify_function): New macro.
33856 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
33857 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
33858 __extern_always_inline.
33859 * libio/bits/stdio2.h: Likewise.
33860 * libio/bits/stdio.h: Likewise.
33861 * string/string.h: Likewise.
33862 * string/bits/string3.h: Likewise.
33863 * include/stdio.h: Likewise.
33864 * stdlib/bits/stdlib.h: Likewise.
33865 * stdlib/stdlib.h: Likewise.
33866 * rt/bits/mqueue2.h: Likewise.
33867 * rt/mqueue.h: Likewise.
33868 * posix/bits/unistd.h: Likewise.
33869 * posix/unistd.h: Likewise.
33870 * io/bits/poll2.h: Likewise.
33871 * io/bits/fcntl2.h: Likewise.
33872 * io/fcntl.h: Likewise.
33873 * io/sys/poll.h: Likewise.
33874 * misc/bits/syslog.h: Likewise.
33875 * misc/bits/syslog-ldbl.h: Likewise.
33876 * misc/sys/syslog.h: Likewise.
33877 * socket/bits/socket2.h: Likewise.
33878 * socket/sys/socket.h: Likewise.
33879 * debug/tst-chk1.c: Likewise.
33880 * wcsmbs/bits/wchar2.h: Likewise.
33881 * wcsmbs/bits/wchar-ldbl.h: Likewise.
33882 * wcsmbs/wchar.h: Likewise.
33883
ecf0ebfb
AJ
338842012-04-29 Andreas Jaeger <aj@suse.de>
33885
33886 * Makerules (tests): Remove enable-check-abi protection.
33887 (check-abi-warn): Remove.
33888 (check-abi-%): Remove check-abi-warn usage.
33889
33890 * configure.in: Remove check-abi configure option.
33891 * configure: Regenerated.
33892 * config.make.in (enable-check-abi): Remove.
33893
6d5c57fa
AS
338942012-04-28 Andreas Schwab <schwab@linux-m68k.org>
33895
24c5d07e 33896 [BZ #14033]
ded5180a
AS
33897 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
33898 double functions to double *_finite functions.
33899
7e0d315d
AS
33900 [BZ #13941]
33901 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
33902 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
33903 LDBL_MIN_EXP.
33904 * stdio-common/Makefile (tests): Add tst-sprintf3.
33905 * stdio-common/tst-sprintf3.c: New file.
33906
6d5c57fa
AS
33907 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
33908 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
33909
0749ff8b
JM
339102012-04-28 Joseph Myers <joseph@codesourcery.com>
33911
33912 * conform/conformtest.pl: Remove duplicate typed-constant
33913 handling.
33914
8dbd5d7b
DM
339152012-04-28 David S. Miller <davem@davemloft.net>
33916
33917 * Makerules (%.abilist): Add vpath on sysdep_dirs.
33918 (check-abi-%): Remove AWK script prerequisite and explicit
33919 abilist directory.
33920 (check-abi): Rewrite to just diff the symlist with the abilist.
33921 (config-tls, config-abi-config): Delete, no longer used.
33922 (update-abi-%): Remove AWK script and explicit abilist directory.
33923 (update-abi): Rewrite to simply compare and conditionally copy the
33924 symlist and the sysdep abilist file. Remove update-abi-config
33925 checks.
33926 * abilist/ld.abilist: Remove.
33927 * abilist/libBrokenLocale.abilist: Remove.
33928 * abilist/libanl.abilist: Remove.
33929 * abilist/libcrypt.abilist: Remove.
33930 * abilist/libdl.abilist: Remove.
33931 * abilist/librt.abilist: Remove.
33932 * abilist/libthread_db.abilist: Remove.
33933 * abilist/libutil.abilist: Remove.
33934 * scripts/extract-abilist.awk: Remove.
33935 * scripts/merge-abilist.awk: Remove.
33936 * sysdeps/generic/libcidn.abilist: New file.
33937 * sysdeps/generic/libnss_compat.abilist: New file.
33938 * sysdeps/generic/libnss_db.abilist: New file.
33939 * sysdeps/generic/libnss_dns.abilist: New file.
33940 * sysdeps/generic/libnss_files.abilist: New file.
33941 * sysdeps/generic/libnss_hesiod.abilist: New file.
33942 * sysdeps/generic/libnss_nis.abilist: New file.
33943 * sysdeps/generic/libnss_nisplus.abilist: New file.
33944 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
33945 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
33946 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
33947 file.
33948 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
33949 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
33950 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
33951 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
33952 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
33953 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
33954 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
33955 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
33956 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
33957 file.
33958 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
33959 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
33960 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
33961 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
33962 file.
33963 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
33964 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
33965 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
33966 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
33967 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
33968 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
33969 file.
33970 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
33971 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
33972 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
33973 file.
33974 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
33975 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
33976 New file.
33977 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
33978 New file.
33979 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
33980 New file.
33981 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
33982 New file.
33983 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
33984 New file.
33985 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
33986 New file.
33987 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
33988 New file.
33989 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
33990 New file.
33991 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
33992 New file.
33993 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
33994 New file.
33995 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
33996 New file.
33997 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
33998 New file.
33999 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34000 New file.
34001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34002 file.
34003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34004 New file.
34005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34006 New file.
34007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34008 file.
34009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34010 New file.
34011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34012 New file.
34013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34014 file.
34015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34016 New file.
34017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34018 New file.
34019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34020 New file.
34021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34022 New file.
34023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34024 New file.
34025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34026 New file.
34027 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34029 file.
34030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34031 New file.
34032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34033 file.
34034 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34035 file.
34036 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34037 file.
34038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34039 file.
34040 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34041 file.
34042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34043 New file.
34044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34045 file.
34046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34047 file.
34048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34049 New file.
34050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34051 file.
34052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34053 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34054 file.
34055 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34056 New file.
34057 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34058 file.
34059 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34060 file.
34061 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34062 file.
34063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34064 file.
34065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34066 file.
34067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34068 New file.
34069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34070 file.
34071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34072 file.
34073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34074 New file.
34075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34076 file.
34077 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34078 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34079 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34080 file.
34081 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34082 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34083 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34084 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34085 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34086 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34087 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34088 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34089 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34090 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34093 file.
34094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34095 New file.
34096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34097 file.
34098 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34099 file.
34100 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34101 file.
34102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34103 file.
34104 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34105 file.
34106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34107 New file.
34108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34109 New file.
34110 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34111 file.
34112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34113 New file.
34114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34115 file.
34116 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34118 file.
34119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34120 New file.
34121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34122 file.
34123 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34124 file.
34125 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34126 file.
34127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34128 file.
34129 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34130 file.
34131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34132 New file.
34133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34134 New file.
34135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34136 file.
34137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34138 New file.
34139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34140 file.
34141
41d73a1b
JM
341422012-04-28 Joseph Myers <joseph@codesourcery.com>
34143
34144 * conform/conformtest.pl: Fix typo in handling typed-constant from
34145 allow-header.
34146
28aeeda4
JM
341472012-04-27 Joseph Myers <joseph@codesourcery.com>
34148
adae8f5e
JM
34149 * README: Cut down references to pre-2.6 Linux kernels and
34150 Linuxthreads. Update lists of configurations in libc and ports
34151 and sort alphabetically. Say "or newer" with Linux kernel version
34152 requirements.
34153
28aeeda4
JM
34154 * config.h.in [IS_IN_build]: Allow compiling without optimization.
34155
a462cb63
RA
341562012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34157
34158 [BZ #887]
34159 * math/libm-test.inc (logb_test_downward): New test to expose
34160 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34161 rounding mode.
34162
6ad3493e
JM
341632012-04-27 Joseph Myers <joseph@codesourcery.com>
34164
34165 [BZ #14027]
34166 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34167 to be done.
34168 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34169 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34170
2ce4f015
JM
341712012-04-26 Joseph Myers <joseph@codesourcery.com>
34172
5aeb141a
JM
34173 * sysdeps/unix/i386/brk.S: Remove file.
34174 * sysdeps/unix/i386/dl-brk.S: Likewise.
34175 * sysdeps/unix/i386/pipe.S: Likewise.
34176 * sysdeps/unix/i386/sigreturn.S: Likewise.
34177 * sysdeps/unix/i386/syscall.S: Likewise.
34178 * sysdeps/unix/i386/vfork.S: Likewise.
34179 * sysdeps/unix/i386/wait.S: Likewise.
34180
7143acae
JM
34181 * sysdeps/unix/common/tcsendbrk.c: Move to ...
34182 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34183
2ce4f015
JM
34184 * configure.in (arm*-none*): Do not allow without
34185 --enable-hacker-mode.
34186 (netbsd*): Remove case setting base_os.
34187 (386bsd*): Likewise.
34188 (freebsd*): Likewise.
34189 (bsdi*): Likewise.
34190 (osf*): Likewise.
34191 (sunos*): Likewise.
34192 (ultrix*): Likewise.
34193 (newsos*): Likewise.
34194 (dynix*): Likewise.
34195 (*bsd*): Likewise.
34196 (sysv*): Likewise.
34197 (isc*): Likewise.
34198 (esix*): Likewise.
34199 (sco*): Likewise.
34200 (minix*): Likewise.
34201 (irix4*): Likewise.
34202 (irix6*): Likewise.
34203 (solaris[2-9]*): Likewise.
34204 (none): Likewise.
34205 * configure: Regenerated.
34206
0ac229c8
AZ
342072012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34208
34209 [BZ #11521]
34210 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34211 overflow or cancellation in calculating denominator.
34212 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34213 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34214 down expression to avoid unexpected rounding in newer GCCs.
34215 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34216
33f244f4
DM
342172012-04-26 David S. Miller <davem@davemloft.net>
34218
34219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34220 long-double compat symbols.
34221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34234
cfa1f3e8
DM
342352012-04-25 David S. Miller <davem@davemloft.net>
34236
34237 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34238 HWCAP_* values only after the memory barriers have been defined.
34239 (atomic_full_barrier): Define.
34240 (atomic_read_barrier): Define.
34241 (atomic_write_barrier): Define.
34242
6e236b92
SP
342432012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34244
34245 * shlib-versions: Add libgcc_s version information.
34246 * sysdeps/generic/libgcc_s.h: Remove.
34247 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34248 libgcc_s.h.
34249 * sysdeps/gnu/unwind-resume.c: Likewise.
34250 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34251
aab39a09
DM
342522012-04-25 David S. Miller <davem@davemloft.net>
34253
34254 * sysdeps/unix/sparc/brk.S: Delete.
34255 * sysdeps/unix/sparc/dl-brk.S: Delete.
34256 * sysdeps/unix/sparc/pipe.S: Delete.
34257 * sysdeps/unix/sparc/sysdep.S: Delete.
34258 * sysdeps/unix/sparc/sysdep.h: Delete.
34259 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
34260 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34261 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34262 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34263 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
34264 (JUMPTARGET): Remove.
34265 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34266 sysdeps/unix/sparc/sysdep.h
34267 (ENTRY, END): Remove.
34268 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34269
a3cc4f48
JM
342702012-04-25 Joseph Myers <joseph@codesourcery.com>
34271
2ed8cda2
JM
34272 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34273 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34274 -DIS_IN_build.
34275
35d76d59
JM
34276 * timezone/README: Update upstream location and email address for
34277 tzcode and tzdata.
34278 * timezone/zdump.c: Update from tzcode 2012b.
34279 * timezone/zic.c: Likewise.
34280
a3cc4f48
JM
34281 * configure.in (libc_cv_as_needed): Remove test.
34282 * configure: Regenerated.
34283 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34284 conditional definition.
34285 [$(have-as-needed) != yes] (no-as-needed): Likewise.
34286 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34287 * config.make.in (have-as-needed): Remove variable.
34288
ceab42c3
SP
342892012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34290 Paul Pluzhnikov <ppluzhnikov@google.com>
34291
34292 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34293 strings correctly.
34294
3ce2865f
CLT
342952012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
34296
34297 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34298 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34299 * sysdeps/sh/strlen.S: Likewise.
34300
f37e0d68
JM
343012012-04-24 Joseph Myers <joseph@codesourcery.com>
34302
ae186e9a
JM
34303 * sysdeps/unix/fork.S: Remove file.
34304 * sysdeps/unix/i386/fork.S: Likewise.
34305 * sysdeps/unix/sparc/fork.S: Likewise.
34306
b96914af
JM
34307 * sysdeps/unix/system.c: Remove file.
34308 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34309
f37e0d68
JM
34310 * sysdeps/unix/getegid.S: Remove file.
34311 * sysdeps/unix/geteuid.S: Likewise.
34312
87ef29ca
RM
343132012-04-24 Roland McGrath <roland@hack.frob.com>
34314
83bcd236
RM
34315 * scripts/check-localplt.awk: New file.
34316 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34317 of diff.
34318 * scripts/data/localplt-generic.data: Add a comment.
34319
87ef29ca
RM
34320 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34321 NODE when __dir_mkfile failed.
34322 * sysdeps/mach/hurd/symlinkat.c: Likewise.
34323 Reported by Ludovic Courtès <ludo@gnu.org>.
34324
e5a6e567
AJ
343252012-04-24 Andreas Jaeger <aj@suse.de>
34326
34327 * Makerules (common-clean): Also remove gen-as-const-headers
34328 files.
34329
c1820385
JM
343302012-04-24 Joseph Myers <joseph@codesourcery.com>
34331
34332 * Makerules (native-compile): Do not change working directory for
34333 build. Use $(OUTPUT_OPTION) in command.
34334 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34335
94e02fc4
AZ
343362012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34337
34338 [BZ #13886]
34339 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34340 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34341 * math/libm-test.inc (floor_test): Add more tests.
34342 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34343
3a533ca3
JM
343442012-04-24 Joseph Myers <joseph@codesourcery.com>
34345
940ab4b3
JM
34346 * sysdeps/unix/getdents.c: Remove file.
34347 * sysdeps/unix/sysv/getdents.c: Likewise.
34348 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34349
90e037bd
JM
34350 * sysdeps/unix/syscalls.list (madvise): Add syscall from
34351 sysdeps/unix/mman/syscalls.list.
34352 (mmap): Likewise.
34353 (mprotect): Likewise.
34354 (msync): Likewise.
34355 (munmap): Likewise.
34356 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34357 * sysdeps/unix/mman/syscalls.list: Remove.
34358 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34359
3a533ca3
JM
34360 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34361 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34362 * configure: Regenerated.
34363 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34364 $(libgcc_s_suffix).
34365 * config.make.in (libgcc_s_suffix): Remove variable.
34366
1ad743de
JM
343672012-04-23 Joseph Myers <joseph@codesourcery.com>
34368
4ad451e2
JM
34369 * sysdeps/unix/sysv/gethostname.c: Move to ...
34370 * sysdeps/posix/gethostname.c: ... here.
34371
5e37ce39
JM
34372 * sysdeps/unix/execve.S: Remove file.
34373
1ad743de
JM
34374 * sysdeps/unix/_exit.S: Remove file.
34375
4e681b5b
AJ
343762012-04-23 Andreas Jaeger <aj@suse.de>
34377
34378 [BZ #13739]
34379 * manual/Makefile: Remove make dist support, there's no
34380 need for a stand-alone documentation tar ball.
34381 (TEXI2DVI): Define always, it's not in Makeconfig.
34382 (dist): Removed.
34383 (tar-it): Removed.
34384 (edition): Removed.
34385 (glibc-doc-$(edition).tar): Removed
34386 (%.Z): Removed.
34387 (%.gz): Removed.
34388 (%.uu): Removed.
34389 (ETAGS): Remove, it's in Makeconfig.
34390 (move-if-change): Remove, it's in Makeconfig.
34391
38686a03 343922012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
34393
34394 [BZ #13970]
34395 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34396 (strtod, strtof, strtold, strtol, strtoul, strtoq)
34397 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34398 (strtod_l, strtof_l, strtold_l): Remove __wur.
34399 It is not necessarily an error to ignore strtol's return value.
34400 One can reliably look at the stored endptr to decide whether
34401 the number had valid syntax.
34402
7c0616fa
AJ
344032012-04-21 Andreas Jaeger <aj@suse.de>
34404
803cb6b7 34405 [BZ #13739]
7c0616fa
AJ
34406 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34407
b0fe253f
JM
344082012-04-21 Joseph Myers <joseph@codesourcery.com>
34409
34410 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34411 * sysdeps/unix/sysv/Versions: Remove file.
34412
8280f22d
MT
344132012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
34414
34415 [BZ #13927]
34416 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34417
75ce411f 344182012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
34419
34420 [BZ #7064]
34421 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34422 version from __vm86.
34423
097d59fa
JM
344242012-04-20 Joseph Myers <joseph@codesourcery.com>
34425
a90f3bcb
JM
34426 * sysdeps/unix/common/lxstat.c: Remove file.
34427 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34428
edc7ea78
JM
34429 * sysdeps/unix/sysv/Makefile: Remove file.
34430
cb78c221
JM
34431 * sysdeps/unix/sysv/direct.h: Remove file.
34432
efa6a45f
JM
34433 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34434 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34435 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34436 * sysdeps/unix/sysv/bits/signum.h: Likewise.
34437 * sysdeps/unix/sysv/bits/stat.h: Likewise.
34438 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34439 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34440
9c9f2d0c
JM
34441 * sysdeps/unix/sysv/setrlimit.c: Remove file.
34442
4541c83b
JM
34443 * sysdeps/unix/xmknod.c: Remove file.
34444 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
34445
f5d153a0
JM
34446 * sysdeps/unix/sysv/settimeofday.c: Remove file.
34447
aa746595
JM
34448 * sysdeps/unix/sysv/i386/time.S: Remove file.
34449
cce5905e
JM
34450 * sysdeps/unix/fxstat.c: Remove file.
34451 * sysdeps/unix/xstat.c: Likewise.
34452 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
34453
37fa3841
JM
34454 * sysdeps/unix/sysv/sigaction.c: Remove file.
34455
ff1962a3
JM
34456 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
34457 (sysdep_headers): Remove variable.
34458 [termio.h not in sysdep_headers] (generated): Likewise.
34459 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
34460 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
34461 * sysdeps/unix/sysv/tcdrain.c: Likewise.
34462 * sysdeps/unix/sysv/tcflow.c: Likewise.
34463 * sysdeps/unix/sysv/tcflush.c: Likewise.
34464 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
34465 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
34466 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
34467 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
34468 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
34469
e7740d31
JM
34470 * sysdeps/unix/siglist.c: Remove file.
34471
ee06f18b
JM
34472 * sysdeps/unix/getppid.S: Remove file.
34473
097d59fa
JM
34474 * sysdeps/unix/mkdir.c: Remove file.
34475 * sysdeps/unix/rmdir.c: Likewise.
34476
ff3d51ec
AS
344772012-04-19 Andreas Schwab <schwab@linux-m68k.org>
34478
34479 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
34480 ERR_MAX value.
34481 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
34482 errlist-compat value.
34483
50f81fd7
DM
344842012-04-18 David S. Miller <davem@davemloft.net>
34485
34486 * sysdeps/generic/memcopy.h (reg_char): Delete.
34487 * debug/strcat_chk.c: Use char, not reg_char.
34488 * debug/strcpy_chk.c: Likewise.
34489 * debug/strncat_chk.c: Likewise.
34490 * debug/strncpy_chk.c: Likewise.
34491 * string/memchr.c: Likewise.
34492 * string/memrchr.c: Likewise.
34493 * string/rawmemchr.c: Likewise.
34494 * string/strcat.c: Likewise.
34495 * string/strchr.c: Likewise.
34496 * string/strchrnul.c: Likewise.
34497 * string/strcmp.c: Likewise.
34498 * string/strcpy.c: Likewise.
34499 * string/strncat.c: Likewise.
34500 * string/strncmp.c: Likewise.
34501 * string/strncpy.c: Likewise.
34502
8ff41c46
WS
345032012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34504
34505 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
34506 __builtin_memcopy is called when src and dest ranges are known to not
34507 overlap.
34508
6b652f46
WS
345092012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34510
34511 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
34512 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
34513 fwd_align_merge macro call.
34514 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
34515 bwd_align_merge macro call.
34516 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34517
b282631e
WS
345182012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34519
34520 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
34521 bwd_align_merge macros.
34522 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
34523 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
34524 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34525
95aa737c
DM
345262012-04-18 David S. Miller <davem@davemloft.net>
34527
34528 * sysdeps/sparc/sparc64/memcopy.h: Delete.
34529
7a99a614
AJ
345302012-04-18 Andreas Jaeger <aj@suse.de>
34531
34532 [BZ# 6794]
34533 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
34534 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
34535 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34536
34537 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
34538 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
34539 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34540
34541 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
34542 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
34543 Adjust for changed ldbl-128 files.
34544
34545 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
34546 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
34547 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34548
e5270c23
DM
345492012-04-17 David S. Miller <davem@davemloft.net>
34550
34551 * sysdeps/sparc/sparc32/memcopy.h: Delete.
34552
fb5e92c9
AS
345532012-04-17 Andreas Schwab <schwab@linux-m68k.org>
34554
34555 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
34556 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
34557 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
34558 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
34559 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34560 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
34561
76da7265
AZ
345622012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34563
34564 [BZ #6794]
34565 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
34566 * math/libm-test.inc: Add ilogb errno and exception tests.
34567 * math/w_ilogb.c: New file: ilogb wrapper.
34568 * math/w_ilogbf.c: New file: ilogbf wrapper.
34569 * math/w_ilogbl.c: New file: ilogbl wrapper.
34570 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
34571 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
34572 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
34573 exception being thrown with 0.0 as argument.
34574 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
34575 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
34576 exception being thrown with 0.0 as argument.
34577 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
34578 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34579 exception being thrown with 0.0 as argument.
34580 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
34581 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34582 exception being thrown with 0.0 as argument.
34583 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
34584 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 34585 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
34586 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
34587 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
34588 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
34589 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
34590 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
34591 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
34592
0396e69d
PB
345932012-04-17 Petr Baudis <pasky@ucw.cz>
34594
34595 * include/sys/uio.h: Change __vector to __iovec to avoid clash
34596 with altivec.
34597
750b5926
MP
345982012-04-16 Marek Polacek <polacek@redhat.com>
34599
34600 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
34601
751728a1
MP
346022012-04-16 Marek Polacek <polacek@redhat.com>
34603
34604 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
34605 operands of fdivp instruction.
34606
34a27407
L
346072012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34608
34609 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
34610 * elf/tst-auditmod3b.c: Likewise.
34611 * elf/tst-auditmod4b.c: Likewise.
34612 * elf/tst-auditmod5b.c: Likewise.
34613 * elf/tst-auditmod6b.c: Likewise.
34614 * elf/tst-auditmod6c.c: Likewise.
34615 * elf/tst-auditmod7b.c: Likewise.
34616 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
34617 * sysdeps/x86_64/preconfigure.in: Likewise.
34618 * sysdeps/x86_64/preconfigure: Regenerated.
34619
7e73e17d
L
346202012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34621
34622 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
34623 __ILP32__.
34624
c7a6ab72
AB
346252012-04-13 Antoine Balestrat <merkil33@gmail.com>
34626
34627 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34628 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
34629
a9e8e0e0
CL
346302012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
34631
34632 [BZ #13973]
34633 * locale/iso-639.def: Fix gl language name. Spotted by
34634 Yaron Shahrabani.
34635
ec98af7d
RM
346362012-04-12 Roland McGrath <roland@hack.frob.com>
34637
34638 [BZ #2074]
34639 * libio/libio.h (__io_write_fn): Update comment.
34640
247c3ede
PB
346412012-04-12 Petr Baudis <pasky@ucw.cz>
34642
34643 [BZ #2074]
34644 * stdio.texi (Hook Functions): The user provided writer function
34645 is not allowed to return -1.
34646
55939d6d
DM
346472012-04-11 David S. Miller <davem@davemloft.net>
34648
34649 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34650
90020f5a
MF
346512012-04-11 Mike Frysinger <vapier@gentoo.org>
34652
34653 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
34654 Add a leading slash to rtkaio.
34655
288f9098
JM
346562012-04-11 Jim Meyering <meyering@redhat.com>
34657
90020f5a
MF
34658 [BZ #11959]
34659 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
34660 It is not necessarily an error to ignore fwrite's return
34661 value. One can reliably use ferror to test for errors after
34662 the fact.
288f9098 34663
4be2b570
L
346642012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34665
34666 * bits/types.h (__snseconds_t): New type.
34667 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
34668
34669 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
34670 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34671 (__SNSECONDS_T_TYPE): Likewise.
34672 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34673 (__SNSECONDS_T_TYPE): Likewise.
34674 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34675 (__SNSECONDS_T_TYPE): Likewise.
34676
288f9098 346772012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
34678
34679 [BZ #2636]
34680 * manual/time.texi (Processor Time): Return type of times is
34681 elapsed real time since an arbitrary point in the past.
34682 (CPU Time): Move CLK_TCK from here...
34683 (Processor Time): ...to here. Correct description.
34684 * manual/conf.texi (Constants for Sysconf): Correct description of
34685 _SC_CLK_TCK.
34686
d7dd4413
DM
346872012-04-10 David S. Miller <davem@davemloft.net>
34688
34689 [BZ #13967]
34690 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
34691 where the is a gap between DT_REL(A) and DT_JMPREL.
34692
b46068fc
L
346932012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34694
34695 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
34696 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34697 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34698
73d65cc3
SP
346992012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34700
34701 * elf/dl-support.c (_dl_inhibit_cache): New variable.
34702 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
34703 (dl_main): Handle --inhibit-cache.
34704 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
34705 _dl_inhibit_cache.
34706 * elf/dl-load.c (_dl_map_object): Use it.
34707 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
34708
bcc8d661
JM
347092012-04-09 Joseph Myers <joseph@codesourcery.com>
34710
8f9a2fae
JM
34711 [BZ #13872]
34712 * sysdeps/i386/fpu/e_powl.S (p78): New object.
34713 (__ieee754_powl): Saturate large exponents rather than testing for
34714 overflow of y*log2(x).
34715 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34716 * math/libm-test.inc (pow_test): Do not permit spurious overflow
34717 exceptions.
34718
bcc8d661
JM
34719 [BZ #11521]
34720 * math/s_ctan.c: Include <float.h>.
34721 (__ctan): Avoid internal overflow or cancellation in calculating
34722 denominator.
34723 * math/s_ctanf.c: Likewise.
34724 * math/s_ctanl.c: Likewise.
34725 * math/s_ctanh.c: Likewise.
34726 * math/s_ctanhf.c: Likewise.
34727 * math/s_ctanhl.c: Likewise.
34728 * math/libm-test.inc (ctan_test): Add more tests.
34729 (ctanh_test): Likewise.
34730 * sysdeps/i386/fpu/libm-test-ulps: Update.
34731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34732
823fbbb4
AJ
347332012-04-09 Andreas Jaeger <aj@suse.de>
34734
03879793
AJ
34735 [BZ #6894]
34736 * manual/filesys.texi (Directory Entries): Mention that d_namlen
34737 is an optional BSD extension.
34738
823fbbb4
AJ
34739 [BZ #10254]
34740 * manual/stdio.texi (Opening Streams): Document additional fopen
34741 parameters.
34742
8de131cb
RM
347432012-04-09 Roland McGrath <roland@hack.frob.com>
34744
34745 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
34746 %eax without telling the compiler.
34747
c0ed9d7d
CD
347482012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
34749
34750 [BZ # 13963]
34751 * manual/install.texi: Use sourceware.org.
34752
c483f6b4
JM
347532012-04-09 Joseph Myers <joseph@codesourcery.com>
34754
d7dd9453
JM
34755 [BZ #13873]
34756 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
34757 (__ieee754_pow): Generate overflow and underflow using huge*huge
34758 and tiny*tiny rather than just returning constant infinity or zero
34759 for large exponents.
34760 * math/libm-test.inc (pow_test): Require overflow exceptions for
34761 applicable cases of large exponents.
34762
c483f6b4
JM
34763 [BZ #706]
34764 * sysdeps/i386/fpu/e_pow.S (p10): New object.
34765 (__ieee754_pow): Use iterative multiplication algorithm only for
34766 integer exponents with absolute value below 1024. Check for odd
34767 integer exponents when using algorithm for real exponents.
34768 * math/libm-test.inc (pow_test): Add more tests.
34769 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34770
d2de7579
JM
347712012-04-08 Joseph Myers <joseph@codesourcery.com>
34772
34773 [BZ #13705]
34774 * math/libm-test.inc (exp_test): Do not allow overflow exception
34775 on underflow test.
34776
f77f1232
AJ
347772012-04-08 Aurelien Jarno <aurelien@aurel32.net>
34778
34779 [BZ #13705]
34780 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
34781 instead of __kernel_standard_f.
34782
3884932b
MF
347832012-04-08 Mike Frysinger <vapier@gentoo.org>
34784
34785 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
34786 * sysdeps/x86_64/memset_chk.S: Likewise.
34787
54472e9c
AJ
347882012-04-08 Andreas Jaeger <aj@suse.de>
34789
6ab0fbfc
AJ
34790 [BZ #10153]
34791 * manual/startup.texi (Environment Access): Describe return value
34792 for putenv and setenv.
34793
61efba8c
AJ
34794 [BZ #6895]
34795 * manual/filesys.texi (Directory Entries): Add description for
34796 DT_LNK.
34797
95c3f29a
AJ
34798 [BZ #6890]
34799 * manual/filesys.texi (Directory Entries): Clarify that it's file
34800 system not operating system in the description of DT_UNKNOWN.
34801
54472e9c
AJ
34802 [BZ #6578]
34803 * manual/syslog.texi (closelog): Fix reference, it's openlog.
34804
624254b1
SC
348052012-04-08 Stephen Compall <s11@member.fsf.org>
34806
34807 [BZ #6649]
34808 * manual/llio.texi (Opening and Closing Files): Add cross
34809 reference to explain mode argument.
34810
1e4920e0
MF
348112012-04-07 Mike Frysinger <vapier@gentoo.org>
34812
34813 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
34814 * sysdeps/x86_64/memset_chk.S: Likewise.
34815
5ed848f3
DM
348162012-04-07 David S. Miller <davem@davemloft.net>
34817
34818 * elf/elf.h (R_SPARC_WDISP10): Define.
34819 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
34820 R_SPARC_SIZE32.
34821 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
34822 R_SPARC_SIZE64 and R_SPARC_H34.
34823
96154cd8
CD
348242012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
34825
34826 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
34827 conditions and remove no longer applicable assertion.
34828
9904dc47
L
348292012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34830
34831 * bits/byteswap.h: Include <features.h>.
34832 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34833 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34834
f8887d0a
L
348352012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34836
34837 * bits/byteswap.h (__bswap_16): Removed.
34838 Include <bits/byteswap-16.h> to get __bswap_16.
34839 * sysdeps/i386/bits/byteswap.h: Likewise.
34840 * sysdeps/s390/bits/byteswap.h: Likewise.
34841 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34842 * bits/byteswap-16.h: New file.
34843 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34844 * sysdeps/s390/bits/byteswap-16.h: Likewise.
34845 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
34846 * string/Makefile (headers): Add bits/byteswap-16.h.
34847
62470f60
PP
348482012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34849
34850 [BZ #13895]
34851 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
34852 extra indirection.
34853 * nss/Makefile (tests-static, tests): Add tst-nss-static.
34854 * nss/tst-nss-static.c: New.
34855
4dad7bab
RM
348562012-04-06 Robert Millan <rmh@gnu.org>
34857
34858 [BZ #6486]
34859 * manual/llio.texi (File Position Primitive): lseek
34860 refers to WHENCE when it really means OFFSET.
34861
e9142a17
AJ
348622012-04-06 Andreas Jaeger <aj@suse.de>
34863
2c040eff
AJ
34864 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
34865 strncmp declarations.
34866
e9142a17
AJ
34867 * abilist/libc.abilist: Add __poll and __ppoll.
34868
ff9f1c5f
DM
348692012-04-05 David S. Miller <davem@davemloft.net>
34870
dcd2ae90
DM
34871 * scripts/check-local-headers.sh: Accept a host triplet in the
34872 path matched by the exclude regexp.
34873
993eb054
DM
34874 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
34875 definition.
34876 * sysdeps/powerpc/powerpc32/dl-machine.h
34877 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
34878 * sysdeps/s390/s390-32/dl-machine.h
34879 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34880 * sysdeps/sparc/sparc32/dl-machine.h
34881 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34882 * sysdeps/sparc/sparc64/dl-machine.h
34883 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34884
ff9f1c5f
DM
34885 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
34886 lazy binding.
48e2e132 34887 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
34888 undefined symbol errors.
34889
48e2e132 34890 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
34891 DT_NEEDED entries.
34892
e80d6f94
MM
348932012-04-05 Michael Matz <matz@suse.de>
34894
34895 [BZ #13592]
34896 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
34897
349fa79f
AJ
348982012-04-05 Andreas Jaeger <aj@suse.de>
34899
34900 [BZ #13908]
34901 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
34902 comment.
34903
f402708f
KK
349042012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34905
34906 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
34907 which ROUND is no valid rounding mode.
34908
2ecccfc9
KK
349092012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34910
34911 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
34912 read again.
34913 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
34914
8a53f50f
KK
349152012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34916
34917 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
34918 an exception using FPU order intentionally.
34919
349202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34921
34922 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
34923 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
34924 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
34925 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
34926
d653abb7
SJ
349272012-04-05 Simon Josefsson <simon@josefsson.org>
34928
34929 [BZ #12340]
34930 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
34931 EINVAL when BUFLEN is too smal.
34932
c3b1bf7d
TS
349332012-04-05 Thomas Schwinge <thomas@codesourcery.com>
34934
34935 [BZ #13553]
34936 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
34937 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
34938
b1aa60f3
AJ
349392012-04-03 Andreas Jaeger <aj@suse.de>
34940
c3b1bf7d 34941 [BZ #13938]
67f60a26
AJ
34942 * manual/setjmp.texi (System V contexts): Fix sentence.
34943
b1aa60f3
AJ
34944 [BZ #13926]
34945 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
34946 New macro for this case.
34947 [!__GNUC__] (__bswap_64): New inline function for this case.
34948 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34949 * bits/byteswap.h: Likewise.
34950 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
34951 ull, guard with __GLIBC_HAVE_LONG_LONG.
34952
34953 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
34954 __GLIBC_HAVE_LONG_LONG.
34955
34956 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
34957 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
34958
39c59c35
TMQMF
349592012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34960
34961 [BZ #13691]
34962 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
34963 inptr and inend, rather than using last_ch.
34964
135ffda8
DM
349652012-04-02 David S. Miller <davem@davemloft.net>
34966
34967 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
34968 * stdio-common/printf-parse.h (read_int): Change return type to
34969 'int', return -1 on INT_MAX overflow.
34970 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
34971 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
34972 overflows INT_MAX. Check for overflow of in-format-string precision
34973 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
34974 SIZE_MAX not INT_MAX for integer overflow test.
34975 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
34976 skip the construct in the format string but do not record anything.
34977 * stdio-common/bug22.c: Adjust to test both width/prevision
34978 INT_MAX overflow as well as total length INT_MAX overflow. Check
34979 explicitly for proper errno values.
34980
228c019e
TS
349812012-04-02 Thomas Schwinge <thomas@codesourcery.com>
34982
302cadd3
TS
34983 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
34984 CHAR_MAX.
34985 * string/test-strcmp.c [! WIDE]: Likewise.
34986 * time/tst-mktime2.c: Likewise for INT_MAX.
34987 * string/test-string.h: #include <sys/param.h> for MIN.
34988
228c019e
TS
34989 * csu/init-first.c (__libc_init_first): Call __ctype_init.
34990 * sysdeps/i386/init-first.c (init): Likewise.
34991 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
34992 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
34993 * sysdeps/sh/init-first.c (init): Likewise.
34994
cfa633f5
UD
349952012-04-01 Ulrich Drepper <drepper@gmail.com>
34996
34997 * po/ru.po: Update from translation team.
d1635ef8 34998 * po/vi.po: Likewise.
cfa633f5 34999
6cd0a5ea
SP
350002012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35001
35002 * resolv/nss_dns/dns-host.c: Merge copyright years.
35003
4b43400f
LD
350042012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35005
35006 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35007 Optimize memcpy with prefetch if
35008 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
35009 src, dst pointers have unequal 16 byte alignments.
35010
48c41d04
SP
350112012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35012
35013 [BZ #13928]
35014 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35015 from a CNAME entry and return the minimum ttl for the query.
35016 (gaih_getanswer_slice): Likewise.
35017
b8dc394d
JL
350182012-03-30 Jeff Law <law@redhat.com>
35019
35020 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35021 due to long keys.
35022 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35023 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35024
2f5a5ed0
JL
35025 * resolv/nss_dns/dns-host.c: Update copyright year.
35026
1d39e359
UD
350272012-03-30 Ulrich Drepper <drepper@gmail.com>
35028
c030f70c 35029 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 35030 requests to save a system call. Fix check that all bytes are sent.
c030f70c 35031
1d39e359
UD
35032 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35033 comments for sendmmsg.
35034
350352012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
35036
35037 [BZ #13691]
35038 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35039 with only 1 character between 0x0041 and 0x01b0.
35040 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35041 * wcsmbs/tst-mbsnrtowcs.c: New file.
35042
20fde227
DM
350432012-03-29 David S. Miller <davem@davemloft.net>
35044
35045 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35046 small copies by hand.
35047
984a4237
JL
350482012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35049
35050 [BZ #13761]
57f41c40
AS
35051 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35052 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35053 group memberships.
984a4237 35054
18c9d62b
DM
350552012-03-28 David S. Miller <davem@davemloft.net>
35056
88d85d4f
DM
35057 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35058 that branches into memcpy.
35059 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35060 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35061 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35062 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35063 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35064 bits.
35065 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35066 implementation too.
35067 * sysdeps/sparc/mempcpy.S: New file.
35068
e5aa83e1
DM
35069 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35070 the IFUNC routine in the libc case.
35071 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35072
88570753
DM
35073 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35074 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35075 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35076 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35077 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35078 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35079 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35080 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35081
249d7567
DM
35082 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35083 loop to 256 bytes instead of 64 bytes and fix test signedness.
35084
18c9d62b
DM
35085 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35086 * sysdeps/sparc/sparc32/Makefile: rather than here...
35087 * sysdeps/sparc/sparc64/Makefile: and here.
35088
05f3d1f6
UD
350892012-03-28 Ulrich Drepper <drepper@gmail.com>
35090
35091 * malloc/mallocbug.c: Avoid warnings about unused variables.
35092
86ae07a8
JL
350932012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35094
35095 [BZ #13760]
35096 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35097 in the right place. Discard and retry query if response is
35098 larger than input buffer size.
35099
41bf21a1
JM
351002012-03-28 Joseph Myers <joseph@codesourcery.com>
35101
d6270972
JM
35102 [BZ #369]
35103 [BZ #2678]
35104 [BZ #3866]
35105 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35106 x for large integer exponent.
35107 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35108 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
35109 sign of result as needed afterwards.
35110 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35111 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35112 result for underflowing pow the same as for overflow.
35113 (__kernel_standard_l): Handle powl overflow and underflow here
35114 rather than calling __kernel_standard.
35115 * math/libm-test.inc (pow_test): Add more tests.
35116
414fca03 35117 [BZ #3868]
41bf21a1
JM
35118 [BZ #13879]
35119 [BZ #13910]
35120 [BZ #13911]
35121 [BZ #13912]
35122 [BZ #13913]
35123 [BZ #13915]
35124 [BZ #13916]
35125 [BZ #13917]
35126 [BZ #13918]
35127 [BZ #13919]
35128 [BZ #13920]
35129 [BZ #13921]
35130 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35131 * sysdeps/ieee754/k_standard.c: Include <float.h>.
35132 (__kernel_standard_l): New function.
35133 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35134 __kernel_standard.
35135 * math/w_acosl.c (__acosl): Likewise.
35136 * math/w_asinl.c (__asinl): Likewise.
35137 * math/w_atan2l.c (__atan2l): Likewise.
35138 * math/w_atanhl.c (__atanhl): Likewise.
35139 * math/w_coshl.c (__coshl): Likewise.
35140 * math/w_exp10l.c (__exp10l): Likewise.
35141 * math/w_exp2l.c (__exp2l): Likewise.
35142 * math/w_fmodl.c (__fmodl): Likewise.
35143 * math/w_hypotl.c (__hypotl): Likewise.
35144 * math/w_j0l.c (__j0l, __y0l): Likewise.
35145 * math/w_j1l.c (__j1l, __y1l): Likewise.
35146 * math/w_jnl.c (__jnl, __ynl): Likewise.
35147 * math/w_lgammal.c (__lgammal): Likewise.
35148 * math/w_log10l.c (__log10l): Likewise.
35149 * math/w_log2l.c (__log2l): Likewise.
35150 * math/w_logl.c (__logl): Likewise.
35151 * math/w_powl.c (__powl): Likewise.
35152 * math/w_remainderl.c (__remainderl): Likewise.
35153 * math/w_scalbl.c (sysv_scalbl): Likewise.
35154 * math/w_sinhl.c (__sinhl): Likewise.
35155 * math/w_sqrtl.c (__sqrtl): Likewise.
35156 * math/w_tgammal.c (__tgammal): Likewise.
35157 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35158 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35159 * math/libm-test.inc (acos_test): Add more tests.
35160 (acosh_test): Likewise.
35161 (asin_test): Likewise.
35162 (atanh_test): Likewise.
35163 (exp_test): Likewise.
35164 (exp10_test): Likewise.
35165 (exp2_test): Likewise.
35166 (expm1_test): Likewise.
35167 (lgamma_test): Likewise.
35168 (log_test): Likewise.
35169 (log10_test): Likewise.
35170 (log1p_test): Likewise.
35171 (log2_test): Likewise.
35172 (pow_test): Do not allow some spurious overflow exceptions.
35173 (sqrt_test): Add more tests.
35174 (tgamma_test): Likewise.
35175 (y0_test): Likewise.
35176 (y1_test): Likewise.
35177 (yn_test): Likewise.
35178
dd62fda6
AB
351792012-03-27 Anton Blanchard <anton@samba.org>
35180
35181 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35182 MAP_HUGETLB.
35183 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35184 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35185 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35186
1e3cdfda
AJ
351872012-03-27 David S. Miller <davem@davemloft.net>
35188
b855ab85
DM
35189 * conform/Makefile: Run run-conformtest.sh using $(BASH).
35190
1e3cdfda
AJ
35191 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35192 have-as-vis3 check.
35193
351942012-03-27 Andreas Jaeger <aj@suse.de>
35195
35196 * sysdeps/x86_64/elf/configure.in: Moved to ...
35197 * sysdeps/x86_64/configure.in: ... here.
35198 * sysdeps/x86_64/elf/start.S: Moved to ...
35199 * sysdeps/x86_64/start.S: ... here.
35200 * sysdeps/x86_64/elf/configure: Delete.
35201
35202 * sysdeps/x86_64/configure.in: Merge contents from
35203 sysdeps/i386/configure.in (without i686 check).
35204
35205 * sysdeps/i386/elf/Versions: Merge into ...
35206 * sysdeps/i386/Versions: ... this.
35207 * sysdeps/i386/elf/Versions: Delete file.
35208 * sysdeps/i386/elf/start.S: Moved to ...
35209 * sysdeps/i386/start.S: ...here.
35210 * sysdeps/i386/elf/configure.in: Merge into...
35211 * sysdeps/i386/configure.in: ...here.
35212 * sysdeps/i386/elf/configure.in: Delete file.
35213 * sysdeps/i386/elf/configure: Delete file.
35214
35215 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35216 * debug/backtracesyms.c: ... here.
35217 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35218 * debug/backtracesymsfd.c: ... here.
35219 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35220 * sysdeps/generic/ifunc-sel.h: ... here.
35221
35222 * sysdeps/unix/i386/start.c: Delete file.
35223 * sysdeps/unix/sparc/start.c: Delete file.
35224 * sysdeps/unix/start.c: Delete file.
35225
35226 * sysdeps/sh/elf/configure.in: Moved to ...
35227 * sysdeps/sh/configure.in: ... here.
35228 * sysdeps/sh/elf/start.S: Moved to ...
35229 * sysdeps/sh/start.S: ... here.
35230 * sysdeps/sh/elf/configure: Delete file.
35231
35232 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35233 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35234 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35235 * sysdeps/powerpc/powerpc64/entry.h: ... here.
35236 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35237 * sysdeps/powerpc/powerpc64/start.S: here.
35238 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35239 * sysdeps/powerpc/powerpc64/Makefile: ... this.
35240 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35241 * sysdeps/powerpc/powerpc64/configure.in: ... this.
35242 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35243
35244 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35245 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35246 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35247 * sysdeps/powerpc/powerpc32/start.S: ... here.
35248 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35249 * sysdeps/powerpc/powerpc32/configure.in: ... this.
35250 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35251
35252 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35253 * sysdeps/powerpc/ifunc-sel.h: ... here.
35254 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35255 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35256
35257 * sysdeps/sparc/elf/configure.in: Moved to ...
35258 * sysdeps/sparc/configure.in: ... here.
35259 * sysdeps/sparc/elf/configure: Delete file.
35260 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35261 * sysdeps/sparc/sparc32/start.S: ... here.
35262 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35263 * sysdeps/sparc/sparc64/start.S: ... here.
35264 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35265 * sysdeps/sparc/sparc32/Makefile: ... this.
35266 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35267 * sysdeps/sparc/sparc64/Makefile: ... this.
35268
35269 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35270 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35271 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35272 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35273 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35274 * sysdeps/s390/s390-32/setjmp.S: ... here.
35275 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35276 * sysdeps/s390/s390-32/configure.in: ... here.
35277 * sysdeps/s390/s390-32/elf/configure: Delete file.
35278 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35279 * sysdeps/s390/s390-32/start.S: ... here.
35280
35281 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35282 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35283 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35284 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35285 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35286 * sysdeps/s390/s390-64/setjmp.S: ... here.
35287 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35288 * sysdeps/s390/s390-64/configure.in: ... here
35289 * sysdeps/s390/s390-64/elf/configure: Delete file.
35290 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35291 * sysdeps/s390/s390-64/start.S: ... here.
35292 * sysdeps/s390/s390-64/elf/configure: Delete.
35293
35294 * configure.in: Remove support for elf directories in sysdeps.
35295
35296 * configure: Regenerated.
35297 * sysdeps/i386/configure: Regenerated.
35298 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35299 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35300 * sysdeps/s390/s390-32/configure: Regenerated.
35301 * sysdeps/s390/s390-64/configure: Regenerated.
35302 * sysdeps/sh/configure: Regenerated.
35303 * sysdeps/sparc/configure: Regenerated.
35304 * sysdeps/x86_64/configure: Regenerated.
35305
a3f61311
AS
353062012-03-26 Andreas Schwab <schwab@linux-m68k.org>
35307
c876e002
AS
35308 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35309
a3f61311
AS
35310 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35311 denormal result into account.
35312
ac4c54f0
RM
353132012-03-25 Roland McGrath <roland@hack.frob.com>
35314
35315 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35316 Reported by Allan McRae <allan@archlinux.org>.
35317
6a9b9c02
JL
353182012-03-23 Jeff Law <law@redhat.com>
35319
35320 * nss/getnssent.c (__nss_getent): Fix typo.
35321
4c42a0c1
DM
353222012-03-23 David S. Miller <davem@davemloft.net>
35323
35324 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35325
1532c7ac
L
353262012-03-23 H.J. Lu <hongjiu.lu@intel.com>
35327
35328 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35329 to pad to uint64_t for each field.
35330 (dl_tls_index): Replace unsigned long with uint64_t.
35331
3ff42526
PP
353322012-03-23 Daniel Jacobowitz <dmj@google.com>
35333 Paul Pluzhnikov <ppluzhnikov@google.com>
35334
35335 [BZ #6528]
35336 * grp/Makefile (otherlibs): Don't set it.
35337 * inet/Makefile (otherlibs): Likewise.
35338 * login/Makefile (otherlibs): Likewise.
35339 * nscd/Makefile (otherlibs): Likewise.
35340 * posix/Makefile (otherlibs): Likewise.
35341 * pwd/Makefile (otherlibs): Likewise.
35342 * rt/Makefile (otherlibs): Likewise.
35343 * sunrpc/Makefile (otherlibs): Likewise.
35344 * nss/Makefile (otherlibs): Likewise.
35345 Add libnss_files to routines and static-only-routines.
35346 ($(objpfx)getent): Remove rule.
35347 * resolv/Makefile: Add libnss_dns and libresolv to routines and
35348 static-only-routines.
35349
7c69cd14
JM
353502012-03-22 Joseph Myers <joseph@codesourcery.com>
35351
35352 [BZ #13892]
35353 * math/s_cexp.c: Include <float.h>.
35354 (__cexp): Handle exp result overflowing not necessarily
35355 overflowing both real and imaginary parts of result.
35356 * math/s_cexpf.c: Likewise.
35357 * math/s_cexpl.c: Likewise.
35358 * math/libm-test.inc (cexp_test): Add more tests.
35359 * sysdeps/i386/fpu/libm-test-ulps: Update.
35360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35361
81b035fe
L
353622012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35363
35364 * include/link.h (ELFW): New macro.
35365 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35366 Replace ELF64_R_TYPE with ELFW(R_TYPE).
35367
1da7940c
L
353682012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35369
35370 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35371 with uint64_t.
35372
b749dbb9
L
353732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35374
35375 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35376 declaration.
35377 (struct La_x32_retval): Likewise.
35378
2ff87f3f
L
353792012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35380
35381 * sysdeps/x86_64/preconfigure.in: New file.
35382 * sysdeps/x86_64/preconfigure: New generated file.
35383
c0df8e69
JM
353842012-03-22 Joseph Myers <joseph@codesourcery.com>
35385
48e44791
JM
35386 [BZ #13824]
35387 * math/e_exp2l.c: Include <float.h>.
35388 (__ieee754_exp2l): Handle overflow and underflow cases
35389 separately. Only pass fractional part of argument to
35390 __ieee754_expl.
35391 * math/libm-test.inc (exp2_test): Add more tests.
35392
c0df8e69
JM
35393 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35394 negating x to take absolute value.
35395 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35396 Likewise.
35397 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35398 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35399 Likewise.
35400 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35401 computing low part if x was negated.
35402 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35403
c8e43ba7
L
354042012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35405
35406 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35407 la_x32_gnu_pltexit.
35408 (pltexit): Cast int_retval to ptrdiff_t.
35409 * elf/tst-auditmod3b.c: Likewise.
35410 * elf/tst-auditmod4b.c: Likewise.
35411 * elf/tst-auditmod5b.c: Likewise.
35412 * elf/tst-auditmod6b.c: Likewise.
35413 * elf/tst-auditmod6c.c: Likewise.
35414 * elf/tst-auditmod7b.c: Likewise.
35415
35416 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35417 and x32_gnu_pltexit.
35418
35419 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35420 __ELF_NATIVE_CLASS.
35421 (La_x32_regs): New macro.
35422 (La_x32_retval): Likewise.
35423 (la_x32_gnu_pltenter): New function prototype.
35424 (la_x32_gnu_pltexit): Likewise.
35425
7998fa78
AS
354262012-03-21 Andreas Schwab <schwab@linux-m68k.org>
35427
dcb33988
AS
35428 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35429 exponent.
35430
233fc563
AS
35431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35432
7998fa78
AS
35433 * configure.in (libc_cv_cc_nofma): Check for option to disable
35434 generation of FMA instructions.
35435 * configure: Regenerate.
35436 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35437 * sysdeps/ieee754/dbl-64/Makefile: New file.
35438 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35439 Remove brandred-fma4.
35440 (CFLAGS-brandred-fma4.c): Remove.
35441 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
35442 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
35443 define.
35444 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
35445 define.
35446
8e95c99a
L
354472012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35448
35449 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35450 LLONG_MAX != LONG_MAX.
35451 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35452 (_fitoa_word): Likewise.
35453 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
35454 LLONG_MAX != LONG_MAX.
35455 * stdio-common/_itowa.h: Include <_itoa.h>.
35456 (_itowa_word): Use _ITOA_WORD_TYPE on value.
35457 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
35458 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
35459 only if not defined.
35460 (_ITOA_WORD_TYPE): Likewise.
35461 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35462 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
35463
6f4db457
DM
354642012-03-21 David S. Miller <davem@davemloft.net>
35465
35466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35467
7785fe5a
L
354682012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35469
35470 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
35471 of x86_64 when setting libc_cv_slibdir, libdir and
35472 libc_cv_localedir.
35473 * sysdeps/unix/sysv/linux/configure: Regenerated.
35474
4535cd55
JM
354752012-03-21 Joseph Myers <joseph@codesourcery.com>
35476
35477 * manual/lang.texi (Old Varargs): Remove section.
35478 (How Variadic): Update menu.
35479 (va_start): Do not mention varargs.h.
35480
17228132
TS
354812012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35482 Joseph Myers <joseph@codesourcery.com>
35483
35484 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
35485 link test.
35486 * configure: Regenerated.
35487
8149f976
TS
354882012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35489
05f3d1f6
UD
35490 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
35491 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
35492 conformtest.pl
8149f976 35493
1a4ac776
JM
354942012-03-21 Joseph Myers <joseph@codesourcery.com>
35495
be22ce65
JM
35496 * NOTES: Remove.
35497 * Makefile (files-for-dist): Remove NOTES.
35498 (NOTES): Remove rule.
35499 * README: Don't refer to NOTES.
35500 * manual/creature.texi: Don't include macros.texi.
35501 * manual/intro.texi (creature.texi): Remove comment referring to
35502 NOTES.
35503
40b601fb
JM
35504 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
35505 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
35506 * configure: Regenerated.
35507 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
35508 LIBC_TRY_CC_OPTION.
35509 (libc_cv_as_i686): Likewise.
35510 (libc_cv_cc_avx): Likewise.
35511 (libc_cv_cc_sse2avx): Likewise.
35512 (libc_cv_cc_fma4): Likewise.
35513 (libc_cv_cc_novzeroupper): Likewise.
35514 * sysdeps/i386/configure: Regenerated.
35515
1a4ac776
JM
35516 [BZ #13883]
35517 * sysdeps/i386/fpu/s_cexp.S: Remove.
35518 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35519 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35520 * math/libm-test.inc (cexp_test): Add more tests.
35521 * sysdeps/i386/fpu/libm-test-ulps: Update.
35522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35523
a458e7fe
AM
355242012-03-21 Allan McRae <allan@archlinux.org>
35525
35526 * timezone/Makefile: Do not install iso3166.tab and zone.tab
35527
0cb7efc5
JM
355282012-03-21 Joseph Myers <joseph@codesourcery.com>
35529
35530 [BZ #13871]
35531 * math/w_exp2.c: Do not include <float.h>.
35532 (o_threshold, u_threshold): Remove.
35533 (__exp2): Calculate result before checking finiteness and calling
35534 __kernel_standard.
35535 * math/w_exp2f.c: Likewise.
35536 * math/w_exp2l.c: Likewise.
35537 * math/libm-test.inc (exp2_test): Require overflow exception for
35538 1e6 input.
2460d3aa
JM
35539
35540 [BZ #3866]
35541 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
35542 range of signed 64-bit integers before using fistpll. Remove
35543 checks for whether integers fit in mantissa bits.
35544 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
35545 the range of signed 32-bit integers before using fistpl. Remove
35546 checks for whether integers fit in mantissa bits.
35547 * sysdeps/i386/fpu/e_powl.S (p64): New object.
35548 (__ieee754_powl): Test for y outside the range of signed 64-bit
35549 integers before using fistpll. Reduce 64-bit values to 63-bit
35550 ones as needed.
35551 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
35552 divide-by-zero is raised for zero to large negative powers.
35553 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
35554 (__ieee754_powl): Test for y outside the range of signed 64-bit
35555 integers before using fistpll. Reduce 64-bit values to 63-bit
35556 ones as needed.
35557 * math/libm-test.inc (pow_test): Add more tests.
35558
eb96ffb0
L
355592012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35560
35561 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
35562 <stdio-common/_itoa.h>.
35563 * debug/segfault.c: Likewise.
35564 * elf/dl-cache.c: Likewise.
35565 * elf/dl-minimal.c: Likewise.
35566 * elf/dl-misc.c: Likewise.
35567 * elf/dl-sysdep.c: Likewise.
35568 * elf/dl-version.c: Likewise.
35569 * elf/rtld.c: Likewise.
35570 * hurd/hurdsock.c: Likewise.
35571 * hurd/lookup-retry.c: Likewise.
35572 * malloc/malloc.c: Likewise.
35573 * malloc/mtrace.c: Likewise.
35574 * nscd/nscd_getgr_r.c: Likewise.
35575 * nscd/nscd_getpw_r.c: Likewise.
35576 * nscd/nscd_getserv_r.c: Likewise.
35577 * posix/getopt_init.c: Likewise.
35578 * posix/wordexp.c: Likewise.
35579 * stdio-common/_itoa.c: Likewise.
35580 * stdio-common/printf_fphex.c: Likewise.
35581 * stdio-common/vfprintf.c: Likewise.
35582 * string/_strerror.c: Likewise.
35583 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
35584 * sysdeps/i386/i686/hp-timing.h: Likewise.
35585 * sysdeps/mach/_strerror.c: Likewise.
35586 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
35587 * sysdeps/mach/hurd/sethostid.c: Likewise.
35588 * sysdeps/mach/hurd/xmknodat.c: Likewise.
35589 * sysdeps/mach/xpg-strerror.c: Likewise.
35590 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35591 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35592 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
35593 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
35594 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35595 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
35596 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35597 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35598 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
35599 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
35600 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
35601 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
35602 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
35603 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35604 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35605 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
35606 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
35607 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
35608 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35609 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35610 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
35611
35612 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
35613
35614 * stdio-common/_itoa.h: Moved to ...
35615 * sysdeps/generic/_itoa.h: Here.
35616
35617 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
35618
35619 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
35620 instead of "_itoa.h" and "_itowa.h".
35621 * stdio-common/vfprintf.: Likewise.
35622
d1af992d
L
356232012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35624
35625 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
35626 <bits/wordsize.h>.
35627 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
35628 (__signbit): Likwise.
35629 (llrintf): Likwise.
35630 (llrint): Likwise.
35631
114883e0
L
356322012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35633
35634 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
35635 __WORDSIZE != 64.
35636
c135cc1b
JM
356372012-03-20 Joseph Myers <joseph@codesourcery.com>
35638
35639 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
35640 OVERFLOW_EXCEPTION_OK.
35641 * math/libm-test.inc ("Philosophy"): Update comment about
35642 exception testing.
35643 (OVERFLOW_EXCEPTION): Define.
35644 (OVERFLOW_EXCEPTION_OK): Likewise.
35645 (INVALID_EXCEPTION_OK): Renumber.
35646 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35647 (IGNORE_ZERO_INF_SIGN): Likewise.
35648 (test_exceptions): Handle FE_OVERFLOW.
35649 (exp10_test): Expect overflow exceptions.
35650 (exp2_test): Likewise.
35651 (expm1_test): Likewise.
35652 (nextafter_test): Likewise.
35653 (pow_test): Likewise.
35654 (scalbn_test): Likewise.
35655 (scalbln_test): Likewise.
35656
95443d88
L
356572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35658
35659 * sysdeps/x86_64/bits/atomic.h
35660 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
35661 64bit integer.
35662 (atomic_exchange_acq): Likewise.
35663 (__arch_exchange_and_add_body): Likewise.
35664 (__arch_add_body): Likewise.
35665 (atomic_add_negative): Likewise.
35666 (atomic_add_zero): Likewise.
35667
490df6c4
L
356682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35669
c2722551 35670 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
35671 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
35672
5e52b189
L
356732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35674
35675 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
35676 Check __x86_64__ instead of __WORDSIZE.
35677
a9879d4c
L
356782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35679
35680 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
35681
5df98260
DM
356822012-03-19 David S. Miller <davem@davemloft.net>
35683
e1497744
DM
35684 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35685
5df98260
DM
35686 * sysdeps/sparc/fpu/fenv_private.h: New file.
35687 * sysdeps/sparc/fpu/math_private.h: Use it.
35688 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
35689 Remove.
57f41c40 35690 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
35691 (libc_feholdexcept_setroundl): Remove.
35692 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
35693 Remove.
35694 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
35695 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
35696
b4c35121
L
356972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35698
35699 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
35700 int64_t instead of long int.
35701 (INSERT_WORDS64): Likwise.
35702
56965fd7
L
357032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35704
35705 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
35706 _Unwind_GetCFA return to _Unwind_Ptr first.
35707
83d1aec8
JM
357082012-03-19 Joseph Myers <joseph@codesourcery.com>
35709
1897ad44
JM
35710 [BZ #13629]
35711 * math/s_clog.c: Include <float.h>.
35712 (__clog): Scale large or subnormal inputs.
35713 * math/s_clogf.c: Likewise.
35714 * math/s_clogl.c: Likewise.
35715 * math/s_clog10.c: Include <float.h>.
35716 (M_LOG10_2): Define.
35717 (__clog10): Scale large or subnormal inputs.
35718 * math/s_clog10f.c: Likewise.
35719 * math/s_clog10l.c: Likewise.
35720 * math/libm-test.inc (clog_test): Add more tests.
35721 (clog10_test): Likewise.
35722 * sysdeps/i386/fpu/libm-test-ulps: Update.
35723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35724
7726d6a9
JM
35725 [BZ #11451]
35726 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
35727 x and y.
35728 * math/libm-test.inc (atan2_test): Add another test.
35729
83d1aec8
JM
35730 * Makerules (common-objdir-compile): Remove.
35731 * sysdeps/unix/Makefile (config-generated): Do not add
35732 $(unix-generated) to variable.
35733 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
35734 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
35735 Remove rule.
35736 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
35737 Likewise.
35738 [generic bits/local_lim.h] (before-compile): Do not append to
35739 variable.
35740 [generic bits/local_lim.h] (common-generated): Likewise.
35741 [generic sys/param.h] (before-compile): Do not append to variable.
35742 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
35743 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
35744 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
35745 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
35746 include.
35747 [generic sys/param.h] (sys/param.h-includes): Remove variable.
35748 [generic sys/param.h] (sys/param.h-includes): Remove rule.
35749 [generic sys/param.h] ($(addprefix
35750 $(common-objpfx),$(sys/param.h-includes))): Likewise.
35751 [generic sys/param.h] (common-generated): Do not append to
35752 variable.
35753 [generic sys/param.h] (sysdep_headers): Likewise.
35754 [generic bits/errno.h] (before-compile): Do not append to
35755 variable.
35756 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
35757 rule.
35758 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
35759 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
35760 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
35761 [generic bits/errno.h] (common-generated): Do not append to
35762 variable.
35763 [generic bits/ioctls.h] (before-compile): Do not append to
35764 variable.
35765 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
35766 rule.
35767 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
35768 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
35769 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
35770 rule.
35771 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
35772 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
35773 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
35774 [generic bits/ioctls.h] (common-generated): Do not append to
35775 variable.
35776 [generic sys/syscall.h] (syscall.h): Remove variable.
35777 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
35778 rule.
35779 [generic sys/syscall.h] (before-compile): Do not append to
35780 variable.
35781 [generic sys/syscall.h] (common-generated): Likewise.
35782 * sysdeps/unix/errnos-tmpl.c: Remove file.
35783 * sysdeps/unix/errnos.awk: Likewise.
35784 * sysdeps/unix/ioctls-tmpl.c: Likewise.
35785 * sysdeps/unix/ioctls.awk: Likewise.
35786 * sysdeps/unix/mk-local_lim.c: Likewise.
35787 * sysdeps/unix/snarf-ioctls: Likewise.
35788
4851a949
RH
357892012-03-19 Richard Henderson <rth@twiddle.net>
35790
bd37f2ee
RH
35791 * sysdeps/i386/fpu/fenv_private.h: New file.
35792 * sysdeps/i386/fpu/math_private.h: Use it.
35793 (math_opt_barrier, math_force_eval): Remove.
35794 (libc_feholdexcept_setround_53bit): Remove.
35795 (libc_feupdateenv_53bit): Remove.
35796 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35797 (math_opt_barrier, math_force_eval): Remove.
35798 (libc_feholdexcept): Remove.
35799 (libc_feholdexcept_setround): Remove.
35800 (libc_fetestexcept, libc_fesetenv): Remove.
35801 (libc_feupdateenv_test): Remove.
35802 (libc_feupdateenv, libc_feholdsetround): Remove.
35803 (libc_feresetround): Remove.
35804
d0adc922
RH
35805 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
35806 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35807
0fe0f1f8
RH
35808 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
35809 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
35810 (libc_feupdateenv_testl): New.
35811 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
35812 (libc_feupdateenv_testf): New.
35813 (libc_feupdateenv): Use libc_feupdateenv_test.
35814 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
35815 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
35816
eb92c487
RH
35817 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
35818 (libc_feholdsetroundf, libc_feholdsetroundl): New.
35819 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
35820 (libc_feresetround_noex): New.
35821 (libc_feresetround_noexf): New.
35822 (libc_feresetround_noexl): New.
35823 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
35824 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
35825 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
35826 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
35827 SET_RESTORE_ROUND.
35828 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35829 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
35830 (__cos): Likewise.
35831 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
35832 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
35833 SET_RESTORE_ROUND_NOEX.
35834 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
35835 SET_RESTORE_ROUND_NOEXF.
35836 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
35837 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
35838 (libc_feholdsetroundf): New.
35839 (libc_feresetround, libc_feresetroundf): New.
35840
7d2e8012
RH
35841 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
35842 (libc_feholdexcept_setround_53bit): Convert from macro to function.
35843 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
35844
b4dabbb4
RH
35845 * sysdeps/generic/math_private.h: Include <fenv.h>.
35846 (default_libc_feholdexcept): New.
35847 (default_libc_feholdexcept_setround): New.
35848 (default_libc_fesetenv, default_libc_feupdateenv): New.
35849 (libc_feholdexcept): Only define if undefined.
35850 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
35851 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
35852 (libc_feholdexcept_setroundl): Likewise.
35853 (libc_feholdexcept_setround_53bit): Likewise.
35854 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
35855 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
35856 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
35857 (libc_feupdateenv_53bit): Likewise.
35858 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
35859 (libc_feholdexcept): Convert from macro to inline function.
35860 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
35861 (libc_fesetenv, libc_feupdateenv): Likewise.
35862
4851a949
RH
35863 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
35864 not previously defined.
35865 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
35866 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
35867 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
35868 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
35869 * sysdeps/ieee754/flt-32/math_private.h: New file.
35870 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
35871 math_private.h below SET_FLOAT_WORD.
35872 (__isnan, __isinf_ns, __finite): Remove.
35873 (__isnanf, __isinf_nsf, __finitef): Remove.
35874
e79d442e
AS
358752012-03-18 Andreas Schwab <schwab@linux-m68k.org>
35876
35877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35878
90b80344
DM
358792012-03-17 David S. Miller <davem@davemloft.net>
35880
35881 [BZ #6471]
35882 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
35883 for 2.16.
35884
edc21804
DM
358852012-03-16 David S. Miller <davem@davemloft.net>
35886
77e927af
DM
35887 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
35888 warnings.
35889
374976dd
DM
35890 [BZ #6471]
35891 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
35892 properly.
35893 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
35894 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
35895 sysdep_routines when subdir is sysvipc.
35896 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
35897 __getshmlba helper.
35898
edc21804
DM
35899 * sysdeps/sparc/fpu/libm-test/ulps: Update.
35900
473c3ef3
L
359012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35902
35903 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
35904 [__LP64__].
35905
eb0f39b6
L
359062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35907
35908 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
35909 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
35910 (__lround): Renamed to ...
35911 (__llround): This. Replace long int with long long int.
35912 Define lround functions as aliases of llround functions.
35913 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
35914
6b6cd74b
L
359152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35916
35917 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
35918 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
35919 adresses to uintptr_t. Replace "long int" and "unsigned long
35920 int" with "greg_t" on va_arg.
35921
f1a77b01
L
359222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35923
35924 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
35925 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
35926
35927 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
35928 Move e_machine check before EI_CLASS check. Handle x32
35929 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
35930 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
35931 SKIP_EM_IA_64 and include
35932 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
35933
35934 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
35935 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
35936 (add_system_dir): New macro.
35937
35938 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
35939 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
35940
11b90b9f
JM
359412012-03-16 Joseph Myers <joseph@codesourcery.com>
35942
c36e1d23
JM
35943 [BZ #2551]
35944 [BZ #2552]
35945 [BZ #2553]
35946 [BZ #2554]
35947 [BZ #2562]
35948 [BZ #2563]
35949 [BZ #2565]
35950 [BZ #2566]
35951 [BZ #2576]
35952 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
35953 (y0): Likewise.
35954 * math/w_j0f.c (j0f): Likewise.
35955 (y0f): Likewise.
35956 * math/w_j0l.c (__j0l): Likewise.
35957 (__y0l): Likewise.
35958 * math/w_j1.c (j1): Likewise.
35959 (y1): Likewise.
35960 * math/w_j1f.c (j1f): Likewise.
35961 (y1f): Likewise.
35962 * math/w_j1l.c (__j1l): Likewise.
35963 (__y1l): Likewise.
35964 * math/w_jn.c (jn): Likewise.
35965 (yn): Likewise.
35966 * math/w_jnf.c (jnf): Likewise.
35967 (ynf): Likewise.
35968 * math/w_jnl.c (__jnl): Likewise.
35969 (__ynl): Likewise.
35970 * math/libm-test.inc (j0_test): Add more tests.
35971 (j1_test): Likewise.
35972 (jn_test): Likewise. Add trailing semicolon to existing test.
35973 (y0_test): Likewise.
35974 (y1_test): Likewise.
35975 * sysdeps/i386/fpu/libm-test-ulps: Update.
35976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35977
11b90b9f
JM
35978 [BZ #13851]
35979 [BZ #13854]
35980 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
35981 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
35982 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
35983 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
35984 (__tanl): Set errno for infinite argument.
35985 * sysdeps/i386/fpu/mptan.c: Remove.
35986 * sysdeps/i386/fpu/s_tan.S: Likewise.
35987 * sysdeps/i386/fpu/s_tanl.S: Likewise.
35988 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
35989 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
35990 * math/libm-test.inc (tan_test): Add more tests and enable more
35991 tests for double and long double.
35992 * sysdeps/i386/fpu/libm-test-ulps: Update.
35993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35994
6a1bd2a1
JK
359952012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
35996
35997 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
35998 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
35999
10a803e0
RM
360002012-03-16 Roland McGrath <roland@hack.frob.com>
36001
36002 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36003 * configure.in: Use it for both main tree and add-ons.
36004 * configure: Regenerated.
36005
f196c7f7
L
360062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36007
36008 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36009
8848d99d
JM
360102012-03-16 Joseph Myers <joseph@codesourcery.com>
36011
96cbe7f4
JM
36012 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36013 in comment.
36014
8848d99d
JM
36015 [BZ #13851]
36016 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36017 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36018 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36019 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36020 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36021 infinite argument.
36022 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36023 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36024 != 0 for prec == 2.
36025 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36026 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36027 * sysdeps/i386/fpu/s_cosl.S: Likewise.
36028 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36029 * sysdeps/i386/fpu/s_sinl.S: Likewise.
36030 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36031 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36032 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36033 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36034 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36035 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36036 * math/libm-test.inc (cos_test): Add more tests and enable more
36037 tests for long double.
36038 (sin_test): Likewise.
36039 (sincos_test): Likewise.
36040 * sysdeps/i386/fpu/libm-test-ulps: Update.
36041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36042
dd7f4703
DM
360432012-03-16 David S. Miller <davem@davemloft.net>
36044
36045 * sysdeps/sparc/fpu/math_private.h: New file.
36046
006f1daa
DM
360472012-03-15 David S. Miller <davem@davemloft.net>
36048
c0c83bc8
DM
36049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36050 file.
e6a62e18 36051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
36052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36053 file.
e6a62e18
DM
36054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36055 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36056 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36057 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36058 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36059 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36060 sysdep routines.
36061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36062
88cb87d9
DM
36063 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36064 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36065
006f1daa 36066 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
36067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36068 sparc-ifunc.h
006f1daa 36069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
36070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36071 Likewise.
36072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36073 Likewise.
006f1daa
DM
36074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
36077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36078 Likewise.
006f1daa
DM
36079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
36083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36084 Likewise.
36085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36086 Likewise.
006f1daa
DM
36087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36091 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36092 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36093 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36094 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36095 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36096 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36097 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36098 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36099 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36100 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36101 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36102 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36103 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36104 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36105 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36106 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36107 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36108 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36109 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36110 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36111
11e0098e
AS
361122012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36113
36114 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36115 scaling.
36116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36117
e85b09d0
AJ
361182012-03-15 Andreas Jaeger <aj@suse.de>
36119
36120 [BZ #13852]
36121 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36122 ieee754/flt-32 implementation for sin, cos and sincos.
36123 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36124 * sysdeps/i386/fpu/s_cosf.S: Likewise.
36125 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36126 * sysdeps/i386/fpu/s_sinf.S: Likewise.
36127 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36128 ieee754/flt-32 implementation for tan.
36129
36130 * math/libm-test.inc (cos_test): Enable some large input tests for
36131 float as well
36132 (sin_test): Likewise.
36133 (sincos_test): Likewise.
36134 (tan_test): Add tests for large input.
36135
36136 * sysdeps/i386/fpu/libm-test-ulps: Update.
36137
81c64153
AJ
361382012-03-15 Andreas Jaeger <aj@suse.de>
36139
36140 [BZ #13658]
36141 * math/libm-test.inc (cos_test): Add more test cases.
36142 (sin_test): Likewise.
36143 (sincos_test): Likewise.
36144
7bbfa5c6
AJ
361452012-03-15 Andreas Jaeger <aj@suse.de>
36146
36147 [BZ #13837]
36148 * math/libm-test.inc (cos_test): Add a test case for large input
36149 value.
36150 (sin_test): Likewise.
36151 (sincos_test): Likewise.
36152
57f41c40
AS
361532012-03-15 Andreas Jaeger <aj@suse.de>
36154 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
36155
36156 [BZ #13658]
0671f479 36157 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
36158 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36159 * sysdeps/i386/fpu/branred.c: Likewise.
36160 * sysdeps/i386/fpu/dosincos.c: Likewise.
36161 * sysdeps/i386/fpu/mpa.c: Likewise.
36162 * sysdeps/i386/fpu/s_cos.S: Likewise.
36163 * sysdeps/i386/fpu/s_sin.S: Likewise.
36164 * sysdeps/i386/fpu/s_sincos.S: Likewise.
36165 * sysdeps/i386/fpu/sincos32.c: Likewise.
36166
36167 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36168 Define.
36169 (libc_feupdateenv_53bit): Define.
36170 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36171 Define.
36172 (libc_feupdateenv_53bit): Define.
36173
36174 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36175 53 bit (without extend i386 double precision).
36176
36177 * math/libm-test.inc (sincos_test): Add tests for large input.
36178 (sin): Likewise.
36179 (cos): Likewise.
36180
36181 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36182
9cad04ea
AS
361832012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36184
36185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36186
f7062b9a
DM
361872012-03-15 David S. Miller <davem@davemloft.net>
36188
36189 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36190 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36191 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36192 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36197 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36198 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36199 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36200 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36201 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36202 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36203 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
36204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36205 file.
f7062b9a 36206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
36207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36208 file.
f7062b9a 36209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
36210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36211 file.
f7062b9a 36212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
36213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36214 file.
f7062b9a
DM
36215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36216 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36217 fmin/fmax sysdep routines.
36218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36219
7bd951ff
DM
362202012-03-14 David S. Miller <davem@davemloft.net>
36221
559398ab
DM
36222 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36223 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36224 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36225 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36226 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36227 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36228 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36229 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36230 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36231 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36232 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36233 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36234 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36235 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36236 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36237 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36238 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36239 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36240 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36241 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36242 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36243 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36244 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36245 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36246 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36247 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36248 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36249 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
36250 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36251 routines.
36252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36253 file.
559398ab 36254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
36255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36256 file.
559398ab 36257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
36258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36259 file.
559398ab 36260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
36261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36262 file.
559398ab 36263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
36264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36265 file.
559398ab 36266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
36267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36268 file.
36269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36270 file.
36271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36272 file.
36273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36274 file.
36275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36276 New file.
36277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36278 file.
36279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36280 file.
559398ab 36281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
36282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36283 file.
559398ab 36284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
36285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36286 file.
559398ab 36287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
36288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36289 file.
559398ab 36290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
36291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36292 VIS3 routines.
559398ab
DM
36293
36294 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36295 New file.
36296
5a1c1e32
DM
36297 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36298
eae47a36
DM
36299 * sysdeps/sparc/configure.in: New file.
36300 * sysdeps/sparc/configure: Generate.
36301 * configure.in (libc_cv_sparc_as_vis3): Substitute.
36302 * configure: Regenerate.
36303 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36304 * config.make.in (have-as-vis3): New.
36305 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36306 available use -Av9d instead of -Av9a.
36307 * sysdeps/sparc/sparc64/Makefile: Likewise.
36308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
36309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36310 New file.
36311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36312 file.
36313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36314 New file.
36315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36316 file.
eae47a36
DM
36317 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36318 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36319 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36320 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36321 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36322
c0c83bc8
DM
36323 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36324 fzeros/fnegs to load 0x80000000 into a float register instead of
36325 using the stack.
7bd951ff
DM
36326 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36327
bd951ccb
JM
363282012-03-14 Joseph Myers <joseph@codesourcery.com>
36329
36330 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36331 bits/syscall.h.
36332 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36333 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36334 ($(inst_includedir)/bits/syscall.h): Remove rule.
36335 ($(objpfx)bits/syscall.d): Include instead of
36336 $(objpfx)syscall-list.d.
36337 (generated): Change syscall-list.h and syscall-list.d to
36338 bits/syscall.h and bits/syscall.d.
36339
bb4e6db2
RM
363402012-03-14 Roland McGrath <roland@hack.frob.com>
36341
36342 [BZ #13846]
36343 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36344
aa4a2ae1
JM
363452012-03-14 Joseph Myers <joseph@codesourcery.com>
36346
e456826d
JM
36347 [BZ #13841]
36348 * math/s_csqrt.c: Include <float.h>.
36349 (__csqrt): Scale large or subnormal inputs.
36350 * math/s_csqrtf.c: Likewise.
36351 * math/s_csqrtl.c: Likewise.
36352 * math/libm-test.inc (csqrt_test): Add more tests.
36353 * sysdeps/i386/fpu/libm-test-ulps: Update.
36354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36355
aa4a2ae1
JM
36356 [BZ #13840]
36357 * math/libm-test.inc (hypot_test): Add more tests.
36358
7c10fd35
DM
363592012-03-13 David S. Miller <davem@davemloft.net>
36360
36361 [BZ #13840]
36362 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36363 double-precision for the calculation instead of scaling.
36364
f453b98b
JM
363652012-03-13 Joseph Myers <joseph@codesourcery.com>
36366
36367 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36368 manipulate bits before adding and subtracting TWO52[sx].
36369 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36370 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36371 Likewise.
36372 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36373
09a3453f
DM
363742012-03-13 David S. Miller <davem@davemloft.net>
36375
8e59da90
DM
36376 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36377 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36378 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36379 rtld-global-offsets.h
36380 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36381
2a8ab7f2
DM
36382 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36383 large parameters.
36384
10f62770
DM
36385 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36386
5f0bdb18
DM
36387 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36388 'err' in the ifdef scope in which it is actually used.
36389
09a3453f
DM
36390 * nss/nss_db/db-init.c: Include string.h
36391
b4b2eb5e
DM
363922012-03-12 David S. Miller <davem@davemloft.net>
36393
98bb2f1c
DM
36394 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36395 masking out of the most significant byte of random value used.
36396 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36397 Fix coding style in previous change.
36398
b4b2eb5e
DM
36399 * sysdeps/unix/sysv/linux/kernel-features.h
36400 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36401 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36402 expression.
36403 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36404 later.
36405
6e226b09
DM
364062012-03-11 David S. Miller <davem@davemloft.net>
36407
a1bcbd40
DM
36408 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36409 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36410 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36411 for 'resultvar' otherwise things get truncated on 64-bit.
36412
cb9d6174
DM
36413 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36414 Fix masking out of the most significant byte of random value used.
36415
6e226b09
DM
36416 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36417
058c132d
AS
364182012-03-10 Andreas Schwab <schwab@linux-m68k.org>
36419
36420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36421
2d2cd515
DM
364222012-03-09 David S. Miller <davem@davemloft.net>
36423
36424 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36425 variables with appropriate CPP guards.
57f41c40
AS
36426 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36427 from the frame pointer, not the stack pointer. Correct layout
36428 comments. Fix test on resulting framesize and the management of
36429 the outregs buffer for pltexit. Preserve floating point return
36430 values across _dl_call_pltexit call.
2d2cd515
DM
36431 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36432 framesize and the management of the outregs buffer for pltexit.
36433 Preserve floating point return values across _dl_call_pltexit
36434 call.
57f41c40
AS
36435 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36436 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36437 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
36438 (print_exit): Fix format string for return register value.
36439
9a07f9d0
JM
364402012-03-10 Joseph Myers <joseph@codesourcery.com>
36441
36442 * sunrpc/Makefile (others): Add rpcgen.
36443 ($(objpfx)rpcgen): Remove special build rule and dependency on
36444 libc.
36445 * sunrpc/rpcgen.c: New file.
36446
547b5e30
PE
364472012-03-09 Paul Eggert <eggert@cs.ucla.edu>
36448
c524201a
PE
36449 [BZ #13673]
36450 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
36451 * stdio-common/bug-vfprintf-nargs.c: Likewise.
36452 * sysdeps/i386/crti.S: Likewise.
36453 * sysdeps/i386/crtn.S: Likewise.
36454 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
36455 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
36456 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
36457 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
36458 * sysdeps/sh/crti.S: Likewise.
36459 * sysdeps/sh/crtn.S: Likewise.
36460 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36461
7b6235f2
PE
36462 [BZ #13673]
36463 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
36464 with URL.
36465 * locale/programs/locfile-kw.gperf: Likewise.
36466 * locale/programs/charmap-kw.h: Regenerated.
36467 * locale/programs/locfile-kw.h: Likewise.
36468
547b5e30
PE
36469 [BZ #13673]
36470 * intl/plural.y: Replace FSF snail mail address with URL.
36471 * intl/plural.c: Regenerated.
36472
5f0a5dae
RH
364732012-03-09 Richard Henderson <rth@twiddle.net>
36474
36475 * include/math_private.h: Remove file.
36476 * math/math_private.h: Move file ...
36477 * sysdeps/generic/math_private.h: ... here.
36478
b8c03620
RH
36479 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
36480 * sysdeps/powerpc/fpu/math_private.h: Likewise.
36481 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36482
4e234f5d 36483 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
36484 and <math_private.h>.
36485 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36486 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36487 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36488 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36489 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36490 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
36491 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36492 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36493 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36494 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36495 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36496 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36497 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36498 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36499 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36500 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36501 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36502 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36503 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36504 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36505 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36506 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36507 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36508 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36509 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36510 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36511 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36512 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36513 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36514 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36515 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36516 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36517 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36518 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36519 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36520 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36521 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36522 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36523 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36524 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36525 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
36526 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36527 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36528 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36529 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36530 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36531 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
36532 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36533 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36534 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36535 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36536 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
36537 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36538 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36539 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36540 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36541 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36542 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36543 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36544 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
36545 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36546 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36547 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36548 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36549 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
36550 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36551 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36552 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36553 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
36554 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
36555 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36556 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36557 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36558 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36559 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
36560 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
36561 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
36562 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36563 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
36564 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
36565 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36566 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
36567 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36568 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36569 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36570 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36571 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
36572 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
36573 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36574 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36575 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36576 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36577 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36578 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36579 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36580 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36581 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36582 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36583 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36584 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36585 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36586 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36587 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36588 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36589 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36590 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36591 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36592 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36593 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36594 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36595 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36596 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36597 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36598 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36599 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
36600 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36601 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36602 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36603 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36604 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36605 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36606 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36607 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36608 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
36609 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36610 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36611 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36612 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
36613 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36614 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
36615 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
36616 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36617 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36618 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
36619 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
36620 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36621 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36622 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36623 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
36624 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36625 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36626 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36627 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36628 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
36629 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
36630 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36631 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36632 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36633 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
36634 * sysdeps/ieee754/k_standard.c: Likewise.
36635 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36636 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36637 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36638 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36639 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36640 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36641 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36642 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36643 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36644 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36645 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36646 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36647 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36648 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36649 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36650 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36651 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36652 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36653 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36654 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
36655 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
36656 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
36657 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36658 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36659 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36660 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36661 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36662 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36663 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36664 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36665 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36666 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36667 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36668 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36669 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36670 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36671 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36672 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
36673 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
36674 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36675 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36676 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36677 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36678 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36679 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36680 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36681 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36682 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36683 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36684 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36685 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36686 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36687 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36688 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
36689 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36690 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36691 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
36692 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
36693 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36694 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36695 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36696 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36697 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36698 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36699 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36700 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36701 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36702 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36703 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36704 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36705 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36706 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36707 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36708 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36709 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36710 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36711 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
36712 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36713 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36714 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36715 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36716 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36717 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36718 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36719 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
36720 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36721 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36722 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36723 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36724 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36725 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
36726 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36727 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36728 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36729 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36730 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36731 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
36732 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36733 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36734 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
36735 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36736 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36737 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36738 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36739 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
36740 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36741 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36742 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36743 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
36744 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36745 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36746 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36747 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36748 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36749 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36750 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36751 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36752 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36753 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36754 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36755 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36756 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36757 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36758 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36759 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36760 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
36761 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36762 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36763 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36764 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36765 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36766 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36767 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36768 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36769 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36770 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36771 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
36772 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36773 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36774 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
36775 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
36776 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36777 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
36778 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
36779 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36780 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36781 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36782 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36783 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36784 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
36785 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36786 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36787 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36788 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36789 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
36790 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
36791 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36792 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36793 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36794 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36795 * sysdeps/ieee754/s_lib_version.c: Likewise.
36796 * sysdeps/ieee754/s_matherr.c: Likewise.
36797 * sysdeps/ieee754/s_signgam.c: Likewise.
36798 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36799 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36800 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
36801 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
36802 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
36803 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36804 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
36805 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
36806 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
36807 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
36808 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36809 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
36810 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36811 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36812 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
36813 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36814 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36815 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36816 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36817 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36818 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 36819
1991fa03
JM
368202012-03-09 Joseph Myers <joseph@codesourcery.com>
36821
36822 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
36823 * sunrpc/rpc_main.c: Likewise.
36824 * sunrpc/rpc_svcout.c: Likewise.
36825
60d6f5a6
DM
368262012-03-09 David S. Miller <davem@davemloft.net>
36827
36828 * include/math_private.h: New file.
36829
4962050e
JM
368302012-03-09 Joseph Myers <joseph@codesourcery.com>
36831
02a6f887
JM
36832 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
36833 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
36834 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
36835 from <bits/socket_type.h>.
36836 (enum __socket_type): Don't define here.
36837 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
36838 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36839 bits/socket_type.h.
36840
c6e013c1
JM
36841 [BZ #13566]
36842 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
36843 checking __USE_GNU.
36844
4962050e
JM
36845 * Makerules ($(inst_includedir)/%.h): New rule.
36846 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
36847 (install-others): Remove variable setting.
36848 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
36849
38842f45
RH
368502012-03-08 Richard Henderson <rth@twiddle.net>
36851
67bb6da6
RH
36852 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
36853 from macro to inline function; merge with the
36854 !__LIBC_INTERNAL_MATH_INLINES version.
36855 (__ieee754_sqrtf): Likewise.
36856
15194b4b
RH
36857 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
36858 to inline function.
36859 (__rintf, __floor, __floorf): Likewise.
36860
64e21ede
RH
36861 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
36862 macro to inline function.
36863 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
36864
38842f45
RH
36865 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
36866 not <math/math_private.h>.
36867
c64bf5fe
DM
368682012-03-08 David S. Miller <davem@davemloft.net>
36869
36870 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
36871 copyright year.
36872 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
36873
82d86f28
TS
368742012-03-08 Thomas Schwinge <thomas@codesourcery.com>
36875
36876 * resolv/gai_misc.c (handle_requests): Fix struct timespec
36877 normalization.
36878 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
36879 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36880
aea5d727
UD
368812012-03-08 Ulrich Drepper <drepper@gmail.com>
36882
36883 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
36884 be defined individually, they must be defined as a block. Define
36885 S for printing a string instead of hidint the different by using a
36886 macro for adding the 'l'.
36887 * stdio-common/tst-fphex-wide.c: Adjust.
36888
70bca0a3
MP
368892012-03-07 Marek Polacek <polacek@redhat.com>
36890
36891 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
36892
65b81130
MP
368932012-03-08 Marek Polacek <polacek@redhat.com>
36894
36895 [BZ #13806]
36896 * stdio-common/Makefile (tests): Add tst-fphex-wide.
36897 * stdio-common/tst-fphex.c: Define a few macros to make the
36898 test reusable. Use them.
36899 * stdio-common/tst-fphex-wide.c: New file.
36900
07037eeb
JM
369012012-03-08 Joseph Myers <joseph@codesourcery.com>
36902
a7a93d50
JM
36903 [BZ #6911]
36904 * manual/macros.texi (gnusystems): New macro.
36905 (nongnusystems): Likewise.
36906 (gnulinuxhurdsystems): Likewise.
36907 (gnuhurdsystems): Likewise..
36908 (gnulinuxsystems): Likewise.
36909 * manual/charset.texi: Use new macros or @theglibc{} to refer to
36910 variants of the GNU system, not "GNU system".
36911 * manual/conf.texi: Likewise.
36912 * manual/errno.texi: Likewise. Update example of errno macro
36913 expansion.
36914 * manual/filesys.texi: Likewise.
36915 (getumask): Document as specific to GNU/Hurd.
36916 * manual/install.texi: Likewise. Reword some references to
36917 GNU/Linux.
36918 * manual/intro.texi: Likewise.
36919 * manual/io.texi: Likewise.
36920 (File Name Portability): Detail which constraints are inapplicable
36921 to all GNU systems and which are only inapplicable to GNU/Hurd.
36922 * manual/job.texi: Likewise.
36923 * manual/llio.texi: Likewise.
36924 (O_NOCTTY): Document as present on GNU/Linux.
36925 * manual/maint.texi: Likewise.
36926 * manual/memory.texi: Likewise.
36927 * manual/pattern.texi: Likewise.
36928 * manual/pipe.texi: Likewise.
36929 * manual/process.texi: Likewise.
36930 * manual/resource.texi: Likewise.
36931 (RUSAGE_CHILDREN): Remove statement about specifying a particular
36932 child on GNU/Hurd.
36933 * manual/setjmp.texi: Likewise.
36934 * manual/signal.texi: Likewise.
36935 * manual/startup.texi: Likewise.
36936 * manual/stdio.texi: Likewise.
36937 * manual/terminal.texi: Likewise.
36938 (ONLCR): Document as POSIX.
36939 (OXTABS): Document availability on GNU/Linux as XTABS.
36940 (ONOEOT): Document availability separately from other bits.
36941 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
36942 * manual/time.texi: Likewise.
36943 * manual/users.texi: Likewise.
36944 * INSTALL: Regenerated.
36945 * sysdeps/gnu/errlist.c: Regenerated.
36946
07037eeb
JM
36947 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
36948 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
36949 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
36950 puts.
36951 * configure: Regenerated.
36952
d1d3431a
JM
369532012-03-07 Joseph Myers <joseph@codesourcery.com>
36954
af6a1e37
JM
36955 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
36956 default includes instead of AC_HEADER_CHECK.
36957 * sysdeps/i386/configure: Regenerated.
36958
d1d3431a
JM
36959 [BZ #10716]
36960 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
36961 * math/s_cacoshf.c (__cacoshf): Likewise.
36962 * math/s_cacoshl.c (__cacoshl): Likewise.
36963 * math/s_casinh.c (__casinh): Set signs of result from argument.
36964 * math/s_casinhf.c (__casinhf): Likewise.
36965 * math/s_casinhl.c (__casinhl): Likewise.
36966 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
36967 (casinh_test): Add more tests.
36968 * sysdeps/i386/fpu/libm-test-ulps: Update.
36969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36970
482ff4da
UD
369712012-03-07 Ulrich Drepper <drepper@gmail.com>
36972
872fda05
UD
36973 * po/zh_TW.po: Update from translation team.
36974
a4300c7a
UD
36975 * login/Makefile (distribute): Remove variable.
36976 * catgets/Makefile: Likewise.
36977 * mach/Makefile: Likewise.
36978 * malloc/Makefile: Likewise.
36979 * misc/Makefile: Likewise.
36980 * iconv/Makefile: Likewise.
36981 * nscd/Makefile: Likewise.
36982 * hurd/Makefile: Likewise.
36983 * manual/Makefile: Likewise.
36984 * locale/Makefile: Likewise.
36985 * intl/Makefile: Likewise.
36986 * conform/Makefile: Likewise.
36987 * nss/Makefile: Likewise.
36988 * time/Makefile: Likewise.
36989 * soft-fp/Makefile: Likewise.
36990 * dirent/Makefile: Likewise.
36991 * gmon/Makefile: Likewise.
36992 * po/Makefile: Likewise.
36993 * rt/Makefile: Likewise.
36994 * socket/Makefile: Likewise.
36995 * math/Makefile: Likewise.
36996 * signal/Makefile: Likewise.
36997 * debug/Makefile: Likewise.
36998 * elf/Makefile: Likewise.
36999 * timezone/Makefile: Likewise.
37000 * stdlib/Makefile: Likewise.
37001 * iconvdata/Makefile: Likewise.
37002 * sunrpc/Makefile: Likewise.
37003 * io/Makefile: Likewise.
37004 * argp/Makefile: Likewise.
37005 * inet/Makefile: Likewise.
37006 * hesiod/Makefile: Likewise.
37007 * grp/Makefile: Likewise.
37008 * csu/Makefile: Likewise.
37009 * wctype/Makefile: Likewise.
37010 * crypt/Makefile: Likewise.
37011 * libio/Makefile: Likewise.
37012 * string/Makefile: Likewise.
37013 * nis/Makefile: Likewise.
37014 * resolv/Makefile: Likewise.
37015 * stdio-common/Makefile: Likewise.
37016 * wcsmbs/Makefile: Likewise.
37017 * dlfcn/Makefile: Likewise.
37018 * posix/Makefile: Likewise.
37019
3b7c4e74 37020 [BZ #6959]
482ff4da
UD
37021 * timezone/Makefile: Don't install timezone files, just the programs
37022 and scripts.
37023
f72ed77d
UD
370242012-03-06 Ulrich Drepper <drepper@gmail.com>
37025
a000466f
UD
37026 * nss/databases.def: Add missing gshadow entry.
37027
f72ed77d
UD
37028 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
37029
a53b7a4e
MP
370302012-03-06 Marek Polacek <polacek@redhat.com>
37031
37032 [BZ #13726]
37033 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37034 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37035 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37036 * stdio-common/tst-long-dbl-fphex.c: New file.
37037
e9258400
DM
370382012-03-06 David S. Miller <davem@davemloft.net>
37039
37040 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37041 (set_obp_int): New function.
37042 (get_obp_int): New function.
37043 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
37044 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37045 Avoid unused variable warnings on 'val' and use builtin_expect.
37046 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37047 __builtin_expect.
e9258400
DM
37048 (INLINE_CLONE_SYSCALL): Likewise.
37049
3bd2c723
DM
370502012-03-05 David S. Miller <davem@davemloft.net>
37051
37052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37053
bbb78d03
AS
370542012-03-05 Andreas Schwab <schwab@linux-m68k.org>
37055
884c5db4
AS
37056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37057
bbb78d03
AS
37058 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37059 only for |x| >= 40.
37060 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37061
1c9f702a 370622012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
37063
37064 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37065 Replace gettimeofday with __vdso_gettimeofday.
37066
7be16f82
RM
37067 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37068 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37069 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
37070
37071 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37072 time with __vdso_time.
37073
ed58a00f
JM
370742012-03-05 Joseph Myers <joseph@codesourcery.com>
37075
37076 * manual/lang.texi (size_t): Note types to which size_t may be
37077 equivalent with the GNU C Library, but do not describe when
37078 differences between them are significant.
37079
30ee4ced
AJ
370802012-03-05 Andreas Jaeger <aj@suse.de>
37081
37082 * sysdeps/i386/fpu/libm-test-ulps: Update.
37083
b7cd39e8
JM
370842012-03-05 Joseph Myers <joseph@codesourcery.com>
37085
37086 [BZ #3976]
37087 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37088 (__ieee754_pow): Save and restore rounding mode and use
37089 round-to-nearest for main computations.
37090 * math/libm-test.inc (pow_test_tonearest): New function.
37091 (pow_test_towardzero): Likewise.
37092 (pow_test_downward): Likewise.
37093 (pow_test_upward): Likewise.
37094 (main): Call the new functions.
37095 * sysdeps/i386/fpu/libm-test-ulps: Update.
37096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
37097
37098 [BZ #3976]
37099 * math/libm-test.inc (cosh_test_tonearest): New function.
37100 (cosh_test_towardzero): Likewise.
37101 (cosh_test_downward): Likewise.
37102 (cosh_test_upward): Likewise.
37103 (sinh_test_tonearest): Likewise.
37104 (sinh_test_towardzero): Likewise.
37105 (sinh_test_downward): Likewise.
37106 (sinh_test_upward): Likewise.
37107 (main): Call the new functions.
37108 * sysdeps/i386/fpu/libm-test-ulps: Update.
37109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37110
6c6a98c9
TV
371112012-03-05 Tom de Vries <tom@codesourcery.com>
37112
37113 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37114 default stack guard is set in last bytes.
37115 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37116
21bb2d2e 371172012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 37118
21bb2d2e 37119 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 37120
21bb2d2e
AJ
37121 [BZ #13656]
37122 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37123 possibly allocate from heap instead of stack.
37124 * stdio-common/bug-vfprintf-nargs.c: New file.
37125 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 37126
c6922934
AS
371272012-03-03 Andreas Schwab <schwab@linux-m68k.org>
37128
37129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37130
bc957d53
MP
371312012-03-03 Marek Polacek <polacek@redhat.com>
37132
37133 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37134 * math/math_private.h: Likewise.
37135 * stdlib/tst-strtod.c: Likewise.
37136 * sysdeps/i386/i486/bits/atomic.h: Likewise.
37137 * sysdeps/x86_64/bits/atomic.h: Likewise.
37138
6358490d
DM
371392012-03-02 David S. Miller <davem@davemloft.net>
37140
37141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37145 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37146 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37147 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37148 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37149
01ae168d
RM
371502012-03-02 Roland McGrath <roland@hack.frob.com>
37151
d9a17c07
RM
37152 [BZ #13792]
37153 * manual/examples/README: New file, says the example source files
37154 can be used under GPL>=2.
37155 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37156 line containing just "*/".
37157 * manual/examples/add.c: Add copyright header (GPL>=2).
37158 * manual/examples/argp-ex1.c: Likewise.
37159 * manual/examples/argp-ex2.c: Likewise.
37160 * manual/examples/argp-ex3.c: Likewise.
37161 * manual/examples/argp-ex4.c: Likewise.
37162 * manual/examples/atexit.c: Likewise.
37163 * manual/examples/db.c: Likewise.
37164 * manual/examples/dir.c: Likewise.
37165 * manual/examples/dir2.c: Likewise.
37166 * manual/examples/execinfo.c: Likewise.
37167 * manual/examples/filecli.c: Likewise.
37168 * manual/examples/filesrv.c: Likewise.
37169 * manual/examples/fmtmsgexpl.c: Likewise.
37170 * manual/examples/genpass.c: Likewise.
37171 * manual/examples/inetcli.c: Likewise.
37172 * manual/examples/inetsrv.c: Likewise.
37173 * manual/examples/isockad.c: Likewise.
37174 * manual/examples/longopt.c: Likewise.
37175 * manual/examples/memopen.c: Likewise.
37176 * manual/examples/memstrm.c: Likewise.
37177 * manual/examples/mkfsock.c: Likewise.
37178 * manual/examples/mkisock.c: Likewise.
37179 * manual/examples/mygetpass.c: Likewise.
37180 * manual/examples/pipe.c: Likewise.
37181 * manual/examples/popen.c: Likewise.
37182 * manual/examples/rprintf.c: Likewise.
37183 * manual/examples/search.c: Likewise.
37184 * manual/examples/select.c: Likewise.
37185 * manual/examples/setjmp.c: Likewise.
37186 * manual/examples/sigh1.c: Likewise.
37187 * manual/examples/sigusr.c: Likewise.
37188 * manual/examples/stpcpy.c: Likewise.
37189 * manual/examples/strdupa.c: Likewise.
37190 * manual/examples/strftim.c: Likewise.
37191 * manual/examples/strncat.c: Likewise.
37192 * manual/examples/subopt.c: Likewise.
37193 * manual/examples/swapcontext.c: Likewise.
37194 * manual/examples/termios.c: Likewise.
37195 * manual/examples/testopt.c: Likewise.
37196 * manual/examples/testpass.c: Likewise.
37197 * manual/examples/timeval_subtract.c: Likewise.
37198
01ae168d
RM
37199 [BZ #13792]
37200 * manual/time.texi (Elapsed Time): Move timeval_subtract example
37201 function to ...
37202 * manual/timeval_subtract.c.texi: ... here, new file.
37203
49efa33d
DM
372042012-03-02 David S. Miller <davem@davemloft.net>
37205
37206 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37207
28afd92d
JM
372082012-03-02 Joseph Myers <joseph@codesourcery.com>
37209
804360ed
JM
37210 [BZ #3976]
37211 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37212 (__sin): Save and restore rounding mode and use round-to-nearest
37213 for all computations.
37214 (__cos): Save and restore rounding mode and use round-to-nearest
37215 for all computations.
37216 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37217 <fenv.h>.
37218 (tan): Save and restore rounding mode and use round-to-nearest for
37219 all computations.
37220 * math/libm-test.inc (cos_test_tonearest): New function.
37221 (cos_test_towardzero): Likewise.
37222 (cos_test_downward): Likewise.
37223 (cos_test_upward): Likewise.
37224 (sin_test_tonearest): Likewise.
37225 (sin_test_towardzero): Likewise.
37226 (sin_test_downward): Likewise.
37227 (sin_test_upward): Likewise.
37228 (tan_test_tonearest): Likewise.
37229 (tan_test_towardzero): Likewise.
37230 (tan_test_downward): Likewise.
37231 (tan_test_upward): Likewise.
37232 (main): Call the new functions.
37233 * sysdeps/i386/fpu/libm-test-ulps: Update.
37234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37235
a6d06d7b
JM
37236 [BZ #10135]
37237 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37238 small n, then large n, before computing and testing k+n.
37239 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37240 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37241 Likewise.
37242 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37243 Likewise.
37244 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37245 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37246 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37247 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37248 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37249 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37250 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37251 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37252 * math/libm-test.inc (scalbn_test): Add more tests.
37253 (scalbln_test): Likewise.
37254
07e12bb3
JM
37255 * manual/filesys.texi (mode_t): Describe constraints on size and
37256 signedness, not exact equivalence to a particular type.
37257 (ino_t): Likewise.
37258 (ino64_t): Likewise.
37259 (dev_t): Likewise.
37260 (nlink_t): Likewise.
37261 (blkcnt_t): Likewise.
37262 (blkcnt64_t): Likewise.
37263 * manual/llio.texi (off_t): Likewise.
37264
28afd92d
JM
37265 [BZ #3976]
37266 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37267 (__ieee754_exp): Save and restore rounding mode and use
37268 round-to-nearest for all computations.
37269 * math/libm-test.inc (exp_test_tonearest): New function.
37270 (exp_test_towardzero): Likewise.
37271 (exp_test_downward): Likewise.
37272 (exp_test_upward): Likewise.
37273 (main): Call the new functions.
37274 * sysdeps/i386/fpu/libm-test-ulps: Update.
37275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37276
b1eeb65d
CD
372772012-03-01 Chris Demetriou <cgd@google.com>
37278
37279 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37280 have predictable order.
37281
53362a4b
DM
372822012-03-01 David S. Miller <davem@davemloft.net>
37283
3c969083
DM
37284 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37285
759707de
DM
37286 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37287 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37288 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37289 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37290
dfdb8ff2
DM
37291 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37292 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37293 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37295 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37296 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37297 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37298 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37299 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37300
ead89f96
DM
37301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37302
7f66bd07
DM
37303 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37304 * sysdeps/sparc/fpu/libm-test-ulps: to here.
37305 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37306
53362a4b
DM
37307 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37308 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37309 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37310 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37311 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37312 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37313 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37314 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37315 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37316 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37317 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37318 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37319 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37320 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37321 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37322 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37323 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37324 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37325 * sysdeps/sparc/elf/configure: Regenerated.
37326
7b1902cb
JM
373272012-03-01 Joseph Myers <joseph@codesourcery.com>
37328
bec039bc
JM
37329 * configure.in (AS, LD): Require binutils 2.20 or later.
37330 * configure: Regenerated.
37331 * manual/install.texi (Tools for Compilation): Give binutils 2.20
37332 as required minimum version.
37333 * INSTALL: Regenerated.
37334
7b1902cb
JM
37335 [BZ #2541]
37336 [BZ #4108]
37337 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37338 before squaring exponent.
37339 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37340 bottom long double and 27 bits of top long double before squaring
37341 exponent.
37342 * math/libm-test.inc (erfc_test): Add more tests.
37343 * sysdeps/i386/fpu/libm-test-ulps: Update.
37344 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37346
f775c276
KT
373472012-03-01 Kai Tietz <ktietz@redhat.com>
37348
37349 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37350 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37351 containing bit-fields.
37352 * soft-fp/extended.h (_FP_UNION_E): Likewise.
37353 * soft-fp/single.h (_FP_UNION_S): Likewise.
37354 * soft-fp/double.h (_FP_UNION_D): Likewise.
37355
5b8a4d4a
JM
373562012-02-29 Joseph Myers <joseph@codesourcery.com>
37357
0bab47b6
JM
37358 [BZ #13786]
37359 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37360 not include ../strcmp.S.
37361 [USE_AS_STRNCASECMP_L]: Likewise.
37362 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37363 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37364 * sysdeps/i386/i686/multiarch/strncase_l-c.c
37365 (__strncasecmp_l_ia32): Define as alias to
37366 __strncasecmp_l_nonascii.
37367
0fcad3e2
JM
37368 [BZ #5794]
37369 * math/libm-test.inc (expm1_test): Add test for bug 5794.
37370 * sysdeps/i386/fpu/libm-test-ulps: Update.
37371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37372
5b8a4d4a
JM
37373 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37375
8fdceb2e
JL
373762012-02-29 Jeff Law <law@redhat.com>
37377
37378 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37379 out of bounds read.
37380
1f393a11
MP
373812012-02-29 Marek Polacek <polacek@redhat.com>
37382
37383 [BZ #13706]
37384 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37385 * elf/Makefile: Add rules to run tst-unused-dep.out.
37386
8847f037
DM
373872012-02-28 David S. Miller <davem@davemloft.net>
37388
37389 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37390 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37391 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37392 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37393 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37394 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37395
169d7f11
JM
373962012-02-29 Joseph Myers <joseph@codesourcery.com>
37397
37398 * math/libm-test.inc (llround_test): Move one test from
37399 lround_test. Use TEST_f_L in moved test.
37400 (lround_test): Move misplaced test to llround_test. Add testcase
37401 from bug 2561.
37402
39adf059
UD
374032012-02-28 Ulrich Drepper <drepper@gmail.com>
37404
37405 * sysdeps/x86_64/fpu/e_expf.S: New file.
37406 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37407
71b5d1c5
SB
374082012-02-28 Stanislav Brabec <sbrabec@suse.cz>
37409
37410 [BZ #13637]
37411 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37412 of remain_len that may cause incomplete multi-byte character and
37413 false match.
37414 * posix/bug-regex33.c: New file.
37415 * posix/Makefile (tests): Add bug-regex33.
37416
1f77f049
JM
374172012-02-28 Joseph Myers <joseph@codesourcery.com>
37418
37419 * manual/macros.texi: New file.
37420 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37421 * manual/libc.texinfo: Include macros.texi.
37422 * manual/creatute.texi: Likewise.
37423 * manual/install.texi: Likewise.
37424 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37425 @glibcadj{} in references to the GNU C Library.
37426 * manual/charset.texi: Likewise.
37427 * manual/conf.texi: Likewise.
37428 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
37429 when not using those macros.
37430 * manual/creature.texi: Likewise.
37431 * manual/crypt.texi: Likewise.
37432 * manual/errno.texi: Likewise.
37433 * manual/filesys.texi: Likewise.
37434 * manual/header.texi: Likewise.
37435 * manual/install.texi: Likewise.
37436 * manual/intro.texi: Likewise.
37437 * manual/io.texi: Likewise.
37438 * manual/job.texi: Likewise.
37439 * manual/lang.texi: Likewise.
37440 * manual/libc.texiinfo: Likewise.
37441 * manual/llio.texi: Likewise.
37442 * manual/locale.texi: Likewise.
37443 * manual/maint.texi: Likewise.
37444 * manual/math.texi: Likewise.
37445 * manual/memory.texi: Likewise.
37446 * manual/message.texi: Likewise.
37447 * manual/nss.texi: Likewise.
37448 * manual/pattern.texi: Likewise.
37449 * manual/process.texi: Likewise.
37450 * manual/resource.texi: Likewise.
37451 * manual/search.texi: Likewise.
37452 * manual/setjmp.texi: Likewise.
37453 * manual/signal.texi: Likewise.
37454 * manual/socket.texi: Likewise.
37455 * manual/startup.texi: Likewise.
37456 * manual/stdio.texi: Likewise.
37457 * manual/string.texi: Likewise.
37458 * manual/sysinfo.texi: Likewise.
37459 * manual/syslog.texi: Likewise.
37460 * manual/terminal.texi: Likewise.
37461 * manual/time.texi: Likewise.
37462 * manual/users.texi: Likewise.
37463 * INSTALL: Regenerated.
37464 * NOTES: Regenerated.
d40c5d54 37465 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 37466
450bf206
AS
374672012-02-28 Andreas Schwab <schwab@linux-m68k.org>
37468
37469 * include/dirent.h: Include <dirstream.h> before
37470 <dirent/dirent.h>.
37471
741a235b
DM
374722012-02-28 David S. Miller <davem@davemloft.net>
37473
37474 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
37475 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
37476 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
37477 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
37478
d6b5aa58
DM
374792012-02-27 David S. Miller <davem@davemloft.net>
37480
1aff59a3
DM
37481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
37482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
37483 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
37484 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
37485
d6b5aa58
DM
37486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
37487 frame pointer instead of stack pointer relative arg slot.
37488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37489 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37490 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37491
433f48bf
CD
374922012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
37493
37494 [BZ #3992]
37495 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
37496
d674b76d
DM
374972012-02-27 David S. Miller <davem@davemloft.net>
37498
37499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
37500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
37503 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37504 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37505 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
37506 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
37507
0e7727f7
JM
375082012-02-27 Joseph Myers <joseph@codesourcery.com>
37509
37510 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
37511 later. Allow versions 5-9.
43be4ca2 37512 * configure: Regenerated.
0e7727f7
JM
37513 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
37514 required minimum version and 4.6 as recommended version. Do not
37515 mention bugs in GCC 2.7 and 2.8.
43be4ca2 37516 * INSTALL: Regenerated.
0e7727f7 37517
a78bc654
DM
375182012-02-27 David S. Miller <davem@davemloft.net>
37519
428d5830
DM
37520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
37521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
37522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
37523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
37524 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
37525 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
37526 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
37527 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
37528
a78bc654
DM
37529 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
37530 manipulate bits before adding and subtracting TWO112[sx].
37531 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37532
4579f81c
RM
375332012-02-27 Roland McGrath <roland@hack.frob.com>
37534
36c8acb4
RM
37535 [BZ #13775]
37536 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
37537 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
37538 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
37539 being in POSIX, because they are in 1003.1-2008.
37540
84ad622b
RM
37541 * rt/tst-aio.c: Include <fcntl.h>.
37542 * rt/tst-aio7.c: Likewise.
37543 * rt/tst-aio64.c: Likewise.
37544
4579f81c
RM
37545 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
37546
abd923db
JM
375472012-02-27 Joseph Myers <joseph@codesourcery.com>
37548
37549 * manual/install.texi (--with-headers): Describe headers as
37550 interface headers, not private headers.
37551 (Specific advice for GNU/Linux systems): Describe use of headers
37552 from "make headers_install", not private headers from older
37553 kernels.
43be4ca2 37554 * INSTALL: Regenerated.
abd923db
JM
37555 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
37556 Change to 2.6.19.
37557 * sysdeps/unix/sysv/linux/configure: Regenerated.
37558
6664049b
JM
37559 * manual/llio.texi (fclean): Remove documentation.
37560
bb8b6697
JM
37561 * manual/Makefile (libc-texi-generated): New variable. Include
37562 version.texi.
37563 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
37564 $(libc-texi-generated), not duplicated list of files.
37565 (version.texi, stamp-version): New rules.
37566 (realclean): Remove $(libc-texi-generated), not individual files
37567 from that list. Do not remove dir-add.texinfo.
37568 * manual/libc.texinfo: Comment out uses of edition numbers and
37569 references to printed manual. Remove last-updated dates.
37570 (EDITION): Comment out.
37571 (ISBN): Likewise.
37572 (VERSION, UPDATED): Remove.
37573 (version.texi): Include.
37574
12e5c3b9
AS
375752012-02-27 Andreas Schwab <schwab@linux-m68k.org>
37576
37577 * sysdeps/posix/spawni.c: Include <signal.h>.
37578 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
37579 * sysdeps/pthread/aio_fsync.c: Likewise.
37580
4efeffc1 375812012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 37582
ba63ba08
UD
37583 * conform/Makefile (tests): Run only when not cross-compiling and
37584 when fast-check is not defined.
37585
d94a4670
UD
37586 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
37587 * conform/data/limits.h-data: Fixes for POSIX2008.
37588 * conform/run-conformtest.sh: Run all tests.
37589 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
37590 headers.
37591 * include/bits/dlfcn.h: Likewise.
37592 * include/langinfo.h: Likewise.
37593 * include/monetary.h: Likewise.
37594 * include/sys/poll.h: Likewise.
37595
37596 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
37597 for __USE_GNU.
37598 * posix/spawn.h: Define __need_sigset_t.
37599 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
37600 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
37601 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
37602 to get sigevent_t only.
37603 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
37604 only for __USE_GNU.
37605 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37606 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37607 process_vm_writev only for __USE_GNU.
37608 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
37609
37610 * conform/Makefile: For now ignore errors from run-conformtest.
37611 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
37612 POSIX to avoid namespace pollution. Don't prepend headers.
37613 * conform/data/aio.h-data: Fixes for POSIX testing.
37614 * conform/data/fcntl.h-data: Likewise.
37615 * conform/data/glob.h-data: Likewise.
37616 * conform/data/grp.h-data: Likewise.
37617 * conform/data/pthread.h-data: Likewise.
37618 * conform/data/pwd.h-data: Likewise.
37619 * conform/data/signal.h-data: Likewise.
37620 * conform/data/spawn.h-data: Likewise.
37621 * conform/data/stdio.h-data: Likewise.
37622 * conform/data/stdlib.h-data: Likewise.
37623 * conform/data/stropts.h-data: Likewise.
37624 * conform/data/sys/mman.h-data: Likewise.
37625 * conform/data/sys/stat.h-data: Likewise.
37626 * conform/data/sys/types.h-data: Likewise.
37627 * conform/data/sys/wait.h-data: Likewise.
37628 * conform/data/time.h-data: Likewise.
37629 * conform/data/unistd.h-data: Likewise.
37630 * conform/data/utime.h-data: Likewise.
37631
37632 * io/sys/stat.h: fchmod was always in POSIX.
37633 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
37634 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
37635 * rt/aio.h: Define __need_timespec before including <time.h>.
37636 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
37637 struct. Add forward declaration of pthread_attr_t and use it in
37638 sigevent.
37639 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37640 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37641 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
37642 always remove CLK_TCK definition.
37643
c20105c3
AS
376442012-02-26 Andreas Schwab <schwab@linux-m68k.org>
37645
37646 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
37647
7a270350
UD
376482012-02-25 Ulrich Drepper <drepper@gmail.com>
37649
31341567
UD
37650 * conform/run-conformtest.sh: New file.
37651 * conform/Makefile: Run run-conformtest for tests.
37652 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
37653 support.
37654
37655 * conform/data/uchar.h-data: New file.
37656 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
37657 * conform/data/arpa/inet.h-data: Likewise.
37658 * conform/data/assert.h-data: Likewise.
37659 * conform/data/complex.h-data: Likewise.
37660 * conform/data/cpio.h-data: Likewise.
37661 * conform/data/ctype.h-data: Likewise.
37662 * conform/data/dirent.h-data: Likewise.
37663 * conform/data/dlfcn.h-data: Likewise.
37664 * conform/data/errno.h-data: Likewise.
37665 * conform/data/fcntl.h-data: Likewise.
37666 * conform/data/float.h-data: Likewise.
37667 * conform/data/fmtmsg.h-data: Likewise.
37668 * conform/data/fnmatch.h-data: Likewise.
37669 * conform/data/ftw.h-data: Likewise.
37670 * conform/data/glob.h-data: Likewise.
37671 * conform/data/grp.h-data: Likewise.
37672 * conform/data/iconv.h-data: Likewise.
37673 * conform/data/inttypes.h-data: Likewise.
37674 * conform/data/langinfo.h-data: Likewise.
37675 * conform/data/libgen.h-data: Likewise.
37676 * conform/data/limits.h-data: Likewise.
37677 * conform/data/locale.h-data: Likewise.
37678 * conform/data/math.h-data: Likewise.
37679 * conform/data/monetary.h-data: Likewise.
37680 * conform/data/mqueue.h-data: Likewise.
37681 * conform/data/ndbm.h-data: Likewise.
37682 * conform/data/net/if.h-data: Likewise.
37683 * conform/data/netdb.h-data: Likewise.
37684 * conform/data/netinet/in.h-data: Likewise.
37685 * conform/data/nl_types.h-data: Likewise.
37686 * conform/data/poll.h-data: Likewise.
37687 * conform/data/pthread.h-data: Likewise.
37688 * conform/data/pwd.h-data: Likewise.
37689 * conform/data/regex.h-data: Likewise.
37690 * conform/data/sched.h-data: Likewise.
37691 * conform/data/search.h-data: Likewise.
37692 * conform/data/semaphore.h-data: Likewise.
37693 * conform/data/setjmp.h-data: Likewise.
37694 * conform/data/signal.h-data: Likewise.
37695 * conform/data/spawn.h-data: Likewise.
37696 * conform/data/stdarg.h-data: Likewise.
37697 * conform/data/stdio.h-data: Likewise.
37698 * conform/data/stdlib.h-data: Likewise.
37699 * conform/data/string.h-data: Likewise.
37700 * conform/data/strings.h-data: Likewise.
37701 * conform/data/stropts.h-data: Likewise.
37702 * conform/data/sys/ipc.h-data: Likewise.
37703 * conform/data/sys/mman.h-data: Likewise.
37704 * conform/data/sys/msg.h-data: Likewise.
37705 * conform/data/sys/resource.h-data: Likewise.
37706 * conform/data/sys/select.h-data: Likewise.
37707 * conform/data/sys/sem.h-data: Likewise.
37708 * conform/data/sys/shm.h-data: Likewise.
37709 * conform/data/sys/socket.h-data: Likewise.
37710 * conform/data/sys/stat.h-data: Likewise.
37711 * conform/data/sys/statvfs.h-data: Likewise.
37712 * conform/data/sys/time.h-data: Likewise.
37713 * conform/data/sys/timeb.h-data: Likewise.
37714 * conform/data/sys/times.h-data: Likewise.
37715 * conform/data/sys/types.h-data: Likewise.
37716 * conform/data/sys/uio.h-data: Likewise.
37717 * conform/data/sys/un.h-data: Likewise.
37718 * conform/data/sys/utsname.h-data: Likewise.
37719 * conform/data/sys/wait.h-data: Likewise.
37720 * conform/data/syslog.h-data: Likewise.
37721 * conform/data/tar.h-data: Likewise.
37722 * conform/data/termios.h-data: Likewise.
37723 * conform/data/utime.h-data: Likewise.
37724 * conform/data/utmpx.h-data: Likewise.
37725 * conform/data/varargs.h-data: Likewise.
37726 * conform/data/wchar.h-data: Likewise.
37727 * conform/data/wctype.h-data: Likewise.
37728 * conform/data/wordexp.h-data: Likewise.
37729
37730 * include/stropts.h: New file.
37731 * include/uchar.h: New file.
37732 * include/aio.h: Changes to allow conformtest.pl to use the headers.
37733 * include/assert.h: Likewise.
37734 * include/ctype.h: Likewise.
37735 * include/dirent.h: Likewise.
37736 * include/dlfcn.h: Likewise.
37737 * include/fcntl.h: Likewise.
37738 * include/fnmatch.h: Likewise.
37739 * include/glob.h: Likewise.
37740 * include/grp.h: Likewise.
37741 * include/libio.h: Likewise.
37742 * include/locale.h: Likewise.
37743 * include/math.h: Likewise.
37744 * include/net/if.h: Likewise.
37745 * include/netdb.h: Likewise.
37746 * include/netinet/in.h: Likewise.
37747 * include/pthread.h: Likewise.
37748 * include/pwd.h: Likewise.
37749 * include/regex.h: Likewise.
37750 * include/sched.h: Likewise.
37751 * include/search.h: Likewise.
37752 * include/setjmp.h: Likewise.
37753 * include/signal.h: Likewise.
37754 * include/stdio.h: Likewise.
37755 * include/stdlib.h: Likewise.
37756 * include/string.h: Likewise.
37757 * include/sys/cdefs.h: Likewise.
37758 * include/sys/mman.h: Likewise.
37759 * include/sys/msg.h: Likewise.
37760 * include/sys/resource.h: Likewise.
37761 * include/sys/select.h: Likewise.
37762 * include/sys/socket.h: Likewise.
37763 * include/sys/stat.h: Likewise.
37764 * include/sys/statvfs.h: Likewise.
37765 * include/sys/time.h: Likewise.
37766 * include/sys/times.h: Likewise.
37767 * include/sys/uio.h: Likewise.
37768 * include/sys/utsname.h: Likewise.
37769 * include/sys/wait.h: Likewise.
37770 * include/termios.h: Likewise.
37771 * include/time.h: Likewise.
37772 * include/ulimit.h: Likewise.
37773 * include/unistd.h: Likewise.
37774 * include/utime.h: Likewise.
37775 * include/wchar.h: Likewise.
37776 * include/wctype.h: Likewise.
37777 * include/wordexp.h: Likewise.
37778
37779 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
37780
7a270350
UD
37781 * time/time.h: TIME_UTC must be a macro.
37782 Make timespec_get available for ISO C11 only as well.
37783
7724defc
UD
377842012-02-24 Ulrich Drepper <drepper@gmail.com>
37785
37786 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
37787 Reported by Peng Haitao <penght@cn.fujitsu.com>.
37788
6b1d1d46
JM
377892012-02-24 Joseph Myers <joseph@codesourcery.com>
37790
37791 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 37792
0f8bbd69
JM
377932012-02-24 Joseph Myers <joseph@codesourcery.com>
37794
37795 * manual/texinfo.tex: Update to version 2012-01-19.16.
37796
66ab80bc
JM
377972012-02-24 Joseph Myers <joseph@codesourcery.com>
37798
37799 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
37800
74981cc5
RM
378012012-02-24 Roland McGrath <roland@hack.frob.com>
37802
ee968201
RM
37803 [BZ #13738]
37804 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
37805 * manual/fdl-1.3.texi: New file.
37806 * manual/fdl-1.1.texi: File removed.
37807
74981cc5
RM
37808 [BZ #13738]
37809 * manual/libc.texinfo (FDL_VERSION): New @set.
37810 Use it for mention of FDL in cover text.
37811 (Documentation License): Use it in @include file name.
37812
7bb764bc
JM
378132012-02-22 Joseph Myers <joseph@codesourcery.com>
37814 Roland McGrath <roland@hack.frob.com>
37815
37816 [BZ #5461]
57f41c40
AS
37817 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
37818 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
37819 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
37820 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
37821 name.
37822 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
37823
6cbeae47
JM
378242012-02-22 Joseph Myers <joseph@codesourcery.com>
37825
37826 [BZ #2547]
37827 [BZ #11365]
37828 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
37829 manipulate bits before adding and subtracting TWO23[sx].
37830 * math/libm-test.inc (nearbyint_test): Add more tests.
37831
fe45ce09
JM
378322012-02-22 Joseph Myers <joseph@codesourcery.com>
37833
37834 [BZ #2548]
37835 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
37836 bits before adding and subtracting TWO23[sx].
37837 * math/libm-test.inc (rint_test): Add more tests.
37838 (rint_test_tonearest): Likewise.
37839 (rint_test_towardzero): Likewise.
37840 (rint_test_downward): Likewise.
37841 (rint_test_upward: Likewise.
37842
ff3b3d82
JM
378432012-02-22 Joseph Myers <joseph@codesourcery.com>
37844
37845 [BZ #10110]
37846 * include/stdc-predef.h: New file. Extracted from features.h.
37847 * include/features.h: Include stdc-predef.h.
37848 * Makefile (headers): Add stdc-predef.h.
37849 * CONFORMANCE (Compiler limitations): Update.
37850
ef0aab35
JM
378512012-02-22 Joseph Myers <joseph@codesourcery.com>
37852
37853 * manual/libc.texinfo (VERSION, UPDATED): Revert.
37854
58639409
DM
378552012-02-21 David S. Miller <davem@davemloft.net>
37856
37857 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
37858 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37859
c0e70b25
DM
378602012-02-20 David S. Miller <davem@davemloft.net>
37861
37862 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
37863 using a normal save/restore sequence, rather than allocating a
37864 dummy stack frame just to store a frame pointer and restore.
37865 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37866
fb06851d
JM
378672012-02-21 Joseph Myers <joseph@codesourcery.com>
37868
37869 * manual/install.texi: Fix stray word in line-wrapped comment.
37870
7a8b71c3
DM
378712012-02-20 David S. Miller <davem@davemloft.net>
37872
d510c123
DM
37873 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
37874 both binutils and gcc support GOTDATA.
37875
0722d7c2
DM
37876 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
37877 "rd %pc" in the PIC register setup sequences.
37878
3d2b3019
DM
37879 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
37880 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37881 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37882 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37883 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37884 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37885 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37886 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37887 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
37888 (SYSCALL_ERROR_HANDLER): Likewise.
37889 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37890 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37891 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
37892 (SYSCALL_ERROR_HANDLER): Likewise.
37893
c80098a9
DM
37894 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
37895 (HAVE_GCC_GOTDATA): New.
37896 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
37897 relocation support in both binutils and gcc.
37898 * sysdeps/sparc/elf/configure: Regenerate.
37899
3a2545a0
DM
37900 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
37901 * sysdeps/sparc/sparc32/elf/configure: Delete.
37902 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
37903 * sysdeps/sparc/sparc64/elf/configure: Delete.
37904 * sysdeps/sparc/elf/configure.in: New file.
37905 * sysdeps/sparc/elf/configure: Generate.
37906
7a8b71c3
DM
37907 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
37908 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
37909 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37910 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
37911 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
37912
f1e86fca
JM
379132012-02-21 Joseph Myers <joseph@codesourcery.com>
37914
37915 * manual/install.texi: Do not mention specific glibc version
37916 numbers.
37917 * manual/libc.texinfo (VERSION, UPDATED): Update.
37918 (@copying): Use @copyright{} and range of years.
37919
0e7dfaef
JM
379202012-02-21 Joseph Myers <joseph@codesourcery.com>
37921
37922 [BZ #13695]
37923 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
37924 [crti.S not in sysdirs] (generated): Do not append.
37925 [crti.S not in sysdirs] (omit-deps): Likewise.
37926 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
37927 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
37928 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
37929 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
37930 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
37931 Likewise.
37932 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
37933 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
37934 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
37935 * csu/defs.awk: Remove file.
37936 * sysdeps/generic/initfini.c: Likewise.
37937 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
37938 variable.
37939 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
37940 Likewise.
37941
599af3ca
JM
379422012-02-20 Joseph Myers <joseph@codesourcery.com>
37943
37944 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
37945 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
37946 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
37947 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
37948 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37949 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
37950 <bits/epoll.h>.
37951 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
37952 (__EPOLL_PACKED): Define to empty if not defined by
37953 <bits/epoll.h>.
37954 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
37955 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37956 bits/epoll.h.
37957
0e499750
JM
379582012-02-20 Joseph Myers <joseph@codesourcery.com>
37959
37960 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
37961 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
37962 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
37963 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
37964 <bits/timerfd.h>.
37965 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
37966 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37967 bits/timerfd.h.
37968
5ad91f6e
JM
379692012-02-20 Joseph Myers <joseph@codesourcery.com>
37970
37971 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
37972 in C locale.
37973 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37974 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
37975 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
37976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37977
06b99b02
AJ
379782012-02-20 Aurelien Jarno <aurelien@aurel32.net>
37979
37980 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37981 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37982
7638c0fd
AS
379832012-02-19 Andreas Schwab <schwab@linux-m68k.org>
37984
37985 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
37986 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
37987 defined.
37988 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
37989 Likewise.
37990 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
37991 entry for 2.16.
37992
92221550
AJ
379932012-02-19 Aurelien Jarno <aurelien@aurel32.net>
37994
37995 * math/w_acos.c: Use non-signaling floating-point comparisons.
37996 * math/w_acosf.c: Likewise.
37997 * math/w_acosh.c: Likewise.
37998 * math/w_acoshf.c: Likewise.
37999 * math/w_acoshl.c: Likewise.
38000 * math/w_acosl.c: Likewise.
38001 * math/w_asin.c: Likewise.
38002 * math/w_asinf.c: Likewise.
38003 * math/w_asinl.c: Likewise.
38004 * math/w_atanh.c: Likewise.
38005 * math/w_atanhf.c: Likewise.
38006 * math/w_atanhl.c: Likewise.
38007 * math/w_exp2.c: Likewise.
38008 * math/w_exp2f.c: Likewise.
38009 * math/w_exp2l.c: Likewise.
38010 * math/w_j0.c: Likewise.
38011 * math/w_j0f.c: Likewise.
38012 * math/w_j0l.c: Likewise.
38013 * math/w_j1.c: Likewise.
38014 * math/w_j1f.c: Likewise.
38015 * math/w_j1l.c: Likewise.
38016 * math/w_jn.c: Likewise.
38017 * math/w_jnf.c: Likewise.
38018 * math/w_log.c: Likewise.
38019 * math/w_log10.c: Likewise.
38020 * math/w_log10f.c: Likewise.
38021 * math/w_log10l.c: Likewise.
38022 * math/w_log2.c: Likewise.
38023 * math/w_log2f.c: Likewise.
38024 * math/w_log2l.c: Likewise.
38025 * math/w_logf.c: Likewise.
38026 * math/w_logl.c: Likewise.
38027 * math/w_sqrt.c: Likewise.
38028 * math/w_sqrtf.c: Likewise.
38029 * math/w_sqrtl.c: Likewise.
38030 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38031 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38032 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38033 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38034 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38035
ebaf36eb
JM
380362012-02-19 Joseph Myers <joseph@codesourcery.com>
38037
38038 [BZ #9739]
38039 * manual/string.texi (strnlen): Use correct parameter name in
38040 equivalent expression.
38041
71c254a6
JM
380422012-02-19 Joseph Myers <joseph@codesourcery.com>
38043
38044 [BZ #11174]
38045 * manual/users.texi (seteuid): Consistently use neweuid for
38046 argument name.
38047
16d2c631
JM
380482012-02-19 Joseph Myers <joseph@codesourcery.com>
38049
38050 [BZ #13704]
38051 * manual/nss.texi (Services in the NSS configuration): Correct
38052 list of services in example configuration file.
38053
cd837b09
NB
380542012-02-19 Nick Bowler <nbowler@draconx.ca>
38055
38056 [BZ #11322]
38057 * manual/arith.texi: Remove statements about negative zero
38058 behaving identically to zero.
38059
02c4bbad
JM
380602012-02-18 Joseph Myers <joseph@codesourcery.com>
38061
38062 [BZ #5993]
38063 * manual/install.texi: Do not document upgrading from libc5.
38064
366842e7
JM
380652012-02-18 Joseph Myers <joseph@codesourcery.com>
38066
38067 [BZ #4596]
38068 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38069
dd54084d
DM
380702012-02-18 David S. Miller <davem@davemloft.net>
38071
38072 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38073 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38074 %o7 across the call.
38075 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38076 instead.
38077 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38078 SETUP_PIC_REG_LEAF.
38079 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38080 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38081 * sysdeps/sparc/crtn.S: Likewise.
38082
2bcc53a3
UD
380832012-02-17 Ulrich Drepper <drepper@gmail.com>
38084
38085 * aout/Makefile: Remove.
38086
09c093b5
RK
380872012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
38088
38089 [BZ #13058]
38090 * manual/examples/argp-ex1.c (main): Format definition in GNU
38091 style.
38092 * manual/examples/argp-ex2.c (main): Likewise.
38093 * manual/examples/argp-ex3.c (main): Likewise.
38094 * manual/examples/argp-ex4.c (main): Likewise.
38095 * manual/examples/longopt.c (main): Use new-style prototype
38096 definition.
38097 * manual/examples/strncat.c (main): Specify return type and use
38098 (void) for arguments.
38099 * manual/examples/subopt.c (main): Use char **argv argument.
38100
2ee633a2
JM
381012012-02-17 Joseph Myers <joseph@codesourcery.com>
38102
38103 [BZ #5077]
38104 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38105 rounding modes.
38106
0520adde
FB
381072012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
38108
38109 [BZ #6907]
38110 * manual/string.texi (strchr): Change when strchrnul is
38111 recommended.
38112
3f4081cd
DGM
381132012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
38114
38115 [BZ #174]
38116 * manual/locale.texi (setlocale): Document LOCPATH.
38117
d1b10e78
JM
381182012-02-17 Joseph Myers <joseph@codesourcery.com>
38119
38120 [BZ #10210]
38121 * manual/process.texi (execle): Move @dots{} before last argument.
38122
79c6869c
PB
381232012-02-17 Paul Bolle <pebolle@tiscali.nl>
38124
38125 [BZ #12047]
38126 * manual/charset.texi (Generic Charset Conversion): Fix typo
38127 (LC_TYPE -> LC_CTYPE).
38128
cc6e48bc
NB
381292012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
38130
38131 [BZ #5805]
38132 * manual/arith.texi (scalbn): Use @var{} on parameter names.
38133 (scalbnf): Likewise.
38134 (scalbnl): Likewise.
38135 (scalbln): Likewise.
38136 (scalblnf): Likewise.
38137 (scalblnl): Likewise.
38138 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38139 (vwarnx): Likewise.
38140 (verr): Likewise.
38141 (verrx): Likewise.
38142 * manual/filesys.texi (telldir): Use braces around return type.
38143 * manual/llio.texi (mmap): Add space after comma.
38144 (mmap64): Likewise.
38145 * manual/math.texi (jn): Use @var{} on parameter names.
38146 (jnf): Likewise.
38147 (jnl): Likewise.
38148 (yn): Likewise.
38149 (ynf): Likewise.
38150 (ynl): Likewise.
38151 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38152 line.
38153 * manual/resource.texi (ulimit): Use @dots{} instead of literal
38154 "...".
38155 (sched_get_priority_min): Remove semicolon on @deftypefun line.
38156 (sched_get_priority_max): Likewise.
38157 * manual/signal.texi (sigvec): Add space after comma.
38158 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38159 names.
38160 (if_indextoname): Likewise.
38161 (if_freenameindex): Likewise.
38162 (sendto): Use ',' instead of '.' in prototype.
38163 * manual/startup.texi (syscall): Use @dots{} instead of literal
38164 "...".
38165 * manual/stdio.texi (__fpending): Separate initial words of
38166 paragraph from @deftypefun line.
38167 * manual/syslog.texi (syslog): Use @dots{} instead of literal
38168 "...".
38169 (vsyslog): Use @var{} on parameter names.
38170 * manual/terminal.texi (stty): Use @var{} on parameter names.
38171 * manual/users.texi (getutmp): Use @var{} on parameter names.
38172 (getutmpx): Likewise.
38173
5b23062f
JM
381742012-02-17 Joseph Myers <joseph@codesourcery.com>
38175
38176 [BZ #6884]
38177 * manual/stdio.texi (fopen): Fix typos in description of
38178 ",ccs=STRING".
38179
8dee4833
AJ
381802012-02-17 Aurelien Jarno <aurelien@aurel32.net>
38181
38182 [BZ #4026]
38183 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38184 get clock_id definition.
38185
9078ce93
TS
381862012-02-17 Thomas Schwinge <thomas@schwinge.name>
38187
38188 [BZ #4822]
38189 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38190 (madvise): Cast every argument to void on its own.
38191
3835c55f
JM
381922012-02-17 Joseph Myers <joseph@codesourcery.com>
38193
38194 [BZ #9902]
38195 * manual/startup.texi (Exit Status): Fix typo.
38196
35c47e37
JM
381972012-02-17 Joseph Myers <joseph@codesourcery.com>
38198
38199 [BZ #10140]
38200 * manual/examples/argp-ex1.c: Include <stdlib.h>.
38201 * manual/examples/argp-ex2.c: Likewise.
38202 * manual/examples/argp-ex3.c: Likewise.
38203
e3b69ca7
RH
382042012-02-16 Richard Henderson <rth@redhat.com>
38205
38206 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38207 * sysdeps/s390/s390-32/initfini.c: Remove.
38208 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38209 * sysdeps/s390/s390-64/initfini.c: Remove.
38210
df83af67
KK
382112012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38212
38213 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38214 compiler output for sysdeps/generic/initfini.c.
38215 * sysdeps/sh/elf/initfini.c: Remove file.
38216
f63f3380
DM
382172012-02-16 David S. Miller <davem@davemloft.net>
38218
fb59b3a4
DM
38219 [BZ #11494]
38220 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38221
f63f3380
DM
38222 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38223 * sysdeps/sparc/crti.S: New file.
38224 * sysdeps/sparc/crtn.S: New file.
38225 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38226 * sysdeps/sparc/sparc64/Makefile: Likewise.
38227
df6a4a4a
MF
382282012-02-15 Mike Frysinger <vapier@gentoo.org>
38229
6dd8f3dc 38230 [BZ #3335]
df6a4a4a
MF
38231 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38232
1cac7236
RM
382332012-02-15 Roland McGrath <roland@hack.frob.com>
38234
d2c736f8
RM
38235 [BZ #4822]
38236 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38237
1cac7236
RM
38238 * mach/devstream.c (cookie_io_functions_t): Macro removed.
38239 (write, read, close): Likewise.
38240 Patch by Aurelien Jarno <aurelien@aurel32.net>.
38241
8e475601
JM
382422012-02-15 Joseph Myers <joseph@codesourcery.com>
38243
38244 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38245 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38246 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38247 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38248 <bits/signalfd.h>.
38249 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38250 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38251 bits/signalfd.h.
38252
ed656b40
MP
382532012-02-14 Marek Polacek <polacek@redhat.com>
38254
38255 * sysdeps/x86_64/crti.S: New file.
38256 * sysdeps/x86_64/crtn.S: New file.
38257 * sysdeps/x86_64/elf/initfini.c: Remove file.
38258
2a979d3a
JM
382592012-02-13 Joseph Myers <joseph@codesourcery.com>
38260
38261 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38262 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38263 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38264 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38265 <bits/inotify.h>.
38266 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38267 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38268 bits/inotify.h.
38269
2a418ac3
JM
382702012-02-13 Joseph Myers <joseph@codesourcery.com>
38271
38272 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38273 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38274 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38275 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38276 <bits/eventfd.h>.
38277 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38278 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38279 bits/eventfd.h.
38280
fb779be7
TS
382812012-02-10 Thomas Schwinge <thomas@codesourcery.com>
38282
e19e83c5
RM
38283 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38284 __feraiseexcept instead of feraiseexcept.
7c35ffed 38285
fb779be7
TS
38286 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38287 nanosleep invocations.
38288 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38289 strings, and add error checking for a nanosleep invocations.
38290
59ba27a6
PE
382912012-02-09 Paul Eggert <eggert@cs.ucla.edu>
38292
38293 Replace FSF snail mail address with URLs, as per GNU coding standards.
38294 Most of the snail mail addresses were wrong anyway, and omitting
38295 them makes the source code easier to maintain. Almost all of the
38296 changes are to license notices and to locale LC_IDENTIFICATION
38297 addresses, except for this one:
38298 * manual/libc.texinfo: In "Published by", give the FSF's URL,
38299 not its snail mail address.
38300
57b957eb
RH
383012012-02-09 Richard Henderson <rth@twiddle.net>
38302
af850b1c
RH
38303 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38304 of kernel-features.h.
38305
57b957eb
RH
38306 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38307
6b73181a
MP
383082012-02-08 Marek Polacek <polacek@redhat.com>
38309
38310 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38311 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38312 * sysdeps/gnu/_G_config.h: Likewise.
38313 * sysdeps/generic/_G_config.h: Likewise.
38314
26ecc33a
AS
383152012-02-08 Andreas Schwab <schwab@linux-m68k.org>
38316
6c6dbc63
AS
38317 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38318 tests.
38319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38320
e216c012
AS
38321 * sysdeps/powerpc/powerpc32/crti.S: New file.
38322 * sysdeps/powerpc/powerpc32/crtn.S: New file.
38323 * sysdeps/powerpc/powerpc64/crti.S: New file.
38324 * sysdeps/powerpc/powerpc64/crtn.S: New file.
38325
26ecc33a
AS
38326 * Makeconfig (have-initfini): Don't set.
38327 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38328 * configure.in (nopic_initfini): Don't substitute.
38329 * config.h.in (HAVE_INITFINI): Don't #undef.
38330 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38331 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38332
3add8e13
JM
383332012-02-08 Joseph Myers <joseph@codesourcery.com>
38334
38335 Support crti.S and crtn.S provided directly by architectures.
38336 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38337 [crti.S in sysdirs] (omit-deps): Likewise.
38338 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38339 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38340 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38341 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38342 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38343 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38344 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38345 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38346 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38347 compiler output for sysdeps/generic/initfini.c.
38348 * sysdeps/i386/elf/Makefile: Remove file.
38349 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38350
a22f12b4
MP
383512012-02-07 Marek Polacek <polacek@redhat.com>
38352
38353 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38354 * sysdeps/gnu/_G_config.h: Likewise.
38355 * sysdeps/mach/hurd/_G_config.h: Likewise.
38356
148cf100
MP
383572012-02-07 Marek Polacek <polacek@redhat.com>
38358
38359 * math/Makefile (tests): Add tst-CMPLX2.
38360 * math/tst-CMPLX2.c: New file.
38361
cfdc0dd7
AS
383622012-02-07 Andreas Schwab <schwab@linux-m68k.org>
38363
84ba42c4
AS
38364 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38365
cfdc0dd7
AS
38366 * math/libm-test.inc (jn_test): Add missing L suffix.
38367
622c86f4
MP
383682012-02-06 Marek Polacek <polacek@redhat.com>
38369
38370 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38371 * sysdeps/i386/fpu/e_powf.S: Likewise.
38372 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38373 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38374 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38375 * sysdeps/i386/fpu/e_pow.S: Likewise.
38376 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38377 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38378 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38379 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38380 * sysdeps/i386/fpu/e_log2.S: Likewise.
38381 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38382 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38383 * sysdeps/i386/fpu/e_powl.S: Likewise.
38384 * sysdeps/i386/fpu/s_log1p.S: Likewise.
38385 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38386 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38387 * sysdeps/i386/fpu/e_logl.S: Likewise.
38388 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38389 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38390 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38391 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38392 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38393 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38394 * sysdeps/i386/fpu/e_log.S: Likewise.
38395 * sysdeps/i386/fpu/s_cexp.S: Likewise.
38396 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38397 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38398 * sysdeps/i386/fpu/e_logf.S: Likewise.
38399 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38400 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38401 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38402 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38403 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38404 * sysdeps/i386/fpu/e_log10.S: Likewise.
38405 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38406 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38407 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38408 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38409 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38410 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38411 * sysdeps/i386/asm-syntax.h: Likewise.
38412 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38413 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38414 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38415 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38416 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38417 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38418 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38419 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38420 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38421 * sysdeps/powerpc/sysdep.h: Likewise.
38422 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38423 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38424
d4a54ac6
JM
384252012-02-06 Joseph Myers <joseph@codesourcery.com>
38426
38427 [BZ #411]
38428 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38429
314054ea
JM
384302012-02-06 Joseph Myers <joseph@codesourcery.com>
38431
38432 * sysdeps/i386/sysdep.h: Include <features.h>.
38433 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38434 version.
38435
d8e0ca50
JM
384362012-02-05 Joseph Myers <joseph@codesourcery.com>
38437
38438 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38439 Define.
38440 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
38441 LOAD_PIC_REG_STR.
38442
b1da7dd9
JM
384432012-02-03 Joseph Myers <joseph@codesourcery.com>
38444
38445 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
38446 (SETUP_PIC_REG): Use GET_PC_THUNK.
38447 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
38448 macro.
38449
9a1d9254
JM
384502012-02-03 Joseph Myers <joseph@codesourcery.com>
38451
38452 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
38453 for non-PIC compilation.
38454 (SETUP_PIC_REG): Add .p2align directive.
38455 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
38456 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38457 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38458 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38459 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38460 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38461 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38462 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38463 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38464 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38465 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38466 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38467 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38468 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38469 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38470 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38471 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38472 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38473 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38474 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38475 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38476 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38477 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38478 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38479 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38480 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38481 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38482 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38483 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38484 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38485 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38486 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38487 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38488 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38489 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38490 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38491 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38492 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38493 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38494 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38495 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38496
65dc3b75
JM
384972012-02-03 Joseph Myers <joseph@codesourcery.com>
38498
38499 * math/tst-CMPLX.c: Include <stdio.h>.
38500
d55bf177
JM
385012012-01-31 Joseph Myers <joseph@codesourcery.com>
38502
38503 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
38504 float.
38505 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38506 * sysdeps/sparc/bits/mathdef.h: Likewise.
38507
69db4f8f
MP
385082012-01-31 Marek Polacek <polacek@redhat.com>
38509
38510 * libio/libio.h: Don't define _PARAMS.
38511 * locale/programs/config.h: Don't define PARAMS.
38512 * stdlib/strtol_l.c: Likewise.
38513 (__strtol_l): Remove PARAMS from the prototype.
38514
41b81892
UD
385152012-01-31 Ulrich Drepper <drepper@gmail.com>
38516
3b49edc0
UD
38517 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
38518 names. Just use the correct names. Remove unnecessary wrapper
38519 functions.
38520 * malloc/arena.c: Likewise.
38521 * malloc/hooks.c: Likewise.
38522
41b81892
UD
38523 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
38524 ARENA_TEST says not to. Simplify test for creation of a new arena.
38525 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
38526
27a25b6e
UD
385272012-01-30 Ulrich Drepper <drepper@gmail.com>
38528
38529 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
38530 into tail calls.
38531 (update_get_addr): New function.
38532 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
38533 GET_ADDR_MODULE parameter.
38534
c8a89e7d
JM
385352012-01-30 Joseph Myers <joseph@codesourcery.com>
38536
38537 * crypt/cert.c: Remove __STDC__ conditionals.
38538 * crypt/crypt-entry.c: Likewise.
38539 * crypt/crypt_util.c: Likewise.
38540 * libio/filedoalloc.c: Likewise.
38541 * libio/fileops.c: Likewise.
38542 * libio/genops.c: Likewise.
38543 * libio/iofclose.c: Likewise.
38544 * libio/iofdopen.c: Likewise.
38545 * libio/iofopen.c: Likewise.
38546 * libio/iofopen64.c: Likewise.
38547 * libio/iogetdelim.c: Likewise.
38548 * libio/iopopen.c: Likewise.
38549 * libio/obprintf.c: Likewise.
38550 * libio/oldfileops.c: Likewise.
38551 * libio/oldiofclose.c: Likewise.
38552 * libio/oldiofdopen.c: Likewise.
38553 * libio/oldiofopen.c: Likewise.
38554 * libio/oldiopopen.c: Likewise.
38555 * libio/wfiledoalloc.c: Likewise.
38556 * libio/wgenops.c: Likewise.
38557 * locale/programs/xmalloc.c: Likewise.
38558 * misc/syslog.c: Likewise.
38559 * stdio-common/xbug.c: Likewise.
38560 * string/memchr.c: Likewise.
38561 * string/memcmp.c: Likewise.
38562 * string/memrchr.c: Likewise.
38563 * string/rawmemchr.c: Likewise.
38564 * sysdeps/posix/getcwd.c: Likewise.
38565 * time/strftime_l.c: Likewise.
38566
3b100462
JM
385672012-01-30 Joseph Myers <joseph@codesourcery.com>
38568
38569 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
38570 * config.make.in (config-cflags-sse2avx): Define.
38571 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
38572 Fix typo.
38573
607998af
CM
385742012-01-29 Chris Metcalf <cmetcalf@tilera.com>
38575
38576 * scripts/config.guess: Update from upstream config git repository.
38577 * scripts/config.sub: Likewise.
38578
3601428f
CM
385792012-01-28 Chris Metcalf <cmetcalf@tilera.com>
38580
3ac8b282
CM
38581 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
38582 (EM_NUM): Update.
38583 (R_TILEPRO_*, R_TILEGX_*): New macros.
38584
e034841e
CM
38585 * scripts/firstversions.awk: Fix bug in version range handling.
38586
540d7568
CM
38587 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
38588
3601428f
CM
38589 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
38590
463de862
CM
38591 * include/sys/epoll.h: New file.
38592 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
38593 libc_hidden_def.
38594
73139a76
UD
385952012-01-28 Ulrich Drepper <drepper@gmail.com>
38596
96bc5b45
UD
38597 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
38598 Avoid unnecessary __WORDSIZE == 64 test.
38599 (fmaxf): Use VEX format if possible.
38600 (fmax): Likewise.
38601 (fminf): Likewise.
38602 (fmin): Likewise.
38603
56f6f6a2
UD
38604 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
38605 * math/math_private.h: Remove libc_fegetround* and
38606 libc_fesetround*.
38607 * sysdeps/i386/configure.in: Check for -msse2avx.
38608 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
38609 also if SSE2AVX is defined.
38610 Remove libc_fegetround* and libc_fesetround*.
38611 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
38612 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
38613 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
38614 of HAS_YMM_USABLE.
38615 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38616 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38617 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38618 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38619 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38620
73139a76
UD
38621 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
38622
d73f93a4
AZ
386232012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38624
38625 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
38626 size is not set.
38627 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38628
6ee65ed6
UD
386292012-01-27 Ulrich Drepper <drepper@gmail.com>
38630
38631 [BZ #13618]
38632 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
38633 relocation.
38634 * Makeconfig (libm): Define.
38635 * elf/Makefile: Add rules to build and run tst-relsort1.
38636 * elf/tst-relsort1.c: New file.
38637 * elf/tst-relsort1mod1.c: New file.
38638 * elf/tst-relsort1mod2.c: New file.
38639
8db21882
JM
386402012-01-27 Joseph Myers <joseph@codesourcery.com>
38641
38642 * math/s_ldexp.c: Remove __STDC__ conditionals.
38643 * math/s_ldexpf.c: Likewise.
38644 * math/s_ldexpl.c: Likewise.
38645 * math/s_nextafter.c: Likewise.
38646 * math/s_nexttowardf.c: Likewise.
38647 * math/s_significand.c: Likewise.
38648 * math/s_significandf.c: Likewise.
38649 * math/s_significandl.c: Likewise.
38650 * math/w_jnl.c: Likewise.
38651 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38652 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38653 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38654 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38655 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38656 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38657 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
38658 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38659 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38660 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38661 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38662 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38663 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38664 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38665 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38666 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38667 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38668 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38669 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38670 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38671 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38672 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38673 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38674 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38675 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38676 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38677 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38678 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38679 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38680 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38681 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38682 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38683 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38684 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38685 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38686 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38687 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38688 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38689 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38690 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38691 * sysdeps/ieee754/k_standard.c: Likewise.
38692 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38693 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38694 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38695 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38696 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38697 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38698 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38699 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38700 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38701 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38702 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38703 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38704 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38705 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38706 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38707 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38708 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38709 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38710 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38711 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38712 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38713 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38714 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38715 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38716 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38717 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38718 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38719 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38720 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38721 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38722 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38723 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
38724 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38725 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38726 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38727 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38728 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
38729 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38730 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38731 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
38732 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
38733 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38734 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38735 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
38736 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38737 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38738 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38739 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38740 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38741 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38742 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
38743 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38744 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38745 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38746 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38747 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38748 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
38749 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38750 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38751 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38752 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38753 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38754 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38755 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38756 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38757 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38758 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38759 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38760 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38761 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38762 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38763 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38764 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38765 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38766 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38767 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38768 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38769 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38770 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38771 * sysdeps/ieee754/s_matherr.c: Likewise.
38772 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38773 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38774 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38775 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38776
965a54a4
JM
387772012-01-26 Joseph Myers <joseph@codesourcery.com>
38778
38779 * crypt/md5.h: Remove __STDC__ conditionals.
38780 * libio/libioP.h: Likewise.
38781 * locale/programs/config.h: Likewise.
38782 * sysdeps/generic/sysdep.h: Likewise.
38783 * sysdeps/i386/asm-syntax.h: Likewise.
38784 * sysdeps/s390/asm-syntax.h: Likewise.
38785 * sysdeps/unix/sysdep.h: Likewise.
38786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38788
7071ad79
JM
387892012-01-26 Joseph Myers <joseph@codesourcery.com>
38790
38791 * libio/libio.h: Remove __STDC__ conditionals.
38792 * malloc/obstack.h: Likewise.
38793 * math/complex.h: Likewise.
38794 * math/math.h: Likewise.
38795 * sysdeps/generic/_G_config.h: Likewise.
38796 * sysdeps/gnu/_G_config.h: Likewise.
38797 * sysdeps/mach/hurd/_G_config.h: Likewise.
38798 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38799 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38800 * sysdeps/sparc/bits/mathdef.h: Likewise.
38801
afc5ed09
UD
388022012-01-26 Ulrich Drepper <drepper@gmail.com>
38803
38804 [BZ #13583]
38805 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 38806 Clean up HAS_* macros.
afc5ed09 38807 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
38808 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
38809 possible.
38810 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
38811 HAS_AVX.
38812 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38813 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38814 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38815 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38816 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 38817
bdb6de1d
JM
388182012-01-25 Joseph Myers <joseph@codesourcery.com>
38819
38820 * elf/tst-unique3.cc (gets): Remove declaration.
38821 * elf/tst-unique3lib.cc (gets): Likewise.
38822 * elf/tst-unique3lib2.cc (gets): Likewise.
38823 * elf/tst-unique4.cc (gets): Likewise.
38824
b15549e6
UD
388252012-01-24 Ulrich Drepper <drepper@gmail.com>
38826
38827 * include/stdio.h: Add C++ protection. Add gets declarations and
38828 definitions.
38829 * debug/tst-chk1.c: Don't declare gets here.
38830 * stdio-common/tst-gets.c: Likewise.
38831
a037381f
JM
388322012-01-24 Joseph Myers <joseph@codesourcery.com>
38833
38834 * posix/glob: Remove directory.
38835
f1d4aa75
JM
388362012-01-24 Joseph Myers <joseph@codesourcery.com>
38837
38838 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
38839
81c0c964
PT
388402012-01-22 Pino Toscano <toscano.pino@tiscali.it>
38841
38842 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
38843 of the non-standard EPFNOSUPPORT.
38844
0ea698ae
ST
388452011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
38846
38847 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
38848 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
38849 ANYWHERE set to 1 only on KERN_NO_SPACE error.
38850
d220b117
UD
388512012-01-21 Ulrich Drepper <drepper@gmail.com>
38852
38853 * wcsmbs/uchar.h: Test __STDC_VERSION__.
38854
3e1aa84e
UD
388552012-01-20 Ulrich Drepper <drepper@gmail.com>
38856
38857 * nscd/aicache.c (addhstaiX): Do not cache negative results of
38858 transient errors.
38859 * nscd/grpcache.c (cache_addgr): Likewise.
38860 * nscd/hstcache.c (cache_addhst): Likewise.
38861 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38862 * nscd/pwdcache.c (cache_addpw): Likewise.
38863 * nscd/servicescache.c (cache_addserv): Likewise.
38864
400aa020
UD
388652012-01-16 Ulrich Drepper <drepper@gmail.com>
38866
d77e7869
UD
38867 * malloc/malloc.c: Various cleanups.
38868 * malloc/hooks.c: Likewise.
38869
400aa020
UD
38870 * stdlib/Makefile (tests): Add bug-fmtmsg1.
38871 * stdlib/bug-fmtmsg1.c: New file.
38872
38873 * stdlib/fmtmsg.c (init): Add missing unlock.
38874 Patch by Peng Haitao <penght@cn.fujitsu.com>.
38875
e0a309cf
MP
388762012-01-12 Marek Polacek <polacek@redhat.com>
38877
38878 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
38879 and _GNU_SOURCE.
38880
929d11c7
WS
388812012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38882
38883 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
38884 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
38885 macro to ensure uniqueness of label name.
38886 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38887 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38888
41d0e869
UD
388892012-01-11 Ulrich Drepper <drepper@gmail.com>
38890
0cc5ed3b
UD
38891 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
38892
41d0e869
UD
38893 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
38894 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38895 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38896 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
38897
a47a831a
UD
388982012-01-10 Ulrich Drepper <drepper@gmail.com>
38899
daa891c0
UD
38900 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
38901
38902 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
38903 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38904 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38905
e58ef0f2
UD
38906 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
38907
a47a831a 38908 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
38909 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38910 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 38911 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
38912
38913 * math/bits/math-finite.h: Add ldexp support.
38914
a0bfc9c7
MP
389152012-01-10 Marek Polacek <polacek@redhat.com>
38916
38917 * locale/programs/localedef.h (show_archive_content): Add noreturn
38918 attribute.
38919
d6e97a1d
UD
389202012-01-09 Ulrich Drepper <drepper@gmail.com>
38921
38922 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
38923
d5835c26
UD
389242012-01-08 Ulrich Drepper <drepper@gmail.com>
38925
e5f484c6
UD
38926 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
38927
d5835c26
UD
38928 * io/Makefile (headers): Add bits/poll2.h.
38929
d1f741e9
WS
389302011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
38931
38932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
38933 typo #include statement.
38934
ec09c1c4
UD
389352012-01-08 Ulrich Drepper <drepper@gmail.com>
38936
38937 * include/sys/cdefs.h: Define __attribute_alloc_size.
38938 * catgets/gencat.c: Add alloc_size attribute and apply consistently
38939 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
38940 * elf/pldd.c: Likewise.
38941 * iconv/iconv_charmap.c: Likewise.
38942 * iconv/iconvconfig.c: Likewise.
38943 * iconv/strtab.c: Likewise.
38944 * locale/programs/locale.c: Likewise.
38945 * locale/programs/localedef.h: Likewise.
38946 * locale/programs/simple-hash.c: Likewise.
38947 * nscd/nscd.h: Likewise.
38948 * nss/makedb.c: Likewise.
38949 * sysdeps/generic/ldconfig.h: Likewise.
38950 * locale/programs/localedef.c: Remove xmalloc prototype.
38951 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
38952
20b38e03
PP
389532012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38954
38955 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
38956 appropriate.
38957
a0da5fe1
UD
389582012-01-08 Ulrich Drepper <drepper@gmail.com>
38959
1d5a644a 38960 * math/Makefile (tests): Add tst-CMPLX.
669704fd 38961 * math/tst-CMPLX.c: New file.
1d5a644a 38962
8784a6db
UD
38963 * math/complex.h (CMPLXL): Fix typo.
38964
d9a216c0
UD
38965 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
38966 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
38967 GLIBC_2.16.
38968 * debug/tst-chk1.c: Add poll and ppoll tests.
38969 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
38970 * include/sys/poll.h: Add hidden proto for ppoll.
38971 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
38972 * sysdeps/mach/hurd/ppoll.c: Likewise.
38973 * io/ppoll.c: Likewise.
38974 * debug/poll_chk.c: New file.
38975 * debug/ppoll_chk.c: New file.
38976 * include/bits/poll2.h: New file.
38977 * io/bits/poll2.h: New file.
38978
ac097f5c
UD
38979 [BZ #1350]
38980 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
38981
2119dcfa
UD
38982 * configure.in: static is always set to yes. Remove.
38983 * config.make.in: Don't set build-static.
38984 * Makeconfig: Remove use of build-static.
38985 * dlfcn/Makefile: Likewise.
38986 * elf/Makefile: Likewise.
38987 * math/Makefile: Likewise.
38988 * misc/Makefile: Likewise.
38989 * nptl/Makefile: Likewise.
38990 * sysdeps/mach/hurd/Makefile: Likewise.
38991
121766a9
UD
38992 * configure.in: PWD_P is not used anymore.
38993 * config.make.in: Remove PWD_P entry.
38994
51a1d39c 38995 * configure.in: Remove last remnants of RANLIB.
8720d066 38996 No need to check for signed size_t anymore.
215f4bdc
UD
38997 Don't set libc_commonpagesize and libc_relro_required here for Alpha
38998 and IA-64.
3857022a 38999 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
39000 * aclocal.m4: Likewise.
39001
d3ed7225
UD
39002 * wcsmbs/mbrtoc16.c: Implement using towc function.
39003 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39004 * wcsmbs/wcsmbsload.c: Likewise.
39005 * iconv/gconv_simple.c: Likewise.
39006 * iconv/gconv_int.h: Likewise.
39007 * iconv/gconv_builtin.h: Likewise.
39008 * iconv/iconv_prog.c: Remove CHAR16 handling.
39009
39010 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39011
39012 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39013
a0da5fe1
UD
39014 * configure.in: Remove --with-elf and --enable-bounded options.
39015 Dont set base_machine for ia64. More non-ELF conditions removed.
39016 Remove testing and setting of leading underscore information.
39017 * config.make.in (build-bounded): Set to no.
39018 * config.h.in: Remove NO_UNDERSCORES entry.
39019 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
39020 them.
39021 * csu/start.c: Remove !NO_UNDERSCORE code.
39022 * locale/localeinfo.h: Likewise.
39023 * sysdeps/generic/machine-gmon.h: Likewise.
39024 * sysdeps/generic/sysdep.h: Likewise.
39025 * sysdeps/i386/sysdep.h: Likewise.
39026 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39027 * sysdeps/mach/sysdep.h: Likewise.
39028 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39029 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39030 * sysdeps/sh/sysdep.h: Likewise.
39031 * sysdeps/sparc/sparc32/alloca.S: Likewise.
39032 * sysdeps/unix/i386/sysdep.S: Likewise.
39033 * sysdeps/unix/sparc/start.c: Likewise.
39034 * sysdeps/unix/sparc/sysdep.S: Likewise.
39035 * sysdeps/unix/sparc/sysdep.h: Likewise.
39036 * sysdeps/unix/start.c: Likewise.
39037 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39038 * sysdeps/x86_64/sysdep.h: Likewise.
39039
df78418a
UD
390402012-01-07 Ulrich Drepper <drepper@gmail.com>
39041
a784e502
UD
39042 [BZ #13553]
39043 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39044 for non-gcc.
39045 * argp/argp-fmtstream.h: Use const instead __const.
39046 * argp/argp.h: Likewise.
39047 * assert/assert.h: Likewise.
39048 * bits/fenv.h: Likewise.
39049 * bits/sched.h: Likewise.
39050 * bits/sigset.h: Likewise.
39051 * bits/sigthread.h: Likewise.
39052 * catgets/nl_types.h: Likewise.
39053 * conform/data/pthread.h-data: Likewise.
39054 * crypt/crypt-private.h: Likewise.
39055 * crypt/crypt.h: Likewise.
39056 * crypt/crypt_util.c: Likewise.
39057 * ctype/ctype.h: Likewise.
39058 * debug/execinfo.h: Likewise.
39059 * debug/mbsnrtowcs_chk.c: Likewise.
39060 * debug/mbsrtowcs_chk.c: Likewise.
39061 * debug/wcsnrtombs_chk.c: Likewise.
39062 * debug/wcsrtombs_chk.c: Likewise.
39063 * debug/wcstombs_chk.c: Likewise.
39064 * dirent/dirent.h: Likewise.
39065 * dlfcn/dlfcn.h: Likewise.
39066 * elf/neededtest4.c: Likewise.
39067 * grp/grp.h: Likewise.
39068 * gshadow/gshadow.h: Likewise.
39069 * iconv/gconv.h: Likewise.
39070 * iconv/gconv_int.h: Likewise.
39071 * iconv/gconv_simple.c: Likewise.
39072 * iconv/iconv.h: Likewise.
39073 * iconv/loop.c: Likewise.
39074 * iconv/skeleton.c: Likewise.
39075 * include/aio.h: Likewise.
39076 * include/aliases.h: Likewise.
39077 * include/argz.h: Likewise.
39078 * include/arpa/inet.h: Likewise.
39079 * include/assert.h: Likewise.
39080 * include/dirent.h: Likewise.
39081 * include/dlfcn.h: Likewise.
39082 * include/execinfo.h: Likewise.
39083 * include/fcntl.h: Likewise.
39084 * include/fenv.h: Likewise.
39085 * include/glob.h: Likewise.
39086 * include/grp.h: Likewise.
39087 * include/libintl.h: Likewise.
39088 * include/mntent.h: Likewise.
39089 * include/netdb.h: Likewise.
39090 * include/pwd.h: Likewise.
39091 * include/rpc/netdb.h: Likewise.
39092 * include/sched.h: Likewise.
39093 * include/search.h: Likewise.
39094 * include/shadow.h: Likewise.
39095 * include/signal.h: Likewise.
39096 * include/stdio.h: Likewise.
39097 * include/stdlib.h: Likewise.
39098 * include/string.h: Likewise.
39099 * include/sys/socket.h: Likewise.
39100 * include/sys/stat.h: Likewise.
39101 * include/sys/statfs.h: Likewise.
39102 * include/sys/statvfs.h: Likewise.
39103 * include/sys/syslog.h: Likewise.
39104 * include/sys/time.h: Likewise.
39105 * include/sys/uio.h: Likewise.
39106 * include/time.h: Likewise.
39107 * include/unistd.h: Likewise.
39108 * include/utmp.h: Likewise.
39109 * include/wchar.h: Likewise.
39110 * include/wctype.h: Likewise.
39111 * inet/aliases.h: Likewise.
39112 * inet/arpa/inet.h: Likewise.
39113 * inet/netinet/ether.h: Likewise.
39114 * inet/netinet/in.h: Likewise.
39115 * intl/libintl.h: Likewise.
39116 * io/bits/fcntl2.h: Likewise.
39117 * io/fcntl.h: Likewise.
39118 * io/ftw.h: Likewise.
39119 * io/sys/poll.h: Likewise.
39120 * io/sys/stat.h: Likewise.
39121 * io/sys/statfs.h: Likewise.
39122 * io/sys/statvfs.h: Likewise.
39123 * io/utime.h: Likewise.
39124 * libio/bits/stdio.h: Likewise.
39125 * libio/bits/stdio2.h: Likewise.
39126 * libio/libio.h: Likewise.
39127 * libio/libioP.h: Likewise.
39128 * libio/stdio.h: Likewise.
39129 * locale/lc-ctype.c: Likewise.
39130 * locale/locale.h: Likewise.
39131 * login/utmp.h: Likewise.
39132 * malloc/arena.c: Likewise.
39133 * malloc/malloc.c: Likewise.
39134 * malloc/malloc.h: Likewise.
39135 * malloc/mcheck.c: Likewise.
39136 * malloc/mtrace.c: Likewise.
39137 * math/bits/mathcalls.h: Likewise.
39138 * math/fenv.h: Likewise.
39139 * math/math_private.h: Likewise.
39140 * misc/bits/error.h: Likewise.
39141 * misc/bits/syslog.h: Likewise.
39142 * misc/err.h: Likewise.
39143 * misc/error.h: Likewise.
39144 * misc/fstab.h: Likewise.
39145 * misc/mntent.h: Likewise.
39146 * misc/regexp.h: Likewise.
39147 * misc/search.h: Likewise.
39148 * misc/sgtty.h: Likewise.
39149 * misc/sys/mman.h: Likewise.
39150 * misc/sys/syslog.h: Likewise.
39151 * misc/sys/uio.h: Likewise.
39152 * misc/sys/xattr.h: Likewise.
39153 * misc/ttyent.h: Likewise.
39154 * nis/rpcsvc/ypclnt.h: Likewise.
39155 * nss/nss.h: Likewise.
39156 * posix/bits/unistd.h: Likewise.
39157 * posix/fnmatch.h: Likewise.
39158 * posix/glob.h: Likewise.
39159 * posix/sched.h: Likewise.
39160 * posix/spawn.h: Likewise.
39161 * posix/sys/wait.h: Likewise.
39162 * posix/unistd.h: Likewise.
39163 * posix/wordexp.h: Likewise.
39164 * pwd/pwd.h: Likewise.
39165 * resolv/netdb.h: Likewise.
39166 * resource/sys/resource.h: Likewise.
39167 * rt/aio.h: Likewise.
39168 * rt/bits/mqueue2.h: Likewise.
39169 * rt/mqueue.h: Likewise.
39170 * shadow/shadow.h: Likewise.
39171 * signal/signal.h: Likewise.
39172 * socket/send.c: Likewise.
39173 * socket/sendto.c: Likewise.
39174 * socket/sys/socket.h: Likewise.
39175 * stdio-common/printf.h: Likewise.
39176 * stdlib/bits/stdlib.h: Likewise.
39177 * stdlib/fmtmsg.h: Likewise.
39178 * stdlib/monetary.h: Likewise.
39179 * stdlib/stdlib.h: Likewise.
39180 * stdlib/ucontext.h: Likewise.
39181 * streams/stropts.h: Likewise.
39182 * string/argz.h: Likewise.
39183 * string/bits/string2.h: Likewise.
39184 * string/string.h: Likewise.
39185 * string/strings.h: Likewise.
39186 * sunrpc/rpc/auth.h: Likewise.
39187 * sunrpc/rpc/auth_des.h: Likewise.
39188 * sunrpc/rpc/clnt.h: Likewise.
39189 * sunrpc/rpc/netdb.h: Likewise.
39190 * sunrpc/rpc/pmap_clnt.h: Likewise.
39191 * sunrpc/rpc/xdr.h: Likewise.
39192 * sysdeps/generic/inttypes.h: Likewise.
39193 * sysdeps/generic/net/if.h: Likewise.
39194 * sysdeps/generic/sys/swap.h: Likewise.
39195 * sysdeps/gnu/net/if.h: Likewise.
39196 * sysdeps/gnu/utmpx.h: Likewise.
39197 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39198 * sysdeps/i386/i486/bits/string.h: Likewise.
39199 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39200 * sysdeps/s390/bits/string.h: Likewise.
39201 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39202 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39203 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39204 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39205 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39206 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39207 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39208 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39209 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39210 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39211 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39212 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39213 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39214 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39215 * sysdeps/unix/sysv/linux/readv.c: Likewise.
39216 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39217 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39218 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39219 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39220 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39221 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39222 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39223 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39224 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39225 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39226 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39227 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39228 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39229 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39230 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39231 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39232 * sysvipc/sys/ipc.h: Likewise.
39233 * sysvipc/sys/msg.h: Likewise.
39234 * sysvipc/sys/sem.h: Likewise.
39235 * sysvipc/sys/shm.h: Likewise.
39236 * termios/termios.h: Likewise.
39237 * time/sys/time.h: Likewise.
39238 * time/time.h: Likewise.
39239 * wcsmbs/bits/wchar2.h: Likewise.
39240 * wcsmbs/uchar.h: Likewise.
39241 * wcsmbs/wchar.h: Likewise.
39242 * wctype/wctype.h: Likewise.
39243
0269750c
UD
39244 [BZ #13551]
39245 * Makeconfig: Remove all but ELF support including AIX support.
39246 * Makerules: Likewise.
39247 * config.h.in: Likewise.
39248 * config.make.in: Likewise.
39249 * configure: Likewise.
39250 * configure.in: Likewise.
39251 * csu/Makefile: Likewise.
39252 * csu/version.c: Likewise.
39253 * debug/Makefile: Likewise.
39254 * dlfcn/Makefile: Likewise.
39255 * elf/Makefile: Likewise.
39256 * extra-lib.mk: Likewise.
39257 * iconv/Makefile: Likewise.
39258 * include/libc-symbols.h: Likewise.
39259 * include/shlib-compat.h: Likewise.
39260 * resolv/Makefile: Likewise.
39261 * resolv/res_libc.c: Likewise.
39262 * rt/Makefile: Likewise.
39263 * sysdeps/i386/asm-syntax.h: Likewise.
39264 * sysdeps/i386/sysdep.h: Likewise.
39265 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39266 * sysdeps/mach/sysdep.h: Likewise.
39267 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39268 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39269 * sysdeps/s390/asm-syntax.h: Likewise.
39270 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39271 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39272 * sysdeps/sh/sysdep.h: Likewise.
39273 * sysdeps/unix/sparc/sysdep.h: Likewise.
39274 * sysdeps/wordsize-32/divdi3.c: Likewise.
39275 * sysdeps/x86_64/sysdep.h: Likewise.
39276
00bbd29b
UD
39277 * argp/Versions: Remove _argp_unlock_xxx.
39278
39279 [BZ #13559]
39280 * abilist/ld.abilist: Update. Adjust for removal of tls option.
39281 * abilist/libBrokenLocale.abilist: Likewise.
39282 * abilist/libanl.abilist: Likewise.
39283 * abilist/libc.abilist: Likewise.
39284 * abilist/libcrypt.abilist: Likewise.
39285 * abilist/libdl.abilist: Likewise.
39286 * abilist/libm.abilist: Likewise.
39287 * abilist/libnsl.abilist: Likewise.
39288 * abilist/libpthread.abilist: Likewise.
39289 * abilist/libresolv.abilist: Likewise.
39290 * abilist/librt.abilist: Likewise.
39291 * abilist/libthread_db.abilist: Likewise.
39292 * abilist/libutil.abilist: Likewise.
39293 * abilist/libnss_db.abilist: New file.
39294
39295 * scripts/abilist.awk: Add support for indirect functions.
39296
a2693a0e
UD
39297 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39298
3f05895f
UD
39299 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39300
ecb6fb48
UD
39301 * shlib-versions: Remove entries for ports architectures.
39302
664f8cb9
UD
39303 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
39304 files in ports.
39305 * elf/stackguard-macros.h: Remove support for IA-64.
39306 * elf/tst-auditmod1.c: Likewise.
39307 * sysdeps/generic/ldsodefs.h: Likewise.
39308
7ae81d88
UD
39309 * sysdeps/unix/sysv/linux/configure.in: Ports should define
39310 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39311 configure files.
39312
bdeba135
UD
39313 [BZ #13552]
39314 * configure.in: Remove --enable-omitfp support.
39315 * FAQ.in: Adjust.
39316 * config.make.in: Likewise.
39317 * Makeconfig: Likewise.
39318 * manual/install.texi: Likewise.
39319
d75a0a62
UD
39320 In case anyone cares, the IA-64 architecture could move to ports.
39321 * sysdeps/ia64/*: Removed.
39322 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 39323 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 39324
dcc9756b
UD
39325 [BZ #13555]
39326 * configure.in: Remove entries for unsupported architectures.
39327
d3761ebc 39328 [BZ #13533]
9954432e
UD
39329 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39330 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
39331 routines.
39332 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39333 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39334 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
39335 fall back to using wcrtomb.
39336 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39337 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
39338 renaming.
39339 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39340 * wcsmbs/tst-c16c32-1.c: New file.
39341
39342 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39343 local variable.
39344
c3a87236
UD
39345 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39346
28926a1b
UD
39347 * elf/tst-unique3.cc: Add explicit declaration of gets.
39348 * elf/tst-unique3lib.cc: Likewise.
39349 * elf/tst-unique3lib2.cc: Likewise.
39350 * elf/tst-unique4.cc: Likewise.
39351
df78418a
UD
39352 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39353
8ecd6b2a
JM
393542012-01-06 Joseph Myers <joseph@codesourcery.com>
39355
39356 [BZ #13566]
39357 * assert/assert.h (static_assert): Don't define for C++.
39358 * libio/stdio.h (gets): Do declare for C++ <= C++11.
39359 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39360
9f115170
UD
393612012-01-03 Ulrich Drepper <drepper@gmail.com>
39362
5e0d0300
UD
39363 * iconv/loop.c (single loop): Fix assertion in storing of
39364 remaining bytes.
39365
9f115170
UD
39366 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39367
81fb02b0
UD
393682012-01-01 Ulrich Drepper <drepper@gmail.com>
39369
39370 * posix/getconf.c: Update copyright year.
39371 * nss/getent.c: Likewise.
a316c1f6 39372 * nss/makedb.c: Likewise.
81fb02b0
UD
39373 * iconv/iconvconfig.c: Likewise.
39374 * iconv/iconv_prog.c: Likewise.
39375 * elf/ldconfig.c: Likewise.
a316c1f6
UD
39376 * elf/pldd.c: Likewise.
39377 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
39378 * catgets/gencat.c: Likewise.
39379 * csu/version.c: Likewise.
39380 * elf/ldd.bash.in: Likewise.
39381 * elf/sprof.c (print_version): Likewise.
39382 * locale/programs/locale.c: Likewise.
39383 * locale/programs/localedef.c: Likewise.
a316c1f6 39384 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
39385 * nscd/nscd.c (print_version): Likewise.
39386 * debug/xtrace.sh: Likewise.
39387 * malloc/memusage.sh: Likewise.
39388 * malloc/mtrace.pl: Likewise.
39389 * debug/catchsegv.sh: Likewise.
39390
2ba92745
JJ
393912011-12-30 Jakub Jelinek <jakub@redhat.com>
39392
39393 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39394 pure attribute.
39395
dadebdae
UD
393962011-12-24 Ulrich Drepper <drepper@gmail.com>
39397
d3761ebc 39398 [BZ #13533]
db6af3eb
UD
39399 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39400 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39401 transformations.
39402 * iconv/gconv_int.h: Likewise.
39403 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39404 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39405 from libc for GLIBC_2.16.
39406 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39407 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39408 * wcsmbs/uchar.h: Really define mbstate_t.
39409 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39410 * wcsmbs/c16rtomb.c: New file.
39411 * wcsmbs/mbrtoc16.c: New file.
39412 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39413 for C/POSIX locale.
39414 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39415 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39416
dadebdae
UD
39417 * wcsmbs/wchar.h: Add missing __restrict.
39418
67371b56
UD
394192011-12-23 Ulrich Drepper <drepper@gmail.com>
39420
74033a25
UD
39421 [BZ #13532]
39422 * time/Makefile (routines): Add timespec_get.
39423 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39424 * time/time.h: Define TIME_UTC and declare timespec_get. Define
39425 timespec for ISO C11.
39426 * time/timespec_get.c: New file.
39427 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39428 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39429
380d7e87
UD
39430 [BZ #13531]
39431 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39432 * stdlib/stdlib.h: Declare aligned_alloc.
39433 * Versions.def: Add GLIBC_2.16 for libc.
39434 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39435
4e9e7a35
UD
39436 [BZ 13527]
39437 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39438 ISO C11.
39439
380d7e87 39440 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
39441 code.
39442
03a71829
UD
39443 [BZ #13528]
39444 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
39445
839e283e
UD
39446 [BZ #13529]
39447 * assert/assert.h (static_assert): Define.
39448
ce5294e2 39449 * version.h: Update for 2.16 development version.
90fa7312 39450
8d44e150 39451 [BZ #13526]
d7809905
UD
39452 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
39453 _ISOC11_SOURCE.
39454
c0da14cd
UD
39455 * version.h (RELEASE): Bump for 2.15 release.
39456 * include/features.h (__GLIBC_MINOR__): Bump to 15.
39457
530a3249
MP
39458 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
39459 Patch by Marek Polacek <mpolacek@redhat.com>.
39460
67371b56
UD
39461 * bits/byteswap.h: Protect long long constants with __extension__.
39462 * sysdeps/i386/bits/byteswap.h: Likewise.
39463 * sysdeps/ia64/bits/byteswap.h: Likewise.
39464 * sysdeps/s390/bits/byteswap.h: Likewise.
39465 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39466
15db4de1
LD
394672011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39468
39469 [BZ #13540]
bbe315ea
LD
39470 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
39471 destination buffer.
15db4de1
LD
39472 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39473
2b2596b1
MP
394742011-12-23 Marek Polacek <polacek@redhat.com>
39475
39476 * elf/dl-addr.c (determine_info): Add inline keyword.
39477 * elf/tst-auditmod4b.c (check_avx): Likewise.
39478 * elf/tst-auditmod6b.c (check_avx): Likewise.
39479 * elf/tst-auditmod6c.c (check_avx): Likewise.
39480 * elf/tst-auditmod7b.c (check_avx): Likewise.
39481
70c6c246
UD
394822011-12-23 Ulrich Drepper <drepper@gmail.com>
39483
39484 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
39485 !__SSE_MATH__.
39486
c044cf14
LD
394872011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39488
15db4de1 39489 [BZ #13540]
c044cf14
LD
39490 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
39491 processing for last bytes.
39492
6b13d9d9
BH
394932011-08-06 Bruno Haible <bruno@clisp.org>
39494
d455f537
BH
39495 [BZ #13061]
39496 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
39497 U+0385, not to U+1FEE.
39498
6b13d9d9
BH
39499 [BZ #13062]
39500 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
39501 entry for U+00A5 U+0301.
39502
db910efd
UD
395032011-12-22 Ulrich Drepper <drepper@gmail.com>
39504
27deeafc
UD
39505 [BZ #13166]
39506 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
39507 buffer for the output is too small.
39508
aed9d171
UD
39509 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
39510 optimization.
39511
db910efd
UD
39512 [BZ #13185]
39513 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
39514 SSE flags if possible.
39515
2bd779ae
LD
395162011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39517
e7f9dac3 39518 [BZ #13540]
2bd779ae
LD
39519 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
39520 processing for last bytes.
39521
154bfc16
JM
395222011-12-22 Joseph Myers <joseph@codesourcery.com>
39523
39524 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
39525 (syscall-list-default-options, syscall-list-default-condition)
39526 (syscall-list-includes): Define.
39527 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
39528 list of ABIs and options and #if conditions for each ABI. Do not
39529 handle common syscalls between ABIs specially.
39530 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
39531 Remove.
39532 (syscall-list-variants, syscall-list-32bit-options)
39533 (syscall-list-32bit-condition, syscall-list-64bit-options)
39534 (syscall-list-64bit-condition): Define.
39535 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
39536 (syscall-list-variants, syscall-list-32bit-options)
39537 (syscall-list-32bit-condition, syscall-list-64bit-options)
39538 (syscall-list-64bit-condition): Define.
39539 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
39540 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/x86_64/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
21eaf3a5
UD
395502011-12-22 Ulrich Drepper <drepper@gmail.com>
39551
16c6f992
UD
39552 * locale/iso-639.def: Add brx entry.
39553
41043168
UD
39554 [BZ #13328]
39555 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
39556 Proposed by Mariusz_Cukr <marcukr@op.pl>.
39557
21eaf3a5
UD
39558 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
39559 __feraiseexcept_renamed.
39560
e3a851a2
UD
395612011-12-21 Ulrich Drepper <drepper@gmail.com>
39562
4920765e
UD
39563 [BZ #13538]
39564 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
39565 EPOLLET with unsigned values.
39566 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39567 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39568
e3a851a2
UD
39569 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
39570 to large cancellation.
39571 * math/s_cacoshf.c: Likewise.
39572 * math/s_cacoshl.c: Likewise.
39573
b27e24b8
RK
395742011-11-18 Richard B. Kreckel <kreckel@ginac.de>
39575
39576 [BZ #13305]
aebefeee 39577 [BZ #12786]
b27e24b8
RK
39578 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
39579 * math/s_cacoshf.c: Likewise.
39580 * math/s_cacoshl.c: Likewise.
39581
ee190f67
UD
395822011-12-21 Ulrich Drepper <drepper@gmail.com>
39583
39584 [BZ #13439]
39585 * iconv/gconv.h: Define __GCONV_SWAP.
39586 * iconvdata/unicode.c: The swap bit must be stored in __flags.
39587 * iconvdata/utf-16.c: Likewise.
39588 * iconvdata/utf-32.c: Likewise.
39589
707f25df
AS
395902011-12-21 Andreas Schwab <schwab@linux-m68k.org>
39591
39592 [BZ #13524]
39593 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
39594 numerator after shifting it by one limb.
39595
d2daaa1e
RÁE
395962011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
39597
39598 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
39599 under [__USE_EXTERN_INLINES].
39600
a4647e72
UD
396012011-12-17 Ulrich Drepper <drepper@gmail.com>
39602
39603 [BZ #13446]
39604 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
39605
f0b264f1
AZ
396062011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39607
39608 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
39609 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
39610 optimized code.
39611 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
39612 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
39613 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
39614 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
39615 for strncasecmp/strncasecmp_l compilation.
39616 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
39617 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
39618
8ef4f244
MP
396192011-12-08 Marek Polacek <mpolacek@redhat.com>
39620
39621 [BZ #13484]
39622 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
39623 of __asm__.
39624
97ac2654
UD
396252011-12-17 Ulrich Drepper <drepper@gmail.com>
39626
39627 [BZ #13506]
39628 * time/tzfile.c (__tzfile_read): Check values from file header.
39629
91d2a845
WS
396302011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39631
39632 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
39633 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
39634 * powerpc/powerpc32/dl-start.S: Likewise.
39635 * powerpc/powerpc32/elf/start.S: Likewise.
39636 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39637 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
39638 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
39639 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
39640 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39641 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
39642 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
39643 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39644 * powerpc/powerpc32/fpu/s_round.S: Likewise.
39645 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39646 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39647 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39648 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39649 * powerpc/powerpc32/memset.S: Likewise.
39650 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39651 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39652 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39653 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39654 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39655 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39656 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39657 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39658 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
39659 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
39660 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
39661 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39662 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39663
a1267ba1
AZ
396642011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39665
39666 * math/libm-test.inc: Added more nearbyint tests.
39667 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
39668 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
39669 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
39670 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
39671
ad8ac1bd
RL
396722011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
39673
39674 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
39675 FD_CLOEXEC.
39676
1d3e4b61
UD
396772011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39678
39679 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
39680 Add wcscpy-ssse3 wcscpy-c.
39681 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
39682 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
39683 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
39684 * sysdeps/x86_64/wcschr.S: New file.
39685 * sysdeps/x86_64/wcsrchr.S: New file.
39686 * string/test-strcmp.c: Remove checking of wcscmp function for
39687 wrong alignments.
39688 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
39689 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
39690 wcsrchr-sse2 wcsrchr-c.
39691 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
39692 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
39693 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
39694 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
39695 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
39696 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
39697 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
39698 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
39699 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
39700 * wcsmbc/wcschr.c (WCSCHR): New macro.
39701
5b330a2d
UD
397022011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39703
39704 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
39705 * wcsmbs/test-wcsrchr.c: New file.
39706 * string/test-strrchr.c: Add wcsrchr support.
39707 (WIDE): New macro.
39708 * wcsmbs/test-wcscpy.c: New file.
39709 * string/test-strcpy.c: Add wcscpy support.
39710 (WIDE): New macro.
26428b7c 39711
f039c043
UD
397122011-12-10 Ulrich Drepper <drepper@gmail.com>
39713
39714 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
39715 the inner loop.
39716
850fb039
AS
397172011-12-06 Andreas Schwab <schwab@linux-m68k.org>
39718
39719 [BZ #13472]
39720 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
39721
4efbd5cb
UD
397222011-12-04 Ulrich Drepper <drepper@gmail.com>
39723
52ff5dd0 39724 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 39725 Minor optimizations.
52ff5dd0 39726
4efbd5cb
UD
39727 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
39728 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
39729 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
39730
8a426e12
UD
397312011-12-03 Ulrich Drepper <drepper@gmail.com>
39732
aff2453d
UD
39733 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
39734 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
39735 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
39736 for gcc to avoid warnings.
39737 * inet/Makefile (tests): Add tst-checks.
39738 * inet/tst-checks.c: New file.
39739
39740 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
39741 warning.
39742
39743 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
39744 __wmemcmp_sse2.
39745
39746 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
39747 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
39748
8a426e12
UD
39749 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
39750
9bea3473
UD
397512011-12-02 Ulrich Drepper <drepper@gmail.com>
39752
3a965496
UD
39753 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
39754 problem.
39755
9bea3473
UD
39756 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
39757
f101631b
UD
397582011-11-29 Joseph Myers <joseph@codesourcery.com>
39759
39760 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
39761 conditional on GCC version.
39762 (__arch_compare_and_exchange_val_8_acq)
39763 (__arch_compare_and_exchange_val_16_acq)
39764 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
39765 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
39766 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
39767
a98275aa
UD
397682011-12-02 Joseph Myers <joseph@codesourcery.com>
39769
39770 * sysdeps/sh/backtrace.c: New file.
39771
d4cc29a2
AS
397722011-12-02 Andreas Schwab <schwab@redhat.com>
39773
39774 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
39775 parenthesis.
39776
6257af2d
AS
397772011-12-01 Andreas Schwab <schwab@redhat.com>
39778
39779 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
39780 falling back to utime.
39781
b5f44c1a
AS
397822011-11-30 Andreas Schwab <schwab@redhat.com>
39783
39784 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
39785 expectations for float.
39786
f3a6cc0a
AS
397872011-11-29 Andreas Schwab <schwab@redhat.com>
39788
39789 * locale/weight.h (findidx): Add parameter len.
39790 * locale/weightwc.h (findidx): Likewise.
39791 * posix/fnmatch_loop.c (FCT): Adjust caller.
39792 * posix/regcomp.c (build_equiv_class): Likewise.
39793 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
39794 * posix/regexec.c (check_node_accept_bytes): Likewise.
39795 * string/strcoll_l.c (STRCOLL): Likewise.
39796 * string/strxfrm_l.c (STRXFRM): Likewise.
39797
9d65ea3a
UD
397982011-11-17 Ulrich Drepper <drepper@gmail.com>
39799
39800 * Makefile.in: Remove CVSOPT handling.
39801 * configure.in: Remove use of AC_REVISION.
39802 * iconvdata/Makefile (distribute): No need to filter out CVS.
39803 * scripts/list-sources.sh: Remove CVS, subversion and monotone
39804 handling.
39805
5583a086
AS
398062011-11-16 Andreas Schwab <schwab@redhat.com>
39807
39808 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
39809 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
39810 [USE_AS_STRNCASECMP_L]: Likewise.
39811 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
39812 NO_TLS_DIRECT_SEG_REFS.
39813 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
39814 Fix argument offsets for non-PIC.
39815 [USE_AS_STRNCASECMP_L]: Likewise.
39816 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
39817 NO_TLS_DIRECT_SEG_REFS.
39818
d62a8200
UD
398192011-11-15 Ulrich Drepper <drepper@gmail.com>
39820
9d65ea3a 39821 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
39822 O_CLOEXEC.
39823 * locale/loadlocale.c (_nl_load_locale): Likewise.
39824
09f93bd3
AS
398252011-11-15 Andreas Schwab <schwab@redhat.com>
39826
446514f9
AS
39827 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
39828 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
39829 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
39830 (SYSCALL_GETTIME): Set errno on error.
39831
09f93bd3
AS
39832 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
39833 count references to noai6ai_cached.
39834
312be3f9
UD
398352011-11-15 Ulrich Drepper <drepper@gmail.com>
39836
39837 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
39838
39839 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
39840 FD_CLOEXEC for /proc/self/maps.
39841
39842 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
39843 FD_CLOEXEC for /proc/meminfo.
39844
39845 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
39846 gai.conf.
39847
39848 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
39849 FD_CLOEXEC for given file.
39850
39851 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
39852
39853 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
39854 FD_CLOEXEC for /etc/hosts.
39855 (_gethtent): Likewise.
39856
39857 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
39858
39859 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
39860 cancellation and set FD_CLOEXEC for /etc/netgroup.
39861
39862 * nss/nss_files/files-key.c (search): Don't allow cancellation when
39863 reading /etc/publickey.
39864
39865 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
39866 allow cancellation when reading /etc/group.
39867
39868 * nss/nss_files/files-alias.c (internal_setent): Don't allow
39869 cancellation.
39870 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
39871
39872 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
39873 when using data file.
39874
39875 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
39876
39877 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
39878 (write_nis_obj): Use "c" and "e" in fopen.
39879
39880 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
39881
39882 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
39883
39884 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
39885
39886 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
39887
39888 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
39889 locale.alias.
39890
39891 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
39892
39893 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
39894
39895 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
39896
39897 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
39898 file parsing and set FD_CLOEXEC.
39899
82af0fa8
UD
399002011-11-14 Ulrich Drepper <drepper@gmail.com>
39901
39902 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
39903
a5fb313c
AS
399042011-11-14 Andreas Schwab <schwab@redhat.com>
39905
39906 * malloc/arena.c (arena_get2): Don't call reused_arena when
39907 _int_new_arena failed.
39908
6abf3465
UD
399092011-11-14 Ulrich Drepper <drepper@gmail.com>
39910
39911 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
39912 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
39913 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
39914 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39915 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39916 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
39917 to compile strcasecmp and strncasecmp.
39918 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
39919 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
39920
39921 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
39922
76e3966e
UD
399232011-11-13 Ulrich Drepper <drepper@gmail.com>
39924
39925 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
39926 locale-defines.sym to gen-as-const-headers.
39927 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
39928 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
39929 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
39930 to compile strcasecmp and strncasecmp.
39931 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
39932 strcasecmp_l and strncasecmp_l.
39933 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
39934 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
39935 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
39936 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
39937 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
39938 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
39939 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
39940 * sysdeps/i386/i686/multiarch/strncase.S: New file.
39941 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
39942 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
39943 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
39944
ab26144e
UD
399452011-11-12 Ulrich Drepper <drepper@gmail.com>
39946
7edb22ef
UD
39947 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
39948 result of SYSDEP_GETTIME_CPU to retval.
39949 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
39950 parameter list to macro. Remove trailing semicolon. Adjust users.
39951
9694fc44
UD
39952 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
39953 variable.
39954
8ad89ef8
UD
39955 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
39956 mantissa words.
39957 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
39958
0c822ef9
UD
39959 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
39960 from unused variable.
39961
874e0564
UD
39962 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
39963 DWARF definitions.
39964 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
39965 for assembling.
39966
3a2edc79
UD
39967 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
39968 over namespaces.
39969
f3c2577f
UD
39970 * sunrpc/rpc_prot.c (rejected): Fix case value.
39971
294ce126
UD
39972 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
39973 unsigned long long int to avoid warnings in shift.
39974
5e2b63c6
UD
39975 * posix/regex_internal.c (re_string_reconstruct): Actually use result
39976 of use of trans.
39977 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
39978 variable tmp.
39979
e7f4b08e
UD
39980 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
39981 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
39982 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
39983
ab26144e
UD
39984 * nis/nis_table.c (nis_list): Use variable of correct type for
39985 result of __follow_path call.
39986
8a6d5255
AZ
399872011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39988
39989 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
39990 of math functions ceil, trunc, floor, round, and sqrt, when
39991 avaliable on the platform.
39992 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
39993 name clash.
39994 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39995 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39996 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39997
aaddc98c
MP
399982011-10-30 Marek Polacek <mpolacek@redhat.com>
39999
40000 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40001 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40002
95b7042b
RM
400032011-11-11 Roland McGrath <roland@hack.frob.com>
40004
40005 * include/unistd.h: Fix __readlink return type.
40006 Reported by Chris Metcalf <cmetcalf@tilera.com>.
40007
57769839
UD
400082011-11-11 Ulrich Drepper <drepper@gmail.com>
40009
40010 * stdlib/ucontext.h: Undo last change for makecontext.
40011
edc5984d
AS
400122011-11-11 Andreas Schwab <schwab@redhat.com>
40013
98591e58
AS
40014 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40015
edc5984d
AS
40016 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40017 * setjmp/setjmp.h: Mark functions as non-leaf.
40018 * setjmp/bits/setjmp2.h: Likewise.
40019 * stdlib/ucontext.h: Likewise.
40020
77cdc054
AS
400212011-11-10 Andreas Schwab <schwab@redhat.com>
40022
40023 * malloc/arena.c (_int_new_arena): Don't increment narenas.
40024 (reused_arena): Don't check arena limit.
40025 (arena_get2): Atomically check arena limit.
40026
fe72eebd
UD
400272011-11-08 Ulrich Drepper <drepper@gmail.com>
40028
5f078c32
UD
40029 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40030 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40031
fe72eebd
UD
40032 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40033 instructions.
40034
ae1bc2fa
AS
400352011-11-07 Andreas Schwab <schwab@redhat.com>
40036
7583a88d
AS
40037 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40038 handler when locking.
40039
ae1bc2fa
AS
40040 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40041 Fix size of allocated buffer.
40042
10fb0bfa
AS
400432011-11-04 Andreas Schwab <schwab@redhat.com>
40044
998832a4
AS
40045 [BZ #10103]
40046 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40047 declarations for long double functions.
40048 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40049
10fb0bfa
AS
40050 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40051
3d7ba52b
AS
400522011-11-03 Andreas Schwab <schwab@redhat.com>
40053
a9ae54a1
AS
40054 * nscd/nscd.c (main): Don't start AVC thread until credentials are
40055 installed.
40056
3d7ba52b
AS
40057 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40058 is disabled.
40059
bc8db248
ST
400602011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
40061
40062 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40063
45b96dd6
AS
400642011-11-01 Andreas Schwab <schwab@linux-m68k.org>
40065
647776f6
AS
40066 * include/alloca.h (stackinfo_alloca_round): Define.
40067 (extend_alloca): Use it.
40068 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40069 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40070 here.
40071
d91a8b93
AS
40072 * scripts/check-local-headers.sh: Ignore libaudit.h.
40073
45b96dd6
AS
40074 * nscd/Makefile (extra-objs): Make recursively expanded.
40075
432d41ce
UD
400762011-11-01 Ulrich Drepper <drepper@gmail.com>
40077
34372fc6
UD
40078 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40079 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40080
fadb59f8
UD
40081 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40082 * posix/tst-rfc3484-2.c: Likewise.
40083 * posix/tst-rfc3484-3.c: Likewise.
40084
78239589
UD
40085 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40086 process_vm_writev.
40087 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40088 process_vm_writev.
40089 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40090 process_vm_writev from libc using GLIBC_2.15 version.
40091
432d41ce
UD
40092 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40093
02f9c6cf
PP
400942011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
40095
40096 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40097 stack usage.
40098
3a2c0242
UD
400992011-10-31 Ulrich Drepper <drepper@gmail.com>
40100
f4ec4833
UD
40101 [BZ #13367]
40102 * nss/getent.c (initgroups_keys): Show error message in case no group
40103 names are given.
40104
3a2c0242
UD
40105 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40106 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40107 __bump_nl_timestamp.
40108 * nscd/connections (nscd_init): When host database is served open
40109 netlink socket and request notification about configuration changes.
40110 (main_loop_poll): Track netlink file descriptor and bump timestamp
40111 in case data becomes available.
40112 (main_loop_epoll): Likewise.
40113 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40114 (database_pers_head): Add extra_data fileds.
40115 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40116 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40117 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40118 Adjust caller.
40119 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40120 in6ai data, call __free_in6ai.
40121 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40122 Add -DHAVE_NETLINK.
40123 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
40124 interface information. Reuse previous data if netlink timestamp
40125 is not changed.
40126 (__bump_nl_timestamp): New function.
40127 (__free_in6ai): New function.
40128
636064eb
UD
401292011-10-30 Ulrich Drepper <drepper@gmail.com>
40130
40131 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40132 close_not_cancel_no_status here.
40133 (__check_pf): Reorganize code a bit to not call close twice if OOM.
40134
9beb2334
UD
401352011-10-29 Ulrich Drepper <drepper@gmail.com>
40136
6ef76f3b
UD
40137 [BZ #13276]
40138 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40139 return value.
40140
0ffc4f3e 40141 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
40142 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40143 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40144
cb95113e
UD
401452011-07-03 Andreas Jaeger <aj@suse.de>
40146
40147 [BZ #10709]
40148 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40149 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40150 * math/libm-test.inc (sin_test): Add test case.
40151
a1b560ff
UD
401522011-10-29 Ulrich Drepper <drepper@gmail.com>
40153
c9aaface
UD
40154 [BZ #13337]
40155 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40156 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40157
d272e7f1
UD
40158 * elf/chroot_canon.c (chroot_canon): Cleanups.
40159
1bc33071
UD
40160 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40161
1760874d
TJ
40162 [BZ #13335]
40163 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40164 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40165
51d91b18
UD
40166 * string/test-strchr.c: Make usable for strchrnul testing.
40167 * string/test-strchrnul.c: New file.
40168 * string/Makefile (strop-tests): Add strchrnul.
40169
a1b560ff 40170 * po/it.po: Update from translation team.
b611fb81 40171 * po/es.po: Likewise.
a1b560ff 40172
a5b81e1f
UD
401732011-10-28 Ulrich Drepper <drepper@gmail.com>
40174
fd52bc6d
UD
40175 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40176 the three constants needed as parameters. Drop the others.
40177 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40178 __m128i_strloadu_tolower.
52e4b9eb
UD
40179 Create and initialize variable zero and use it in all the places
40180 where _mm_setzero_si128 was used.
fd52bc6d 40181
a5b81e1f
UD
40182 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40183 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40184 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40185 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40186 anymore.
40187 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40188 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40189 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40190 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40191 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40192 __mpranred, __mptan.
40193 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40194 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40195 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40196 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40197 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40198 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40199 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40200 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40201 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40202
b4343346
AS
402032011-10-28 Andreas Schwab <schwab@redhat.com>
40204
0c92d8a8
AS
40205 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40206 redefine if SHARED.
40207 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40208
b4343346
AS
40209 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40210 wide char related routines to wcsmbs subdir.
40211
3871f58f
AS
402122011-10-27 Andreas Schwab <schwab@redhat.com>
40213
40214 [BZ #13344]
40215 * misc/sys/cdefs.h (__THROWNL): Define.
40216 * posix/unistd.h: Use __THREADNL instead of __THREAD
40217 for memory synchronization functions.
40218
94d44d9f
RM
402192011-10-26 Roland McGrath <roland@hack.frob.com>
40220
21b64b15 40221 [BZ #13349]
94d44d9f
RM
40222 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40223 doesn't exist.
40224 * manual/stdio.texi (Obstack Streams): Node removed.
40225
f6ce9294
AS
402262011-10-26 Andreas Schwab <schwab@redhat.com>
40227
80479147
AS
40228 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40229 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40230 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40231
f6ce9294
AS
40232 * math/math_private.h (math_force_eval): Allow non-addressable
40233 arguments.
40234 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40235
618280a1
UD
402362011-10-25 Ulrich Drepper <drepper@gmail.com>
40237
e0016b11
UD
40238 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40239 file is not needed.
40240
40241 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40242 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40243 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40244 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40245 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40246 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40247 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40248 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40249 Add AVX variants.
40250 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40251 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40252 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40253 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40254 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40255 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40256 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40257 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40258 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40259 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40260 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40261 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40262 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40263 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40264 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40265 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40266 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40267 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40268 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40269
40270 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40271 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
40272
618280a1
UD
40273 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40274 place. Use VEX encoding when compiling for AVX.
40275
37822576
AS
402762011-10-25 Andreas Schwab <schwab@redhat.com>
40277
1f1e1947
AS
40278 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40279 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40280
37822576
AS
40281 * string/test-strchr.c (do_test): Don't generate NUL bytes.
40282
31ea014d
UD
402832011-10-25 Ulrich Drepper <drepper@gmail.com>
40284
d7826aa1 40285 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 40286 useless if() expression.
d7826aa1
UD
40287 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40288 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40289 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40290 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40291 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40292 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40293 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40294 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40295 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40296 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40297 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40298 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40299 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40300 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40301 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40302 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40303 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40304 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40305 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40306
31ea014d
UD
40307 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40308
16437fec
AS
403092011-10-25 Andreas Schwab <schwab@redhat.com>
40310
40311 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40312 condition.
40313 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40314
31d3cc00
UD
403152011-10-25 Ulrich Drepper <drepper@gmail.com>
40316
40317 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40318 .text section. Avoid duplicate constants.
40319 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40320 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40321 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40322 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40323 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40324 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40325 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40326 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40327 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40328 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40329 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40330 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40331 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40332 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40333 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40334 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40335 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40336 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40337 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40338 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40339 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40340 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40341 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40342 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40343 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40344 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40345 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40346 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40347 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40348 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40349 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40350 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40351 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40352 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40353 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40354 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40355 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40356 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40357 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40358 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40359 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40360 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40361 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40362 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40363 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40364
58985aa9
UD
403652011-10-24 Ulrich Drepper <drepper@gmail.com>
40366
202c9deb
UD
40367 * sysdeps/x86_64/dla.h: Move to ...
40368 * sysdeps/x86_64/fpu/dla.h: ...here.
40369 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40370 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 40371
af968f62
UD
40372 * config.make.in: Add have-mfma4 entry.
40373 * configure.in: Substitute libc_cv_cc_fma4.
40374 * math/Makefile (dbl-only-routines): Add sincostab.
40375 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40376 Use __sincostab not sincos.
40377 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40378 name is a macro.
40379 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40380 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40381 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40382 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
40383 using __copysign.
40384 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
40385 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
40386 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40387 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40388 and __inv.
40389 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40390 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40391 __copysign.
40392 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
40393 define aliases when function name is a macro.
40394 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40395 sysdeps/ieee754/dbl-64/sincos.tbl.
40396 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40397 fma4-enabled routines.
40398 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40399 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40400 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40401 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40402 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40403 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40404 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40405 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40406 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40407 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40408 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40409 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40410 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40411 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40412 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40413 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40414 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40415 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40416 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40417 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40418 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40419 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40420 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40421 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40422 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40423 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40424 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40425 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40426 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40427 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40428
58985aa9
UD
40429 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40430 rename.
40431 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40432 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40433 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40434 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40435 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40436 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40437 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40438 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40439
a201fbcf
AS
404402011-10-24 Andreas Schwab <schwab@redhat.com>
40441
40442 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
40443
fc2ee42a
LD
404442011-10-23 Ulrich Drepper <drepper@gmail.com>
40445
bb3129bd
UD
40446 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
40447
0275fff8
UD
40448 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
40449 prediction.
40450 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
40451
2fa2ae85
UD
40452 * string/strnlen.c: Don't define STRNLEN, reverse logic.
40453 Remove unused variable magic_bits.
40454 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
40455
fc2ee42a
LD
40456 * string/strnlen.c: Define and use STRNLEN macro.
40457 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
40458 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
40459 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
40460 * wcsmbs/wcslen.c: Define and use WCSLEN.
40461 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
40462 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
40463 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
40464 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
40465 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
40466 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
40467 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40468
ce7dd29f
LD
404692011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40470
40471 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40472 strnlen-sse2-no-bsf.
40473 Rename strlen-no-bsf to strlen-sse2-no-bsf.
40474 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
40475 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
40476 Add strnlen support.
40477 (USE_AS_STRNLEN): New macro.
40478 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
40479 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
40480 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
40481 * sysdeps/x86_64/wcslen.S: New file.
40482
979c70a3
MZ
404832011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
40484
40485 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40486 XMM-moves are used for copying on small sizes.
40487
2d09f82f
LD
404882011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40489
40490 * wcsmbs/Makefile (strop-tests): Add wcschr.
40491 * wcsmbs/test-wcschr.c: New file.
40492 * string/test-strchr.c: Update.
40493 Add wcschr support.
40494 (WIDE): New macro.
40495
619fccca
LD
404962011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40497
2d09f82f 40498 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
40499 * wcsmbs/test-wcslen.c: New file.
40500 * string/test-strlen.c: Update.
40501 Add wcslen support.
40502 (WIDE): New macro.
40503
09f699ea
UD
405042011-10-23 Ulrich Drepper <drepper@gmail.com>
40505
40506 * po/it.po: Update from translation team.
40507
95584d3b
LD
405082011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40509
40510 * sysdeps/x86_64/wcscmp.S: Update.
40511 Fix wrong comparison semantics.
40512 wcscmp shall use signed comparison not unsigned.
40513 Don't use substraction to avoid overflow bug.
40514 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40515 * wcsmbc/wcscmp.c: Likewise.
40516 * string/test-strcmp.c: Likewise.
40517 Add new tests to check cases with negative values.
40518
c8b3296b
UD
405192011-10-23 Ulrich Drepper <drepper@gmail.com>
40520
40521 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
40522 * sysdeps/x86_64/dla.h: ...here. New file.
40523 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
40524 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40525 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40526 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40527 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40528 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40529 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40530 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40531 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40532
246ad57a
AS
405332011-10-23 Andreas Schwab <schwab@linux-m68k.org>
40534
40535 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
40536 __ynl_finite aliases.
40537
a1a87169
UD
405382011-10-22 Ulrich Drepper <drepper@gmail.com>
40539
0d355eb7
UD
40540 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40541
a1a87169
UD
40542 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
40543 define DLA_FMA.
40544 [DLA_FMA] (EMULV): Use DLA_FMA.
40545 [DLA_FMA] (MUL12): Use EMULV.
40546 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
40547 that are not needed.
40548 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40549 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40550 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40551 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40552 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40553 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40554 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40555
ee2aafe0
AS
405562011-10-22 Andreas Schwab <schwab@linux-m68k.org>
40557
40558 * math/s_nan.c: Undef __nan.
40559 * math/s_nanf.c: Undef __nanf.
40560 * math/s_nanl.c: Undef __nanl.
40561 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
40562 "math_private.h".
40563
bc62c2fb
UD
405642011-10-22 Ulrich Drepper <drepper@gmail.com>
40565
77425c63
UD
40566 * math/s_catan.c: Add branch predictions.
40567 * math/s_catanf.c: Likewise.
40568 * math/s_catanh.c: Likewise.
40569 * math/s_catanhf.c: Likewise.
40570 * math/s_catanhl.c: Likewise.
40571 * math/s_catanl.c: Likewise.
40572 * math/s_cexp.c: Likewise.
40573 * math/s_cexpf.c: Likewise.
40574 * math/s_cexpl.c: Likewise.
40575 * math/s_clog.c: Likewise.
40576 * math/s_clog10.c: Likewise.
40577 * math/s_clog10f.c: Likewise.
40578 * math/s_clog10l.c: Likewise.
40579 * math/s_clogf.c: Likewise.
40580 * math/s_clogl.c: Likewise.
40581 * math/s_csqrt.c: Likewise.
40582 * math/s_csqrtf.c: Likewise.
40583 * math/s_csqrtl.c: Likewise.
40584 * math/s_ctanf.c: Likewise.
40585 * math/s_ctanh.c: Likewise.
40586 * math/s_ctanhf.c: Likewise.
40587 * math/s_ctanhl.c: Likewise.
40588 * math/s_ctanl.c: Likewise.
40589
bc62c2fb
UD
40590 * math/math_private.h: Define __nan, __nanf, __nanl.
40591 * math/s_cacosh.c: Include <math_private.h>.
40592 * math/s_cacoshl.c: Likewise.
40593 * math/s_casinh.c: Likewise.
40594 * math/s_casinhf.c: Likewise.
40595 * math/s_casinhl.c: Likewise.
40596 * math/s_ccos.c: Rely entire on ccosh.
40597 * math/s_ccosf.c: Rely entire on ccoshf.
40598 * math/s_ccosl.c: Rely entirely on ccoshl.
40599 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
40600 Remove tests for FE_INVALID.
40601 * math/s_ccoshf.c: Likewise.
40602 * math/s_ccoshl.c: Likewise.
40603 * math/s_csin.c: Likewise.
40604 * math/s_csinf.c: Likewise.
40605 * math/s_csinh.c Likewise.
40606 * math/s_csinhf.c: Likewise.
40607 * math/s_csinhl.c: Likewise.
40608 * math/s_csinl.c: Likewise.
40609 * math/s_ctan.c: Likewise.
40610 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
40611 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
40612 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
40613
8ec250a4
UD
406142011-10-21 Ulrich Drepper <drepper@gmail.com>
40615
c196fed8
UD
40616 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
40617 compilation problems.
40618
8ec250a4
UD
40619 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
40620 __builtin_expect.
40621
8d4f46c6
UD
406222011-10-20 Ulrich Drepper <drepper@gmail.com>
40623
ed72b654
UD
40624 * sysdeps/i386/configure.in: Test for -mfma4 option.
40625 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
40626 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
40627 COMMON_CPUID_INDEX_80000001.
40628 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
40629 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
40630 use it if FMA3 is not supported.
40631 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
40632
8d4f46c6
UD
40633 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
40634 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40635
d45c60c2
AS
406362011-10-20 Andreas Schwab <schwab@redhat.com>
40637
40638 [BZ #12892]
40639 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
40640 it would create a cycle with a link time dependency.
40641
d9a4d2ab
UD
406422011-10-19 Ulrich Drepper <drepper@gmail.com>
40643
855d1560
UD
40644 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
40645 instruction.
40646 * string/Makefile (strop-tests): Add rawmemchr.
40647 * string/test-rawmemchr.c: New file.
40648
d9a4d2ab
UD
40649 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
40650 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
40651 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
40652 when compiling str{,n}casecmp and when AVX is available. Hook up
40653 new optimized code in initializers.
40654
8f3b1ffe
AS
406552011-10-19 Andreas Schwab <schwab@redhat.com>
40656
40657 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
40658 __feraiseexcept instead of feraiseexcept.
40659
d38f1dba
UD
406602011-10-18 Ulrich Drepper <drepper@gmail.com>
40661
d9a8d0ab
UD
40662 * math/math_private.h: Define defaults for libc_fetestexcept and
40663 libc_feupdateenv.
40664 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
40665 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
40666 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40667 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40668 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40669 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40670 libc_fetestexcept and libc_feupdateenv.
40671
4855e3dd
UD
40672 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
40673 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
40674 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
40675 * sysdeps/x86_64/fpu/math_private.h: Define special version of
40676 libc_feholdexcept_setround.
40677
581d30e3
UD
40678 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
40679 Add s_nearbyint-c and s_nearbyintf-c.
40680 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
40681 nearbyintf inlines.
40682 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
40683 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
40684 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
40685 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
40686
d38f1dba
UD
40687 * math/math_private.h: Define defaults for libc_fegetround,
40688 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
40689 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
40690 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
40691 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
40692 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
40693 standard functions.
40694 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40695 Remove comments and hacks for old compiler versions.
40696 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40697 libc_fegetround, libc_fesetround, libc_feholdexcept, and
40698 libc_feholdexceptl.
40699
caa6c9d8
AS
407002011-10-18 Andreas Schwab <schwab@redhat.com>
40701
40702 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
40703 (__feraiseexcept_renamed): Add __NTH.
40704 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
40705 namespace violations.
40706
97c066e6
UD
407072011-10-17 Ulrich Drepper <drepper@gmail.com>
40708
99ce7b04
UD
40709 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
40710
1004d182
UD
40711 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
40712
228a984d
UD
40713 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
40714 recently added interfaces.
40715 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
40716
c8553a6a
UD
40717 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
40718 about macro parameter expansion.
40719
ed22dcf6
UD
40720 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
40721 __NO_MATH_INLINES is defined. Cleanups.
40722
40723 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
40724 and __floorf is target has SSE4.1.
40725 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
40726 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
40727 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
40728 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
40729
b171c137
UD
40730 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
40731 name.
40732 (floorf): Likewise.
40733
97c066e6
UD
40734 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
40735
629f62ef
AS
407362011-10-17 Andreas Schwab <schwab@redhat.com>
40737
49a43d80
AS
40738 * misc/sys/cdefs.h: Fix last change.
40739
629f62ef
AS
40740 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
40741 database lookup.
40742
e453f6cd
UD
407432011-10-16 Ulrich Drepper <drepper@gmail.com>
40744
aa78043a
UD
40745 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
40746
ad0f5cad
UD
40747 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
40748 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40749 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40750 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40751 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40752 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40753 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40754 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40755 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40756 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
40757 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
40758 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
40759 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
40760 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
40761 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
40762 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
40763 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
40764 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
40765 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
40766 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
40767 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
40768 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
40769
40770 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
40771 ceil, ceilf, floor, floorf.
40772
40773 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
40774 Perform IRELATIVE relocations last.
40775
e453f6cd
UD
40776 * elf/do-rel.h: Add another parameter nrelative, replacing the
40777 local variable with the same name. Change name of the function
40778 to end in Rel or Rela (uppercase).
40779 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
40780 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
40781 elf_dynamic_do_##reloc function.
40782
fd5bdc09
UD
407832011-10-15 Ulrich Drepper <drepper@gmail.com>
40784
79b195b5
UD
40785 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
40786 is sufficient, at least on modern CPUs.
40787
d4a28569
UD
40788 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
40789
b61099b5
UD
40790 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
40791 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
40792
bcf01e6d
UD
40793 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
40794 __expl_finite.
40795 * math/bits/math-finite.h: Add entries for exp.
40796 * math/e_expl.c: Add __*_finite alias.
40797 * sysdeps/i386/fpu/e_exp.S: Likewise.
40798 * sysdeps/i386/fpu/e_expf.S: Likewise.
40799 * sysdeps/i386/fpu/e_expl.c: Likewise.
40800 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40801 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40802 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40803 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40804 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
40805 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40806 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40807
ba1a0d59
UD
40808 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
40809 is sufficient, at least on modern CPUs.
40810
fd5bdc09
UD
40811 * ctype/ctype-info.c (__ctype_init): Define.
40812 * include/ctype.h (__ctype_init): Declare.
40813 (__ctype_b_loc): The variable is always initialized.
40814 (__ctype_toupper_loc): Likewise.
40815 (__ctype_tolower_loc): Likewise.
40816 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
40817 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
40818
7872cfb0
AS
408192011-10-15 Andreas Schwab <schwab@linux-m68k.org>
40820
b468825a
AS
40821 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
40822
7872cfb0
AS
40823 * configure.in: Also look in $cxxmachine/include for C++ system
40824 headers.
40825
be13f7bf
LD
408262011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40827
40828 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
40829 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
40830 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
40831 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
40832 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
40833 (USE_AS_WMEMCMP): New macro.
40834 Fixing indents.
40835 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
40836 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
40837 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
40838 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
40839 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40840 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
40841 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
40842 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
40843 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
40844 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
40845 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
40846 (USE_AS_WMEMCMP): New macro.
40847 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
40848 * sysdeps/string/test-memcmp.c: Update.
40849 Fix simple_wmemcmp.
40850 Add new tests.
40851 * wcsmbs/wmemcmp.c: Update.
40852 (WMEMCMP): New macro.
40853 Fix overflow bug.
40854
556a2007
AJ
408552011-10-12 Andreas Jaeger <aj@suse.de>
40856
40857 [BZ #13268]
40858 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
40859
538faaa7
UD
408602011-10-15 Ulrich Drepper <drepper@gmail.com>
40861
ab6737ff
UD
40862 * libio/iofwide.c (do_length): Avoid warning.
40863
538faaa7
UD
40864 * ctype/ctype.h (__isctype_f): Add missing __THROW.
40865
396a21b1
UD
408662011-10-14 Ulrich Drepper <drepper@gmail.com>
40867
cdf2901f
UD
40868 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
40869
38ad40ce
UD
40870 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
40871 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
40872 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
40873 * sysdeps/i386/i686/fpu/e_log.S: New file.
40874 * sysdeps/i386/i686/fpu/e_logf.S: New file.
40875 * sysdeps/i386/i686/fpu/e_logl.S: New file.
40876
396a21b1
UD
40877 * ctype/ctype.h: Add support for inlined isXXX functions when
40878 compiling C++ code.
40879
6b1f68c9
AS
408802011-10-14 Andreas Schwab <schwab@redhat.com>
40881
349290c0
AS
40882 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40883
6b1f68c9
AS
40884 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
40885
f2282d42
RM
408862011-10-13 Roland McGrath <roland@hack.frob.com>
40887
40888 [BZ #13291]
40889 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
40890
5298ffa8
AS
408912011-10-13 Andreas Schwab <schwab@redhat.com>
40892
714fad23
AS
40893 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
40894 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
40895 feraiseexcept.
40896
81dcc7fb
AS
40897 * sysdeps/x86_64/memrchr.S: Check for zero size.
40898
5298ffa8
AS
40899 * string/stratcliff.c: Add memrchr tests.
40900
951fbcec
LD
409012011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40902
40903 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40904 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
40905 rawmemchr-sse2 rawmemchr-sse2-bsf.
40906 * sysdeps/i386/i686/multiarch/memchr.S: New file.
40907 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
40908 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
40909 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
40910 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
40911 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
40912 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
40913 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
40914 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
40915 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
40916 * string/memrchr.c (MEMRCHR): New macro.
40917
0ac5ae23
UD
409182011-10-12 Ulrich Drepper <drepper@gmail.com>
40919
40920 Add integration with gcc's -ffinite-math-only and optimize wrapper
40921 functions in libm.
40922 * Versions.def: Define GLIBC_2.15 version for libm.
40923 * math/Makefile (headers): Add bits/math-finite.h.
40924 * math/bits/math-finite.h: New file.
40925 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
40926 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
40927 * math/e_acoshl.c: Add __*_finite alias.
40928 * math/e_acosl.c: Likewise.
40929 * math/e_asinl.c: Likewise.
40930 * math/e_atan2l.c: Likewise.
40931 * math/e_atanhl.c: Likewise.
40932 * math/e_coshl.c: Likewise.
40933 * math/e_exp10.c: Likewise.
40934 * math/e_exp10f.c: Likewise.
40935 * math/e_exp10l.c: Likewise.
40936 * math/e_exp2l.c: Likewise.
40937 * math/e_fmodl.c: Likewise.
40938 * math/e_gammal_r.c: Likewise.
40939 * math/e_hypotl.c: Likewise.
40940 * math/e_j0l.c: Likewise.
40941 * math/e_j1l.c: Likewise.
40942 * math/e_jnl.c: Likewise.
40943 * math/e_lgammal_r.c: Likewise.
40944 * math/e_log10l.c: Likewise.
40945 * math/e_log2l.c: Likewise.
40946 * math/e_logl.c: Likewise.
40947 * math/e_powl.c: Likewise.
40948 * math/e_sinhl.c: Likewise.
40949 * math/e_sqrtl.c: Likewise.
40950 * math/e_scalb.c: Completely rewritten and optimized.
40951 * math/e_scalbf.c: Likewise.
40952 * math/e_scalbl.c: Likewise.
40953 * math/w_acos.c: Likewise.
40954 * math/w_acosf.c: Likewise.
40955 * math/w_acosl.c: Likewise.
40956 * math/w_acosh.c: Likewise.
40957 * math/w_acoshf.c: Likewise.
40958 * math/w_acoshl.c: Likewise.
40959 * math/w_asin.c: Likewise.
40960 * math/w_asinf.c: Likewise.
40961 * math/w_asinl.c: Likewise.
40962 * math/w_atan2.c: Likewise.
40963 * math/w_atan2f.c: Likewise.
40964 * math/w_atan2l.c: Likewise.
40965 * math/w_atanh.c: Likewise.
40966 * math/w_atanhf.c: Likewise.
40967 * math/w_atanhl.c: Likewise.
40968 * math/w_exp10.c: Likewise.
40969 * math/w_exp10f.c: Likewise.
40970 * math/w_exp10l.c: Likewise.
40971 * math/w_fmod.c: Likewise.
40972 * math/w_fmodf.c: Likewise.
40973 * math/w_fmodl.c: Likewise.
40974 * math/w_j0.c: Likewise.
40975 * math/w_j0f.c: Likewise.
40976 * math/w_j0l.c: Likewise.
40977 * math/w_j1.c: Likewise.
40978 * math/w_j1f.c: Likewise.
40979 * math/w_j1l.c: Likewise.
40980 * math/w_jn.c: Likewise.
40981 * math/w_jnf.c: Likewise.
40982 * math/w_log.c: Likewise.
40983 * math/w_logf.c: Likewise.
40984 * math/w_logl.c: Likewise.
40985 * math/w_log10.c: Likewise.
40986 * math/w_log10f.c: Likewise.
40987 * math/w_log10l.c: Likewise.
40988 * math/w_log2.c: Likewise.
40989 * math/w_log2f.c: Likewise.
40990 * math/w_log2l.c: Likewise.
40991 * math/w_pow.c: Likewise.
40992 * math/w_powf.c: Likewise.
40993 * math/w_powl.c: Likewise.
40994 * math/w_remainder.c: Likewise.
40995 * math/w_remainderf.c: Likewise.
40996 * math/w_remainderl.c: Likewise.
40997 * math/w_scalb.c: Likewise.
40998 * math/w_scalbf.c: Likewise.
40999 * math/w_scalbl.c: Likewise.
41000 * math/w_sqrt.c: Likewise.
41001 * math/w_sqrtf.c: Likewise.
41002 * math/w_sqrtl.c: Likewise.
41003 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41004 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
41005 used.
41006 * math/math_private.h: Declare __kernel_standard_f.
41007 * math/w_cosh.c: Remove cruft and optimize a bit.
41008 * math/w_coshf.c: Likewise.
41009 * math/w_coshl.c: Likewise.
41010 * math/w_exp2.c: Likewise.
41011 * math/w_exp2f.c: Likewise.
41012 * math/w_exp2l.c: Likewise.
41013 * math/w_hypot.c: Likewise.
41014 * math/w_hypotf.c: Likewise.
41015 * math/w_hypotl.c: Likewise.
41016 * math/w_lgamma.c: Likewise.
41017 * math/w_lgamma_r.c: Likewise.
41018 * math/w_lgammaf.c: Likewise.
41019 * math/w_lgammaf_r.c: Likewise.
41020 * math/w_lgammal.c: Likewise.
41021 * math/w_lgammal_r.c: Likewise.
41022 * math/w_sinh.c: Likewise.
41023 * math/w_sinhf.c: Likewise.
41024 * math/w_sinhl.c: Likewise.
41025 * math/w_tgamma.c: Likewise.
41026 * math/w_tgammaf.c: Likewise.
41027 * math/w_tgammal.c: Likewise.
41028 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41029 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41030 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41031 Minor optimizations. Pretty printing. Remove cruft.
41032 * sysdeps/i386/fpu/e_acosf.S: Likewise.
41033 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41034 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41035 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41036 * sysdeps/i386/fpu/e_acosl.c: Likewise.
41037 * sysdeps/i386/fpu/e_asin.S: Likewise.
41038 * sysdeps/i386/fpu/e_asinf.S: Likewise.
41039 * sysdeps/i386/fpu/e_atan2.S: Likewise.
41040 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41041 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41042 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41043 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41044 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41045 * sysdeps/i386/fpu/e_exp10.S: Likewise.
41046 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41047 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41048 * sysdeps/i386/fpu/e_exp2.S: Likewise.
41049 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41050 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41051 * sysdeps/i386/fpu/e_fmod.S: Likewise.
41052 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41053 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41054 * sysdeps/i386/fpu/e_hypot.S: Likewise.
41055 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41056 * sysdeps/i386/fpu/e_log.S: Likewise.
41057 * sysdeps/i386/fpu/e_log10.S: Likewise.
41058 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41059 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41060 * sysdeps/i386/fpu/e_log2.S: Likewise.
41061 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41062 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41063 * sysdeps/i386/fpu/e_logf.S: Likewise.
41064 * sysdeps/i386/fpu/e_logl.S: Likewise.
41065 * sysdeps/i386/fpu/e_pow.S: Likewise.
41066 * sysdeps/i386/fpu/e_powf.S: Likewise.
41067 * sysdeps/i386/fpu/e_powl.S: Likewise.
41068 * sysdeps/i386/fpu/e_remainder.S: Likewise.
41069 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41070 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41071 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41072 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41073 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41074 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41075 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41076 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41077 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41078 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41079 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41080 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41081 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41082 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41083 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41084 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41085 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41086 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41087 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41088 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41089 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41090 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41091 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41092 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41093 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41094 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41095 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41096 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41097 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41098 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41099 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41100 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41101 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41102 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41103 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41104 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41105 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41106 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41107 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41108 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41109 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41110 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41111 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41112 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41113 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41114 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41115 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41116 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41117 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41118 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41119 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41120 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41121 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41122 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41123 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41124 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41125 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41126 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41127 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41128 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41129 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41130 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41131 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41132 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41133 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41134 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41135 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41136 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41137 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41138 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41139 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41140 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41141 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41142 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41143 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41144 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41145 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41146 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41147 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41148 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41149 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41150 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41151 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41152 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41153 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41154 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41155 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41156 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41157 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41158 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41159 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41160 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41161 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41162 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41163 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41164 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41165 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41166 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41167 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41168 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41169 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41170 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41171 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41172 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41173 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41174 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41175 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41176 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41177 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41178 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41179 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41180 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41181 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41182 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41183 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41184 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41185 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41186 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41187 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
41188 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41189 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41190 (__isnanf): Likewise.
41191 (__isinf_ns): Likewise.
41192 (__isinf_nsf): Likewise.
41193 (__finite): Likewise.
41194 (__finitef): Likewise.
41195 (__ieee754_sqrt): Define as macro.
41196 (__ieee754_sqrtf): Define as macro.
41197 (__ieee754_sqrtl): Define as macro.
41198 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41199 inlined copy.
41200 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41201 __FINITE_MATH_ONLY__ consistent.
41202 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41203
12cc2fcd
AS
412042011-10-10 Andreas Schwab <schwab@linux-m68k.org>
41205
a843a204
AS
41206 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41207 of rawmemchr.
41208
12cc2fcd
AS
41209 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41210
c853acd5
UD
412112011-10-09 Ulrich Drepper <drepper@gmail.com>
41212
41213 * po/ja.po: Update from translation team.
41214
c658d255
RM
412152011-10-08 Roland McGrath <roland@hack.frob.com>
41216
110946e4
RM
41217 * locale/programs/locarchive.c (prepare_address_space): New function.
41218 (create_archive, enlarge_archive, open_archive): Use it.
41219
50604220
RM
41220 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41221 inside [SHARED], where it is used.
41222
c658d255
RM
41223 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41224
41225 * nss/getent.c (netgroup_keys): Remove unused variable.
41226 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41227
6a621eb7
UD
412282011-10-08 Ulrich Drepper <drepper@gmail.com>
41229
7edb55ce
UD
41230 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41231 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41232 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41233 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41234 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41235 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41236 * math/Makefile (libm-calls): Add s_isinf_ns.
41237 * math/divtc3.c: Use __isinf_nsl instead of isinf.
41238 * math/multc3.c: Likewise.
41239 * math/s_casin.c: Likewise.
41240 * math/s_casinf.c: Likewise.
41241 * math/s_casinl.c: Likewise.
41242 * math/s_ccos.c: Likewise.
41243 * math/s_ccosf.c: Likewise.
41244 * math/s_ccosl.c: Likewise.
41245 * math/s_ctan.c: Likewise.
41246 * math/s_ctanf.c: Likewise.
41247 * math/s_ctanh.c: Likewise.
41248 * math/s_ctanhf.c: Likewise.
41249 * math/s_ctanhl.c: Likewise.
41250 * math/s_ctanl.c: Likewise.
41251 * math/w_fmod.c: Likewise.
41252 * math/w_fmodf.c: Likewise.
41253 * math/w_fmodl.c: Likewise.
41254 * math/w_remainder.c: Likewise.
41255 * math/w_remainderf.c: Likewise.
41256 * math/w_remainderl.c: Likewise.
41257 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41258 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41259 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41260 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41261 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41262 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41263 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41264 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41265
187da0ae
UD
41266 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41267 of the number.
41268 * stdio-common/printf_fphex.c: Likewise.
41269 * stdio-common/printf_size.c: Likewise.
41270
9277c064
UD
41271 * math/e_exp10.c: Include math_private.h using <...> not "...".
41272 * math/e_exp10f.c: Likewise.
41273 * math/e_exp10l.c: Likewise.
41274 * math/e_exp2l.c: Likewise.
41275 * math/e_j0l.c: Likewise.
41276 * math/e_j1l.c: Likewise.
41277 * math/e_jnl.c: Likewise.
41278 * math/e_lgammal_r.c: Likewise.
41279 * math/e_rem_pio2l.c: Likewise.
41280 * math/e_scalb.c: Likewise.
41281 * math/e_scalbf.c: Likewise.
41282 * math/e_scalbl.c: Likewise.
41283 * math/k_cosl.c: Likewise.
41284 * math/k_sinl.c: Likewise.
41285 * math/k_tanl.c: Likewise.
41286 * math/s_cacoshf.c: Likewise.
41287 * math/s_catan.c: Likewise.
41288 * math/s_catanf.c: Likewise.
41289 * math/s_catanh.c: Likewise.
41290 * math/s_catanhf.c: Likewise.
41291 * math/s_catanhl.c: Likewise.
41292 * math/s_catanl.c: Likewise.
41293 * math/s_ccosh.c: Likewise.
41294 * math/s_ccoshf.c: Likewise.
41295 * math/s_ccoshl.c: Likewise.
41296 * math/s_cexp.c: Likewise.
41297 * math/s_cexpf.c: Likewise.
41298 * math/s_cexpl.c: Likewise.
41299 * math/s_clog.c: Likewise.
41300 * math/s_clog10.c: Likewise.
41301 * math/s_clog10f.c: Likewise.
41302 * math/s_clog10l.c: Likewise.
41303 * math/s_clogf.c: Likewise.
41304 * math/s_clogl.c: Likewise.
41305 * math/s_csin.c: Likewise.
41306 * math/s_csinf.c: Likewise.
41307 * math/s_csinh.c: Likewise.
41308 * math/s_csinhf.c: Likewise.
41309 * math/s_csinhl.c: Likewise.
41310 * math/s_csinl.c: Likewise.
41311 * math/s_csqrt.c: Likewise.
41312 * math/s_csqrtf.c: Likewise.
41313 * math/s_csqrtl.c: Likewise.
41314 * math/s_ctan.c: Likewise.
41315 * math/s_ctanf.c: Likewise.
41316 * math/s_ctanh.c: Likewise.
41317 * math/s_ctanhf.c: Likewise.
41318 * math/s_ctanhl.c: Likewise.
41319 * math/s_ctanl.c: Likewise.
41320 * math/s_ldexp.c: Likewise.
41321 * math/s_ldexpf.c: Likewise.
41322 * math/s_ldexpl.c: Likewise.
41323 * math/s_significand.c: Likewise.
41324 * math/s_significandf.c: Likewise.
41325 * math/s_significandl.c: Likewise.
41326 * math/w_acos.c: Likewise.
41327 * math/w_acosf.c: Likewise.
41328 * math/w_acosh.c: Likewise.
41329 * math/w_acoshf.c: Likewise.
41330 * math/w_acoshl.c: Likewise.
41331 * math/w_acosl.c: Likewise.
41332 * math/w_asin.c: Likewise.
41333 * math/w_asinf.c: Likewise.
41334 * math/w_asinl.c: Likewise.
41335 * math/w_atan2.c: Likewise.
41336 * math/w_atan2f.c: Likewise.
41337 * math/w_atan2l.c: Likewise.
41338 * math/w_atanh.c: Likewise.
41339 * math/w_atanhf.c: Likewise.
41340 * math/w_atanhl.c: Likewise.
41341 * math/w_cosh.c: Likewise.
41342 * math/w_coshf.c: Likewise.
41343 * math/w_coshl.c: Likewise.
41344 * math/w_dremf.c: Likewise.
41345 * math/w_exp10.c: Likewise.
41346 * math/w_exp10f.c: Likewise.
41347 * math/w_exp10l.c: Likewise.
41348 * math/w_exp2.c: Likewise.
41349 * math/w_exp2f.c: Likewise.
41350 * math/w_fmod.c: Likewise.
41351 * math/w_fmodf.c: Likewise.
41352 * math/w_fmodl.c: Likewise.
41353 * math/w_hypot.c: Likewise.
41354 * math/w_hypotf.c: Likewise.
41355 * math/w_hypotl.c: Likewise.
41356 * math/w_j0.c: Likewise.
41357 * math/w_j0f.c: Likewise.
41358 * math/w_j0l.c: Likewise.
41359 * math/w_j1.c: Likewise.
41360 * math/w_j1f.c: Likewise.
41361 * math/w_j1l.c: Likewise.
41362 * math/w_jn.c: Likewise.
41363 * math/w_jnf.c: Likewise.
41364 * math/w_jnl.c: Likewise.
41365 * math/w_lgamma.c: Likewise.
41366 * math/w_lgamma_r.c: Likewise.
41367 * math/w_lgammaf.c: Likewise.
41368 * math/w_lgammaf_r.c: Likewise.
41369 * math/w_lgammal.c: Likewise.
41370 * math/w_lgammal_r.c: Likewise.
41371 * math/w_log.c: Likewise.
41372 * math/w_log10.c: Likewise.
41373 * math/w_log10f.c: Likewise.
41374 * math/w_log10l.c: Likewise.
41375 * math/w_log2.c: Likewise.
41376 * math/w_log2f.c: Likewise.
41377 * math/w_log2l.c: Likewise.
41378 * math/w_logf.c: Likewise.
41379 * math/w_logl.c: Likewise.
41380 * math/w_pow.c: Likewise.
41381 * math/w_powf.c: Likewise.
41382 * math/w_powl.c: Likewise.
41383 * math/w_remainder.c: Likewise.
41384 * math/w_remainderf.c: Likewise.
41385 * math/w_remainderl.c: Likewise.
41386 * math/w_scalb.c: Likewise.
41387 * math/w_scalbf.c: Likewise.
41388 * math/w_scalbl.c: Likewise.
41389 * math/w_sinh.c: Likewise.
41390 * math/w_sinhf.c: Likewise.
41391 * math/w_sinhl.c: Likewise.
41392 * math/w_sqrt.c: Likewise.
41393 * math/w_sqrtf.c: Likewise.
41394 * math/w_sqrtl.c: Likewise.
41395 * math/w_tgamma.c: Likewise.
41396 * math/w_tgammaf.c: Likewise.
41397 * math/w_tgammal.c: Likewise.
41398
6a621eb7
UD
41399 * po/ja.po: Update from translation team.
41400
bf582445
AJ
414012011-09-29 Andreas Jaeger <aj@suse.de>
41402
f9efbf3a
AJ
41403 [BZ #13179]
41404 * sunrpc/netname.c (netname2host): Fix logic.
41405
bf582445
AJ
41406 [BZ #6779]
41407 [BZ #6783]
41408 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41409 correctly.
41410 * math/w_remainder.c (__remainder): Likewise.
41411 * math/w_remainderf.c (__remainderf): Likewise.
41412 * math/libm-test.inc (remainder_test): Add test cases.
41413
48693bea
AK
414142011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41415
41416 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
41417 sdiv_qrnnd.
41418
42622229
LD
414192011-10-07 Ulrich Drepper <drepper@gmail.com>
41420
41421 * string/test-memcmp.c: Avoid unncessary #defines.
41422 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41423
093ecf92
LD
414242011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41425
41426 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41427 Use new sse2 version for core i3 - i7 as it's faster
41428 than sse42 version.
41429 (bit_Prefer_PMINUB_for_stringop): New.
41430 * sysdeps/x86_64/rawmemchr.S: Update.
41431 Replace with faster SSE2 version.
41432 * sysdeps/x86_64/memrchr.S: New file.
41433 * sysdeps/x86_64/memchr.S: Update.
41434 Replace with faster SSE2 version.
41435
fde56e5c
MP
414362011-09-12 Marek Polacek <mpolacek@redhat.com>
41437
41438 * elf/dl-load.c (lose): Add cast to avoid warning.
41439
21fd49a9
UD
414402011-10-07 Ulrich Drepper <drepper@gmail.com>
41441
5a06e643
UD
41442 * po/ca.po: Update from translation team.
41443
684ae515
UD
41444 * inet/getnetgrent_r.c: Hook up nscd.
41445 * nscd/Makefile (routines): Add nscd_netgroup.
41446 (nscd-modules): Add netgroupcache.
41447 (CFLAGS-netgroupcache.c): Define.
41448 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
41449 (cache_search): Add const to second parameter.
41450 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
41451 INNETGR.
41452 (dbs): Add netgrdb entry.
41453 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
41454 (verify_persistent_db): Handle netgrdb.
41455 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
41456 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
41457 GETFDNETGR.
41458 (netgroup_response_header): Define.
41459 (innetgroup_response_header): Define.
41460 (datahead): Add netgroup_response_header and innetgroup_response_header
41461 elements.
41462 * nscd/nscd.conf: Add entries for netgroup cache.
41463 * nscd/nscd.h (dbtype): Add netgrdb.
41464 (_PATH_NSCD_NETGROUP_DB): Define.
41465 (netgroup_iov_disabled): Declare.
41466 (xmalloc, xcalloc, xrealloc): Move declarations here.
41467 (cache_search): Adjust prototype.
41468 Add netgroup-related prototypes.
41469 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
41470 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
41471 (__nscd_innetgr): Declare.
41472 * nscd/selinux.c (perms): Use access_vector_t as element type and
41473 add netgroup-related initializers.
41474 * nscd/netgroupcache.c: New file.
41475 * nscd/nscd_netgroup.c: New file.
41476 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
41477 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
41478 For four parameters use innetgr.
41479 * nss/nss_files/files-init.c: Add definition and callback for netgr.
41480 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
41481 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
41482 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
41483
21fd49a9
UD
41484 * nscd/connections.c (register_traced_file): Don't register file
41485 for disabled databases.
41486
054c0457
UD
414872011-10-06 Ulrich Drepper <drepper@gmail.com>
41488
32b63198
UD
41489 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
41490
054c0457
UD
41491 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
41492 from tree and freeing node.
41493
64031225
JO
414942011-09-25 Jiri Olsa <jolsa@redhat.com>
41495
41496 * nss/nsswitch.c (__nss_database_lookup): Handle
41497 nss_parse_service_list out of memory case.
41498
0490345c
JO
414992011-09-15 Jiri Olsa <jolsa@redhat.com>
41500
41501 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
41502 out of memory case.
41503
3a62d00d
AS
415042011-10-04 Andreas Schwab <schwab@redhat.com>
41505
41506 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
41507 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
41508 pass it down.
41509 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
41510 elf_machine_rela, elf_machine_lazy_rel.
41511 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
41512 (ELF_DYNAMIC_DO_REL): Likewise.
41513 (ELF_DYNAMIC_DO_RELA): Likewise.
41514 (ELF_DYNAMIC_RELOCATE): Likewise.
41515 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
41516 to ELF_DYNAMIC_DO_REL.
41517 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
41518 (dl_main): In trace mode always set __RTLD_NOIFUNC.
41519 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
41520 elf_machine_rela.
41521 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
41522 skip_ifunc, don't call ifunc function if non-zero.
41523 (elf_machine_rela): Likewise.
41524 (elf_machine_lazy_rel): Likewise.
41525 (elf_machine_lazy_rela): Likewise.
41526 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
41527 (elf_machine_lazy_rel): Likewise.
41528 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
41529 Likewise.
41530 (elf_machine_lazy_rel): Likewise.
41531 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41532 Likewise.
41533 (elf_machine_lazy_rel): Likewise.
41534 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
41535 (elf_machine_lazy_rel): Likewise.
41536 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
41537 (elf_machine_lazy_rel): Likewise.
41538 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41539 (elf_machine_lazy_rel): Likewise.
41540 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
41541 (elf_machine_lazy_rel): Likewise.
41542 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
41543 (elf_machine_lazy_rel): Likewise.
41544 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41545 (elf_machine_lazy_rel): Likewise.
41546
68577918
UD
415472011-09-28 Ulrich Drepper <drepper@gmail.com>
41548
41549 * nss/nss_files/files-init.c (_nss_files_init): Use static
41550 initialization for all the *_traced_file variables.
41551
68822d74
AS
415522011-09-28 Andreas Schwab <schwab@redhat.com>
41553
41554 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41555
2056100b
RM
415562011-09-27 Roland McGrath <roland@hack.frob.com>
41557
41558 [BZ #13226]
41559 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
41560
32c76b63
AS
415612011-09-27 Andreas Schwab <schwab@redhat.com>
41562
41563 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41564 Reread the line before reparsing it.
41565
bf972c9d
AS
415662011-09-26 Andreas Schwab <schwab@redhat.com>
41567
41568 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
41569
e057a1b5
JM
415702011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
41571 Maxim Kuvyrkov <maxim@codesourcery.com>
41572 Joseph Myers <joseph@codesourcery.com>
41573
41574 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
41575 if needed for __stack_chk_guard.
41576
bc7e1c36
RM
415772011-09-19 Roland McGrath <roland@hack.frob.com>
41578
ecb1482f
RM
41579 * sysdeps/posix/spawni.c (script_execute): Always define it.
41580 It will be optimized away if unused.
41581 (maybe_script_execute): New function.
41582 (__spawni): Call it.
41583
bc7e1c36
RM
41584 * Makerules: Don't include tls.make.
41585 (config-tls): Always set to thread.
41586 * tls.make.c: File removed.
41587
1c3b002b
MF
415882011-09-19 Mike Frysinger <vapier@gentoo.org>
41589
41590 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
41591 * config.make.in (CPPFLAGS-config): New substituted variable.
41592
2840865d
UD
415932011-09-15 Ulrich Drepper <drepper@gmail.com>
41594
88738eb6
UD
41595 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
41596
cbf645a6 41597 [BZ #13192]
2840865d
UD
41598 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
41599 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
41600
b402e91a
RM
416012011-09-15 Roland McGrath <roland@hack.frob.com>
41602
41603 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
41604 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
41605 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41606 (CALL_FAIL): Likewise.
41607 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
41608 (CALL_FAIL): Macro removed.
41609 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
41610
4c1a1f71
UD
416112011-09-15 Ulrich Drepper <drepper@gmail.com>
41612
41613 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
41614 for __FINITE_MATH_ONLY__ == 1.
41615
edc121be
AS
416162011-09-15 Andreas Schwab <schwab@redhat.com>
41617
41618 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
41619 __ieee754_sqrt instead of sqrt.
41620 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
41621 __ieee754_sqrtf instead of sqrtf.
41622 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
41623 __floorf instead of floorf.
41624 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
41625 __floorf, __truncf instead of floorf, truncf.
41626
cd205654
UD
416272011-09-14 Ulrich Drepper <drepper@gmail.com>
41628
ee4d0315
UD
41629 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
41630
cd205654
UD
41631 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
41632 __extern_always_inline.
41633 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
41634 32-bit.
41635
48b67d71
AS
416362011-09-14 Andreas Schwab <schwab@redhat.com>
41637
41638 * elf/rtld.c (dl_main): Also relocate in dependency order when
41639 doing symbol dependency testing.
41640
1ae12c75
AS
416412011-09-13 Andreas Schwab <schwab@linux-m68k.org>
41642
41643 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41644 Always define `refsym'.
41645
995a80df
AS
416462011-09-13 Andreas Schwab <schwab@redhat.com>
41647
e529793b
AS
41648 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
41649 (__FD_ELT): Renamed from __FDELT.
41650 * misc/bits/select2.h (__FD_ELT): Likewise.
41651 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
41652 __FD_MASK instead of __FDELT, __FDMASK.
41653 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41654 Likewise.
41655 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41656 Likewise.
41657
52d4fef8
AS
41658 * elf/Makefile (gen-ldd): Fix pattern.
41659
995a80df
AS
41660 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
41661 (init_tls): Likewise.
41662
8682f8b0
UD
416632011-09-12 Ulrich Drepper <drepper@gmail.com>
41664
41665 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
41666
de82006d
AS
416672011-09-12 Andreas Schwab <schwab@redhat.com>
41668
a7c8e6a1
AS
41669 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
41670 `struct cmsghdr *' instead of `void *'.
41671 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
41672 Likewise.
41673
0f31fe77
AS
416742011-09-11 Andreas Schwab <schwab@linux-m68k.org>
41675
41676 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
41677 if non-absolute.
41678 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
41679 ldd_rewrite_script.
0f31fe77 41680
32b4c839
UD
416812011-09-11 Ulrich Drepper <drepper@gmail.com>
41682
83cd1420
UD
41683 * configure.in: Remove --with-tls option.
41684 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
41685 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
41686 out in case it is missing.
41687 * sysdeps/ia64/elf/configure.in: Likewise.
41688 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
41689 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
41690 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
41691 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
41692 * sysdeps/sh/elf/configure.in: Likewise.
41693 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
41694 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41695 * sysdeps/x86_64/elf/configure.in: Likewise.
41696 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
41697 * sysdeps/mach/hurd/tls.h: Likewise.
41698
633f745d
UD
41699 [BZ #13067]
41700 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
41701
f318beb8
UD
41702 [BZ #13090]
41703 * configure.in: Fix use of AC_INIT.
41704
32b4c839
UD
41705 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
41706
3ce1f295
UD
417072011-09-10 Ulrich Drepper <drepper@gmail.com>
41708
bb016596
UD
41709 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
41710 __set_errno.
8e58439c
UD
41711 * malloc/hooks.c: Likewise.
41712
aebae053 41713 [BZ #11929]
02d46fc4
UD
41714 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
41715 variables statically.
41716 (narenas): Initialize.
41717 (list_lock): Initialize.
bb016596
UD
41718 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
41719 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
41720 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
41721 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
41722 Add initializers to main_arena and mp_.
41723 (malloc_state): Remove pagesize member. Change all users to use
41724 GLRO(dl_pagesize).
41725
41726 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
41727 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
41728 is always initialized.
41729
22a89187
UD
41730 * malloc/malloc.c: Removed unused configurations and dead code.
41731 * malloc/arena.c: Likewise.
41732 * malloc/hooks.c: Likewise.
02d46fc4 41733 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 41734
d063d164
UD
41735 * include/tls.h: Removed. USE___THREAD must always be defined.
41736 * bits/libc-tsd.h: Don't handle !USE___THREAD.
41737 * elf/dl-libc.c: Likewise.
41738 * elf/dl-tsd.c: Likewise.
41739 * include/errno.h: Likewise.
41740 * include/netdb.h: Likewise.
41741 * include/resolv.h: Likewise.
41742 * inet/herrno-loc.c: Likewise.
41743 * inet/herrno.c: Likewise.
41744 * malloc/arena.c: Likewise.
41745 * malloc/hooks.c: Likewise.
41746 * malloc/malloc.c: Likewise.
41747 * resolv/res-state.c: Likewise.
41748 * resolv/res_libc.c: Likewise.
41749 * sysdeps/i386/dl-machine.h: Likewise.
41750 * sysdeps/ia64/dl-machine.h: Likewise.
41751 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41752 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41753 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41754 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41755 * sysdeps/sh/dl-machine.h: Likewise.
41756 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41757 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41758 * sysdeps/unix/i386/sysdep.S: Likewise.
41759 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41760 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41761 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41762 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41763 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41764 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41765 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41766 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41767 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41768 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41769 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41770 * sysdeps/x86_64/dl-machine.h: Likewise.
41771 * tls.make.c: Likewise.
41772
3ce1f295
UD
41773 * configure.in: Remove --with-__thread option. Make tests for
41774 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
41775 tls_model attribute fail if no support is available. Remove
41776 USE_IN_LIBIO.
41777 * Makeconfig: Adjust for dropped configure option. All features are
41778 now mandatory.
41779 * Makerules: Likewise.
41780 * Versions.def: Likewise.
41781 * argp/argp-fmtstream.c: Likewise.
41782 * argp/argp-fmtstream.h: Likewise.
41783 * argp/argp-help.c: Likewise.
41784 * assert/assert.c: Likewise.
41785 * config.h.in: Likewise.
41786 * config.make.in: Likewise.
41787 * configure: Likewise.
41788 * configure.in: Likewise.
41789 * csu/Versions: Likewise.
41790 * csu/init.c: Likewise.
41791 * elf/tst-audit2.c: Likewise.
41792 * elf/tst-tls10.c: Likewise.
41793 * elf/tst-tls10.h: Likewise.
41794 * elf/tst-tls11.c: Likewise.
41795 * elf/tst-tls12.c: Likewise.
41796 * elf/tst-tls14.c: Likewise.
41797 * elf/tst-tlsmod11.c: Likewise.
41798 * elf/tst-tlsmod12.c: Likewise.
41799 * elf/tst-tlsmod13.c: Likewise.
41800 * elf/tst-tlsmod13a.c: Likewise.
41801 * elf/tst-tlsmod14a.c: Likewise.
41802 * elf/tst-tlsmod15b.c: Likewise.
41803 * elf/tst-tlsmod16a.c: Likewise.
41804 * elf/tst-tlsmod16b.c: Likewise.
41805 * elf/tst-tlsmod7.c: Likewise.
41806 * elf/tst-tlsmod8.c: Likewise.
41807 * elf/tst-tlsmod9.c: Likewise.
41808 * gmon/gmon.c: Likewise.
41809 * grp/fgetgrent_r.c: Likewise.
41810 * grp/putgrent.c: Likewise.
41811 * hurd/fopenport.c: Likewise.
41812 * include/libc-symbols.h: Likewise.
41813 * include/tls.h: Likewise.
41814 * intl/gettextP.h: Likewise.
41815 * intl/loadinfo.h: Likewise.
41816 * locale/global-locale.c: Likewise.
41817 * locale/localeinfo.h: Likewise.
41818 * mach/devstream.c: Likewise.
41819 * malloc/arena.c: Likewise.
41820 * malloc/set-freeres.c: Likewise.
41821 * misc/err.c: Likewise.
41822 * misc/getttyent.c: Likewise.
41823 * misc/mntent_r.c: Likewise.
41824 * posix/getopt.c: Likewise.
41825 * posix/wordexp.c: Likewise.
41826 * pwd/fgetpwent_r.c: Likewise.
41827 * resolv/Versions: Likewise.
41828 * resolv/res_hconf.c: Likewise.
41829 * shadow/fgetspent_r.c: Likewise.
41830 * shadow/putspent.c: Likewise.
41831 * stdio-common/printf_fphex.c: Likewise.
41832 * stdio-common/tmpfile.c: Likewise.
41833 * stdlib/abort.c: Likewise.
41834 * stdlib/fmtmsg.c: Likewise.
41835 * sunrpc/auth_unix.c: Likewise.
41836 * sunrpc/clnt_perr.c: Likewise.
41837 * sunrpc/clnt_tcp.c: Likewise.
41838 * sunrpc/clnt_udp.c: Likewise.
41839 * sunrpc/clnt_unix.c: Likewise.
41840 * sunrpc/openchild.c: Likewise.
41841 * sunrpc/svc_simple.c: Likewise.
41842 * sunrpc/svc_tcp.c: Likewise.
41843 * sunrpc/svc_udp.c: Likewise.
41844 * sunrpc/svc_unix.c: Likewise.
41845 * sunrpc/xdr.c: Likewise.
41846 * sunrpc/xdr_array.c: Likewise.
41847 * sunrpc/xdr_rec.c: Likewise.
41848 * sunrpc/xdr_ref.c: Likewise.
41849 * sunrpc/xdr_stdio.c: Likewise.
41850
1248c1c4
PB
418512011-09-09 Ulrich Drepper <drepper@gmail.com>
41852
41853 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41854
418552011-07-03 Andreas Jaeger <aj@suse.de>
41856
41857 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
41858 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
41859 regenerate with gen-libm-tests.pl.
41860
418612010-05-12 Petr Baudis <pasky@suse.cz>
41862
41863 [BZ #11589]
41864 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
41865 around j0() zero points by switching to j1().
41866 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41867 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41868 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41869 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41870
f22e1074
UD
418712011-09-09 Ulrich Drepper <drepper@gmail.com>
41872
f19009c1
UD
41873 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
41874 instead of 0.
41875 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 41876 instead of 0.
f19009c1
UD
41877 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41878 Patch in part by Pavel Roskin <proski@gnu.org>.
41879
3f8cc204
UD
41880 [BZ #13138]
41881 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
41882 realloc.
41883 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
41884 Free memory block if necessary.
41885
f22e1074
UD
41886 [BZ #12847]
41887 * libio/genops.c (INTDEF): For string streams the _lock pointer can
41888 be NULL. Don't lock in this case.
41889
0a2349f9
RM
418902011-09-09 Roland McGrath <roland@hack.frob.com>
41891
41892 * elf/elf.h (ELFOSABI_GNU): New macro.
41893 (ELFOSABI_LINUX): Define to that.
41894
f3cdd467
DZ
418952011-07-29 Denis Zaitceff <zaitceff@gmail.com>
41896
41897 * string/strncat.c (strncat): Undef the symbol in case it has been
41898 defined in bits/string.h.
41899
74718d13
UD
419002011-09-09 Ulrich Drepper <drepper@gmail.com>
41901
633e9e0f
UD
41902 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
41903
0a2349f9 41904 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
41905 link map.
41906
f9924780
AJ
419072011-08-17 Andreas Jaeger <aj@suse.de>
41908
41909 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
41910
7f5517aa
PP
419112011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
41912 Ian Lance Taylor <iant@google.com>
41913
41914 * math/libm-test.inc (lround_test): New testcase.
41915 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
41916
762011fe
UD
419172011-09-08 Ulrich Drepper <drepper@gmail.com>
41918
92963737
UD
41919 * Makefile: Remove support for automatic cvs check-ins.
41920 * Makerules: Likewise.
41921 * config.make.in: Likewise.
41922 * configure.in: Likewise.
41923 * intl/Makefile: Likewise.
41924 * locale/Makefile: Likewise.
41925 * po/Makefile: Likewise.
41926 * posix/Makefile: Likewise.
41927 * sysdeps/gnu/Makefile: Likewise.
41928 * sysdeps/mach/hurd/Makefile: Likewise.
41929 * sysdeps/sparc/sparc32/Makefile: Likewise.
41930
b0727fd8
JS
41931 [BZ #13118]
41932 * posix/Makefile (bug-regex32-ENV): Define.
41933 Patch by John Stanley <jpsinthemix@verizon.net>.
41934
a0f33f99
UD
41935 * misc/Makefile (headers): Add bits/select2.h.
41936 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
41937 * misc/bits/select2.h: New file.
41938 * include/bits/select2.h: New file.
41939 * debug/Makefile (routines): Add fdelt_chk.
41940 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
41941 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
41942 FD_ISSET.
41943 * debug/fdelt_chk.c: New file.
41944
762011fe
UD
41945 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
41946 * wcsmbs/test-wmemcmp.c: Likewise.
41947 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 41948 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
41949
419502011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41951
41952 * string/Makefile (strop-tests): Add memcmp.
41953 * string/test-wmemcmp.c: New file.
41954 * string/test-memcmp.c: Add wmemcmp support.
41955
7f513ec8
RM
419562011-09-08 Roland McGrath <roland@hack.frob.com>
41957
0442afb4
RM
41958 [BZ #13153]
41959 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
41960 2011-07-19 change.
41961
7f513ec8
RM
41962 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
41963 garbage value in a __mach_port_mod_refs call in the cases of the
41964 task-self and thread-self ports.
41965
a12b2239
ST
419662011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
41967
41968 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
41969
610f9ab4
AS
419702011-09-08 Andreas Schwab <schwab@redhat.com>
41971
7f513ec8 41972 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 41973
48882a1a
LD
419742011-09-07 Ulrich Drepper <drepper@gmail.com>
41975
b49865be
UD
41976 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
41977
fdc86bc9
UD
41978 * elf/dl-libc.c (dlerror_run): Pass back error code from
41979 dl_catch_error.
41980
c966526a
UD
41981 [BZ #13123]
41982 * elf/dl-load.c (lose): Free l_origin if it is valid.
41983
48882a1a
LD
41984 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
41985 names.
41986 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41987 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41988 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41989 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41990 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41991 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
41992
77a2a8b4
AZ
419932011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41994
41995 * sysdeps/powerpc/fpu/e_hypot.c: New file.
41996 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
41997 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
41998 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
41999 * sysdeps/powerpc/fpu/k_cosf.c: New file.
42000 * sysdeps/powerpc/fpu/k_sinf.c: New file.
42001 * sysdeps/powerpc/fpu/s_cosf.c: New file.
42002 * sysdeps/powerpc/fpu/s_sinf.c: New file.
42003 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42004 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42005
24f579d8
AM
420062011-08-15 Alan Modra <amodra@gmail.com>
42007
42008 [BZ #13092]
42009 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42010 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42011 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
42012 ppc_mcount to static-only-routines.
42013 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42014 __mcount_internal.
42015 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42016 __mcount_internal with usual JUMPTARGET. Remove useless nop.
42017
3d4837df
UD
420182011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
42019
42020 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42021 for finite and infinity parameters.
42022
22700377
WS
420232011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42024
42025 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42026 and add nop instructions for throughput optimization.
42027 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42028
5025581e
WS
420292011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
42030
42031 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42032 aligned copy for power7 with vector-scalar instructions.
42033 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42034
08a300c9
L
420352011-07-24 H.J. Lu <hongjiu.lu@intel.com>
42036
42037 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42038 AVX check.
42039
59178ef9
AS
420402011-09-07 Andreas Schwab <schwab@redhat.com>
42041
42042 [BZ #13144]
42043 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42044 last change.
42045
e38ba7ab
UD
420462011-09-07 Ulrich Drepper <drepper@gmail.com>
42047
42048 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42049 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42050 syscall wrapper around clock_gettime in __vdso_clock_gettime.
42051 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42052 clock_gettime.
42053
d53a73ac
UD
420542011-09-06 Ulrich Drepper <drepper@gmail.com>
42055
fc8bffcc
UD
42056 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42057 Forgot to demangle the pointer.
42058
ceaa0c5d
UD
42059 * sysdeps/i386/sysdep.h: Define atom_text_section.
42060 * sysdeps/x86_64/sysdep.h: Likewise.
42061 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42062 section with atom_text_section.
42063 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42064 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42065 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42066 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42067 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42068
a77d3c17
UD
42069 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42070 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42071 already be defined. Change to take two parameters and don't assign
42072 result to variable. Adjust all users.
42073 Define INTERNAL_GETTIME if not already defined.
42074 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42075 call.
42076 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42077 HAVE_CLOCK_GETTIME_VSYSCALL.
42078 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42079
d53a73ac
UD
42080 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42081 gettimeofday vsyscall, just use time.
42082
a8f84144
AS
420832011-09-06 Andreas Schwab <schwab@redhat.com>
42084
42085 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42086 <errno.h>.
42087
ef606249
UD
420882011-09-06 Ulrich Drepper <drepper@gmail.com>
42089
42090 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42091 syscall on x86-64.
42092 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42093 syscall.
42094 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42095 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42096 syscall if possible.
42097
6585cb60
UD
420982011-09-05 Ulrich Drepper <drepper@gmail.com>
42099
42100 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42101 e_ident. Don't pass to find_mapsXX.
42102 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42103
a5f524e4
LD
421042011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42105
42106 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42107 strchr-sse2-no-bsf strrchr-sse2-no-bsf
42108 * sysdeps/x86_64/multiarch/strchr.S: Update.
42109 Check bit_slow_BSF bit.
42110 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42111 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42112 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42113
554881ef
UD
421142011-09-05 Ulrich Drepper <drepper@gmail.com>
42115
d96de963
UD
42116 [BZ #13134]
42117 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42118 before glibc 2.15.
42119 (tryshell): Define.
42120 (__spawni): Change last parameter to be flag. Test
42121 SPAWN_XFLAGS_USE_PATH flag to use path or not.
42122 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42123 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42124 * posix/spawni.c: Likewise.
42125 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42126 * posix/spawnp.c: Likewise. Change normal version to use
42127 SPAWN_XFLAGS_USE_PATH.
42128 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42129 SPAWN_XFLAGS_TRY_SHELL.
42130
d48e5868
UD
42131 [BZ #13150]
42132 * posix/glob.h: Remove gcc 1.x support.
42133
554881ef
UD
42134 [BZ #13068]
42135 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42136
693fb948
LD
421372011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42138
42139 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42140 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42141 strrchr-sse2-bsf
42142 * sysdeps/i386/i686/multiarch/strchr.S: New file.
42143 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42144 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42145 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42146 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42147 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42148
1b48c537
UD
421492011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42150
49d42c37
UD
42151 * sysdeps/x86_64/wcscmp.S: New file.
42152
1b48c537
UD
42153 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42154 wcscmp-c wcscmp-sse2
42155 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42156 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42157 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42158 * wcsmbs/wcscmp.c: Allow renaming.
42159
15c95c5d
DM
421602011-09-05 David S. Miller <davem@davemloft.net>
42161
42162 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42163 stack slot, rather than the struct return pointer slot.
42164 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42165 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42167 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42168
2f0ad8f3
UD
421692011-09-05 Ulrich Drepper <drepper@gmail.com>
42170
d88ae418
UD
42171 * po/ja.po: Update from translation team.
42172
2f0ad8f3
UD
42173 [BZ #13144]
42174 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42175 kernel in 64-bit binaries.
42176
5f4318d1
DM
421772011-09-01 David S. Miller <davem@davemloft.net>
42178
42179 * elf/elf.h (HWCAP_SPARC_*): Move to..
42180 * sysdeps/sparc/sysdep.h: this new file and add new values.
42181 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42182 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42183 _DL_HWCAP_COUNT to 24.
42184 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42185 entries.
42186 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42187 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42188 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42189 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42190 instead of magic constants.
42191 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42192
3ba57516
DM
421932011-08-31 David S. Miller <davem@davemloft.net>
42194
42195 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42196 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42197 Reimplement to do errno handling inline.
42198 (SYSCALL_ERROR_HANDLER): New macro.
42199 (__SYSCALL_STRING): Do not do errno handling in asm.
42200 (__CLONE_SYSCALL_STRING): Delete.
42201 (__INTERNAL_SYSCALL_STRING): Delete.
42202 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42203 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42204 (PSEUDO): Reimplement to do errno handling inline.
42205 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42206 (SYSCALL_ERROR_HANDLER): New macro.
42207 (__SYSCALL_STRING): Do not do errno handling in asm.
42208 (__CLONE_SYSCALL_STRING): Delete.
42209 (__INTERNAL_SYSCALL_STRING): Delete.
42210 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42211 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42212 i386.
42213 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42214 (inline_syscall*): Add 'err' argument.
42215 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42216 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42217 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42218 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42219
42220 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42221 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42222
2bc17433
AS
422232011-08-30 Andreas Schwab <schwab@redhat.com>
42224
42225 * elf/rtld.c (dl_main): Relocate objects in dependency order.
42226
fbeb5f4d
JO
422272011-08-29 Jiri Olsa <jolsa@redhat.com>
42228
42229 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42230 directive.
42231
ad69cc26
DM
422322011-08-24 David S. Miller <davem@davemloft.net>
42233
42234 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42235
39dd69df
AS
422362011-08-24 Andreas Schwab <schwab@redhat.com>
42237
42238 * elf/Makefile: Add rules to build and run unload8 test.
42239 * elf/unload8.c: New file.
42240 * elf/unload8mod1.c: New file.
42241 * elf/unload8mod1x.c: New file.
42242 * elf/unload8mod2.c: New file.
42243 * elf/unload8mod3.c: New file.
42244
42245 * elf/dl-close.c (_dl_close_worker): Reset private search list if
42246 it wasn't used.
42247
2c0b250a
DM
422482011-08-23 David S. Miller <davem@davemloft.net>
42249
42250 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42251 subtract stack bias.
42252 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42253 %sp not %fp in calculations.
42254 (_JMPBUF_UNWINDS_ADJ): Likewise.
42255
22044b48
DM
42256 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42257 (aio_suspend): Call it to force an exception region around the
42258 AIO_MISC_WAIT() invocation.
42259
2cae4995
AS
422602011-08-23 Andreas Schwab <schwab@redhat.com>
42261
42262 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42263 backslash.
42264
873a772e
AJ
422652011-07-04 Aurelien Jarno <aurelien@aurel32.net>
42266
42267 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42268 protection macro.
42269 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42270 and <dl-machine.h>.
42271 (Elf64_FuncDesc): Remove.
42272
25ad0df1
DM
422732011-08-22 David S. Miller <davem@davemloft.net>
42274
42275 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42276 sigaltstack check, add missing cfi directives.
42277 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42278 missing cfi directives, and sigaltstack handling.
42279
e888bcbe
AS
422802011-08-16 Andreas Schwab <schwab@redhat.com>
42281
42282 [BZ #11724]
42283 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42284 object is seen twice.
42285 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42286
42287 * elf/Makefile (distribute): Add tst-initorder2.c.
42288 (tests): Add tst-initorder2.
42289 (modules-names): Add tst-initorder2a tst-initorder2b
42290 tst-initorder2c tst-initorder2d. Add rules to build them.
42291 ($(objpfx)tst-initorder2.out): New rule.
42292 * elf/tst-initorder2.c: New file.
42293 * elf/tst-initorder2.exp: New file.
42294
87162f46
AS
422952011-08-22 Andreas Schwab <schwab@redhat.com>
42296
70538b7f
AS
42297 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42298
f55ffe58
AS
42299 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42300 dependencies back to end of function.
42301
87162f46
AS
42302 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42303 $(elfobjdir)/ld.so.
42304
91b392a4
UD
423052011-08-21 Ulrich Drepper <drepper@gmail.com>
42306
42307 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42308 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42309 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42310 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42311 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42312 of __vdso_gettimeofday.
42313 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42314 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
42315 attribute_hidden.
42316 (_libc_vdso_platform_setup): Remove initialization of
42317 __vdso_gettimeofday and __vdso_time.
42318
5c43483f
UD
423192011-08-20 Ulrich Drepper <drepper@gmail.com>
42320
775a77e7
UD
42321 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42322 and fgetc_unlocked.
42323 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42324 getc_unlocked.
89f447ed 42325
49c74ba9
UD
42326 * elf/dl-open.c (add_to_global): Report additions to the global scope
42327 for LD_DEBUG=scopes.
42328 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 42329 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 42330
5c43483f
UD
42331 [BZ #13114]
42332 * stdio-common/Makefile (tests): Add bug24.
42333 * stdio-common/bug24.c: New file.
42334
a101b025
AJ
423352011-08-19 Andreas Jaeger <aj@suse.de>
42336
42337 [BZ #13114]
42338 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42339 non-existant file when using close-on-exec mode.
42340
c88f1766
UD
423412011-08-20 Ulrich Drepper <drepper@gmail.com>
42342
0276a718
UD
42343 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42344 the very first instruction.
42345
c88f1766
UD
42346 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42347 the CFI state in the end.
42348 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42349 inclusion of dl-trampoline.h.
42350 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42351
51ccffa0
AS
423522011-08-19 Andreas Schwab <schwab@redhat.com>
42353
94d7165f
AS
42354 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42355 expectations for long double.
42356
51ccffa0
AS
42357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42358 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42359
fd708658 423602011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
42361
42362 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42363 artificual limit depends upon the system page size.
42364
44f0a71e
UD
423652011-08-17 Ulrich Drepper <drepper@gmail.com>
42366
42367 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42368 * resolv/Makefile: Define CFLAGS-libresolv.
42369
8de79a24
AS
423702011-08-17 Andreas Schwab <schwab@redhat.com>
42371
42372 * nss/makedb.c (compute_tables): Make variables used in nested
42373 function static.
42374
27724598
UD
423752011-08-17 Ulrich Drepper <drepper@gmail.com>
42376
c5305d88
UD
42377 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42378 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42379 if buffer was too small.
42380
27724598
UD
42381 * elf/pldd.c (main): Attach to all threads in the process.
42382 Rewrite /proc handling to use *at functions.
42383
076fe015
UD
423842011-08-16 Ulrich Drepper <drepper@gmail.com>
42385
174baab3
UD
42386 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42387 specifies first scope to show.
42388 (dl_open_worker): Update callers. Move printing scope of new
42389 object to before the relocation.
44f0a71e 42390 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
42391 * sysdeps/generic/ldsodefs.h: Update declaration.
42392
076fe015
UD
42393 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42394 string for the scope number.
42395
a60df2c3
UD
423962011-08-14 Ulrich Drepper <drepper@gmail.com>
42397
42398 * nscd/servicescache.c (cache_addserv): Make sure written is always
42399 initialized.
42400
5e4287d1
RM
424012011-08-14 Roland McGrath <roland@hack.frob.com>
42402
85ae0589
RM
42403 * sysdeps/i386/i486/bits/atomic.h
42404 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42405 statement expression, so as to suppress "set but not used" warning.
42406 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42407
69f63097
RM
42408 * string/strncat.c (STRNCAT): Use prototype definition.
42409
675456ef
RM
42410 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42411 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42412 -Iprograms here.
42413 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42414 (localedef-modules): Add localedef.
42415 (locale-modules): Add locale.
42416
5e4287d1
RM
42417 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42418 * elf/rtld.c (dl_main): Invert order of assignment in last change,
42419 to avoid a warning.
42420
9c96ff23
DM
424212011-08-14 David S. Miller <davem@davemloft.net>
42422
42423 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42424 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42425
f9ddf089
UD
424262011-08-13 Ulrich Drepper <drepper@gmail.com>
42427
44f0a71e 42428 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
42429 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42430 * elf/rtld.c (dl_main): Set l_name of vDSO.
42431 Call _dl_show_scope when DL_DEBUG_SCOPES.
42432 (process_dl_debug): Recognize scopes flag and also set it for all.
42433 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42434 Declare _dl_show_scope.
42435
1dc27704
UD
42436 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42437 (do_dlopen): Pass caller_dlopen to dl_open.
42438 (__libc_dlopen_mode): Initialize caller_dlopen.
42439
f9ddf089
UD
42440 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
42441 of libc. Make tolower call locale-independent. Optimize a bit by
42442 using isdigit instead of isalnum.
42443 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
42444
9ac533d3
UD
424452011-08-12 Ulrich Drepper <drepper@gmail.com>
42446
42447 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
42448 was a dependency or dynamically loaded.
42449
89edf2e9
UD
424502011-08-11 Ulrich Drepper <drepper@gmail.com>
42451
8e999d29
UD
42452 * intl/l10nflist.c: Allow architecture-specific pop function.
42453 * sysdeps/x86_64/l10nflist.c: New file.
42454
89edf2e9
UD
42455 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
42456 classification.
42457
14d96785
AS
424582011-08-10 Andreas Schwab <schwab@redhat.com>
42459
42460 * include/dirent.h: Add libc_hidden_proto for scandirat and
42461 scandirat64. Don't declare __scandirat64.
42462 * dirent/scandirat.c: Add libc_hidden_def.
42463 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
42464 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
42465
6761ac04
DM
424662011-08-10 David S. Miller <davem@davemloft.net>
42467
42468 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
42469 enum.
42470 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42471 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42472 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42473
c55fbd1e
UD
424742011-08-09 Ulrich Drepper <drepper@gmail.com>
42475
42476 * Versions.def [libc]: Add GLIBC_2.15.
42477 * dirent/Makefile (routines): Add scandirat and scandirat64.
42478 * dirent/Versions [libc]: Export scandirat and scandirat64 for
42479 GLIBC_2.15.
42480 * dirent/dirent.h: Declare scandirat and scandirat64.
42481 * dirent/scandirat.c: New file.
42482 * dirent/scandirat64.c: New file.
42483 * sysdeps/wordsize-64/scandirat.c: New file.
42484 * sysdeps/wordsize-64/scandirat64.c: New file.
42485 * dirent/opendir.c: Define opendirat.
42486 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
42487 using scandirat.
42488 * dirent/scandir64.c: Adjust for scandir.c change.
42489 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
42490 __scandirat64, and __scandir_cancel_handler.
42491 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
42492 additional parameter and use openat instead of open (outside of ld.so).
42493 Add new __opendir as wrapper around __opendirat.
42494 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
42495 here without requiring old scandirat implementation.
42496
879165f2
UD
424972011-08-08 Ulrich Drepper <drepper@gmail.com>
42498
42499 * dirent/scandir.c (cancel_handler): Renamed to
42500 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
42501 defined. Adjust users.
42502 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
42503 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
42504
cb7e923b
UD
425052011-08-04 Ulrich Drepper <drepper@gmail.com>
42506
16292edd
UD
42507 * string/test-string.h (IMPL): Use __STRING to expand name and then
42508 stringify it.
42509
cb7e923b
UD
42510 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
42511 of cleanups.
42512
cff82933
LD
425132011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42514
42515 * string/Makefile: Update.
42516 (strop-tests): Append strncat.
42517 * string/test-wcscmp.c: New file.
42518 New comprehensive test for wcscmp.
42519 * string/test-strcmp.c: Update.
42520 (WIDE): New define.
42521
9be9bfcc
AS
425222011-07-22 Andreas Schwab <schwab@redhat.com>
42523
42524 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
42525 line.
42526
2e96f1c7
AS
425272011-07-26 Andreas Schwab <schwab@redhat.com>
42528
42529 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42530 encoding to ACE if AI_IDN.
42531
85188888
JJ
425322011-08-01 Jakub Jelinek <jakub@redhat.com>
42533
42534 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
42535 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
42536
5fa16e9b
LD
425372011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42538
42539 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
42540 Fix overflow bug in strncat.
42541 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42542
42543 * string/test-strncat.c: Update.
42544 Add new tests for checking overflow bugs.
42545
425462011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42547
42548 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42549 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
42550 * sysdeps/i386/i686/multiarch/strcat.S: New file.
42551 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
42552 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
42553 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
42554 * sysdeps/i386/i686/multiarch/strncat.S: New file.
42555 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
42556 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
42557
42558 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
42559 (USE_AS_STRCAT): Define.
42560 Add strcat and strncat support.
42561 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42562
8c1a459f
AS
425632011-07-25 Andreas Schwab <schwab@redhat.com>
42564
42565 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
42566 __n bigger than INT_MAX+1.
42567 (__strncmp_g): Likewise.
42568
bba33c28
UD
425692011-07-23 Ulrich Drepper <drepper@gmail.com>
42570
798be72d
UD
42571 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
42572 * libio/stido.h: Likewise.
42573
8accd4dc
UD
42574 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
42575 (AF_NFC): Define.
42576 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
42577 (AF_NFC): Define.
42578
cbff0d96
UD
42579 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
42580 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42581 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42582 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
42583 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42584
9191c04a
UD
42585 [BZ #13021]
42586 * scripts/test-installation.pl: Don't expect libnss_test1 to be
42587 installed.
42588
bba33c28
UD
42589 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
42590 typo.
42591 (_dl_x86_64_save_sse): Likewise.
42592
90f139dd
UD
425932011-07-22 Ulrich Drepper <drepper@gmail.com>
42594
1aae088a
UD
42595 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
42596 OSXSAVE.
42597 (_dl_x86_64_save_sse): Likewise.
42598
8e2045f5
UD
42599 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
42600
90f139dd
UD
42601 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
42602
1d002f25
AS
426032011-07-21 Andreas Schwab <schwab@redhat.com>
42604
42605 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
42606 change.
42607 (_dl_x86_64_save_sse): Use correct AVX check.
42608
21137f89
UD
426092011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42610
42611 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
42612 bug in strncpy/strncat.
42613 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42614
a65c0b7a
UD
426152011-07-21 Ulrich Drepper <drepper@gmail.com>
42616
42617 * string/tester.c (test_strcat): Add tests for different alignments
42618 of source and destination.
42619 (test_strncat): Likewise.
42620
6986b98a
UD
426212011-07-20 Ulrich Drepper <drepper@gmail.com>
42622
90bb2039
UD
42623 [BZ #12852]
42624 * posix/glob.c (glob): Check passed in values before using them in
42625 expressions to avoid some overflows.
42626 (glob_in_dir): Likewise.
42627
5644ef54
UD
42628 [BZ #13007]
42629 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
42630 check for AVX enablement so that we don't crash with old kernels and
42631 new hardware.
42632 * elf/tst-audit4.c: Add same checks here.
42633 * elf/tst-audit6.c: Likewise.
42634
42635 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 42636
bfc9dc9b
AS
426372011-07-09 Andreas Schwab <schwab@linux-m68k.org>
42638
42639 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
42640
702e64bb
UD
426412011-07-20 Ulrich Drepper <drepper@gmail.com>
42642
42643 * po/cs.po: Update from translation team.
42644 * po/bg.po: Likewise.
42645
295e904f
MP
426462011-07-12 Marek Polacek <mpolacek@redhat.com>
42647
42648 * misc/sys/cdefs.h: Add support for const attribute.
42649 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
42650 to gnu_dev_{major,minor,makedev} functions.
42651
3ff94596
MP
426522011-07-20 Marek Polacek <mpolacek@redhat.com>
42653
42654 * intl/dcigettext.c (get_output_charset): Add missing bracket.
42655
28b59fca
AS
426562011-07-20 Andreas Schwab <schwab@redhat.com>
42657
42658 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
42659 strlen results.
42660
19df733e
AK
426612011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42662
42663 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
42664 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
42665 register in order to avoid conflicts with the soft frame pointer
42666 being held in r11 when necessary.
42667 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
42668 (INTERNAL_VSYSCALL_NCS): Likewise.
42669
c8835729
MP
426702011-07-14 Marek Polacek <mpolacek@redhat.com>
42671
42672 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
42673 * elf/dl-fini.c (_dl_fini): Adjust caller.
42674 * elf/dl-close.c (_dl_close_worker): Likewise.
42675 * sysdeps/generic/ldsodefs.h: Adjust declaration.
42676
b902330c
MP
426772011-07-15 Marek Polacek <mpolacek@redhat.com>
42678
8991e135
MP
42679 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
42680 "aux_cache->nlibs < 0".
42681
b902330c
MP
42682 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
42683 in the reload-count case.
42684
99710781
LD
426852011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42686
42687 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42688 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
42689 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
42690 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
42691 * sysdeps/x86_64/multiarch/strcat.S: New file.
42692 * sysdeps/x86_64/multiarch/strncat.S: New file.
42693 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
42694 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
42695 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
42696 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
42697 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
42698 (USE_AS_STRCAT): Define.
42699 Add strcat and strncat support.
42700 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42701 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42702 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
42703 * string/strncat.c: Update.
42704 (USE_AS_STRNCAT): Define.
42705 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42706 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
42707 and i7.
42708 * sysdeps/x86_64/multiarch/init-arch.h
42709 (bit_Prefer_PMINUB_for_stringop): New.
42710 (index_Prefer_PMINUB_for_stringop): Likewise.
42711 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
42712 bit_Prefer_PMINUB_for_stringop.
42713
7dc6bd90
UD
427142011-07-19 Ulrich Drepper <drepper@gmail.com>
42715
42716 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
42717 buffer64.
42718 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
42719 of casting of buffer.
42720 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
42721 buffer32 and buffer64.
42722 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
42723 writes instead of casting of buffer.
42724 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
42725 buffer32.
42726 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
42727 casting of buffer.
42728
e0e72284
AS
427292011-07-19 Andreas Schwab <schwab@redhat.com>
42730
42731 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
42732
feb1eb0b
UD
427332011-07-19 Ulrich Drepper <drepper@gmail.com>
42734
42735 * nscd/nscd.c (termination_handler): Don't do anything for a database
42736 if it has not yet been initialized.
42737
298711ff
UD
427382011-07-18 Ulrich Drepper <drepper@gmail.com>
42739
42740 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42741
427422011-07-15 Marek Polacek <mpolacek@redhat.com>
42743
42744 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42745
f9d68389
UD
427462011-07-18 Ulrich Drepper <drepper@gmail.com>
42747
42748 * po/nl.po: Update from translation team.
42749 * po/sv.po: Likewise.
42750
db290cf5
RM
427512011-07-16 Roland McGrath <roland@hack.frob.com>
42752
42753 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
42754 now disallowed by GCC.
5c550700 42755
fd5e21c7
RM
42756 * configure.in (use-default-link): Default to yes if a test -shared
42757 link meets our qualifications.
42758 * configure: Regenerated.
42759
5c550700
RM
42760 * config.make.in (output-format): New variable.
42761 * configure.in: Check for ld --print-output-format support.
42762 * configure: Regenerated.
42763 * Makerules ($(common-objpfx)format.lds)
42764 [$(output-format) != unknown]: Just use $(output-format),
42765 instead of the linker-script munging.
42766
9fa2c032
RM
427672011-07-14 Roland McGrath <roland@hack.frob.com>
42768
a6928d51
RM
42769 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
42770 of $(common-objpfx)shlib.lds.
42771 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
42772
661607b3
RM
42773 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
42774 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
42775
9fa2c032
RM
42776 * configure.in (-z relro check): Adjust test code to add a large
42777 writable data section after it.
42778 * configure: Regenerated.
42779
defe9061
RM
427802011-07-11 Roland McGrath <roland@hack.frob.com>
42781
42782 * configure.in (-z relro check): Fix test code to make the variable
42783 truly const.
42784 * configure: Regenerated.
42785
319b9ad4
UD
427862011-07-11 Ulrich Drepper <drepper@gmail.com>
42787
42788 * nscd/nscd.h (struct traced_file): Define.
42789 (struct database_dyn): Remove inotify_descr, reset_res, and filename
42790 elements. Add traced_files.
42791 (inotify_fd): Declare.
42792 (register_traced_file): Declare.
42793 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
42794 (inotify_fd): Export.
42795 (resolv_conf_descr): Remove.
42796 (nscd_init): Move inotify descriptor creation to main.
42797 Don't register files for notification here.
42798 (register_traced_file): New function.
42799 (invalidate_cache): Don't use reset_res to determine whether to call
42800 res_init, go through the list of registered files.
42801 (main_loop_poll): The inotify descriptors are now stored in the
42802 structures for the traced files.
42803 (main_loop_epoll): Likewise
42804 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
42805 to __nss_disable_nscd.
42806 * nscd/cache.c (prune_cache): There is no single inotify descriptor
42807 for a database anymore. Check the records for all the registered
42808 files instead.
42809 * nss/Makefile (libnss_files-routines): Add files-init.
42810 (libnss_db-routines): Add db-init.
42811 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
42812 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
42813 * nss/nss_db/db-init.c: New file.
42814 * nss/nss_files/files-init.c: New file.
42815 * nss/nsswitch.c (nss_load_library): New function. Broken out of
42816 __nss_lookup_function.
42817 (__nss_lookup_function): Call nss_load_library.
42818 (nss_load_all_libraries): New function.
42819 (__nss_disable_nscd): Take parameter with callback function for files
42820 to register. Set is_nscd. Load all the DSOs for the NSS modules
42821 used for the cached services.
42822 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
42823 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
42824 options for features to all the files in nscd.
42825
42826 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
42827
23bee3e8
RM
428282011-07-10 Roland McGrath <roland@hack.frob.com>
42829
42830 * csu/elf-init.c (__libc_csu_init): Comment typo.
42831
46a5b7f0
UD
428322011-07-09 Ulrich Drepper <drepper@gmail.com>
42833
42834 * po/pl.po: Update from translation team.
42835 * po/ja.po: Likewise.
42836 * po/ru.po: Likewise.
42837 * po/ko.po: Likewise.
42838 * po/fr.po: Likewise.
42839
d30cf5bb
RM
428402011-07-09 Roland McGrath <roland@hack.frob.com>
42841
113ddea4
RM
42842 * configure.in (.ctors/.dtors header and trailer check):
42843 Use an empirical test on a built program.
42844 * configure: Regenerated.
42845
574920b4
RM
42846 * configure.in (-z relro check): Use an empirical test on a built DSO.
42847 Detect, but do not require, on ia64.
42848 * configure: Regenerated.
42849
d30cf5bb
RM
42850 * configure.in (READELF): Find it with AC_CHECK_TOOL.
42851 Update tests that use readelf to use $READELF instead.
42852 * configure: Regenerated.
42853
8538fdb3
UD
428542011-07-08 Ulrich Drepper <drepper@gmail.com>
42855
42856 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
42857 if the result is not used.
42858
04d08991
AJ
428592011-07-05 Andreas Jaeger <aj@suse.de>
42860
42861 [BZ#9696]
42862 * stdlib/tst-strtod.c: Add testcase.
42863
de283087
AD
428642011-07-07 Ulrich Drepper <drepper@gmail.com>
42865
4e5f31c8 42866 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 42867 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
42868 The latter has a higher limit. Take additional parameter to pass to
42869 the new function.
42870 (__pathconf): Pass file to __statfs_link_max.
42871 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
42872 __statfs_link_max.
42873 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
42874 __statfs_link_max.
42875
de283087
AD
42876 [BZ #12868]
42877 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
42878 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42879 Handle Lustre.
42880 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
42881 (__statfs_filesize_max): Likewise.
42882 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
42883
c75fa153
AJ
428842011-07-05 Andreas Jaeger <aj@suse.de>
42885
42886 * resolv/res_comp.c (dn_skipname): Remove unused variable.
42887
1a544854
UD
428882011-07-06 Marek Polacek <mpolacek@redhat.com>
42889
42890 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
42891 `status' variable.
42892 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
42893 Likewise.
42894
6f0eec67
UD
428952011-07-04 H.J. Lu <hongjiu.lu@intel.com>
42896
42897 * Makefile (strop-tests): Add strncat.
42898 * string/test-strncat.c: New file.
42899
aae30307
UD
429002011-06-30 Marek Polacek <mpolacek@redhat.com>
42901
42902 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
42903
c0cfb5eb
UD
429042011-06-21 Andreas Jaeger <aj@suse.de>
42905
42906 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
42907 Copy rule from iconvdata/Makefile.
42908
01636b21
UD
429092011-07-06 Ulrich Drepper <drepper@gmail.com>
42910
42911 [BZ #12922]
42912 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
42913 but no long options are defined, just return 'W'.
42914
9895c8bc
UD
429152011-06-22 Marek Polacek <mpolacek@redhat.com>
42916
42917 [BZ #9696]
42918 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
42919
5d4cf042
UD
429202011-07-06 Ulrich Drepper <drepper@gmail.com>
42921
42922 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
42923 netgroups to read.
960e5535 42924 (innetgr): Likewise.
5d4cf042 42925
751eb97e
RM
429262011-07-05 Roland McGrath <roland@hack.frob.com>
42927
42928 * config.make.in (install_root): Default to $(DESTDIR).
42929
f15f1e45
UD
429302011-07-05 Ulrich Drepper <drepper@gmail.com>
42931
42932 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
42933
4e34ac6a
RM
429342011-07-02 Roland McGrath <roland@hack.frob.com>
42935
5e9b6af4
RM
42936 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
42937
84f9ea0f
RM
42938 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
42939 containing directory rather than embedding absolute directory names.
42940
ea5ee9f7
RM
42941 * scripts/check-local-headers.sh: Rewritten using awk.
42942 Match by word, not by line. Print error messages for matches.
42943 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
42944
1b74661a
RM
42945 * Makerules [shlib-lds-flags empty]:
42946 ($(common-objpfx)libc_pic.opts): New target.
42947 ($(common-objpfx)libc_pic.os.clean): New target.
42948 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
42949
42950 * config.make.in (OBJCOPY): New variable.
42951 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
42952 * configure: Regenerated.
42953
f781ef40
RM
42954 * config.make.in (use-default-link): New variable.
42955 * configure.in (use_default_link): Grok --with-default-link to set it.
42956 * configure: Regenerated.
42957 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
42958 (shlib-lds, shlib-lds-flags): Define to empty.
42959
2d4fa81e
RM
42960 * Makerules (shlib-lds): New variable.
42961 (shlib-lds-flags): New variable.
42962 (build-shlib, build-moduile, build-module-asneeded): Use it.
42963 ($(common-objpfx)libc.so): Use $(shlib-lds).
42964 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
42965 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
42966
31fffa6b
RM
42967 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
42968 DT_FLAGS/DT_FLAGS_1 with zero flags.
42969
4e34ac6a
RM
42970 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
42971 linker script munging.
42972
fcfc776b
UD
429732011-07-02 Ulrich Drepper <drepper@gmail.com>
42974
42975 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
42976 as 128-bit value.
42977 * crypt/sha512.c (sha512_process_block): Perform total addition using
42978 128-bit if possible.
42979 (__sha512_finish_ctx): Likewise.
42980 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
42981 as 64-bit value.
42982 * crypt/sha256.c (SWAP64): Define.
42983 (sha256_process_block): Perform total addition using 64-bit if
42984 possible.
42985 (__sha256_finish_ctx): Likewise.
42986
99231d9a
UD
429872011-07-01 Ulrich Drepper <drepper@gmail.com>
42988
42989 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
42990 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42991 * nscd/hstcache.c (cache_addhst): Likewise.
42992 * nscd/grpcache.c (cache_addgr): Likewise.
42993 * nscd/aicache.c (addhstaiX): Likewise
42994 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
42995
445b4a53
TK
429962011-07-01 Thorsten Kukuk <kukuk@suse.de>
42997
42998 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
42999 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43000 * nscd/hstcache.c (cache_addhst): Likewise.
43001 * nscd/grpcache.c (cache_addgr): Likewise.
43002 * nscd/aicache.c (addhstaiX): Likewise
43003
6d4d8e8e
AS
430042011-07-01 Andreas Schwab <schwab@redhat.com>
43005
43006 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43007 domain only when needed.
43008
89f654c5
AS
430092011-06-30 Andreas Schwab <schwab@redhat.com>
43010
43011 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43012 is always restored.
43013
cf3b23ff
UD
430142011-06-29 Ulrich Drepper <drepper@gmail.com>
43015
43016 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43017 are re-adding the entry.
43018 * nscd/servicescache.c (cache_addserv): Likewise.
43019
751626f9
AJ
430202011-06-30 Aurelien Jarno <aurelien@aurel32.net>
43021
43022 * sysdeps/generic/dl-irel.h: fix protection against multiple
43023 inclusions.
43024 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43025
9113ea1f
UD
430262011-06-28 Ulrich Drepper <drepper@gmail.com>
43027
5c0b8d90
UD
43028 [BZ #12935]
43029 * malloc/memusage.sh: Fix quoting in message.
43030 * debug/xtrace.sh: Likewise.
43031
9113ea1f
UD
43032 * configure.in: Remove support for --experimental-malloc option, make
43033 it the default.
43034 * config.make.in: Likewise.
43035 * malloc/Makefile: Likewise.
43036
a4172181
AS
430372011-06-27 Andreas Schwab <schwab@redhat.com>
43038
43039 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43040 two-byte characters.
43041
78a7eee7
RM
430422011-06-27 Roland McGrath <roland@hack.frob.com>
43043
62bede13
RM
43044 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43045 AC_CACHE_CHECK invocation.
43046 * configure: Regenerated.
43047
78a7eee7
RM
43048 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43049
5ce33a62
UD
430502011-06-27 Ulrich Drepper <drepper@gmail.com>
43051
034807a9
UD
43052 [BZ #12350]
43053 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
43054 bit from old_res_options.
43055
4902da17
UD
43056 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43057
5ce33a62
UD
43058 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43059 value type for setfct.
43060
c2344f56
L
430612011-06-23 H.J. Lu <hongjiu.lu@intel.com>
43062
43063 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43064 __gettimeofday instead of gettimeofday.
43065
68468076
UD
430662011-06-26 Ulrich Drepper <drepper@gmail.com>
43067
43068 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43069
acb0d739
L
430702011-06-24 H.J. Lu <hongjiu.lu@intel.com>
43071
43072 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43073
43074 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43075 info.
43076
8912479f
L
430772011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43078
43079 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43080 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43081 strcpy-sse2-unaligned strncpy-sse2-unaligned
43082 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43083 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43084 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43085 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43086 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43087 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43088 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43089 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43090 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43091 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43092 (STRCPY): Support SSE2 and SSSE3 versions.
43093
d5495a11
UD
430942011-06-24 Ulrich Drepper <drepper@gmail.com>
43095
43096 [BZ #12874]
43097 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43098 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43099 kernels which artificially limit size of requests.
43100
0b1cbaae
L
431012011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43102
43103 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43104 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43105 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43106 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43107 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43108 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43109 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43110 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43111 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43112 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43113 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43114 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43115 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43116 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43117 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43118 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43119 Enable unaligned load optimization for Intel Core i3, i5 and i7
43120 processors.
43121 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43122 Define.
43123 (index_Fast_Unaligned_Load): Define.
43124 (HAS_FAST_UNALIGNED_LOAD): Define.
43125
07f494a0
MP
431262011-06-23 Marek Polacek <mpolacek@redhat.com>
43127
43128 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43129
fa3fc0fe
UD
431302011-06-22 Ulrich Drepper <drepper@gmail.com>
43131
43132 [BZ #12907]
43133 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43134 until it is clear that the information is realy needed.
43135 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43136
e12df166
AS
431372011-06-22 Andreas Schwab <schwab@redhat.com>
43138
43139 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43140
852eb34d
UD
431412011-06-22 Ulrich Drepper <drepper@gmail.com>
43142
84e2a551
UD
43143 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43144 /sys/devices/system/cpu/online if it is usable.
43145
852eb34d
UD
43146 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43147 reading the information from the /proc filesystem to once a second.
43148
6e502e19
UD
431492011-06-21 Andreas Jaeger <aj@suse.de>
43150
43151 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43152 NULL after inclusion of kernel headers.
43153
75d39ff2
UD
431542011-06-21 Ulrich Drepper <drepper@gmail.com>
43155
51f9aa6a
UD
43156 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43157 calls to internal_setent.
43158
c0244a9d
UD
43159 [BZ #12885]
43160 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43161 addresses using gethostbyname4_r ignore IPv4 addresses.
43162
c5e3c2ae
UD
43163 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43164 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
43165
75d39ff2
UD
43166 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43167
42675c6f
DM
431682011-06-20 David S. Miller <davem@davemloft.net>
43169
43170 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43171 inclusions.
43172 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43173
43174 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43175 (elf_irel): Use it.
43176 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43177 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43178 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43179 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43180 * sysdeps/x86_64/dl-irel.h: Likewise.
43181
43182 * elf/dl-runtime.c: Use elf_ifunc_invoke.
43183 * elf/dl-sym.c: Likewise.
43184
57912a71
UD
431852011-06-15 Ulrich Drepper <drepper@gmail.com>
43186
43187 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
43188 need to dereference resplen2.
43189
ee22793d
AS
431902011-06-14 Andreas Schwab <schwab@redhat.com>
43191
43192 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43193
a9e836b0
UD
431942011-06-15 Ulrich Drepper <drepper@gmail.com>
43195
77fb9117
UD
43196 * Makeconfig: Define vardbdir and inst_vardbdir.
43197 * nss/Makefile: Add rules to install db-Makefile.
43198
40c1b22c
UD
43199 * nss/nss_db/db-XXX.c: Cleanup.
43200
9f2da732
UD
43201 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43202 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43203 GLIBC_PRIVATE.
43204 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43205 * nss/makedb.c: Implement -g option to specify that value strings
43206 are generated and should not be added to table iterated over for
43207 get*ent calls.
43208 * nss/nss_db/db-initgroups.c: New file.
43209
82e9a1f7
UD
43210 * nss/getent.c: Add support for initgroups lookups through getgrouplist
43211 interface.
43212
c41af17e
UD
43213 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43214 (internal_getgrouplist): Adjust to name change.
43215 Update use_initgroups_entry if this is not the first call.
43216 * nss/databases.def: Add initgroups entry.
43217
a9e836b0
UD
43218 * nss/makedb.c (compute_tables): Check result of multiple hash table
43219 sizes to minimize maximum chain length.
43220
2666d441
UD
432212011-06-14 Ulrich Drepper <drepper@gmail.com>
43222
43223 * Versions.def: Add entry for libnss_db.
43224 * shlib-versions: Likewise.
43225 * nss/Makefile: Add rules to build libnss_db.
43226 * nss/Versions: Add libnss_db information. Organize libnss_files
43227 entries better.
43228 * nss/db-Makefile: Add gshadow support. Change rules for the new
43229 makedb progra. Some minor improvements to generate smaller files.
43230 * nss/nss_db/nss_db.h: Move NSS database header data structures to
43231 here from...
43232 * nss/makedb.c: ...here.
43233 Improve database format to be smaller and require less memory at
43234 runtime.
43235 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
43236 db anymore.
43237 * nss/nss_db/db-netgrp.c: Likewise.
43238 * nss/nss_db/db-open.c: Likewise.
43239 * nss/nss_files/flies-XXX.x: Adjust comments.
43240 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43241 * nss/nss_files/files-grp.c: Likewise.
43242 * nss/nss_files/files-hosts.c: Likewise.
43243 * nss/nss_files/files-network.c: Likewise.
43244 * nss/nss_files/files-proto.c: Likewise.
43245 * nss/nss_files/files-pwd.c: Likewise.
43246 * nss/nss_files/files-rpc.c: Likewise.
43247 * nss/nss_files/files-service.c: Likewise.
43248 * nss/nss_files/files-sgrp.c: Likewise.
43249 * nss/nss_files/files-spwd.c: Likewise.
43250 * nss/nss_db/db-alias.c: Removed.
43251 * nss/nss_db/dummy-db.h: Removed.
43252
9ee76b5a
UD
432532011-06-02 Ulrich Drepper <drepper@gmail.com>
43254
43255 * nss/makedb.c: Rewritten to not use database library.
43256 * nss/Makefile: Update to build new makedb program.
43257
c71ca1f8
AJ
432582011-06-14 Andreas Jaeger <aj@suse.de>
43259
43260 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43261 memset declaration.
43262
3154bfb8
UD
432632011-06-10 Andreas Schwab <schwab@redhat.com>
43264
43265 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43266 tmpbuf.
43267
b350afab
RM
432682011-06-10 Roland McGrath <roland@hack.frob.com>
43269
decd4e50
RM
43270 * Makerules (shlib.lds): Fail if the linker script comes out empty.
43271 * elf/Makefile ($(objpfx)ld.so): Likewise.
43272
5615eaf2
RM
43273 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43274 Don't list ld.so twice in dependencies.
43275
43276 * posix/bug-regex31.c: Include <stdlib.h>.
43277
43278 * nscd/hstcache.c (cache_addhst): Remove unused variable.
43279
43280 * nis/nss_compat/compat-spwd.c
43281 (getspent_next_nss_netgr): Remove unused variable.
43282 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43283
43284 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43285 nonmembers" output to use the right array.
43286
43287 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43288
43289 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43290
43291 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43292 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43293 * catgets/gencat.c (read_input_file): Likewise.
43294 * locale/programs/locarchive.c (enlarge_archive): Likewise.
43295
43296 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43297 variable definition inside #if's controlling its use.
43298
43299 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43300
43301 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43302
43303 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43304
43305 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43306 unreachable code.
43307
43308 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43309
b68e08db
RM
43310 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43311 * configure: Regenerated.
43312
b350afab
RM
43313 * Makerules: Revert last change.
43314 * elf/Makefile: Likewise.
43315
28368601
RM
433162011-06-09 Roland McGrath <roland@hack.frob.com>
43317
43318 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43319 * elf/Makefile ($(objpfx)librtld.os): Likewise.
43320 (reloc-link): Likewise.
43321
11988f8f
UD
433222011-06-09 Ulrich Drepper <drepper@gmail.com>
43323
43324 * elf/Makefile: Add rules to build pldd.
43325 * elf/pldd.c: New file.
43326 * elf/pldd-xx.c: New file.
43327
e80fab37
UD
433282011-06-07 Ulrich Drepper <drepper@gmail.com>
43329
43330 * version.h: Update for 2.15 development version.
43331
9b849836
DM
433322011-06-07 David S. Miller <davem@davemloft.net>
43333
43334 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43335 ifuncs.
43336 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43337 elf_machine_lazy_rel): Likewise.
43338 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43339 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43340 elf_machine_lazy_rel): Likewise.
43341 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43342 dl_hwcap via passed in argument.
43343 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43344 Likewise.
43345
5a31b283
AK
433462011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43347
43348 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
43349
069e52f8
RM
433502011-06-06 Roland McGrath <roland@hack.frob.com>
43351
43352 [BZ #12849]
43353 * manual/fdl-1.1.texi: New file, verbatim from:
43354 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43355 * manual/lgpl-2.1.texi: New file, verbatim from:
43356 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43357 * manual/Makefile (licenses): New variable, list those new file names.
43358 (texis): Use it.
43359 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43360
43361 * manual/fdl.texi: File removed.
43362 * manual/lesser.texi: File removed.
43363 * manual/libc.texinfo (Copying, Documentation License):
43364 Use new @include file names, put @appendix directive before @include.
43365
f16846a5
JJ
433662011-06-04 Jakub Jelinek <jakub@redhat.com>
43367
43368 [BZ #12841]
43369 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43370 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43371 (mq_open): Add __NTH.
43372
3d29045b
L
433732011-06-02 H.J. Lu <hongjiu.lu@intel.com>
43374
43375 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43376 Assume Intel Core i3/i5/i7 processor if AVX is available.
43377
8c297311
UD
433782011-05-31 Ulrich Drepper <drepper@gmail.com>
43379
43380 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43381 typo.
43382
c8fc0c91
UD
433832011-05-31 Andreas Schwab <schwab@redhat.com>
43384
43385 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43386 memory. Use alloca_account. Fix memory leak when retrying.
43387
5b27a807
UD
433882011-05-31 Ulrich Drepper <drepper@gmail.com>
43389
356f8bc6
UD
43390 * version.h (RELEASE): Bump for 2.14 release.
43391 * include/features.h (__GLIBC_MINOR__): Bump to 14.
43392
5b27a807
UD
43393 * config.make.in (RANLIB): Remove entry.
43394
01f16ab0
UD
433952011-05-30 Ulrich Drepper <drepper@gmail.com>
43396
41fce8bd
UD
43397 * po/Makefile (po-sed-cmd): Add ksh to extensions.
43398 (libc.pot): Work around missing support for .ksh extension in xgettext.
43399
4769ae77
UD
43400 [BZ #12684]
43401 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43402 if both request failed.
43403 (send_dg): In case of server errors clear resplen or *resplen2.
43404
6b1e7d19
UD
43405 [BZ #12454]
43406 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43407 when there are multiple maps.
43408 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43409 (_dl_fini): Remove test here.
43410
01f16ab0
UD
43411 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43412
b1ebd700
UD
434132011-05-29 Ulrich Drepper <drepper@gmail.com>
43414
7ae22829
UD
43415 [BZ #12350]
43416 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43417 bit from old_res_options.
43418 (gaih_inet): Likewise.
43419
553149f6 43420 [BZ #11099]
18a84741 43421 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
43422 as signed.
43423
652ffab1
UD
43424 * resolv/res_init.c (res_setoptions): Make the code more compact.
43425
16985fd0
UD
43426 [BZ #11558]
43427 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43428 set RES_USEVC.
43429
0464f746
UD
43430 [BZ #11634]
43431 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43432
7d17596c
UD
43433 * malloc/malloc.h: Mark malloc hook variables as deprecated.
43434
cf6bbbd7
UD
43435 [BZ #11781]
43436 * malloc/malloc.h: Declare malloc hook variables as volatile.
43437
13f1ab36
UD
43438 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43439 in last patch.
43440
b1ebd700
UD
43441 [BZ #11799]
43442 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 43443 raise in the comment.
80e2212d
UD
43444 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43445 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43446 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 43447
ce67228d
UD
434482011-05-28 Ulrich Drepper <drepper@gmail.com>
43449
8887a920
UD
43450 [BZ #12811]
43451 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
43452 grow the buffers more if it already has to be sufficient.
43453 (build_wcs_upper_buffer): Likewise.
43454 * posix/regexec.c (check_matching): Likewise.
43455 (clean_state_log_if_needed): Likewise.
43456 (extend_buffers): Don't enlarge buffers beyond size of the input
43457 buffer.
43458 Patches mostly by Emil Wojak <emil@wojak.eu>.
43459 * posix/bug-regex32.c: New file.
43460 * posix/Makefile (tests): Add bug-regex32.
43461
4f031072
UD
43462 * locale/findlocale.c (_nl_find_locale): Return right away if
43463 _nl_explode_name failed.
43464 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
43465
d0478f0c
UD
43466 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
43467
de81b246
UD
43468 * debug/xtrace.sh: Unify messages.
43469 * malloc/memusage.sh: Likewise.
43470
c738465a
UD
43471 [BZ #12813]
43472 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
43473 time symbol from vDSO. Substitute with vsyscall if not available.
43474 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
43475 __vdso_time.
43476
f1f929d7
UD
43477 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
43478 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
43479 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
43480 Add sendmmsg and internal_sendmmsg.
43481 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
43482 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
43483 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
43484
ce67228d
UD
43485 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
43486 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
43487 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
43488
e57420c6
UD
434892011-05-27 Ulrich Drepper <drepper@gmail.com>
43490
a8509ca5
UD
43491 [BZ #12813]
43492 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
43493 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
43494 available.
43495 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
43496 __vdso_getcpu.
43497
e57420c6
UD
43498 [BZ #12814]
43499 * iconvdata/Makefile (tests): Add bug-iconv9.
43500 * iconvdata/bug-iconv9.c: New file.
43501
4d07db15
AS
435022011-05-27 Andreas Schwab <schwab@redhat.com>
43503
43504 [BZ #12814]
43505 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
43506
ea486f69
JJ
435072011-05-25 Jakub Jelinek <jakub@redhat.com>
43508
43509 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43510 (struct user_regs_struct): Change intcs field back to cs.
43511
6f038433
UD
435122011-05-25 Ulrich Drepper <drepper@gmail.com>
43513
43514 * po/ja.po: Update from translation team.
43515
67f86a25
UD
435162011-05-23 Ulrich Drepper <drepper@gmail.com>
43517
43518 [BZ #12795]
43519 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
43520 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
43521
def7fbd6
AS
435222011-05-20 Andreas Schwab <schwab@redhat.com>
43523
43524 * stdlib/longlong.h: Update from GCC.
43525
f50ef8f1
AS
435262011-05-23 Andreas Schwab <schwab@redhat.com>
43527
43528 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
43529 parameter name.
43530 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
43531 Add parameter name.
43532 (__sysconf): Pass it down.
43533
de7ce8f1
UD
435342011-05-22 Ulrich Drepper <drepper@gmail.com>
43535
f2962a71
UD
43536 [BZ #12671]
43537 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
43538 some situations.
43539 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43540 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
43541 add in in __libc_use_alloca calls. Adjust callers.
43542 (glob): Use malloc in some situations.
43543
de7ce8f1
UD
43544 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
43545 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
43546 pltexit.
43547
aec84f53
UD
435482011-05-21 Ulrich Drepper <drepper@gmail.com>
43549
05bb4a68
UD
43550 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
43551 and CLOCK_BOOTTIME_ALARM.
43552
7ea72f99
UD
43553 [BZ #12782]
43554 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
43555 is returned.
43556
7e4afad5
UD
43557 * string/_strerror.c (__strerror_r): Print negative errors as signed
43558 numbers.
43559
8e211fec
UD
43560 [BZ #12777]
43561 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
43562 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
43563 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
43564
f7d82dc9
UD
43565 * configure.in: Fix typo in redirection and correct removal of test
43566 files in two cases.
43567
cc9e536d
UD
43568 [BZ #12788]
43569 * locale/setlocale.c (new_composite_name): Fix test to check for
43570 identical name of all categories.
43571
aec84f53
UD
43572 [BZ #12792]
43573 * libio/filedoalloc.c (local_isatty): New function.
43574 (_IO_file_doallocate): Use local_isatty.
43575 * stdio-common/perror.c (perror): In case a new stream is used
43576 forward the stream error.
43577 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
43578 error flag.
43579
78e64fdc
RT
435802011-05-20 Ulrich Drepper <drepper@gmail.com>
43581
34a9094f
UD
43582 [BZ #11869]
43583 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
43584 alloca.
43585 * include/alloca.h (extend_alloca_account): Define.
43586
78e64fdc
RT
43587 [BZ #11857]
43588 * posix/regex.h: Fix comments with documentation of user-accessible
43589 fields after compilation and describe correct free'ing of pattern
43590 after re_compile_pattern.
43591 Patch by Reuben Thomas <rrt@sc3d.org>.
43592
457bddfc
RA
435932011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
43594
43595 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
43596 and -mno-altivec to prevent the compiler from using Altivec and/or
43597 VSX instructions when the corresponding registers are not available.
43598
a4527b51
AS
435992011-05-19 Andreas Schwab <schwab@redhat.com>
43600
43601 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
43602
ed690b2f
UD
436032011-05-19 Ulrich Drepper <drepper@gmail.com>
43604
43605 * libio/freopen.c (freopen): Use __dup2, not dup2.
43606 * libio/freopen64.c (freopen64): Likewise.
43607
8db73634
L
436082011-05-17 H.J. Lu <hongjiu.lu@intel.com>
43609
43610 [BZ #12775]
43611 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
43612 * math/Makefile (tests): Add test-powl.
43613 (CFLAGS-test-powl.c): Define.
43614 * math/test-powl.c: New file.
43615
0a197a9d
L
436162011-05-16 H.J. Lu <hongjiu.lu@intel.com>
43617
43618 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
43619
ee30c380
UD
436202011-05-17 Ulrich Drepper <drepper@gmail.com>
43621
43622 [BZ #11837]
43623 * iconvdata/gb18030.c: Update to GB18020-2005.
43624
6ce75379
UD
436252011-05-16 Ulrich Drepper <drepper@gmail.com>
43626
a4b89fd8
AR
43627 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
43628 RE_SYNTAX_POSIX_AWK): Update to match recent development.
43629 Patch by Aharon Robbins <arnold@skeeve.com>.
43630
ea389b12
UD
43631 [BZ #11892]
43632 * stdlib/putenv.c (putenv): Don't always create copy of the variable
43633 on the stack.
43634
68a3f91f
UD
43635 [BZ #11895]
43636 * misc/pselect.c (__pselect): Handle timeout value errors hidden
43637 through underflows.
43638
15cc7dd1
UD
43639 [BZ #12766]
43640 * misc/error.c (error_at_line): Ensure file_name and old_file_name
43641 point to strings before performing equality test for error_one_per_line
43642 mode.
43643
f3799213
UD
43644 [BZ #11697]
43645 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
43646
d79a9c94
UD
43647 [BZ #11820]
43648 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43649 (struct user_fpregs_struct): Avoid __uint*_t types.
43650
56e5eb46
UD
43651 [BZ #6420]
43652 * malloc/mtrace.c (tr_where): Add additional parameter to point to
43653 symbol info. Use it instead of calling _dl_addr locally.
43654 (lock_and_info): New function.
43655 (tr_freehook): Call lock_and_info and pass symbol info as additional
43656 parameter to tr_where.
43657 (tr_mallochook): Likewise.
43658 (tr_reallochook): Likewise.
43659 (tr_memalignhook): Likewise.
43660
6ce75379
UD
43661 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
43662 used and couldn't be at all thread-safe.
43663
f8a3b5bf
UD
436642011-05-15 Ulrich Drepper <drepper@gmail.com>
43665
94b7cc37
UD
43666 * libio/freopen.c (freopen): Don't close old file descriptor
43667 before the new one is opened. Instead dup the new file descriptor
43668 to the old one after the new stream is created.
43669 * libio/freopen64.c (freopen64): Likewise.
43670 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
43671 * libio/fileops.c (_IO_new_file_close_it): Handle new
43672 _IO_FLAGS2_NOCLOSE flag.
43673 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
43674 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
43675 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
43676 _IO_FLAGS2_NOCLOSE flag.
43677 * include/unistd.h: Add hidden_proto for dup3.
43678 Define __have_dup3.
43679 * io/dup3.c: Define hidden symbol.
43680 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
43681
bd25564e
UD
43682 [BZ #7101]
43683 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
43684 when an incomplete long option is used.
43685 * posix/tst-getopt_long1.c: New file.
43686 * posix/Makefile (tests): Add tst-getopt_long1.
43687
c84cfef4
UD
43688 [BZ #10138]
43689 * scripts/config.guess: Update from autoconf-2.68.
43690 * scripts/config.sub: Likewise.
43691
3b85df27
UD
43692 [BZ #10157]
43693 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
43694 tests into ...
43695 (has_cpuclock): ...this. New function.
43696 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
43697 macro here based on has_cpuclock code.
43698
15a856b1
UD
43699 [BZ #10149]
43700 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43701 First byte (not low byte) is now always NUL.
43702 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
43703
05f399e6
UD
43704 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43705 Use non-cancelable interfaces.
43706
10a52685 43707 [BZ #9809]
94ecc67d
UD
43708 * locale/iso-639.def: Add entry for Sorani.
43709
f8a3b5bf
UD
43710 [BZ #11901]
43711 * include/stdlib.h: Move include protection to the right place.
43712 Define abort_msg_s. Declare __abort_msg with it.
43713 * stdlib/abort.c (__abort_msg): Adjust type.
43714 * assert/assert.c (__assert_fail_base): New function. Majority
43715 of code from __assert_fail. Allocate memory for __abort_msg with
43716 mmap.
43717 (__assert_fail): Now call __assert_fail_base.
43718 * assert/assert-perr.c: Remove bulk of implementation. Use
43719 __assert_fail_base.
43720 * include/assert.hL Declare __assert_fail_base.
43721 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
43722 mmap.
43723 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
43724
1af4e298
UD
437252011-05-14 Ulrich Drepper <drepper@gmail.com>
43726
f8a3b5bf 43727 [BZ #11952]
d26dfc60
MG
43728 [BZ #12453]
43729 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
43730 until all modules are registered in the DTV.
43731 * elf/Makefile: Add rules to build and run tst-tls19.
43732 * elf/tst-tls19.c: New file.
43733 * elf/tst-tls19mod1.c: New file.
43734 * elf/tst-tls19mod2.c: New file.
43735 * elf/tst-tls19mod3.c: New file.
43736 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
43737
2fc54d6f
UD
43738 [BZ #12083]
43739 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
43740 correctly.
43741
98d76b46
UD
43742 [BZ #12601]
43743 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
43744 two-byte sequence errors.
43745 * iconvdata/Makefile (tests): Add bug-iconv8.
43746 * iconvdata/bug-iconv8.c: New file.
43747
da3c19ef
UD
43748 [BZ #12626]
43749 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
43750 buf2 definition.
43751
ca408c15
UD
43752 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
43753
d6f67f7d
UD
43754 [BZ #12432]
43755 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
43756 (dummy_getcfa): New function.
43757 (init): Get _Unwind_GetCFA address, use dummy if not found.
43758 (backtrace_helper): In recursion check, also check whether CFA changes.
43759 (__backtrace): Completely initialize arg.
43760
1af4e298 43761 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
43762 storing incomplete byte sequence in state object. Avoid testing for
43763 guaranteed too small input if we know there is enough data available.
1af4e298 43764
da62f81b
AS
437652011-05-11 Andreas Schwab <schwab@redhat.com>
43766
43767 * Makeconfig (+link-pie): Indent.
43768 * Rules (binaries-pie): Define if $(have-fpie) and
43769 $(build-shared).
43770 (binaries-shared): Also filter out $(binaries-pie).
43771 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
43772 * nscd/Makefile (others-pie): Add nscd.
43773 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
43774 ($(objpfx)nscd): Remove command override.
43775 * login/Makefile (others-pie): Add pt_chown.
43776 ($(objpfx)pt_chown): Remove command override.
43777 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
43778 remove command overrides.
43779
fcabc0f8
UD
437802011-05-13 Ulrich Drepper <drepper@gmail.com>
43781
20030ae6
UD
43782 * libio/tst_putwc.c: Fix error messages.
43783
fcabc0f8
UD
43784 [BZ #12724]
43785 * libio/fileops.c (_IO_new_file_close_it): Always flush when
43786 currently writing and seek to current position when not.
43787 * libio/Makefile (tests): Add bug-fclose1.
43788 * libio/bug-fclose1.c: New file.
43789
320a5dc0
PB
437902011-05-12 Ulrich Drepper <drepper@gmail.com>
43791
43792 [BZ #12511]
43793 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
43794 don't set DF_1_NODELETE here.
43795 (do_lookup_x): When entering new entry test for copy relocation
43796 and if necessary set DF_1_NODELETE flag.
43797 * elf/tst-unique4.cc: New file.
43798 * elf/tst-unique4.h: New file.
43799 * elf/tst-unique4lib.cc: New file.
43800 * elf/Makefile: Add rules to build and run tst-unique4.
43801 Patch by Piotr Bury <pbury@goahead.com>.
43802
22836f52
UD
438032011-05-11 Ulrich Drepper <drepper@gmail.com>
43804
f574184a
UD
43805 [BZ #12052]
43806 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
43807
e1fb097f
UD
43808 [BZ #12625]
43809 * misc/mntent_r.c (addmntent): Flush the stream after the output
43810
22836f52
UD
43811 [BZ #12393]
43812 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
43813 (is_trusted_path_normalize): Skip initial colon. Append slash
43814 to empty buffer. Duplicate is_trusted_path code but allow
43815 constructed patch to be prefix.
43816 (is_dst): Allow $ORIGIN followed by /.
43817 (_dl_dst_substitute): Correct clearing of check_for_trusted.
43818 Correct testing of result of is_trusted_path_normalize
43819 (decompose_rpath): Fix warning.
43820
7b3b0b2a
UD
438212011-05-10 Ulrich Drepper <drepper@gmail.com>
43822
43823 [BZ #11257]
43824 * grp/initgroups.c (internal_getgrouplist): When we found the service
43825 list through the initgroups entry in nsswitch.conf do not always
43826 continue on a successful lookup. Don't always use the
eac80ce2 43827 __nss_group_database value if it is set.
7b3b0b2a
UD
43828 * nss/nsswitch.conf (initgroups): Change action for successful db
43829 lookup to continue for compatibility.
43830
2a81eaa5
UD
438312011-05-09 Ulrich Drepper <drepper@gmail.com>
43832
be97a69e
UD
43833 [BZ #11532]
43834 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
43835 and CP774 modules.
43836 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
43837 and CP774 modules.
43838 * iconvdata/tst-tables.sh: Likewise.
43839 * iconvdata/cp770.c: New file.
43840 * iconvdata/cp771.c: New file.
43841 * iconvdata/cp772.c: New file.
43842 * iconvdata/cp773.c: New file.
43843 * iconvdata/cp774.c: New file.
43844 * iconvdata/testdata/CP770: New file.
43845 * iconvdata/testdata/CP770..UTF8: New file.
43846 * iconvdata/testdata/CP771: New file.
43847 * iconvdata/testdata/CP771..UTF8: New file.
43848 * iconvdata/testdata/CP772: New file.
43849 * iconvdata/testdata/CP772..UTF8: New file.
43850 * iconvdata/testdata/CP773: New file.
43851 * iconvdata/testdata/CP773..UTF8: New file.
43852 * iconvdata/testdata/CP774: New file.
43853 * iconvdata/testdata/CP774..UTF8: New file.
43854
43855 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
43856 END CHARMAP line.
43857 * iconvdata/gen-8bit-gap.sh: Likewise.
43858 * iconvdata/gen-8bit.sh: Likewise.
43859
c1e9e399
UD
43860 * locale/iso-639.def: Add ary entry.
43861
24c55fb3 43862 [BZ #11258]
96b4b1b0
UD
43863 * locale/C-translit.h.in: Add U20A1 transliteration.
43864
bdc2f971
KB
43865 [BZ #12178]
43866 * locale/iso-639.def: Add wae entry.
43867 Patch by Kevin Bortis <bortis@translate-wae.ch>.
43868
2952b117
UD
43869 [BZ #12545]
43870 * locale/programs/localedef.c (construct_output_path): Use ssize_t
43871 for n.
43872
2a81eaa5
UD
43873 [BZ #12711]
43874 * locale/C-translit.h.in: Add entry for U20B9.
43875 Patch by pravin.d.s@gmail.com.
43876
28377d1b
UD
438772011-05-08 Ulrich Drepper <drepper@gmail.com>
43878
7fb90fb8
UD
43879 [BZ #12713]
43880 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
43881 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
43882 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
43883 in rtld. Use *stat64.
7fb90fb8 43884 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 43885 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 43886 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
43887 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
43888 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
43889 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
43890 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
43891 __fstatat64 macros.
7fb90fb8
UD
43892 * include/dirent.h: Add libc_hidden_proto for rewinddir.
43893 * dirent/rewinddir.c: Add libc_hidden_def.
43894 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 43895 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 43896
28377d1b
UD
43897 * include/dirent.h (__alloc_dir): Add flags parameter.
43898 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
43899 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
43900 __alloc_dir.
43901 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
43902 from fdopendir if O_CLOEXEC is already set.
43903
66bdbaa4
AM
439042011-03-15 Alan Modra <amodra@gmail.com>
43905
43906 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
43907 l_tls_firstbyte_offset non-zero. Save padding offset in
43908 l_tls_firstbyte_offset for later use.
43909 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
43910 freeing static tls block.
43911
95721191
JN
439122011-03-05 Jonathan Nieder <jrnieder@gmail.com>
43913
43914 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
43915 where #ifdef was intended. The intent is to prevent ARG_MAX from
43916 being defined by the kernel headers.
43917
f87dfb1f
UD
439182011-05-07 Ulrich Drepper <drepper@gmail.com>
43919
43920 [BZ #12734]
43921 * resolv/resolv.h: Define RES_NOTLDQUERY.
43922 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
43923 no-tld-query and set RES_NOTLDQUERY.
43924 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
43925 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
43926 modern BIND to search name as TLD unless forbidden.
43927
47c3cd7a
UD
439282011-05-07 Petr Baudis <pasky@suse.cz>
43929 Ulrich Drepper <drepper@gmail.com>
43930
43931 [BZ #12393]
43932 * elf/dl-load.c (fillin_rpath): Move trusted path check...
43933 (is_trusted_path): ...to here.
c1e9ea35 43934 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 43935 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 43936 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 43937
8a35c912
PP
439382011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
43939
43940 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
43941 __BEGIN/__END_DECLS.
43942
acd41f47
UD
439432011-05-06 Ulrich Drepper <drepper@gmail.com>
43944
43945 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
43946 NSS_STATUS_NOTFOUND if no record was found.
43947
597df647
AS
439482011-05-05 Andreas Schwab <schwab@redhat.com>
43949
43950 * sunrpc/Makefile (headers): Add rpc/netdb.h.
43951 (headers-not-in-tirpc): Remove rpc/netdb.h
43952 * resolv/netdb.h: Revert last change.
43953
b9af1301
PP
439542011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43955
43956 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
43957 circular dependency between libgcc.a and libc.a.
43958
4e34d5f5
AS
439592011-05-05 Andreas Schwab <schwab@redhat.com>
43960
43961 * resolv/netdb.h: Don't include <rpc/netdb.h>.
43962 * nis/Makefile: Don't install rpcsvc/*.
43963 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
43964 instead of <rpc/types.h>.
43965 (MAXHOSTNAMELEN): Define.
43966
00ee369c
AS
439672011-05-03 Andreas Schwab <schwab@redhat.com>
43968
43969 * elf/ldconfig.c (add_dir): Don't crash on empty path.
43970
0b592a30
MB
439712011-04-28 Maciej Babinski <mbabinski@google.com>
43972
43973 [BZ #12714]
43974 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
43975 gethostbyname4_r when IPv6 results are possible.
43976
6e04cbbe
UD
439772011-05-02 Ulrich Drepper <drepper@gmail.com>
43978
43979 [BZ #12723]
43980 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
43981 _PC_PIPE_BUF handling.
43982
e4ecafe0
BH
439832011-04-30 Bruno Haible <bruno@clisp.org>
43984
43985 [BZ #12717]
43986 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
43987 * resolv/netdb.h (getnameinfo): Change type of flags parameter
43988 to 'int'.
43989 * inet/getnameinfo.c (getnameinfo): Likewise.
43990
125ee683
UD
439912011-04-29 Ulrich Drepper <drepper@gmail.com>
43992
43993 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
43994 to groups setting in database lookup.
43995 * nss/nsswitch.conf: Add initgroups entry.
43996
b722481a
EB
439972011-04-22 Ulrich Drepper <drepper@gmail.com>
43998
43999 [BZ #12685]
44000 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44001 mode string.
44002 Patch by Eric Blake <eblake@redhat.com>.
44003
4df46dbd
L
440042011-04-20 H.J. Lu <hongjiu.lu@intel.com>
44005
44006 * sunrpc/Makefile (need-export-routines): Add svc_run.
44007 (routines): Remove svc_run.
44008 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44009 * sunrpc/clnt_perr.c (clnt_perrno): Export.
44010 * sunrpc/svc_run.c (svc_run): Likewise.
44011 * sunrpc/svc_udp.c (svcudp_create): Likewise.
44012
e84142d2
UD
440132011-04-21 Ulrich Drepper <drepper@gmail.com>
44014
44015 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44016 problem in reallocation in last patch.
44017
877175d8
UD
440182011-04-20 Ulrich Drepper <drepper@gmail.com>
44019
44020 * sunrpc/Makefile: Move inclusion of Rules.
44021
ab8eed78
UD
440222011-04-19 Ulrich Drepper <drepper@gmail.com>
44023
44024 * nss/nss_files/files-initgroups.c: New file.
44025 * nss/Makefile (libnss_files-routines): Add files-initgroups.
44026 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44027 _nss_files_initgroups_dyn.
44028
e3d8f584
RS
440292011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
44030
44031 * elf/elf.h (R_ARM_IRELATIVE): Define.
44032
af190f45
UD
440332011-04-19 Ulrich Drepper <drepper@gmail.com>
44034
44035 * po/ru.po: Update from translation team.
44036
53cf59ef
UD
440372011-04-17 Ulrich Drepper <drepper@gmail.com>
44038
44039 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44040 dependencies.
44041
4c559bcd
MF
440422011-02-06 Mike Frysinger <vapier@gentoo.org>
44043
44044 [BZ #12653]
44045 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44046 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44047 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44048 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44049 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44050
4420675c
AS
440512011-03-28 Andreas Schwab <schwab@linux-m68k.org>
44052
44053 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44054 differing bytes.
44055 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44056 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44057 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44058
75ea32ab
UD
440592011-04-17 Ulrich Drepper <drepper@gmail.com>
44060
44061 [BZ #12420]
44062 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44063 storing it.
44064 * stdlib/bug-getcontext.c: New file.
44065 * stdlib/Makefile: Add rules to build and run bug-getcontext.
44066
27390476
AK
440672011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44068
44069 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44070 instructions into .machine "z9-109".
44071 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44072 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44073
10442705
AK
440742011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44075
44076 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44077 between environment variables and auxiliary vector.
44078
7b57bfe5
UD
440792011-04-16 Ulrich Drepper <drepper@gmail.com>
44080
44081 * Makefile: Add rules to build linkobj/libc.so.
44082 * include/libc-symbols.h: Define libc_hidden_nolink.
44083 * include/rpc/auth.h: Mark functions which are to be hidden.
44084 * include/rpc/auth_des.h: Likewise.
44085 * include/rpc/auth_unix.h: Likewise.
44086 * include/rpc/clnt.h: Likewise.
44087 * include/rpc/des_crypt.h: Likewise.
44088 * include/rpc/key_prot.h: Likewise.
44089 * include/rpc/pmap_clnt.h: Likewise.
44090 * include/rpc/pmap_prot.h: Likewise.
44091 * include/rpc/pmap_rmt.h: Likewise.
44092 * include/rpc/rpc_msg.h: Likewise.
44093 * include/rpc/svc.h: Likewise.
44094 * include/rpc/svc_auth.h: Likewise.
44095 * include/rpc/xdr.h: Likewise.
44096 * nis/Makefile: Link all DSOs against linkobj/libc.so.
44097 * nss/Makefile: Likewise.
44098 * sunrpc/Makefile: Don't install headers. Build library with normal
44099 entry points. Don't build rpcinfo. Link RPC tests appropriately.
44100 * sunrpc/auth_des.c: Hide exported symbols by default, export some
44101 for the compat linking library. Remove use of INTDEF/INTUSE.
44102 * sunrpc/auth_none.c: Likewise.
44103 * sunrpc/auth_unix.c: Likewise.
44104 * sunrpc/authdes_prot.c: Likewise.
44105 * sunrpc/authuxprot.c: Likewise.
44106 * sunrpc/clnt_gen.c: Likewise.
44107 * sunrpc/clnt_perr.c: Likewise.
44108 * sunrpc/clnt_raw.c: Likewise.
44109 * sunrpc/clnt_simp.c: Likewise.
44110 * sunrpc/clnt_tcp.c: Likewise.
44111 * sunrpc/clnt_udp.c: Likewise.
44112 * sunrpc/clnt_unix.c: Likewise.
44113 * sunrpc/des_crypt.c: Likewise.
44114 * sunrpc/des_soft.c: Likewise.
44115 * sunrpc/get_myaddr.c: Likewise.
44116 * sunrpc/key_call.c: Likewise.
44117 * sunrpc/key_prot.c: Likewise.
44118 * sunrpc/netname.c: Likewise.
44119 * sunrpc/pm_getmaps.c: Likewise.
44120 * sunrpc/pm_getport.c: Likewise.
44121 * sunrpc/pmap_clnt.c: Likewise.
44122 * sunrpc/pmap_prot.c: Likewise.
44123 * sunrpc/pmap_prot2.c: Likewise.
44124 * sunrpc/pmap_rmt.c: Likewise.
44125 * sunrpc/publickey.c: Likewise.
44126 * sunrpc/rpc_cmsg.c: Likewise.
44127 * sunrpc/rpc_common.c: Likewise.
44128 * sunrpc/rpc_dtable.c: Likewise.
44129 * sunrpc/rpc_prot.c: Likewise.
44130 * sunrpc/rpc_thread.c: Likewise.
44131 * sunrpc/rtime.c: Likewise.
44132 * sunrpc/svc.c: Likewise.
44133 * sunrpc/svc_auth.c: Likewise.
44134 * sunrpc/svc_authux.c: Likewise.
44135 * sunrpc/svc_raw.c: Likewise.
44136 * sunrpc/svc_run.c: Likewise.
44137 * sunrpc/svc_simple.c: Likewise.
44138 * sunrpc/svc_tcp.c: Likewise.
44139 * sunrpc/svc_udp.c: Likewise.
44140 * sunrpc/svc_unix.c: Likewise.
44141 * sunrpc/svcauth_des.c: Likewise.
44142 * sunrpc/xcrypt.c: Likewise.
44143 * sunrpc/xdr.c: Likewise.
44144 * sunrpc/xdr_array.c: Likewise.
44145 * sunrpc/xdr_float.c: Likewise.
44146 * sunrpc/xdr_intXX_t.c: Likewise.
44147 * sunrpc/xdr_mem.c: Likewise.
44148 * sunrpc/xdr_rec.c: Likewise.
44149 * sunrpc/xdr_ref.c: Likewise.
44150 * sunrpc/xdr_sizeof.c: Likewise.
44151 * sunrpc/xdr_stdio.c: Likewise.
44152
e6c61494
UD
441532011-04-10 Ulrich Drepper <drepper@gmail.com>
44154
44155 [BZ #12650]
44156 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44157 * sysdeps/ia64/dl-tls.h: Likewise.
44158 * sysdeps/powerpc/dl-tls.h: Likewise.
44159 * sysdeps/s390/dl-tls.h: Likewise.
44160 * sysdeps/sh/dl-tls.h: Likewise.
44161 * sysdeps/sparc/dl-tls.h: Likewise.
44162 * sysdeps/x86_64/dl-tls.h: Likewise.
44163 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44164
34fe483e
AS
441652011-03-14 Andreas Schwab <schwab@redhat.com>
44166
44167 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44168 rpath element also skip the following colon.
44169 (expand_dynamic_string_token): Add is_path parameter and pass
44170 down to DL_DST_REQUIRED and _dl_dst_substitute.
44171 (decompose_rpath): Call expand_dynamic_string_token with
44172 non-zero is_path. Ignore empty rpaths.
44173 (_dl_map_object_from_fd): Call expand_dynamic_string_token
44174 with zero is_path.
44175
f12a32e6
AS
441762011-04-08 Andreas Schwab <schwab@linux-m68k.org>
44177
44178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44179 Make cancelable.
44180
38a7d692
UD
441812011-04-09 Ulrich Drepper <drepper@gmail.com>
44182
44183 [BZ #12655]
44184 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44185 Patch by Filipe David Manana <fdmanana@apache.org>.
44186
e451d22b
AS
441872011-04-07 Andreas Schwab <schwab@redhat.com>
44188
44189 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44190 Maintain aligned stack.
44191 (CHECK_RSP): Remove unused macro.
44192
dedc7c7b
UD
441932011-04-03 Ulrich Drepper <drepper@gmail.com>
44194
44195 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44196 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44197
94521213
UD
441982011-04-02 Ulrich Drepper <drepper@gmail.com>
44199
44200 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44201
8cb700c0 44202 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 44203
0354e355
L
442042011-03-26 H.J. Lu <hongjiu.lu@intel.com>
44205
44206 [BZ #12518]
44207 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44208 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44209 * sysdeps/x86_64/memmove.c: New file.
44210 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44211 (memcpy): Renamed to ...
44212 (__new_memcpy): This.
44213 (memcpy): Provide GLIBC_2_14 memcpy.
44214 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44215 (memcpy): Provide GLIBC_2_2_5 memcpy.
44216
8593482f
UD
442172011-04-01 Ulrich Drepper <drepper@gmail.com>
44218
44219 [BZ #12631]
44220 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44221
81a5726b
AS
442222011-03-30 Andreas Schwab <schwab@redhat.com>
44223
44224 * misc/syncfs.c: New file.
44225 * misc/Makefile (routines): Add syncfs.
44226 * posix/unistd.h: Declare syncfs.
44227 * sysdeps/unix/syscalls.list: Add syncfs.
44228
00e5419f
AS
442292011-04-01 Andreas Schwab <schwab@redhat.com>
44230
44231 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44232 open_by_handle_at.
44233 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44234 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44235 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44236 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44237 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44238 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44239 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44240
748876bf
UD
442412011-04-01 Ulrich Drepper <drepper@gmail.com>
44242
658e451d
UD
44243 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44244 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44245 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44246 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44247 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44248 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44249 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44250
748876bf
UD
44251 * io/Makefile: Compile fallocate.c, fallocate64.c, and
44252 sync_file_range.c with -fexceptions.
44253 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44254 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44255 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44256 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44257 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44258 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44259 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
44260 sync_file_range as cancellation point
44261 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
44262 now a wrapper around __call_sync_file_range with cancellation handling.
44263 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44264 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
44265 function name to __call_sync_file_range.
44266 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44267 Add call_sync_file_range.
748876bf 44268
6e63d5e1
AS
442692011-04-01 Andreas Schwab <schwab@redhat.com>
44270
44271 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 44272 bits/timex.h.
6e63d5e1 44273
46998f74
UD
442742011-04-01 Ulrich Drepper <drepper@gmail.com>
44275
4c1423ed
UD
44276 * iconv/iconv.h: Fix typo in comment.
44277 * io/fcntl.h: Likewise.
44278 * libio/stdio.h: Likewise.
44279 * posix/spawn.h: Likewise.
44280 * posix/unistd.h: Likewise.
44281 * stdlib/stdlib.h: Likewise.
44282 * time/time.h: Likewise.
44283 * wcsmbs/wchar.h: Likewise.
44284
158648c0
UD
44285 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44286 open_by_handle): Add.
44287 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44288 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
44289 Augment a few comments.
44290 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44291 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44292 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44293 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44294 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44295 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44296 open_by_handle.
44297
46998f74
UD
44298 * io/fcntl.h (AT_EMPTY_PATH): Define.
44299
83fe108b
UD
443002011-03-30 Ulrich Drepper <drepper@gmail.com>
44301
44302 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44303 * sysdeps/unix/sysv/linux/bits/time.h: New file.
44304 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44305 to...
44306 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
44307 * Versions.def: Add GLIBC_2.14.
44308 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44309 Export.
83fe108b 44310
bb242059
UD
443112011-03-22 Ulrich Drepper <drepper@gmail.com>
44312
44313 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44314 round counter.
44315 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44316
c97a1282
L
443172011-03-20 H.J. Lu <hongjiu.lu@intel.com>
44318
44319 [BZ #12597]
44320 * string/test-strncmp.c (do_page_test): New function.
44321 (check2): Likewise.
44322 (test_main): Call check2.
44323 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44324
2a115601
UD
443252011-03-20 Ulrich Drepper <drepper@gmail.com>
44326
44327 [BZ #12587]
44328 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44329 Handle cache information in CPU leaf 4.
44330 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44331
8126d904
UD
443322011-03-18 Ulrich Drepper <drepper@gmail.com>
44333
042c49c6 44334 [BZ #12583]
8126d904
UD
44335 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44336 character representation.
44337 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44338
ccfe366e
RA
443392011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
44340
44341 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44342 END(__isnan) to END(__isnanf) to match function entry point/label
44343 EALIGN(__isnanf,...).
44344
c6e13027
JJ
443452011-03-10 Jakub Jelinek <jakub@redhat.com>
44346
44347 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44348
33f85a3f
UD
443492011-03-10 Ulrich Drepper <drepper@gmail.com>
44350
028478fa
UD
44351 [BZ #12510]
44352 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44353 copy from the symbol referenced in the relocation to initialize the
44354 used variable.
44355 Patch by Piotr Bury <pbury@goahead.com>.
44356 * elf/Makefile: Add rules to build and tst-unique3.
44357 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44358 * elf/tst-unique3.cc: New file.
44359 * elf/tst-unique3.h: New file.
44360 * elf/tst-unique3lib.cc: New file.
44361 * elf/tst-unique3lib2.cc: New file.
44362
33f85a3f
UD
44363 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44364
03592fc7
MF
443652011-03-10 Mike Frysinger <vapier@gentoo.org>
44366
44367 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44368 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
44369 to _start.
03592fc7 44370
6a5ee102
UD
443712011-03-06 Ulrich Drepper <drepper@gmail.com>
44372
44373 * elf/dl-load.c (_dl_map_object): If we are looking for the first
44374 to-be-loaded object along a path to loader is ld.so.
44375
7e4ba49c
HJ
443762011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44377 Ulrich Drepper <drepper@gmail.com>
44378
44379 * sysdeps/x86_64/memset.S: After aligning destination, code
44380 branches to different locations depending on the value of
44381 misalignment, when multiarch is enabled. Fix this.
44382
443832011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44384
44385 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44386 Set _x86_64_preferred_memory_instruction for AMD processsors.
44387 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44388 Set bit_Prefer_SSE_for_memop for AMD processors.
44389
13a804de
UD
443902011-03-04 Ulrich Drepper <drepper@gmail.com>
44391
44392 * libio/fmemopen.c (fmemopen): Optimize a bit.
44393
9d25c392
AS
443942011-03-03 Andreas Schwab <schwab@redhat.com>
44395
44396 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44397
a5543c6a
RM
443982011-03-03 Roland McGrath <roland@redhat.com>
44399
44400 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44401
012d35f7
DM
444022011-02-28 Aurelien Jarno <aurelien@aurel32.net>
44403
7e4ba49c 44404 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
44405 __bzero_ultra1 instead of __memset_ultra1.
44406
4bff6e01
AS
444072011-02-23 Andreas Schwab <schwab@redhat.com>
44408 Ulrich Drepper <drepper@gmail.com>
44409
44410 [BZ #12509]
44411 * include/link.h (struct link_map): Add l_orig_initfini.
44412 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44413 returning unsuccessfully.
44414 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44415 close of a file loaded at startup, restore the original l_initfini
44416 list.
44417 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44418 list, store the pointer.
44419 * elf/Makefile ($(objpfx)noload-mem): New rule.
44420 (noload-ENV): Define.
44421 (tests): Add $(objpfx)noload-mem.
44422 * elf/noload.c: Include <memcheck.h>.
44423 (main): Call mtrace. Close all opened handles.
44424
f2092faf
AS
444252011-02-17 Andreas Schwab <schwab@redhat.com>
44426
44427 [BZ #12454]
44428 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44429 dependencies are missing.
44430
6c8a2e88
ST
444312011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
44432
f2092faf 44433 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
44434 Hurd needs munmap.
44435 * sysdeps/mach/hurd/ifreq.h: New file.
44436
84a42118
PB
444372011-01-27 Petr Baudis <pasky@suse.cz>
44438 Ulrich Drepper <drepper@gmail.com>
44439
071f805e 44440 [BZ 12445]#
84a42118
PB
44441 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
44442 to extend_alloca().
44443 * stdio-common/bug23.c: New file.
44444 * stdio-common/Makefile (tests): Add bug23.
44445
e23fe25b
AS
444462010-09-28 Andreas Schwab <schwab@redhat.com>
44447 Ulrich Drepper <drepper@gmail.com>
44448
44449 [BZ #12489]
44450 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
44451 before performing relro protection. At old place add assertion
44452 to make sure nothing changed.
44453
d3f02e10
NS
444542011-02-17 Nathan Sidwell <nathan@codesourcery.com>
44455 Glauber de Oliveira Costa <glommer@gmail.com>
44456
44457 * elf/elf.h: Add new ARM TLS relocs.
44458
d55fd7a5
RA
444592011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
44460
44461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44462 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
44463 cast from r3.
44464 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
44465 'tests' variable.
44466 * sysdeps/wordsize-64/tst-writev.c: New file.
44467
2206397e
RA
444682011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
44469
44470 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
44471 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
44472 insns in _dl_start to prevent a TOC reference before relocs are
44473 resolved.
44474
e9433893
UD
444752011-02-15 Ulrich Drepper <drepper@gmail.com>
44476
44477 [BZ #12469]
44478 * Makeconfig: Remove RANLIB definition.
44479 * Makerules: Don't use RANLIB.
44480 * aclocal.m4: Remove ranlib test.
44481 * configure.in: No need to check for ranlib.
44482 * elf/rtld-Rules: Don't use RANLIB.
44483
f75286c6
ST
444842011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
44485
8e31c82d
ST
44486 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
44487 protection macro.
44488 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
44489 inclusion protection macro.
44490
f75286c6
ST
44491 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
44492 SIGRTMIN and SIGRTMAX and print information in that case only when
44493 SIGRTMIN is defined.
44494
c1d0e639
JJ
444952011-02-11 Jakub Jelinek <jakub@redhat.com>
44496
44497 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
44498 arginfo fn returning -1.
44499
44500 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
44501 and thousands string is zero terminated.
44502
edf9294e
AS
445032011-02-03 Andreas Schwab <schwab@redhat.com>
44504
44505 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
44506 sysdeps/unix/sysv/linux/bits/socket.h.
44507
2b7e92df
ST
445082011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
44509
edf9294e
AS
44510 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
44511 (__CPU_COUNT): Remove old macros.
44512 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
44513 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
44514 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
44515 (__sched_cpualloc, __sched_cpufree): Add declarations.
44516
a4c7ea7b
UD
445172011-02-05 Ulrich Drepper <drepper@gmail.com>
44518
44519 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
44520 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
44521 * nscd/aicache.c (addhstaiX): Return timeout of added value.
44522 (readdhstai): Return value of addhstaiX call.
44523 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
44524 (addgrbyX): Return value returned by cache_addgr.
44525 (readdgrbyname): Return value returned by addgrbyX.
44526 (readdgrbygid): Likewise.
44527 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
44528 (addpwbyX): Return value returned by cache_addpw.
44529 (readdpwbyname): Return value returned by addhstbyX.
44530 (readdpwbyuid): Likewise.
44531 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
44532 (addservbyX): Return value returned by cache_addserv.
44533 (readdservbyname): Return value returned by addservbyX:
44534 (readdservbyport): Likewise.
44535 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
44536 (addhstbyX): Return value returned by cache_addhst.
44537 (readdhstbyname): Return value returned by addhstbyX.
44538 (readdhstbyaddr): Likewise.
44539 (readdhstbynamev6): Likewise.
44540 (readdhstbyaddrv6): Likewise.
44541 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
44542 (readdinitgroups): Return value returned by addinitgroupsX.
44543 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
44544 (prune_cache): Keep track of timeout value of re-added entries.
44545 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
44546 * nscd/nscd.h: Adjust prototypes of readd* functions.
44547
a0bf67cc
RM
445482011-02-04 Roland McGrath <roland@redhat.com>
44549
44550 * nis/nis_server.c (nis_servstate): Use the right name for 0.
44551 (nis_stats): Likewise.
44552 * nis/nis_modify.c (nis_modify): Likewise.
44553 * nis/nis_remove.c (nis_remove): Likewise.
44554 * nis/nis_add.c (nis_add): Likewise.
44555
44556 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
44557
44558 * posix/fnmatch_loop.c: Add some consts.
44559
44560 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
44561
435b95eb
L
445622011-02-02 H.J. Lu <hongjiu.lu@intel.com>
44563
44564 [BZ #12460]
44565 * config.make.in (config-cflags-novzeroupper): Define.
44566 * configure.in: Substitute libc_cv_cc_novzeroupper.
44567 * elf/Makefile (AVX-CFLAGS): Define.
44568 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
44569 (CFLAGS-tst-auditmod4a.c): Likewise.
44570 (CFLAGS-tst-auditmod4b.c): Likewise.
44571 (CFLAGS-tst-auditmod6b.c): Likewise.
44572 (CFLAGS-tst-auditmod6c.c): Likewise.
44573 (CFLAGS-tst-auditmod7b.c): Likewise.
44574 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
44575
8517b15e
UD
445762011-02-02 Ulrich Drepper <drepper@gmail.com>
44577
44578 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
44579 function to the callback.
44580 Patch partly by Jiri Olsa <jolsa@redhat.com>.
44581
10a656fe
AS
445822011-02-02 Andreas Schwab <schwab@redhat.com>
44583
44584 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
44585 of errno.
44586
968dad0a
UD
445872011-01-19 Ulrich Drepper <drepper@gmail.com>
44588
9f94d2ea 44589 [BZ #11724]
968dad0a
UD
44590 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
44591 of constructors.
44592 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
44593 of destructors.
44594 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
44595
44596 [BZ #11724]
44597 * elf/Makefile: Add rules to build and run new test.
44598 * elf/tst-initorder.c: New file.
44599 * elf/tst-initorder.exp: New file.
44600 * elf/tst-initordera1.c: New file.
44601 * elf/tst-initordera2.c: New file.
44602 * elf/tst-initordera3.c: New file.
44603 * elf/tst-initordera4.c: New file.
44604 * elf/tst-initorderb1.c: New file.
44605 * elf/tst-initorderb2.c: New file.
44606 * elf/tst-order-a1.c: New file.
44607 * elf/tst-order-a2.c: New file.
44608 * elf/tst-order-a3.c: New file.
44609 * elf/tst-order-a4.c: New file.
44610 * elf/tst-order-b1.c: New file.
44611 * elf/tst-order-b2.c: New file.
44612 * elf/tst-order-main.c: New file.
44613 New test case by George Gensure <werkt0@gmail.com>.
44614
86e92359
UD
446152010-10-01 Andreas Schwab <schwab@redhat.com>
44616
44617 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44618 decoding ACE if AI_CANONIDN.
44619
5d5732b0
UD
446202011-01-18 Ulrich Drepper <drepper@gmail.com>
44621
44622 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
44623
a77e8cbc
UD
446242011-01-17 Ulrich Drepper <drepper@gmail.com>
44625
6392473f
UD
44626 * version.h (RELEASE): Bump for 2.13 release.
44627 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
44628
620a0529
UD
44629 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
44630
18ba70a5
UD
44631 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
44632 MADV_NOHUGEPAGE.
32465c3e
UD
44633 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
44634 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44635 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44636 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44637 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44638 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44639
c0dafcf1
UD
44640 * posix/getconf.c: Update copyright year.
44641 * catgets/gencat.c: Likewise.
44642 * csu/version.c: Likewise.
44643 * debug/catchsegv.sh: Likewise.
44644 * debug/xtrace.sh: Likewise.
44645 * elf/ldconfig.c: Likewise.
44646 * elf/ldd.bash.in: Likewise.
44647 * elf/sprof.c (print_version): Likewise.
44648 * iconv/iconv_prog.c: Likewise.
44649 * iconv/iconvconfig.c: Likewise.
44650 * locale/programs/locale.c: Likewise.
44651 * locale/programs/localedef.c: Likewise.
44652 * malloc/memusage.sh: Likewise.
44653 * malloc/mtrace.pl: Likewise.
44654 * nscd/nscd.c (print_version): Likewise.
44655 * nss/getent.c: Likewise.
44656
a77e8cbc
UD
44657 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
44658 PF_CAIF, and PF_ALG.
44659 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44660
77e8bddf
AS
446612011-01-16 Andreas Schwab <schwab@linux-m68k.org>
44662
1f20b93a
AS
44663 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
44664 (modules-names): Use them.
44665 (ifunc-test-modules, ifunc-pie-tests): Define.
44666 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
44667 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
44668 (test-extras): Likewise.
44669 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
44670 $(compile-command.c).
44671 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
44672 (all-built-dso): Define.
44673 (check-textrel.out, check-execstack.out): Depend on it.
44674
77e8bddf
AS
44675 * configure.in: Don't override --enable-multi-arch.
44676
bc425b33
UD
446772011-01-15 Ulrich Drepper <drepper@gmail.com>
44678
44679 [BZ #6812]
44680 * nscd/hstcache.c (tryagain): Define.
44681 (cache_addhst): Return tryagain not notfound for temporary errors.
44682 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
44683 failed.
44684
794c3ad3
UD
446852011-01-14 Ulrich Drepper <drepper@gmail.com>
44686
70181fdd
UD
44687 [BZ #10563]
44688 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
44689 to make the syscall.
44690 * sysdeps/unix/sysv/linux/setgroups.c: New file.
44691
794c3ad3
UD
44692 [BZ #12378]
44693 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
44694 and fall back to matching as normal character if the string ends before
44695 the matching ']' is found. This is what POSIX requires.
44696 * posix/testfnm.c: Adjust test result.
44697 * posix/globtest.sh: Adjust test result. Add new test.
44698 * posix/tst-fnmatch.input: Likewise.
44699 * posix/tst-fnmatch2.c: Add new test.
44700
68dc9497
AS
447012010-12-28 Andreas Schwab <schwab@linux-m68k.org>
44702
44703 * elf/Makefile (check-execstack): Revert last change. Depend on
44704 check-execstack.h.
44705 (check-execstack.h): New target.
44706 (generated): Add check-execstack.h.
44707 * elf/check-execstack.c: Include "check-execstack.h".
44708 (main): Revert last change.
44709 (handle_file): Return zero if GNU_STACK is absent and
44710 DEFAULT_STACK_PERMS doesn't include PF_X.
44711
451f001b
UD
447122011-01-13 Ulrich Drepper <drepper@gmail.com>
44713
cfa28e56
UD
44714 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
44715 in child fails because the descriptor is already closed.
8cf8ce17
UD
44716 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
44717 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
44718 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 44719
1086d70d
UD
44720 [BZ #12397]
44721 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
44722 syscall.
44723
451f001b
UD
44724 [BZ #10484]
44725 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
44726 temporary buffer used to handle multi lookups locally.
a85b5cb4 44727 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 44728
08769175
UD
447292011-01-12 Ulrich Drepper <drepper@gmail.com>
44730
44731 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
44732 loader is ld.so.
44733
5e49c52e
UD
447342011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
44735
44736 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
44737 alignment for SSE2.
44738
60522a5f
UD
447392011-01-12 Ulrich Drepper <drepper@gmail.com>
44740
44741 [BZ #12394]
44742 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
44743 characters. When rounding increased number of integer digits recompute
44744 number of groups.
44745 * stdio-common/tst-grouping.c: New file.
44746 * stdio-common/Makefile: Add rules to build and run tst-grouping.
44747
f257bbd7
UD
447482011-01-09 Ulrich Drepper <drepper@gmail.com>
44749
44750 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
44751 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
44752
44753 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
44754 void.
44755 * bits/select.h: Likewise.
44756
fa9c15cb
UD
447572011-01-08 Ulrich Drepper <drepper@gmail.com>
44758
44759 * po/ja.po: Update from translation team.
44760
16c2895f
DM
447612011-01-04 David S. Miller <davem@sunset.davemloft.net>
44762
44763 [BZ #11155]
44764 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
44765 implementation just like for lxstat, fxstatat, et al.
44766
2543fef2
JM
447672010-12-27 Jim Meyering <meyering@redhat.com>
44768
44769 [BZ #12348]
44770 * posix/regexec.c (build_trtable): Return failure indication upon
44771 calloc failure. Otherwise, re_search_internal could infloop on OOM.
44772
98727dbe
UD
447732010-12-25 Ulrich Drepper <drepper@gmail.com>
44774
5bd6dc5c
UD
44775 [BZ #12201]
44776 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
44777 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
44778 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
44779 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
44780
97983464
UD
44781 [BZ #12207]
44782 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
44783
98727dbe
UD
44784 [BZ #12204]
44785 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
44786 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
44787
4a531bb0
L
447882010-12-15 H.J. Lu <hongjiu.lu@intel.com>
44789
44790 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
44791 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
44792 script has SORT_BY_INIT_PRIORITY.
44793 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
44794 NO_CTORS_DTORS_SECTIONS is defined.
44795 * elf/soinit.c: Likewise.
44796 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
44797 NO_CTORS_DTORS_SECTIONS is defined.
44798 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
44799 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
44800 * sysdeps/sh/init-first.c: Likewise.
44801 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
44802
07eb4b71
UD
448032010-12-24 Ulrich Drepper <drepper@gmail.com>
44804
44805 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
44806 always use the slow path.
44807
30950a5f
RA
448082010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
44809
44810 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
44811 similar rule which adds the sysdep directories to the header search in
44812 order to pick up the correct platform stackinfo.h.
44813 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
44814 perform test if it is, otherwise return successfully without testing.
44815 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
44816 DEFAULT_STACK_PERMS define in stackinfo.h.
44817 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
44818 defined in stackinfo.h.
44819 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
44820 DEFAULT_STACK_PERMS defined in stackinfo.h.
44821 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
44822 * sysdeps/ia64/stackinfo.h: Likewise.
44823 * sysdeps/s390/stackinfo.h: Likewise.
44824 * sysdeps/sh/stackinfo.h: Likewise.
44825 * sysdeps/sparc/stackinfo.h: Likewise.
44826 * sysdeps/x86_64/stackinfo.h: Likewise.
44827 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
44828 PF_X for powerpc64. Retain PF_X for powerpc32.
44829
db753e2c
UD
448302010-12-19 Ulrich Drepper <drepper@gmail.com>
44831
14b697f7
UD
44832 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
44833 accurately.
db753e2c
UD
44834 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
44835 GETDENTS_64BIT_ALIGNED.
44836
28300719
UD
448372010-12-14 Ulrich Drepper <dreper@gmail.com>
44838
14b697f7 44839 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 44840
4f197237
AS
448412010-12-10 Andreas Schwab <schwab@redhat.com>
44842
dbb0472f
AS
44843 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
44844 _GNU_SOURCE.
44845
4f197237
AS
44846 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
44847 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
44848 Remove __restrict.
44849 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
44850 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
44851
fb88ac72
UD
448522010-12-09 Ulrich Drepper <drepper@gmail.com>
44853
44854 [BZ #11655]
44855 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
44856 are initialized.
44857
42acbb92
JJ
448582010-12-09 Jakub Jelinek <jakub@redhat.com>
44859
44860 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
44861
c038d98d
UD
448622010-12-03 Ulrich Drepper <drepper@gmail.com>
44863
44864 * po/it.po: Update from translation team.
44865
3a4a2499
L
448662010-12-01 H.J. Lu <hongjiu.lu@intel.com>
44867
44868 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
44869 unused codes.
44870
1e24cf6e
UD
448712010-11-30 Ulrich Drepper <drepper@gmail.com>
44872
44873 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
44874
a7690819
AS
448752010-11-24 Andreas Schwab <schwab@redhat.com>
44876
44877 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
44878 specially.
44879 (gaih_getanswer_slice): Likewise.
44880
3bf8d1b1
JJ
448812010-10-20 Jakub Jelinek <jakub@redhat.com>
44882
44883 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
44884
6db52fbb
PB
448852010-05-31 Petr Baudis <pasky@suse.cz>
44886
44887 [BZ #11149]
44888 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
44889 silently even in the chroot mode.
44890
eaca7569
UD
448912010-11-22 Ulrich Drepper <drepper@gmail.com>
44892
44893 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
44894 last patch a bit. Pretty printing
44895
3056dcdb
UD
448962010-05-31 Petr Baudis <pasky@suse.cz>
44897
44898 [BZ #10085]
44899 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
44900 initialization of skip_initgroups_dyn.
44901
cf7c9078
UD
449022010-11-19 Ulrich Drepper <drepper@gmail.com>
44903
44904 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
44905 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44906
a1fb5e3e
UD
449072010-11-16 Ulrich Drepper <drepper@gmail.com>
44908
44909 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
44910
3540d66b
AS
449112010-11-11 Andreas Schwab <schwab@redhat.com>
44912
44913 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
44914 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
44915 (tst-fnmatch-ENV): Set MALLOC_TRACE.
44916 ($(objpfx)tst-fnmatch-mem): New rule.
44917 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
44918 * posix/tst-fnmatch.c (main): Call mtrace.
44919
13b69574
L
449202010-11-11 H.J. Lu <hongjiu.lu@intel.com>
44921
44922 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44923 Support Intel processor model 6 and model 0x2c.
44924
da93d214
LM
449252010-11-10 Luis Machado <luisgpm@br.ibm.com>
44926
44927 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
44928 signed comparison.
44929
8ca52c6e
L
449302010-11-09 H.J. Lu <hongjiu.lu@intel.com>
44931
44932 [BZ #12205]
44933 * string/test-strncasecmp.c (check_result): New function.
44934 (do_one_test): Use it.
44935 (check1): New function.
44936 (test_main): Use it.
44937 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
44938 Support strcasecmp and strncasecmp.
44939
69da074d
UD
449402010-11-08 Ulrich Drepper <drepper@gmail.com>
44941
44942 [BZ #12194]
44943 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
44944 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44945
ff02d528
L
449462010-11-07 H.J. Lu <hongjiu.lu@intel.com>
44947
44948 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
44949 IFUNC support.
44950 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44951 memset-x86-64.
44952 * sysdeps/x86_64/multiarch/bzero.S: New file.
44953 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
44954 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
44955 * sysdeps/x86_64/multiarch/memset.S: New file.
44956 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
44957 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44958 Set bit_Prefer_SSE_for_memop for Intel processors.
44959 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
44960 Define.
44961 (index_Prefer_SSE_for_memop): Define.
44962 (HAS_PREFER_SSE_FOR_MEMOP): Define.
44963
344d0b54
LM
449642010-11-04 Luis Machado <luisgpm@br.ibm.com>
44965
44966 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
44967 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
44968
c0dde15b
UD
449692010-11-03 H.J. Lu <hongjiu.lu@intel.com>
44970
44971 [BZ #12191]
44972 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44973 (__x86_64_raw_data_cache_size_half): Likewise.
44974 (__x86_64_raw_shared_cache_size): Likewise.
44975 (__x86_64_raw_shared_cache_size_half): Likewise.
44976
44977 * sysdeps/x86_64/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 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
44982 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
44983 and __x86_64_raw_shared_cache_size_half. Round
44984 __x86_64_data_cache_size_half, __x86_64_data_cache_size
44985 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
44986 to multiple of 256 bytes.
44987
0e516e0e
MS
449882010-11-03 Ulrich Drepper <drepper@gmail.com>
44989
44990 [BZ #12167]
44991 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
44992 of inacessible symlinks. Verify result of symlink before returning it.
44993 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44994 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
44995
0e012e87
ER
449962010-10-28 Erich Ritz <erichritz@gmail.com>
44997
44998 * math/math.h (isinf): Fix typo in comment.
44999
de0ff7bc
UD
450002010-11-01 Ulrich Drepper <drepper@gmail.com>
45001
45002 * po/da.po: Update from translation team.
45003
fa41c84d
UD
450042010-10-26 Ulrich Drepper <drepper@gmail.com>
45005
45006 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45007 is added to the list.
45008
f0967738
AK
450092010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45010 Ulrich Drepper <drepper@gmail.com>
45011
45012 * elf/dl-object.c (_dl_new_object): Don't append the new object to
45013 the global list here. Move code to...
45014 (_dl_add_to_namespace_list): ...here. New function.
45015 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45016 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45017 * elf/dl-load.c (lose): Don't remove the element from the list.
45018 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45019 (_dl_map_object): Likewise.
45020
450212010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
45022
45023 [BZ #12159]
45024 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45025 into all bytes of SSE register.
45026 Patch by Richard Li <richardpku@gmail.com>.
45027
f0967738 450282010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
45029
45030 [BZ #12140]
45031 * malloc/malloc.c (_int_free): Fill correct number of bytes when
45032 perturbing.
45033
d0b9e94f
MB
450342010-10-20 Michael B. Brutman <brutman@us.ibm.com>
45035
45036 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45037 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45038 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45039 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45041 submachine.
45042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45043
8e9f92e9
AS
450442010-10-22 Andreas Schwab <schwab@redhat.com>
45045
45046 * include/dlfcn.h (__RTLD_SECURE): Define.
45047 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
45048 mode & __RTLD_SECURE instead.
45049 (open_path): Rename preloaded parameter to secure.
45050 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45051 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45052 * elf/dl-deps.c (openaux): Likewise.
45053 * elf/rtld.c (struct map_args): Remove is_preloaded.
45054 (map_doit): Don't use it.
45055 (dl_main): Likewise.
45056 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45057 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45058
bc96fbda
AS
450592010-09-09 Andreas Schwab <schwab@redhat.com>
45060
45061 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45062 (sysd-rules-targets): Remove duplicates.
45063 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45064 rtld-%.$o dependency.
45065
22cd1c9b
AS
450662010-10-18 Andreas Schwab <schwab@redhat.com>
45067
45068 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45069 _dl_map_object do it.
45070
18edac48
UD
450712010-10-19 Ulrich Drepper <drepper@gmail.com>
45072
45073 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45074 fast fma builtins, define the macros in the C99 standard.
45075 (FP_FAST_FMAF): Likewise.
45076 (FP_FAST_FMAL): Likewise.
45077 * sysdeps/x86_64/bits/mathdef.h: Likewise.
45078
45079 * bits/mathdef.h: Update copyright year.
45080 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45081
d2050124
MM
450822010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
45083
45084 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45085 builtins, define the macros in the C99 standard.
45086 (FP_FAST_FMAF): Likewise.
45087 (FP_FAST_FMAL): Likewise.
45088 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45089 multiply/add.
45090 (FP_FAST_FMAF): Likewise.
45091
475facd1
JJ
450922010-10-15 Jakub Jelinek <jakub@redhat.com>
45093
45094 [BZ #3268]
45095 * math/libm-test.inc (fma_test): Some new testcases.
45096 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45097 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45098 y and infinite z. Do multiplication by C already in long double.
45099 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45100 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45101 y and infinite z. Do bitwise or of inexact bit into u.d.
45102 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45103 * sysdeps/i386/fpu/s_fmaf.S: Removed.
45104 * sysdeps/i386/fpu/s_fma.S: Removed.
45105 * sysdeps/i386/fpu/s_fmal.S: Removed.
45106
7c08a05c
JJ
451072010-10-16 Jakub Jelinek <jakub@redhat.com>
45108
45109 [BZ #3268]
45110 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45111 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45112 computation is not scheduled after fetestexcept. Fix value
45113 of minimum denormal long double.
45114
f3f7372d
JJ
451152010-10-14 Jakub Jelinek <jakub@redhat.com>
45116
45117 [BZ #3268]
45118 * math/libm-test.inc (fma_test): Add some more tests.
45119 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45120 correctly.
45121
14d43591
AS
451222010-10-15 Andreas Schwab <schwab@redhat.com>
45123
45124 * scripts/data/localplt-s390-linux-gnu.data: New file.
45125 * scripts/data/localplt-s390x-linux-gnu.data: New file.
45126
5e908464
JJ
451272010-10-13 Jakub Jelinek <jakub@redhat.com>
45128
45129 [BZ #3268]
45130 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45131 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45132 instead of dbl-64.
45133 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45134 inlines.
45135 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45136 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45137 if one of x and y is very large and the other is subnormal.
45138 * sysdeps/s390/fpu/s_fmaf.c: New file.
45139 * sysdeps/s390/fpu/s_fma.c: New file.
45140 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45141 * sysdeps/powerpc/fpu/s_fma.S: New file.
45142 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45143 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45144 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45145
451462010-10-12 Jakub Jelinek <jakub@redhat.com>
45147
45148 [BZ #3268]
45149 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45150 fma tests.
45151 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45152 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45153 * sysdeps/i386/i686/multiarch/s_fma.c: Include
45154 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45155 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45156 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45157 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45158
b833d51f
UD
451592010-10-12 Ulrich Drepper <drepper@redhat.com>
45160
45161 [BZ #12078]
45162 * posix/regcomp.c (parse_branch): One more memory leak plugged.
45163 * posix/bug-regex31.input: Add test case.
45164
1751705d
UD
451652010-10-11 Ulrich Drepper <drepper@gmail.com>
45166
e9b9cbf5
UD
45167 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45168 * posix/bug-regex31.input: New file.
45169
45170 [BZ #12078]
45171 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45172 (parse_sub_exp): Fix last change, use postorder.
45173
ef06edbe
UD
45174 * posix/bug-regex31.c: New file.
45175 * posix/Makefile: Add rules to build and run bug-regex31.
45176
a129c80d
UD
45177 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45178
45179 [BZ #12078]
45180 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45181
b76b818e
UD
45182 [BZ #12108]
45183 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45184 to have entries in sys_siglist.
45185
1751705d
UD
45186 [BZ #12093]
45187 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45188 be NULL.
45189
9ff8d36f
JJ
451902010-10-07 Jakub Jelinek <jakub@redhat.com>
45191
45192 [BZ #3268]
45193 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45194 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45195 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45196 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45197 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45198 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45199 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45200 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45201 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45202 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45203 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45204 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45205 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45206 * math/ftestexcept.c (fetestexcept): Likewise.
45207 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45208 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45209 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45210 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45211 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45212 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45213 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45214
af325969
UD
452152010-10-11 Ulrich Drepper <drepper@gmail.com>
45216
c579b202 45217 [BZ #12107]
af325969
UD
45218 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45219 newline.
45220
67a67b95
UD
452212010-10-06 Ulrich Drepper <drepper@gmail.com>
45222
45223 * string/bug-strstr1.c: New file.
45224 * string/Makefile: Add rules to build and run bug-strstr1.
45225
5fb308bc
EB
452262010-10-05 Eric Blake <eblake@redhat.com>
45227
45228 [BZ #12092]
45229 * string/str-two-way.h (two_way_long_needle): Always clear memory
45230 when skipping input due to the shift table.
45231
45db99c7
UD
452322010-10-03 Ulrich Drepper <drepper@gmail.com>
45233
3b111893
UD
45234 [BZ #12005]
45235 * malloc/mcheck.c: Handle large requests.
45236
45db99c7
UD
45237 [BZ #12077]
45238 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45239 for strncmp and strncasecmp.
45240 * string/stratcliff.c: Add tests for strcmp and strncmp.
45241 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45242
cf7a1eb8
NI
452432010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45244
45245 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45246 __set_fpscr.
45247
6484ba5e
AJ
452482010-09-30 Andreas Jaeger <aj@suse.de>
45249
45250 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45251 (CGROUP_SUPER_MAGIC): Define.
45252 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45253 Handle btrfs and cgroup file systems.
45254 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45255 Likewise.
45256
91c42559
LM
452572010-09-27 Luis Machado <luisgpm@br.ibm.com>
45258
45259 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45260 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45261
87a97932
AK
452622010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45263
45264 [BZ #12067]
45265 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45266 trying to locate the ELF header.
45267
c21cc9bc
AS
452682010-09-27 Andreas Schwab <schwab@redhat.com>
45269
45270 [BZ #11611]
45271 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45272 Mask out sign-bit copies when constructing f_fsid.
45273
315970f6
PB
452742010-09-24 Petr Baudis <pasky@suse.cz>
45275
45276 * debug/stack_chk_fail_local.c: Add missing licence exception.
45277 * debug/warning-nop.c: Likewise.
45278
1ac7a2c7
JM
452792010-09-15 Joseph Myers <joseph@codesourcery.com>
45280
45281 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45282 implementing getdents64 using getdents syscall, set d_type if
45283 __ASSUME_GETDENTS32_D_TYPE.
45284
56801c50
AS
452852010-09-16 Andreas Schwab <schwab@redhat.com>
45286
45287 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45288 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45289
dda51327
UD
452902010-09-21 Ulrich Drepper <drepper@redhat.com>
45291
45292 [BZ #12037]
45293 * posix/unistd.h: Undo change of feature selection for ftruncate from
45294 2010-01-11.
45295
8ffcee4a
UD
452962010-09-20 Ulrich Drepper <drepper@redhat.com>
45297
a545ecd9 45298 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
45299 detection.
45300
e24f0a8b
AS
453012010-09-20 Andreas Schwab <schwab@redhat.com>
45302
45303 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45304 fanotify_mark.
45305 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45306
7291c56f
AS
453072010-09-14 Andreas Schwab <schwab@redhat.com>
45308
45309 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45310 variables after CHECK_SP call.
45311 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45312
bc5fb037
AS
453132010-09-13 Andreas Schwab <schwab@redhat.com>
45314 Ulrich Drepper <drepper@redhat.com>
45315
45316 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45317 re-relocationg ld.so.
45318 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45319 _dl_init_paths call.
45320 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
45321 here anymore.
45322
e66e7419
UD
453232010-09-14 Ulrich Drepper <drepper@redhat.com>
45324
45325 * resolv/res_init.c (__res_vinit): Count the default server we added.
45326
c044aa75
CLT
453272010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
45328 Ulrich Drepper <drepper@redhat.com>
45329
45330 [BZ #11968]
45331 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45332 (____longjmp_chk): Use %ebx for saving value across system call.
45333 Add unwind info.
45334
32cf4069
AS
453352010-09-06 Andreas Schwab <schwab@redhat.com>
45336
45337 * manual/Makefile: Don't mix pattern rules with normal rules.
45338
817328ee
AS
453392010-09-05 Andreas Schwab <schwab@linux-m68k.org>
45340
45341 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45342 operation.
45343 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45344 * libio/iofopncook.c (_IO_cookie_init): Likewise.
45345 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45346 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45347 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45348 Likewise.
45349
29fddf61
UD
453502010-09-04 Ulrich Drepper <drepper@redhat.com>
45351
45352 [BZ #11979]
45353 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45354 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45355
0959ffc9
UD
453562010-09-02 Ulrich Drepper <drepper@redhat.com>
45357
45358 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45359 * sysdeps/x86_64/addmul_1.S: Likewise.
45360 * sysdeps/x86_64/lshift.S: Likewise.
45361 * sysdeps/x86_64/mul_1.S: Likewise.
45362 * sysdeps/x86_64/rshift.S: Likewise.
45363 * sysdeps/x86_64/sub_n.S: Likewise.
45364 * sysdeps/x86_64/submul_1.S: Likewise.
45365
ece29840
ST
453662010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
45367
0959ffc9
UD
45368 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45369 Define __sched_param instead of SCHED_* and sched_param when
ece29840 45370 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 45371 * bits/sched.h [__need_schedparam]
ece29840 45372 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
45373 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45374 (__defined_schedparam): Define to 1.
ece29840
ST
45375 (__sched_param): New structure, identical to sched_param.
45376 (__need_schedparam): Undefine.
45377
e53a31fe
MF
453782010-08-31 Mike Frysinger <vapier@gentoo.org>
45379
fdc0c10d
MF
45380 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45381 (epoll_create1): Declare.
45382
e53a31fe
MF
45383 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45384
a726d796
AS
453852010-08-31 Andreas Schwab <schwab@redhat.com>
45386
45387 [BZ #7066]
45388 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45389 shifting retval into place.
45390
2f3e3dc7
UD
453912010-09-01 Ulrich Drepper <drepper@redhat.com>
45392
f2933da9
UD
45393 * nis/rpcsvc/nis.h: Update copyright notice.
45394 * nis/rpcsvc/nis.x: Likewise.
45395 * nis/rpcsvc/nis_callback.h: Likewise.
45396 * nis/rpcsvc/nis_callback.x: Likewise.
45397 * nis/rpcsvc/nis_object.x: Likewise.
45398 * nis/rpcsvc/nis_tags.h: Likewise.
45399 * nis/rpcsvc/yp.h: Likewise.
45400 * nis/rpcsvc/yp.x: Likewise.
45401 * nis/rpcsvc/ypupd.h: Likewise.
45402 * nis/yp_xdr.c: Likewise.
45403 * nis/ypupdate_xdr.c: Likewise.
45404
2f3e3dc7
UD
45405 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
45406 mainly the body of pmap_getport. Add parameters to specify timeouts.
45407 (pmap_getport): Use __libc_rpc_getport.
45408 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45409 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45410 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45411
f3dcc2f9
AS
454122010-08-31 Andreas Schwab <schwab@linux-m68k.org>
45413
45414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45415 fanotify_mark.
45416
6d34eb5b
RM
454172010-08-27 Roland McGrath <roland@redhat.com>
45418
45419 * sysdeps/i386/i686/multiarch/Makefile
45420 (CFLAGS-varshift.c): New variable.
45421
9ea3de11
UD
454222010-08-27 Ulrich Drepper <drepper@redhat.com>
45423
c96d23fc
UD
45424 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45425 * sysdeps/i386/i686/multiarch/varshift.c: New file.
45426
9ea3de11
UD
45427 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45428
45429 * sysdeps/x86_64/strlen.S: Minimal code improvement.
45430
623aac7f
L
454312010-08-26 H.J. Lu <hongjiu.lu@intel.com>
45432
45433 * sysdeps/x86_64/strlen.S: Unroll the loop.
45434 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45435 strlen-sse2 strlen-sse2-bsf.
45436 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45437 __strlen_no_bsf if bit_Slow_BSF is set.
45438 (__strlen_sse42): Removed.
45439 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45440 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
45441
8b2b7715
RM
454422010-08-25 Roland McGrath <roland@redhat.com>
45443
45444 * sysdeps/x86_64/multiarch/varshift.S: File removed.
45445 * sysdeps/x86_64/multiarch/varshift.c: New file.
45446 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
45447 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
45448 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
45449 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45450
e73015f2
L
454512010-08-25 H.J. Lu <hongjiu.lu@intel.com>
45452
45453 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45454 strlen-sse2 strlen-sse2-bsf.
45455 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
45456 __strlen_sse2_bsf if bit_Slow_BSF is unset.
45457 (__strlen_sse2): Removed.
45458 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
45459 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
45460 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45461 bit_Slow_BSF for Atom.
45462 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
45463 (index_Slow_BSF): Define.
45464 (HAS_SLOW_BSF): Define.
45465
df24a73e
UD
454662010-08-25 Ulrich Drepper <drepper@redhat.com>
45467
45468 [BZ #10851]
45469 * resolv/res_init.c (__res_vinit): When no server address at all
45470 is given default to loopback.
45471
f2ac4868
RM
454722010-08-24 Roland McGrath <roland@redhat.com>
45473
09055553
RM
45474 * configure.in: Remove config-name.h generation.
45475 * configure: Regenerated.
45476 * config-name.in: File removed.
45477 * scripts/config-uname.sh: New file.
45478 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
45479 ($(objdir)config-name.h): New target.
45480
f2ac4868
RM
45481 * sunrpc/rpc_parse.h: Avoid nested comment.
45482
73f27d5e
RH
454832010-08-24 Richard Henderson <rth@redhat.com>
45484 Ulrich Drepper <drepper@redhat.com>
45485 H.J. Lu <hongjiu.lu@intel.com>
45486
45487 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
45488 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
45489 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
45490 Replace _mm_srli_si128 with __m128i_shift_right. Replace
45491 _mm_alignr_epi8 with _mm_loadu_si128.
45492 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
45493 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
45494 (__m128i_shift_right): Removed.
45495 * sysdeps/i386/i686/multiarch/varshift.h: New file.
45496 * sysdeps/i386/i686/multiarch/varshift.S: New file.
45497 * sysdeps/x86_64/multiarch/varshift.h: New file.
45498 * sysdeps/x86_64/multiarch/varshift.S: New file.
45499
84b9230c
MF
455002010-08-21 Mike Frysinger <vapier@gentoo.org>
45501
45502 * configure.in: Move assembler checks to before sysdep dir checking.
45503
9bbd0ddc
PB
455042010-08-20 Petr Baudis <pasky@suse.cz>
45505
45506 * LICENSES: Sync the sunrpc license.
45507
9da4bb31
UD
455082010-08-19 Ulrich Drepper <drepper@redhat.com>
45509
a7ab6ec8
UD
45510 * sunrpc/auth_des.c: Update copyright notice once again.
45511 * sunrpc/auth_none.c: Likewise.
45512 * sunrpc/auth_unix.c: Likewise.
45513 * sunrpc/authdes_prot.c: Likewise.
45514 * sunrpc/authuxprot.c: Likewise.
45515 * sunrpc/bindrsvprt.c: Likewise.
45516 * sunrpc/clnt_gen.c: Likewise.
45517 * sunrpc/clnt_perr.c: Likewise.
45518 * sunrpc/clnt_raw.c: Likewise.
45519 * sunrpc/clnt_simp.c: Likewise.
45520 * sunrpc/clnt_tcp.c: Likewise.
45521 * sunrpc/clnt_udp.c: Likewise.
45522 * sunrpc/clnt_unix.c: Likewise.
45523 * sunrpc/des_crypt.c: Likewise.
45524 * sunrpc/des_soft.c: Likewise.
45525 * sunrpc/get_myaddr.c: Likewise.
45526 * sunrpc/getrpcport.c: Likewise.
45527 * sunrpc/key_call.c: Likewise.
45528 * sunrpc/key_prot.c: Likewise.
45529 * sunrpc/openchild.c: Likewise.
45530 * sunrpc/pm_getmaps.c: Likewise.
45531 * sunrpc/pm_getport.c: Likewise.
45532 * sunrpc/pmap_clnt.c: Likewise.
45533 * sunrpc/pmap_prot.c: Likewise.
45534 * sunrpc/pmap_prot2.c: Likewise.
45535 * sunrpc/pmap_rmt.c: Likewise.
45536 * sunrpc/rpc/auth.h: Likewise.
45537 * sunrpc/rpc/auth_unix.h: Likewise.
45538 * sunrpc/rpc/clnt.h: Likewise.
45539 * sunrpc/rpc/des_crypt.h: Likewise.
45540 * sunrpc/rpc/key_prot.h: Likewise.
45541 * sunrpc/rpc/netdb.h: Likewise.
45542 * sunrpc/rpc/pmap_clnt.h: Likewise.
45543 * sunrpc/rpc/pmap_prot.h: Likewise.
45544 * sunrpc/rpc/pmap_rmt.h: Likewise.
45545 * sunrpc/rpc/rpc.h: Likewise.
45546 * sunrpc/rpc/rpc_des.h: Likewise.
45547 * sunrpc/rpc/rpc_msg.h: Likewise.
45548 * sunrpc/rpc/svc.h: Likewise.
45549 * sunrpc/rpc/svc_auth.h: Likewise.
45550 * sunrpc/rpc/types.h: Likewise.
45551 * sunrpc/rpc/xdr.h: Likewise.
45552 * sunrpc/rpc_clntout.c: Likewise.
45553 * sunrpc/rpc_cmsg.c: Likewise.
45554 * sunrpc/rpc_common.c: Likewise.
45555 * sunrpc/rpc_cout.c: Likewise.
45556 * sunrpc/rpc_dtable.c: Likewise.
45557 * sunrpc/rpc_hout.c: Likewise.
45558 * sunrpc/rpc_main.c: Likewise.
45559 * sunrpc/rpc_parse.c: Likewise.
45560 * sunrpc/rpc_parse.h: Likewise.
45561 * sunrpc/rpc_prot.c: Likewise.
45562 * sunrpc/rpc_sample.c: Likewise.
45563 * sunrpc/rpc_scan.c: Likewise.
45564 * sunrpc/rpc_scan.h: Likewise.
45565 * sunrpc/rpc_svcout.c: Likewise.
45566 * sunrpc/rpc_tblout.c: Likewise.
45567 * sunrpc/rpc_util.c: Likewise.
45568 * sunrpc/rpc_util.h: Likewise.
45569 * sunrpc/rpcinfo.c: Likewise.
45570 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
45571 * sunrpc/rpcsvc/key_prot.x: Likewise.
45572 * sunrpc/rpcsvc/klm_prot.x: Likewise.
45573 * sunrpc/rpcsvc/mount.x: Likewise.
45574 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
45575 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
45576 * sunrpc/rpcsvc/rex.x: Likewise.
45577 * sunrpc/rpcsvc/rstat.x: Likewise.
45578 * sunrpc/rpcsvc/rusers.x: Likewise.
45579 * sunrpc/rpcsvc/sm_inter.x: Likewise.
45580 * sunrpc/rpcsvc/spray.x: Likewise.
45581 * sunrpc/rpcsvc/yppasswd.x: Likewise.
45582 * sunrpc/rtime.c: Likewise.
45583 * sunrpc/svc.c: Likewise.
45584 * sunrpc/svc_auth.c: Likewise.
45585 * sunrpc/svc_authux.c: Likewise.
45586 * sunrpc/svc_raw.c: Likewise.
45587 * sunrpc/svc_run.c: Likewise.
45588 * sunrpc/svc_simple.c: Likewise.
45589 * sunrpc/svc_tcp.c: Likewise.
45590 * sunrpc/svc_udp.c: Likewise.
45591 * sunrpc/svc_unix.c: Likewise.
45592 * sunrpc/svcauth_des.c: Likewise.
45593 * sunrpc/xcrypt.c: Likewise.
45594 * sunrpc/xdr.c: Likewise.
45595 * sunrpc/xdr_array.c: Likewise.
45596 * sunrpc/xdr_float.c: Likewise.
45597 * sunrpc/xdr_mem.c: Likewise.
45598 * sunrpc/xdr_rec.c: Likewise.
45599 * sunrpc/xdr_ref.c: Likewise.
45600 * sunrpc/xdr_sizeof.c: Likewise.
45601 * sunrpc/xdr_stdio.c: Likewise.
45602
9da4bb31
UD
45603 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
45604 handling.
45605
bdaa77bc
AS
456062010-08-19 Andreas Schwab <schwab@redhat.com>
45607
45608 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
45609
fe2f79db
LM
456102010-08-19 Luis Machado <luisgpm@br.ibm.com>
45611
45612 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
45613 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
45614 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
45615 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
45616 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
45617 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
45618 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
45619 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
45620 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
45621 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
45622 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
45623 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
45624 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
45625 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
45626
b9b42ee0
AB
456272010-07-26 Anton Blanchard <anton@samba.org>
45628
45629 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
45630 * malloc/arena.c (heap_trim): Likewise.
45631
1c06ba31
UD
456322010-08-16 Ulrich Drepper <drepper@redhat.com>
45633
45634 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
45635 here. Not...
45636 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
45637 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
45638
f8392f40
L
456392010-08-12 H.J. Lu <hongjiu.lu@intel.com>
45640
45641 * sysdeps/i386/elf/Makefile: New file.
45642
3162f12e
AS
456432010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45644
45645 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
45646 from fanotify_init.
45647 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
45648 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45649
28c90b2c
UD
456502010-08-15 Ulrich Drepper <drepper@redhat.com>
45651
45652 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
45653 of strncasecmp_l.
1feccb6c 45654 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 45655
ca6bb004
UD
456562010-08-14 Ulrich Drepper <drepper@redhat.com>
45657
e9f82e0d
UD
45658 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45659 strncase_l-nonascii.
45660 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45661 Add strncase_l-ssse3.
45662 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
45663 * sysdeps/x86_64/strcmp.S: Likewise.
45664 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
45665 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
45666 * sysdeps/x86_64/strncase.S: New file.
45667 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
45668 * sysdeps/x86_64/strncase_l.S: New file.
45669 * string/Makefile (strop-tests): Add strncasecmp.
45670 * string/test-strncasecmp.c: New file.
45671
45672 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
45673 warning.
45674
ca6bb004
UD
45675 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
45676 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
45677
052fa7b3
AS
456782010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45679
45680 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
45681
962dba78
UD
456822010-08-12 Ulrich Drepper <drepper@redhat.com>
45683
45684 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
45685 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
45686 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
45687
bebff237
AM
456882010-05-01 Alan Modra <amodra@gmail.com>
45689
45690 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
45691 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
45692 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
45693 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
45694 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
45695 tidying. Don't tail-call __sigjmp_save for static lib.
45696 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
45697 save location.
45698 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
45699 (CALL_MCOUNT): Add eh info, and nop after bl.
45700 (TAIL_CALL_SYSCALL_ERROR): New macro.
45701 (PSEUDO_RET): Use it.
45702 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45703 Correct save location of integer regs and cr.
45704 (_dl_profile_resolve): Correct cr save location. Delete nops
45705 after bl when SHARED. Reduce cfi size a little by better
45706 placement of cfi directives.
45707 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
45708 make a stack frame. Instead use parm save area as a temp.
45709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
45710 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
45711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45712 Don't make a stack frame for parent, use parm save area.
45713 Increase child stack frame to 112 bytes. Don't save unused reg,
45714 and adjust reg usage. Set up cfi on error recovery and
45715 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
45716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45717 (__makecontext): Add dummy nop after jump to exit.
45718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
45719 Use correct parm save area and cr save, reduce stack frame.
45720 Correct cfi for possible PSEUDO_RET frame setup.
45721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
45722 Branch to local label emitted by PSEUDO_RET rather than
45723 __syscall_error.
45724
02637374
AS
457252010-08-12 Andreas Schwab <schwab@redhat.com>
45726
45727 [BZ #11904]
45728 * locale/programs/locale.c (print_assignment): New function.
45729 (show_locale_vars): Use it.
45730
c3e2f19b
UD
457312010-08-11 Ulrich Drepper <drepper@redhat.com>
45732
3cdaa6ad
UD
45733 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
45734 field.
45735 (struct statfs64): Likewise.
45736 (_STATFS_F_FLAGS): Define.
45737 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
45738 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45739 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
45740 (ST_VALID): Define locally.
45741 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
45742 __statvfs_getflags, use the provided value.
45743 * sysdeps/unix/sysv/linux/kernel-features.h: Define
45744 __ASSUME_STATFS_F_FLAGS.
45745
754f7da3
UD
45746 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
45747
10b3bedc
UD
45748 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
45749 Add sys/fanotify.h.
45750 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
45751 fanotify_mask for GLIBC_2.13.
45752 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
45753 fanotify_init and fanotify_mark.
45754 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45755 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
45756
c08fb0d7
UD
45757 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
45758 Add prlimit.
45759 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
45760 prlimit64 for GLIBC_2.13.
45761 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
45762 prlimit64.
45763 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
45764 syscall.
45765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
45766 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45767 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
45768 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
45769 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
45770 add prlimit alias.
45771 * sysdeps/unix/sysv/linux/prlimit.c: New file.
45772
15bac72b
UD
45773 [BZ #11903]
45774 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
45775 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
45776
c3e2f19b
UD
45777 * nss/Makefile: Add rules to build and run tst-nss-test1.
45778 * shlib-versions: Add entry for libnss_test1.
45779 * nss/nss_test1.c: New file.
45780 * nss/tst-nss-test1.c: New file.
45781
45782 * nss/nsswitch.c (__nss_database_custom): Define new variable.
45783 (__nss_configure_lookup): Set appropriate entry in
45784 __nss_configure_lookup to true.
45785 * nss/nsswitch.h: Define enum with indeces of databases in
45786 databases and __nss_database_custom arrays. Declare
45787 __nss_database_custom.
45788 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
45789 to avoid using nscd when custom rules are installed.
45790 * nss/getXXbyYY_r.c: Likewise.
45791 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45792
45793 * nss/nss_files/files-parse.c: Whitespace fixes.
45794
f15ce4d8
UD
457952010-08-09 Ulrich Drepper <drepper@redhat.com>
45796
45797 [BZ #11883]
45798 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
45799 * posix/fnmatch_loop.c: Likewise.
45800
d22e4cc9
AK
458012010-07-17 Andi Kleen <ak@linux.intel.com>
45802
45803 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
45804 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
45805 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
45806 * Versions.def [GLIBC_2.13]: Add.
45807
805bc17d
UD
458082010-08-06 Ulrich Drepper <drepper@redhat.com>
45809
45810 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45811 Also fail if tpwd after pwuid call is NULL.
45812
5a42321d
ST
458132010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
45814
45815 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
45816 when converting to ms.
45817
fd3ebeda
ST
458182010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45819
45820 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
45821 EOPNOTSUPP errors with ENOTTY.
45822 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
45823 EOPNOTSUPP errors with ENOTTY.
45824
73507d3a
UD
458252010-07-31 Ulrich Drepper <drepper@redhat.com>
45826
45827 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45828 Add strcasecmp_l-ssse3.
45829 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
45830 strcasecmp.
45831 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
45832 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
45833 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
45834
fe36dd02
UD
458352010-07-30 Ulrich Drepper <drepper@redhat.com>
45836
66f6765a
UD
45837 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
45838
42e08a54
UD
45839 * string/Makefile (strop-tests): Add strcasecmp.
45840 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45841 strcasecmp_l-nonascii.
45842 (gen-as-const-headers): Add locale-defines.sym.
45843 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
45844 * sysdeps/x86_64/strcasecmp.S: New file.
45845 * sysdeps/x86_64/strcasecmp_l.S: New file.
45846 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
45847 * sysdeps/x86_64/locale-defines.sym: New file.
45848 * string/test-strcasecmp.c: New file.
45849
fe36dd02
UD
45850 * string/test-strcasestr.c: Test both ends of the range of characters.
45851 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
45852
48cbc0d6
RM
458532010-07-29 Roland McGrath <roland@redhat.com>
45854
76e6d6bc 45855 [BZ #11856]
48cbc0d6
RM
45856 * manual/locale.texi (Yes-or-No Questions): Fix example code.
45857
880113d9
UD
458582010-07-27 Ulrich Drepper <drepper@redhat.com>
45859
45860 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
45861 for ld.so.
45862
deb9cabb
AS
458632010-07-27 Andreas Schwab <schwab@redhat.com>
45864
45865 * manual/memory.texi (Malloc Tunable Parameters): Document
45866 M_PERTURB.
45867
1c7570ff
RM
458682010-07-26 Roland McGrath <roland@redhat.com>
45869
45870 [BZ #11840]
45871 * configure.in (-fgnu89-inline check): Set and substitute
45872 gnu89_inline, not libc_cv_gnu89_inline.
45873 * configure: Regenerated.
45874 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
45875
24fb0f88
UD
458762010-07-26 Ulrich Drepper <drepper@redhat.com>
45877
45878 * string/test-strnlen.c: New file.
45879 * string/Makefile (strop-tests): Add strnlen.
45880 * string/tester.c (test_strnlen): Add a few more test cases.
45881 * string/tst-strlen.c: Better error reporting.
45882
45883 * sysdeps/x86_64/strnlen.S: New file.
45884
8e96b93a
UD
458852010-07-24 Ulrich Drepper <drepper@redhat.com>
45886
45887 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
45888 lower-latency instructions.
45889
dbc676d4
UD
458902010-07-23 Ulrich Drepper <drepper@redhat.com>
45891
45892 * string/test-strcasestr.c: New file.
45893 * string/test-strstr.c: New file.
45894 * string/Makefile (strop-tests): Add strstr and strcasestr.
45895 * string/str-two-way.h: Don't undefine MAX.
45896 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
45897
f6a31e0e
AS
458982010-07-21 Andreas Schwab <schwab@redhat.com>
45899
45900 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45901 strcasestr-nonascii.
45902 (CFLAGS-strcasestr-nonascii.c): Define.
45903 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
45904 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
45905 Remove unused attribute.
45906
5dbc3b6c
RM
459072010-07-20 Roland McGrath <roland@redhat.com>
45908
45909 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
45910 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
45911 ld.so.cache was broken. With it, there is no way to disable dsocaps
45912 like LD_HWCAP_MASK can disable hwcaps.
45913
23d101d8
EPM
459142010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45915
45916 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
45917
cc9f2e47
UD
459182010-07-16 Ulrich Drepper <drepper@redhat.com>
45919
45920 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
45921 call in strcasestr.
45922 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
45923 __strcasestr_sse42_nonascii.
45924 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
45925 strcasestr-nonascii.c.
45926 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
45927
77c1b069
LM
459282010-06-15 Luis Machado <luisgpm@br.ibm.com>
45929
45930 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
45931 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
45932 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
45933 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
45934
440566c3
UD
459352010-07-09 Ulrich Drepper <drepper@redhat.com>
45936
45937 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
45938 fcntl.
45939
5be9d05d
AS
459402010-07-06 Andreas Schwab <schwab@redhat.com>
45941
c30b7ee2 45942 [BZ #11577]
5be9d05d
AS
45943 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
45944 dl_signal_cerror.
45945
8a492a67
UD
459462010-07-06 Ulrich Drepper <drepper@redhat.com>
45947
45948 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
45949 _PC_PIPE_BUF using F_GETPIPE_SZ.
45950
713df3d5
RM
459512010-07-05 Roland McGrath <roland@redhat.com>
45952
45953 * manual/arith.texi (Rounding Functions): Fix rint description
45954 implicit in round description.
45955
702e8f14
UD
459562010-07-02 Ulrich Drepper <drepper@redhat.com>
45957
45958 * elf/Makefile: Fix linking for a few tests to make recent linker
45959 happy.
45960
52ed8be9
AS
459612010-06-30 Andreas Schwab <schwab@redhat.com>
45962
45963 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45964 $(common-objpfx)libc_nonshared.a.
45965
f47c9a11
LM
459662010-06-21 Luis Machado <luisgpm@br.ibm.com>
45967
45968 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
45969 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
45970 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45971 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45972 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
45973 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
45974 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45975 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
45977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
45978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
45979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
45981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
45983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
45984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
45985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
45986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
45988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
45990 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
45991 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
45992 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
45993 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
45994 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
45995 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
45996 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
45997 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
45998 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
45999 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46000 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46001 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46016
6fb8cbcb
L
460172010-06-25 H.J. Lu <hongjiu.lu@intel.com>
46018
46019 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46020 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
46021 * string/memmove.c (memmove): Renamed to ...
46022 (MEMMOVE): ...this. Default to memmove.
46023 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46024 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46025 (END_CHK): Define.
46026 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46027 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46028 mempcpy-ssse3-back memmove-ssse3-back.
46029 * sysdeps/x86_64/multiarch/bcopy.S: New file .
46030 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46031 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46032 * sysdeps/x86_64/multiarch/memcpy.S: New file.
46033 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46034 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46035 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46036 * sysdeps/x86_64/multiarch/memmove.c: New file.
46037 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46038 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46039 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46040 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46041 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46042 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46043 Define.
46044 (index_Fast_Copy_Backward): Define.
46045 (HAS_ARCH_FEATURE): Define.
46046 (HAS_FAST_REP_STRING): Define.
46047 (HAS_FAST_COPY_BACKWARD): Define.
46048
4e733bac 460492010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
46050
46051 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46052 Restore proper fallback handling.
46053
63c4ed22
UD
460542010-06-19 Ulrich Drepper <drepper@redhat.com>
46055
ac2b484c
UD
46056 [BZ #11701]
46057 * posix/group_member.c (__group_member): Correct checking loop.
46058
63c4ed22
UD
46059 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46060 OOM in getpwuid_r correctly. Return error number when the caller
46061 should return, otherwise -1.
46062 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46063 call returning > 0 value.
46064 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46065
765ade4b
AS
460662010-06-07 Andreas Schwab <schwab@redhat.com>
46067
46068 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46069 libc_nonshared.a from targets in modules-names.
46070
80da2e09
KS
460712010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
46072
46073 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46074 requires it.
46075
158db122
LM
460762010-06-10 Luis Machado <luisgpm@br.ibm.com>
46077
46078 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46079 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46080 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46081 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46082
caa78cf8
AS
460832010-06-02 Andreas Schwab <schwab@redhat.com>
46084
46085 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46086
b2ef2c01
UD
460872010-06-14 Ulrich Drepper <drepper@redhat.com>
46088
46089 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46090 and F_GETPIPE_SZ.
46091 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46092 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46093 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46094 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46095 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46096 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46097
fbd643b6
RM
460982010-06-14 Roland McGrath <roland@redhat.com>
46099
46100 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46101
f32f2869
JJ
461022010-06-07 Jakub Jelinek <jakub@redhat.com>
46103
46104 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46105 __REDIRECT followed by __THROW.
46106 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46107 * posix/getopt.h (getopt): Likewise.
46108
2a50c078
EPM
461092010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46110
46111 * hurd/lookup-at.c (__file_name_lookup_at): Accept
46112 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
46113 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46114 in AT_FLAGS.
46115 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46116 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46117
eb5ad2eb
LM
461182010-05-28 Luis Machado <luisgpm@br.ibm.com>
46119
46120 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46121
3c88fe1e
L
461222010-05-26 H.J. Lu <hongjiu.lu@intel.com>
46123
46124 [BZ #11640]
46125 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46126 Properly check family and model.
46127
d2f73151
TY
461282010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
46129
46130 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46131
ebd2e13d
LM
461322010-05-24 Luis Machado <luisgpm@br.ibm.com>
46133
46134 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46135
b32b8b45
UD
461362010-05-21 Ulrich Drepper <drepper@redhat.com>
46137
46138 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46139 symbol reference.
46140
9acbe24d
AS
461412010-05-19 Andreas Schwab <schwab@redhat.com>
46142
46143 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46144 symbol reference.
46145
f0ccf6ea
AS
461462010-05-21 Andreas Schwab <schwab@redhat.com>
46147
3d04ff3a
AS
46148 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46149 and internal_recvmmsg.
46150 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46151 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46152 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46153 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46154
f0ccf6ea
AS
46155 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46156 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46157 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46158
5b08ac57
AS
461592010-05-20 Andreas Schwab <schwab@redhat.com>
46160
46161 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46162
4828935d
LM
461632010-05-17 Luis Machado <luisgpm@br.ibm.com>
46164
46165 POWER7 optimizations.
46166 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46167 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46168
373d545e
UD
461692010-05-19 Ulrich Drepper <drepper@redhat.com>
46170
46171 * version.h: Update for 2.13 development version.
46172
21a2b1ae
AS
461732010-05-12 Andrew Stubbs <ams@codesourcery.com>
46174
46175 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46176 exceptions. Return 0.
46177
3f7dcb2b
RM
461782010-05-07 Roland McGrath <roland@redhat.com>
46179
46180 * elf/ldconfig.c (main): Add a const.
46181
5f24d53a 461822010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 46183
a160f8d8
UD
46184 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46185 (args_options): Add no-idn option.
46186 (ahosts_keys_int): Add idn_flags to ai_flags.
46187 (parse_option): Handle 'i' option to clear idn_flags.
46188
5f24d53a
UD
46189 * malloc/malloc.c (_int_free): Possible race in the most recently
46190 added check. Only act on the data if no current modification
46191 happened.
265bb1ce
UD
46192
46193See ChangeLog.17 for earlier changes.