]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add fallback file for elide.h
[thirdparty/glibc.git] / ChangeLog
CommitLineData
0f6901d0
AK
12014-06-14 Andi Kleen <ak@linux.intel.com>
2
3 * sysdeps/generic/elide.h: New file.
4
38bbbb9f
SL
52014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6
7 * Makefile (installed-headers): Adjust path of pthread.h header.
8
45193bb8
RM
92014-06-13 Roland McGrath <roland@hack.frob.com>
10
9a25fd1e
RM
11 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
12 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
13 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
14 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
15
4004f7e4
RM
16 * nptl/sysdeps/s390/Makefile: Moved ...
17 * sysdeps/s390/nptl/Makefile: ... here.
18 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
19 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
20 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
21 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
22 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
23 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
24 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
25 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
26 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
27 * sysdeps/s390/nptl/pthreaddef.h: ... here.
28 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
29 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
30 * nptl/sysdeps/s390/tls.h: Moved ...
31 * sysdeps/s390/nptl/tls.h: ... here.
32
45193bb8
RM
33 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
34 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
35
f6fdf533
DM
362014-06-13 David S. Miller <davem@davemloft.net>
37
38 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
39 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
40 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
41 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
42 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
43 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
44 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
45 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
46 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
47 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
48 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
49 Remove RESET_PID cpp guards.
50 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
51 Remove RESET_PID cpp guards.
52 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
53
f5d71e14
AS
542014-06-13 Andreas Schwab <schwab@linux-m68k.org>
55
56 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
57 __sp to uintptr_t.
58
b7aa8caa
AK
592014-06-13 Andi Kleen <ak@linux.intel.com>
60
61 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
62 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
63 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
64 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
65 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
66 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
67 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
68 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
69 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
70 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
71 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
72 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
73 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
74 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
75 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
76 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
77 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
78 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
79 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
80 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
81
8491ed6d
AK
822014-06-13 Andi Kleen <ak@linux.intel.com>
83
84 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
85 (pthread_rwlock_rdlock): Add elision.
86 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
87 (pthread_rwlock_wrlock): Add elision.
88 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
89 (pthread_rwlock_trywrlock): Add elision.
90 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
91 (pthread_rwlock_tryrdlock): Add elision.
92 * nptl/pthread_rwlock_unlock.c: Include elide.h.
93 (pthread_rwlock_tryrdlock): Add elision unlock.
94 * nptl/sysdeps/pthread/pthread.h:
95 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
96 (PTHREAD_RWLOCK_INITIALIZER,
97 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
98 Handle new elision field.
99 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
100 * sysdeps/arm/nptl/bits/pthreadtypes.h
101 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
102 * sysdeps/sh/nptl/bits/pthreadtypes.h
103 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
104 * sysdeps/tile/nptl/bits/pthreadtypes.h
105 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
106 * sysdeps/a/nptl/bits/pthreadtypes.h
107 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
108 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
109 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
110 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
111 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
112 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
113 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
114 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
115 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
116 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
117 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
118 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
119 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
120 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
121 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
122 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
123 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
124 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
125 (elision_init): Set try_xbegin to zero when no RTM.
126 * sysdeps/x86/nptl/bits/pthreadtypes.h
127 (pthread_rwlock_t): Change __pad1 to __rwelision.
128 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
129
a832bdd3
AK
1302014-06-13 Andi Kleen <ak@linux.intel.com>
131
132 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
133 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
134 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
135 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
136
995a46bb
MI
1372014-06-13 Meador Inge <meadori@codesourcery.com>
138
139 [BZ #16996]
03ed7738 140 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
141 that the cached result has been set before returning it.
142
45262aee
RM
1432014-06-12 Roland McGrath <roland@hack.frob.com>
144
febf6cc5
RM
145 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
146 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
147 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
148 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
149 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
150 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
151
e2682246
RM
152 * nptl/sysdeps/sparc/Makefile: Moved ...
153 * sysdeps/sparc/nptl/Makefile: ... here.
154 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
155 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
156 * nptl/sysdeps/sparc/tls.h: Moved ...
157 * sysdeps/sparc/nptl/tls.h: ... here.
158 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
159 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
160 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
161 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
162 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
163 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
164 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
165 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
166 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
167 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
168 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
169 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
170 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
171 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
172 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
173 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
174 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
175 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
176 Update #include.
177 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
178 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
179 Update #include.
180 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
181 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
182 Update #include.
183 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
184 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
185 Update #include.
186
b0725f43
RM
187 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
188
b14368b8
RM
189 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
190 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
191
c5620eb3
RM
192 * sysdeps/pthread/posix-timer.h: Include <list.h>.
193 (struct list_links): Type removed.
194 (struct thread_node, struct timer_node): Replace struct list_links
195 with struct list_head.
196 (list_unlink_ip): Likewise.
197 * sysdeps/pthread/timer_routines.c
198 (timer_free_list, thread_free_list, thread_active_list): Likewise.
199 (list_append, list_insbefore): Likewise.
200 (list_init): Function removed.
201 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
202 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
203 * sysdeps/pthread/Makefile: ... here, new file.
204
205 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
206 * sysdeps/nptl/Implies: ... here.
207 * sysdeps/unix/sysv/linux/Implies: Add nptl.
208 * nptl/sysdeps/pthread/list.h: Moved ...
209 * include/list.h: ... here.
210 * nptl/sysdeps/pthread/createthread.c: Moved ...
211 * nptl/createthread.c: ... here.
212 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
213 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
214 * nptl/pt-longjmp.c: ... here.
215 * nptl/sysdeps/pthread/Makefile: Moved ...
216 * sysdeps/nptl/Makefile: ... here.
217 * nptl/sysdeps/pthread/Subdirs: Moved ...
218 * sysdeps/nptl/Subdirs: ... here.
219 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
220 * sysdeps/nptl/aio_misc.h: ... here.
221 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
222 * sysdeps/nptl/bits/libc-lock.h: ... here.
223 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
224 * sysdeps/nptl/bits/libc-lockP.h: ... here.
225 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
226 * sysdeps/nptl/bits/stdio-lock.h: ... here.
227 * nptl/sysdeps/pthread/configure: Moved ...
228 * sysdeps/nptl/configure: ... here.
229 * nptl/sysdeps/pthread/configure.ac: Moved ...
230 * sysdeps/nptl/configure.ac: ... here.
231 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
232 * sysdeps/nptl/gai_misc.h: ... here.
233 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
234 * sysdeps/nptl/librt-cancellation.c: ... here.
235 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
236 * sysdeps/nptl/malloc-machine.h: ... here.
237 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
238 * sysdeps/nptl/pthread-functions.h: ... here.
239 * nptl/sysdeps/pthread/pthread.h: Moved ...
240 * sysdeps/nptl/pthread.h: ... here.
241 * nptl/sysdeps/pthread/setxid.h: Moved ...
242 * sysdeps/nptl/setxid.h: ... here.
243 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
244 * sysdeps/nptl/sigfillset.c: ... here.
245 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
246 * sysdeps/nptl/tcb-offsets.h: ... here.
247 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
248 * sysdeps/nptl/tst-mqueue8x.c: ... here.
249 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
250 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
251 * nptl/sysdeps/pthread/allocalim.h: Moved ...
252 * sysdeps/pthread/allocalim.h: ... here.
253 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
254 * sysdeps/pthread/bits/sigthread.h: ... here.
255 * nptl/sysdeps/pthread/flockfile.c: Moved ...
256 * sysdeps/pthread/flockfile.c: ... here.
257 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
258 * sysdeps/pthread/ftrylockfile.c: ... here.
259 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
260 * sysdeps/pthread/funlockfile.c: ... here.
261 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
262 * sysdeps/pthread/posix-timer.h: ... here.
263 * nptl/sysdeps/pthread/timer_create.c: Moved ...
264 * sysdeps/pthread/timer_create.c: ... here.
265 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
266 * sysdeps/pthread/timer_delete.c: ... here.
267 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
268 * sysdeps/pthread/timer_getoverr.c: ... here.
269 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
270 * sysdeps/pthread/timer_gettime.c: ... here.
271 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
272 * sysdeps/pthread/timer_routines.c: ... here.
273 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
274 * sysdeps/pthread/timer_settime.c: ... here.
275 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
276 * sysdeps/pthread/tst-timer.c: ... here.
277 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
278 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
279
e876b090
RM
280 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
281 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
282
f6b07b3d
RM
283 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
284 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
285 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
286 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
287 Update #include target.
288 * nptl/sysdeps/i386/i686/Makefile: Moved ...
289 * sysdeps/i386/i686/nptl/Makefile: ... here.
290 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
291 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
292 Update #include target.
293 * nptl/sysdeps/i386/i686/tls.h: Moved ...
294 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
295 * nptl/sysdeps/i386/Makefile: Moved ...
296 * sysdeps/i386/nptl/Makefile: ... here.
297 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
298 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
299 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
300 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
301 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
302 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
303 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
304 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
305 * sysdeps/i386/nptl/pthreaddef.h: ... here.
306 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
307 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
308 * nptl/sysdeps/i386/tls.h: Moved ...
309 * sysdeps/i386/nptl/tls.h: ... here.
310
45262aee
RM
311 * sysdeps/sh/Makefile [$(subdir) = csu]
312 (gen-as-const-headers): Add tcb-offsets.sym.
313 * nptl/sysdeps/sh/Makefile: File removed.
314 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
315 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
316 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
317 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
318 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
319 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
320 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
321 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
322 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
323 * sysdeps/sh/nptl/pthreaddef.h: ... here.
324 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
325 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
326 * nptl/sysdeps/sh/tls.h: Moved ...
327 * sysdeps/sh/nptl/tls.h: ... here.
328 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
329 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
330 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
331 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
332 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
333 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
334 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
335 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
336 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
337 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
338 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
339 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
340 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
341 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
342 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
343 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
344 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
345 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
346 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
347 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
348 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
349 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
350 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
351 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
352 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
353 Moved ...
354 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
355 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
356 Moved ...
357 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
358 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
359 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
360 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
361 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
362 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
363 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
364 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
365 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
366 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
367 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
368 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
369 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
370 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
371 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
372 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
373 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
374 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
375 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
376
35a5e3e3
SL
3772014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
378
379 * posix/spawn_faction_addopen.c: Include string.h.
380
14642b85
RM
3812014-06-11 Roland McGrath <roland@hack.frob.com>
382
383 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
384 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
385 * nptl/sysdeps/x86_64/Makefile: Moved ...
386 * sysdeps/x86_64/nptl/Makefile: ... here.
387 * nptl/sysdeps/x86_64/configure: Moved ...
388 * sysdeps/x86_64/nptl/configure: ... here.
389 * nptl/sysdeps/x86_64/configure.ac: Moved ...
390 * sysdeps/x86_64/nptl/configure.ac: ... here.
391 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
392 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
393 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
394 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
395 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
396 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
397 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
398 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
399 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
400 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
401 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
402 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
403 * nptl/sysdeps/x86_64/tls.h: Moved ...
404 * sysdeps/x86_64/nptl/tls.h: ... here.
405 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
406 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
407 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
408 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
409
410 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
411
31c44fea
AZ
4122014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
413
414 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
415
e81a4f9a
JM
4162014-06-11 Joseph Myers <joseph@codesourcery.com>
417
418 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
419 type.
420 [POSIX] (off_t): Likewise.
421 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
422 [POSIX] (S_ISBLK): Require macro.
423 [POSIX] (S_ISCHR): Likewise.
424 [POSIX] (S_ISDIR): Likewise.
425 [POSIX] (S_ISFIFO): Likewise.
426 [POSIX] (S_ISREG): Likewise.
427 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
428 optional-macro.
429 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
430 type.
431 [POSIX] (time_t): Likewise.
432 [POSIX] (timer_t): Likewise.
433
89e435f3
FW
4342014-06-11 Florian Weimer <fweimer@redhat.com>
435
436 [BZ #17048]
437 * posix/spawn_int.h (struct __spawn_action): Make the path string
438 non-const to support deallocation.
439 * posix/spawn_faction_addopen.c
440 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
441 * posix/spawn_faction_destroy.c
442 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
443 path in all spawn_do_open actions.
444 * posix/tst-spawn.c (do_test): Exercise the copy operation in
445 posix_spawn_file_actions_addopen.
446
c3a2ebe1
CM
4472014-06-11 Chris Metcalf <cmetcalf@tilera.com>
448
449 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
450 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
451 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
452 conditional code always true.
453 (__libc_vfork): New alias.
454
9503784a
RM
4552014-06-11 Roland McGrath <roland@hack.frob.com>
456
c9cab3d2
RM
457 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
458 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
459
d3996c79
RM
460 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
461
ba5ec611
RM
462 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
463 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
464
f12b4814
RM
465 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
466 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
467
9503784a
RM
468 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
469 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
470
e23d3d26
VR
4712014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
472
473 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
474 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
475 multiarch strcmp for PPC64.
476 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
477 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
478 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
479 multiarch optimizations.
480 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
481 (__libc_ifunc_impl_list): Likewise.
482
42b1161e
SP
4832014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
484
485 * benchtests/scripts/validate_benchout.py: New script.
486 * benchtests/Makefile (bench-func): Call it.
487 * benchtests/scripts/benchout.schema.json: New file.
488
2d0fc4dc
CM
4892014-06-10 Chris Metcalf <cmetcalf@tilera.com>
490
4a594c34
AZ
491 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
492 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
493 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
494 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
495 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
496 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
497 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
498 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
499 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
500 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
501 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
502 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
503 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
504 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
505 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
506 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
507 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 508 Moved ...
4a594c34 509 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 510 ... here.
4a594c34 511 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 512 Moved ...
4a594c34
AZ
513 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
514 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 515 Moved ...
4a594c34 516 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 517 ... here.
4a594c34 518 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 519 Moved ...
4a594c34 520 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 521 ... here.
4a594c34 522 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 523 Moved ...
4a594c34
AZ
524 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
525 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 526 Moved ...
4a594c34 527 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 528 ... here.
4a594c34 529 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 530 Moved ...
4a594c34 531 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 532 ... here.
4a594c34 533 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 534 Moved ...
4a594c34
AZ
535 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
536 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 537 Moved ...
4a594c34 538 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 539 ... here.
4a594c34 540 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 541 Moved ...
4a594c34 542 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 543 ... here.
4a594c34 544 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 545 Moved ...
4a594c34 546 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 547 ... here.
4a594c34 548 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 549 Moved ...
4a594c34
AZ
550 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
551 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 552 Moved ...
4a594c34 553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 554 ... here.
4a594c34 555 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 556 Moved ...
4a594c34 557 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 558 ... here.
4a594c34 559 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 560 Moved ...
4a594c34 561 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 562 ... here.
4a594c34 563 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 564 Moved ...
4a594c34
AZ
565 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
566 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 567 Moved ...
4a594c34 568 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 569 ... here.
4a594c34 570 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 571 Moved ...
4a594c34 572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 573 ... here.
4a594c34 574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 575 Moved ...
4a594c34
AZ
576 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 578 Moved ...
4a594c34 579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 580 ... here.
4a594c34 581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 582 Moved ...
4a594c34
AZ
583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
584 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 585 Moved ...
4a594c34
AZ
586 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
587 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 588 Moved ...
4a594c34 589 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 590 ... here.
4a594c34 591 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 592 Moved ...
4a594c34 593 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 594 ... here.
4a594c34 595 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 596 Moved ...
4a594c34 597 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 598 ... here.
4a594c34 599 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 600 Moved ...
4a594c34
AZ
601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
602 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 603 Moved ...
4a594c34 604 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 605 ... here.
4a594c34 606 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 607 Moved ...
4a594c34 608 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 609 ... here.
4a594c34
AZ
610 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
611 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
612 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
613 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
614 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 615 Moved ...
4a594c34 616 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 617 ... here.
4a594c34
AZ
618 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
619 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
620 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
621 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
622 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
623 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
624 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
625 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
626 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
627 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
628 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
629 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
630 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 631 Moved ...
4a594c34
AZ
632 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
633 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 634 Moved ...
4a594c34
AZ
635 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
636 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
637 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
638 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 639 Moved ...
4a594c34
AZ
640 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
641 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
642 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
643 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
644 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
645 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
646 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 647
0570cfed
W
6482014-06-10 Wilco <wdijkstr@arm.com>
649
650 * math/test-fenv-return.c: New file.
651 * math/Makefile: Add new test test-fenv-return.
652
f8ba1b56
JM
6532014-06-10 Joseph Myers <joseph@codesourcery.com>
654
655 [BZ #17042]
656 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
657 when x - 1 is zero.
658 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
659 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
660 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
661 0.0L for an argument of 1.0L.
662 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
663 Likewise.
664 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
665 value when x - 1 is zero.
666 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
667 * sysdeps/i386/fpu/libm-test-ulps: Update.
668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
669
2c3520d9
BO
6702014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
671
672 [BZ #15119]
673 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
674
acaa4d24
RM
6752014-06-09 Roland McGrath <roland@hack.frob.com>
676
677 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
678 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
679
962b744d
RM
6802014-06-09 Roland McGrath <roland@hack.frob.com>
681
d752f0cc
RM
682 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
683 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
684
34eda6d1
RM
685 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
686 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
687
50f0a637
RM
688 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
689 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
690
08f41f04
RM
691 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
692 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
693
962b744d
RM
694 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
695 if not already defined.
696 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
697 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
698 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
699 (TLS_INIT_TP): Use it.
700 (TLS_DEFINE_INIT_TP): New macro.
701 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
702
09f19b05
JM
7032014-06-09 Joseph Myers <joseph@codesourcery.com>
704
705 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
706 constant.
707 [POSIX] (IXANY): Likewise.
708 [POSIX] (OLCUC): Likewise.
709 [POSIX || POSIX2008] (CBAUD): Do not allow.
710 [POSIX || POSIX2008] (DEFECHO): Likewise.
711 [POSIX || POSIX2008] (ECHOCTL): Likewise.
712 [POSIX || POSIX2008] (ECHOKE): Likewise.
713 [POSIX || POSIX2008] (ECHOPRT): Likewise.
714 [POSIX || POSIX2008] (EXTA): Likewise.
715 [POSIX || POSIX2008] (EXTB): Likewise.
716 [POSIX || POSIX2008] (FLUSHO): Likewise.
717 [POSIX || POSIX2008] (LOBLK): Likewise.
718 [POSIX || POSIX2008] (PENDIN): Likewise.
719 [POSIX || POSIX2008] (SWTCH): Likewise.
720 [POSIX || POSIX2008] (VDISCARD): Likewise.
721 [POSIX || POSIX2008] (VDSUSP): Likewise.
722 [POSIX || POSIX2008] (VLNEXT): Likewise.
723 [POSIX || POSIX2008] (VREPRINT): Likewise.
724 [POSIX || POSIX2008] (VSTATUS): Likewise.
725 [POSIX || POSIX2008] (VWERASE): Likewise.
726 (B*): Change to B[0123456789]*.
727 * conform/data/time.h-data [POSIX || UNIX98]
728 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
729 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
730 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
731 [POSIX] (tm_*): Do not allow.
732
686554bf
JM
7332014-06-07 Joseph Myers <joseph@codesourcery.com>
734
735 * Makefile (install): Don't set LANGUAGE.
736 * Makefile.in (install): Likewise.
737 * assert/Makefile (test-assert-ENV): Remove variable.
738 (test-assert-perr-ENV): Likewise.
739 * elf/Makefile (neededtest4-ENV): Likewise.
740 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
741 [$(cross-compiling) = no]: Don't set LANGUAGE.
742 * io/ftwtest-sh (LANG): Remove variable.
743 * libio/Makefile (tst-widetext-ENV): Likewise.
744 * manual/install.texi (Running make install): Don't refer to
745 environment settings for make install.
746 * INSTALL: Regenerated.
747 * nptl/tst-tls6.sh: Don't set LANG.
748 * posix/globtest.sh (LANG): Remove variable.
749 * string/Makefile (tester-ENV): Likewise.
750 (inl-tester-ENV): Likewise.
751 (noinl-tester-ENV): Likewise.
752 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
753 [$(cross-compiling) = no]: Don't set LANGUAGE.
754 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
755 without explicit environment settings.
756
68e6b6b1
RM
7572014-06-06 Roland McGrath <roland@hack.frob.com>
758
759 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
760 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
761 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
762 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
763
4d3ae034
CM
7642014-06-06 Chris Metcalf <cmetcalf@tilera.com>
765
766 * crypt/crypt-private.h [DOS]: Add some includes taken from the
767 other files in the crypt directory.
768 * crypt/crypt.c: Remove duplicate includes.
769 * crypt/crypt-entry.c: Likewise.
770 * crypt/crypt_util.c: Likewise.
771
8540f6d2
JM
7722014-06-06 Joseph Myers <joseph@codesourcery.com>
773
774 * Makeconfig (run-program-env): New variable.
775 (run-program-prefix-before-env): Likewise.
776 (run-program-prefix-after-env): Likewise.
777 (run-program-prefix): Define in terms of new variables.
778 (built-program-cmd-before-env): New variable.
779 (built-program-cmd-after-env): Likewise.
780 (built-program-cmd): Define in terms of new variables.
781 (test-program-prefix-before-env): New variable.
782 (test-program-prefix-after-env): Likewise.
783 (test-program-prefix): Define in terms of new variables.
784 (test-program-cmd-before-env): New variable.
785 (test-program-cmd-after-env): Likewise.
786 (test-program-cmd): Define in terms of new variables.
787 * Rules (make-test-out): Use $(run-program-env).
788 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
789 (help): Do not mention environment variables. Mention
790 --timeoutfactor option.
791 (timeoutfactor): New variable.
792 (blacklist_exports): Remove function.
793 (exports): Remove variable.
794 (command): Do not include ${exports}.
795 * manual/install.texi (Configuring and compiling): Do not mention
796 test wrappers preserving environment variables. Mention that last
797 assignment to a variable must take precedence.
798 * INSTALL: Regenerated.
799 * benchtests/Makefile (run-bench): Use $(run-program-env).
800 * catgets/Makefile ($(objpfx)test1.cat): Use
801 $(built-program-cmd-before-env), $(run-program-env) and
802 $(built-program-cmd-after-env).
803 ($(objpfx)test2.cat): Do not specify environment variables
804 explicitly.
805 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
806 $(run-program-env) and $(built-program-cmd-after-env).
807 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
808 $(run-program-env) and $(test-program-cmd-after-env).
809 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
810 explicitly.
811 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
812 run_program_env and test_program_cmd_after_env arguments.
813 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
814 * elf/tst-pathopt.sh: Use run_program_env argument.
815 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
816 $(test-wrapper-env) and $(run-program-env).
817 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
818 run_program_env arguments.
819 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
820 * intl/Makefile ($(objpfx)tst-gettext.out): Use
821 $(test-program-prefix-before-env), $(run-program-env) and
822 $(test-program-prefix-after-env).
823 ($(objpfx)tst-gettext2.out): Likewise.
824 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
825 run_program_env and test_program_prefix_after_env arguments.
826 * intl/tst-gettext2.sh: Likewise.
827 * intl/tst-gettext4.sh: Do not set environment variables
828 explicitly.
829 * intl/tst-gettext6.sh: Likewise.
830 * intl/tst-translit.sh: Likewise.
831 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
832 $(test-program-prefix-before-env), $(run-program-env) and
833 $(test-program-prefix-after-env).
834 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
835 run_program_env and test_program_prefix_after_env arguments.
836 * math/Makefile (run-regen-ulps): Use $(run-program-env).
837 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
838 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
839 explicitly with each use of ${test_wrapper_env}.
840 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
841 $(test-program-prefix-before-env), $(run-program-env) and
842 $(test-program-prefix-after-env).
843 * posix/tst-getconf.sh: Do not set environment variables
844 explicitly.
845 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
846 run_program_env and test_program_prefix_after_env arguments.
847 * stdio-common/tst-printf.sh: Do not set environment variables
848 explicitly.
849 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
850 $(test-program-prefix-before-env), $(run-program-env) and
851 $(test-program-prefix-after-env).
852 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
853 run_program_env and test_program_prefix_after_env arguments.
854 Split $test calls into $test_pre and $test.
855 * timezone/Makefile (build-testdata): Use
856 $(built-program-cmd-before-env), $(run-program-env) and
857 $(built-program-cmd-after-env).
858
ed36bfa1
AZ
8592014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
860
861 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
862 strlen for non SHARED builds.
863
fc75bf46
SP
8642014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
865
866 * nptl/allocatestack.c (check_list): Inlined function...
867 (__reclaim_stacks): ... here.
868
d89b3d80
OB
8692014-06-05 Ondřej Bílka <neleai@seznam.cz>
870
871 [BZ #15698]
872 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
873 memory overrun.
874
2bf18041
JM
8752014-06-05 Joseph Myers <joseph@codesourcery.com>
876
877 * Rules (make-test-out): Include
878 LOCPATH=$(common-objpfx)localedata in default environment.
879 * debug/Makefile (tst-chk1-ENV): Remove variable.
880 (tst-chk2-ENV): Likewise.
881 (tst-chk3-ENV): Likewise.
882 (tst-chk4-ENV): Likewise.
883 (tst-chk5-ENV): Likewise.
884 (tst-chk6-ENV): Likewise.
885 (tst-lfschk1-ENV): Likewise.
886 (tst-lfschk2-ENV): Likewise.
887 (tst-lfschk3-ENV): Likewise.
888 (tst-lfschk4-ENV): Likewise.
889 (tst-lfschk5-ENV): Likewise.
890 (tst-lfschk6-ENV): Likewise.
891 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
892 (tst-iconv7-ENV): Likewise.
893 * intl/Makefile (LOCPATH-ENV): Likewise.
894 (tst-codeset-ENV): Likewise.
895 (tst-gettext3-ENV): Likewise.
896 (tst-gettext5-ENV): Likewise.
897 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
898 (tst-fopenloc-ENV): Likewise.
899 (tst-fgetws-ENV): Remove variable.
900 (tst-ungetwc1-ENV): Likewise.
901 (tst-ungetwc2-ENV): Likewise.
902 (bug-ungetwc2-ENV): Likewise.
903 (tst-swscanf-ENV): Likewise.
904 (bug-ftell-ENV): Likewise.
905 (tst-fgetwc-ENV): Likewise.
906 (tst-fseek-ENV): Likewise.
907 (tst-ftell-partial-wide-ENV): Likewise.
908 (tst-ftell-active-handler-ENV): Likewise.
909 (tst-ftell-append-ENV): Likewise.
910 * posix/Makefile (tst-fnmatch-ENV): Likewise.
911 (tst-regexloc-ENV): Likewise.
912 (bug-regex1-ENV): Likewise.
913 (tst-regex-ENV): Likewise.
914 (tst-regex2-ENV): Likewise.
915 (bug-regex5-ENV): Likewise.
916 (bug-regex6-ENV): Likewise.
917 (bug-regex17-ENV): Likewise.
918 (bug-regex18-ENV): Likewise.
919 (bug-regex19-ENV): Likewise.
920 (bug-regex20-ENV): Likewise.
921 (bug-regex22-ENV): Likewise.
922 (bug-regex23-ENV): Likewise.
923 (bug-regex25-ENV): Likewise.
924 (bug-regex26-ENV): Likewise.
925 (bug-regex30-ENV): Likewise.
926 (bug-regex32-ENV): Likewise.
927 (bug-regex33-ENV): Likewise.
928 (bug-regex34-ENV): Likewise.
929 (bug-regex35-ENV): Likewise.
930 (tst-rxspencer-ENV): Likewise.
931 (tst-rxspencer-no-utf8-ENV): Likewise.
932 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
933 (tst-sscanf-ENV): Likewise.
934 (tst-swprintf-ENV): Likewise.
935 (tst-swscanf-ENV): Likewise.
936 (test-vfprintf-ENV): Likewise.
937 (scanf13-ENV): Likewise.
938 (bug14-ENV): Likewise.
939 (tst-grouping-ENV): Likewise.
940 * stdlib/Makefile (tst-strtod-ENV): Likewise.
941 (tst-strtod3-ENV): Likewise.
942 (tst-strtod4-ENV): Likewise.
943 (tst-strtod5-ENV): Likewise.
944 (testmb2-ENV): Likewise./
945 * string/Makefile (tst-strxfrm-ENV): Likewise.
946 (tst-strxfrm2-ENV): Likewise.
947 (bug-strcoll1-ENV): Likewise.
948 (test-strcasecmp-ENV): Likewise.
949 (test-strncasecmp-ENV): Likewise.
950 * time/Makefile (tst-strptime-ENV): Likewise.
951 (tst-ftime_l-ENV): Likewise.
952 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
953 (tst-mbrtowc-ENV): Likewise.
954 (tst-wcrtomb-ENV): Likewise.
955 (tst-mbrtowc2-ENV): Likewise.
956 (tst-c16c32-1-ENV): Likewise.
957 (tst-mbsnrtowcs-ENV): Likewise.
958
cd1fb604
OB
9592014-06-05 Ondřej Bílka <neleai@seznam.cz>
960
961 * manual/resource.texi (How to get information about the memory
962 subsystem?): Fix typo.
963 Reported by Peon de la Parra Ivan <peon@keba.com>
964
b42eca7d
GY
9652014-06-03 Guo Yixuan <culu.gyx@gmail.com>
966
967 [BZ #16882]
968 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
969 (pthread_spin_lock): Branch out of spin loop to proper location.
970 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
971 (pthread_spin_lock): Likewise.
972
902b71f9
DM
973 * nptl/tst-spin4.c: New test.
974 * nptl/Makefile (tests): Add tst-spin4.
975
f9d2d032
AS
9762014-06-03 Andreas Schwab <schwab@suse.de>
977
978 [BZ #15946]
979 * resolv/res_send.c (send_dg): Reload file descriptor after
980 calling reopen.
981
cf7bfd28
SL
9822014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
983
984 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
985
111cc714
RH
9862014-06-03 Richard Henderson <rth@redhat.com>
987
89b4bd6b
RH
988 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
989 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
990 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
991 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
992 in the SAVE_PID block.
993 (__libc_vfork): New alias.
71840409 994 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 995
111cc714
RH
996 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
997 child in registers, not on the stack. Remove RESET_PID conditionals.
998 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
999
ccc39911
MS
10002014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
1001
1002 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1003
693096cc
W
10042014-06-03 Wilco <wdijkstr@arm.com>
1005
1006 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1007 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1008 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1009 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1010 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1011 Likewise.
1012
0b4366bc
W
10132014-06-03 Wilco <wdijkstr@arm.com>
1014
1015 * sysdeps/aarch64/fpu/math_private.h
1016 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1017 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1018 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1019 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1020 Fix declarations.
1021
8747cd03
KS
10222014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1023
1024 * crypt/crypt-private.h: Include ufc-crypt.h.
1025 (__b64_from_24bit): Declare extern.
1026 * crypt/crypt_util.c(__b64_from_24bit): New function.
1027 (b64t): New static const variable.
1028 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1029 (b64t): Remove variable.
1030 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1031 * crypt/sha256-crypt.c: Include crypt-private.h.
1032 (b64t): Remove variable.
1033 (__sha256_crypt_r): Remove b64_from_24bit and replace
1034 with __b64_from_24bit.
1035 * crypt/sha512-crypt.c: Likewise.
1036
d936d379
RM
10372014-06-02 Roland McGrath <roland@hack.frob.com>
1038
1039 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1040 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1041 Label the code __libc_vfork rather than __vfork.
1042 [!NOT_IN_libc] (vfork): Define as weak alias.
1043 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1044 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1045 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1046
9fa76613
SP
10472014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1048
1049 * malloc/malloc.c (malloc_info): Fix format specifier for
1050 n_mmaps.
1051
a88dadbe
W
10522014-06-02 Wilco <wdijkstr@arm.com>
1053
1054 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1055 FPCR write.
1056
c95b3011
W
10572014-06-02 Wilco <wdijkstr@arm.com>
1058
1059 [BZ #17009]
1060 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1061 Rewrite to reduce FPCR/FPSR accesses.
1062
6b4d7a90
DM
10632014-06-01 David S. Miller <davem@davemloft.net>
1064
1065 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1066
30f3d07c
DM
10672014-05-31 David S. Miller <davem@davemloft.net>
1068
1069 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1070 to occur in round to nearest mode when |x| >= 2.0
1071
74f31c18
RH
10722014-05-30 Richard Henderson <rth@twiddle.net>
1073
f0712b54
RH
1074 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1075 (PSEUDO_RET_NOERRNO): Remove.
1076 (ret): Don't redefine.
1077 (ret_NOERRNO): Define in terms of ret.
1078 (ret_ERRVAL): Likewise.
1079
74f31c18
RH
1080 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1081 use of PSEUDO_RET; perform the error check directly.
1082
30477995
MM
10832014-05-30 Marko Myllynen <myllynen@redhat.com>
1084
1085 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1086 with __int128_t.
1087
62a58816
SP
10882014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1089
1090 * malloc/malloc (malloc_info): Fix formatting.
1091
4d653a59
SP
10922014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1093 Roland McGrath <roland@hack.frob.com>
1094
1095 * malloc/malloc (malloc_info): Also print mmapped statistics.
1096
5190c17f
RM
10972014-05-30 Roland McGrath <roland@hack.frob.com>
1098
1099 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1100 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1101
987c0269
OB
11022014-05-30 Ondřej Bílka <neleai@seznam.cz>
1103
1104 * malloc/malloc.c (malloc_info): Inline mi_arena.
1105
af4e8ef9
RH
11062014-05-29 Richard Henderson <rth@twiddle.net>
1107
1670e207
RH
1108 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1109 Remove comma before expanding ASM_ARGS_##nr.
1110 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1111 Make _x0 a strict output; make _x8 a strict input; adjust expansion
1112 of ASM_ARGS_##nr.
1113 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1114 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1115 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1116 (ASM_ARGS_1): Add leading comma.
1117
11a28aee
RH
1118 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1119 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1120 to __errno_location.
1121 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1122 Remove the expected plt for __errno_location.
1123
a17e5ffb 1124 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 1125 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
1126 call to __read_tp.
1127
b5be4597
RH
1128 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1129 Always allocate 64 bytes of stack frame. Use ldp/stp to create
1130 it and break it down.
1131 (DOCARGS_0, DOCARGS_1): Do nothing.
1132 (DOCARGS_2): Update to store into the new stack frame.
1133 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1134 (UNDOCARGS_1): Update to restore from the new stack frame.
1135 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1136 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1137
645d44ab
RH
1138 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1139 (SINGLE_THREAD_P): New parameter for result regno.
1140 (PSEUDO): Update to match; use cbz instead of beq.
1141
a8b4f04a
RH
1142 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1143 Use ENTRY to define the _nocancel entry point. Share the syscall
1144 and syscall error check paths with the cancel path.
1145 (PSEUDO_END): New.
1146
af4e8ef9
RH
1147 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1148 whitespace; tabs before and after asm mnemonics.
1149
26b0d2e1
EW
11502014-05-29 Eric Wong <normalperson@yhbt.net>
1151
1152 [BZ #15132]
1153 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1154 Call fstat64 or stat64 internally, depending on arguments passed.
1155 Replace stat buffer argument with file descriptor argument.
1156 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1157 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1158 Pass fd to __internal_statvfs instead of calling fstat64.
1159 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1160 Pass fd to __internal_statvfs64 instead of calling fstat64.
1161 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1162 Pass -1 to __internal_statvfs instead of calling stat64.
1163 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1164 Pass -1 to __internal_statvfs64 instead of calling stat64.
1165
1efe2bd9
RM
11662014-05-28 Roland McGrath <roland@hack.frob.com>
1167
0d3b7a19
RM
1168 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1169 that was previously under [RESET_PID].
1170 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1171
1efe2bd9
RM
1172 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1173 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1174
a6bea3ca
RM
11752014-05-27 Roland McGrath <roland@hack.frob.com>
1176
30b6629e
RM
1177 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1178
a6bea3ca
RM
1179 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1180 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1181
3dfb9a5c
OB
11822014-05-27 Ondřej Bílka <neleai@seznam.cz>
1183
1184 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1185
774f9285
AS
11862014-05-27 Andreas Schwab <schwab@suse.de>
1187
1188 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1189 TLS_INIT_TP macro.
1190 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1191 * elf/rtld.c (init_tls, dl_main): Likewise.
1192 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1193 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1194 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1195 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1196 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1197 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1198 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1199 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1200 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1201 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1202 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1203 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1204 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1205 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1206 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1207 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1208 * sysdeps/generic/tls.h: Update description.
1209
36ffe739
WN
12102014-05-27 Will Newton <will.newton@linaro.org>
1211
1212 [BZ #16990]
1213 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1214 and restore r2 rather than just restoring.
1215
2482ae43
SP
12162014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1217
1218 [BZ #16724]
1219 * libio/tst-ftell-append.c: New test case.
1220 * libio/Makefile (tests): Add test case.
1221 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1222 append mode.
1223 * libio/wfileops.c (do_ftell_wide): Likewise.
1224
3d1024e8
AZ
12252014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1226
bab90016
AZ
1227 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1228
c7a8d667
AZ
1229 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1230 ...
1231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1233 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1234 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1235 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1236 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1237 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1238 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1239 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1240 Moved ...
1241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1242 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1243 Moved ...
1244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1245 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1246 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1247 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1248 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1249 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1250 ...
1251 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1252 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1253 Moved ...
1254 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1255 here.
1256 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1257 ...
1258 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1259 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1260 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1261
daee7851
AZ
1262 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1263 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1264 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1265 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1266
50a40819
AZ
1267 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1268 merge into ...
1269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1270 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1271 ...
1272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1273 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1274 ...
1275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1276 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1277 Moved ...
1278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1279 here.
1280 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1281 Moved ...
1282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1283 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1284 Moved ...
1285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1286
8464c2a1
AZ
1287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1288 conditional [RESET_PID].
1289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1290 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1291 removed.
1292 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1293 removed.
1294
3d1024e8
AZ
1295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1296 <tcb-offsets.h>.
1297 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1298 (__libc_vfork): New strong alias.
1299 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1300 removed.
1301 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1302 Removed.
1303
1304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1305 <tcb-offsets.h>.
1306 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1307 (__libc_vfork): New strong alias.
1308 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1309 removed.
1310 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1311 removed.
1312
fdfd175d
CD
13132014-05-26 Carlos O'Donell <carlos@redhat.com>
1314
1315 * malloc/malloc.c (mi_arena): New function.
1316 (malloc_info): Remove nested function mi_arena. Call non-nosted
1317 function mi_arena.
1318
d298c416
AZ
13192014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1320
1321 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1322 by insrwi.
1323 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1324 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1325 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1326 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1327 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1328 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1329 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1330
b60ea6ff
AS
13312014-05-26 Andreas Schwab <schwab@suse.de>
1332
1333 [BZ #16984]
1334 * locale/programs/repertoire.c (repertoire_read): Add slash
1335 between I18NPATH element and file name.
1336 * locale/programs/locfile.c (locfile_read): Likewise.
1337
67365926
SL
13382014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1339
1340 * nptl/pthread_mutexattr_settype.c
1341 (__pthread_mutexattr_settype):
1342 Disable lock elision for PTHREAD_MUTEX_NORMAL.
1343
f8bdf1f0
SL
13442014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1345
1346 * nptl/tst-mutex5 (do_test):
1347 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1348
15eaf6ff
SP
13492014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1350
1351 * benchtests/README: Document 'init' directive.
1352 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1353 BENCH_INIT.
1354 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1355 (parse_file): Recognize 'init' directive.
1356
75f11331
KM
13572014-05-26 Kyle McMartin <kyle@redhat.com>
1358
1359 [BZ #16796]
1360 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1361 alignment of struct pthread.
1362
c3ec475c
SP
13632014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1364
1365 [BZ #16878]
1366 * nscd/netgroupcache.c (addgetnetgrentX): Look for
1367 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1368 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1369 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1370
82aab97c
RH
13712014-05-25 Richard Henderson <rth@twiddle.net>
1372
aa2f176d
RH
1373 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1374 (SINGLE_THREAD_P_PIC): Remove.
1375 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1376 (SINGLE_THREAD_P_PIC): Remove.
1377
ca3cfa40
RH
1378 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1379 branch to syscall error ...
1380 (PSEUDO): ... here.
1381 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1382 from __local_syscall_error to .Lsyscall_error.
1383 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1384 (SYSCALL_ERROR): Update label name.
1385
6e6c2d01
RH
1386 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1387 Do not use DOARGS/UNDOARGS.
1388 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1389 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1390 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1391 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1392 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1393
c69abcee
RH
1394 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1395 block comment.
1396
82aab97c
RH
1397 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1398 define if !NOT_IN_libc.
1399 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1400 define with non-default symbol versions.
1401
8820e3ac
RH
14022014-05-23 Richard Henderson <rth@twiddle.net>
1403
900e445f
RH
1404 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1405 (vfork, __vfork): Define via compat_symbol.
1406
8820e3ac
RH
1407 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1408 [!HAVE_IFUNC] (vfork_compat): Remove.
1409 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1410
e59252a5
JM
14112014-05-23 Joseph Myers <joseph@codesourcery.com>
1412
1413 [BZ #16978]
1414 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1415 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1416 variable.
1417
132c7f5f
RH
14182014-05-23 Richard Henderson <rth@twiddle.net>
1419
bc89e962
RH
1420 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1421 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1422 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1423 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1424
1425 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1426 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1427 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1428 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1429 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1430 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1431 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1432 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1433 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1434 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1435 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1436 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1437 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1438 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1439 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1440 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1441 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1442 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1443 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1444 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1445 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1446 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1447 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1448 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1449 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1450 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1451 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1452 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1453 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1454 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1455 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1456 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1457 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1458 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1459 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1460 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1461 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1462 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1463 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1464 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1465 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1466 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1467 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1468 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1469 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1470 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1471 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1472 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1473 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1474 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1475 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1476 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1477 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1478 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1479 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1480 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1481
e2fa4bc2
RH
1482 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1483 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1484 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
1485 before exiting on error.
1486 (__libc_vfork): New strong alias.
1487 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1488 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1489
279b24e2
RH
1490 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1491 that was previously under [RESET_PID].
1492 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1493
132c7f5f
RH
1494 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1495
b72592e7
JM
14962014-05-23 Joseph Myers <joseph@codesourcery.com>
1497
1498 [BZ #16977]
1499 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
1500 value when x - 1 is zero.
1501 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
1502 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1503 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
1504 0.0L for an argument of 1.0L.
1505 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
1506 Likewise.
1507 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
1508 value when x - 1 is zero.
1509 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
1510 * sysdeps/i386/fpu/libm-test-ulps: Update.
1511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1512
2302d679
RV
15132014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1514
1515 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
1516 alphasort and versionsort.
1517
32999d63
AZ
15182014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1519
1520 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
1521 macro.
1522 [copysignf]: Likewise.
1523
019324d0
SP
15242014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1525
1526 * crypt/md5-crypt.c: Fix formatting.
1527
34fff5c2
KS
15282014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1529
1530 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
1531 (b64_from_24bit): New function.
1532
3d2badac
AZ
15332014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1534
1535 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
1536 libc_hidden_builtin_def to ifunc.
1537 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1538 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
1539
f7bb179f 15402014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
1541
1542 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
1543 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
1544
4134b50d
JM
15452014-05-21 Joseph Myers <joseph@codesourcery.com>
1546
bb7d0337
JM
1547 * nscd/Depend (linuxthreads): Remove.
1548 (nptl): Add.
1549 * resolv/Depend (linuxthreads): Remove.
1550 * rt/Depend (linuxthreads): Remove.
1551
4134b50d
JM
1552 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
1553 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
1554 $(common-objpfx)elf/.
1555 (link-libc-before-gnulib): Likewise.
1556 (elfobjdir): Remove variable.
1557 * Makefile (install): Use $(elf-objpfx) instead of
1558 $(common-objpfx)elf/.
1559 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
1560 $(elfobjdir)/.
1561 (link-libc-deps): Likewise.
1562 ($(common-objpfx)libc.so): Likewise.
1563 ($(common-objpfx)linkobj/libc.so): Likewise.
1564 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
1565 instead of $(common-objpfx)elf/.
1566 (symbolic-link-list): Likewise.
1567 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1568 [$(cross-compiling) = no]: Likewise.
1569 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
1570 $(elfobjdir)/.
1571 (static-gnulib-arch): Likewise.
1572 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1573 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
1574 $(common-objpfx)elf/.
1575
3612eb8f
RH
15762014-05-21 Richard Henderson <rth@redhat.com>
1577
a6b3657b
RH
1578 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1579 (SINGLE_THREAD_P): Use the correct width load. Fold
1580 into the ldr offset.
1581
3612eb8f
RH
1582 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
1583 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
1584
175cef41
JM
15852014-05-20 Joseph Myers <joseph@codesourcery.com>
1586
1587 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
1588 (libgcc_s_resume): Use __attribute_used__.
1589 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
1590 Likewise.
1591
e13bccd3
AZ
15922014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1593
1594 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
1595 optimization when used with float constants.
1596
7c112a38
AZ
1597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1598
ae75a883
AJ
15992014-05-20 Aurelien Jarno <aurelien@aurel32.net>
1600
1601 [BZ #16915]
1602 * locale/nl_langinfo_l.c: Make direct reference to every
1603 _nl_current_CATEGORY symbol.
1604 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
1605 (tests-static): Add tst-langinfo-static.
1606 (tests-special): Add tst-langinfo-static.out.
1607 ($(objpfx)tst-langinfo.out): Redirect output.
1608 ($(objpfx)tst-langinfo-static.out): New.
1609 * localedata/tst-langinfo.sh: Send output to stdout.
1610 * localedata/tst-langinfo-static.c: New file.
1611
4406c41c
AJ
1612 [BZ #16965]
1613 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
1614 when the shift amount is modulo the limb size.
1615
4c0a1e63
RH
16162014-05-20 Richard Henderson <rth@redhat.com>
1617
de9d8f20
RH
1618 [BZ #16967]
1619 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
1620 Change type of sa_flags from unsigned int to int.
1621
4c0a1e63
RH
1622 [BZ #16966]
1623 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
1624
1625 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
1626
a60339aa
WN
16272014-05-20 Will Newton <will.newton@linaro.org>
1628
1629 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1630 Test the return value of the system call in the nocancel case.
1631
7d05a816
YR
16322014-05-20 Will Newton <will.newton@linaro.org>
1633 Yvan Roux <yvan.roux@linaro.org>
1634
1635 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
1636 #include of asm/ptrace.h.
1637 (PTRACE_GET_THREAD_AREA): Remove #undef.
1638 (PTRACE_GETHBPREGS): Likewise.
1639 (PTRACE_SETHBPREGS): Likewise.
1640 (struct user_regs_struct): New structure.
1641 (struct user_fpsimd_struct): New structure.
1642 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
1643 #include of asm/ptrace.h and second #include of sys/user.h.
1644 (PTRACE_GET_THREAD_AREA): Remove #undef.
1645 (PTRACE_GETHBPREGS): Likewise.
1646 (PTRACE_SETHBPREGS): Likewise.
1647 (ELF_NGREG): Use new struct user_regs_struct.
1648 (elf_fpregset_t): Use new struct user_fpsimd_struct.
1649
af121e37
AZ
16502014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1651
1652 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
1653 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
1654
834caf06
JM
16552014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1656
1657 [BZ #16958]
1658 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
1659 membar to avoid block loads/stores to overlap previous stores.
1660
e184a918
RH
16612014-05-17 Richard Henderson <rth@redhat.com>
1662
1663 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
1664 Create the __##syscall_name##_nocancel entry point.
1665 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
1666 Remove; let the sysdep-cancel.h code create it.
1667
f56c7a6a
DM
16682014-05-17 David S. Miller <davem@davemloft.net>
1669
1670 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
1671 Protect with __USE_GNU.
1672 (TIOCSET_TEMPT): Likewise.
1673 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1674 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
1675 these are already provided in bits/ioctl-types.h
1676
f75616b2
RM
16772014-05-16 Roland McGrath <roland@hack.frob.com>
1678
3edeca86
RM
1679 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
1680 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
1681
f75616b2
RM
1682 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
1683 Use wait4 regardless of [__NR_waitpid].
1684
deb0f7f6
MR
16852014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1686
1687 PR libgcc/60166
1688 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1689 (_FP_NANSIGN_Q): Set the quiet bit.
1690
79520f4b
JM
16912014-05-16 Joseph Myers <joseph@codesourcery.com>
1692
1693 * benchtests/Makefile
1694 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
1695 not $(common-objpfx)math/libm.so.
1696 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
1697 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
1698 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
1699 $(common-objpfx)dlfcn/libdl.so.
1700 ($(objpfx)tst-audit8): Depend on $(libm), not
1701 $(common-objpfx)math/libm.so.
1702 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
1703 not $(common-objpfx)dlfcn/libdl.so.
1704 * math/Makefile
1705 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1706 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
1707 [$(build-shared) = yes].
1708 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
1709 $(common-objpfx)nptl/libpthread.so.
1710 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
1711 $(common-objpfx)math/libm.so$(libm.so-version) or
1712 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
1713 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
1714 $(common-objpfx)dlfcn/libdl.so.
1715 * setjmp/Makefile (link-libm): Remove variable.
1716 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
1717 * stdio-common/Makefile (link-libm): Remove variable.
1718 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
1719 * stdlib/Makefile (link-libm): Remove variable.
1720 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
1721 ($(objpfx)tst-strtod-round): Likewise.
1722 ($(objpfx)tst-tininess): Likewise.
1723 ($(objpfx)tst-strtod-underflow): Likewise.
1724 ($(objpfx)tst-strtod6): Likewise.
1725 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
1726 $(libdl), not $(common-objpfx)nptl/libpthread.so and
1727 $(common-objpfx)dlfcn/libdl.so.
1728
026b0fe4
AZ
17292014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1730
1731 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
1732 BSD terminal modes definitions.
1733
def4bcb2
RM
17342014-05-16 Roland McGrath <roland@hack.frob.com>
1735
fe39b021
RM
1736 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
1737 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
1738
1d1fc46e 1739 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
1740 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
1741 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
1742 Don't do #include_next.
1743 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
1744 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
1745 Don't do #include_next.
1746 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
1747 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
1748 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
1749 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
1750
c72399fb
AM
17512014-05-16 Allan McRae <allan@archlinux.org>
1752
d51d659d
AM
1753 * po/sv.po: Update Swedish translation from translation project.
1754
c72399fb
AM
1755 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
1756 in sed expression.
1757
d0583c40
AJ
17582014-05-16 Aurelien Jarno <aurelien@aurel32.net>
1759
1760 [BZ #16917]
1761 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
1762 errno if the TIOCGPTN ioctl fails with an error different than
1763 EINVAL.
1764 * login/tst-ptsname.c: New file.
1765 * login/Makefile (tests): Add tst-ptsname.
1766
d16e6ec7
AJ
1767 [BZ #16943]
1768 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
1769 and prlimit64.
1770
cf26a0cb
SP
17712014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1772
1773 [BZ #16849]
1774 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
1775 herrno to return EAI_AGAIN.
1776
5675da1e
RM
17772014-05-14 Roland McGrath <roland@hack.frob.com>
1778
a5d87b3d
RM
1779 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
1780 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
1781 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
1782 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
1783 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
1784 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
1785 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
1786 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
1787 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
1788 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
1789 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
1790 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
1791 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
1792 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
1793 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
1794 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
1795 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
1796 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
1797 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
1798 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
1799 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
1800 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
1801 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
1802 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
1803 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
1804 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
1805 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
1806 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
1807 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
1808 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
1809 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
1810 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
1811 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
1812 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
1813 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1814 Moved ...
1815 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
1816 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
1817 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
1818 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
1819 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
1820 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
1821 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
1822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
1823 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
1824 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
1825 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
1826 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
1827 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
1828 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
1829 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
1830 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
1831 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
1832 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
1833 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
1834 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
1835 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
1836 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
1837 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
1838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
1839 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
1840 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
1841 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
1842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1843 Moved ...
1844 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
1845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
1846 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
1847 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
1848 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
1849 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
1850 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
1851 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
1852 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
1853 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
1854 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
1855 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
1856 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
1857 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
1858 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
1859 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
1860 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
1861 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
1862 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
1863 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1864 Moved ...
1865 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
1866 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
1867 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
1868
039890a6
RM
1869 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
1870 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
1871 (libpthread-sysdep_routines): Add elision-related stuff here instead.
1872 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
1873 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
1874 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
1875 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
1876 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
1877 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
1878 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
1879 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
1880 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
1881 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
1882 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
1883 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
1884 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
1885 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
1886 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
1887 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
1888 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
1889 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
1890 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
1891 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
1892 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
1893 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
1894 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
1895 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
1896 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
1897 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
1898 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
1899 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
1900
65c89320
RM
1901 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
1902 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
1903
348f8e8c
RM
1904 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
1905 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
1906 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
1907 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
1908 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
1909 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
1910 Moved ...
1911 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
1912 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
1913 Moved ...
1914 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
1915 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
1916 Moved ...
1917 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
1918 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
1919 Moved ...
1920 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
1921 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
1922 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
1923 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
1924 Moved ...
1925 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
1926 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
1927 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
1928 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
1929 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
1930 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
1931 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
1932 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
1933 Moved ...
1934 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
1935 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1936 Moved ...
1937 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1938 ... here.
1939 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
1940 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
1941 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
1942 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
1943 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1944 Moved ...
1945 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1946 ... here.
1947 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
1948 Moved ...
1949 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
1950 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
1951 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
1952 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
1953 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
1954 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
1955 Moved ...
1956 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
1957 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
1958 Moved ...
1959 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
1960 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
1961 Moved ...
1962 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
1963 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
1964 Moved ...
1965 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
1966 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
1967 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
1968 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
1969 Moved ...
1970 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
1971 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
1972 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
1973 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
1974 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
1975 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
1976 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
1977 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
1978 Moved ...
1979 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
1980 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1981 Moved ...
1982 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1983 ... here.
1984 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
1985 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
1986 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
1987 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
1988 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1989 Moved ...
1990 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1991 ... here.
1992 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
1993 Moved ...
1994 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
1995 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
1996 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
1997 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
1998 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
1999 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2000 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2001 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2002 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2003 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2004 Moved ...
2005 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2006 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2007 Moved ...
2008 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2009 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2010 Moved ...
2011 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2012 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2013 Moved ...
2014 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2015 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2016 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2017 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2018 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2019 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2020 Moved ...
2021 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2022 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2023 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2024 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2025 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2026 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2027 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2028 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2029 Moved ...
2030 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2031 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2032 Moved ...
2033 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2034 ... here.
2035 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2036 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2037 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2038 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2039 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2040 Moved ...
2041 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2042 ... here.
2043 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2044 Moved ...
2045 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2046 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2047 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2048 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2049 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2050 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2051 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2052 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2053 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2054 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2055 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2056
5085af05
RM
2057 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2058 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2059
708f0813
RM
2060 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2061 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2062
c96067bc
RM
2063 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2064 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2065 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2066 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2067 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2068 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2069 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2070 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2071 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2072 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2073 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2074 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2075 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2076 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2077 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2078 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2079 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2080 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2081 Moved ...
2082 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2083 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2084 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2085 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2086 Moved ...
2087 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2088 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2089 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2090 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2091 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2092 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2093 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2094 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2095 Moved ...
2096 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2097 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2098 Moved ...
2099 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2100 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2101 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2102 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2103 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2104 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2105 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2106 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2107 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2108 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2109 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2110 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2111 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2112 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2113 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2114 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2115 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2116
ec136444
RM
2117 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2118 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2119 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2120 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2121 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2122
2fbdf533
RM
2123 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2124 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2125 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2126 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2127 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2128 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2129 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2130 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2131 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2132 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2133
4c68138b
RM
2134 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2135 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2136
4eaae765
RM
2137 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2138 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
2139 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2140 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2141 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2142 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2143 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2144 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2145 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2146 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2147 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2148 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2149 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2150 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2151 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2152 Update #include.
2153 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2154 Likewise.
2155 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2156 Likewise.
2157 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2158 Likewise.
2159 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2160 Likewise.
2161 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2162 Likewise.
2163 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2164 Likewise.
2165 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2166 Likewise.
2167 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2168 Likewise.
2169 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2170 Likewise.
4ef6befa
RM
2171 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2172 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2173 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2174 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2175 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
2176 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2177 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2178 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2179 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2180 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2181 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2182 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2183 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2184 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
2185 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 2186
941d7dfd
RM
2187 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2188 that was previously under [RESET_PID].
2189 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2190 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2191 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2192
1b731c35
RM
2193 * sysdeps/i386/nptl/Implies: New file.
2194 * sysdeps/x86_64/nptl/Implies: New file.
2195 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2196 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2197 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2198 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2199
e2787137
RM
2200 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2201 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2202 (__libc_vfork): New strong alias.
2203 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2204 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2205
2206 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2207 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2208 (__libc_vfork): New strong alias.
2209 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2210 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2211
5675da1e
RM
2212 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2213 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2214 (__libc_vfork): New strong alias.
2215 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2216 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2217 * nptl/pt-vfork.c: New file.
2218 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2219 (libpthread: GLIBC_2.20): New version set (empty).
2220
4f02e2b8
WN
22212014-05-14 Will Newton <will.newton@linaro.org>
2222
2223 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2224 rather than #if.
2225
0bf061d3
JM
22262014-05-14 Joseph Myers <joseph@codesourcery.com>
2227
1a84c3d6
JM
2228 [BZ #16564]
2229 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2230 arguments with exponent 65 or above.
2231 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2232 arguments 0x1p113L or above.
2233 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2234 to arguments 0x1p107L or above.
2235 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2236 positive arguments with exponent 65 or above.
2237 * math/auto-libm-test-in: Add more tests of log1p.
2238 * math/auto-libm-test-out: Regenerated.
2239
01dbacd2
JM
2240 [BZ #16928]
2241 * math/s_cacos.c (__cacos): Ensure zero real part of result from
2242 non-finite arguments is +0.
2243 * math/s_cacosf.c (__cacosf): Likewise.
2244 * math/s_cacosl.c (__cacosl): Likewise.
2245 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2246 * sysdeps/i386/fpu/libm-test-ulps: Update.
2247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2248
913d03c8
JM
2249 [BZ #16927]
2250 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2251 value.
2252 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2253 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2254 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2255 for explicit high bit of mantissa when testing for argument equal
2256 to 1.
2257 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2258 * sysdeps/i386/fpu/libm-test-ulps: Update.
2259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2260
0bf061d3
JM
2261 [BZ #16516]
2262 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2263 (__erf): Scale by 16 instead of 8 in potentially underflowing
2264 case. Ensure exception if result actually underflows.
2265 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2266 (__erff): Scale by 16 instead of 8 in potentially underflowing
2267 case. Ensure exception if result actually underflows.
2268 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2269 (efx8): Remove variable.
2270 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2271 case. Ensure exception if result actually underflows.
2272 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2273 (efx8): Remove variable.
2274 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2275 case. Ensure exception if result actually underflows.
2276 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2277 (efx8): Remove variable.
2278 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2279 case. Ensure exception if result actually underflows.
2280 * math/auto-libm-test-in: Add more tests of erf.
2281 * math/auto-libm-test-out: Regenerated.
2282
73ba67cb
AS
22832014-05-14 Andreas Schwab <schwab@suse.de>
2284
3d8c8bff
AS
2285 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2286 Remove code conditionalized on USE___THREAD.
2287
73ba67cb
AS
2288 * config.h.in (HAVE_PT_CHOWN): Define as 0.
2289 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2290 not definedness.
2291
5c521ecd
JM
22922014-05-14 Joseph Myers <joseph@codesourcery.com>
2293
5e7698c6
JM
2294 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2295 Define unconditionally.
2296 (__ASSUME_O_CLOEXEC): Likewise.
2297 (__ASSUME_SOCK_CLOEXEC): Likewise.
2298 (__ASSUME_IN_NONBLOCK): Likewise.
2299 (__ASSUME_PIPE2): Likewise.
2300 (__ASSUME_EVENTFD2): Likewise.
2301 (__ASSUME_SIGNALFD4): Likewise.
2302 (__ASSUME_DUP3): Likewise.
2303 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2304 (__ASSUME_DUP3): Do not define.
2305 (__ASSUME_EVENTFD2): Likewise.
2306 (__ASSUME_IN_NONBLOCK): Likewise.
2307 (__ASSUME_O_CLOEXEC): Likewise.
2308 (__ASSUME_PIPE2): Likewise.
2309 (__ASSUME_SIGNALFD4): Likewise.
2310 (__ASSUME_SOCK_CLOEXEC): Likewise.
2311 (__ASSUME_UTIMES): Undefine.
2312 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2313 (__ASSUME_UTIMES): Do not define.
2314 (__ASSUME_O_CLOEXEC): Likewise.
2315 (__ASSUME_SOCK_CLOEXEC): Likewise.
2316 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2317 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2318 0x020621].
2319 (__ASSUME_PIPE2): Likewise.
2320 (__ASSUME_EVENTFD2): Likewise.
2321 (__ASSUME_SIGNALFD4): Likewise.
2322 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2323 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2324 Do not define.
2325 (__ASSUME_EVENTFD2): Likewise.
2326 (__ASSUME_SIGNALFD4): Likewise.
2327 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2328 (__ASSUME_32BITUIDS): Likewise.
2329 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2330 (__ASSUME_IPC64): Likewise.
2331 (__ASSUME_ST_INO_64_BIT): Likewise.
2332 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2333 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2334 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2335 (__ASSUME_UTIMES): Do not define.
2336 (__ASSUME_PSELECT): Likewise.
2337 (__ASSUME_PPOLL): Likewise.
2338 (__ASSUME_O_CLOEXEC): Likewise.
2339 (__ASSUME_SOCK_CLOEXEC): Likewise.
2340 (__ASSUME_IN_NONBLOCK): Likewise.
2341 (__ASSUME_PIPE2): Likewise.
2342 (__ASSUME_EVENTFD2): Likewise.
2343 (__ASSUME_SIGNALFD4): Likewise.
2344 (__ASSUME_DUP3): Likewise.
2345 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2346 (__ASSUME_UTIMES): Likewise.
2347 (__ASSUME_O_CLOEXEC): Likewise.
2348 (__ASSUME_SOCK_CLOEXEC): Likewise.
2349 (__ASSUME_IN_NONBLOCK): Likewise.
2350 (__ASSUME_PIPE2): Likewise.
2351 (__ASSUME_EVENTFD2): Likewise.
2352 (__ASSUME_SIGNALFD4): Likewise.
2353 (__ASSUME_DUP3): Likewise.
2354 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2355 (__ASSUME_UTIMES): Likewise.
2356 (__ASSUME_O_CLOEXEC): Likewise.
2357 (__ASSUME_SOCK_CLOEXEC): Likewise.
2358 (__ASSUME_IN_NONBLOCK): Likewise.
2359 (__ASSUME_PIPE2): Likewise.
2360 (__ASSUME_EVENTFD2): Likewise.
2361 (__ASSUME_SIGNALFD4): Likewise.
2362 (__ASSUME_DUP3): Likewise.
2363 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2364 Likewise.
2365 (__ASSUME_UTIMES): Likewise.
2366 (__ASSUME_EVENTFD2): Likewise.
2367 (__ASSUME_SIGNALFD4): Likewise.
2368 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2369 (__ASSUME_O_CLOEXEC): Likewise.
2370 (__ASSUME_SOCK_CLOEXEC): Likewise.
2371 (__ASSUME_IN_NONBLOCK): Likewise.
2372 (__ASSUME_PIPE2): Likewise.
2373 (__ASSUME_EVENTFD2): Likewise.
2374 (__ASSUME_SIGNALFD4): Likewise.
2375 (__ASSUME_DUP3): Likewise.
2376 (__ASSUME_UTIMES): Undefine.
2377
5c521ecd
JM
2378 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2379 feclearexcept. Remove symbol versioning code.
2380 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
2381 symbol versioning code.
2382 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
2383 symbol versioning code.
2384 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2385 feupdateenv. Remove symbol versioning code.
2386 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2387 fegetexceptflag. Remove symbol versioning code.
2388 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2389 fesetexceptflag. Remove symbol versioning code.
2390 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2391 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
2392 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2393 (__posix_fadvise64_l32): Remove prototype.
2394 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2395 code.
2396
5da9dfad
RM
23972014-05-13 Roland McGrath <roland@hack.frob.com>
2398
2399 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2400 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2401 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2402 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2403
893b4f37
SK
24042014-05-13 Sami Kerola <kerolasa@iki.fi>
2405
2406 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2407 current working directory
2408
e0db6517
RM
24092014-05-13 Roland McGrath <roland@hack.frob.com>
2410
58aa195d
RM
2411 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2412 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2413 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2414 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2415 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2416 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2417 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2418 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2419 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2420 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2421 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2422 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2423 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2424 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2425 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2426 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2427 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2428 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2429 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2430 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2431 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2432 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2433 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2434 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2435 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2436 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2437 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2438 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2439 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2440 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2441 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2442 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2443 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2444 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2445 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2446 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2447 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2448 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2449 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2450 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2451 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2452 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2453
8c6d01f0
RM
2454 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2455 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2456
2457 * sysdeps/unix/sysv/linux/arm/Makefile
2458 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2459 Add rt-aeabi_unwind_cpp_pr1.
2460 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2461 Add nptl-aeabi_unwind_cpp_pr1.
2462 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2463 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2464 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2465 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2466 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2467 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2468
2469 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2470 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2471 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2472 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2473
bba6da4e
RM
2474 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2475 Deconditionalize the code that was previously under [RESET_PID].
2476 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2477
e0db6517
RM
2478 * sysdeps/generic/exit-thread.h: New file.
2479 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2480 * include/unistd.h (__exit_thread): Remove declaration.
2481 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2482 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2483 * csu/libc-start.c: Include <exit-thread.h>.
2484 (LIBC_START_MAIN): Pass no argument to __exit_thread.
2485 * nptl/pthread_create.c: Include <exit-thread.h>.
2486 (start_thread): Call __exit_thread in place of __exit_thread_inline.
2487 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2488 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2489 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2490 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2491 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2492 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2493 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2494 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2495 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2496 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2497 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2498 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
2499 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
2500 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
2501 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
2502 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
2503
01eb16fd
AS
25042014-05-13 Andreas Schwab <schwab@suse.de>
2505
2506 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
2507
637461d9
JM
25082014-05-12 Joseph Myers <joseph@codesourcery.com>
2509
2510 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2511 (__ASSUME_UTIMES): Do not condition on kernel version.
2512 (__ASSUME_PSELECT): Define unconditionally.
2513 (__ASSUME_PPOLL): Likewise.
2514 (__ASSUME_ATFCTS): Likewise.
2515 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
2516 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
2517 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
2518 (__ASSUME_UTIMENSAT): Define unconditionally.
2519 (__ASSUME_PRIVATE_FUTEX): Likewise.
2520 (__ASSUME_FALLOCATE): Likewise.
2521 (__ASSUME_O_CLOEXEC): Likewise.
2522 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
2523 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
2524 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
2525 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
2526 (__ASSUME_IN_NONBLOCK): Likewise.
2527 (__ASSUME_PIPE2): Likewise.
2528 (__ASSUME_EVENTFD2): Likewise.
2529 (__ASSUME_SIGNALFD4): Likewise.
2530 (__ASSUME_DUP3): Likewise.
2531 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2532 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
2533 (__ASSUME_AT_RANDOM): Likewise.
2534 (__ASSUME_PREADV): Likewise.
2535 (__ASSUME_PWRITEV): Likewise.
2536 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
2537 (__ASSUME_F_GETOWN_EX): Define unconditionally.
2538 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
2539 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2540 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
2541 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2542 (__ASSUME_O_CLOEXEC): Define unconditionally.
2543 (__ASSUME_PSELECT): Do not undefine conditionally.
2544 (__ASSUME_PPOLL): Likewise.
2545 (__ASSUME_ATFCTS): Likewise.
2546 (__ASSUME_SET_ROBUST_LIST): Likewise.
2547 (__ASSUME_UTIMENSAT): Likewise.
2548 (__ASSUME_FDATASYNC): Define unconditionally.
2549 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2550 (__ASSUME_SIGFRAME_V2): Likewise.
2551 )__ASSUME_EVENTFD2): Likewise.
2552 (__ASSUME_SIGNALFD4): Likewise.
2553 (__ASSUME_PSELECT): Do not undefine conditionally.
2554 (__ASSUME_PPOLL): Likewise.
2555 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2556 (__ASSUME_PSELECT): Define unconditionally.
2557 (__ASSUME_PPOLL): Likewise.
2558 (__ASSUME_O_CLOEXEC): Likewise.
2559 (__ASSUME_SOCK_CLOEXEC): Likewise.
2560 (__ASSUME_IN_NONBLOCK): Likewise.
2561 (__ASSUME_PIPE2): Likewise.
2562 (__ASSUME_EVENTFD2): Likewise.
2563 (__ASSUME_SIGNALFD4): Likewise.
2564 (__ASSUME_DUP3): Likewise.
2565 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2566 (__ASSUME_O_CLOEXEC): Likewise.
2567 (__ASSUME_SOCK_CLOEXEC): Likewise.
2568 (__ASSUME_IN_NONBLOCK): Likewise.
2569 (__ASSUME_PIPE2): Likewise.
2570 (__ASSUME_EVENTFD2): Likewise.
2571 (__ASSUME_SIGNALFD4): Likewise.
2572 (__ASSUME_DUP3): Likewise.
2573 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2574 (__ASSUME_EVENTFD2): Likewise.
2575 (__ASSUME_SIGNALFD4): Likewise.
2576 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2577
315eb1d8
AS
25782014-05-12 Andreas Schwab <schwab@suse.de>
2579
2580 [BZ #16932]
2581 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
2582 (_nss_nis_gethostbyname4_r): Return error if item length is larger
2583 than maximum RPC packet size.
2584 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
2585 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
2586 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
2587 (_nss_nis_getservbyport_r): Likewise.
2588
91df99f7
WN
25892014-05-12 Will Newton <will.newton@linaro.org>
2590
2591 * malloc/Makefile (tests): Add tst-mallopt.
2592 * malloc/tst-mallopt.c: New file.
2593
0a982a29
RM
25942014-05-09 Roland McGrath <roland@hack.frob.com>
2595
2596 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
2597 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
2598
0ded08a5
AZ
25992014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2600
2601 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
2602 (tst-tlsmod6.so): Likewise.
2603
55d4d550
RM
26042014-05-09 Roland McGrath <roland@hack.frob.com>
2605
2606 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
2607
77d08aca
JM
26082014-05-09 Joseph Myers <joseph@codesourcery.com>
2609
2610 [BZ #16064]
2611 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
2612 and <dl-procinfo.h>.
2613 (__fegetenv): Save SSE state in envp->__eip if supported.
2614 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
2615 envp->__eip if supported.
2616 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
2617 and <dl-procinfo.h>.
2618 (__fesetenv): Always set __eip, __cs_selector, __opcode,
2619 __data_offset and __data_selector in environment to 0. Set SSE
2620 state if supported.
2621 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2622 test-fenv-sse.
2623 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
2624 -mfpmath=sse.
2625 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
2626
28162f4d
WN
26272014-05-09 Will Newton <will.newton@linaro.org>
2628
2629 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
2630 and libc_relro_required for ARM.
2631 * sysdeps/arm/preconfigure: Regenerate.
2632
5a414ff7
DV
26332014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
2634 Stefan Liebler <stli@linux.vnet.ibm.com>
2635
2636 * config.make.in (enable-lock-elision): New Makefile variable.
2637 * configure.ac: Likewise.
2638 * configure: Regenerate.
2639 * sysdeps/s390/configure.ac:
2640 Add check for gcc transactions support.
2641 * sysdeps/s390/configure: Regenerate.
2642 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
2643 Build elision files if enabled.
2644 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
2645 Add lock elision support for s390.
2646 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
2647 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
2648 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2649 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2650 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2651 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
2652 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2653 Likewise.
2654 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
2655 Likewise.
2656 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
2657 Likewise.
2658 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
2659 Likewise.
2660 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
2661 (__lll_timedlock_elision, __lll_lock_elision)
2662 (__lll_unlock_elision, __lll_trylock_elision)
2663 (lll_timedlock_elision, lll_lock_elision)
2664 (lll_unlock_elision, lll_trylock_elision): Add.
2665 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2666 (pthread_mutex_t): Add lock elision support for s390.
2667
1a2f40e5
W
26682014-05-14 Wilco <wdijkstr@arm.com>
2669
2670 * sysdeps/arm/fclrexcpt.c: Cleanup.
2671 * sysdeps/arm/fedisblxcpt.c: Cleanup.
2672 * sysdeps/arm/feenablxcpt.c: Cleanup.
2673 * sysdeps/arm/fegetenv.c: Cleanup.
2674 * sysdeps/arm/fegetexcept.c: Cleanup.
2675 * sysdeps/arm/fegetround.c: Cleanup.
2676 * sysdeps/arm/feholdexcpt.c: Cleanup.
2677 * sysdeps/arm/fesetenv.c: Cleanup.
2678 * sysdeps/arm/fesetround.c: Cleanup.
2679 * sysdeps/arm/feupdateenv.c: Cleanup.
2680 * sysdeps/arm/fgetexcptflg.c: Cleanup.
2681 * sysdeps/arm/fraiseexcpt.c: Cleanup.
2682 * sysdeps/arm/fsetexcptflg.c: Cleanup.
2683 * sysdeps/arm/ftestexcept.c: Cleanup.
2684 * sysdeps/arm/get-rounding-mode.h: Cleanup.
2685 * sysdeps/arm/setfpucw.c: Cleanup.
2686
f63c86fe
WN
26872014-05-09 Will Newton <will.newton@linaro.org>
2688
2689 * sysdeps/arm/armv7/strcmp.S: New file.
2690 * NEWS: Mention addition of ARMv7 optimized strcmp.
2691
7a1a51b5
RM
26922014-05-08 Roland McGrath <roland@hack.frob.com>
2693
95afbbe5
RM
2694 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
2695 look for %.ac rather than %.in.
2696
2697 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
2698 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
2699 * sysdeps/mach/hurd/configure: Regenerated.
2700 * sysdeps/unix/sysv/linux/configure: Regenerated.
2701
7a1a51b5
RM
2702 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
2703
5057ad3b
SE
27042014-05-07 Steve Ellcey <sellcey@mips.com>
2705
2706 [BZ# 16922]
2707 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
2708 (LONG_SUB): Ditto.
2709 (PTR_SUB): Ditto.
2710
8dc97517
AS
27112014-05-07 Andreas Schwab <schwab@suse.de>
2712
2713 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
2714 when skipping over non-matching result from nscd.
2715
ce0c5b8f
OB
27162014-05-07 Ondřej Bílka <neleai@seznam.cz>
2717
2718 [BZ #16876]
2719 * nptl/sockperf.c (client): Check socket return value.
8dc97517 2720
a1189263
OB
2721 [BZ #16877]
2722 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
2723 nscd security class.
ce0c5b8f 2724
0f58d252
RM
27252014-05-06 Roland McGrath <roland@hack.frob.com>
2726
2727 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
2728 * sysdeps/arm/unwind.h: ... here.
2729
83df9ad0
AJ
27302014-05-06 Aurelien Jarno <aurelien@aurel32.net>
2731
ce0c5b8f
OB
2732 [BZ# 16916]
2733 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
2734 Define.
83df9ad0 2735
f360f94a
VR
27362014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2737
2738 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
2739 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
2740 multiarch strncpy for PPC64.
2741 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
2742 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
2743 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
2744 multiarch optimizations.
2745 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2746 (__libc_ifunc_impl_list): Likewise.
2747 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
2748 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
2749 multiarch stpncpy for PPC64.
2750 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
2751 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
2752
978a41c3
AS
27532014-05-06 Andreas Schwab <schwab@suse.de>
2754
2755 [BZ #16912]
2756 * gmon/mcount.c (_MCOUNT_DECL): Use
2757 atomic_compare_and_exchange_bool_acq instead of
2758 catomic_compare_and_exchange_bool_acq.
2759
eb1ed03d
RM
27602014-05-05 Roland McGrath <roland@hack.frob.com>
2761
fe658845
RM
2762 * elf/Makefile (others, install-bin): Remove pldd.
2763 (pldd-modules): Variable removed.
2764 ($(objpfx)pldd): Target removed.
2765 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
2766 (others, install-bin): Append pldd here.
2767 ($(objpfx)pldd): New target.
2768
eb1ed03d
RM
2769 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
2770 to 0, so the first #if test emitted later doesn't see it undefined.
2771 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
2772 * sysdeps/gnu/errlist.c: Regenerated.
2773
19c4bec0
AZ
27742014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2775
2776 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2777 [libc_hidden_builtin_def]: Define to empty value.
2778 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
2779 [libc_hidden_builtin_def]: Likewise.
2780 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
2781 [libc_hidden_builtin_def]: Likewise.
2782 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
2783 [libc_hidden_builtin_def]: Likewise.
2784 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
2785 __redirect_memcpy and define ifunc as default hidden symbol.
2786 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
2787 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
2788
7776e669
AC
27892014-05-04 Adam Conrad <adconrad@0c3.net>
2790
2791 * locale/iso-4217.def: Reintroduce XDR currency.
2792
d69aeb12
AM
27932014-05-04 Allan McRae <allan@archlinux.org>
2794
2795 * po/eo.po: Update Esperanto translation from translation project.
2796
8f1df5cf
CD
27972014-05-02 Carlos O'Donell <carlos@redhat.com>
2798
2799 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
2800 and FEATURE_INDEX_MAX to 1.
2801 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
2802
13e402e7
SE
28032014-05-01 Steve Ellcey <sellcey@mips.com>
2804
2805 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
2806 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
2807 * iconvdata/big5.c (ONE_DIRECTION): Define.
2808 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
2809 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
2810 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
2811 * iconvdata/cp932.c (ONE_DIRECTION): Define.
2812 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
2813 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
2814 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
2815 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
2816 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
2817 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
2818 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
2819 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
2820 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
2821 * iconvdata/gbk.c (ONE_DIRECTION): Define.
2822 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
2823 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
2824 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
2825 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
2826 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
2827 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
2828 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
2829 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
2830 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
2831 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
2832 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
2833 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
2834 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
2835 * iconvdata/iso646.c (ONE_DIRECTION): Define.
2836 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
2837 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
2838 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
2839 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
2840 * iconvdata/johab.c (ONE_DIRECTION): Define.
2841 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
2842 * iconvdata/sjis.c (ONE_DIRECTION): Define.
2843 * iconvdata/t.61.c (ONE_DIRECTION): Define.
2844 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
2845 * iconvdata/tscii.c (ONE_DIRECTION): Define.
2846 * iconvdata/uhc.c (ONE_DIRECTION): Define.
2847 * iconvdata/unicode.c (ONE_DIRECTION): Define.
2848 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
2849 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
2850 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
2851
c727f032
RM
28522014-05-01 Roland McGrath <roland@hack.frob.com>
2853
8f2f08d0
RM
2854 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
2855 (_IO_JUMPS_OFFSET): Define to 0.
2856
c727f032
RM
2857 * nptl/sysdeps/pthread/bits/libc-lock.h
2858 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2859 (__libc_lock_define_initialized_recursive): Always define using
2860 initializer. Modern compilers treat uninitialized (implicit zero) and
2861 explicit zero initializers the same (i.e. put the datum in bss).
2862
a849e800
AS
28632014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2864
2865 * nscd/nscd-client.h: Include <string.h>.
2866
5331255b
DM
28672014-05-01 David S. Miller <davem@davemloft.net>
2868
2869 [BZ #16885]
2870 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
2871 multiple zero bytes exist at the end of a string.
2872 Reported by Aurelien Jarno <aurelien@aurel32.net>
2873
2874 * string/test-strcmp.c (check): Add explicit test for situations where
2875 there are multiple zero bytes after the first.
2876
4fdfe821
AS
28772014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2878
2879 [BZ #16890]
2880 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
2881 when compiling wprintf.
2882 * stdio-common/tstdiomisc.c (t3): New function.
2883 (main): Call it.
2884
0cdddc25
SE
28852014-05-01 Steve Ellcey <sellcey@mips.com>
2886
2887 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
2888 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
2889 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
2890 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
2891
6426d77e
SE
28922014-05-01 Steve Ellcey <sellcey@mips.com>
2893
2894 * stdlib/longlong.h: Updated from GCC.
2895
6d96f5e4
WN
28962014-05-01 Will Newton <will.newton@linaro.org>
2897 Bernard Ogden <bernie.ogden@linaro.org>
2898
7470db0c
WN
2899 * NEWS: Update fixed bug list.
2900
6d96f5e4
WN
2901 [BZ #15119]
2902 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
2903
211d653c
DM
29042014-04-30 David S. Miller <davem@davemloft.net>
2905
4fa262fa
DM
2906 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
2907 (libc_feholdexcept_setround_sparc_ctx): New function.
2908 (libc_fesetenv_sparc_ctx): Likewise.
2909 (libc_feupdateenv_sparc_ctx): Likewise.
2910 (libc_feholdsetround_sparc_ctx): Likewise.
2911 (libc_feholdexcept_setround_ctx): Define.
2912 (libc_feholdexcept_setroundf_ctx): Likewise.
2913 (libc_feholdexcept_setroundl_ctx): Likewise.
2914 (libc_fesetenv_ctx): Likewise.
2915 (libc_fesetenvf_ctx): Likewise.
2916 (libc_fesetenvl_ctx): Likewise.
2917 (libc_feupdateenv_ctx): Likewise.
2918 (libc_feupdateenvf_ctx): Likewise.
2919 (libc_feupdateenvl_ctx): Likewise.
2920 (libc_feresetround_ctx): Likewise.
2921 (libc_feresetroundf_ctx): Likewise.
2922 (libc_feresetroundl_ctx): Likewise.
2923 (libc_feholdsetround_ctx): Likewise.
2924 (libc_feholdsetroundf_ctx): Likewise.
2925 (libc_feholdsetroundl_ctx): Likewise.
2926
1d3d93ef
DM
2927 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2928 with __USE_GNU instead of XOPEN cpp guards.
2929
8aa583c3
DM
2930 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
2931 0.
2932
211d653c
DM
2933 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2934 with XOPEN cpp guards.
2935
60c8f1f6
JB
29362014-04-30 Julian Brown <julian@codesourcery.com>
2937
2938 [BZ #16888]
2939 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
2940 handling.
2941
9a461d46
JM
29422014-04-30 Joseph Myers <joseph@codesourcery.com>
2943
d0f5b3f8
JM
2944 [BZ #9894]
2945 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2946 Change to 2.6.32.
2947 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
2948 * sysdeps/unix/sysv/linux/configure: Regenerated.
2949 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
2950 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
2951 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
2952 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
2953 * README: Update reference to required Linux kernel version.
2954 * manual/install.texi (Linux): Update reference to required Linux
2955 kernel headers version.
2956 * INSTALL: Regenerated.
2957
9a461d46
JM
2958 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
2959 header inclusion.
2960 [POSIX] (limits.h): Likewise.
2961 [POSIX] (math.h): Likewise.
2962 [POSIX] (sys/wait.h): Likewise.
2963 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
2964 function.
2965 [POSIX] (stddef.h): Do not allow header inclusion.
2966
1775babf
AZ
29672014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2968
57f41c40 2969 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 2970
8f630cca
YY
29712014-04-30 Yang Yingliang <yangyingliang@huawei.com>
2972
2973 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2974 Return immediately after lll_futex_wake.
2975
1cdeb237
SP
29762014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2977
bc8f194c
SP
2978 [BZ #16791]
2979 * nscd/nscd-client.h (datahead_init_common): Initialize entire
2980 structure.
2981 (datahead_init_pos): Call datahead_init_common early.
2982 (datahead_init_neg): Likewise.
2983
1cdeb237
SP
2984 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
2985 datahead_init_neg): New functions.
2986 * nscd/aicache.c (addhstaiX): Use them.
2987 * nscd/grpcache.c (cache_addgr): Likewise.
2988 * nscd/hstcache.c (cache_addhst): Likewise.
2989 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2990 * nscd/netgroupcache.c (do_notfound): Likewise.
2991 (addgetnetgrentX): Likewise.
2992 (addinnetgrX): Likewise.
2993 * nscd/pwdcache.c (cache_addpw): Likewise.
2994 * nscd/servicescache.c (cache_addserv): Likewise.
2995
16b293a7
SP
29962014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2997 Atsushi Onoe <atsushi@onoe.org>
2998
2999 [BZ #14308]
3000 [BZ #12994]
3001 [BZ #13651]
3002 * resolv/res_query.c (__libc_res_nsearch): Return if at least
3003 one response is valid.
3004 * resolv/res_send.c (send_dg): Check for validity of other
3005 response if the current response is a referral.
3006
a28a9b94
SE
30072014-04-29 Steve Ellcey <sellcey@mips.com>
3008
3009 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3010
2ca180e9
SL
30112014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
3012
3013 [BZ #16823]
3014 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3015 Always divide by positive zero when computing -Inf result.
3016 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3017 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3018
18f2945a
AZ
30192014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3020
3021 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3022 FPSCR if value do not change.
3023 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3024 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3025 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3026 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3027 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3028 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3029 function.
3030
5abebba4
CD
30312014-05-29 Carlos O'Donell <carlos@systemhalted.org>
3032
3033 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3034 * sysdeps/unix/sysv/linux/hppa: Move directory from
3035 ports/systeps/unix/sysv/linux/hppa.
3036 * README: Update listing for hppa-*-linux-gnu.
3037
f7ed60c2
OB
30382014-04-28 Ondřej Bílka <neleai@seznam.cz>
3039
fff763a5
OB
3040 [BZ #16754]
3041 * manual/stdio.texi (Hook functions): Fix types of stream hook
3042 functions.
f7ed60c2
OB
3043 [BZ #16854]
3044 * socket/sys/socket.h: Fix typo in comment.
3045
df639d73
WD
30462014-04-28 Wilco <wdijkstr@arm.com>
3047
f7ed60c2 3048 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
3049 * sysdeps/arm/math_private.h: New file.
3050 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3051
48332d82
L
30522014-04-25 H.J. Lu <hongjiu.lu@intel.com>
3053
3054 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3055 with __int128_t.
3056 (La_x86_64_retval): Likewise.
3057
e5e0d9a4
IB
30582014-04-24 Ian Bolton <ian.bolton@arm.com>
3059
3060 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3061 fpsr if value didn't change.
3062 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3063 to fpcr if value didn't change.
3064 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3065 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3066 fpsr or fpcr if value didn't change.
3067 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3068 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3069 fpcr if value didn't change.
3070 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3071 to fpsr if value didn't change.
3072
bacc75f7
SP
30732014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3074
3075 * nptl/tst-sem3.c: Use test-skeleton.c
3076 (main): Rename to do_test. Use return instead of
3077 exit.
3078 * nptl/tst-sem4.c: Use test-skeleton.c
3079 (main): Rename to do_test.
3080
a059d359
DM
30812014-04-22 David S. Miller <davem@davemloft.net>
3082
3083 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3084 (struct sigaction): New struct member __glibc_reserved0, change
3085 type of sa_flags to int.
3086
ea6c92f3
YZ
30872014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
3088
3089 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3090 (COUNT_LEADING_ZEROS_0): Define for AArch64.
3091
766c4a36
SP
30922014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3093
3094 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3095 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3096
140cc7ab
VK
30972014-04-22 Will Newton <will.newton@linaro.org>
3098 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
3099
3100 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3101 (__longjmp): Add longjmp and longjmp_target SystemTap
3102 probes.
3103 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3104 (__sigsetjmp): Add setjmp SystemTap probe.
3105
c54e5cf7
CD
31062014-04-17 Carlos O'Donell <carlos@redhat.com>
3107
3108 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3109 match manual order.
3110
75ffb047
AZ
31112014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3112
3113 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3114
2cd925f7
AZ
3115 * sysdeps/powerpc/fpu/fenv_private.h
3116 (libc_feholdexcept_setroundl_ctx): Define to
3117 libc_feholdexcept_setround_ppc_ctx.
3118 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3119 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3120 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3121 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3122
39e6cd8d
IB
31232014-04-17 Ian Bolton <ian.bolton@arm.com>
3124
3125 * sysdeps/aarch64/math-tests.h: New file.
3126
f9281df9
SY
31272014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
3128
3129 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3130 New.
3131 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3132 Check and set bit_AVX2_Usable.
3133 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3134 macro.
3135 (bit_AVX2): Likewise.
3136 (index_AVX2_Usable): Likewise.
3137 (CPUID_AVX2): Likewise.
3138 (HAS_AVX2): Likewise.
3139
37d35007
WN
31402014-04-17 Will Newton <will.newton@linaro.org>
3141
7c677662
WN
3142 * manual/setjmp.texi (System V contexts): Add note that
3143 calling setcontext on a context created by a call to a
3144 signal handler is undefined. Update text to note that
3145 setcontext from a signal handler is possible but not
3146 recommended.
3147
37d35007 3148 [BZ #16629]
e04a4e9d
WN
3149 * stdlib/tst-setcontext.c: Include signal.h.
3150 (main): Check that the signal stack before and
3151 after swapcontext is the same.
3152
37d35007
WN
3153 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3154 Re-implement to restore registers in user code and avoid
3155 rt_sigreturn system call.
3156
423a7160
W
31572014-04-17 Wilco <wdijkstr@arm.com>
3158
3159 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3160 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3161 * math/test-fenv.c: Skip exception trap tests on targets which only
3162 support non-stop mode.
3163
bc93ab29
IB
31642014-04-17 Ian Bolton <ian.bolton@arm.com>
3165 Wilco Dijkstra <wilco.dijkstra@arm.com>
3166
3167 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3168 (libc_feholdsetround_aarch64_ctx)
3169 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3170 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3171 (libc_feresetround_ctx, libc_feresetroundf_ctx)
3172 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3173 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3174 (libc_feresetround_noexl_ctx): Define.
3175
95fc5fa3
RH
31762014-04-16 Richard Henderson <rth@redhat.com>
3177
ddb04724
RH
3178 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3179
d77c0899
RH
3180 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3181 unwind tables.
3182
a3df56fc
RH
3183 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3184 const from the non-libc, non-ldso copy.
3185
95fc5fa3
RH
3186 * sysdeps/alpha/libm-test-ulps: Regenerate.
3187
7e0b6763
IB
31882014-04-16 Ian Bolton <ian.bolton@arm.com>
3189 Wilco Dijkstra <wilco.dijkstra@arm.com>
3190
3191 * sysdeps/aarch64/fpu/math_private.h: New file.
3192
a9ea2e0c
MS
31932014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
3194
3195 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3196
ea8ba7cd
IZ
31972014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
3198
3199 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3200 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3201 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3202 Intel MPX bound registers before _dl_profile_fixup.
3203 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3204 registers after _dl_profile_fixup. Save and restore bound
3205 registers bnd0/bnd1 when calling _dl_call_pltexit.
3206 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3207 (LR_BND_OFFSET): Likewise.
3208 (LRV_BND0_OFFSET): Likewise.
3209 (LRV_BND1_OFFSET): Likewise.
3210
9f2a4fbc
ST
32112014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3212
3213 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3214 to...
3215 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
3216 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3217 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3218 fields.
9f2a4fbc 3219
fd15a59b
ST
32202014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3221
3222 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3223
f19dfa0a
SL
32242014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3225
3226 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3227
4fa8bc3b
SL
32282014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3229
3230 [BZ #14770]
3231 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3232 * sysdeps/s390/configure: Regenerate.
3233
8ea587db
SL
3234 [BZ #16824]
3235 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3236 Set round-to-nearest internally to reduce error accumulation.
3237
aa5f0ff1
AM
32382014-04-16 Alan Modra <amodra@gmail.com>
3239
3240 [BZ #16740]
3241 [BZ #16619]
3242 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3243 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 3244 * NEWS: Update fixed bug list.
aa5f0ff1 3245
bb9c256f
SP
32462014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3247
3248 * benchtests/Makefile: Depend on libraries in build directory.
3249 (bench-math): Separate out math tests.
3250 (bench-pthread): Separate out pthread tests.
3251 (bench): Include math and pthread tests.
3252
f737dfd0
CD
32532014-04-14 Carlos O'Donell <carlos@redhat.com>
3254
3255 [BZ #16831]
3256 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3257 _dl_debug_initialize.
3258
0699f766
CD
3259 * configure.ac: Remove SELinux header check.
3260 * configure: Regenerate.
3261 * nscd/selinux.c (perms): Array of const char* to permission names.
3262 (nscd_request_avc_has_perm): Call security_deny_unknown to find
3263 default policy. Call string_to_security_class and string_to_av_perm to
3264 translate strings. Enforce default policy and call avs_has_perm with
3265 results of translated strings.
3266
809bd45f
DM
32672014-04-13 David S. Miller <davem@davemloft.net>
3268
3269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3270
89e691f2
AM
32712014-04-12 Allan McRae <allan@archlinux.org>
3272
3273 [BZ #16838]
3274 * manual/string.texi (Collation Functions): Fix qsort argument
3275 order in example.
3276 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3277
9c9daaeb
CM
32782014-04-11 Chris Metcalf <cmetcalf@tilera.com>
3279
3280 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3281 Make the test a no-op if there are no exceptions defined.
3282
95561fb9
PP
32832014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3284
fe8d072c 3285 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
3286 enable-hardcoded-path-in-tests
3287
970c602a
WN
32882014-04-11 Will Newton <will.newton@linaro.org>
3289
3290 * benchtests/Makefile (extra-objs): Add json-lib.o.
3291 (bench-func): Tidy up JSON output.
3292 * benchtests/bench-skeleton.c: Include json-lib.h.
3293 (main): Use JSON library functions to do output of
3294 benchmark results.
3295 * benchtests/bench-timing-type.c (main): Output the
3296 timing type simply, leaving formatting to the user.
3297 * benchtests/json-lib.c: New file.
3298 * benchtests/json-lib.h: Likewise.
3299
36875b06
TR
33002014-04-11 Torvald Riegel <triegel@redhat.com>
3301
3302 [BZ #15215]
3303 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3304 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
3305 memory barriers. Add comments.
3306 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3307 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3308 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3309 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3310 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3311 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3312
579db35a
SL
33132014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3314
3315 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3316 * sysdeps/s390/s390-64/configure.ac: ... this ...
3317 * sysdeps/s390/configure.ac: ... to here.
3318 * sysdeps/s390/s390-32/configure: Delete file.
3319 * sysdeps/s390/s390-64/configure: Delete file.
3320 * sysdeps/s390/configure: Regenerate.
3321
c12e9f37
JAPH
33222014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
3323
3324 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3325
439bda32
WN
33262014-04-11 Will Newton <will.newton@linaro.org>
3327
3328 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3329 to zero if it is not defined elsewhere. (mtrim): Test
3330 the value of MALLOC_DEBUG with #if rather than #ifdef.
3331
6a5d6ea1
TR
33322014-04-10 Torvald Riegel <triegel@redhat.com>
3333
3334 * benchtests/pthread_once-inputs: New file.
3335 * benchtests/pthread_once-source.c: New file.
3336 * benchtests/README: Update documentation.
3337
a4c75cfd
IZ
33382014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
3339 H.J. Lu <hongjiu.lu@intel.com>
3340
3341 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3342 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3343 * sysdeps/x86_64/configure: Regenerated.
3344 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3345 macro.
3346 (REGISTER_SAVE_RAX): Likewise.
3347 (REGISTER_SAVE_RCX): Likewise.
3348 (REGISTER_SAVE_RDX): Likewise.
3349 (REGISTER_SAVE_RSI): Likewise.
3350 (REGISTER_SAVE_RDI): Likewise.
3351 (REGISTER_SAVE_R8): Likewise.
3352 (REGISTER_SAVE_R9): Likewise.
3353 (REGISTER_SAVE_BND0): Likewise.
3354 (REGISTER_SAVE_BND1): Likewise.
3355 (REGISTER_SAVE_BND2): Likewise.
3356 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
3357 bound registers when calling _dl_fixup.
3358
27822ce6
AZ
33592014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3360
3361 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
3362 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3363 of its definition.
27822ce6
AZ
3364 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3365 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3366 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3367 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3368 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3369 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3370 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3371
a88ddc90
PTB
33722014-04-09 Peter Brett <peter@peter-b.co.uk>
3373
3374 [BZ #15514]
3375 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3376 pathconf(_PC_NAME_MAX).
3377
01f8eac2
AZ
33782014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3379
3380 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3381 Remove macro usage.
3382 (__PTHREAD_SPINS): Move definition to ...
3383 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3384 (__PTHREAD_SPINS): ... here.
3385 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3386 (__PTHREAD_SPIN): Likewise.
3387 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3388 (__PTHREAD_SPIN): Likewise.
3389 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3390 (__PTHREAD_SPIN): Likewise.
3391 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3392 (__PTHREAD_SPIN): Likewise.
3393 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3394 (__PTHREAD_SPIN): Likewise.
3395 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3396 (__PTHREAD_SPIN): Likewise.
3397 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3398 (__PTHREAD_SPIN): Likewise.
3399 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3400 (__PTHREAD_SPIN): Likewise.
3401 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3402 (__PTHREAD_SPIN): Likewise.
3403 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3404 (__PTHREAD_SPIN): Likewise.
3405 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3406 (__PTHREAD_SPIN): Likewise.
3407 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3408 (__PTHREAD_SPIN): Likewise.
3409
de21c33c
AZ
3410 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3411 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3412 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3413 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3414 imply folder.
3415 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3416 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3417 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3418 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3419 correct imply path.
3420 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3421 strlen symbol for non multi-arch builds.
3422 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3423 missing hidden_def and weak_alias.
3424
862c472e
CD
34252014-04-08 Carlos O'Donell <carlos@redhat.com>
3426
3427 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3428
8667f90e
WN
34292014-04-07 Will Newton <will.newton@linaro.org>
3430
3431 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3432 and contents. [!_LIBC] Remove #ifndef and contents.
3433 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
3434 * string/memccpy.c (__memccpy): Use ANSI prototype.
3435 * string/memfrob.c (memfrob): Likewise.
3436 * string/strcoll.c (STRCOLL): Likewise.
3437 * string/strlen.c (strlen): Likewise.
3438 * string/strtok.c (STRTOK): Likewise.
3439 * string/strcat.c: Remove unused #include of memcopy.h.
3440 (strcat): Use ANSI prototype.
3441 * string/strchr.c: Remove unused #include of memcopy.h.
3442 (strchr): Use ANSI prototype.
3443 * string/strcmp.c: Remove unused #include of memcopy.h.
3444 (strcmp): Use ANSI prototype.
3445 * string/strcpy.c: Remove unused #include of memcopy.h.
3446 (strcpy): Use ANSI prototype.
3447
7ffa9423
AZ
34482014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3449
3450 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3451 * config.make.in (config-extra-cppflags): Set it from
3452 libc_extra_cppflags.
3453 * configure.ac (libc_extra_cflags): Make it accumulate over
3454 configure fragments.
3455 (libc_extra_cppflags): New flag.
3456 * configure. Regenerate.
3457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
3458 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3459 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
3460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3461
8bd70862
AZ
3462 [BZ #16815]
3463 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3464 result for FE_DOWNWARD rounding mode.
3465 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3466 Likewise.
3467 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3468
d42f3448
CM
34692014-04-04 Chris Metcalf <cmetcalf@tilera.com>
3470
3471 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3472 in function argument name.
3473
1c21d115
DS
34742014-04-03 David Svoboda <svoboda@cert.org>
3475
3476 [BZ #5666]
3477 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3478 explicitly.
3479
fcccd512
RM
34802014-04-03 Roland McGrath <roland@hack.frob.com>
3481
3482 * elf/dl-unmap-segments.h: New file.
3483 * sysdeps/generic/ldsodefs.h
3484 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3485 * elf/dl-close.c: Include <dl-unmap-segments.h>.
3486 * elf/dl-fptr.c: Likewise.
3487 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3488 * sysdeps/aarch64/tlsdesc.c: Likewise.
3489 * sysdeps/arm/tlsdesc.c: Likewise.
3490 * sysdeps/i386/tlsdesc.c: Likewise.
3491 * sysdeps/tile/dl-runtime.c: Likewise.
3492 * sysdeps/x86_64/tlsdesc.c: Likewise.
3493 * elf/dl-load.h: New file.
3494 * elf/dl-load.c: Include it.
3495 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3496 Macros moved to dl-load.h.
3497 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3498 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
3499 Use _dl_unmap_segments in place of __munmap.
3500 Break out segment-mapping loop into ...
3501 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
3502
f6488e2b
WN
35032014-04-03 Will Newton <will.newton@linaro.org>
3504
3505 * elf/dl-lookup.c (do_lookup_x): Remove comment
3506 referring to nested function and move variable
3507 declarations down to before first use.
3508
6f05bafe
JM
35092014-04-02 Joseph Myers <joseph@codesourcery.com>
3510
a84e78c8
JM
3511 [BZ #16799]
3512 [BZ #16800]
3513 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
3514 with 0 numerator.
3515 * math/s_catanf.c (__catanf): Likewise.
3516 * math/s_catanh.c (__catanh): Likewise.
3517 * math/s_catanhf.c (__catanhf): Likewise.
3518 * math/s_catanhl.c (__catanhl): Likewise.
3519 * math/s_catanl.c (__catanl): Likewise.
3520 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
3521 by positive zero when computing -Inf result.
3522 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
3523 (catanh_test): Likewise.
3524 * sysdeps/i386/fpu/libm-test-ulps: Update.
3525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3526
6f05bafe
JM
3527 [BZ #16789]
3528 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
3529 instead of using underflowing value in computing result.
3530 * math/s_clog10.c (__clog10): Likewise.
3531 * math/s_clog10f.c (__clog10f): Likewise.
3532 * math/s_clog10l.c (__clog10l): Likewise.
3533 * math/s_clogf.c (__clogf): Likewise.
3534 * math/s_clogl.c (__clogl): Likewise.
3535 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
3536 (clog10_test): Likewise.
3537 * sysdeps/i386/fpu/libm-test-ulps: Update.
3538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3539
b0abbc21
AM
35402014-04-02 Alan Modra <amodra@gmail.com>
3541
3542 [BZ #16739]
3543 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
3544 output when value is near a power of two. Use int64_t for lx and
3545 remove casts. Use decimal rather than hex exponent constants.
3546 Don't use long double multiplication when double will suffice.
3547 * math/libm-test.inc (nextafter_test_data): Add tests.
3548 * NEWS: Add 16739 and 16786 to bug list.
3549
af6b1797
AM
3550 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
3551
483818d7
AM
3552 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
3553
f6c55796
WN
35542014-04-01 Will Newton <will.newton@linaro.org>
3555
3556 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
3557 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
3558
13f7fe35
FW
35592014-04-01 Florian Weimer <fweimer@redhat.com>
3560
3561 [BZ #13347]
3562 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
3563 * nptl/tst-setuid2.c: New file.
3564 * nptl/Makefile (xtests): Add tst-setuid2.
3565
c859b32e
AM
35662014-04-01 Alan Modra <amodra@gmail.com>
3567
3568 [BZ #16786]
3569 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
3570
54fa2475
JM
35712014-03-31 Joseph Myers <joseph@codesourcery.com>
3572
8795b4a4
JM
3573 [BZ #6803]
3574 [BZ #6804]
3575 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
3576 set errno as appropriate.
3577 * math/w_scalbf.c (__scalbf): Likewise.
3578 * math/w_scalbl.c (__scalbl): Likewise.
3579 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
3580 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
3581 * math/libm-test.inc (scalb_test_data): Add errno expectations.
3582 Add more NaN tests.
3583
54fa2475
JM
3584 [BZ #16349]
3585 * math/w_atan2.c: Include <errno.h>.
3586 (__atan2): Set errno for result underflowing to zero.
3587 * math/w_atan2f.c: Include <errno.h>.
3588 (__atan2f): Set errno for result underflowing to zero.
3589 * math/w_atan2l.c: Include <errno.h>.
3590 (__atan2l): Set errno for result underflowing to zero.
3591 * math/auto-libm-test-in: Don't allow missing errno for some atan2
3592 tests.
3593 * math/auto-libm-test-out: Regenerated.
3594
757d9dd5
AZ
35952014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3596
3597 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3598 Encode instruction correctly in little endian.
3599 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3600 Likewise.
3601 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3602 Likewise.
3603 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3604 Likewise.
3605 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3606 Likewise.
3607
d7a68734
JM
36082014-03-31 Joseph Myers <joseph@codesourcery.com>
3609
47c5adeb
JM
3610 [BZ #9894]
3611 * sysdeps/unix/sysv/linux/kernel-features.h
3612 [__sparc__ && !__arch64__ && !__sparc_v9__]
3613 (__ASSUME_SET_ROBUST_LIST): Do not define.
3614 [__sparc__ && !__arch64__ && !__sparc_v9__]
3615 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3616 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
3617 Likewise.
3618 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3619 (__ASSUME_FUTEX_LOCK_PI): Undefine.
3620 (__ASSUME_REQUEUE_PI): Likewise.
3621 (__ASSUME_SET_ROBUST_LIST): Likewise.
3622 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3623 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
3624 Undefine.
3625 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3626 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
3627 Likewise.
3628 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
3629 Likewise.
3630 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
3631 Likewise.
3632 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3633 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
3634 Undefine.
3635 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
3636 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
3637 Likewise.
3638
d7a68734
JM
3639 [BZ #16648]
3640 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3641 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
3642 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
3643
c760f5c2
WN
36442014-03-31 Will Newton <will.newton@linaro.org>
3645
3646 * benchtests/Makefile (bench): Add ffs and ffsll to list
3647 of tests.
3648 * benchtests/ffs-inputs: New file.
3649 * benchtests/ffsll-inputs: Likewise.
3650
ea6029b1
JM
36512014-03-29 Joseph Myers <joseph@codesourcery.com>
3652
3653 [BZ #16770]
3654 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
3655 too large before casting to int.
3656 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
3657 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
3658 * math/libm-test.inc (scalb_test_data): Add more tests.
3659
cf806aff
SP
36602014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3661
56737508
SP
3662 * benchtests/Makefile (DETAILED_OPT): New make option.
3663 (bench-func): Run benchmark program with -d if DETAILED_OPT is
3664 set.
3665 * benchtests/bench-skeleton.c: Include stdbool.h.
3666 (main): Store and print timings per input.
3667 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
3668 member to each argument value.
3669 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
3670 (_print_arg_data): Initialize per-input timing to 0.
3671
cb5e4aad
SP
3672 * benchtests/Makefile (timing-type): New binary.
3673 (bench-clean): Also remove bench-timing-type.
3674 (bench): New target for timing-type.
3675 (bench-func): Print output in JSON format.
3676 * benchtests/bench-skeleton.c (main): Print output in JSON
3677 format.
3678 * benchtests/bench-timing-type.c: New file.
3679 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
3680 (TIMING_PRINT_STATS): Remove.
3681 * benchtests/scripts/bench.py (_print_arg_data): Store variant
3682 name separately.
3683
cf806aff
SP
3684 * benchtests/bench-modf.c: Remove.
3685 * benchtests/modf-inputs: New inputs file.
3686
289e0779
JM
36872014-03-28 Joseph Myers <joseph@codesourcery.com>
3688
3689 [BZ #16362]
3690 * math/s_clog10.c (M_PI_LOG10E): New macro.
3691 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
3692 imaginary parts are 0.
3693 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
3694 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
3695 imaginary parts are 0.
3696 * math/s_clog10l.c (M_PI_LOG10El): New macro.
3697 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
3698 imaginary parts are 0.
3699 * math/libm-test.inc (clog10_test_data): Update expected results
3700 for when real and imaginary parts are 0.
3701
277ae3f1
PP
37022014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
3703
3704 * elf/dl-load.c: Finish conversion of __builtin_expect into
3705 __glibc_{un}likely.
3706
03a7091f
JM
37072014-03-27 Joseph Myers <joseph@codesourcery.com>
3708
3709 [BZ #16348]
3710 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
3711 1+x for argument with exponent below -67.
3712 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
3713 Likewise.
3714 * math/auto-libm-test-in: Add more tests of exp.
3715 * math/auto-libm-test-out: Regenerated.
3716
ea7d8b95
SP
37172014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3718
dd3022d7
SP
3719 [BZ #16759]
3720 * inet/getnetgrent_r.c (get_nonempty_val): New function.
3721 (nscd_getnetgrent): Use it.
3722
ea7d8b95
SP
3723 [BZ #16760]
3724 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
3725 of stpcpy.
3726
df5b85da
AK
37272014-03-27 Andi Kleen <ak@linux.intel.com>
3728
57f41c40
AS
3729 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
3730 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3731 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3732 (lll_robust_unlock): Remove out of line section. Use cfi
3733 intrinsics.
df5b85da 3734 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
3735 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
3736 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3737 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3738 (lll_robust_unlock): Remove out of line section. Use cfi
3739 intrinsics.
df5b85da
AK
3740 (LLL_STUB_UNWIND_INFO*): Remove.
3741
fbd6b5a4
SP
37422014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3743
3744 [BZ #16758]
3745 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
3746 blank values.
3747
1b26b855
PP
37482014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
3749
3750 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
3751
9be36fb8
JM
37522014-03-26 Joseph Myers <joseph@codesourcery.com>
3753
3754 [BZ #16198]
3755 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
3756 fnstenv.
3757 * math/test-fenv-preserve.c: New file.
3758 * math/Makefile (tests): Add test-fenv-preserve.
3759
60a2f3c1
WN
37602014-03-26 Will Newton <will.newton@linaro.org>
3761
3762 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
3763
a5e5f1e2
RM
37642014-03-25 Roland McGrath <roland@hack.frob.com>
3765
3766 * scripts/versionlist.awk: Partition the version sets and emit all
3767 GLIBC_* (sorted) before all others (sorted).
3768
00f4012a
JM
37692014-03-25 Joseph Myers <joseph@codesourcery.com>
3770
3771 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
3772 GLIBC_2.2.5 version.
3773
7bc5a741
AZ
37742014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3775
3776 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
3777 calls.
3778
7578473b
AZ
3779 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
3780 previous change.
3781
f3f1dab3
AZ
3782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3783
6da36183
AS
37842014-03-25 Andreas Schwab <schwab@suse.de>
3785
3786 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
3787 label to be used after in6ailist is initialized.
3788
f3f1dab3 37892014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 3790
7578473b 3791 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
3792 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3793
046651c1
JM
37942014-03-25 Joseph Myers <joseph@codesourcery.com>
3795
3796 [BZ #16357]
3797 [BZ #16599]
3798 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
3799 min_plus_half.
3800 (fp_formats): Update initializers.
3801 (init_fp_formats): Initialize new field.
3802 (output_for_one_input_case): Allow underflow for results up to
3803 min_plus_half.
3804 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
3805 * math/auto-libm-test-in: Don't mark some underflows from asin and
3806 atanh as spurious.
3807 * math/auto-libm-test-out: Regenerated.
3808 * sysdeps/i386/fpu/libm-test-ulps: Update.
3809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3810
003e49ed
AS
38112014-03-25 Andreas Schwab <schwab@suse.de>
3812
3813 * libio/Makefile (tst-ftell-partial-wide-ENV)
3814 (tst-ftell-active-handler-ENV): Define.
3815
de031874
SL
38162014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3817
3818 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
3819
55a81e3b
PP
38202014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3821
3822 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
3823
f3426898
JM
38242014-03-24 Joseph Myers <joseph@codesourcery.com>
3825
3826 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
3827 * sysdeps/x86_64/fpu/multiarch/e_exp.c
3828 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3829
a42faf59
PP
38302014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3831
3832 [BZ #16634]
a42faf59 3833 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
3834 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
3835 (open_path): Change from boolean 'secure' to complete flag 'mode'
3836 (_dl_map_object): Adjust.
a42faf59
PP
3837 * elf/Makefile (tests): Add tst-dlopen-aout.
3838 * elf/tst-dlopen-aout.c: New test.
3839
50936127
SL
38402014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3841
3842 [BZ #16714]
3843 * sysdeps/unix/sysv/linux/s390/bits/stat.h
3844 (struct stat): Rename member pad0 to __glibc_reserved0.
3845
26011b5c
SL
3846 [BZ #16712]
3847 * sysdeps/s390/s390-32/bits/wordsize.h
3848 (__WORDSIZE32_SIZE_ULONG): New define.
3849 * sysdeps/s390/s390-64/bits/wordsize.h
3850 (__WORDSIZE32_SIZE_ULONG): Likewise.
3851 * sysdeps/generic/stdint.h (SIZE_MAX):
3852 Define as UL if __WORDSIZE32_SIZE_ULONG.
3853
a2d86bf1
SL
3854 [BZ #16713]
3855 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3856 (__glibc_reserved0): New variable.
3857 (sa_flags): Change type to int.
3858
78b6eebc
SL
3859 * posix/Makefile (before-compile): Use += before-compile instead
3860 of a :=.
3861
f1399b5a
SL
3862 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3863 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3864
a071766e
AS
38652014-03-20 Andreas Schwab <schwab@suse.de>
3866
3867 [BZ #16743]
3868 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
3869 non-matching result from nscd.
3870
27c673b8
SP
38712014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3872
3873 * scripts/bench.py: Moved to ...
3874 * benchtests/scripts/bench.py: ... here.
3875 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
3876
44152e4b
AS
38772014-03-24 Andreas Schwab <schwab@suse.de>
3878
3879 [BZ #16002]
3880 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
3881 alloca_account and account alloca use for struct in6ailist.
3882
b376a11a
JM
38832014-03-24 Joseph Myers <joseph@codesourcery.com>
3884
3885 [BZ #16284]
3886 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
3887 rounding mode to recompute results that overflow to infinity or
3888 underflow to zero.
3889 * math/auto-libm-test-in: Don't mark tests as expected to fail for
3890 bug 16284.
3891 * math/auto-libm-test-out: Regenerated.
3892 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
3893 (ccosh_test): Likewise.
3894 (csin_test_data): Use plus_oflow.
3895 (csin_test): Use ALL_RM_TEST.
3896 (csinh_test_data): Use plus_oflow.
3897 (csinh_test): Use ALL_RM_TEST.
3898 * sysdeps/i386/fpu/libm-test-ulps: Update.
3899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3900
f7be7376
JM
39012014-03-21 Joseph Myers <joseph@codesourcery.com>
3902
1ca2d03e
JM
3903 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
3904 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
3905 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
3906
f7be7376
JM
3907 [BZ #16731]
3908 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
3909 when x - 1 is zero.
3910 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
3911 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
3912 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3913 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
3914 argument is 1.
3915 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
3916 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
3917 zero.
3918 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
3919 * sysdeps/i386/fpu/libm-test-ulps: Update.
3920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3921
fdf4534d
SP
39222014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3923
df26ea53
SP
3924 * scripts/bench.pl: Remove file.
3925 * scripts/bench.py: New benchmark script.
3926 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
3927 * benchtests/README: Mention python dependency.
3928 * scripts/pylintrc: New file.
3929 * scripts/pylint: New file.
3930
fdf4534d
SP
3931 * bits/mathdef.h: Use #ifdef instead of #if.
3932 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
3933 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3934 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
3935 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3936 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
3937 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3938
6f23d093
AZ
39392014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3940 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3941
3942 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
3943 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
3944 and strpbrk-ppc64 objects.
3945 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3946 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
3947 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
3948 multiarch strpbrk for POWER7.
3949 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
3950 multiarch strpbrk for PPC64.
3951 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
3952 ifunc selector.
3953 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
3954 strpbrk for POWER7.
3955
8c92dfff
JM
39562014-03-20 Joseph Myers <joseph@codesourcery.com>
3957
3958 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
3959 (atan_test): Likewise.
3960 (atanh_test_data): Use NO_TEST_INLINE for two tests.
3961 (atanh_test): Use ALL_RM_TEST.
3962 (atan2_test_data): Likewise.
3963 (cabs_test): Likewise.
3964 (cacosh_test): Likewise.
3965 (carg_test): Likewise.
3966 (casin_test): Likewise.
3967 (casinh_test): Likewise.
3968 (cbrt_test): Likewise.
3969 (csqrt_test): Likewise.
3970 (erf_test): Likewise.
3971 (erfc_test): Likewise.
3972 (pow10_test): Likewise.
3973 (exp2_test): Likewise.
3974 (hypot_test): Likewise.
3975 (j0_test): Likewise.
3976 (j1_test): Likewise.
3977 (lgamma_test): Likewise.
3978 (gamma_test): Likewise.
3979 (sincos_test): Likewise.
3980 (tanh_test): Likewise.
3981 (y0_test): Likewise.
3982 (y1_test): Likewise.
3983 * sysdeps/i386/fpu/libm-test-ulps: Update.
3984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3985
6eaf95cb
AZ
39862014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3987
a387428c
SP
3988 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
3989 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
3990 and strcspn-ppc64 objects.
3991 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3992 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
3993 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
3994 multiarch strcspn for POWER7.
3995 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
3996 multiarch strcspn for PPC64.
3997 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
3998 ifunc selector.
3999 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4000 strcspn for POWER7.
4001
ae3a5dff
JM
40022014-03-20 Joseph Myers <joseph@codesourcery.com>
4003
4004 * math/gen-libm-test.pl (generate_testfile): Expect only function
4005 name as argument to AUTO_TESTS_* and pass results for all rounding
4006 modes to parse_args.
4007 (parse_auto_input): Separate inputs of automatic tests from
4008 outputs before storing in %auto_tests.
4009 * math/libm-test.inc (acos_test_data): Update call to
4010 AUTO_TESTS_f_f.
4011 (acos_test): Use ALL_RM_TEST.
4012 (acos_tonearest_test_data): Remove.
4013 (acos_test_tonearest): Likewise.
4014 (acos_towardzero_test_data): Likewise.
4015 (acos_test_towardzero): Likewise.
4016 (acos_downward_test_data): Likewise.
4017 (acos_test_downward): Likewise.
4018 (acos_upward_test_data): Likewise.
4019 (acos_test_upward): Likewise.
4020 (acosh_test_data): Update call to AUTO_TESTS_f_f.
4021 (asin_test_data): Likewise.
4022 (asin_test): Use ALL_RM_TEST.
4023 (asin_tonearest_test_data): Remove.
4024 (asin_test_tonearest): Likewise.
4025 (asin_towardzero_test_data): Likewise.
4026 (asin_test_towardzero): Likewise.
4027 (asin_downward_test_data): Likewise.
4028 (asin_test_downward): Likewise.
4029 (asin_upward_test_data): Likewise.
4030 (asin_test_upward): Likewise.
4031 (asinh_test_data): Update call to AUTO_TESTS_f_f.
4032 (atan_test_data): Likewise.
4033 (atanh_test_data): Likewise.
4034 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4035 (cabs_test_data): Update call to AUTO_TESTS_c_f.
4036 (carg_test_data): Likewise.
4037 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4038 (ccos_test_data): Update call to AUTO_TESTS_c_c.
4039 (ccosh_test_data): Likewise.
4040 (cexp_test_data): Likewise.
4041 (clog_test_data): Likewise.
4042 (clog10_test_data): Likewise.
4043 (cos_test_data): Update call to AUTO_TESTS_f_f.
4044 (cos_test): Use ALL_RM_TEST.
4045 (cos_tonearest_test_data): Remove.
4046 (cos_test_tonearest): Likewise.
4047 (cos_towardzero_test_data): Likewise.
4048 (cos_test_towardzero): Likewise.
4049 (cos_downward_test_data): Likewise.
4050 (cos_test_downward): Likewise.
4051 (cos_upward_test_data): Likewise.
4052 (cos_test_upward): Likewise.
4053 (cosh_test_data): Update call to AUTO_TESTS_f_f.
4054 (cosh_test): Use ALL_RM_TEST.
4055 (cosh_tonearest_test_data): Remove.
4056 (cosh_test_tonearest): Likewise.
4057 (cosh_towardzero_test_data): Likewise.
4058 (cosh_test_towardzero): Likewise.
4059 (cosh_downward_test_data): Likewise.
4060 (cosh_test_downward): Likewise.
4061 (cosh_upward_test_data): Likewise.
4062 (cosh_test_upward): Likewise.
4063 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4064 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4065 (ctan_test_data): Likewise.
4066 (ctan_test): Use ALL_RM_TEST.
4067 (ctan_tonearest_test_data): Remove.
4068 (ctan_test_tonearest): Likewise.
4069 (ctan_towardzero_test_data): Likewise.
4070 (ctan_test_towardzero): Likewise.
4071 (ctan_downward_test_data): Likewise.
4072 (ctan_test_downward): Likewise.
4073 (ctan_upward_test_data): Likewise.
4074 (ctan_test_upward): Likewise.
4075 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4076 (ctanh_test): Use ALL_RM_TEST.
4077 (ctanh_tonearest_test_data): Remove.
4078 (ctanh_test_tonearest): Likewise.
4079 (ctanh_towardzero_test_data): Likewise.
4080 (ctanh_test_towardzero): Likewise.
4081 (ctanh_downward_test_data): Likewise.
4082 (ctanh_test_downward): Likewise.
4083 (ctanh_upward_test_data): Likewise.
4084 (ctanh_test_upward): Likewise.
4085 (erf_test_data): Update call to AUTO_TESTS_f_f.
4086 (erfc_test_data): Likewise.
4087 (exp_test_data): Likewise.
4088 (exp_test): Use ALL_RM_TEST.
4089 (exp_tonearest_test_data): Remove.
4090 (exp_test_tonearest): Likewise.
4091 (exp_towardzero_test_data): Likewise.
4092 (exp_test_towardzero): Likewise.
4093 (exp_downward_test_data): Likewise.
4094 (exp_test_downward): Likewise.
4095 (exp_upward_test_data): Likewise.
4096 (exp_test_upward): Likewise.
4097 (exp10_test_data): Update call to AUTO_TESTS_f_f.
4098 (exp10_test): Use ALL_RM_TEST.
4099 (exp10_tonearest_test_data): Remove.
4100 (exp10_test_tonearest): Likewise.
4101 (exp10_towardzero_test_data): Likewise.
4102 (exp10_test_towardzero): Likewise.
4103 (exp10_downward_test_data): Likewise.
4104 (exp10_test_downward): Likewise.
4105 (exp10_upward_test_data): Likewise.
4106 (exp10_test_upward): Likewise.
4107 (exp2_test_data): Update call to AUTO_TESTS_f_f.
4108 (expm1_test_data): Likewise.
4109 (expm1_test): Use ALL_RM_TEST.
4110 (expm1_tonearest_test_data): Remove.
4111 (expm1_test_tonearest): Likewise.
4112 (expm1_towardzero_test_data): Likewise.
4113 (expm1_test_towardzero): Likewise.
4114 (expm1_downward_test_data): Likewise.
4115 (expm1_test_downward): Likewise.
4116 (expm1_upward_test_data): Likewise.
4117 (expm1_test_upward): Likewise.
4118 (fma_test_data): Update call to AUTO_TESTS_fff_f.
4119 (fma_test): Use ALL_RM_TEST.
4120 (fma_towardzero_test_data): Remove.
4121 (fma_test_towardzero): Likewise.
4122 (fma_downward_test_data): Likewise.
4123 (fma_test_downward): Likewise.
4124 (fma_upward_test_data): Likewise.
4125 (fma_test_upward): Likewise.
4126 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4127 (j0_test_data): Update call to AUTO_TESTS_f_f.
4128 (j1_test_data): Likewise.
4129 (jn_test_data): Update call to AUTO_TESTS_if_f.
4130 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4131 (log_test_data): Update call to AUTO_TESTS_f_f.
4132 (log10_test_data): Likewise.
4133 (log1p_test_data): Likewise.
4134 (log2_test_data): Likewise.
4135 (pow_test_data): Update call to AUTO_TESTS_ff_f.
4136 (pow_tonearest_test_data): Likewise.
4137 (sin_test_data): Update call to AUTO_TESTS_f_f.
4138 (sin_test): Use ALL_RM_TEST.
4139 (sin_tonearest_test_data): Remove.
4140 (sin_test_tonearest): Likewise.
4141 (sin_towardzero_test_data): Likewise.
4142 (sin_test_towardzero): Likewise.
4143 (sin_downward_test_data): Likewise.
4144 (sin_test_downward): Likewise.
4145 (sin_upward_test_data): Likewise.
4146 (sin_test_upward): Likewise.
4147 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4148 (sinh_test_data): Update call to AUTO_TESTS_f_f.
4149 (sinh_test): Use ALL_RM_TEST.
4150 (sinh_tonearest_test_data): Remove.
4151 (sinh_test_tonearest): Likewise.
4152 (sinh_towardzero_test_data): Likewise.
4153 (sinh_test_towardzero): Likewise.
4154 (sinh_downward_test_data): Likewise.
4155 (sinh_test_downward): Likewise.
4156 (sinh_upward_test_data): Likewise.
4157 (sinh_test_upward): Likewise.
4158 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4159 (sqrt_test): Use ALL_RM_TEST.
4160 (sqrt_tonearest_test_data): Remove.
4161 (sqrt_test_tonearest): Likewise.
4162 (sqrt_towardzero_test_data): Likewise.
4163 (sqrt_test_towardzero): Likewise.
4164 (sqrt_downward_test_data): Likewise.
4165 (sqrt_test_downward): Likewise.
4166 (sqrt_upward_test_data): Likewise.
4167 (sqrt_test_upward): Likewise.
4168 (tan_test_data): Update call to AUTO_TESTS_f_f.
4169 (tan_test): Use ALL_RM_TEST.
4170 (tan_tonearest_test_data): Remove.
4171 (tan_test_tonearest): Likewise.
4172 (tan_towardzero_test_data): Likewise.
4173 (tan_test_towardzero): Likewise.
4174 (tan_downward_test_data): Likewise.
4175 (tan_test_downward): Likewise.
4176 (tan_upward_test_data): Likewise.
4177 (tan_test_upward): Likewise.
4178 (tanh_test_data): Update call to AUTO_TESTS_f_f.
4179 (tgamma_test_data): Likewise.
4180 (y0_test_data): Likewise.
4181 (y1_test_data): Likewise.
4182 (yn_test_data): Update call to AUTO_TESTS_if_f.
4183 (main): Do not call removed functions.
4184
d71aeee8
JM
41852014-03-19 Joseph Myers <joseph@codesourcery.com>
4186
4187 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4188 (ldexp_test_data): Remove.
4189 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
4190 scalbn_test_data.
4191 (scalb_test): Use ALL_RM_TEST.
4192
baaf1ded
AS
41932014-03-19 Andreas Schwab <schwab@suse.de>
4194
4195 * nscd/nscd.service: Also invalidate netgroup cache on reload.
4196
b1115e91
JM
41972014-03-19 Joseph Myers <joseph@codesourcery.com>
4198
4199 [BZ #16649]
4200 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4201 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4202 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4203 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4204 (__ASSUME_PREADV): Undefine.
4205 (__ASSUME_PWRITEV): Likewise.
4206
0283ecca
RM
42072014-03-18 Roland McGrath <roland@hack.frob.com>
4208
7d375303
RM
4209 * bits/mman-linux.h: Add comment about non-Linux use.
4210 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4211 bits/mman-linux.h resting place.
4212
0283ecca
RM
4213 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4214 * bits/mman-linux.h: ... here.
4215
aebe1003
AZ
42162014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4217
4218 * conform/conformtest.pl: Add standard definition when calling C
4219 preprocessor on data files.
4220 (checknamespace): Remove unused variable.
4221
b29b6bb8
JM
42222014-03-18 Joseph Myers <joseph@codesourcery.com>
4223
4224 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4225 minus_oflow, plus_uflow and minus_uflow in expected results.
4226 * math/libm-test.inc (scalbn_test_data): Add more tests of
4227 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
4228 minus_uflow.
4229 (scalbn_test): Use ALL_RM_TEST.
4230 (scalbln_test_data): Add more tests of negative arguments. Use
4231 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4232 (scalbln_test): Use ALL_RM_TEST.
4233
c8f8fa15
RM
42342014-03-18 Roland McGrath <roland@hack.frob.com>
4235
4236 * scripts/abilist.awk: Ignore symbols marked with .hidden.
4237
fede7a5f
WN
42382014-03-18 Will Newton <will.newton@linaro.org>
4239
4240 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4241 inaccurate comment.
4242
80cf0a58
JM
42432014-03-18 Joseph Myers <joseph@codesourcery.com>
4244
4245 * Makerules [!subdir] (check-abi): Exit with error status if a
4246 test failed.
4247
b3620862
JM
42482014-03-17 Joseph Myers <joseph@codesourcery.com>
4249
4250 * math/libm-test.inc (nearbyint_test_data): Include all tests used
4251 for rint. Include results for all rounding modes.
4252 (nearbyint_test): Use ALL_RM_TEST.
4253 (rint_test_data): Include all tests used for nearbyint.
4254
788bba36
WN
42552014-03-17 Will Newton <will.newton@linaro.org>
4256
04ec140a
WN
4257 * nptl/sysdeps/pthread/pthread.h: Revert previous
4258 change.
4259
7579d8d5
WN
4260 * sysdeps/generic/ldsodefs.h: Revert previous
4261 change.
4262
c15cf13a
WN
4263 * libio/genops.c: Revert previous change.
4264 * libio/libioP.h: Likewise.
4265 * stdio-common/vfprintf.c: Likewise.
4266
d0ac1324
WN
4267 * sysdeps/generic/math_private.h: Revert previous
4268 change.
4269
9290130a
WN
4270 * sysdeps/generic/math_private.h: Check whether
4271 HAVE_RM_CTX is defined with #ifdef rather
4272 than #if.
4273
afb466fc
WN
4274 * argp/argp-fmtstream.h: Check whether
4275 __STRICT_ANSI__ is defined with #ifdef rather
4276 than #if.
4277 * argp/argp.h: Likewise.
4278
f7efd7c3
WN
4279 * libio/genops.c: Check whether
4280 _IO_JUMPS_OFFSET is defined with #ifdef rather
4281 than #if.
4282 * libio/libioP.h: Likewise.
4283 * stdio-common/vfprintf.c: Likewise.
4284
53f1bed3
WN
4285 * sysdeps/generic/ldsodefs.h: Check whether
4286 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4287 than #if.
4288
788bba36
WN
4289 * nptl/sysdeps/pthread/pthread.h: Check
4290 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4291 its value.
4292
fcd89ebe
SP
42932014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4294
ae42bbc5
SP
4295 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4296 setting O_APPEND.
4297 * libio/tst-ftell-active-handler.c (do_append_test): Add a
4298 test case.
4299
ea33158c
SP
4300 [BZ #16680]
4301 * libio/fileops.c (_IO_file_open): Seek to end of file but
4302 don't cache the offset.
4303 (get_file_offset): Remove function.
4304 (do_ftell): Use cached offset when available.
4305 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4306 don't cache the offset.
4307 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4308 case.
4309 (do_one_test): Call it.
4310 (do_ftell_test): Fix up expected old offset for a+ mode.
4311 * libio/wfileops.c (do_ftell_wide): Used cached offset when
4312 available.
4313
b1dbb426
SP
4314 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4315 up test status with function return status.
4316 (do_write_test): Likewise.
4317 (do_append_test): Likewise.
4318
fcd89ebe
SP
4319 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4320 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4321 Remove.
4322
9962a2d3
JM
43232014-03-17 Joseph Myers <joseph@codesourcery.com>
4324
4325 * math/gen-libm-test.pl (parse_args): Handle results specified for
4326 each rounding mode separately.
4327 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4328 tests and results from lrint_tonearest_test_data,
4329 lrint_towardzero_test_data, lrint_downward_test_data and
4330 lrint_upward_test_data.
4331 (lrint_test): Use ALL_RM_TEST.
4332 (lrint_tonearest_test_data): Remove.
4333 (lrint_test_tonearest): Likewise.
4334 (lrint_towardzero_test_data): Likewise.
4335 (lrint_test_towardzero): Likewise.
4336 (lrint_downward_test_data): Likewise.
4337 (lrint_test_downward): Likewise.
4338 (lrint_upward_test_data): Likewise.
4339 (lrint_test_upward): Likewise.
4340 (llrint_test_data): Merge in per-rounding-mode tests and results
4341 from llrint_tonearest_test_data, llrint_towardzero_test_data,
4342 llrint_downward_test_data and llrint_upward_test_data.
4343 (llrint_test): Use ALL_RM_TEST.
4344 (llrint_tonearest_test_data): Remove.
4345 (llrint_test_tonearest): Likewise.
4346 (llrint_towardzero_test_data): Likewise.
4347 (llrint_test_towardzero): Likewise.
4348 (llrint_downward_test_data): Likewise.
4349 (llrint_test_downward): Likewise.
4350 (llrint_upward_test_data): Likewise.
4351 (llrint_test_upward): Likewise.
4352 (rint_test_data): Merge in per-rounding-mode tests and results
4353 from rint_tonearest_test_data, rint_towardzero_test_data,
4354 rint_downward_test_data and rint_upward_test_data. Add
4355 per-rounding-mode results for tests not in those arrays.
4356 (rint_test): Use ALL_RM_TEST.
4357 (rint_tonearest_test_data): Remove.
4358 (rint_test_tonearest): Likewise.
4359 (rint_towardzero_test_data): Likewise.
4360 (rint_test_towardzero): Likewise.
4361 (rint_downward_test_data): Likewise.
4362 (rint_test_downward): Likewise.
4363 (rint_upward_test_data): Likewise.
4364 (rint_test_upward): Likewise.
4365 (main): Don't call removed functions.
4366
5006148e
RM
43672014-03-14 Roland McGrath <roland@hack.frob.com>
4368
4369 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4370 "Compiled on ..." crapola. It is anti-useful.
4371
d6fe5e58
JM
43722014-03-14 Joseph Myers <joseph@codesourcery.com>
4373
4374 * scripts/evaluate-test.sh: Handle fourth argument to determine
4375 whether test run should stop on failure.
4376 * Makeconfig (stop-on-test-failure): New variable.
4377 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4378 $(stop-on-test-failure).
4379 * Makefile (tests): Give a summary of results from testing and
4380 exit with failure status if they include an ERROR or FAIL.
4381 (xtests): Likewise.
4382 * manual/install.texi (Configuring and compiling): Mention
4383 stop-on-test-failure=y.
4384 * INSTALL: Regenerated.
4385
498a2233
RM
43862014-03-14 Roland McGrath <roland@hack.frob.com>
4387
22dbc19d
RM
4388 * scripts/versionlist.awk: New file.
4389 * Makerules [$(build-shared) = yes]
4390 (postclean-generated): Add Versions.def, not Versions.def.v and
4391 Versions.def.v.i.
4392 ($(common-objpfx)Versions.def.v.i): Target removed.
4393 ($(common-objpfx)Versions.def): New target.
4394 ($(common-objpfx)Versions.all): Depend on that rather that
4395 $(common-objpfx)Versions.def.v.
4396 * Versions.def: File removed.
4397
498a2233
RM
4398 * Makeconfig (+gccwarn): Add -Wundef.
4399 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4400 a dl-sysdep.h breaking its contract.
4401 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4402 * include/stackinfo.h: New file.
4403 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4404 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4405 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4406 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4407 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4408 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4409 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4410 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4411 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4412 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4413 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4414 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4415 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4416 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4417 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4418
c7de5025
AZ
44192014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4420
4421 [BZ #16707]
4422 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4423 implementation.
4424 * math/libm-test.inc (round_test_data): Add more tests.
4425
98fb27a3
AZ
4426 [BZ #16706]
4427 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4428 implementation.
4429 * math/libm-test.inc (nearbyint_test_data): Add more tests.
4430
374f7f61
AZ
4431 [BZ #16701]
4432 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4433 implementation.
4434 * math/libm-test.inc (ceil_test_data): Add more tests.
4435
4655c291
AZ
4436 * math/libm-test.inc (trunc_test_data): Add more tests related to
4437 BZ#16414.
4438
d7329d4b
RM
44392014-03-14 Roland McGrath <roland@hack.frob.com>
4440
4441 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4442 with #if rather than #ifdef.
4443 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4444
aa4de9ce
L
44452014-03-14 H.J. Lu <hongjiu.lu@intel.com>
4446
4447 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4448 first. Disable AVX-512 GCC support if assembler doesn't support
4449 it.
4450 * sysdeps/x86_64/configure: Regenerated.
4451
2e03fae7
CD
44522014-03-13 Carlos O'Donell <carlos@redhat.com>
4453
4454 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4455 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4456 (__old_pthread_attr_setstack): Likewise.
4457 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4458 [!_STACK_GROWS_DOWN]: Likewise.
4459
43ca83ec
MF
44602014-03-13 Mike Frysinger <vapier@gentoo.org>
4461
4462 * config.make.in (have-bash2): Delete.
4463 * configure.ac (libc_cv_have_bash2): Delete.
4464 * configure: Regenerate.
4465 * elf/Makefile (common-ldd-rewrite): Rename to ...
4466 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
4467 (sh-ldd-rewrite): Delete.
4468 (bash-ldd-rewrite): Delete.
4469 (have-bash2): Delete checks.
57f41c40
AS
4470 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4471 ldd-rewrite.
c66e48b4
MF
4472
4473 * config.make.in (have-ksh): Delete.
4474 (KSH): Delete.
4475 * configure.ac (libc_cv_have_ksh): Delete.
4476 * configure: Regenerate.
4477
b93834ef
MF
4478 * elf/Makefile: Delete $(have-ksh) check.
4479 ($(objpfx)sotruss): Change KSH to BASH.
4480 * elf/sotruss.ksh: Rename to ...
4481 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
4482 function style to match POSIX. Drop ksh vim mode setting.
4483
f3a4632a
MF
4484 * manual/time.texi (Specifying the Time Zone with TZ): Change
4485 Tuesday to Thursday.
4486
5896c8bd
MF
4487 * debug/tst-longjmp_chk2.c: Update header comment.
4488 (stackoverflow_handler): Add comment. Call assert on pass value.
4489
2d63a517
IZ
44902014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
4491
4492 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4493 (HAVE_AVX512_ASM_SUPPORT): Likewise.
4494 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4495 (La_x86_64_vector): Add zmm.
4496 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4497 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4498 ($(objpfx)tst-audit10): New target.
4499 ($(objpfx)tst-audit10.out): Likewise.
4500 (tst-audit10-ENV): New.
4501 (AVX512-CFLAGS): Likewise.
4502 (CFLAGS-tst-audit10.c): Likewise.
4503 (CFLAGS-tst-auditmod10a.c): Likewise.
4504 (CFLAGS-tst-auditmod10b.c): Likewise.
4505 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
4506 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
4507 * sysdeps/x86_64/configure: Regenerated.
4508 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
4509 AVX-512 zmm register support.
4510 (_dl_x86_64_save_sse): Likewise.
4511 (_dl_x86_64_restore_sse): Likewise.
4512 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
4513 size vector registers.
4514 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
4515 (ZMM_SIZE): Likewise.
4516 * sysdeps/x86_64/tst-audit10.c: New file.
4517 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
4518 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
4519
44c4e5d5
RM
45202014-03-13 Roland McGrath <roland@hack.frob.com>
4521
4522 * configure.ac (HAVE_EHDR_START): New check.
4523 * configure: Regenerated.
4524 * config.h.in (HAVE_EHDR_START): New #undef.
4525 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
4526 assuming the lowest-addressed segment maps the start of the file.
4527
acd6e389
JM
45282014-03-13 Joseph Myers <joseph@codesourcery.com>
4529
4530 * INSTALL: Regenerated.
4531
6f918f36
WN
45322014-03-13 Will Newton <will.newton@linaro.org>
4533
4534 * manual/setjmp.texi (System V contexts): Improve
4535 clarity and grammar of documentation.
4536
798212a0
PP
45372014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
4538
4539 [BZ #16381]
798212a0 4540 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 4541 (tests-pie): Add tst-pie2.
798212a0
PP
4542 * elf/tst-pie2.c: New file.
4543 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
4544 for ET_EXEC.
4545 * elf/rtld.c (map_doit): Load executable as lt_executable.
4546 (dl_main): Likewise.
4547
abe6d90c
JM
45482014-03-12 Joseph Myers <joseph@codesourcery.com>
4549
4550 [BZ #16642]
4551 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4552 (__ASSUME_PSELECT): Undefine.
4553
dd3946c6
AZ
45542014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4555
4556 [BZ #16689]
4557 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
4558 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
4559 static build.
4560 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
4561 selector for static builds.
4562
c44496df
SP
45632014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4564
4565 [BZ #16695]
4566 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
4567 key in the buffer.
4568
27c7220a
AZ
45692014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4570
57f41c40
AS
4571 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
4572 IFUNC selector for static builds.
27c7220a 4573
600fa361
JM
45742014-03-11 Joseph Myers <joseph@codesourcery.com>
4575
76c96cf7
JM
4576 * sysdeps/mips/math_private.h [__mips_hard_float]
4577 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
4578 libc_feresetround_mips_ctx.
4579 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
4580 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
4581 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
4582
600fa361
JM
4583 [BZ #16677]
4584 * math/s_nextafter.c (__nextafter): Do not return value from
4585 overflowing computation.
4586 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4587 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
4588 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4589 Likewise.
4590 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4591 Likewise.
4592 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4593 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
4594
d7706c32
RM
45952014-03-11 Roland McGrath <roland@hack.frob.com>
4596
4597 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
4598 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
4599 Move sfi_sp use from the load-multiple (that no longer sets sp) to
4600 the new mov targetting sp.
4601
4facea47
AZ
46022014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4603
4604 [BZ #16683]
4605 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
4606 Define it for static builds as well.
4607 (NO_BZERO_IMPL): Likewise.
4608
e65caf1f
VR
46092014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4610
4611 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
4612 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
4613 multiarch strspn for PPC64.
4614 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
4615 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
4616 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4617 (__libc_ifunc_impl_list): Likewise.
4618 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
4619 multiarch optimizations
4620 * string/strspn.c (strspn): Using macro to redefine symbol name.
4621
ba9cc071
AZ
46222014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4623 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4624
4625 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
4626 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
4627 multiarch strncat for PPC64.
4628 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
4629 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
4630 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4631 (__libc_ifunc_impl_list): Likewise.
4632 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
4633 multiarch optimizations
4634
8b4ff974
SP
46352014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4636
4637 [BZ #16639]
4638 * nscd/nscd.service: Make service type forking.
4639
54b46a4b
AZ
46402014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4641
4642 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
4643 sign in non default rounding modes.
4644 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4645
e9996ef7
JM
46462014-03-08 Joseph Myers <joseph@codesourcery.com>
4647
4648 * math/libm-test.inc (ALL_RM_TEST): New macro.
4649 (ceil_test): Use ALL_RM_TEST.
4650 (cimag_test): Likewise.
4651 (conj_test): Likewise.
4652 (copysign_test): Likewise.
4653 (cproj_test): Likewise.
4654 (creal_test): Likewise.
4655 (fabs_test): Likewise.
4656 (floor_test): Likewise.
4657 (fmax_test): Likewise.
4658 (fmin_test): Likewise.
4659 (fmod_test): Likewise.
4660 (fpclassify_test): Likewise.
4661 (frexp_test): Likewise.
4662 (ilogb_test): Likewise.
4663 (isfinite_test): Likewise.
4664 (finite_test): Likewise.
4665 (isgreater_test): Likewise.
4666 (isgreaterequal_test): Likewise.
4667 (isinf_test): Likewise.
4668 (isless_test): Likewise.
4669 (islessequal_test): Likewise.
4670 (islessgreater_test): Likewise.
4671 (isnan_test): Likewise.
4672 (isnormal_test): Likewise.
4673 (issignaling_test): Likewise.
4674 (isunordered_test): Likewise.
4675 (logb_test): Likewise.
4676 (logb_downward_test_data): Remove.
4677 (logb_test_downward): Likewise.
4678 (lround_test): Use ALL_RM_TEST.
4679 (llround_test): Likewise.
4680 (modf_test): Likewise.
4681 (nexttoward_test): Likewise.
4682 (remainder_test): Likewise.
4683 (drem_test): Likewise.
4684 (remainder_tonearest_test_data): Likewise.
4685 (remainder_test_tonearest): Likewise.
4686 (drem_test_tonearest): Likewise.
4687 (remainder_towardzero_test_data): Likewise.
4688 (remainder_test_towardzero): Likewise.
4689 (drem_test_towardzero): Likewise.
4690 (remainder_downward_test_data): Likewise.
4691 (remainder_test_downward): Likewise.
4692 (drem_test_downward): Likewise.
4693 (remainder_upward_test_data): Likewise.
4694 (remainder_test_upward): Likewise.
4695 (drem_test_upward): Likewise.
4696 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
4697 (round_test): Use ALL_RM_TEST.
4698 (signbit_test): Likewise.
4699 (trunc_test): Likewise.
4700 (significand_test): Likewise.
4701 (main): Don't call removed functions.
4702
bc61d27c
JM
47032014-03-07 Joseph Myers <joseph@codesourcery.com>
4704
5c780849
JM
4705 [BZ #16674]
4706 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
4707 || __USE_XOPEN2K8].
4708 (ILL_ILLOPN): Likewise.
4709 (ILL_ILLADR): Likewise.
4710 (ILL_ILLTRP): Likewise.
4711 (ILL_PRVOPC): Likewise.
4712 (ILL_PRVREG): Likewise.
4713 (ILL_COPROC): Likewise.
4714 (ILL_BADSTK): Likewise.
4715 (FPE_INTDIV): Likewise.
4716 (FPE_INTOVF): Likewise.
4717 (FPE_FLTDIV): Likewise.
4718 (FPE_FLTOVF): Likewise.
4719 (FPE_FLTUND): Likewise.
4720 (FPE_FLTRES): Likewise.
4721 (FPE_FLTINV): Likewise.
4722 (FPE_FLTSUB): Likewise.
4723 (SEGV_MAPERR): Likewise.
4724 (SEGV_ACCERR): Likewise.
4725 (BUS_ADRALN): Likewise.
4726 (BUS_ADRERR): Likewise.
4727 (BUS_OBJERR): Likewise.
4728 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4729 (TRAP_TRACE): Likewise.
4730 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4731 __USE_XOPEN2K8].
4732 (CLD_KILLED): Likewise.
4733 (CLD_DUMPED): Likewise.
4734 (CLD_TRAPPED): Likewise.
4735 (CLD_STOPPED): Likewise.
4736 (CLD_CONTINUED): Likewise.
4737 (POLL_IN): Likewise.
4738 (POLL_OUT): Likewise.
4739 (POLL_MSG): Likewise.
4740 (POLL_ERR): Likewise.
4741 (POLL_PRI): Likewise.
4742 (POLL_HUP): Likewise.
4743 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
4744 Likewise.
4745 (ILL_ILLOPN): Likewise.
4746 (ILL_ILLADR): Likewise.
4747 (ILL_ILLTRP): Likewise.
4748 (ILL_PRVOPC): Likewise.
4749 (ILL_PRVREG): Likewise.
4750 (ILL_COPROC): Likewise.
4751 (ILL_BADSTK): Likewise.
4752 (FPE_INTDIV): Likewise.
4753 (FPE_INTOVF): Likewise.
4754 (FPE_FLTDIV): Likewise.
4755 (FPE_FLTOVF): Likewise.
4756 (FPE_FLTUND): Likewise.
4757 (FPE_FLTRES): Likewise.
4758 (FPE_FLTINV): Likewise.
4759 (FPE_FLTSUB): Likewise.
4760 (SEGV_MAPERR): Likewise.
4761 (SEGV_ACCERR): Likewise.
4762 (BUS_ADRALN): Likewise.
4763 (BUS_ADRERR): Likewise.
4764 (BUS_OBJERR): Likewise.
4765 (BUS_MCEERR_AR): Likewise.
4766 (BUS_MCEERR_AO): Likewise.
4767 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4768 (TRAP_TRACE): Likewise.
4769 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4770 __USE_XOPEN2K8].
4771 (CLD_KILLED): Likewise.
4772 (CLD_DUMPED): Likewise.
4773 (CLD_TRAPPED): Likewise.
4774 (CLD_STOPPED): Likewise.
4775 (CLD_CONTINUED): Likewise.
4776 (POLL_IN): Likewise.
4777 (POLL_OUT): Likewise.
4778 (POLL_MSG): Likewise.
4779 (POLL_ERR): Likewise.
4780 (POLL_PRI): Likewise.
4781 (POLL_HUP): Likewise.
4782 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
4783 (ILL_ILLOPN): Likewise.
4784 (ILL_ILLADR): Likewise.
4785 (ILL_ILLTRP): Likewise.
4786 (ILL_PRVOPC): Likewise.
4787 (ILL_PRVREG): Likewise.
4788 (ILL_COPROC): Likewise.
4789 (ILL_BADSTK): Likewise.
4790 (FPE_INTDIV): Likewise.
4791 (FPE_INTOVF): Likewise.
4792 (FPE_FLTDIV): Likewise.
4793 (FPE_FLTOVF): Likewise.
4794 (FPE_FLTUND): Likewise.
4795 (FPE_FLTRES): Likewise.
4796 (FPE_FLTINV): Likewise.
4797 (FPE_FLTSUB): Likewise.
4798 (SEGV_MAPERR): Likewise.
4799 (SEGV_ACCERR): Likewise.
4800 (BUS_ADRALN): Likewise.
4801 (BUS_ADRERR): Likewise.
4802 (BUS_OBJERR): Likewise.
4803 (BUS_MCEERR_AR): Likewise.
4804 (BUS_MCEERR_AO): Likewise.
4805 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4806 (TRAP_TRACE): Likewise.
4807 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4808 __USE_XOPEN2K8].
4809 (CLD_KILLED): Likewise.
4810 (CLD_DUMPED): Likewise.
4811 (CLD_TRAPPED): Likewise.
4812 (CLD_STOPPED): Likewise.
4813 (CLD_CONTINUED): Likewise.
4814 (POLL_IN): Likewise.
4815 (POLL_OUT): Likewise.
4816 (POLL_MSG): Likewise.
4817 (POLL_ERR): Likewise.
4818 (POLL_PRI): Likewise.
4819 (POLL_HUP): Likewise.
4820 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
4821 Likewise.
4822 (ILL_ILLOPN): Likewise.
4823 (ILL_ILLADR): Likewise.
4824 (ILL_ILLTRP): Likewise.
4825 (ILL_PRVOPC): Likewise.
4826 (ILL_PRVREG): Likewise.
4827 (ILL_COPROC): Likewise.
4828 (ILL_BADSTK): Likewise.
4829 (ILL_BADIADDR): Likewise.
4830 (ILL_BREAK): Likewise.
4831 (FPE_INTDIV): Likewise.
4832 (FPE_INTOVF): Likewise.
4833 (FPE_FLTDIV): Likewise.
4834 (FPE_FLTOVF): Likewise.
4835 (FPE_FLTUND): Likewise.
4836 (FPE_FLTRES): Likewise.
4837 (FPE_FLTINV): Likewise.
4838 (FPE_FLTSUB): Likewise.
4839 (FPE_DECOVF): Likewise.
4840 (FPE_DECDIV): Likewise.
4841 (FPE_DECERR): Likewise.
4842 (FPE_INVASC): Likewise.
4843 (FPE_INVDEC): Likewise.
4844 (SEGV_MAPERR): Likewise.
4845 (SEGV_ACCERR): Likewise.
4846 (SEGV_PSTKOVF): Likewise.
4847 (BUS_ADRALN): Likewise.
4848 (BUS_ADRERR): Likewise.
4849 (BUS_OBJERR): Likewise.
4850 (BUS_MCEERR_AR): Likewise.
4851 (BUS_MCEERR_AO): Likewise.
4852 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4853 (TRAP_TRACE): Likewise.
4854 (TRAP_BRANCH): Likewise.
4855 (TRAP_HWBKPT): Likewise.
4856 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4857 __USE_XOPEN2K8].
4858 (CLD_KILLED): Likewise.
4859 (CLD_DUMPED): Likewise.
4860 (CLD_TRAPPED): Likewise.
4861 (CLD_STOPPED): Likewise.
4862 (CLD_CONTINUED): Likewise.
4863 (POLL_IN): Likewise.
4864 (POLL_OUT): Likewise.
4865 (POLL_MSG): Likewise.
4866 (POLL_ERR): Likewise.
4867 (POLL_PRI): Likewise.
4868 (POLL_HUP): Likewise.
4869 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
4870 (ILL_ILLOPN): Likewise.
4871 (ILL_ILLADR): Likewise.
4872 (ILL_ILLTRP): Likewise.
4873 (ILL_PRVOPC): Likewise.
4874 (ILL_PRVREG): Likewise.
4875 (ILL_COPROC): Likewise.
4876 (ILL_BADSTK): Likewise.
4877 (FPE_INTDIV): Likewise.
4878 (FPE_INTOVF): Likewise.
4879 (FPE_FLTDIV): Likewise.
4880 (FPE_FLTOVF): Likewise.
4881 (FPE_FLTUND): Likewise.
4882 (FPE_FLTRES): Likewise.
4883 (FPE_FLTINV): Likewise.
4884 (FPE_FLTSUB): Likewise.
4885 (SEGV_MAPERR): Likewise.
4886 (SEGV_ACCERR): Likewise.
4887 (BUS_ADRALN): Likewise.
4888 (BUS_ADRERR): Likewise.
4889 (BUS_OBJERR): Likewise.
4890 (BUS_MCEERR_AR): Likewise.
4891 (BUS_MCEERR_AO): Likewise.
4892 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4893 (TRAP_TRACE): Likewise.
4894 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4895 __USE_XOPEN2K8].
4896 (CLD_KILLED): Likewise.
4897 (CLD_DUMPED): Likewise.
4898 (CLD_TRAPPED): Likewise.
4899 (CLD_STOPPED): Likewise.
4900 (CLD_CONTINUED): Likewise.
4901 (POLL_IN): Likewise.
4902 (POLL_OUT): Likewise.
4903 (POLL_MSG): Likewise.
4904 (POLL_ERR): Likewise.
4905 (POLL_PRI): Likewise.
4906 (POLL_HUP): Likewise.
4907 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
4908 (ILL_ILLOPN): Likewise.
4909 (ILL_ILLADR): Likewise.
4910 (ILL_ILLTRP): Likewise.
4911 (ILL_PRVOPC): Likewise.
4912 (ILL_PRVREG): Likewise.
4913 (ILL_COPROC): Likewise.
4914 (ILL_BADSTK): Likewise.
4915 (FPE_INTDIV): Likewise.
4916 (FPE_INTOVF): Likewise.
4917 (FPE_FLTDIV): Likewise.
4918 (FPE_FLTOVF): Likewise.
4919 (FPE_FLTUND): Likewise.
4920 (FPE_FLTRES): Likewise.
4921 (FPE_FLTINV): Likewise.
4922 (FPE_FLTSUB): Likewise.
4923 (SEGV_MAPERR): Likewise.
4924 (SEGV_ACCERR): Likewise.
4925 (BUS_ADRALN): Likewise.
4926 (BUS_ADRERR): Likewise.
4927 (BUS_OBJERR): Likewise.
4928 (BUS_MCEERR_AR): Likewise.
4929 (BUS_MCEERR_AO): Likewise.
4930 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4931 (TRAP_TRACE): Likewise.
4932 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4933 __USE_XOPEN2K8].
4934 (CLD_KILLED): Likewise.
4935 (CLD_DUMPED): Likewise.
4936 (CLD_TRAPPED): Likewise.
4937 (CLD_STOPPED): Likewise.
4938 (CLD_CONTINUED): Likewise.
4939 (POLL_IN): Likewise.
4940 (POLL_OUT): Likewise.
4941 (POLL_MSG): Likewise.
4942 (POLL_ERR): Likewise.
4943 (POLL_PRI): Likewise.
4944 (POLL_HUP): Likewise.
4945 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
4946 (ILL_ILLOPN): Likewise.
4947 (ILL_ILLADR): Likewise.
4948 (ILL_ILLTRP): Likewise.
4949 (ILL_PRVOPC): Likewise.
4950 (ILL_PRVREG): Likewise.
4951 (ILL_COPROC): Likewise.
4952 (ILL_BADSTK): Likewise.
4953 (FPE_INTDIV): Likewise.
4954 (FPE_INTOVF): Likewise.
4955 (FPE_FLTDIV): Likewise.
4956 (FPE_FLTOVF): Likewise.
4957 (FPE_FLTUND): Likewise.
4958 (FPE_FLTRES): Likewise.
4959 (FPE_FLTINV): Likewise.
4960 (FPE_FLTSUB): Likewise.
4961 (SEGV_MAPERR): Likewise.
4962 (SEGV_ACCERR): Likewise.
4963 (BUS_ADRALN): Likewise.
4964 (BUS_ADRERR): Likewise.
4965 (BUS_OBJERR): Likewise.
4966 (BUS_MCEERR_AR): Likewise.
4967 (BUS_MCEERR_AO): Likewise.
4968 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4969 (TRAP_TRACE): Likewise.
4970 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4971 __USE_XOPEN2K8].
4972 (CLD_KILLED): Likewise.
4973 (CLD_DUMPED): Likewise.
4974 (CLD_TRAPPED): Likewise.
4975 (CLD_STOPPED): Likewise.
4976 (CLD_CONTINUED): Likewise.
4977 (POLL_IN): Likewise.
4978 (POLL_OUT): Likewise.
4979 (POLL_MSG): Likewise.
4980 (POLL_ERR): Likewise.
4981 (POLL_PRI): Likewise.
4982 (POLL_HUP): Likewise.
4983 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
4984 (ILL_ILLOPN): Likewise.
4985 (ILL_ILLADR): Likewise.
4986 (ILL_ILLTRP): Likewise.
4987 (ILL_PRVOPC): Likewise.
4988 (ILL_PRVREG): Likewise.
4989 (ILL_COPROC): Likewise.
4990 (ILL_BADSTK): Likewise.
4991 (ILL_DBLFLT): Likewise.
4992 (ILL_HARDWALL): Likewise.
4993 (FPE_INTDIV): Likewise.
4994 (FPE_INTOVF): Likewise.
4995 (FPE_FLTDIV): Likewise.
4996 (FPE_FLTOVF): Likewise.
4997 (FPE_FLTUND): Likewise.
4998 (FPE_FLTRES): Likewise.
4999 (FPE_FLTINV): Likewise.
5000 (FPE_FLTSUB): Likewise.
5001 (SEGV_MAPERR): Likewise.
5002 (SEGV_ACCERR): Likewise.
5003 (BUS_ADRALN): Likewise.
5004 (BUS_ADRERR): Likewise.
5005 (BUS_OBJERR): Likewise.
5006 (BUS_MCEERR_AR): Likewise.
5007 (BUS_MCEERR_AO): Likewise.
5008 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5009 (TRAP_TRACE): Likewise.
5010 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5011 __USE_XOPEN2K8].
5012 (CLD_KILLED): Likewise.
5013 (CLD_DUMPED): Likewise.
5014 (CLD_TRAPPED): Likewise.
5015 (CLD_STOPPED): Likewise.
5016 (CLD_CONTINUED): Likewise.
5017 (POLL_IN): Likewise.
5018 (POLL_OUT): Likewise.
5019 (POLL_MSG): Likewise.
5020 (POLL_ERR): Likewise.
5021 (POLL_PRI): Likewise.
5022 (POLL_HUP): Likewise.
5023 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5024 (ILL_ILLOPN): Likewise.
5025 (ILL_ILLADR): Likewise.
5026 (ILL_ILLTRP): Likewise.
5027 (ILL_PRVOPC): Likewise.
5028 (ILL_PRVREG): Likewise.
5029 (ILL_COPROC): Likewise.
5030 (ILL_BADSTK): Likewise.
5031 (FPE_INTDIV): Likewise.
5032 (FPE_INTOVF): Likewise.
5033 (FPE_FLTDIV): Likewise.
5034 (FPE_FLTOVF): Likewise.
5035 (FPE_FLTUND): Likewise.
5036 (FPE_FLTRES): Likewise.
5037 (FPE_FLTINV): Likewise.
5038 (FPE_FLTSUB): Likewise.
5039 (SEGV_MAPERR): Likewise.
5040 (SEGV_ACCERR): Likewise.
5041 (BUS_ADRALN): Likewise.
5042 (BUS_ADRERR): Likewise.
5043 (BUS_OBJERR): Likewise.
5044 (BUS_MCEERR_AR): Likewise.
5045 (BUS_MCEERR_AO): Likewise.
5046 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5047 (TRAP_TRACE): Likewise.
5048 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5049 __USE_XOPEN2K8].
5050 (CLD_KILLED): Likewise.
5051 (CLD_DUMPED): Likewise.
5052 (CLD_TRAPPED): Likewise.
5053 (CLD_STOPPED): Likewise.
5054 (CLD_CONTINUED): Likewise.
5055 (POLL_IN): Likewise.
5056 (POLL_OUT): Likewise.
5057 (POLL_MSG): Likewise.
5058 (POLL_ERR): Likewise.
5059 (POLL_PRI): Likewise.
5060 (POLL_HUP): Likewise.
5061 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5062 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5063
bc61d27c
JM
5064 [BZ #16670]
5065 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5066 before #include of <time.h>.
5067 [!__USE_XOPEN2K] (__need_timespec): Likewise.
5068 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5069 (test-xfail-UNIX98/sched.h/conform): Likewise.
5070
302949e2
MS
50712014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
5072
5073 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5074 error absence of trapping exception support.
5075 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5076
a00f522a
JM
50772014-03-07 Joseph Myers <joseph@codesourcery.com>
5078
6f99f280
JM
5079 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5080 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5081 * timezone/Makefile (testdata): Move definition above include of
5082 Rules.
5083 (test-zones): New variable.
5084 (tests-special): Add zone files.
5085 (build-testdata): Use $(evaluate-test).
5086
0b20a9e8
JM
5087 * elf/Makefile (tests-special): Rename tests to end with .out.
5088 ($(objpfx)noload-mem): Likewise.
5089 ($(objpfx)tst-leaks1-mem): Likewise.
5090 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5091 * iconv/Makefile (xtests-special): Change test-iconvconfig to
5092 $(objpfx)test-iconvconfig.out.
5093 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
5094 set -e inside subshell and redirect output to file.
5095 * iconvdata/Makefile (generated): Rename tests to end with .out.
5096 Correct type.
5097 (tests-special): Rename tests to end with .out.
5098 ($(objpfx)mtrace-tst-loading): Likewise.
5099 * intl/Makefile (generated): Likewise.
5100 (tests-special): Likewise.
5101 ($(objpfx)mtrace-tst-gettext): Likewise.
5102 * misc/Makefile (generated): Likewise.
5103 (tests-special): Likewise.
5104 ($(objpfx)tst-error1-mem): Likewise.
5105 * nptl/Makefile (tests-special): Likewise.
5106 ($(objpfx)tst-stack3-mem): Likewise.
5107 (generated): Likewise.
5108 * posix/Makefile (generated): Likewise.
5109 (tests-special): Likewise.
5110 (xtests-special): Likewise.
5111 ($(objpfx)tst-fnmatch-mem): Likewise.
5112 ($(objpfx)bug-regex2-mem): Likewise.
5113 ($(objpfx)bug-regex14-mem): Likewise.
5114 ($(objpfx)bug-regex21-mem): Likewise.
5115 ($(objpfx)bug-regex31-mem): Likewise.
5116 ($(objpfx)tst-vfork3-mem): Likewise.
5117 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5118 ($(objpfx)tst-pcre-mem): Likewise.
5119 ($(objpfx)tst-boost-mem): Likewise.
5120 ($(objpfx)bug-ga2-mem): Likewise.
5121 ($(objpfx)bug-glob2-mem): Likewise.
5122 * resolv/Makefile (generate): Likewise.
5123 (tests-special): Likewise.
5124 (xtests-special): Likewise.
5125 (generated): Likewise.
5126 ($(objpfx)mtrace-tst-leaks): Likewise.
5127 ($(objpfx)mtrace-tst-leaks2): Likewise.
5128
265d52ab
JM
5129 * scripts/merge-test-results.sh: New file.
5130 * Makefile (tests-special-notdir): New variable.
5131 (tests): Run merge-test-results.sh.
5132 (xtests): Likewise.
5133 * Rules (tests-special-notdir): New variable.
5134 (xtests-special-notdir): Likewise.
5135 (tests): Run merge-test-results.sh
5136 (xtests): Likewise.
5137
54ee292d
JM
5138 * Makeconfig (test-xfail-name): New variable.
5139 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5140 compute variable name for expected failures.
5141 * conform/Makefile (conformtest-headers-data): New variable.
5142 (conformtest-standards): Likewise.
5143 (conformtest-headers-ISO): Likewise.
5144 (conformtest-headers-ISO99): Likewise.
5145 (conformtest-headers-ISO11): Likewise.
5146 (conformtest-headers-POSIX): Likewise.
5147 (conformtest-headers-XPG3): Likewise.
5148 (conformtest-headers-XPG4): Likewise.
5149 (conformtest-headers-UNIX98): Likewise.
5150 (conformtest-headers-XOPEN2K): Likewise.
5151 (conformtest-headers-POSIX2008): Likewise.
5152 (conformtest-headers-XOPEN2K8): Likewise.
5153 (conformtest-header-list-base): Likewise.
5154 (conformtest-header-list-tests): Likewise.
5155 (conformtest-header-base): Likewise.
5156 (conformtest-header-tests): Likewise.
5157 (tests-special): Add $(conformtest-header-list-tests). If
5158 [$(fast-check) && !$(cross-compiling)], add
5159 $(conformtest-header-tests) instead of
5160 $(objpfx)run-conformtest.out.
5161 (generated): Add $(conformtest-header-list-base). If
5162 [$(fast-check) && !$(cross-compiling)], add
5163 $(conformtest-header-base). Remove previous setting.
5164 ($(conformtest-header-list-tests)): New target.
5165 (test-xfail-run-conformtest): Remove variable.
5166 ($(objpfx)run-conformtest.out): Remove target.
5167 (test-xfail-ISO11/complex.h/conform): New variable.
5168 (test-xfail-ISO11/stdalign.h/conform): Likewise.
5169 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5170 (test-xfail-XPG3/varargs.h/conform): Likewise.
5171 (test-xfail-XPG4/varargs.h/conform): Likewise.
5172 (test-xfail-UNIX98/varargs.h/conform): Likewise.
5173 (test-xfail-XPG4/ndbm.h/conform): Likewise.
5174 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5175 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5176 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5177 (test-xfail-XPG3/fcntl.h/conform): Likewise.
5178 (test-xfail-XPG3/ftw.h/conform): Likewise.
5179 (test-xfail-XPG3/grp.h/conform): Likewise.
5180 (test-xfail-XPG3/langinfo.h/conform): Likewise.
5181 (test-xfail-XPG3/limits.h/conform): Likewise.
5182 (test-xfail-XPG3/pwd.h/conform): Likewise.
5183 (test-xfail-XPG3/search.h/conform): Likewise.
5184 (test-xfail-XPG3/signal.h/conform): Likewise.
5185 (test-xfail-XPG3/stdio.h/conform): Likewise.
5186 (test-xfail-XPG3/stdlib.h/conform): Likewise.
5187 (test-xfail-XPG3/string.h/conform): Likewise.
5188 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5189 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5190 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5191 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5192 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5193 (test-xfail-XPG3/sys/types.h/conform): Likewise.
5194 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5195 (test-xfail-XPG3/termios.h/conform): Likewise.
5196 (test-xfail-XPG3/time.h/conform): Likewise.
5197 (test-xfail-XPG3/unistd.h/conform): Likewise.
5198 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5199 (test-xfail-XPG4/fcntl.h/conform): Likewise.
5200 (test-xfail-XPG4/langinfo.h/conform): Likewise.
5201 (test-xfail-XPG4/netdb.h/conform): Likewise.
5202 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5203 (test-xfail-XPG4/signal.h/conform): Likewise.
5204 (test-xfail-XPG4/stdio.h/conform): Likewise.
5205 (test-xfail-XPG4/stdlib.h/conform): Likewise.
5206 (test-xfail-XPG4/stropts.h/conform): Likewise.
5207 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5208 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5209 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5210 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5211 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5212 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5213 (test-xfail-XPG4/sys/time.h/conform): Likewise.
5214 (test-xfail-XPG4/sys/types.h/conform): Likewise.
5215 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5216 (test-xfail-XPG4/termios.h/conform): Likewise.
5217 (test-xfail-XPG4/ucontext.h/conform): Likewise.
5218 (test-xfail-XPG4/unistd.h/conform): Likewise.
5219 (test-xfail-XPG4/utmpx.h/conform): Likewise.
5220 (test-xfail-POSIX/sched.h/conform): Likewise.
5221 (test-xfail-POSIX/signal.h/conform): Likewise.
5222 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5223 (test-xfail-POSIX/tar.h/conform): Likewise.
5224 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5225 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5226 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5227 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5228 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5229 (test-xfail-UNIX98/sched.h/conform): Likewise.
5230 (test-xfail-UNIX98/signal.h/conform): Likewise.
5231 (test-xfail-UNIX98/stdio.h/conform): Likewise.
5232 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5233 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5234 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5235 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5236 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5237 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5238 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5239 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5240 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5241 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5242 (test-xfail-UNIX98/unistd.h/conform): Likewise.
5243 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5244 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5245 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5246 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5247 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5248 (test-xfail-XOPEN2K/math.h/conform): Likewise.
5249 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5250 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5251 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5252 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5253 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5254 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5255 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5256 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5257 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5258 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5259 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5260 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5261 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5262 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5263 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5264 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5265 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5266 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5267 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5268 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5269 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5270 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5271 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5272 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5273 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5274 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5275 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5276 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5277 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5278 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5279 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5280 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5281 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5282 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5283 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5284 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5285 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5286 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5287 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5288 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5289 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5290 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5291 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5292 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5293 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5294 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5295 (conformtest-cc-flags): Likewise.
5296 ($(conformtest-header-tests): New target.
5297 * conform/check-header-lists.sh: New file.
5298 * conform/run-conformtest.sh: Remove.
5299
a00f522a
JM
5300 * conform/conformtest.pl: Allow ' and \ in values given for
5301 constants.
5302 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5303 inclusion.
5304 [POSIX] (sys/types.h): Likewise.
5305 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5306 inclusion.
5307 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5308 inclusion.
5309 * conform/data/signal.h-data (SIGIO): Remove expectation.
5310 [XPG3] (SIGBUS): Do not expect.
5311 [POSIX || XPG3] (SIGPOLL): Likewise.
5312 [POSIX || XPG3] (SIGPROF): Likewise.
5313 [POSIX || XPG3] (SIGSYS): Likewise.
5314 [XPG3] (SIGTRAP): Likewise.
5315 [POSIX || XPG3] (SIGURG): Likewise.
5316 [POSIX || XPG3] (SIGVTALRM): Likewise.
5317 [POSIX || XPG3] (SIGXCPU): Likewise.
5318 [POSIX || XPG3] (SIGXFSZ): Likewise.
5319 [POSIX] (SA_SIGINFO): Expect.
5320 [XPG3] (siginfo_t): Do not expect type or contents.
5321 [POSIX] (si_pid): Do not expect element.
5322 [POSIX] (si_uid): Likewise.
5323 [POSIX] (si_addr): Likewise.
5324 [POSIX] (si_status): Likewise.
5325 [POSIX] (si_band): Likewise.
5326 [XPG4] (si_value): Likewise.
5327 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5328 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5329 [POSIX || XPG3] (ILL_ILLADR): Likewise.
5330 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5331 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5332 [POSIX || XPG3] (ILL_PRVREG): Likewise.
5333 [POSIX || XPG3] (ILL_COPROC): Likewise.
5334 [POSIX || XPG3] (ILL_BADSTK): Likewise.
5335 [POSIX || XPG3] (FPE_INTDIV): Likewise.
5336 [POSIX || XPG3] (FPE_INTOVF): Likewise.
5337 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5338 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5339 [POSIX || XPG3] (FPE_FLTUND): Likewise.
5340 [POSIX || XPG3] (FPE_FLTRES): Likewise.
5341 [POSIX || XPG3] (FPE_FLTINV): Likewise.
5342 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5343 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5344 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5345 [POSIX || XPG3] (BUS_ADRALN): Likewise.
5346 [POSIX || XPG3] (BUS_ADRERR): Likewise.
5347 [POSIX || XPG3] (BUS_OBJERR): Likewise.
5348 [POSIX || XPG3] (CLD_EXITED): Likewise.
5349 [POSIX || XPG3] (CLD_KILLED): Likewise.
5350 [POSIX || XPG3] (CLD_DUMPED): Likewise.
5351 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5352 [POSIX || XPG3] (CLD_STOPPED): Likewise.
5353 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5354 [POSIX || XPG3] (POLL_IN): Likewise.
5355 [POSIX || XPG3] (POLL_OUT): Likewise.
5356 [POSIX || XPG3] (POLL_MSG): Likewise.
5357 [POSIX || XPG3] (POLL_ERR): Likewise.
5358 [POSIX || XPG3] (POLL_PRI): Likewise.
5359 [POSIX || XPG3] (POLL_HUP): Likewise.
5360 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5361 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5362 (SIG*): Do not allow.
5363 [XPG3] (si_*): Likewise.
5364 [XPG3] (SI_*): Likewise.
5365 [XPG3 || XPG4] (sigev_*): Likewise.
5366 [XPG3 || XPG4] (SIGEV_*): Likewise.
5367 [XPG3 || XPG4] (sival_*): Likewise.
5368 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5369 [POSIX || XPG3] (BUS_*): Likewise.
5370 [POSIX || XPG3] (CLD_*): Likewise.
5371 [POSIX || XPG3] (FPE_*): Likewise.
5372 [POSIX || XPG3] (ILL_*): Likewise.
5373 [POSIX || XPG3] (POLL_*): Likewise.
5374 [POSIX || XPG3] (SEGV_*): Likewise.
5375 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5376 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5377 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5378 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5379 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5380 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5381 Specify type and value.
5382 (TVERSLEN): Likewise.
5383 (REGTYPE): Likewise.
5384 (AREGTYPE): Likewise.
5385 (LNKTYPE): Likewise.
5386 (SYMTYPE): Likewise.
5387 (CHRTYPE): Likewise.
5388 (BLKTYPE): Likewise.
5389 (DIRTYPE): Likewise.
5390 (FIFOTYPE): Likewise.
5391 (CONTTYPE): Likewise.
5392 (TSUID): Likewise.
5393 (TSGID): Likewise.
5394 (TSVTX): Likewise.
5395 (TUREAD): Likewise.
5396 (TUWRITE): Likewise.
5397 (TUEXEC): Likewise.
5398 (TGREAD): Likewise.
5399 (TGWRITE): Likewise.
5400 (TGEXEC): Likewise.
5401 (TOREAD): Likewise.
5402 (TOWRITE): Likewise.
5403 (TOEXEC): Likewise.
5404 [POSIX] (TSVTX): Expect constant.
5405
aa97dee1
JM
54062014-03-06 Joseph Myers <joseph@codesourcery.com>
5407
f214606a
JM
5408 * Makefile (tests): Change dependencies to ....
5409 (tests-special): ... additions to this variable.
5410 (tests): Depend on $(tests-special).
5411 * Makerules (check-abi-list): New variable.
5412 (check-abi): Depend on $(check-abi-list).
5413 [$(subdir) = elf] (tests-special): Add
5414 $(objpfx)check-abi-libc.out.
5415 [$(build-shared) = yes && subdir] (tests-special): Add
5416 $(check-abi-list).
5417 [$(build-shared) = yes && subdir] (tests): Do not depend on
5418 check-abi.
5419 * Rules (tests): Depend on $(tests-special).
5420 (xtests): Depend on $(xtests-special).
5421 * catgets/Makefile (tests): Change dependencies to ....
5422 (tests-special): ... additions to this variable.
5423 * conform/Makefile (tests): Change dependencies to ....
5424 (tests-special): ... additions to this variable.
5425 * elf/Makefile (tests): Change dependencies to ....
5426 (tests-special): ... additions to this variable.
5427 * grp/Makefile (tests): Change dependencies to ....
5428 (tests-special): ... additions to this variable.
5429 * iconv/Makefile (xtests): Change dependencies to ....
5430 (xtests-special): ... additions to this variable.
5431 * iconvdata/Makefile (tests): Change dependencies to ....
5432 (tests-special): ... additions to this variable.
5433 * intl/Makefile (tests): Change dependencies to ....
5434 (tests-special): ... additions to this variable. Also add
5435 $(objpfx)tst-gettext.out.
5436 * io/Makefile (tests): Change dependencies to ....
5437 (tests-special): ... additions to this variable.
5438 * libio/Makefile (tests): Change dependencies to ....
5439 (tests-special): ... additions to this variable.
5440 * malloc/Makefile (tests): Change dependencies to ....
5441 (tests-special): ... additions to this variable.
5442 * misc/Makefile (tests): Change dependencies to ....
5443 (tests-special): ... additions to this variable.
5444 * nptl/Makefile (tests): Change dependencies to ....
5445 (tests-special): ... additions to this variable.
5446 * nptl_db/Makefile (tests): Change dependencies to ....
5447 (tests-special): ... additions to this variable.
5448 * posix/Makefile (tests): Change dependencies to ....
5449 (tests-special): ... additions to this variable.
5450 (xtests): Change dependencies to ....
5451 (xtests-special): ... additions to this variable.
5452 * resolv/Makefile (tests): Change dependencies to ....
5453 (tests-special): ... additions to this variable.
5454 (xtests): Change dependencies to ....
5455 (xtests-special): ... additions to this variable.
5456 * stdio-common/Makefile (tests): Change dependencies to ....
5457 (tests-special): ... additions to this variable.
5458 (do-tst-unbputc): Remove target.
5459 (do-tst-printf): Likewise.
5460 * stdlib/Makefile (tests): Change dependencies to ....
5461 (tests-special): ... additions to this variable.
5462 * string/Makefile (tests): Change dependencies to ....
5463 (tests-special): ... additions to this variable.
5464 * sysdeps/x86/Makefile (tests): Change dependencies to ....
5465 (tests-special): ... additions to this variable.
5466
81700b53
JM
5467 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5468 whole file.
5469 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5470 whole file.
5471 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5472 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5473
2ea18461
JM
5474 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5475 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5476 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5477 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5478 * conform/data/libgen.h-data [XPG3]: Likewise.
5479 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5480 * conform/data/ndbm.h-data [XPG3]: Likewise.
5481 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5482 * conform/data/netdb.h-data [XPG3]: Likewise.
5483 * conform/data/netinet/in.h-data [XPG3]: Likewise.
5484 * conform/data/poll.h-data [XPG3]: Likewise.
5485 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5486 * conform/data/strings.h-data [XPG3]: Likewise.
5487 * conform/data/stropts.h-data [XPG3]: Likewise.
5488 * conform/data/sys/mman.h-data [XPG3]: Likewise.
5489 * conform/data/sys/resource.h-data [XPG3]: Likewise.
5490 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5491 Likewise.
5492 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5493 * conform/data/sys/time.h-data [XPG3]: Likewise.
5494 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5495 * conform/data/sys/uio.h-data [XPG3]: Likewise.
5496 * conform/data/sys/un.h-data [XPG3]: Likewise.
5497 * conform/data/syslog.h-data [XPG3]: Likewise.
5498 * conform/data/ucontext.h-data [XPG3]: Likewise.
5499 * conform/data/utmpx.h-data [XPG3]: Likewise.
5500 * conform/data/varargs.h-data [UNIX98]: Enable file.
5501
355bc986
JM
5502 * manual/Makefile (INSTALL_INFO): Remove variable setting.
5503
215db402
JM
5504 * math/libm-test.inc (struct test_f_f_data): Move expected results
5505 into structure for each rounding mode.
5506 (struct test_ff_f_data): Likewise.
5507 (struct test_ff_f_data_nexttoward): Likewise.
5508 (struct test_fi_f_data): Likewise.
5509 (struct test_fl_f_data): Likewise.
5510 (struct test_if_f_data): Likewise.
5511 (struct test_fff_f_data): Likewise.
5512 (struct test_c_f_data): Likewise.
5513 (struct test_f_f1_data): Likewise.
5514 (struct test_fF_f1_data): Likewise.
5515 (struct test_ffI_f1_data): Likewise.
5516 (struct test_c_c_data): Likewise.
5517 (struct test_cc_c_data): Likewise.
5518 (struct test_f_i_data): Likewise.
5519 (struct test_ff_i_data): Likewise.
5520 (struct test_f_l_data): Likewise.
5521 (struct test_f_L_data): Likewise.
5522 (struct test_fFF_11_data): Likewise.
5523 (RM_): New macro.
5524 (RM_FE_DOWNWARD): Likewise.
5525 (RM_FE_TONEAREST): Likewise.
5526 (RM_FE_TOWARDZERO): Likewise.
5527 (RM_FE_UPWARD): Likewise.
5528 (RUN_TEST_LOOP_f_f): Update references to expected results.
5529 (RUN_TEST_LOOP_2_f): Likewise.
5530 (RUN_TEST_LOOP_fff_f): Likewise.
5531 (RUN_TEST_LOOP_c_f): Likewise.
5532 (RUN_TEST_LOOP_f_f1): Likewise.
5533 (RUN_TEST_LOOP_fF_f1): Likewise.
5534 (RUN_TEST_LOOP_fI_f1): Likewise.
5535 (RUN_TEST_LOOP_ffI_f1): Likewise.
5536 (RUN_TEST_LOOP_c_c): Likewise.
5537 (RUN_TEST_LOOP_cc_c): Likewise.
5538 (RUN_TEST_LOOP_f_i): Likewise.
5539 (RUN_TEST_LOOP_f_i_tg): Likewise.
5540 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5541 (RUN_TEST_LOOP_f_b): Likewise.
5542 (RUN_TEST_LOOP_f_b_tg): Likewise.
5543 (RUN_TEST_LOOP_f_l): Likewise.
5544 (RUN_TEST_LOOP_f_L): Likewise.
5545 (RUN_TEST_LOOP_fFF_11): Likewise.
5546 * math/gen-libm-test.pl (parse_args): Output four copies of
5547 expected results for each test.
5548
67737b8f
JM
5549 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5550 (__ASSUME_UTIMES): Remove.
5551 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5552 (__ASSUME_UTIMES): Likewise.
5553
aa97dee1
JM
5554 * math/gen-auto-libm-tests.c: Update comment on output format.
5555 (output_for_one_input_case): Generate before-rounding and
5556 after-rounding information as conditions on output flags not
5557 floating-point format.
5558 * math/auto-libm-test-out: Regenerated.
5559 * math/gen-libm-test.pl (cond_value): New function.
5560 (or_cond_value): Use cond_value.
5561 (generate_testfile): Handle conditional exceptions.
5562
e6b6a857
JM
55632014-03-05 Joseph Myers <joseph@codesourcery.com>
5564
2f0a0f44
JM
5565 * math/libm-test.inc (max_valid_error): New variable.
5566 (init_max_error): Take new argument specifying whether function
5567 results are exactly determined. Set max_valid_error and bound
5568 other variables for errors based on this argument.
5569 (set_max_error): Do not record results above max_valid_error.
5570 (check_float_internal): Only accept errors of up to 0.5ulps if
5571 also at most max_valid_error.
5572 (START): Take new argument EXACT and pass it to init_max_error.
5573 (acos_test): Update call to START.
5574 (acos_test_tonearest): Likewise.
5575 (acos_test_towardzero): Likewise.
5576 (acos_test_downward): Likewise.
5577 (acos_test_upward): Likewise.
5578 (acosh_test): Likewise.
5579 (asin_test): Likewise.
5580 (asin_test_tonearest): Likewise.
5581 (asin_test_towardzero): Likewise.
5582 (asin_test_downward): Likewise.
5583 (asin_test_upward): Likewise.
5584 (asinh_test): Likewise.
5585 (atan_test): Likewise.
5586 (atanh_test): Likewise.
5587 (atan2_test): Likewise.
5588 (cabs_test): Likewise.
5589 (cacos_test): Likewise.
5590 (cacosh_test): Likewise.
5591 (carg_test): Likewise.
5592 (casin_test): Likewise.
5593 (casinh_test): Likewise.
5594 (catan_test): Likewise.
5595 (catanh_test): Likewise.
5596 (cbrt_test): Likewise.
5597 (ccos_test): Likewise.
5598 (ccosh_test): Likewise.
5599 (ceil_test): Likewise.
5600 (cexp_test): Likewise.
5601 (cimag_test): Likewise.
5602 (clog_test): Likewise.
5603 (clog10_test): Likewise.
5604 (conj_test): Likewise.
5605 (copysign_test): Likewise.
5606 (cos_test): Likewise.
5607 (cos_test_tonearest): Likewise.
5608 (cos_test_towardzero): Likewise.
5609 (cos_test_downward): Likewise.
5610 (cos_test_upward): Likewise.
5611 (cosh_test): Likewise.
5612 (cosh_test_tonearest): Likewise.
5613 (cosh_test_towardzero): Likewise.
5614 (cosh_test_downward): Likewise.
5615 (cosh_test_upward): Likewise.
5616 (cpow_test): Likewise.
5617 (cproj_test): Likewise.
5618 (creal_test): Likewise.
5619 (csin_test): Likewise.
5620 (csinh_test): Likewise.
5621 (csqrt_test): Likewise.
5622 (ctan_test): Likewise.
5623 (ctan_test_tonearest): Likewise.
5624 (ctan_test_towardzero): Likewise.
5625 (ctan_test_downward): Likewise.
5626 (ctan_test_upward): Likewise.
5627 (ctanh_test): Likewise.
5628 (ctanh_test_tonearest): Likewise.
5629 (ctanh_test_towardzero): Likewise.
5630 (ctanh_test_downward): Likewise.
5631 (ctanh_test_upward): Likewise.
5632 (erf_test): Likewise.
5633 (erfc_test): Likewise.
5634 (exp_test): Likewise.
5635 (exp_test_tonearest): Likewise.
5636 (exp_test_towardzero): Likewise.
5637 (exp_test_downward): Likewise.
5638 (exp_test_upward): Likewise.
5639 (exp10_test): Likewise.
5640 (exp10_test_tonearest): Likewise.
5641 (exp10_test_towardzero): Likewise.
5642 (exp10_test_downward): Likewise.
5643 (exp10_test_upward): Likewise.
5644 (pow10_test): Likewise.
5645 (exp2_test): Likewise.
5646 (expm1_test): Likewise.
5647 (expm1_test_tonearest): Likewise.
5648 (expm1_test_towardzero): Likewise.
5649 (expm1_test_downward): Likewise.
5650 (expm1_test_upward): Likewise.
5651 (fabs_test): Likewise.
5652 (fdim_test): Likewise.
5653 (floor_test): Likewise.
5654 (fma_test): Likewise.
5655 (fma_test_towardzero): Likewise.
5656 (fma_test_downward): Likewise.
5657 (fma_test_upward): Likewise.
5658 (fmax_test): Likewise.
5659 (fmin_test): Likewise.
5660 (fmod_test): Likewise.
5661 (fpclassify_test): Likewise.
5662 (frexp_test): Likewise.
5663 (hypot_test): Likewise.
5664 (ilogb_test): Likewise.
5665 (isfinite_test): Likewise.
5666 (finite_test): Likewise.
5667 (isgreater_test): Likewise.
5668 (isgreaterequal_test): Likewise.
5669 (isinf_test): Likewise.
5670 (isless_test): Likewise.
5671 (islessequal_test): Likewise.
5672 (islessgreater_test): Likewise.
5673 (isnan_test): Likewise.
5674 (isnormal_test): Likewise.
5675 (issignaling_test): Likewise.
5676 (isunordered_test): Likewise.
5677 (j0_test): Likewise.
5678 (j1_test): Likewise.
5679 (jn_test): Likewise.
5680 (ldexp_test): Likewise.
5681 (lgamma_test): Likewise.
5682 (gamma_test): Likewise.
5683 (lrint_test): Likewise.
5684 (lrint_test_tonearest): Likewise.
5685 (lrint_test_towardzero): Likewise.
5686 (lrint_test_downward): Likewise.
5687 (lrint_test_upward): Likewise.
5688 (llrint_test): Likewise.
5689 (llrint_test_tonearest): Likewise.
5690 (llrint_test_towardzero): Likewise.
5691 (llrint_test_downward): Likewise.
5692 (llrint_test_upward): Likewise.
5693 (log_test): Likewise.
5694 (log10_test): Likewise.
5695 (log1p_test): Likewise.
5696 (log2_test): Likewise.
5697 (logb_test): Likewise.
5698 (logb_test_downward): Likewise.
5699 (lround_test): Likewise.
5700 (llround_test): Likewise.
5701 (modf_test): Likewise.
5702 (nearbyint_test): Likewise.
5703 (nextafter_test): Likewise.
5704 (nexttoward_test): Likewise.
5705 (pow_test): Likewise.
5706 (pow_test_tonearest): Likewise.
5707 (pow_test_towardzero): Likewise.
5708 (pow_test_downward): Likewise.
5709 (pow_test_upward): Likewise.
5710 (remainder_test): Likewise.
5711 (drem_test): Likewise.
5712 (remainder_test_tonearest): Likewise.
5713 (drem_test_tonearest): Likewise.
5714 (remainder_test_towardzero): Likewise.
5715 (drem_test_towardzero): Likewise.
5716 (remainder_test_downward): Likewise.
5717 (drem_test_downward): Likewise.
5718 (remainder_test_upward): Likewise.
5719 (drem_test_upward): Likewise.
5720 (remquo_test): Likewise.
5721 (rint_test): Likewise.
5722 (rint_test_tonearest): Likewise.
5723 (rint_test_towardzero): Likewise.
5724 (rint_test_downward): Likewise.
5725 (rint_test_upward): Likewise.
5726 (round_test): Likewise.
5727 (scalb_test): Likewise.
5728 (scalbn_test): Likewise.
5729 (scalbln_test): Likewise.
5730 (signbit_test): Likewise.
5731 (sin_test): Likewise.
5732 (sin_test_tonearest): Likewise.
5733 (sin_test_towardzero): Likewise.
5734 (sin_test_downward): Likewise.
5735 (sin_test_upward): Likewise.
5736 (sincos_test): Likewise.
5737 (sinh_test): Likewise.
5738 (sinh_test_tonearest): Likewise.
5739 (sinh_test_towardzero): Likewise.
5740 (sinh_test_downward): Likewise.
5741 (sinh_test_upward): Likewise.
5742 (sqrt_test): Likewise.
5743 (sqrt_test_tonearest): Likewise.
5744 (sqrt_test_towardzero): Likewise.
5745 (sqrt_test_downward): Likewise.
5746 (sqrt_test_upward): Likewise.
5747 (tan_test): Likewise.
5748 (tan_test_tonearest): Likewise.
5749 (tan_test_towardzero): Likewise.
5750 (tan_test_downward): Likewise.
5751 (tan_test_upward): Likewise.
5752 (tanh_test): Likewise.
5753 (tgamma_test): Likewise.
5754 (trunc_test): Likewise.
5755 (y0_test): Likewise.
5756 (y1_test): Likewise.
5757 (yn_test): Likewise.
5758 (significand_test): Likewise.
5759
e6b6a857
JM
5760 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
5761 individual tests in comment.
5762 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
5763 (prev_max_error): New variable.
5764 (prev_real_max_error): Likewise.
5765 (prev_imag_max_error): Likewise.
5766 (compare_ulp_data): Don't refer to test names in comment.
5767 (find_test_ulps): Remove function.
5768 (find_function_ulps): Likewise.
5769 (find_complex_function_ulps): Likewise.
5770 (init_max_error): Take function name as argument. Look up ulps
5771 for that function.
5772 (print_ulps): Remove function.
5773 (print_max_error): Use prev_max_error instead of calling
5774 find_function_ulps.
5775 (print_complex_max_error): Use prev_real_max_error and
5776 prev_imag_max_error instead of calling find_complex_function_ulps.
5777 (check_float_internal): Take max_ulp parameter instead of calling
5778 find_test_ulps. Don't call print_ulps.
5779 (check_float): Update call to check_float_internal.
5780 (check_complex): Update calls to check_float_internal.
5781 (START): Pass argument to init_max_error.
5782 * math/gen-libm-test.pl (%results): Don't include "kind"
5783 information.
5784 (parse_ulps): Don't handle ulps of individual tests.
5785 (print_ulps_file): Likewise.
5786 (output_ulps): Likewise.
5787 * math/README.libm-test: Update.
5788 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
5789 individual tests.
5790 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
5791 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5792 * sysdeps/arm/libm-test-ulps: Likewise.
5793 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5794 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5795 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
5796 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5797 * sysdeps/microblaze/libm-test-ulps: Likewise.
5798 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5799 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5800 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5801 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5802 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5803 * sysdeps/sh/libm-test-ulps: Likewise.
5804 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5805 * sysdeps/tile/libm-test-ulps: Likewise.
5806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5807
45adef3c
JM
58082014-03-04 Joseph Myers <joseph@codesourcery.com>
5809
5810 * math/libm-test.inc (print_complex_max_error): Check separately
5811 whether real and imaginary errors are within allowed range and
5812 pass 0 to print_complex_function_ulps instead of value within
5813 allowed range.
5814
000232b9
SP
58152014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5816
d4b17258
SP
5817 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
5818 formatting.
5819 (get_handles_fopen): Likewise.
5820 (do_write_test): Likewise.
5821
091eff71
SP
5822 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
5823
fa3cd248
SP
5824 * libio/fileops.c (do_ftell): Use cached offset when
5825 available.
5826 * libio/iofwide.c (do_ftell_wide): Likewise.
5827 * libio/iofdopen.c (_IO_new_fdopen): Don't use
5828 _IO_file_attach.
5829 * libio/wfileops.c (_IO_fwide): Don't cache offset.
5830
000232b9
SP
5831 [BZ #16532]
5832 * libio/libioP.h (get_file_offset): New function.
5833 * libio/fileops.c (get_file_offset): Likewise.
5834 (do_ftell): Likewise.
5835 (_IO_new_file_seekoff): Split out ftell logic.
5836 * libio/wfileops.c (do_ftell_wide): Likewise.
5837 (_IO_wfile_seekoff): Split out ftell logic.
5838 * libio/tst-ftell-active-handler.c: New test case.
5839 * libio/Makefile (tests): Add it.
5840
116f4d1a
RM
58412014-03-03 Roland McGrath <roland@hack.frob.com>
5842
5843 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
5844 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
5845
532a6035
SP
58462014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5847
5848 [BZ #16639]
5849 * nscd/connections.c (nscd_init): Call do_exit.
5850 (start_threads): Call do_exit and notify_parent.
5851 (begin_drop_privileges): Call do_exit.
5852 (finish_drop_privileges): Likewise.
5853 * nscd/selinux.c (preserve_capabilities): Likewise.
5854 (install_real_capabilities): Likewise.
5855 (nscd_selinux_enabled): Likewise.
5856 (avc_create_thread): Likewise.
5857 (avc_alloc_lock): Likewise.
5858 (nscd_avc_init): Likewise.
5859 * nscd/nscd.c (parent_fd): New static variable.
5860 (main): Create a pipe between parent and child processes.
5861 Skip closing parent_fd.
5862 (monitor_child): New function.
5863 (do_exit): Likewise.
5864 (notify_parent): Likewise.
5865 * nscd/nscd.h (notify_parent): Likewise.
5866 (do_exit): Likewise.
5867
d6285c9f
CD
58682014-03-03 Carlos O'Donell <carlos@redhat.com>
5869
5870 * malloc/malloc.c (__libc_calloc): Revert last change.
5871
2b85d2a0
AZ
58722014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5873
5874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5875
c7debbdf
RS
58762014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5877
5878 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
5879 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
5880 implementation.
5881 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5882 (__libc_ifunc_impl_list): Likewise.
5883 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
5884 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
5885 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
5886 * string/strrchr.c: Define STRRCHR.
5887
235eed86
OB
58882014-02-28 Ondřej Bílka <neleai@seznam.cz>
5889
5890 * benchtest/bench-strtok.c (simple_strtok): Delete.
5891 (strtok_string): Use as benchmark.
5892 * string/strtok (STRTOK): New macro.
5893
8e25d1e7
CD
58942014-02-28 Carlos O'Donell <carlos@redhat.com>
5895
ef563f92
CD
5896 * manual/threads.texi: Add header and standard comments to all
5897 functions.
5898
8e25d1e7
CD
5899 * elf/dl-lookup.c (check_match): New function.
5900 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
5901 (do_lookup_x): Remove nested function check_match. Use non-nested
5902 function check_match.
5903
ff71cc37
RM
59042014-02-28 Roland McGrath <roland@hack.frob.com>
5905
f08e9a26
RM
5906 * csu/Makefile (generated, before-compile): Use += rather than =.
5907 * catgets/Makefile (generated, generated-dirs): Likewise.
5908 * debug/Makefile (generated): Likewise.
5909 * dlfcn/Makefile (generated): Likewise.
5910 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
5911 * iconvdata/Makefile (before-compile, generated): Likewise.
5912 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
5913 * libio/Makefile (generated): Likewise.
5914 * malloc/Makefile (generated): Likewise.
5915 * manual/Makefile (generated, generated-dirs): Likewise.
5916 * misc/Makefile (generated): Likewise.
5917 * posix/Makefile (generated): Likewise.
5918 * resolv/Makefile (generated): Likewise.
5919 * sunrpc/Makefile (generated, generated-dirs): Likewise.
5920 * timezone/Makefile (generated, generated-dirs): Likewise.
5921
ff71cc37
RM
5922 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
5923
fe13a20c
AZ
59242014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5925
57f41c40
AS
5926 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5927 power8 implementation.
5928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
5929 file: POWER8 llround ifunc implementation.
5930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
5931 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
5932 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
5933 POWER8 llround implementation.
5934
57f41c40
AS
5935 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
5936 power8 implementation.
5937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
5938 file: POWER8 llrint ifunc implementation.
5939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
5940 Add POWER8 implementation.
1ad8950a
AZ
5941 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
5942 POWER8 llrint implementation.
5943
57f41c40
AS
5944 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
5945 power8 implementation.
5946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
5947 file: POWER8 finite ifunc implementation.
5948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
5949 Add POWER8 implementation.
cac626d6
AZ
5950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
5951 Likewise.
5952 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
5953 POWER8 finite implementation.
5954 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
5955
57f41c40
AS
5956 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
5957 power8 implementation.
5958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
5959 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
5960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
5961 POWER8 implementation.
5962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
5963 Likewise.
57f41c40
AS
5964 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
5965 isinf implementation.
4393fc11
AZ
5966 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
5967
57f41c40
AS
5968 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
5969 (INIT_ARCH): Add hwcap2 initialization.
5970 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5971 power8 implementation.
5972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
5973 file: POWER8 isnan ifunc implementation.
487972ae
AZ
5974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
5975 POWER8 implementation.
5976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
5977 Likewise.
57f41c40
AS
5978 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
5979 isnan implementation.
487972ae
AZ
5980 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
5981
7d92b787
JY
59822014-02-27 Joey Ye <joey.ye@arm.com>
5983
5984 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5985 (_FP_NANFRAC_Q): Set to zero.
5986
1cadc858
SP
59872014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5988
5989 [BZ #16623]
5990 * math/auto-libm-test-in: New test inputs.
5991 * math/auto-libm-test-out: Regenerate.
5992 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
5993 and DA.
5994 (__cos): Likewise.
5995 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5996
f8c17e79
JM
59972014-02-27 Joseph Myers <joseph@codesourcery.com>
5998
5999 * scripts/evaluate-test.sh: Take new argument indicating whether
6000 failure is expected.
6001 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6002 indicating whether failure is expected.
6003 * conform/Makefile (test-xfail-run-conformtest): New variable.
6004 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6005 level.
6006 * posix/Makefile (test-xfail-annexc): New variable.
6007 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6008
a5f891ac
JM
60092014-02-26 Joseph Myers <joseph@codesourcery.com>
6010
6011 * argp/Makefile: Include Makeconfig immediately after defining
6012 subdir.
6013 * assert/Makefile: Likewise.
6014 * benchtests/Makefile: Likewise.
6015 * catgets/Makefile: Likewise.
6016 * conform/Makefile: Likewise.
6017 * crypt/Makefile: Likewise.
6018 * csu/Makefile: Likewise.
6019 (all): Remove target.
6020 * ctype/Makefile: Include Makeconfig immediately after defining
6021 subdir.
6022 * debug/Makefile: Likewise.
6023 * dirent/Makefile: Likewise.
6024 * dlfcn/Makefile: Likewise.
6025 * gmon/Makefile: Likewise.
6026 * gnulib/Makefile: Likewise.
6027 * grp/Makefile: Likewise.
6028 * gshadow/Makefile: Likewise.
6029 * hesiod/Makefile: Likewise.
6030 * hurd/Makefile: Likewise.
6031 (all): Remove target.
6032 * iconvdata/Makefile: Include Makeconfig immediately after
6033 defining subdir.
6034 * inet/Makefile: Likewise.
6035 * intl/Makefile: Likewise.
6036 * io/Makefile: Likewise.
6037 * libio/Makefile: Likewise.
6038 (all): Remove target.
6039 * locale/Makefile: Include Makeconfig immediately after defining
6040 subdir.
6041 * login/Makefile: Likewise.
6042 * mach/Makefile: Likewise.
6043 (all): Remove target.
6044 * malloc/Makefile: Include Makeconfig immediately after defining
6045 subdir.
6046 (all): Remove target.
6047 * manual/Makefile: Include Makeconfig immediately after defining
6048 subdir.
6049 * math/Makefile: Likewise.
6050 * misc/Makefile: Likewise.
6051 * nis/Makefile: Likewise.
6052 * nss/Makefile: Likewise.
6053 * po/Makefile: Likewise.
6054 (all): Remove target.
6055 * posix/Makefile: Include Makeconfig immediately after defining
6056 subdir.
6057 * pwd/Makefile: Likewise.
6058 * resolv/Makefile: Likewise.
6059 * resource/Makefile: Likewise.
6060 * rt/Makefile: Likewise.
6061 * setjmp/Makefile: Likewise.
6062 * shadow/Makefile: Likewise.
6063 * signal/Makefile: Likewise.
6064 * socket/Makefile: Likewise.
6065 * soft-fp/Makefile: Likewise.
6066 * stdio-common/Makefile: Likewise.
6067 * stdlib/Makefile: Likewise.
6068 * streams/Makefile: Likewise.
6069 * string/Makefile: Likewise.
6070 * sunrpc/Makefile: Likewise.
6071 (all): Remove target.
6072 * sysvipc/Makefile: Include Makeconfig immediately after defining
6073 subdir.
6074 * termios/Makefile: Likewise.
6075 * time/Makefile: Likewise.
6076 * timezone/Makefile: Likewise.
6077 (all): Remove target.
6078 * wcsmbs/Makefile: Include Makeconfig immediately after defining
6079 subdir.
6080 * wctype/Makefile: Likewise.
6081
5b456e9d
SE
60822014-02-26 Steve Ellcey <sellcey@mips.com>
6083
6084 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6085 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6086 (libc_feholdexcept_setround_mips): Ditto.
6087 (libc_feholdsetround): New.
6088 (libc_feholdsetroundf): New.
6089 (libc_feholdsetroundl): New.
6090 (libc_feupdateenv_test_mips): New.
6091 (libc_feupdateenv_test): New.
6092 (libc_feupdateenv_testf): New.
6093 (libc_feupdateenv_testl): New.
6094 (libc_feresetround): New.
6095 (libc_feresetroundf): New.
6096 (libc_feresetroundl): New.
6097 (libc_fetestexcept_mips): New.
6098 (libc_fetestexcept): New.
6099 (libc_fetestexceptf): New.
6100 (libc_fetestexceptl): New.
6101 (HAVE_RM_CTX): New.
6102 (libc_feholdexcept_setround_mips_ctx): New.
6103 (libc_feholdexcept_setround_ctx): New.
6104 (libc_feholdexcept_setroundf_ctx): New.
6105 (libc_feholdexcept_setroundl_ctx): New.
6106 (libc_fesetenv_mips_ctx): New.
6107 (libc_fesetenv_ctx): New.
6108 (libc_fesetenv_ctxf): New.
6109 (libc_fesetenv_ctxl): New.
6110 (libc_feupdateenv_mips_ctx): New.
6111 (libc_feupdateenv_ctx): New.
6112 (libc_feupdateenvf_ctx): New.
6113 (libc_feupdateenvl_ctx): New.
6114 (libc_feholdsetround_mips_ctx): New.
6115 (libc_feholdsetround_ctx): New.
6116 (libc_feholdsetroundf_ctx): New.
6117 (libc_feholdsetroundl_ctx): New.
6118 (libc_feresetround_mips_ctx): New.
6119 (libc_feresetround_ctx): New.
6120 (libc_feresetroundf_ctx): New.
6121 (libc_feresetroundl_ctx): New.
6122
085d0e35
CD
61232014-02-26 Carlos O'Donell <carlos@redhat.com>
6124
f067bf1f
CD
6125 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6126
085d0e35
CD
6127 * manual/ipc.texi: New file.
6128 * manual/Makefile (chapters): Add ipc.
6129 * manual/job.texi: Add "Inter-Process Communication" to next.
6130 * manual/process.texi: Add "Inter-Process Communication" to prev.
6131
86e58c08
AZ
61322014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6133
6134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6135
4248f0da
OB
61362014-02-26 Ondřej Bílka <neleai@seznam.cz>
6137
6138 * malloc/malloc.c (__libc_calloc): Simplify implementation.
6139
cf822e3c
OB
6140 * manual/arith.texi: Fix spaces after sentences.
6141 * manual/charset.texi: Likewise.
6142 * manual/errno.texi: Likewise.
6143 * manual/install.texi: Likewise.
6144 * manual/llio.texi: Likewise.
6145 * manual/locale.texi: Likewise.
6146 * manual/maint.texi: Likewise.
6147 * manual/math.texi: Likewise.
6148 * manual/memory.texi: Likewise.
6149 * manual/message.texi: Likewise.
6150 * manual/probes.texi: Likewise.
6151 * manual/resource.texi: Likewise.
6152 * manual/signal.texi: Likewise.
6153 * manual/socket.texi: Likewise.
6154 * manual/stdio.texi: Likewise.
6155 * manual/string.texi: Likewise.
6156 * manual/time.texi: Likewise.
6157 * manual/users.texi: Likewise.
6158
ade40b10
CD
61592014-02-25 Carlos O'Donell <carlos@redhat.com>
6160
6161 [BZ #16632]
6162 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6163 _DEFAULT_SOURCE is defined.
6164
d0503676
CD
61652014-02-25 Ulrich Drepper <drepper@gmail.com>
6166 Carlos O'Donell <carlos@redhat.com>
6167
6168 [BZ #16613]
6169 * elf/dl-tls.c (_dl_count_modids): New function.
6170 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6171 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6172 audit library and increment generation counter.
6173 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6174 * elf/tst-audit9.c: New file.
6175 * elf/tst-auditmod9a.c: New file.
6176 * elf/tst-auditmod9b.c: New file.
6177 * elf/Makefile: Add rules to build and run tst-audit9.
6178
4cbf380c
FW
61792014-02-25 Florian Weimer <fweimer@redhat.com>
6180
6181 [BZ #15347]
6182 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6183
80a56cc3
WN
61842014-02-25 Will Newton <will.newton@linaro.org>
6185
6186 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6187 (__longjmp): Restore sp and lr before restoring callee
6188 saved registers. Add longjmp and longjmp_target
6189 SystemTap probe point.
6190 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6191 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6192 Define to zero to match jmpbuf layout.
6193 * sysdeps/arm/setjmp.S: Include stap-probe.h.
6194 (__sigsetjmp): Save sp and lr before saving callee
6195 saved registers. Add setjmp SystemTap probe point.
6196
3ea0f74e
SL
61972014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6198
6199 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6200
b04acb26
AS
62012014-02-24 Andreas Schwab <schwab@suse.de>
6202
6203 [BZ #15804]
6204 * elf/pldd.c (wait_for_ptrace_stop): New function.
6205 (main): Call it after attaching.
6206
098ad55c
RM
62072014-02-22 Roland McGrath <roland@hack.frob.com>
6208
d4ec6ae1
RM
6209 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6210 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6211 Versions files is now verboten.
6212 * hurd/Versions (libc: GLIBC_2.0):
6213 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6214 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6215 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6216 * mach/Versions: Likewise.
6217
098ad55c
RM
6218 * csu/Versions: Remove unused %include.
6219 * resolv/Versions: Likewise.
6220
acd7f096
JM
62212014-02-21 Joseph Myers <joseph@codesourcery.com>
6222
f0881698
JM
6223 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6224 ($(objpfx)check-local-headers.out): Likewise.
6225 ($(objpfx)begin-end-check.out): Likewise.
6226 * Makerules (check-abi-%.out): Likewise.
6227 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6228 ($(objpfx)test2.cat): Likewise.
6229 ($(objpfx)de/libc.cat): Likewise.
6230 ($(objpfx)test-gencat.out): Likewise.
6231 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6232 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6233 ($(objpfx)noload-mem): Likewise.
6234 ($(objpfx)tst-pathopt.out): Likewise.
6235 ($(objpfx)tst-rtld-load-self.out): Likewise.
6236 ($(objpfx)tst-array1-cmp.out): Likewise.
6237 ($(objpfx)tst-array1-static-cmp.out): Likewise.
6238 ($(objpfx)tst-array2-cmp.out): Likewise.
6239 ($(objpfx)tst-array3-cmp.out): Likewise.
6240 ($(objpfx)tst-array4-cmp.out): Likewise.
6241 ($(objpfx)tst-array5-cmp.out): Likewise.
6242 ($(objpfx)tst-array5-static-cmp.out): Likewise.
6243 ($(objpfx)check-textrel.out): Likewise.
6244 ($(objpfx)check-execstack.out): Likewise.
6245 ($(objpfx)check-localplt.out): Likewise.
6246 ($(objpfx)order2-cmp.out): Likewise.
6247 ($(objpfx)tst-leaks1-mem): Likewise.
6248 ($(objpfx)tst-leaks1-static-mem): Likewise.
6249 ($(objpfx)tst-initorder-cmp.out): Likewise.
6250 ($(objpfx)tst-initorder2-cmp.out): Likewise.
6251 ($(objpfx)tst-unused-dep.out): Likewise.
6252 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6253 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6254 * iconv/Makefile (test-iconvconfig): Likewise.
6255 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6256 ($(objpfx)iconv-test.out): Likewise.
6257 ($(objpfx)tst-tables.out): Likewise.
6258 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6259 ($(objpfx)tst-gettext.out): Likewise.
6260 ($(objpfx)tst-translit.out): Likewise.
6261 ($(objpfx)tst-gettext2.out): Likewise.
6262 ($(objpfx)tst-gettext4.out): Likewise.
6263 ($(objpfx)tst-gettext6.out): Likewise.
6264 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6265 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6266 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6267 ($(objpfx)tst-fopenloc-mem.out): Likewise.
6268 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6269 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6270 * posix/Makefile ($(objpfx)globtest.out): Likewise.
6271 ($(objpfx)wordexp-tst.out): Likewise.
6272 ($(objpfx)annexc.out): Likewise.
6273 ($(objpfx)tst-fnmatch-mem): Likewise.
6274 ($(objpfx)bug-regex2-mem): Likewise.
6275 ($(objpfx)bug-regex14-mem): Likewise.
6276 ($(objpfx)bug-regex21-mem): Likewise.
6277 ($(objpfx)bug-regex31-mem): Likewise.
6278 ($(objpfx)tst-vfork3-mem): Likewise.
6279 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6280 ($(objpfx)tst-pcre-mem): Likewise.
6281 ($(objpfx)tst-boost-mem): Likewise.
6282 ($(objpfx)tst-getconf.out): Likewise.
6283 ($(objpfx)bug-ga2-mem): Likewise.
6284 ($(objpfx)bug-glob2-mem): Likewise.
6285 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6286 ($(objpfx)mtrace-tst-leaks2): Likewise.
6287 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6288 ($(objpfx)tst-printf.out): Likewise.
6289 ($(objpfx)tst-setvbuf1.out): Likewise.
6290 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6291 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6292 ($(objpfx)tst-fmtmsg.out): Likewise.
6293 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6294 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6295
acd7f096
JM
6296 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6297 * bits/sigaction.h [__USE_MISC]: Likewise.
6298 * bits/waitstatus.h: Update #endif comments.
6299 * ctype/ctype.h: Likewise.
6300 * dirent/dirent.h: Likewise.
6301 [__USE_MISC]: Remove redundant conditionals.
6302 * grp/grp.h: Update #endif comments.
6303 [__USE_GNU]: Remove redundant conditionals.
6304 [__USE_MISC]: Likewise.
6305 * inet/netinet/in.h [__USE_GNU]: Likewise.
6306 * io/sys/stat.h [__USE_MISC]: Likewise.
6307 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6308 * libio/bits/stdio.h: Update #endif comments.
6309 [__USE_MISC]: Remove redundant conditionals.
6310 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6311 * libio/stdio.h: Update #endif comments.
6312 [__USE_MISC]: Remove redundant conditionals.
6313 * math/bits/math-finite.h [__USE_MISC]: Likewise.
6314 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6315 * math/math.h: Update #else and #endif comments.
6316 [__USE_MISC]: Remove redundant conditionals.
6317 * misc/sys/uio.h: Update #endif comments.
6318 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6319 * posix/glob.h [__USE_MISC]: Likewise.
6320 * posix/sys/types.h: Update #endif comments.
6321 [__USE_MISC]: Remove redundant conditionals.
6322 * posix/sys/wait.h: Update #endif comments.
6323 [__USE_MISC]: Remove redundant conditionals.
6324 * posix/unistd.h: Update #endif comments.
6325 [__USE_MISC]: Remove redundant conditionals.
6326 * pwd/pwd.h [__USE_GNU]: Likewise.
6327 [__USE_MISC]: Likewise.
6328 * resolv/netdb.h [__USE_GNU]: Likewise.
6329 * signal/signal.h: Update #endif comments.
6330 [__USE_MISC]: Remove redundant conditionals.
6331 * stdlib/stdlib.h: Update #else and #endif comments.
6332 [__USE_MISC]: Remove redundant conditionals.
6333 [__USE_GNU]: Likewise.
6334 * string/bits/string2.h [__USE_MISC]: Likewise.
6335 * string/string.h: Update #endif comments.
6336 [__USE_MISC]: Remove redundant conditionals.
6337 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6338 Likewise.
6339 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6340 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6341 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6342 Likewise.
6343 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6344 Likewise.
6345 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6346 comments.
6347 [__USE_MISC]: Remove redundant conditionals.
6348 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6349 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6350 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6351 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6352 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6353 Likewise.
6354 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6355 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6356 Likewise.
6357 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6358 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6359 Likewise.
6360 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6361 Likewise.
6362 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6363 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6364 Likewise.
6365 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6366 Likewise.
6367 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6368 * sysdeps/x86/bits/string.h: Update #endif comments.
6369 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6370 conditionals.
6371 * time/sys/time.h: Update #endif comments.
6372 * time/time.h: Likewise.
6373 [__USE_MISC]: Remove redundant conditionals.
6374
a5d82e4e
YG
63752014-02-21 Yury Gribov <y.gribov@samsung.com>
6376
6377 [BZ #16600]
6378 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6379
9a80491d
AS
63802014-02-21 Andreas Schwab <schwab@linux-m68k.org>
6381
6382 * Versions.def (librt): Add GLIBC_2.17.
6383
105fa381
AC
63842014-02-21 Adam Conrad <adconrad@0c3.net>
6385
6386 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6387 synonym for _SYS_AUXV_H to allow direct inclusion.
6388 * sysdeps/sparc/bits/hwcap.h: Likewise.
6389 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6390 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6391 * sysdeps/sparc/sysdep.h: Likewise.
6392
b8cd1c4e
SP
63932014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6394
6395 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6396
bd939d23
RS
63972014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6398
6399 * benchtests/bench-strrchr.c: Print length instead of position.
6400
5d7b57ca
JM
64012014-02-20 Joseph Myers <joseph@codesourcery.com>
6402
bc688c10
JM
6403 [BZ #16611]
6404 * sysdeps/unix/sysv/linux/kernel-features.h
6405 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6406 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6407 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6408 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6409 Likewise.
6410 [__i386__ || __powerpc__ || __sh__ || __sparc__]
6411 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6412 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6413 (__ASSUME_SENDMMSG): Define instead of using previous
6414 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6415 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6416 (__ASSUME_SENDMMSG_SYSCALL): Define.
6417 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6418 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6419 Likewise.
6420 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6421 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6422 Likewise.
6423 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6424 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6425 Likewise.
6426 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6427 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6428 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6429 [__ASSUME_SENDMMSG]: Change conditionals to
6430 [__ASSUME_SENDMMSG_SOCKETCALL].
6431 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6432 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6433 Define.
6434 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6435 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6436 Likewise.
6437 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6438 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6439 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6440 [!__ASSUME_SENDMMSG]: Change conditional to
6441 [!__ASSUME_SENDMMSG_SOCKETCALL].
6442 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6443 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6444 Define.
6445
0e31b18c
JM
6446 [BZ #16610]
6447 * sysdeps/unix/sysv/linux/kernel-features.h
6448 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6449 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6450 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6451 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6452 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6453 [__i386__ || __sparc__]
6454 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6455 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6456 (__ASSUME_RECVMMSG): Define instead of using previous
6457 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6458 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6459 (__ASSUME_RECVMMSG_SYSCALL): Define.
6460 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6461 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6462 Likewise.
6463 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6464 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6465 Likewise.
6466 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6467 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6468 Likewise.
6469 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6470 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6471 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6472 [__ASSUME_RECVMMSG]: Change condition to
6473 [__ASSUME_RECVMMSG_SOCKETCALL].
6474 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6475 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6476 Define.
6477 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6478 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6479 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6480 Likewise.
6481 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6482 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6483 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6484 [!__ASSUME_RECVMMSG]: Change condition to
6485 [!__ASSUME_RECVMMSG_SOCKETCALL].
6486 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6487 (__ASSUME_RECVMMSG_SYSCALL): Define.
6488
dd481ccf
JM
6489 [BZ #16609]
6490 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6491 __powerpc__ || __s390__ || __sh__ || __sparc__]
6492 (__ASSUME_SOCKETCALL): Define.
6493 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6494 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6495 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6496 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6497 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6498 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6499 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
6500 (__ASSUME_ACCEPT4): Define instead of using previous
6501 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
6502 __powerpc__ || __sparc__ || __s390__)] condition.
6503 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6504 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6505 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
6506 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6507 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6508 [!__ASSUME_ACCEPT4]: Change condition to
6509 [!__ASSUME_ACCEPT4_SOCKETCALL].
6510 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6511 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
6512 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
6513 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6514 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
6515 __ASSUME_ACCEPT4_SYSCALL.
6516 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
6517 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
6518 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6519 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
6520 __ASSUME_ACCEPT4_SYSCALL.
6521 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
6522 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6523 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6524 [__ASSUME_ACCEPT4]: Change condition to
6525 [__ASSUME_ACCEPT4_SOCKETCALL].
6526 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6527 (__ASSUME_SOCKETCALL): Define.
6528 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
6529 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6530 (__ASSUME_SOCKETCALL): Define.
6531 (__ASSUME_ACCEPT4): Remove.
6532 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
6533 Define.
6534 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6535 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
6536 Likewise.
6537 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6538 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6539
5d7b57ca
JM
6540 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
6541 macro.
6542 (HWCAP_ARM_LPAE): Likewise.
6543 (HWCAP_ARM_EVTSTRM): Likewise.
6544 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
6545 Add vpfd32, lpae and evtstrm.
6546 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
6547 Increase to 22.
6548
63689d61
JM
65492014-02-19 Joseph Myers <joseph@codesourcery.com>
6550
6551 * math/auto-libm-test-in: Add tests of clog10.
6552 * math/auto-libm-test-out: Regenerated.
6553 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
6554 * sysdeps/i386/fpu/libm-test-ulps: Update.
6555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6556
ab09bf61
AS
65572014-02-18 Andreas Schwab <schwab@suse.de>
6558
6559 [BZ #16574]
6560 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
6561 Store non-zero if the second buffer was newly allocated.
6562 (send_dg): Likewise.
6563 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
6564 to send_vc and send_dg.
6565 (res_nsend): Pass NULL for ansp2_malloced.
6566 * resolv/res_query.c (__libc_res_nquery): Add parameter
6567 answerp2_malloced and pass it down to __libc_res_nsend.
6568 (res_nquery): Pass additional NULL to __libc_res_nquery.
6569 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
6570 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
6571 second answer buffer if answerp2_malloced was set.
6572 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
6573 (__libc_res_nquerydomain): Add parameter
6574 answerp2_malloced and pass it down to __libc_res_nquery.
6575 (res_nquerydomain): Pass additional NULL to
6576 __libc_res_nquerydomain.
6577 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
6578 additional NULL to __libc_res_nsend and __libc_res_nquery.
6579 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
6580 additional NULL to __libc_res_nsearch.
6581 (_nss_dns_gethostbyname4_r): Revert last change. Use new
6582 parameter of __libc_res_nsearch to check for separately allocated
6583 second buffer.
6584 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
6585 __libc_res_nquery.
6586 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
6587 additional NULL to __libc_res_nquery.
6588 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
6589 __libc_res_nsearch.
6590 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
6591 * include/resolv.h: Update prototypes of __libc_res_nquery,
6592 __libc_res_nsearch, __libc_res_nsend.
6593
a4fb7861
JM
65942014-02-18 Joseph Myers <joseph@codesourcery.com>
6595
c6af2d89
JM
6596 * math/auto-libm-test-in: Add tests of fma.
6597 * math/auto-libm-test-out: Regenerated.
6598 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
6599 (fma_towardzero_test_data): Likewise.
6600 (fma_downward_test_data): Likewise.
6601 (fma_upward_test_data): Likewise.
6602 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
6603 mpc_mode.
6604 (rounding_modes): Add values for new field.
6605 (func_calc_method): Add value mpfr_fff_f.
6606 (func_calc_desc): Add mpfr_fff_f union field.
6607 (test_function): Add field exact_args.
6608 (FUNC): Add macro argument EXACT_ARGS.
6609 (FUNC_mpfr_f_f): Update call to FUNC.
6610 (FUNC_mpfr_f_f): Likewise.
6611 (FUNC_mpfr_ff_f): Likewise.
6612 (FUNC_mpfr_if_f): Likewise.
6613 (FUNC_mpc_c_f): Likewise.
6614 (FUNC_mpc_c_c): Likewise.
6615 (test_functions): Add fma. Update calls to FUNC.
6616 (handle_input_arg): Add argument exact_args.
6617 (add_test): Update call to handle_input_arg.
6618 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
6619 (output_for_one_input_case): Update call to calc_generic_results.
6620 Recalculate exact zero results in each rounding mode.
6621
a4fb7861
JM
6622 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
6623 non-negative before setting low bit.
6624 * math/auto-libm-test-in: Mark one asin test possibly having
6625 spurious underflow.
6626 * math/auto-libm-test-out: Regenerated.
6627 * sysdeps/i386/fpu/libm-test-ulps: Update.
6628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6629
ef114eaf
DH
66302014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
6631
2b7f4f2c
SP
6632 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
6633 * sysdeps/unix/sysv/linux/microblaze: Move directory from
6634 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
6635 * README: Add missing listing for microblaze*-*-linux-gnu.
6636
c70a4b1d
MF
66372014-02-16 Mike Frysinger <vapier@gentoo.org>
6638
6639 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
6640 * sysdeps/unix/sysv/linux/ia64: Move directory from
6641 ports/sysdeps/unix/sysv/linux/ia64.
6642 * README: Update listing for ia64-*-linux-gnu.
6643
591aeaf7
TD
66442014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
6645 Joseph Myers <joseph@codesourcery.com>
6646
6647 * Makeconfig (test-name): New variable.
6648 (evaluate-test): Likewise.
6649 * Makerules (do-test-clean): Remove .test-result files.
6650 (common-mostlyclean): Likewise.
6651 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
6652 * scripts/evaluate-test.sh: New file.
6653
6e89caf1
JM
66542014-02-14 Joseph Myers <joseph@codesourcery.com>
6655
7f98f180
JM
6656 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
6657 separate $(objpfx)tst-fopenloc-cmp.out and
6658 $(objpfx)tst-fopenloc-mem.out targets.
6659 (tests): Update dependencies.
6660 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
6661 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
6662 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
6663 (tst-rxspencer-no-utf8-ARGS): New variable.
6664 (tst-rxspencer-no-utf8-ENV): Likewise.
6665 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
6666 instead of $(objpfx)tst-rxspencer-mem.
6667 ($(objpfx)tst-rxspencer-mem): Change target to
6668 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
6669 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
6670 * posix/tst-rxspencer-no-utf8.c: New file.
6671
6e89caf1
JM
6672 * elf/Makefile ($(objpfx)order.out): Remove rule.
6673 [$(run-built-tests) = yes] (tests): Depend on
6674 $(objpfx)order-cmp.out.
6675 ($(objpfx)order-cmp.out): New rule.
6676 [$(run-built-tests) = yes] (tests): Depend on
6677 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
6678 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
6679 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
6680 $(objpfx)tst-array5-static-cmp.out.
6681 ($(objpfx)tst-array1.out): Remove rule.
6682 ($(objpfx)tst-array1-cmp.out): New rule.
6683 ($(objpfx)tst-array1-static.out): Remove rule.
6684 ($(objpfx)tst-array1-static-cmp.out): New rule.
6685 ($(objpfx)tst-array2.out): Remove rule.
6686 ($(objpfx)tst-array2-cmp.out): New rule.
6687 ($(objpfx)tst-array3.out): Remove rule.
6688 ($(objpfx)tst-array3-cmp.out): New rule.
6689 ($(objpfx)tst-array4.out): Remove rule.
6690 ($(objpfx)tst-array4-cmp.out): New rule.
6691 ($(objpfx)tst-array5.out): Remove rule.
6692 ($(objpfx)tst-array5-cmp.out): New rule.
6693 ($(objpfx)tst-array5-static.out): Remove rule.
6694 ($(objpfx)tst-array5-static-cmp.out): New rule.
6695 [$(run-built-tests) = yes] (tests): Depend on
6696 $(objpfx)order2-cmp.out.
6697 ($(objpfx)order2.out): Remove rule.
6698 ($(objpfx)order2-cmp.out): New rule.
6699 ($(objpfx)tst-initorder.out): Remove rule.
6700 [$(run-built-tests) = yes] (tests): Depend on
6701 $(objpfx)tst-initorder-cmp.out.
6702 ($(objpfx)tst-initorder-cmp.out): New rule.
6703 ($(objpfx)tst-initorder2.out): Remove rule.
6704 [$(run-built-tests) = yes] (tests): Depend on
6705 $(objpfx)tst-initorder2-cmp.out.
6706 ($(objpfx)tst-initorder2-cmp.out): New rule.
6707 [$(run-built-tests) = yes] (tests): Depend on
6708 $(objpfx)tst-unused-dep-cmp.out.
6709 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
6710 ($(objpfx)tst-unused-dep-cmp.out): New rule.
6711 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
6712 on $(objpfx)tst-setvbuf1-cmp.out.
6713 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
6714 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
6715 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
6716 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
6717 ($(objpfx)tst-svc.out): Remove rule.
6718 ($(objpfx)tst-svc-cmp.out): New rule.
6719
ed9a38e2
JM
67202014-02-13 Joseph Myers <joseph@codesourcery.com>
6721
6722 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
6723 * ctype/ctype.h [__USE_MISC]: Likewise.
6724 * dirent/dirent.h [__USE_MISC]: Likewise.
6725 * grp/grp.h [__USE_MISC]: Likewise.
6726 * io/fcntl.h [__USE_MISC]: Likewise.
6727 * io/sys/stat.h [__USE_MISC]: Likewise.
6728 * libio/stdio.h [__USE_MISC]: Likewise.
6729 * posix/unistd.h [__USE_MISC]: Likewise.
6730 * pwd/pwd.h [__USE_MISC]: Likewise.
6731 * stdlib.h [__USE_MISC]: Likewise.
6732 * string/bits/string2.h [__USE_MISC]: Likewise.
6733 * string/string.h [__USE_MISC]: Likewise.
6734 * time/time.h [__USE_MISC]: Likewise.
6735
d6680619
AS
67362014-02-13 Andreas Schwab <schwab@suse.de>
6737
6738 [BZ #16574]
6739 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
6740 second answer buffer if it was separately allocated.
6741
ace614b8
JM
67422014-02-12 Joseph Myers <joseph@codesourcery.com>
6743
743151ae
JM
6744 * sysdeps/mips/math-tests.h: Include <features.h>.
6745 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6746 (ROUNDING_TESTS_long_double): Do not define.
6747 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6748 (EXCEPTION_TESTS_long_double): Likewise.
6749 * sysdeps/mips/mips64/libm-test-ulps: Update.
6750
498afc54
JM
6751 * include/features.h (__USE_BSD): Remove macro definitions.
6752 (__USE_SVID): Likewise.
6753 (_BSD_SOURCE): Likewise.
6754 (_SVID_SOURCE): Likewise.
6755 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
6756 from definition of _DEFAULT_SOURCE.
6757 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
6758 [_DEFAULT_SOURCE].
6759 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
6760 * bits/mman.h [__USE_BSD]: Likewise.
6761 * bits/termios.h [__USE_BSD]: Likewise.
6762 * bits/waitstatus.h [__USE_BSD]: Likewise.
6763 * ctype/ctype.h [__USE_SVID]: Likewise.
6764 * dirent/dirent.h [__USE_BSD]: Likewise.
6765 * grp/grp.h [__USE_SVID]: Likewise.
6766 [__USE_BSD]: Likewise.
6767 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
6768 * io/fcntl.h [__USE_BSD]: Likewise.
6769 * io/ftw.h [__USE_BSD]: Likewise.
6770 * io/sys/stat.h [__USE_BSD]: Likewise.
6771 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
6772 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
6773 * libio/stdio.h [__USE_SVID]: Likewise.
6774 [__USE_BSD]: Likewise.
6775 * math/math.h [__USE_SVID]: Likewise.
6776 [__USE_BSD]: Likewise.
6777 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
6778 * misc/bits/syslog.h [__USE_BSD]: Likewise.
6779 * misc/search.h [__USE_SVID]: Likewise.
6780 * misc/sys/mman.h [__USE_BSD]: Likewise.
6781 * misc/sys/syslog.h [__USE_BSD]: Likewise.
6782 * misc/sys/uio.h [__USE_BSD]: Likewise.
6783 * posix/bits/unistd.h [__USE_BSD]: Likewise.
6784 * posix/glob.h [__USE_BSD]: Likewise.
6785 * posix/regex.h [__USE_BSD]: Likewise.
6786 * posix/sys/types.h [__USE_BSD]: Likewise.
6787 [__USE_SVID]: Likewise.
6788 * posix/sys/utsname.h [__USE_SVID]: Likewise.
6789 * posix/sys/wait.h [__USE_BSD]: Likewise.
6790 [__USE_SVID]: Likewise.
6791 * posix/unistd.h [__USE_BSD]: Likewise.
6792 [__USE_SVID]: Likewise.
6793 * pwd/pwd.h [__USE_SVID]: Likewise.
6794 * resolv/netdb.h [__USE_BSD]: Likewise.
6795 * setjmp/setjmp.h [__USE_BSD]: Likewise.
6796 * signal/signal.h [__USE_BSD]: Likewise.
6797 [__USE_SVID]: Likewise.
6798 * socket/sys/socket.h [__USE_BSD]: Likewise.
6799 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
6800 * stdlib/stdlib.h [__USE_BSD]: Likewise.
6801 [__USE_SVID]: Likewise.
6802 * string/bits/string2.h [__USE_BSD]: Likewise.
6803 [__USE_SVID]: Likewise.
6804 * string/bits/string3.h [__USE_BSD]: Likewise.
6805 * string/endian.h [__USE_BSD]: Likewise.
6806 * string/string.h [__USE_SVID]: Likewise.
6807 [__USE_BSD]: Likewise.
6808 * string/strings.h [__USE_BSD]: Likewise.
6809 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
6810 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
6811 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
6812 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
6813 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
6814 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
6815 Likewise.
6816 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
6817 Likewise.
6818 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
6819 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
6820 Likewise.
6821 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
6822 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
6823 Likewise.
6824 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
6825 Likewise.
6826 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
6827 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
6828 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
6829 Likewise.
6830 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
6831 Likewise.
6832 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
6833 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
6834 * termios/termios.h [__USE_BSD]: Likewise.
6835 * time/sys/time.h [__USE_BSD]: Likewise.
6836 * time/time.h [__USE_BSD]: Likewise.
6837 [__USE_SVID]: Likewise.
6838
dd7b064c
JM
6839 * Makefile (subdir_targets): Remove subdir_lint.out.
6840
a2c4c199
JM
6841 * stdio-common/Makefile (do-tst-unbputc): Remove target.
6842 (do-tst-printf): Likewise.
6843 (tests): Depend directly on $(objpfx)tst-unbputc.out and
6844 $(objpfx)tst-printf.out.
6845
8756f740
JM
6846 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
6847
1b6dd3f1
JM
6848 * Makerules (check-abi-%): Change target to
6849 $(objpfx)check-abi-%.out.
6850 (check-abi target): Update dependencies.
6851 (check-abi-pattern variable): Redirect output of diff to $@.
6852 (check-abi variable): Likewise.
6853 * elf/Makefile (check-abi): Update dependencies.
6854
ace614b8
JM
6855 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
6856 unused.
6857 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
6858 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
6859 subnormal range.
6860 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
6861 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
6862 value has largest subnormal exponent.
6863 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
6864 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
6865 * sysdeps/aarch64/soft-fp/sfp-machine.h
6866 (_FP_TININESS_AFTER_ROUNDING): New macro.
6867 * sysdeps/alpha/soft-fp/sfp-machine.h
6868 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6869 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6870 Likewise.
6871 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
6872 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6873 * sysdeps/mips/soft-fp/sfp-machine.h
6874 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6875 * sysdeps/powerpc/soft-fp/sfp-machine.h
6876 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6877 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6878 Likewise.
6879 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6880 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6881 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6882 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6883 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6884 Likewise.
6885
fbfdf9cb
DAS
68862014-02-12 Dylan Alex Simon <dylan@dylex.net>
6887
6888 [BZ #16545]
6889 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
6890 model 1.
6891
68b7efaa
RH
68922014-02-12 Richard Henderson <rth@redhat.com>
6893
c70a4b1d 6894 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
6895 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
6896 * sysdeps/unix/sysv/linux/alpha: Move directory from
6897 ports/sysdeps/unix/sysv/linux/alpha.
6898 * README: Update listing for alpha-*-linux-gnu.
6899
cb4a2928
JM
69002014-02-11 Joseph Myers <joseph@codesourcery.com>
6901
c941736c
JM
6902 * include/features.h: Update comment documenting feature test
6903 macros.
6904 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
6905 _DEFAULT_SOURCE.
6906 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
6907 (_SVID_SOURCE): Likewise.
6908 (_DEFAULT_SOURCE): Update description of default features.
6909 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
6910 with _GNU_SOURCE.
6911 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
6912 (S_ISVTX): Likewise.
6913 * manual/math.texi (Mathematical Constants): Likewise.
6914 * manual/signal.texi (Interrupted Primitives): Likewise.
6915 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
6916 * math/test-matherr.c (_SVID_SOURCE): Do not define.
6917 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
6918 Don't refer to _SVID_SOURCE in warning text.
6919
e8d8d7ec
JM
6920 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6921
cb4a2928
JM
6922 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
6923 already defined.
6924 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
6925 * sysdeps/mips/dl-lookup.c: Remove.
6926 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
6927
7e6424e3
AK
69282014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6929
6930 [BZ #16447]
6931 * math/auto-libm-test-in: Add testcase for expl.
6932 * math/auto-libm-test-out: Regenerate.
6933 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
6934 calculation of unsafe.
6935 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
6936
75eff3fe
MS
69372014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
6938
6939 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
6940 * sysdeps/unix/sysv/linux/aarch64: Move directory from
6941 ports/sysdeps/unix/sysv/linux/aarch64.
6942 * README: Update listing for aarch64*-*-linux-gnu.
6943
d35f1e80
WN
69442014-02-11 Will Newton <will.newton@linaro.org>
6945
6946 * manual/probes.texi (Mathematical Function Probes): Use
6947 "triggered" instead of "hit".
6948
7b3436d4
WN
6949 * manual/probes.texi (Internal Probes): Add documentation
6950 of setjmp, longjmp and longjmp_target probes.
6951
b4f12ca3
WN
6952 * include/stap-probe.h: Add comment about probe argument
6953 format.
6954
c13a72b7
WN
6955 * malloc/mtrace.c (attribute_hidden): Remove unused macro
6956 definition. (tr_where, tr_freehook, tr_mallochook,
6957 tr_reallochook, tr_memalignhook): Use ANSI protoype.
6958
195b8165
DM
69592014-02-11 David S. Miller <davem@davemloft.net>
6960
6961 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
6962 processing int_tests.
6963
2ad7600b
JM
69642014-02-10 Joseph Myers <joseph@codesourcery.com>
6965
6966 * sysdeps/mips: Move directory from ports/sysdeps/mips.
6967 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
6968 * sysdeps/unix/sysv/linux/mips: Move directory from
6969 ports/sysdeps/unix/sysv/linux/mips.
6970 * README: Update listing for mips-*-linux-gnu and
6971 mips64-*-linux-gnu.
6972
73588a72
AS
69732014-02-10 Andreas Schwab <schwab@linux-m68k.org>
6974
6975 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
6976 * sysdeps/unix/sysv/linux/m68k: Move directory from
6977 ports/sysdeps/unix/sysv/linux/m68k.
6978 * README: Update listing for m68k-*-linux-gnu.
6979
4372980f
CM
69802014-02-10 Chris Metcalf <cmetcalf@tilera.com>
6981
6982 * sysdeps/tile: Move directory from ports/sysdeps/tile.
6983 * sysdeps/unix/sysv/linux/generic: Move directory from
6984 ports/sysdeps/unix/sysv/linux/generic.
6985 * sysdeps/unix/sysv/linux/tile: Move directory from
6986 ports/sysdeps/unix/sysv/linux/tile.
6987 * README: Update listing for tile*-*-linux-gnu.
6988
a1ffb40e
OB
69892014-02-10 Ondřej Bílka <neleai@seznam.cz>
6990
57f41c40
AS
6991 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
6992 __builtin_expect.
a1ffb40e
OB
6993 * benchtests/bench-memmem.c (simple_memmem): Likewise.
6994 * catgets/open_catalog.c (__open_catalog): Likewise.
6995 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
6996 * debug/confstr_chk.c: Likewise.
6997 * debug/fread_chk.c (__fread_chk): Likewise.
6998 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
6999 * debug/getgroups_chk.c: Likewise.
7000 * debug/mbsnrtowcs_chk.c: Likewise.
7001 * debug/mbsrtowcs_chk.c: Likewise.
7002 * debug/mbstowcs_chk.c: Likewise.
7003 * debug/memcpy_chk.c: Likewise.
7004 * debug/memmove_chk.c: Likewise.
7005 * debug/mempcpy_chk.c: Likewise.
7006 * debug/memset_chk.c: Likewise.
7007 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7008 * debug/strcat_chk.c (__strcat_chk): Likewise.
7009 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7010 * debug/strncat_chk.c (__strncat_chk): Likewise.
7011 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7012 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7013 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7014 * debug/wcpncpy_chk.c: Likewise.
7015 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7016 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7017 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7018 * debug/wcsncpy_chk.c: Likewise.
7019 * debug/wcsnrtombs_chk.c: Likewise.
7020 * debug/wcsrtombs_chk.c: Likewise.
7021 * debug/wcstombs_chk.c: Likewise.
7022 * debug/wmemcpy_chk.c: Likewise.
7023 * debug/wmemmove_chk.c: Likewise.
7024 * debug/wmempcpy_chk.c: Likewise.
7025 * debug/wmemset_chk.c: Likewise.
7026 * dirent/scandirat.c (SCANDIRAT): Likewise.
7027 * dlfcn/dladdr1.c (dladdr1): Likewise.
7028 * dlfcn/dladdr.c (dladdr): Likewise.
7029 * dlfcn/dlclose.c (dlclose_doit): Likewise.
7030 * dlfcn/dlerror.c (__dlerror): Likewise.
7031 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7032 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7033 * dlfcn/dlopen.c (dlopen_doit): Likewise.
7034 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7035 * dlfcn/dlsym.c (dlsym_doit): Likewise.
7036 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7037 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7038 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7039 Likewise.
7040 * elf/dl-conflict.c: Likewise.
7041 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7042 * elf/dl-dst.h: Likewise.
7043 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7044 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7045 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7046 * elf/dl-init.c (call_init, _dl_init): Likewise.
7047 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
7048 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7049 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7050 Likewise.
a1ffb40e
OB
7051 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7052 Likewise.
7053 * elf/dl-minimal.c (__libc_memalign): Likewise.
7054 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7055 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7056 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7057 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
7058 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7059 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
7060 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7061 * elf/dl-writev.h (_dl_writev): Likewise.
7062 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
7063 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7064 (dl_main): Likewise.
a1ffb40e
OB
7065 * elf/setup-vdso.h (setup_vdso): Likewise.
7066 * grp/compat-initgroups.c (compat_call): Likewise.
7067 * grp/fgetgrent.c (fgetgrent): Likewise.
7068 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7069 * grp/putgrent.c (putgrent): Likewise.
7070 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7071 Likewise.
7072 * hurd/hurdinit.c: Likewise.
7073 * iconvdata/8bit-gap.c (struct): Likewise.
7074 * iconvdata/ansi_x3.110.c : Likewise.
7075 * iconvdata/big5.c : Likewise.
7076 * iconvdata/big5hkscs.c : Likewise.
7077 * iconvdata/cp1255.c: Likewise.
7078 * iconvdata/cp1258.c : Likewise.
7079 * iconvdata/cp932.c : Likewise.
7080 * iconvdata/euc-cn.c: Likewise.
7081 * iconvdata/euc-jisx0213.c : Likewise.
7082 * iconvdata/euc-jp.c: Likewise.
7083 * iconvdata/euc-jp-ms.c : Likewise.
7084 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7085 * iconvdata/gb18030.c : Likewise.
7086 * iconvdata/gbbig5.c (const): Likewise.
7087 * iconvdata/gbgbk.c: Likewise.
7088 * iconvdata/gbk.c : Likewise.
7089 * iconvdata/ibm1364.c : Likewise.
7090 * iconvdata/ibm930.c : Likewise.
7091 * iconvdata/ibm932.c: Likewise.
7092 * iconvdata/ibm933.c : Likewise.
7093 * iconvdata/ibm935.c : Likewise.
7094 * iconvdata/ibm937.c : Likewise.
7095 * iconvdata/ibm939.c : Likewise.
7096 * iconvdata/ibm943.c: Likewise.
7097 * iconvdata/iso_11548-1.c: Likewise.
7098 * iconvdata/iso-2022-cn.c : Likewise.
7099 * iconvdata/iso-2022-cn-ext.c : Likewise.
7100 * iconvdata/iso-2022-jp-3.c: Likewise.
7101 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7102 * iconvdata/iso-2022-kr.c : Likewise.
7103 * iconvdata/iso646.c (gconv_end): Likewise.
7104 * iconvdata/iso_6937-2.c : Likewise.
7105 * iconvdata/iso_6937.c : Likewise.
7106 * iconvdata/iso8859-1.c: Likewise.
7107 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7108 * iconvdata/shift_jisx0213.c : Likewise.
7109 * iconvdata/sjis.c : Likewise.
7110 * iconvdata/t.61.c : Likewise.
7111 * iconvdata/tcvn5712-1.c : Likewise.
7112 * iconvdata/tscii.c: Likewise.
7113 * iconvdata/uhc.c : Likewise.
7114 * iconvdata/unicode.c (gconv_end): Likewise.
7115 * iconvdata/utf-16.c (gconv_end): Likewise.
7116 * iconvdata/utf-32.c (gconv_end): Likewise.
7117 * iconvdata/utf-7.c (base64): Likewise.
7118 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7119 * iconv/gconv_close.c (__gconv_close): Likewise.
7120 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
7121 * iconv/gconv_simple.c (internal_ucs4_loop_single)
7122 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7123 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7124 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7125 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
7126 * iconv/iconv.c (iconv): Likewise.
7127 * iconv/iconv_close.c: Likewise.
7128 * iconv/loop.c (SINGLE): Likewise.
7129 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7130 * include/atomic.h: Likewise.
7131 * inet/inet6_option.c (option_alloc): Likewise.
7132 * intl/bindtextdom.c (set_binding_values): Likewise.
7133 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7134 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7135 * intl/localealias.c (read_alias_file): Likewise.
7136 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
7137 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7138 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
7139 * libio/fmemopen.c (fmemopen): Likewise.
7140 * libio/iofgets.c (_IO_fgets): Likewise.
7141 * libio/iofgets_u.c (fgets_unlocked): Likewise.
7142 * libio/iofgetws.c (fgetws): Likewise.
7143 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7144 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
7145 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7146 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
7147 * locale/findlocale.c (_nl_find_locale): Likewise.
7148 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7149 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7150 Likewise.
7151 * locale/setlocale.c (setlocale): Likewise.
7152 * login/programs/pt_chown.c (main): Likewise.
7153 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7154 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
7155 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7156 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
7157 * math/e_exp2l.c: Likewise.
7158 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7159 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7160 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7161 * math/s_catan.c (__catan): Likewise.
7162 * math/s_catanf.c (__catanf): Likewise.
7163 * math/s_catanh.c (__catanh): Likewise.
7164 * math/s_catanhf.c (__catanhf): Likewise.
7165 * math/s_catanhl.c (__catanhl): Likewise.
7166 * math/s_catanl.c (__catanl): Likewise.
7167 * math/s_ccosh.c (__ccosh): Likewise.
7168 * math/s_ccoshf.c (__ccoshf): Likewise.
7169 * math/s_ccoshl.c (__ccoshl): Likewise.
7170 * math/s_cexp.c (__cexp): Likewise.
7171 * math/s_cexpf.c (__cexpf): Likewise.
7172 * math/s_cexpl.c (__cexpl): Likewise.
7173 * math/s_clog10.c (__clog10): Likewise.
7174 * math/s_clog10f.c (__clog10f): Likewise.
7175 * math/s_clog10l.c (__clog10l): Likewise.
7176 * math/s_clog.c (__clog): Likewise.
7177 * math/s_clogf.c (__clogf): Likewise.
7178 * math/s_clogl.c (__clogl): Likewise.
7179 * math/s_csin.c (__csin): Likewise.
7180 * math/s_csinf.c (__csinf): Likewise.
7181 * math/s_csinh.c (__csinh): Likewise.
7182 * math/s_csinhf.c (__csinhf): Likewise.
7183 * math/s_csinhl.c (__csinhl): Likewise.
7184 * math/s_csinl.c (__csinl): Likewise.
7185 * math/s_csqrt.c (__csqrt): Likewise.
7186 * math/s_csqrtf.c (__csqrtf): Likewise.
7187 * math/s_csqrtl.c (__csqrtl): Likewise.
7188 * math/s_ctan.c (__ctan): Likewise.
7189 * math/s_ctanf.c (__ctanf): Likewise.
7190 * math/s_ctanh.c (__ctanh): Likewise.
7191 * math/s_ctanhf.c (__ctanhf): Likewise.
7192 * math/s_ctanhl.c (__ctanhl): Likewise.
7193 * math/s_ctanl.c (__ctanl): Likewise.
7194 * math/w_pow.c: Likewise.
7195 * math/w_powf.c: Likewise.
7196 * math/w_powl.c: Likewise.
7197 * math/w_scalb.c (sysv_scalb): Likewise.
7198 * math/w_scalbf.c (sysv_scalbf): Likewise.
7199 * math/w_scalbl.c (sysv_scalbl): Likewise.
7200 * misc/error.c (error_tail): Likewise.
7201 * misc/pselect.c (__pselect): Likewise.
7202 * nis/nis_callback.c (__nis_create_callback): Likewise.
7203 * nis/nis_call.c (__nisfind_server): Likewise.
7204 * nis/nis_creategroup.c (nis_creategroup): Likewise.
7205 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7206 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7207 * nis/nis_getservlist.c (nis_getservlist): Likewise.
7208 * nis/nis_lookup.c (nis_lookup): Likewise.
7209 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
7210 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7211 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 7212 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
7213 * nis/nss_compat/compat-grp.c (getgrent_next_file)
7214 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7215 * nis/nss_compat/compat-initgroups.c (add_group)
7216 (internal_getgrent_r): Likewise.
7217 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7218 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7219 * nis/nss_compat/compat-spwd.c (getspent_next_file)
7220 (internal_getspnam_r): Likewise.
7221 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7222 (_nss_nis_getaliasbyname_r): Likewise.
7223 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7224 (_nss_nis_getntohost_r): Likewise.
7225 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7226 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7227 (_nss_nis_getgrgid_r): Likewise.
7228 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7229 (internal_nis_gethostent_r, internal_gethostbyname2_r)
7230 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7231 (_nss_nis_gethostbyname4_r): Likewise.
7232 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7233 (initgroups_netid): Likewise.
a1ffb40e 7234 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
7235 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7236 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7237 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7238 (_nss_nis_getprotobynumber_r): Likewise.
7239 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7240 (_nss_nis_getsecretkey): Likewise.
7241 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7242 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7243 (_nss_nis_getpwuid_r): Likewise.
7244 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7245 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7246 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7247 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7248 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7249 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
7250 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7251 Likewise.
57f41c40
AS
7252 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7253 (_nss_nisplus_getntohost_r): Likewise.
7254 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7255 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7256 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7257 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 7258 Likewise.
57f41c40
AS
7259 * nis/nss_nisplus/nisplus-initgroups.c
7260 (_nss_nisplus_initgroups_dyn): Likewise.
7261 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7262 (_nss_nisplus_getnetbyaddr_r): Likewise.
7263 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7264 (_nss_nisplus_getprotobynumber_r): Likewise.
7265 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7266 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
7267 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7268 Likewise.
57f41c40
AS
7269 * nis/nss_nisplus/nisplus-service.c
7270 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7271 (_nss_nisplus_getservbyport_r): Likewise.
7272 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7273 (_nss_nisplus_getspnam_r): Likewise.
7274 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7275 Likewise.
a1ffb40e
OB
7276 * nscd/aicache.c (addhstaiX): Likewise.
7277 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
7278 * nscd/connections.c (register_traced_file, send_ro_fd)
7279 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7280 (main_loop_epoll): Likewise.
a1ffb40e
OB
7281 * nscd/grpcache.c (addgrbyX): Likewise.
7282 * nscd/hstcache.c (addhstbyX): Likewise.
7283 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7284 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
7285 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7286 (addinnetgrX): Likewise.
7287 * nscd/nscd-client.h (__nscd_acquire_maplock)
7288 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
7289 * nscd/nscd_getai.c (__nscd_getai): Likewise.
7290 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7291 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7292 Likewise.
7293 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7294 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
7295 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7296 (__nscd_get_map_ref): Likewise.
a1ffb40e 7297 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
7298 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7299 Likewise.
a1ffb40e
OB
7300 * nscd/pwdcache.c (addpwbyX): Likewise.
7301 * nscd/selinux.c (preserve_capabilities): Likewise.
7302 * nscd/servicescache.c (addservbyX): Likewise.
7303 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7304 * posix/fnmatch.c (fnmatch): Likewise.
7305 * posix/getopt.c (_getopt_internal_r): Likewise.
7306 * posix/glob.c (glob, glob_in_dir): Likewise.
7307 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
7308 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7309 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
7310 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7311 * resolv/res_init.c: Likewise.
7312 * resolv/res_mkquery.c (res_nmkquery): Likewise.
7313 * resolv/res_query.c (__libc_res_nquery): Likewise.
7314 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7315 Likewise.
7316 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7317 * stdio-common/perror.c (perror): Likewise.
7318 * stdio-common/printf_fp.c (___printf_fp): Likewise.
7319 * stdio-common/tmpnam.c (tmpnam): Likewise.
7320 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7321 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
7322 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7323 Likewise.
a1ffb40e
OB
7324 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7325 * stdlib/putenv.c (putenv): Likewise.
7326 * stdlib/setenv.c (__add_to_environ): Likewise.
7327 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7328 * stdlib/strtol_l.c (INTERNAL): Likewise.
7329 * string/memmem.c (memmem): Likewise.
7330 * string/strerror.c (strerror): Likewise.
7331 * string/strnlen.c (__strnlen): Likewise.
7332 * string/test-memmem.c (simple_memmem): Likewise.
7333 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7334 * sunrpc/pm_getport.c (__get_socket): Likewise.
7335 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7336 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
7337 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7338 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
7339 Likewise.
7340 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7341 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7342 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7343 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7344 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
7345 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7346 Likewise.
7347 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7348 Likewise.
a1ffb40e
OB
7349 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7350 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7351 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7352 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7353 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7354 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7355 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7356 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7357 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7358 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7359 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7360 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7361 Likewise.
7362 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7363 Likewise.
7364 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7365 Likewise.
7366 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7367 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7368 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7369 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7370 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7371 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7372 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7373 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7374 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7375 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7376 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7377 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7378 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7379 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7380 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
7381 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7382 Likewise.
a1ffb40e
OB
7383 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7384 Likewise.
7385 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7386 Likewise.
7387 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7388 Likewise.
7389 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7390 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7391 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7392 Likewise.
7393 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7394 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7395 * sysdeps/posix/opendir.c (__opendirat): Likewise.
7396 * sysdeps/posix/sleep.c: Likewise.
7397 * sysdeps/posix/tempname.c: Likewise.
7398 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7399 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7400 Likewise.
57f41c40
AS
7401 * sysdeps/powerpc/powerpc32/dl-machine.h
7402 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
7403 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7404 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7405 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7406 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7407 Likewise.
7408 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7409 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7410 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7411 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7412 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7413 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7414 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7415 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7416 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7417 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7418 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7419 (elf_machine_lazy_rel): Likewise.
a1ffb40e 7420 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7421 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7422 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7423 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7424 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7425 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7426 * sysdeps/unix/grantpt.c (grantpt): Likewise.
7427 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7428 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7429 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7430 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7431 Likewise.
7432 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7433 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7434 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7435 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7436 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7437 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7438 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7439 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7440 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7441 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7442 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7443 Likewise.
7444 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7445 (__posix_fallocate64_l64): Likewise.
7446 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7447 (posix_fallocate): Likewise.
57f41c40
AS
7448 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7449 Likewise.
a1ffb40e 7450 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
7451 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7452 (getifaddrs_internal): Likewise.
a1ffb40e
OB
7453 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7454 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7455 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7456 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7457 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7458 (__posix_fallocate64_l64): Likewise.
7459 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7460 Likewise.
7461 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
7462 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7463 (__get_clockfreq): Likewise.
a1ffb40e
OB
7464 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7465 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7466 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7467 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7468 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7469 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7470 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7471 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7472 Likewise.
7473 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7474 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7475 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7476 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7477 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7478 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7479 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7480 Likewise.
7481 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7482 (posix_fallocate): Likewise.
7483 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7484 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7485 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
7486 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7487 (elf_machine_rela, elf_machine_rela_relative)
7488 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
7489 * time/asctime.c (asctime_internal): Likewise.
7490 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7491 * time/tzset.c (__tzset_parse_tz): Likewise.
7492 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7493 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7494 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7495 * wcsmbs/wcsmbsload.h: Likewise.
7496
f3d338c9
OB
7497 [BZ #15894]
7498 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
7499
57f41c40
AS
7500 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
7501 (arena_get2): Remove THREAD_STATS conditionals.
7502 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
7503 (__malloc_stats, int): Likewise.
bdfe308a 7504
d674667c
MF
75052014-02-08 Mike Frysinger <vapier@gentoo.org>
7506
7507 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
7508 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
7509
6349768c
MF
7510 * manual/setjmp.texi: Fix typos/grammar errors.
7511
0b7c7473
MF
7512 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
7513 Only return early when n is <= 0. Delete unused return statement.
7514
ac8cc9e3
MF
7515 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
7516 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
7517 * debug/tst-longjmp_chk3.c: New file.
7518
c5bb8e23
MF
7519 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
7520 (test_main): Replace code with set_fortify_handler call.
7521 * debug/test-strcpy_chk.c: Likewise.
7522 * debug/tst-chk1.c: Likewise.
7523 * debug/tst-longjmp_chk.c: Likewise.
7524 * test-skeleton.c: Include fcntl.h & paths.h
7525 (set_fortify_handler): Define.
7526
10444e42
MF
7527 * debug/tst-longjmp_chk.c: Add header comment and include
7528 ../test-skeleton.c.
7529 (do_test): Mark static.
7530 (TEST_FUNCTION): Define.
7531
1e805e8d
MF
7532 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
7533 (IP_PMTUDISC_INTERFACE): Likewise.
7534 (IP_MULTICAST_IF): Likewise.
7535 (IP_MULTICAST_TTL): Likewise.
7536 (IP_MULTICAST_LOOP): Likewise.
7537 (IP_ADD_MEMBERSHIP): Likewise.
7538 (IP_DROP_MEMBERSHIP): Likewise.
7539 (IP_UNBLOCK_SOURCE): Likewise.
7540 (IP_BLOCK_SOURCE): Likewise.
7541 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
7542 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
7543 (IP_MSFILTER): Likewise.
7544 (MCAST_JOIN_GROUP): Likewise.
7545 (MCAST_BLOCK_SOURCE): Likewise.
7546 (MCAST_UNBLOCK_SOURCE): Likewise.
7547 (MCAST_LEAVE_GROUP): Likewise.
7548 (MCAST_JOIN_SOURCE_GROUP): Likewise.
7549 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7550 (MCAST_MSFILTER): Likewise.
7551 (IP_MULTICAST_ALL): Likewise.
7552 (IP_UNICAST_IF): Likewise.
7553
73f79bb7
MF
7554 * timezone/Makefile: Delete $(have-ksh) check.
7555 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
7556 * timezone/tzselect.ksh: Add +x mode bits.
7557
8da79b60
MF
7558 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
7559 (ANON_INODE_FS_MAGIC): Likewise.
7560 (BDEVFS_MAGIC): Likewise.
7561 (BINFMTFS_MAGIC): Likewise.
7562 (BTRFS_TEST_MAGIC): Likewise.
7563 (CRAMFS_MAGIC_WEND): Likewise.
7564 (DEBUGFS_MAGIC): Likewise.
7565 (ECRYPTFS_SUPER_MAGIC): Likewise.
7566 (EXT3_SUPER_MAGIC): Likewise.
7567 (EXT4_SUPER_MAGIC): Likewise.
7568 (FUTEXFS_SUPER_MAGIC): Likewise.
7569 (HOSTFS_SUPER_MAGIC): Likewise.
7570 (HUGETLBFS_MAGIC): Likewise.
7571 (MINIX3_SUPER_MAGIC): Likewise.
7572 (MTD_INODE_FS_MAGIC): Likewise.
7573 (NILFS_SUPER_MAGIC): Likewise.
7574 (OPENPROM_SUPER_MAGIC): Likewise.
7575 (PIPEFS_MAGIC): Likewise.
7576 (PSTOREFS_MAGIC): Likewise.
7577 (QNX6_SUPER_MAGIC): Likewise.
7578 (RAMFS_MAGIC): Likewise.
7579 (REISERFS_SUPER_MAGIC_STRING): Likewise.
7580 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
7581 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
7582 (SECURITYFS_MAGIC): Likewise.
7583 (SELINUX_MAGIC): Likewise.
7584 (SMACK_MAGIC): Likewise.
7585 (SOCKFS_MAGIC): Likewise.
7586 (SQUASHFS_MAGIC): Likewise.
7587 (STACK_END_MAGIC): Likewise.
7588 (TMPFS_MAGIC): Likewise.
7589 (USBDEVICE_SUPER_MAGIC): Likewise.
7590 (V9FS_MAGIC): Likewise.
7591 (XENFS_SUPER_MAGIC): Likewise.
7592 (CRAMFS_MAGIC): Fix typo in comment.
7593 (EXT2_SUPER_MAGIC): Update comment.
7594 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
7595
464263cc
JM
75962014-02-08 Joseph Myers <joseph@codesourcery.com>
7597
c6bfe5c4
JM
7598 * sysdeps/arm: Move directory from ports/sysdeps/arm.
7599 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
7600 * sysdeps/unix/sysv/linux/arm: Move directory from
7601 ports/sysdeps/unix/sysv/linux/arm.
7602 * README: Update listing for arm-*-linux-gnueabi.
7603
464263cc
JM
7604 * README: Remove mention of am33.
7605
32749f6c
RM
76062014-02-07 Roland McGrath <roland@hack.frob.com>
7607
7608 * bits/sigset.h (__sigemptyset): Use a statement expression rather
7609 than the comma operator, to avoid "rhs of comma has no effect"
7610 compiler warnings.
7611 (__sigfillset, __sigandset, __sigorset): Likewise.
7612 * include/signal.h (__sigemptyset): Likewise.
7613 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
7614
d5b396c1
AM
76152014-02-07 Allan McRae <allan@archlinux.org>
7616
7617 * version.h (RELEASE): Set to "development".
7618 (VERSION): Set to "2.19.90"
7619 * NEWS: Add 2.20 section.
7620
3bfff2ed
CD
76212014-02-06 Carlos O'Donell <carlos@redhat.com>
7622
7623 [BZ #16529]
7624 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
7625
ee7cc385
SP
76262014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7627
7628 * manual/contrib.texi: Update entry for Carlos O'Donell,
7629 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
7630
f877c4f2
CD
76312014-02-05 Carlos O'Donell <carlos@rehdat.com>
7632
27e839f6
CD
7633 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
7634
f877c4f2
CD
7635 * sysdeps/unix/sysv/linux/kernel-features.h
7636 [__LINUX_KERNEL_VERSION >= 0x020621]
7637 (__ASSUME_PROC_PID_TASK_COMM): Define.
7638
68159946
SP
76392014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7640
ba17cdbd
SP
7641 [BZ #16398]
7642 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
7643 conversion when destination buffer does not have enough space.
7644 * libio/tst-ftell-partial-wide.c: New test case.
7645 * libio/Makefile (tests): Add tst-ftell-partial-wide.
7646
68159946
SP
7647 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
7648 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
7649 Leonard and Allan McRae.
7650
2b528732
DM
76512014-02-04 David S. Miller <davem@davemloft.net>
7652
7653 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
7654 32-bit.
7655
0ff82463
AZ
76562014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7657
57f41c40
AS
7658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7659 New file
c01603f7
AZ
7660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7661 New file
57f41c40
AS
7662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7663 New file.
7664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7665 New file.
c01603f7
AZ
7666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7667 New file.
57f41c40
AS
7668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7669 New file.
7670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7671 New file.
c01603f7
AZ
7672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7673 New file.
7674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7675 New file.
7676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7677 New file.
7678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7679 New file.
7680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7681 New file.
7682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7683 New file.
7684
76852014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7686
0ff82463
AZ
7687 * nptl/shlib-versions: Change powerpc*le start to 2.17.
7688 * shlib-versions: Likewise.
7689
1695c773
AZ
76902014-02-04 Roland McGrath <roland@hack.frob.com>
7691 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7692
7693 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
7694 (abilist-pattern): New variable, set to %-le.abilist.
7695
7696 * Makerules (abilist-pattern): New variable.
7697 (vpath): Use $(abilist-pattern) in place of %.abilist.
7698 (check-abi-% pattern rule): Likewise.
7699 (check-abi, update-abi): Likewise.
7700
6c0ce4b4
EW
77012014-02-04 Eric Wong <normalperson@yhbt.net>
7702
7703 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7704
481e3524
CD
77052014-02-03 Carlos O'Donell <carlos@redhat.com>
7706
7707 * manual/startup.texi: Add next, previous, and top entries for
7708 the `Program Arguments' and `Environment Variables' nodes.
7709
375592d3
AO
77102014-02-03 Alexandre Oliva <aoliva@redhat.com>
7711
7712 * manual/macros.texi: Add comments before MTASC-safety macros.
7713
f54838ba
AO
7714 * manual/users.texi: Document MTASC-safety properties.
7715
57f41c40
AS
7716 * manual/threads.texi (pthread_key_create, pthread_key_delete)
7717 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
7718 @deftypefun, and add @safety note.
7719 * manual/signal.texi: Move comments that analyze the above
7720 functions to their home place.
7721
fd3daba4
AM
77222014-02-03 Allan McRae <allan@archlinux.org>
7723
7724 * po/sl.po: Update Slovenian translation from translation project.
7725
597636d7
AO
77262014-02-02 Alexandre Oliva <aoliva@redhat.com>
7727
7728 * manual/time.texi (timegm): Add missing blank after @c.
7729 Reported by Joseph Myers <joseph@codesourcery.com>.
7730
ee196e3c
AO
77312014-02-01 Alexandre Oliva <aoliva@redhat.com>
7732
7733 * manual/check-safety.sh: New.
7734 * manual/Makefile ($(objpfx)stamp-summary): Run it.
7735
f8d529d5
AO
7736 * manual/terminal.texi: Document MTASC-safety properties.
7737
de55fdf4
AO
7738 * manual/filesys.texi: Document MTASC-safety properties.
7739
c3299c08
AO
7740 * manual/errno.texi: Document MTASC-safety properties.
7741
06e90b14
AO
7742 * manual/intro.texi: Document safety identifiers and
7743 conditionals.
7744
1acd4371
AO
7745 * manual/string.texi (wcstok): Fix prototype.
7746 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
7747
23e5b8cb
AO
7748 * manual/time.texi: Document MTASC-safety properties.
7749
11087373
AO
7750 * manual/string.texi: Document MTASC-safety properties.
7751
5da2c93d
AO
7752 * manual/threads.texi: Document MTASC-safety properties.
7753
171e9210
AO
7754 * manual/stdio.texi: Document MTASC-safety properties.
7755
d9e02532
AO
7756 * manual/syslog.texi: Document MTASC-safety properties.
7757
6af8bab7
AO
7758 * manual/sysinfo.texi: Document MTASC-safety properties.
7759
663b02d7
AO
7760 * manual/startup.texi: Document MTASC-safety properties.
7761
973f180b
AO
7762 * manual/socket.texi: Document MTASC-safety properties.
7763
8f3c25c8
AO
7764 * manual/signal.texi: Document MTASC-safety properties.
7765
542210fb
AO
77662014-01-31 Alexandre Oliva <aoliva@redhat.com>
7767
7768 * manual/setjmp.texi: Document MTASC-safety properties.
7769
433c45a2
AO
7770 * manual/search.texi: Document MTASC-safety properties.
7771
c8ce789c
AO
7772 * manual/resource.texi: Document MTASC-safety properties.
7773
19f5d29c
AO
7774 * manual/process.texi: Document MTASC-safety properties.
7775
e2dfb7f4
AO
7776 * manual/platform.texi: Document MTASC-safety properties.
7777
8c1413f5
AO
7778 * manual/pipe.texi: Document MTASC-safety properties.
7779
03483ada
AO
7780 * manual/pattern.texi: Document MTASC-safety properties.
7781
29e7e2df
AO
7782 * manual/message.texi: Document MTASC-safety properties.
7783
9f529d7c
AO
7784 [BZ #12751]
7785 * manual/memory.texi: Document MTASC-safety properties.
7786
27aaa791
AO
7787 * manual/math.texi: Document MTASC-safety properties.
7788
f2d58726
AO
7789 * manual/locale.texi: Document MTASC-safety properties.
7790
2cc3615c
AO
7791 * manual/llio.texi: Document MTASC-safety properties.
7792
d9f0ec97
AO
7793 * manual/libdl.texi: New.
7794
e7c4409a
AO
7795 * manual/lang.texi: Document MTASC-safety properties.
7796
27bdc63c
AO
7797 * manual/job.texi: Document MTASC-safety properties.
7798
a7b90ea9
AO
7799 * manual/getopt.texi: Document MTASC-safety properties.
7800
c49130e3
AO
7801 * manual/ctype.texi: Document MTASC-safety properties.
7802
0d23a5c1
MR
78032014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
7804
7805 [BZ #16046]
7806 * csu/libc-tls.c (static_map): Remove variable.
7807 (__libc_setup_tls): Use main executable's link map for TLS data.
7808 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
7809 casing for LM_ID_BASE and GL(dl_nns).
7810 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
7811 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
7812 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
7813 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
7814 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
7815 member.
7816 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
7817 l_phnum members.
7818
0037bb60
AO
78192014-01-30 Alexandre Oliva <aoliva@redhat.com>
7820
7821 * manual/debug.texi: Document MTASC-safety properties.
7822
409e00bd
L
78232014-01-29 H.J. Lu <hongjiu.lu@intel.com>
7824
7825 [BZ #16510]
7826 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
7827 of __x86_64__ when disabling x87 inline functions.
7828
86e60666
AO
78292014-01-29 Alexandre Oliva <aoliva@redhat.com>
7830
7831 * manual/charset.texi: Document MTASC-safety properties.
7832
76167637
AO
7833 * manual/crypt.texi: Document MTASC-safety properties.
7834
e567f2a0
AO
7835 * manual/conf.texi: Document MTASC-safety properties.
7836
b719dafd
AO
7837 * manual/arith.texi: Document MTASC-safety properties.
7838
4a16c662
AO
7839 * manual/argp.texi: Document MTASC-safety properties.
7840
0a57b83e
AO
7841 * manual/macros.texi: Introduce macros to document multi
7842 thread, asynchronous signal and asynchronous cancellation
7843 safety properties.
7844 * manual/intro.texi: Introduce the properties themselves.
7845
feab2397
KK
78462014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7847
7848 * sysdeps/sh/sh4/Makefile: New file.
7849
1c0d11bc
AS
78502014-01-27 Andreas Schwab <schwab@linux-m68k.org>
7851
7852 * math/gen-libm-test.pl ($srcdir): New variable.
7853 ($auto_input): Use it.
7854
af37a8a3
SP
78552014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7856
d7b00f98
SP
7857 [BZ #16506]
7858 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
7859 access beyond array bounds when parsing netgroups file.
7860
af37a8a3
SP
7861 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
7862 the old buffer before realloc.
7863
0c00f062
AM
78642014-01-27 Allan McRae <allan@archlinux.org>
7865
7866 * po/fr.po: Update French translation from translation project.
7867
7d69a1b0
KK
78682014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7869
7870 * sysdeps/sh/libm-test-ulps: Regenerate.
7871
6e697ff7
DM
78722014-01-24 David S. Miller <davem@davemloft.net>
7873
7874 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
7875
9cadb35c
KK
78762014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7877
7878 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
7879 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
7880
5d41dadf
SP
78812013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7882
7883 [BZ #16474]
7884 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
7885 string pointers after reallocation.
7886
0bad441c
KK
78872014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7888
7889 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
7890 __SH4A__ instead of __SH_FPU_ANY__.
7891
7007c661
KK
78922014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7893
7894 * sysdeps/sh/fpu_control.h: New file.
7895 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
7896 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7897 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
7898 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
7899 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
7900 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
7901 * sysdeps/sh/sys/ucontext.h: Remove.
7902 * sysdeps/sh/sys: Remove directory.
7903
0f0c35e4
AK
79042014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7905
7906 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
7907 s390/sys/ucontext.h.
7908 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
7909 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
7910
4959e284
L
79112014-01-20 H.J. Lu <hongjiu.lu@intel.com>
7912
7913 [BZ #15605]
7914 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
7915
d98720e0
AZ
79162014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7917
7918 [BZ#16431]
7919 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7920 Adjust the vDSO correctly for internal calls.
7921 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
7922
91cbd0bc
AM
79232014-01-20 Allan McRae <allan@archlinux.org>
7924
7925 * po/ca.po: Update Catalan translation from translation project.
7926
7a02cfad
MF
79272014-01-16 Mike Frysinger <vapier@gentoo.org>
7928
7929 * sysdeps/s390/sotruss-lib.c: New file.
7930
736c304a
AZ
79312014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7932
7933 [BZ#16430]
6e077ee5 7934 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
7935 (__GI___gettimeofday): Alias for a different internal symbol to avoid
7936 local calls issues by not having a PLT stub required for IFUNC calls.
7937 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
7938
94d0cea0
JM
79392014-01-16 Joseph Myers <joseph@codesourcery.com>
7940
7941 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
7942 * math/test-fpucw-static.c: Likewise.
7943
980cb518
SP
79442013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7945
7946 [BZ #16453]
7947 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
7948
2393fc01
AZ
79492014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7950
7951 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
7952 implementation for powerpc.
7953
d359bcc2
OB
79542014-01-15 Ondřej Bílka <neleai@seznam.cz>
7955
7956 [BZ #14782]
7957 * sysdeps/posix/system.c (__libc_system): Do not enable
7958 asynchronous cancellation.
7959
7beb48cb
AK
79602014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7961
7962 [BZ #16427]
7963 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
7964 handling only for numbers special also in the IEEE case.
7965
c20d5bf5
AK
79662014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7967
7968 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7969
e83bd4ee
AM
79702014-01-11 Allan McRae <allan@archlinux.org>
7971
76d0ea69
AM
7972 * po/bg.po: Update Bulgarian translation from translation project.
7973
e83bd4ee
AM
7974 * po/de.po: Update German translation from translation project.
7975
bc2ba20a
RM
79762014-01-10 Roland McGrath <roland@hack.frob.com>
7977
7978 * sysdeps/generic/gcc-compat.h: New file.
7979
649ecea2
SP
79802014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7981
7982 * benchtests/asin-inputs: Correct slow inputs.
7983 * benchtests/acos-inputs: Likewise.
7984
1b19c006
AM
79852014-01-10 Allan McRae <allan@archlinux.org>
7986
a46dab08
AM
7987 * po:sv.po: Update Swedish translation from translation project.
7988
421df74a
AM
7989 * po/vi.po: Update Vietnamese translation from translation project.
7990
d61c51a7
AM
7991 * po/eo.po: Update Esperanto translation from translation project.
7992
0339a319
AM
7993 * po/cs.po: Update Czech translation from translation project.
7994
94ad3e99
AM
7995 * po/nl.po: Update Dutch translation from translation project.
7996
e349ca71
AM
7997 * po/pl.po: Update Polish translation from translation project.
7998
ddf930c1
AM
7999 * po/ru.po: Update Russian translation from translation project.
8000
1b19c006
AM
8001 * po/uk.po: Update Ukrainian translation from translation project.
8002
9f236c49
BM
80032014-01-08 Brooks Moses <bmoses@google.com>
8004
8005 * elf/dl-load.c: Fix comment typo.
8006
cd6701cf
CD
80072014-01-08 Carlos O'Donell <carlos@redhat.com>
8008
8009 * po/header.pot: Rename to...
8010 * po/pot.header: ... this.
8011 * po/Makefile: Use pot.header.
8012
66671c84
YK
80132014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
8014 Maxim Kuvyrkov <maxim@kugelworks.com>
8015
8016 [BZ #16394]
cd6701cf
CD
8017 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8018 SRC and DEST against LEN.
66671c84 8019
38f34581
AZ
80202014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8021
8022 [BZ #16414]
8023 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8024 implementation.
8025 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8026
80272014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
8028
8029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8030
4c327f2a
JM
80312014-01-08 Joseph Myers <joseph@codesourcery.com>
8032
8033 [BZ #16408]
8034 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8035 for large positive arguments.
8036
b821f414
JM
80372014-01-07 Joseph Myers <joseph@codesourcery.com>
8038
1f0f2067
JM
8039 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8040
a5a326f6
JM
8041 * math/auto-libm-test-in: Mark various tests with
8042 xfail-rounding:ldbl-128ibm.
8043 * math/auto-libm-test-out: Regenerated.
8044
b821f414
JM
8045 [BZ #16407]
8046 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8047 Increase overflow threshold.
8048
94c8a4bc
OB
80492014-01-07 Ondřej Bílka <neleai@seznam.cz>
8050
8051 [BZ #14286]
8052 * stdio-common/vfprintf.c: Check for integer overflow.
8053
87ded0c3
AK
80542014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8055
8056 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8057 the first argument and return value of __tls_get_addr_internal.
8058
c5eebdd0
AK
80592014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8060
8061 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8062 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8063
05d138ef
AK
80642014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8065
8066 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8067 * sysdeps/s390/rtld-global-offsets.sym: New file.
8068 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8069 GLIBC_2.19 symbol.
8070 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8071 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8072 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8073 ... this.
8074 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8075 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8076 ... this.
8077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8078 Regenerate.
8079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8080 Regenerate.
8081 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8082 halfs of GPRs for high_gprs contexts.
8083 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8084 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
8085 field.
8086 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8087 uc_flags field.
8088 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8089 64 bit versions:
8090 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8091 for high GPRs (uc_high_gprs) and for future extensions
8092 (__reserved).
8093 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8094 for future extensions (__reserved).
8095 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8096 64 bit versions:
8097 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8098 SC_HIGHGPRS offset definition.
8099 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8100 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8101
93a45ff1
AK
8102 * Versions.def: Add GLIBC_2.19 for libpthread.
8103 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8104 siglongjmp for libpthread with GLIBC_2.19 symver.
8105 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8106 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8107 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8108 * sysdeps/s390/__longjmp.c: New file.
8109 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8110 * sysdeps/s390/longjmp.c: New file.
8111 * sysdeps/s390/setjmp.S: New file.
8112 * sysdeps/s390/sigjmp.S: New file.
8113 * sysdeps/s390/v1-longjmp.c: New file.
8114 * sysdeps/s390/v1-setjmp.h: New file.
8115 * sysdeps/s390/v1-sigjmp.c: New file.
8116 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8117 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8118 GLIBC_2.19 version.
8119 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8120 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8121 versioned symbols for ____longjmp_chk.
8122 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8123 Likewise.
8124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8125 Regenerate.
8126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8127 Regenerate.
8128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8129 Regenerate.
8130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8131 Regenerate.
8132 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8133 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8134 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8135 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8136 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8137 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8138 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8139 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8140 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8141 * sysdeps/s390/rtld-__longjmp.c: New file.
8142 * sysdeps/s390/rtld-setjmp.S: New file.
8143
eb3fc44b
JM
81442014-01-06 Joseph Myers <joseph@codesourcery.com>
8145
8146 [BZ #16400]
8147 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8148 Return -__logl (x) for small positive arguments without evaluating
8149 a polynomial.
8150
9341dde4
MF
81512014-01-06 Mike Frysinger <vapier@gentoo.org>
8152
8153 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8154 Rename to ...
8155 (__ptrace_peeksiginfo_args): ... this.
8156 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8157 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8158 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8159
4cff0293
AM
81602014-01-06 Allan McRae <allan@archlinux.org>
8161
8162 * inet/netinet/in.h: Fix typo in comment.
8163
75595dcf
AJ
81642014-01-05 Andreas Jaeger <aj@suse.de>
8165
8166 * sysdeps/i386/fpu/libm-test-ulps: Update.
8167
79c1e109
AM
81682014-01-05 Allan McRae <allan@archlinux.org>
8169
dd804818
AM
8170 * po/libc.pot: Regenerated.
8171
79c1e109
AM
8172 * malloc/memusagestat.c: Fix gettext call formatting.
8173
0c813d1f
SK
81742014-01-04 Sami Kerola <kerolasa@iki.fi>
8175
8176 * nscd/nscd.c: Improve usage() output.
8177
20f4a8d9
MF
81782014-01-04 Mike Frysinger <vapier@gentoo.org>
8179
8180 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8181 * sysdeps/unix/sysv/linux/configure: Regenerated.
8182 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8183 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8184
22562bb2
JM
81852014-01-03 Joseph Myers <joseph@codesourcery.com>
8186
8187 [BZ #16390]
8188 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8189 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8190
d7ad2d9b
AZ
81912014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8192
8193 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8194 extra tokens at end of #undef directive.
8195 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8196 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8197 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8198
7dd009d8
JM
81992014-01-03 Joseph Myers <joseph@codesourcery.com>
8200
24db925a
JM
8201 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8202
7dd009d8
JM
8203 * math/auto-libm-test-in: Mark various tests with
8204 xfail-rounding:ldbl-128ibm.
8205 * math/auto-libm-test-out: Regenerated.
8206
396e3ecf
JM
82072014-01-02 Joseph Myers <joseph@codesourcery.com>
8208
819e5d50
JM
8209 [BZ #16386]
8210 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8211 numbers with subnormal high part when calculating exponent.
8212
90b6a1e5
JM
8213 [BZ #16385]
8214 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8215 fabs.
8216
396e3ecf
JM
8217 [BZ #16384]
8218 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8219 M_LN2l.
8220 (__ieee754_acoshl): Use __log1pl not __log1p.
8221
6c8dbf00
OB
82222013-01-02 Ondřej Bílka <neleai@seznam.cz>
8223
57f41c40
AS
8224 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8225 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8226 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8227 (grow_heap, heap_trim, _int_new_arena, get_free_list)
8228 (reused_arena, arena_get2): Convert to GNU style.
8229 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8230 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8231 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 8232 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
8233 * malloc/malloc.c (__malloc_assert, malloc_init_state)
8234 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8235 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8236 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8237 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8238 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 8239 * malloc/malloc.h: Likewise.
57f41c40
AS
8240 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8241 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 8242 * malloc/mcheck.h: Likewise.
57f41c40
AS
8243 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8244 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
8245 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8246 * malloc/morecore.c (__default_morecore): Likewise.
8247 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
8248 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8249 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8250 (print_and_abort): Likewise.
6c8dbf00
OB
8251 * malloc/obstack.h: Likewise.
8252 * malloc/set-freeres.c (__libc_freeres): Likewise.
8253 * malloc/tst-mallocstate.c (main): Likewise.
8254 * malloc/tst-mtrace.c (main): Likewise.
8255 * malloc/tst-realloc.c (do_test): Likewise.
8256
d4124212
SP
82572013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8258
9a3c6a6f
SP
8259 [BZ #16366]
8260 * nscd/netgroupcache.c (do_notfound): New function.
8261 (addgetnetgrentX): Use it.
8262
d4124212
SP
8263 [BZ # 16365]
8264 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8265 NSS_STATUS_NOTFOUND.
8266
97b9a009
JM
82672014-01-01 Joseph Myers <joseph@codesourcery.com>
8268
8269 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8271
d4697bc9
AM
82722014-01-01 Allan McRae <allan@archlinux.org>
8273
ddb3687f
AM
8274 * scripts/update-copyrights: Update configure input file suffix.
8275
88726d48
AM
8276 * NEWS: Update copyright year.
8277 * catgets/gencat.c: Likewise.
8278 * csu/version.c: Likewise.
8279 * debug/catchsegv.sh: Likewise.
8280 * debug/pcprofiledump.c: Likewise.
8281 * debug/xtrace.sh: Likewise.
8282 * elf/ldconfig.c: Likewise.
8283 * elf/ldd.bash.in: Likewise.
8284 * elf/pldd.c: Likewise.
8285 * elf/sotruss.ksh: Likewise.
8286 * elf/sprof.c: Likewise.
8287 * iconv/iconv_prog.c: Likewise.
8288 * iconv/iconvconfig.c: Likewise.
8289 * locale/programs/locale.c: Likewise.
8290 * locale/programs/localedef.c: Likewise.
8291 * login/programs/pt_chown.c: Likewise.
8292 * malloc/memusage.sh: Likewise.
8293 * malloc/memusagestat.c: Likewise.
8294 * malloc/mtrace.pl: Likewise.
8295 * manual/libc.texinfo: Likewise.
8296 * nscd/nscd.c: Likewise.
8297 * nss/getent.c: Likewise.
8298 * nss/makedb.c: Likewise.
8299 * posix/getconf.c: Likewise.
8300 * scripts/test-installation.pl: Likewise.
8301
d4697bc9
AM
8302 * All files with FSF copyright notices: Update copyright dates
8303 using scripts/update-copyrights.
8304 * intl/plural.c: Regenerated.
8305 * locale/programs/charmap-kw.h: Likewise.
8306 * locale/programs/locfile-kw.h: Likewise.
8307
c8590f9d
MF
83082013-12-31 Mike Frysinger <vapier@gentoo.org>
8309
8310 * sysdeps/unix/sysv/linux/configure: Regenerated.
8311 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8312 the linux/fanotify.h header.
8313 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8314 HAVE_LINUX_FANOTIFY_H is defined.
8315
b19221b9
SP
83162013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8317
dd1d85e5
SP
8318 * benchtests/cos-inputs: New inputs.
8319 * benchtests/sin-inputs: Likewise.
8320
1acbb90f
SP
8321 * benchtests/atan-inputs: New inputs. Fix name of multiple
8322 precision fallback inputs.
8323
4c012ed3
SP
8324 * benchtests/atanh-inputs: New inputs.
8325 * benchtests/tanh-inputs: Likewise.
8326
eff98324
SP
8327 * benchtests/acosh-inputs: New inputs.
8328 * benchtests/asinh-inputs: Likewise.
8329
ce641152
SP
8330 * benchtests/cosh-inputs: New inputs.
8331 * benchtests/sinh-inputs: Likewise.
8332
b19221b9
SP
8333 * benchtests/acos-inputs: Add more inputs.
8334 * benchtests/asin-inputs: Likewise.
8335
030a4976 83362013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 8337
030a4976 8338 [BZ #16375]
9dcc8f11
VS
8339 * manual/arith.texi: Fix spelling.
8340 * manual/charset.texi: Likewise.
8341 * manual/errno.texi: Likewise.
8342 * manual/filesys.texi: Likewise.
8343 * manual/lang.texi: Likewise.
8344 * manual/llio.texi: Likewise.
8345 * manual/locale.texi: Likewise.
8346 * manual/message.texi: Likewise.
8347 * manual/resource.texi: Likewise.
8348 * manual/search.texi: Likewise.
8349 * manual/setjmp.texi: Likewise.
8350 * manual/stdio.texi: Likewise.
8351 * manual/string.texi: Likewise.
8352 * manual/sysinfo.texi: Likewise.
8353 * manual/time.texi: Likewise.
8354
11520a57
CD
83552013-12-27 Carlos O'Donell <carlos@redhat.com>
8356
8357 * po/sl.po: New file.
8358
471103ae
MF
83592013-12-27 Mike Frysinger <vapier@gentoo.org>
8360
8361 * .gitignore: Add core/.gdbinit/.gdb_history.
8362
6c9642ed
AM
83632013-12-27 Allan McRae <allan@archlinux.org>
8364
8365 [BZ #16369]
8366 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8367 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8368
3f637079
BM
83692013-12-24 Brooks Moses <bmoses@google.com>
8370
8371 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8372 all compilers that claim C++98 compliance, not just GCC.
8373 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8374 Likewise.
8375
abc26e99
MK
83762013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8377
8378 * NEWS: Restore accidentally deleted bug-fix entries.
8379
362b47fe
MK
83802013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8381 Ondřej Bílka <neleai@seznam.cz>
8382
8383 [BZ #15073]
8384 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 8385 have_lock.
362b47fe 8386
b9bcbbcb
OB
83872013-12-23 Ondřej Bílka <neleai@seznam.cz>
8388
8389 [BZ #12986]
8390 * manual/stdio.texi (String Input Conversions): Clarify that character
8391 classes are not supported.
8392
fb55fcd2
AZ
83932013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8394
8395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8396
ef7344f0
JM
83972013-12-22 Joseph Myers <joseph@codesourcery.com>
8398
4f40e4b3
JM
8399 [BZ #16337]
8400 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8401 Calculate results for small negative arguments directly rather
8402 than using reflection formula with special underflow handling.
8403
ef7344f0
JM
8404 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8405 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8406 sysdeps/unix/bsd/bsd4.4/syscalls.list.
8407 (fchflags): Likewise.
8408 (revoke): Likewise.
8409 (setlogin): Likewise.
8410 (sigaltstack): Likewise.
8411 (wait4): Likewise.
8412 (sigblock): Remove.
8413 (sigsetmask): Likewise.
8414 (wait3): Likewise.
8415 (waitpid): Likewise.
8416 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8417 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8418 file.
8419 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8420 * sysdeps/unix/bsd/Makefile: ... here.
8421 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8422 * sysdeps/unix/bsd/Versions: ... here.
8423 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8424 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8425 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8426 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8427 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8428 * sysdeps/unix/bsd/sigblock.c: ... here.
8429 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8430 * sysdeps/unix/bsd/sigsetmask.c: ... here.
8431 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8432 * sysdeps/unix/bsd/sigvec.c: ... here.
8433 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8434 * sysdeps/unix/bsd/tcdrain.c: ... here.
8435 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8436 * sysdeps/unix/bsd/tcgetattr.c: ... here.
8437 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8438 * sysdeps/unix/bsd/tcsetattr.c: ... here.
8439 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8440 * sysdeps/unix/bsd/wait.c: ... here.
8441 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8442 * sysdeps/unix/bsd/wait3.c: ... here.
8443 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8444 * sysdeps/unix/bsd/waitpid.c: ... here.
8445
5b0626b9
JM
84462013-12-21 Joseph Myers <joseph@codesourcery.com>
8447
8448 [BZ #16356]
8449 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8450 round-to-nearest for [!USE_AS_EXPM1L].
8451 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8452 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
8453 more tests of exp and exp10. Expect some exp10 tests to miss
8454 exceptions or fail in directed rounding modes.
8455 * math/auto-libm-test-out: Regenerated.
8456 * math/libm-test.inc (exp10_tonearest_test_data): New array.
8457 (exp10_test_tonearest): New function.
8458 (exp10_towardzero_test_data): New array.
8459 (exp10_test_towardzero): New function.
8460 (exp10_downward_test_data): New array.
8461 (exp10_test_downward): New function.
8462 (exp10_upward_test_data): New array.
8463 (exp10_test_upward): New function.
8464 (main): Call the new functions.
8465 * sysdeps/i386/fpu/libm-test-ulps: Update.
8466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8467
7fda5682
JM
84682013-12-20 Joseph Myers <joseph@codesourcery.com>
8469
31e3a405
JM
8470 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8471 asinh, atan, atan2, atanh, cbrt, cos and cosh.
8472 * math/auto-libm-test-out: Regenerated.
8473 * math/libm-test.inc (acosh_test_data): Add more tests.
8474 (atanh_test_data): Likewise.
8475 (ceil_test_data): Likewise.
8476 (copysign_test_data): Likewise.
8477 * sysdeps/i386/fpu/libm-test-ulps: Update.
8478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8479
85bff96a
JM
8480 * timezone/checktab.awk: Update from tzcode 2013i.
8481 * timezone/private.h: Likewise.
8482 * timezone/scheck.c: Likewise.
8483 * timezone/tzfile.h: Likewise.
8484 * timezone/tzselect.ksh: Likewise.
8485 * timezone/zdump.c: Likewise.
8486 * timezone/zic.c: Likewise.
8487
b7867a3b
JM
8488 * math/auto-libm-test-in: Add tests of cpow.
8489 * math/auto-libm-test-out: Regenerated.
8490 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 8491 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
8492 mpc_cc_c.
8493 (func_calc_desc): Add mpc_cc_c union field.
8494 (test_functions): Add cpow.
8495 (special_fill_2pi): New function.
8496 (special_real_inputs): Add 2pi.
8497 (calc_generic_results): Handle mpc_cc_c.
8498 * sysdeps/i386/fpu/libm-test-ulps: Update.
8499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8500
7fda5682
JM
8501 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
8502 csqrt, ctan and ctanh.
8503 * math/auto-libm-test-out: Regenerated.
8504 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8505 (TEST_COND_x86): Likewise.
8506 (ccos_test_data): Use AUTO_TESTS_c_c.
8507 (ccosh_test_data): Likewise.
8508 (cexp_test_data): Likewise.
8509 (clog_test_data): Likewise.
8510 (csqrt_test_data): Likewise.
8511 (ctan_test_data): Likewise.
8512 (ctan_tonearest_test_data): Likewise.
8513 (ctan_towardzero_test_data): Likewise.
8514 (ctan_downward_test_data): Likewise.
8515 (ctan_upward_test_data): Likewise.
8516 (ctanh_test_data): Likewise.
8517 (ctanh_tonearest_test_data): Likewise.
8518 (ctanh_towardzero_test_data): Likewise.
8519 (ctanh_downward_test_data): Likewise.
8520 (ctanh_upward_test_data): Likewise.
8521 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8522 mpc_c_c.
8523 (func_calc_desc): Add mpc_c_c union field.
8524 (FUNC_mpc_c_c): New macro.
8525 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
8526 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
8527 ctanh.
8528 (special_fill_min_subnorm_p120): New function.
8529 (special_real_inputs): Add min_subnorm_p120.
8530 (calc_generic_results): Handle mpc_c_c.
8531 * sysdeps/i386/fpu/libm-test-ulps: Update.
8532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8533
5ff8d60e
SP
85342013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8535
57f41c40
AS
8536 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
8537 (do_sin_slow): New functions.
8538 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
8539 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 8540
84ba214c
SP
8541 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
8542 Use M to change sign of result instead of X. Assume X is
8543 positive.
8544 (csloww1): Likewise.
8545 (__sin): Adjust.
8546 (__cos): Adjust.
8547
975195e4
SP
8548 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
8549 arguments A and DA.
8550 (__sin): Adjust.
8551 (__cos): Likewise.
8552
5ff8d60e
SP
8553 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
8554 (__cos): Likewise.
8555 (sloww1): Don't adjust sign of DX.
8556 (csloww1): Likewise.
8557 (sloww2): Use X directly and don't adjust sign of DX.
8558 (csloww2): Likewise.
8559
eb983568
JM
85602013-12-19 Joseph Myers <joseph@codesourcery.com>
8561
64a17f1a
JM
8562 * math/auto-libm-test-in: Add tests of cabs and carg.
8563 * math/auto-libm-test-out: Regenerated.
8564 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
8565 (carg_test_data): Likewise.
8566 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8567 mpc_c_f.
8568 (func_calc_desc): Add mpc_c_f union field.
8569 (test_functions): Add cabs and carg.
8570 (calc_generic_results): Handle mpc_c_f.
8571
eb983568
JM
8572 * sysdeps/powerpc/powerpc32/libgcc-compat.S
8573 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
8574 as a macro and a compat symbol.
8575 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8576 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8577 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8578 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8579 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
8580 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
8581 not use .hidden.
8582 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
8583 Likewise.
8584 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
8585 Likewise.
8586 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
8587 Likewise.
8588 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
8589 Likewise.
8590 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
8591 Likewise.
8592 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
8593 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
8594 from GLIBC_2.3.2.
8595
6eeb678a
AZ
85962013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8597
8598 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8599
6f6fc482
JM
86002013-12-19 Joseph Myers <joseph@codesourcery.com>
8601
21fea2e2
JM
8602 * manual/texinfo.tex: Update to version 2013-11-26.10 with
8603 trailing whitespace removed.
8604 * scripts/config.guess: Update to version 2013-11-29.
8605 * scripts/config.sub: Update to version 2013-10-01.
8606
6f6fc482
JM
8607 * math/auto-libm-test-in: Add tests of sincos.
8608 * math/auto-libm-test-out: Regenerated.
8609 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
8610 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8611 mpfr_f_11.
8612 (func_calc_desc): Add mpfr_f_11 union field.
8613 (test_functions): Add sincos.
8614 (calc_generic_results): Handle mpfr_f_11.
8615 * sysdeps/i386/fpu/libm-test-ulps: Update.
8616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8617
83f5c32d
AS
86182013-12-19 Andreas Schwab <schwab@suse.de>
8619
8620 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
8621 CALL_MCOUNT.
8622 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8623 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
8624 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
8625
c688b419
JM
86262013-12-19 Joseph Myers <joseph@codesourcery.com>
8627
335ee092
JM
8628 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
8629 * sysdeps/i386/fpu/libm-test-ulps: Update.
8630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8631
f88acd39
JM
8632 [BZ #16293]
8633 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
8634 round-to-nearest mode when using frndint.
8635 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
8636 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8637 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8638 Likewise.
8639 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
8640 sinh test to fail.
8641 * math/auto-libm-test-out: Regenerated.
8642 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
8643 (TEST_COND_x86): Likewise.
8644 (expm1_tonearest_test_data): New array.
8645 (expm1_test_tonearest): New function.
8646 (expm1_towardzero_test_data): New array.
8647 (expm1_test_towardzero): New function.
8648 (expm1_downward_test_data): New array.
8649 (expm1_test_downward): New function.
8650 (expm1_upward_test_data): New array.
8651 (expm1_test_upward): New function.
8652 (main): Run the new test functions.
8653 * sysdeps/i386/fpu/libm-test-ulps: Update.
8654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8655
c688b419
JM
8656 * include/features.h: Update comment documenting feature test
8657 macros. Mention _DEFAULT_SOURCE in comment.
8658 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
8659 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
8660 _BSD_SOURCE and _SVID_SOURCE.
8661 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
8662 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
8663 !_SVID_SOURCE]: Likewise.
8664 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8665 (__USE_POSIX_IMPLICITLY): Define.
8666 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8667 (_POSIX_SOURCE): Undefine and redefine.
8668 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8669 (_POSIX_C_SOURCE): Likewise.
8670 * manual/creature.texi (_DEFAULT_SOURCE): Document.
8671 (Feature Test Macros): Update documentation of default features.
8672
9f6e964c
RS
86732013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8674
8675 * benchtests/Makefile: Add bench-strtok.
8676 * benchtests/bench-strtok.c: New file: strtok benchtest.
8677
ee0a148a
AM
86782013-12-19 Allan McRae <allan@archlinux.org>
8679
8680 * manual/install.texi: Suppress menu for plain text output.
8681 * INSTALL: Regenerated.
8682
b9ab448f
BM
86832013-12-18 Brooks Moses <bmoses@google.com>
8684
8685 [BZ #15846]
8686 * misc/getauxval.c: Include errno.h.
8687 (__getauxval): Set errno to ENOENT if the requested type is not
8688 found.
8689 * misc/sys/auxv.h (getauxval): Document that it may set errno;
8690 don't declare with __attribute_const__.
8691 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
8692 * manual/startup.texi: Document that getauxval sets errno.
8693
23776487
JM
86942013-12-18 Joseph Myers <joseph@codesourcery.com>
8695
f889953b
JM
8696 * math/auto-libm-test-in: Add tests of jn and yn.
8697 * math/auto-libm-test-out: Regenerated.
8698 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
8699 (yn_test_data): Likewise.
8700 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8701 mpfr_if_f.
8702 (func_calc_desc): Add mpfr_if_f union field.
8703 (FUNC_mpfr_if_f): New macro.
8704 (test_functions): Add jn and yn.
8705 (calc_generic_results): Assert type of second input for
8706 mpfr_ff_f. Handle mpfr_if_f.
8707 (output_for_one_input_case): Disable all checking for arguments
8708 fitting floating-point types in case of an integer argument.
8709 * sysdeps/i386/fpu/libm-test-ulps: Update.
8710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8711
23776487
JM
8712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8713 Don't expect fegetround reference in libm.so.
8714
cb756c6d
MS
87152013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8716
8717 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
8718 $(config-cflags-nofma).
8719
2dec468f
JM
87202013-12-18 Joseph Myers <joseph@codesourcery.com>
8721
5953eb3a
JM
8722 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
8723 * math/auto-libm-test-out: Regenerated.
8724
2dec468f
JM
8725 [BZ #16338]
8726 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
8727 to determine exponent and adjust argument to have exponent of -1.
8728 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8729 log2.
8730 * math/auto-libm-test-out: Regenerated.
8731 * sysdeps/i386/fpu/libm-test-ulps: Update.
8732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8733
4d84e6ad
OB
87342013-12-18 Ondřej Bílka <neleai@seznam.cz>
8735
8736 * manual/probes.texi: Remove cases when per-thread arenas are
8737 disabled.
8738
1818483b
AS
87392013-12-18 Andreas Schwab <schwab@suse.de>
8740
8741 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
8742 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
8743 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
8744 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
8745 * sysdeps/i386/i686/multiarch/Makefile: Update.
8746 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
8747
25de95bf
JM
87482013-12-17 Joseph Myers <joseph@codesourcery.com>
8749
8750 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
8751 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8752
674762d9
PE
87532013-12-17 Paul Eggert <eggert@cs.ucla.edu>
8754
ed27ed83 8755 [BZ #15968]
0748546f
PE
8756 Support TZ transition times < 00:00:00.
8757 This is needed for version-3 tz-format files; it supports time
8758 stamps past 2037 for America/Godthab (the only entry in the tz
8759 database for which this change is relevant).
8760 * manual/time.texi (TZ Variable): Document transition times
8761 from -167:59:59 through -00:00:01.
8762 * time/tzset.c (tz_rule): Time of day is now signed.
8763 (__tzset_parse_tz): Parse negative time of day.
8764
4480e934
PE
8765 Document TZ transition times >= 25:00:00.
8766 * manual/time.texi (TZ Variable): Document transition times from
8767 25:00:00 through 167:59:59. These are already supported, and this
8768 support will help with version-3 tz-format files.
8769
69947401
PE
8770 * manual/time.texi (TZ Variable): Modernize North America example
8771 to reflect current (i.e., 2007-and-later) daylight saving rules.
8772
674762d9
PE
8773 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
8774
7011c262
JM
87752013-12-17 Joseph Myers <joseph@codesourcery.com>
8776
2fc6557e
JM
8777 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
8778 * sysdeps/unix/bsd/bits/stat.h: Likewise.
8779 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
8780 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8781 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
8782 * sysdeps/unix/bsd/bsdstat.h: Likewise.
8783 * sysdeps/unix/bsd/clock.c: Likewise.
8784 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
8785 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
8786 * sysdeps/unix/bsd/init-posix.c: Likewise.
8787 * sysdeps/unix/bsd/poll.c: Likewise.
8788 * sysdeps/unix/bsd/ptsname.c: Likewise.
8789 * sysdeps/unix/bsd/seekdir.c: Likewise.
8790 * sysdeps/unix/bsd/setegid.c: Likewise.
8791 * sysdeps/unix/bsd/seteuid.c: Likewise.
8792 * sysdeps/unix/bsd/setgid.c: Likewise.
8793 * sysdeps/unix/bsd/setrgid.c: Likewise.
8794 * sysdeps/unix/bsd/setruid.c: Likewise.
8795 * sysdeps/unix/bsd/setsid.c: Likewise.
8796 * sysdeps/unix/bsd/setuid.c: Likewise.
8797 * sysdeps/unix/bsd/sigaction.c: Likewise.
8798 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
8799 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
8800 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8801 * sysdeps/unix/bsd/telldir.c: Likewise.
8802 * sysdeps/unix/bsd/times.c: Likewise.
8803 * sysdeps/unix/bsd/usleep.c: Likewise.
8804
029c7b25
JM
8805 * misc/Makefile (install-lib): Remove libbsd-compat.a.
8806 ($(objpfx)libbsd-compat.a): Remove rule.
8807
7011c262
JM
8808 * include/features.h (__FAVOR_BSD): Do not define.
8809 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
8810 features conflicting with POSIX.
8811 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
8812 (_BSD_SOURCE): Remove description of not being a subset of other
8813 feature test macros.
8814 * manual/job.texi (getpgrp): Do not document BSD version.
8815 (getpgid): Do not document by reference to BSD getpgrp.
8816 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
8817 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
8818 * signal/signal.h [__FAVOR_BSD]: Likewise.
8819 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
8820 instead of making contents conditional on [__FAVOR_BSD].
8821 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
8822
affb6f78
AZ
88232013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8824
8825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8826
c88769dd
JM
88272013-12-17 Joseph Myers <joseph@codesourcery.com>
8828
6432a540
JM
8829 [BZ #16314]
8830 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
8831 values below 2**-450, not 2**-500.
8832 * math/auto-libm-test-in: Don't allow spurious underflow from
8833 hypot.
8834 * math/auto-libm-test-out: Regenerated.
8835
c88769dd
JM
8836 [BZ #16316]
8837 [BZ #16330]
8838 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
8839 values of ha and hb and sort them after adjusting subnormal
8840 arguments.
8841 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8842 Likewise.
8843 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
8844 values of ea and eb and sort them after adjusting subnormal
8845 arguments.
8846 * math/auto-libm-test-in: Do not expect some hypot tests of
8847 subnormals to fail. Add more hypot tests.
8848 * math/auto-libm-test-out: Regenerated.
8849
29618f6b
KK
88502013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8851
8852 [BZ #13304]
8853 * sysdeps/sh/s_fma.c: New file.
8854 * sysdeps/sh/s_fmaf.c: New file.
8855 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
8856 version.
8857 * sysdeps/sh/Implies: Add sh/soft-fp.
8858
eacfdfbf
RM
88592013-12-16 Roland McGrath <roland@hack.frob.com>
8860
8861 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
8862 level of indirection to members `objname', `errstring', `malloced'.
8863 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
8864 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
8865 it as the __longjmp argument (just pass 1 instead).
8866 (_dl_catch_error): Initialize C with argument pointers and address of
8867 volatile local ERRCODE rather than copying values out of C at return.
8868
ff362e5b
JM
88692013-12-16 Joseph Myers <joseph@codesourcery.com>
8870
8871 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
8872 * math/auto-libm-test-out: Regenerated.
8873 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
8874 (hypot_test_data): Likewise.
8875 (pow_test_data): Likewise.
8876 (pow_tonearest_test_data): Likewise.
8877 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8878 mpfr_ff_f.
8879 (func_calc_desc): Add mpfr_ff_f union field.
8880 (FUNC_mpfr_ff_f): New macro.
8881 (test_functions): Add atan2, hypot and pow.
8882 (special_fill_min): New function.
8883 (special_fill_minus_min): Likewise.
8884 (special_fill_min_subnorm): Likewise.
8885 (special_fill_minus_min_subnorm): Likewise.
8886 (special_real_inputs): Add min, -min, min_subnorm and
8887 -min_subnorm.
8888 (calc_generic_results): Handle mpfr_ff_f.
8889 * sysdeps/i386/fpu/libm-test-ulps: Update.
8890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8891
5764c27f
WN
88922013-12-16 Will Newton <will.newton@linaro.org>
8893
8894 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
8895 (Aligned Memory Blocks): Add documentation for aligned_alloc
8896 and suggest it as an alternative to posix_memalign.
8897 (Hooks for Malloc): Document __memalign_hook is also called
8898 for aligned_alloc. (Summary of Malloc): Add summary for
8899 aligned alloc. Document __memalign_hook is also called
8900 for aligned_alloc.
8901
0a096e44
WN
89022013-12-16 Will Newton <will.newton@linaro.org>
8903
8904 * manual/memory.texi (Malloc Examples): Clarify default
8905 alignment documentation. Suggest posix_memalign rather
8906 than memalign or valloc.
8907 (Aligned Memory Blocks): Remove suggestion to use memalign
8908 or valloc. Remove obsolete comment about BSD.
8909 Document memalign errno values and mark the function obsolete.
8910 Document posix_memalign returned error codes. Mark valloc
8911 as obsolete. (Hooks for Malloc): __memalign_hook is also
8912 called for posix_memalign and valloc.
8913 (Summary of Malloc): Add posix_memalign to function summary.
8914 __memalign_hook is also called for posix_memalign and valloc.
8915
8d561986
SP
89162013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8917
8918 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
8919 TAYLOR_SIN.
8920 (__sin): Adjust.
8921 (__cos): Likewise.
8922 (sloww): Use mynumber union. Expand ternary operator into
8923 if-else statements.
8924 (cslow): use mynumber union.
8925
73616a74
AM
89262013-12-16 Allan McRae <allan@archlinux.org>
8927
9e8ac24b
AM
8928 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
8929 * configure: Regenerated.
8930
6f8e37eb
AM
8931 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
8932
8894bad3
AM
8933 [BZ #14120]
8934 * configure.ac: Added --enable-maintainer-mode. Check for
8935 autoconf when enabled.
8936 * configure: Regenerated.
8937
73616a74
AM
8938 * nscd/nscd.service: New file.
8939 * nscd/nscd.tmpfiles: New file.
8940
584b18eb
OB
89412013-12-14 Ondřej Bílka <neleai@seznam.cz>
8942
8943 [BZ #12100]
8944 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
8945 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
8946 * sysdeps/x86_64/multiarch/strstr.c: ... here.
8947 (strstr): Add __strstr_sse2_unaligned ifunc.
8948 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
8949 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
8950 (strcasestr): Remove __strcasestr_sse42 ifunc.
8951 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
8952 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8953 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8954
8a5c7897
KK
89552013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8956
8957 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
8958 * sysdeps/sh/bits/fenv.h: ... here.
8959 * sysdeps/sh/sh4/fpu/bits: Remove directory.
8960
fd712ef3
AZ
89612013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8962
8963 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
8964
42fcb46c
AZ
8965 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
8966 hypotf multiarch implementations.
8967 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
8968 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
8969 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
8970 multiarch hypot for PPC64.
8971 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
8972 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
8973 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
8974 multiarch hypotf for PPC64.
8975
83efded4
AZ
8976 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
8977 modff multiarch implementations.
8978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
8979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
8980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
8981 multiarch modf for PPC64.
8982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
8983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
8984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
8985 multiarch modff for PPC64.
8986
43e246d2
AZ
8987 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
8988 and logl multiarch implementations.
8989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
8990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
8991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
8992 multiarch logb for PPC64.
8993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
8994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
8995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
8996 multiarch logb for PPC64.
8997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
8998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
8999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9000 multiarch logb for PPC64.
9001
8fdad123
AZ
9002 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9003 isinff multiarch implementation.
9004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9005 file.
9006 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9008 multiarch isinf for PPC64.
9009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9010 file.
9011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9012 multiarch isinff for PPC64.
9013
1481d706
AZ
9014 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9015 finitef multiarch implementation.
9016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9017 file.
9018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9020 multiarch finite for PPC64.
9021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9022 file.
9023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9024 multiarch finitef for PPC64.
9025
5ccd5fc8
AZ
9026 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9027 lrint multiarch implementation.
9028 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9029 file.
9030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9032 multiarch llrint for PPC64.
9033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9034 multiarch lrint for PPC64.
9035
2568f3fa
AZ
9036 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9037 copysignf multiarch implementation.
9038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9039 file.
9040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9041 file.
9042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9043 multiarch copysign for PPC64.
9044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9045 multiarch copysignf for PPC64.
9046
1cb341fd
AZ
9047 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9048 multiarch implementation.
9049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9050 file.
9051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9052 file.
9053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9054 file.
9055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9056 file.
9057 multiarch llround for PPC64.
9058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9059 multiarch trunc for PPC64.
9060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9061 multiarch truncf for PPC64.
9062
59a3e194
AZ
9063 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9064 multiarch implementation.
9065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9066 file.
9067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9068 file.
9069 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9070 file.
9071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9072 file.
9073 multiarch llround for PPC64.
9074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9075 multiarch round for PPC64.
9076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9077 multiarch roundf for PPC64.
9078
357fd3b4
AZ
9079 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9080 multiarch implementation.
9081 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9082 file.
9083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9084 file.
9085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9086 file.
9087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9088 file.
9089 multiarch llround for PPC64.
9090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9091 multiarch floor for PPC64.
9092 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9093 multiarch floorf for PPC64.
9094
96770f12
AZ
9095 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9096 multiarch implementation.
9097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9098 file.
9099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9100 file.
9101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9102 file.
9103 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9104 file.
9105 multiarch llround for PPC64.
9106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9107 multiarch ceil for PPC64.
9108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9109 multiarch ceilf for PPC64.
9110
c3627f6e
AZ
9111 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9112 multiarch implementation.
9113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9114 file.
9115 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9116 file.
9117 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9118 file.
9119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9120 multiarch llround for PPC64.
9121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9122 multiarch lround for PPC64.
9123
b2284ad7
AZ
9124 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9125 multiarch implementation.
9126 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9129 file.
9130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9133 multiarch isnan for PPC64.
9134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9135 multiarch isnanf for PPC64.
9136
69bbc63d
AZ
9137 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9138 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9139 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9140 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9141 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9143
c24517c9
AZ
9144 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9145 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9146 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9147 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9148
a52374e8
AZ
9149 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9150 multiarch implementations.
9151 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9152 (__libc_ifunc_impl_list): Likewise.
9153 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9154 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9155 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9156 multiarch stpcpy for PPC64.
9157
7f5ec113
AZ
9158 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9159 multiarch implementations.
9160 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9161 (__libc_ifunc_impl_list): Likewise.
9162 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9163 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9164 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9165 multiarch strcpy for PPC64.
9166
e28bcd42
AZ
9167 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9168 redefine function name.
9169 (_wordcopy_fwd_dest_aligned): Likewise.
9170 (_wordcopy_bwd_aligned): Likewise.
9171 (_wordcopy_bwd_dest_aligned): Likewise.
9172 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9173 multiarch implementations.
9174 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9175 (__libc_ifunc_impl_list): Likewise.
9176 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9177 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9178 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9179 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9180 multiarch wcscpy for PPC64.
9181
92cacfce
AZ
9182 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9183 multiarch implementations.
9184 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9185 (__libc_ifunc_impl_list): Likewise.
9186 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9187 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9188 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9189 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9190 multiarch wcscpy for PPC64.
9191
7b714620
AZ
9192 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9193 multiarch implementations.
9194 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9195 (__libc_ifunc_impl_list): Likewise.
9196 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9197 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9198 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9199 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9200 multiarch wcsrchr for PPC64.
9201
16fd2ae3
AZ
9202 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9203 multiarch implementations.
9204 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9205 (__libc_ifunc_impl_list): Likewise.
9206 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9207 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9208 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9209 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9210 multiarch wcschr for PPC64.
9211
9ee2969b
AZ
9212 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9213 multiarch implementations.
9214 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9215 (__libc_ifunc_impl_list): Likewise.
9216 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9217 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9218 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9219 multiarch strchrnul for PPC64.
9220
372dc060
AZ
9221 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9222 implementations.
9223 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9224 (__libc_ifunc_impl_list): Likewise.
9225 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9226 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9227 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9228 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9229 strchr for PPC64.
9230
24c2c3b9
AZ
9231 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9232 implementations.
9233 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9234 (__libc_ifunc_impl_list): Likewise.
9235 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9236 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9237 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9238 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9239 strncmp for PPC64.
9240
1c92d9a0
AZ
9241 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9242 multiarch implementations.
9243 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9244 (__libc_ifunc_impl_list): Likewise.
9245 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9246 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9247 strncasecmp for PPC64.
9248 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9249 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9250 multiarch strncasecmp_l for PPC64.
9251
17de3ee3
AZ
9252 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9253 multiarch implementations.
9254 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9255 (__libc_ifunc_impl_list): Likewise.
9256 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9257 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9258 multiarch strcasecmp for PPC64.
9259 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9260 file.
9261 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9262 multiarch strcasecmp_l for PPC64.
9263
62982bf9
AZ
9264 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9265 implementations.
9266 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9267 (__libc_ifunc_impl_list): Likewise.
9268 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9269 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9270 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9271 strnlen for PPC64.
9272
a65f4904
AZ
9273 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9274 implementations.
9275 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9276 (__libc_ifunc_impl_list): Likewise.
9277 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9278 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9279 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9280 strlen for PPC64.
9281
1fd005ad
AZ
9282 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9283 implementations.
9284 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9285 (__libc_ifunc_impl_list): Likewise.
9286 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9287 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9288 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9289 rawmemrchr for PPC64.
9290
cd05ba91
AZ
9291 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9292 implementation.
9293 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9294 (__libc_ifunc_impl_list): Likewise.
9295 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9296 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9297 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9298 memrchr for PPC64.
9299
870f8676
AZ
9300 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9301 implementation.
9302 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9303 (__libc_ifunc_impl_list): Likewise.
9304 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9305 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9306 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9307 memchr for PPC64.
9308
f00be62b
AZ
9309 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9310 implementation.
9311 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9312 (__libc_ifunc_impl_list): Likewise.
9313 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9314 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9315 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9316 mempcpy for PPC64.
9317
8a29a3d0
AZ
9318 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9319 avoid cretion of __bzero symbol.
9320 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9321 Likewise.
9322 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9323 Likewise.
9324 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9325 Likewise.
9326 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9327 multiarch implementations.
9328 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9329 (__libc_ifunc_impl_list): Likewise.
9330 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9331 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9332 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9333 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9334 bzero for PPC32.
9335 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9336 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9337 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9338 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9339 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9340 memset for PPC64.
9341 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9342
07253fcf
AZ
9343 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9344 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9345 implementations.
9346 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9347 (__libc_ifunc_impl_list): Likewise.
9348 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9349 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9350 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9351 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9352 memcmp for PPC64.
9353
b5beafbc
AZ
9354 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9355 multiarch for POWER/PPC64.
9356 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9357 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9358 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9359 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9360 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9361 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9362 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9363 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9364 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9365 memcpy for PPC64.
9366
5e6a4d4b
AZ
9367 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9368 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9369 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9370 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9371 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9372 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9373 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9374 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9375 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9376 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9377 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9378 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9379 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9380 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9381 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9389
ddfab6dc
KK
93902013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9391
9392 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9393
19b5525e
SP
93942013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9395
9396 * benchtests/Makefile (bench): Add exp2 and log2.
9397 (LDLIBS-bench-exp2): Add -lm.
9398 (LDLIBS-bench-log2): Likewise.
9399 * benchtests/exp2-inputs: New inputs file.
9400 * benchtests/log2-inputs: New inputs file.
9401 * benchtests/log-inputs: Add new inputs.
9402 * benchtests/tan-inputs: Likewise.
9403
196f7f5d
SP
94042013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9405
7a74607f
SP
9406 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9407 definition...
57f41c40
AS
9408 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9409 (csloww2): ... from here.
7a74607f 9410
196f7f5d
SP
9411 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9412 instead of structures.
9413 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9414 (POLYNOMIAL): Likewise.
9415 (TAYLOR_SLOW): Likewise.
9416 (__sin): Likewise.
9417 (__cos): Likewise.
9418 (slow1): Likewise.
9419 (slow2): Likewise.
9420 (sloww): Likewise.
9421 (sloww1); Likewise.
9422 (sloww2): Likewise.
9423 (bsloww1): Likewise.
9424 (bsloww2): Likewise.
9425 (cslow2): Likewise.
9426 (csloww): Likewise.
9427 (csloww1): Likewise.
9428 (csloww2): Likewise.
9429
0dfa665c
OB
94302013-12-10 Ondřej Bílka <neleai@seznam.cz>
9431
9432 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
9433 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9434 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
9435 * malloc/hooks.c (realloc_check): Likewise.
9436
5782a80f
OB
9437 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9438 * malloc/arena.c: Remove PER_THREAD conditional.
9439 [!PER_THREAD]: Remove code.
9440 (ptmalloc_unlock_all2): Likewise.
9441 (ptmalloc_init): Likewise.
9442 (_int_new_arena): Likewise.
9443 (arena_get2): Likewise.
9444 * malloc/hooks.c (__malloc_get_state): Likewise.
9445 (__malloc_set_state): Likewise.
9446 * malloc/malloc.c: Likewise.
9447 (struct malloc_state): Likewise.
9448 (struct malloc_par): Likewise.
9449 (__libc_realloc): Likewise.
9450 (__libc_mallopt): Likewise.
9451
aeb95445
AZ
94522013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9453
9454 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9455
e8349efd
OB
94562013-12-09 Ondřej Bílka <neleai@seznam.cz>
9457
9458 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9459 macro to a function. Check for zero perturb_byte.
9460 (_int_malloc, _int_free): Remove zero perturb_byte checks.
9461
f3eeb3fc 9462 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
9463 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9464 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
9465 force_reg by atomic_forced_read.
9466 * malloc/arena.c (ptmalloc_init): Likewise.
9467 * malloc/hooks.c (top_check): Likewise.
9468
be2f9009
AZ
94692013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9470
9471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9472
e7b914bd
MT
94732013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
9474
9475 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9476
9f0be4f8
JM
94772013-12-08 Joseph Myers <joseph@codesourcery.com>
9478
9479 * math/auto-libm-test-in: Add tests of lgamma.
9480 * math/auto-libm-test-out: Regenerated.
9481 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9482 (M_LOG_2_SQRT_PIl): Likewise.
9483 (lgamma_test_data): Use AUTO_TESTS_f_f1.
9484 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9485 mpfr_f_f1.
9486 (func_calc_desc): Add mpfr_f_f1 union field.
9487 (ARGS1): New macro.
9488 (ARGS2): Likewise.
9489 (ARGS3): Likewise.
9490 (ARGS4): Likewise.
9491 (RET1): Likewise.
9492 (RET2): Likewise.
9493 (CALC): Likewise.
9494 (FUNC): Likewise.
9495 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9496 (test_functions): Add lgamma.
9497 (calc_generic_results): Handle mpfr_f_f1.
9498 * sysdeps/i386/fpu/libm-test-ulps: Update.
9499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9500
24eeafdb
AZ
95012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9502
9503 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
9504 __mpn_add_n for PowerPC64/POWER7.
9505 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
9506 __mpn_sub_n for PowerPC64/POWER7.
9507
4a2c0fd4
AZ
9508 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
9509 __mpn_addmul_1 for PowerPC64.
9510 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
9511 __mpn_submul_1 for PowerPC64.
9512 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
9513 for PowerPC64.
9514 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
9515 for PowerPC64.
9516
4b5b548c
FS
95172013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
9518
9519 [BZ #15089]
9520 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
9521
0a3ac0aa
AZ
95222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9523
9524 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
9525
ccdc8438
AZ
9526 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
9527 add multiarch folders.
9528 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
9529 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
9530 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
9531 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
9532 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
9533 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
9534 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
9535 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
9536 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
9537 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
9538 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
9539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
9540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
9541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
9542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
9543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
9544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
9545
2e973d99
AZ
9546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9547 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
9548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
9549 New file.
9550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
9551 New file.
9552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
9553 multiarch __ieee754_hypot for PowerPC32.
9554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
9555 New file.
9556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
9557 New file.
9558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
9559 multiarch __ieee754_hypotf for PowerPC32.
9560
2d9470b2
AZ
9561 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
9562 long_double_symbol only if __logbl is defined.
9563 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
9564 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
9565 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
9566 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
9567 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
9568 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
9569 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
9570 path for implementation.
9571 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
9572 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
9573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
9574 logb, and logbl multiarch implementations for PowerPC32.
9575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
9576 file.
9577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
9578 file.
9579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
9580 multiarch logb for PowerPC32.
9581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
9582 file.
9583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
9584 file.
9585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
9586 multiarch logbf for PowerPC32.
9587 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
9588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
9589 file.
9590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
9591 multiarch logbl implementation for PowerPC32.
9592
5212ffce
AZ
9593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
9594 and modff multiarch implementations.
9595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
9596 New file.
9597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
9598 New file.
9599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
9600 multiarch modf for PowerPC32.
9601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
9602 New file.
9603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
9604 New file.
9605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
9606 multiarch modff for PowerPC32.
9607
79dccf31
AZ
9608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
9609 and lrintf multiarch implementations.
9610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
9611 New file.
9612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
9613 New file.
9614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
9615 multiarch lrint for PowerPC32.
9616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
9617 file: multiarch lrintf for PowerPC32.
9618
deb66480
AZ
9619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
9620 and lroundf multiarch implementations.
9621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
9622 New file.
9623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
9624 New file.
9625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
9626 New file.
9627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
9628 multiarch lround for PowerPC32.
9629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
9630 file: multiarch lroundf for PowerPC32.
9631
264b036b
AZ
9632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9633 copysign and copysignf multiarch implementations.
9634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
9635 New file.
9636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
9637 New file.
9638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
9639 file: multiarch copysign for PowerPC32.
9640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
9641 file: multiarch copysignf for PowerPC32.
9642
d47db6c9
AZ
9643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
9644 and truncf multiarch implementations.
9645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
9646 New file.
9647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
9648 file.
9649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
9650 multiarch trunc for PowerPC32.
9651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
9652 New file.
9653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
9654 New file.
9655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
9656 multiarch truncf for PowerPC32.
9657
ddb60b5a
AZ
9658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
9659 and roundf multiarch implementations.
9660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
9661 New file.
9662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
9663 file.
9664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
9665 multiarch round for PowerPC32.
9666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
9667 New file.
9668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
9669 New file.
9670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
9671 multiarch roundf for PowerPC32.
9672
bedcf49b
AZ
9673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
9674 and floorf multiarch implementations.
9675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
9676 New file.
9677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
9678 file.
9679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
9680 multiarch floor for PowerPC32.
9681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
9682 New file.
9683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
9684 New file.
9685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
9686 multiarch floorf for PowerPC32.
9687
35ae5b40
AZ
9688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
9689 and ceilf multiarch implementations.
9690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
9691 New file.
9692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
9693 file.
9694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
9695 multiarch ceil for PowerPC32.
9696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
9697 New file.
9698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
9699 file.
9700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
9701 multiarch ceilf for PowerPC32.
9702
ae1a4cd9
AZ
9703 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
9704 is defined.
9705 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
9706 FINITEF is defined.
9707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
9708 and finitef multiarch implementations.
9709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
9710 New file.
9711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
9712 file.
9713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
9714 multiarch finite for PowerPC32.
9715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
9716 New file.
9717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
9718 file: multiarch finitef for PowerPC32.
9719
64fffd65
AZ
9720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
9721 and isinff multiarch implementations.
9722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
9723 file.
9724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
9725 file.
9726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
9727 multiarch isinf for PowerPC32.
9728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
9729 New file.
9730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
9731 multiarch isinff for PowerPC32.
9732
8e4e7ba2
AZ
9733 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
9734 alias when __isnan is defined.
9735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
9736 and isnanf multiarch implementations.
9737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
9738 file.
9739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
9740 file.
9741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
9742 file.
9743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
9744 file.
9745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
9746 multiarch isnan for PowerPC32.
9747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
9748 New file.
9749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
9750 New file.
9751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
9752 multiarch isnanf for PowerPC32.
9753
ddba588e
AZ
9754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
9755 and sqrtf multiarch implementations.
9756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
9757 file.
9758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
9759 file.
9760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
9761 multiarch sqrt for PowerPC32.
9762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
9763 file.
9764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
9765 file.
9766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
9767 multiarch sqrtf for PowerPC32.
9768
0f96a2f0
AZ
9769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
9770 and llroundf multiarch implementations.
9771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
9772 New file.
9773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
9774 New file.
9775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
9776 New file.
9777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
9778 file: multiarch llround for PowerPC32.
9779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
9780 file: multiarch llroundf for PowerPC32.
9781
c9b5d79e
AZ
9782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
9783 multiarch PowerPC32 fpu implementations.
9784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
9785 New file.
9786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
9787 New file.
9788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
9789 multiarch llrint for PowerPC32.
9790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
9791 New file.
9792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
9793 New file.
9794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
9795 file.
9796
9cbb3aab
AZ
9797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
9798
ea5a72f8
AZ
9799 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
9800 file.
9801 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
9802 file.
9803 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
9804 file.
9805 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
9806 multiarch wordcopy for PPC32.
9807 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9808 wordcopy objects.
9809 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9810 (__libc_ifunc_impl_list): Likewise.
9811 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
9812 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
9813 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
9814 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
9815 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
9816 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
9817
93be09e7
AZ
9818 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
9819 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
9820 file.
9821 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
9822 file.
9823 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
9824 file.
9825 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
9826 multiarch wcscpy for PPC32.
9827 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9828 multiarch objects.
9829 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9830 (__libc_ifunc_impl_list): Likewise.
9831 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9832 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9833 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
9834 sysdeps/powerpc/power6/wcscpy.c.
9835
bb04e529
AZ
9836 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
9837 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
9838 file.
9839 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
9840 file.
9841 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
9842 file.
9843 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
9844 multiarch wcsrchr for PPC32.
9845 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9846 multiarch objects.
9847 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9848 (__libc_ifunc_impl_list): Likewise.
9849 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9850 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9851 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
9852 sysdeps/powerpc/power6/wcsrchr.c.
9853
05b5cd1c
AZ
9854 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
9855 file.
9856 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
9857 file.
9858 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
9859 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
9860 multiarch wcschr for PPc32.
9861 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9862 multiarch objects.
9863 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9864 (__libc_ifunc_impl_list): Likewise.
9865 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
9866 * sysdeps/powerpc/power6/wcschr.c: ... to here.
9867 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
9868 sysdeps/powerpc/power6/wcschr.c.
9869
ba964147
AZ
9870 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
9871 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
9872 file.
9873 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
9874 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
9875 file: multiarch strchr for PPC32.
9876 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
9877 multiarch objects.
9878 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9879 (__libc_ifunc_impl_list): Likewise.
9880
31c81aaa
AZ
9881 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
9882 name.
9883 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
9884 file.
9885 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
9886 file.
9887 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
9888 multiarch strchrnul for PPC32.
9889 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
9890 multiarch objects.
9891 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9892 (__libc_ifunc_impl_list): Likewise.
9893
0d0607d9
AZ
9894 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
9895 file.
9896 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
9897 multiarch strncasecmp for PPC32.
9898 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
9899 file.
9900 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
9901 multiarch strncasecmp_l for PPC32.
9902 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
9903 strncasecmp multiarch objects.
9904 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9905 (__libc_ifunc_impl_list): Likewise.
9906
4dfd5c86
AZ
9907 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
9908 file.
9909 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
9910 multiarch strncasecmp for PPC32.
9911 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9912 New file.
9913 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
9914 multiarch strcasecmp_l for PPC32.
9915 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
9916 multiarch objects.
9917 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9918 (__libc_ifunc_impl_list): Likewise.
9919
a19e01a3
AZ
9920 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
9921 file.
9922 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
9923 file.
9924 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
9925 multiarch strncmp for PPC32.
9926 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
9927 multiarch objects.
9928 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9929 (__libc_ifunc_impl_list): Likewise.
9930
ae9cf7a2
AZ
9931 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
9932 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
9933 file.
9934 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
9935 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
9936 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
9937 multiarch objects.
9938 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9939 (__libc_ifunc_impl_list): Likewise.
9940
3148bb7d
AZ
9941 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
9942 file.
9943 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
9944 file.
9945 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
9946 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
9947 multiarch objects.
9948 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9949 (__libc_ifunc_impl_list): Likewise.
9950
7af8b946
AZ
9951 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
9952 file.
9953 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
9954 file.
9955 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
9956 multiarch rawmemchr for PPC32.
9957 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
9958 multiarch objects.
9959 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9960 (__libc_ifunc_impl_list): Likewise.
9961
03a6aa6a
AZ
9962 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
9963 file.
9964 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
9965 file.
9966 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
9967 file: memrchr multiarch for PPC32.
9968 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
9969 multiarch objects.
9970 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9971 (__libc_ifunc_impl_list): Likewise.
9972
1c62e6d9
AZ
9973 * string/memchr.c (__memchr): Using macro to redefine symbol name.
9974 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
9975 file.
9976 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
9977 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
9978 multiarch memchr for PPC32.
9979 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
9980 multiarch objects.
9981 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9982 (__libc_ifunc_impl_list): Likewise.
9983
87da8bdb
AZ
9984 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
9985 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
9986 file.
9987 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
9988 file.
9989 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
9990 file: multiarch mempcpy for PPC32.
9991 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
9992 multiarch objects.
9993 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9994 (__libc_ifunc_impl_list): Likewise.
9995
20ed4714
AZ
9996 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
9997 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
9998 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
9999 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10000 multiarch bzero for PPC32.
10001 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10002 file.
10003 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10004 file.
10005 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10006 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10007 file: multiarch memset for PPC32.
10008 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10009 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10010 memset multiarch objects.
10011 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10012 (__libc_ifunc_impl_list): Likewise.
10013
ab3e3a46
AZ
10014 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10015 file.
10016 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10017 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10018 memcmp for PPC32.
10019 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10020 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10021 multiarch objects.
10022 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10023 (__libc_ifunc_impl_list): Likewise.
10024
930de6f0
AZ
10025 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10026 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10027 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10028 file.
10029 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10030 file.
10031 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10032 file.
10033 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10034 multiarch memcpy for PPC32.
10035 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10036 multiarch objects.
10037 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10038 (__libc_ifunc_impl_list): Likewise.
10039
4c628e00
AZ
10040 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10041 support multiarch for POWER/PPC32.
10042 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10043 Likewise.
10044 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10046 Implies file to make multiarch folder appers before the fpu and
10047 default folder for power4 configuration.
10048
f4479220
SP
100492013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10050
10051 * scripts/bench.pl: Append volatile keyword to type.
10052
8517800f
KK
100532013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10054
10055 * sysdeps/sh/sotruss-lib.c: New file.
10056 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10057
180138f1
AZ
100582013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10059
10060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10061
bbf37bdc
JM
100622013-12-05 Joseph Myers <joseph@codesourcery.com>
10063
e47cc4e0
JM
10064 [BZ #6810]
10065 * math/w_tgamma.c: Include <errno.h>.
10066 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
10067 * math/w_tgammaf.c: Include <errno.h>.
10068 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
10069 * math/w_tgammal.c: Include <errno.h>.
10070 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
10071 * math/auto-libm-test-in: Do not allow missing errno on tgamma
10072 underflow. Add more tgamma tests.
10073 * math/auto-libm-test-out: Regenerated.
10074 * sysdeps/i386/fpu/libm-test-ulps: Update.
10075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10076
bbf37bdc
JM
10077 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10078 sin, sinh, tan, tanh, tgamma, y0 and y1.
10079 * math/auto-libm-test-out: Regenerated.
10080 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10081 (TEST_COND_x86): Likewise.
10082 (M_E2l): Remove macro.
10083 (M_E3l): Likewise.
10084 (M_2_SQRT_PIl): Likewise.
10085 (M_SQRT_PIl): Likewise.
10086 (M_1_DIV_El): Likewise.
10087 (log_test_data): Use AUTO_TESTS_f_f.
10088 (log10_test_data): Likewise.
10089 (log1p_test_data): Likewise.
10090 (log2_test_data): Likewise.
10091 (sin_test_data): Likewise.
10092 (sin_tonearest_test_data): Likewise.
10093 (sin_towardzero_test_data): Likewise.
10094 (sin_downward_test_data): Likewise.
10095 (sin_upward_test_data): Likewise.
10096 (sinh_test_data): Likewise.
10097 (sinh_tonearest_test_data): Likewise.
10098 (sinh_towardzero_test_data): Likewise.
10099 (sinh_downward_test_data): Likewise.
10100 (sinh_upward_test_data): Likewise.
10101 (tan_test_data): Likewise.
10102 (tan_tonearest_test_data): Likewise.
10103 (tan_towardzero_test_data): Likewise.
10104 (tan_downward_test_data): Likewise.
10105 (tan_upward_test_data): Likewise.
10106 (tanh_test_data): Likewise.
10107 (tgamma_test_data): Likewise.
10108 (y0_test_data): Likewise.
10109 (y1_test_data): Likewise.
10110 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10111 (special_real_inputs): Add pi/4.
10112 * sysdeps/i386/fpu/libm-test-ulps: Update.
10113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10114
eb5ad6b9
AZ
101152013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10116
10117 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10118 "longjmp_target" static probes.
10119 (__longjmp): Rename to __longjmp_symbol.
10120 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10121 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10122 on which longjmp to generate.
10123 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10124 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10125 probe.
10126 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10127 (__sigjmp_save): Rename to __sigjmp_save_symbol.
10128 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10129 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10130 and __sigjmp_save_symbol based on which sigsetjmp to generated.
10131 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10133 __longjmp_symbol based on which __longjmp to generate.
10134 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10135 probe.
10136 (setjmp): Rename to setjmp_symbol.
10137 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10138 (_setjmp): Rename to _setjmp_symbol.
10139 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10140 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10141 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10142 which setjmp to generate.
10143 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10144 "longjmp_target" static probes.
10145
d136c6dc
SP
101462013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10147
9298ecba
SP
10148 * benchtests/README: Add note about output arguments.
10149 * benchtests/bench-sincos.c: Remove file.
10150 * benchtests/sincos-inputs: New file.
10151 * scripts/bench.pl: Identify output arguments and define
10152 static variables for them.
10153
232983e9
SP
10154 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10155
d136c6dc
SP
10156 [BZ #15941]
10157 * Makefile (INSTALL): Add install-plain.texi as the primary
10158 dependency.
10159 * manual/install-plain.texi: New file.
10160 * manual/install.texi: Include node directive only for
10161 non-plaintext output.
10162
699ff837
JM
101632013-12-04 Joseph Myers <joseph@codesourcery.com>
10164
ab07cea8
JM
10165 * stdlib/longlong.h: Update from GCC.
10166
699ff837
JM
10167 [BZ #6807]
10168 [BZ #15901]
10169 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10170 * math/w_j0f.c (y0f): Likewise.
10171 * math/w_j0l.c (__y0l): Likewise.
10172 * math/w_j1.c (y1): Likewise.
10173 * math/w_j1f.c (y1f): Likewise.
10174 * math/w_j1l.c (__y1l): Likewise
10175 * math/w_jn.c (yn): Likewise.
10176 * math/w_jnf.c (ynf): Likewise.
10177 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10178 Bessel function pole errors in _POSIX_ mode. Use NAN as return
10179 value for Bessel function domain errors outside _SVID_ mode.
10180 Adjust sign of return value for yn (negative integer, 0).
10181 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10182 by zero in return for negative x and set sign appropriately for
10183 negative n.
10184 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10185 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10186 * math/libm-test.inc (y0_test_data): Add more tests and adjust
10187 expectations in error cases.
10188 (y1_test_data): Likewise.
10189 (yn_test_data): Likewise.
10190 * sysdeps/i386/fpu/libm-test-ulps: Update.
10191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10192
5b118558
UW
101932013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10194
10195 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10196 "64" to "64-v1". Add "64-v2".
10197 (abi-64-options): Rename to ...
10198 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
10199 (abi-64-condition): Rename to ...
10200 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
10201 (abi-64-ld-soname): Rename to ...
10202 (abi-64-v1-ld-soname): ... this.
10203 (abi-64-v2-options): Define.
10204 (abi-64-v2-condition): Likewise.
10205 (abi-64-v2-ld-soname): Likewise.
10206 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10207 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10211
61cd8fe4
UW
102122013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10213 Alan Modra <amodra@gmail.com>
10214
10215 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10216 New versions for use with the ELFv2 ABI.
10217 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10218 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10219 declaration.
10220 (struct La_ppc64v2_retval): Likewise.
10221 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10222 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10223 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10224 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10225 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10226 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10227 Do not save or restore CR.
10228 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10229 (_dl_profile_resolve): Do no save or restore CR. Support extended
10230 return values for ELFv2 ABI. Fix location of FPR return registers.
10231 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10232 updated values for _CALL_ELF == 2.
10233 (La_regs, La_retval, int_retval): Likewise.
10234
8b8a692c
UW
102352013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10236
10237 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10238 (FRAME_MIN_SIZE_PARM): Likewise.
10239 (FRAME_BACKCHAIN): Likewise.
10240 (FRAME_CR_SAVE): Likewise.
10241 (FRAME_LR_SAVE): Likewise.
10242 (FRAME_TOC_SAVE): Likewise.
10243 (FRAME_PARM_SAVE): Likewise.
10244 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10245 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10246 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10247 (call_mcount_parm_offset): New macro.
10248 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10249 (PROF): Use symbolic stack frame offsets.
10250 (TAIL_CALL_SYSCALL_ERROR): Likewise.
10251 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10252 Redefine in terms of FRAME_MIN_SIZE.
10253 (_dl_runtime_resolve): Use symbolic stack frame offsets.
10254 (_dl_profile_resolve): Likewise. Update comment.
10255 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10256 symbols stack frame offsets.
10257 (__sigsetjmp): Likewise.
10258 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10259 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10260 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10261 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10262
10263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10264 (FRAME_BACKCHAIN): Remove.
10265 (FRAME_CR_SAVE): Likewise.
10266 (FRAME_LR_SAVE): Likewise.
10267 (FRAME_COMPILER_DW): Likewise.
10268 (FRAME_LINKER_DW): Likewise.
10269 (FRAME_TOC_SAVE): Likewise.
10270 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
10271 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10272 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10273 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
10274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10275 (CHECK_SP): Use symbolic stack frame offsets.
10276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10277 zone" instead of caller's parameter save area for temp storage.
10278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10279 Likewise. Also, use symbolic stack frame offsets.
10280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10281 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10282 our own stack frame instead of the caller's.
10283 (__socket): Use symbolic stack frame offsets.
10284
122b66de
UW
102852013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10286 Alan Modra <amodra@gmail.com>
10287
10288 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10289 Define.
57f41c40
AS
10290 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10291 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
10292 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10293 New function.
10294 (elf_machine_fixup_plt): Call it.
10295 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
10296 reloc arguments.
10297 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
10298 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10299 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
10300 r2 before calling target.
10301
696caf1d
UW
103022013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10303 Alan Modra <amodra@gmail.com>
10304
10305 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10306 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10307 versions of macros to support ELFv2 ABI.
10308 (LOCALENTRY): New macro.
10309 (ENTRY, EALIGN): Use it.
10310 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10311 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10312 fall through into ENTRY entry point.
10313 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10314 Only define if _CALL_ELF != 2.
10315
10316 (elf_machine_matches_host): Verify ABI version matches.
10317 (RTLD_START): Use LOCALENTRY.
10318 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10319 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10320 (PLT_ENTRY_WORDS): New macro.
10321 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10322 (elf_machine_runtime_setup): Support ELFv2 ABI.
10323 (elf_machine_fixup_plt): Likewise.
10324 (elf_machine_plt_conflict): Likewise.
10325 (resolve_ifunc): Likewise.
10326 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10327 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10328 Likewise.
10329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10330 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10332 (makecontext): Support ELFv2 ABI.
10333 * elf/elf.h (EF_PPC64_ABI): Define.
10334
d31beafa
UW
103352013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10336
57f41c40
AS
10337 * sysdeps/powerpc/powerpc64/sysdep.h
10338 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10339 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10340 (ENTRY) [ASSEMBLER]: ... but instead here ...
10341 (EALIGN) [ASSEMBLER]: ... and here.
10342 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10343 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10344 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
10345 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10346 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
10347 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10348 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
10349 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10351 Use PPC64_LOAD_FUNCPTR.
10352
b525166b
UW
10353 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10354
7ec07d9a
AM
103552013-12-04 Alan Modra <amodra@gmail.com>
10356
10357 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10358 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10359 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10360 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10361
10362 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10363 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10364 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10365 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10366 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10367 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10368
5162e7dd
UW
103692013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10370
10371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10372 (__makecontext): Fix incorrect CFI when backtracing out of
10373 context created via makecontext.
10374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10375 (__setcontext): Fix incorrect CFI during switch to new context.
10376 (__novec_setcontext): Likewise.
10377
19e3372b
OB
103782013-12-04 Ondřej Bílka <neleai@seznam.cz>
10379
10380 [BZ #4772]
10381 * time/strptime_l.c (__strptime_internal): Allow modifiers
10382 in strptime.
10383 * time/tst-strptime.c (day_tests): Add testcase.
10384
ecaf142d
SP
103852013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10386
10387 * scripts/bench.pl: Skip over blank lines.
10388
fbf964ae
PE
103892013-12-04 Paul Eggert <eggert@cs.ucla.edu>
10390
10391 [BZ #926]
10392 * manual/time.texi (Calendar Time): Clarify what timezone functions
10393 use.
10394
fa60a674
AZ
103952013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10396
10397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10398
d674f0ef
OB
103992013-12-04 Ondřej Bílka <neleai@seznam.cz>
10400
10401 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10402 implementation.
10403 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10404 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10405 * debug/memset_chk.c (__memset_chk): Likewise.
10406 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10407 * debug/strncpy_chk.c: Likewise.
10408
17dea188
JM
104092013-12-03 Joseph Myers <joseph@codesourcery.com>
10410
749008ff
JM
10411 [BZ #15268]
10412 [BZ #15425]
10413 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10414 (__ieee754_exp): For possibly underflowing results, check size of
10415 result and force underflow exception if required.
10416 * math/auto-libm-test-in: Add more tests of exp.
10417 * math/auto-libm-test-out: Regenerated.
10418 * sysdeps/i386/fpu/libm-test-ulps: Update.
10419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10420
17dea188
JM
10421 [BZ #16283]
10422 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10423 * math/w_exp2f.c (__exp2f): Likewise.
10424 * math/w_exp2l.c (__exp2l): Likewise.
10425 * math/auto-libm-test-in: Do not allow missing errno on exp2
10426 underflow.
10427 * math/auto-libm-test-out: Regenerated.
10428
b20de2c3
OB
104292013-12-03 Ondřej Bílka <neleai@seznam.cz>
10430
10431 [BZ #16274]
10432 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10433 handle filename validation.
10434 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10435 (do_open): Delete.
10436
d8e2dbe3
JM
104372013-12-03 Joseph Myers <joseph@codesourcery.com>
10438
34e16df5
JM
10439 [BZ #6786]
10440 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10441 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10442 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10443 <float.h>.
10444 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10445 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10446 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10447 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10448 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10449 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10450 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10451 * math/auto-libm-test-in: Don't allow missing errno from erfc.
10452 Add more erfc tests.
10453 * math/auto-libm-test-out: Regenerated.
10454 * sysdeps/i386/fpu/libm-test-ulps: Update.
10455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10456
d8e2dbe3
JM
10457 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10458 exp2, expm1, j0 and j1.
10459 * math/auto-libm-test-out: Regenerated.
10460 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10461 (erfc_test_data): Likewise.
10462 (exp_test_data): Likewise.
10463 (exp_tonearest_test_data): Likewise.
10464 (exp_towardzero_test_data): Likewise.
10465 (exp_downward_test_data): Likewise.
10466 (exp_upward_test_data): Likewise.
10467 (exp10_test_data): Likewise.
10468 (exp2_test_data): Likewise.
10469 (expm1_test_data): Likewise.
10470 (j0_test_data): Likewise.
10471 (j1_test_data): Likewise.
10472 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10473 (input_flag_type): Add flag_xfail_rounding.
10474 (input_flags): Add xfail-rounding.
10475 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10476 (output_for_one_input_case): Handle flag_xfail_rounding.
10477 * sysdeps/i386/fpu/libm-test-ulps: Update.
10478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10479
18d14251
AJ
104802013-12-03 Aurelien Jarno <aurelien@aurel32.net>
10481
3d2e6075 10482 [BZ #16289]
18d14251
AJ
10483 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10484 division by 0.
10485
520d437b
SP
104862013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10487
10488 [BZ #16195]
10489 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10490 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10491 (STAP_PROBE0): New macro.
10492 (STAP_PROBE1): Likewise.
10493 (STAP_PROBE2): Likewise.
10494 (STAP_PROBE3): Likewise.
10495 (STAP_PROBE4): Likewise.
10496
416e0145
OB
104972013-12-02 Ondřej Bílka <neleai@seznam.cz>
10498
10499 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
10500
9d17796a
SE
105012013-12-02 Steve Ellcey <sellcey@mips.com>
10502
10503 * benchtests/Makefile (bench): Add sqrt.
10504 (LDLIBS-bench-sqrt): New.
10505 * benchtests/sqrt-input: New.
10506
f524d6a8
PS
105072013-12-02 Pavel Simerda <psimerda@redhat.com>
10508
639a0ef8
PS
10509 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
10510 (GAIH_EAI): Likewise.
10511 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
10512 (gaih_inet): Likewise.
10513 (getaddrinfo): Don't use GAIH_EAI.
10514
f524d6a8
PS
10515 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
10516 (struct gaih): Remove definition.
10517
df3aedaf
SP
105182013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10519
10520 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
10521 Use HERRNOP directly.
10522
1ab19dec
AZ
105232013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10524
b42ad38d 10525 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 10526
176b0c79
JM
105272013-11-30 Joseph Myers <joseph@codesourcery.com>
10528
10529 * math/gen-auto-libm-tests.c (test_functions): Add more
10530 single-argument functions.
10531 (special_fill_pi_2): New function.
10532 (special_fill_minus_pi_2): Likewise.
10533 (special_fill_pi_6): Likewise.
10534 (special_fill_minus_pi_6): Likewise.
10535 (special_fill_pi_3): Likewise.
10536 (special_fill_2pi_3): Likewise.
10537 (special_fill_e): Likewise.
10538 (special_fill_1_e): Likewise.
10539 (special_fill_e_minus_1): Likewise.
10540 (special_real_inputs): Add more special inputs.
10541 (output_for_one_input_case): Do not require ERANGE on underflow to
10542 zero if round-to-nearest result does not underflow to zero, unless
10543 exact results required.
10544 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
10545 atan, atanh, cbrt, cos and cosh.
10546 * math/auto-libm-test-out: Regenerated.
10547 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
10548 (acos_tonearest_test_data): Likewise.
10549 (acos_towardzero_test_data): Likewise.
10550 (acos_downward_test_data): Likewise.
10551 (acos_upward_test_data): Likewise.
10552 (acosh_test_data): Likewise.
10553 (asin_test_data): Likewise.
10554 (asin_tonearest_test_data): Likewise.
10555 (asin_towardzero_test_data): Likewise.
10556 (asin_upward_test_data): Likewise.
10557 (asinh_test_data): Likewise.
10558 (atan_test_data): Likewise.
10559 (atanh_test_data): Likewise.
10560 (cbrt_test_data): Likewise.
10561 (cos_test_data): Likewise.
10562 (cos_tonearest_test_data): Likewise.
10563 (cos_towardzero_test_data): Likewise.
10564 (cos_downward_test_data): Likewise.
10565 (cos_upward_test_data): Likewise.
10566 (cosh_test_data): Likewise.
10567 (cosh_tonearest_test_data): Likewise.
10568 (cosh_towardzero_test_data): Likewise.
10569 (cosh_downward_test_data): Likewise.
10570 (cosh_upward_test_data): Likewise.
10571 * sysdeps/i386/fpu/libm-test-ulps: Update.
10572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10573
ffb536d0
JM
105742013-11-29 Joseph Myers <joseph@codesourcery.com>
10575
2a77a467
JM
10576 [BZ #6787]
10577 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
10578 * math/w_exp10f.c (__exp10f): Likewise.
10579 * math/w_exp10l.c (__exp10l): Likewise.
10580 * math/libm-test.inc (exp10_test_data): Add more tests and expect
10581 errno settings in existing tests.
10582
ea3bc4e8
JM
10583 [BZ #14032]
10584 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
10585 precision control set to double precision.
10586 * sysdeps/i386/fpu/w_sqrt.c: New file.
10587 * math/auto-libm-test-in: Add more tests.
10588 * math/auto-libm-test-out: Update.
10589
0712c9d8
JM
10590 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
10591 (sqrt_test_tonearest): New function.
10592 (sqrt_towardzero_test_data): New variable.
10593 (sqrt_test_towardzero): New function.
10594 (sqrt_downward_test_data): New variable.
10595 (sqrt_test_downward): New function.
10596 (sqrt_upward_test_data): New variable.
10597 (sqrt_test_upward): New function.
10598 (main): Call the new functions.
10599
ffb536d0
JM
10600 * math/gen-auto-libm-tests.c: New file.
10601 * math/auto-libm-test-in: Likewise.
10602 * math/auto-libm-test-out: New generated file.
10603 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
10604 variables.
10605 (%beautify): Add generated representations of zero.
10606 (top level): Set $auto_input and call parse_auto_input.
10607 (beautify): Remove trailing "f" from hex float constants.
10608 (parse_args): Handle XFAIL_TEST.
10609 (convert_condition): New function.
10610 (or_value): Likewise.
10611 (or_cond_value): Likewise.
10612 (generate_testfile): Handle AUTO_TESTS_* lines.
10613 (parse_auto_input): New function.
10614 * math/libm-test.inc (XFAIL_TEST): New macro.
10615 (ERRNO_UNCHANGED): Update value.
10616 (ERRNO_EDOM): Likewise.
10617 (ERRNO_ERANGE): Likewise.
10618 (IGNORE_RESULT): Likewise.
10619 (TEST_COND_flt_32): New macro.
10620 (TEST_COND_dbl_64): Likewise.
10621 (TEST_COND_ldbl_96_intel): Likewise.
10622 (TEST_COND_ldbl_96_m68k): Likewise.
10623 (TEST_COND_ldbl_128): Likewise.
10624 (TEST_COND_ldbl_128ibm): Likewise.
10625 (TEST_COND_long32): Likewise.
10626 (TEST_COND_long64): Likewise.
10627 (TEST_COND_before_rounding): Likewise.
10628 (TEST_COND_after_rounding): Likewise.
10629 (enable_test): Handle XFAIL_TEST flag.
10630 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
10631 with finite results.
10632 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
10633 auto-libm-test-out.
10634
acd98a8e
AK
106352013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10636 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10637
10638 [BZ #16214]
10639 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
10640 __tls_get_addr_internal instead of __tls_get_offset in order to
10641 avoid GOT pointer dependency. Make rtld export
10642 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
10643 __tls_get_addr since we are a __tls_get_offset platform.
10644 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
10645 GOT pointer being set up before.
10646 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
10647
3c1c46a6
JM
106482013-11-28 Joseph Myers <joseph@codesourcery.com>
10649
7475aef5
JM
10650 * manual/math.texi (Errors in Math Functions): Document accuracy
10651 goals.
10652
8bca7cd8
JM
10653 [BZ #15004]
10654 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
10655 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
10656 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10657 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10658 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10659 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10660 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10661 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10662 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10663 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10664 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10665 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10666 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10667 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10668 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10669 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10670
91a1f3fe
JM
10671 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
10672 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
10673 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
10674 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
10675 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
10676 Likewise.
10677 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
10678 Likewise.
10679 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
10680 Likewise.
10681 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
10682 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10683 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
10684 atomic-feupdateenv and flt-rounds.
10685 * sysdeps/powerpc/nofpu/Versions (libc): Add
10686 __atomic_feholdexcept, __atomic_feclearexcept,
10687 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
10688 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
10689 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
10690 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
10691 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
10692 here.
10693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10694 Update.
10695
c5df7609
JM
10696 * manual/arith.texi (FP Exceptions): Document that exceptions may
10697 not be raised when matherr is used.
10698 (Math Error Reporting): Document overflow in directed rounding
10699 modes. Document that errno may not be set when finite values are
10700 returned on overflow. Document intent to set errno on underflow
10701 only for underflow to zero.
10702
3c1c46a6
JM
10703 [BZ #16271]
10704 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
10705 round-to-nearest then adjust result for other rounding modes.
10706 * include/fenv.h (fegetround): Use libm_hidden_proto.
10707 * math/fegetround.c (fegetround): Use libm_hidden_def.
10708 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10709 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10710 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10711 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10712 Likewise.
10713 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
10714 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10715 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10716 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
10717
5a4c6d53
SP
107182013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10719
10720 [BZ #16077]
10721 * nss/Versions (libnss_files): Add
10722 _nss_files_gethostbyname3_r.
10723 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
10724 New function.
10725 (HOST_DB_LOOKUP): Remove macro.
10726 (_nss_files_gethostbyname_r): Implement function without the
10727 HOST_DB_LOOKUP macro.
10728 (_nss_files_gethostbyname2_r): Likewise.
10729
897b98ba
OB
107302013-11-28 Ondřej Bílka <neleai@seznam.cz>
10731
10732 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
10733
6f476861
UB
107342013-11-26 Uros Bizjak <ubizjak@gmail.com>
10735
10736 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
10737 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
10738 warning.
10739
bd12ab55
AZ
107402013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10741
10742 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
10743 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
10744 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10745 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10746 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
10747 __fe_nomask_env_priv and attribute_hidden.
10748 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
10749 (libc_feupdateenv_test_ppc): Likewise.
10750 (libc_feresetround_ppc): Likewise.
10751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10752 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
10753 compat_symbol macro.
10754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10755 (__fe_nomask_env): Likewise.
10756 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
10757
52bb6543
OB
107582013-11-26 Ondřej Bílka <neleai@seznam.cz>
10759
10760 * string/Makefile: Remove ifunc tests.
10761 * string/test-string.h: Define TEST_IFUNC.
10762 * string/test-bcopy-ifunc.c: Remove.
10763 * string/test-bzero-ifunc.c: Likewise.
10764 * string/test-memccpy-ifunc.c: Likewise.
10765 * string/test-memchr-ifunc.c: Likewise.
10766 * string/test-memcmp-ifunc.c: Likewise.
10767 * string/test-memcpy-ifunc.c: Likewise.
10768 * string/test-memmem-ifunc.c: Likewise.
10769 * string/test-memmove-ifunc.c: Likewise.
10770 * string/test-mempcpy-ifunc.c: Likewise.
10771 * string/test-memrchr-ifunc.c: Likewise.
10772 * string/test-memset-ifunc.c: Likewise.
10773 * string/test-rawmemchr-ifunc.c: Likewise.
10774 * string/test-stpcpy-ifunc.c: Likewise.
10775 * string/test-stpncpy-ifunc.c: Likewise.
10776 * string/test-strcasecmp-ifunc.c: Likewise.
10777 * string/test-strcasestr-ifunc.c: Likewise.
10778 * string/test-strcat-ifunc.c: Likewise.
10779 * string/test-strchr-ifunc.c: Likewise.
10780 * string/test-strchrnul-ifunc.c: Likewise.
10781 * string/test-strcmp-ifunc.c: Likewise.
10782 * string/test-strcpy-ifunc.c: Likewise.
10783 * string/test-strcspn-ifunc.c: Likewise.
10784 * string/test-strlen-ifunc.c: Likewise.
10785 * string/test-strncasecmp-ifunc.c: Likewise.
10786 * string/test-strncat-ifunc.c: Likewise.
10787 * string/test-strncmp-ifunc.c: Likewise.
10788 * string/test-strncpy-ifunc.c: Likewise.
10789 * string/test-strnlen-ifunc.c: Likewise.
10790 * string/test-strpbrk-ifunc.c: Likewise.
10791 * string/test-strrchr-ifunc.c: Likewise.
10792 * string/test-strspn-ifunc.c: Likewise.
10793 * string/test-strstr-ifunc.c: Likewise.
10794
ab260039 107952013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
10796
10797 * benchtests/Makefile: Remove ifunc tests.
10798 * benchtests/bench-string.h: Define TEST_IFUNC.
10799 * benchtests/bench-bcopy-ifunc.c: Remove.
10800 * benchtests/bench-bzero-ifunc.c: Likewise.
10801 * benchtests/bench-memccpy-ifunc.c: Likewise.
10802 * benchtests/bench-memchr-ifunc.c: Likewise.
10803 * benchtests/bench-memcmp-ifunc.c: Likewise.
10804 * benchtests/bench-memcpy-ifunc.c: Likewise.
10805 * benchtests/bench-memmem-ifunc.c: Likewise.
10806 * benchtests/bench-memmove-ifunc.c: Likewise.
10807 * benchtests/bench-mempcpy-ifunc.c: Likewise.
10808 * benchtests/bench-memrchr-ifunc.c: Likewise.
10809 * benchtests/bench-memset-ifunc.c: Likewise.
10810 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
10811 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
10812 * benchtests/bench-stpcpy-ifunc.c: Likewise.
10813 * benchtests/bench-stpncpy-ifunc.c: Likewise.
10814 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
10815 * benchtests/bench-strcasestr-ifunc.c: Likewise.
10816 * benchtests/bench-strcat-ifunc.c: Likewise.
10817 * benchtests/bench-strchr-ifunc.c: Likewise.
10818 * benchtests/bench-strchrnul-ifunc.c: Likewise.
10819 * benchtests/bench-strcmp-ifunc.c: Likewise.
10820 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
10821 * benchtests/bench-strcpy-ifunc.c: Likewise.
10822 * benchtests/bench-strcspn-ifunc.c: Likewise.
10823 * benchtests/bench-strlen-ifunc.c: Likewise.
10824 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
10825 * benchtests/bench-strncat-ifunc.c: Likewise.
10826 * benchtests/bench-strncmp-ifunc.c: Likewise.
10827 * benchtests/bench-strncpy-ifunc.c: Likewise.
10828 * benchtests/bench-strnlen-ifunc.c: Likewise.
10829 * benchtests/bench-strpbrk-ifunc.c: Likewise.
10830 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 10831 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
10832 * benchtests/bench-strspn-ifunc.c: Likewise.
10833 * benchtests/bench-strstr-ifunc.c: Likewise.
10834
108352013-11-26 Ondřej Bílka <neleai@seznam.cz>
10836
ab260039
OB
10837 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
10838
d1d9eaf4 108392013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 10840
d1d9eaf4
OB
10841 * resolv/netdb.h: Use __glibc_reserved instead __unused.
10842 * rt/aio.h: Likewise.
10843 * sysdeps/gnu/bits/utmp.h: Likewise.
10844 * sysdeps/gnu/bits/utmpx.h: Likewise.
10845 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10846 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10847 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10848 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10849 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10850 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10851 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
10852 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
10853 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
10854 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10855 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10856 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10857 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
10858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
10859 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10860 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
10861 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10862 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10863 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10864 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
10865 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
10866 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
10867 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
10868 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10869 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10870 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10871 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
10872 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10873 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10874 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10875 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
10876 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
10877 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
10878 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10879 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10880 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
10881 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10882 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10883 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10884 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
10885 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10886 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10887
a7624ed9
CD
108882013-11-25 Carlos O'Donell <carlos@redhat.com>
10889
10890 [BZ #16245]
10891 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
10892 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
10893
63cfe52b
JM
108942013-11-25 Joseph Myers <joseph@codesourcery.com>
10895
10896 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
10897 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10898 Likewise.
10899
41e8926a
AZ
109002013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10901
10902 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
10903 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
10904 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
10905 (__fesetround): Remove define.
10906 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
10907 rounding and exceptions handling.
10908 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
10909 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
10910 (__fe_nomask_env): Likewise.
10911 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
10912 __fegetround instead of fegetround.
10913 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10914 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10915
6851bd4d
RM
109162013-11-21 Roland McGrath <roland@hack.frob.com>
10917
070906ff
RM
10918 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
10919 it's there.
10920
6851bd4d
RM
10921 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
10922
84ae135d
MI
109232013-11-21 Meador Inge <meadori@codesourcery.com>
10924
10925 [BZ #11157]
10926 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
10927 (encrypt_r): Likewise.
10928 * malloc/obstack.h (obstack_free): Likewise.
10929 * posix/unistd.h (encrypt): Likewise.
10930
daf75146
GM
109312013-11-21 Guy Martin <gmsoft@tuxicoman.be>
10932
10933 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
10934 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
10935 DL_CALL_DT_FINI() that call the functions directly.
10936 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
10937 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
10938 * elf/dl-fini.c: Likewise.
10939
10ad46bc
OB
109402013-11-20 Ondřej Bílka <neleai@seznam.cz>
10941
10942 * malloc/hooks.c (memalign_check): Add alignment rounding.
10943 * malloc/malloc.c (_mid_memalign): New function.
10944 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
10945 Implement by calling _mid_memalign.
10946 * manual/probes.texi (Memory Allocation Probes): Remove
10947 memory_valloc_retry and memory_pvalloc_retry.
10948
f3fd2628
SP
109492013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10950
4712799f
SP
10951 * locale/programs/locarchive.c (open_archive): Add const
10952 qualifier to ARCHIVEFNAME and copy default fname to
10953 DEFAULT_FNAME.
10954
0417b20f
SP
10955 [BZ #15601]
10956 * libio/tst-widetext.input: Rename Oriya to Odia.
10957 * locale/iso-639.def: Likewise.
10958
f3fd2628
SP
10959 * manual/probes.texi (Mathematical Function Probes): Add
10960 documentation for sin, cos, asin and acos probes.
10961 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
10962 (__sin32): Add slowasin probe.
10963 (__cos32): Add slowacos probe.
10964 (__mpsin): Add slowsin probe.
10965 (__mpcos): Add slowcos probe.
10966
73c1ce4f
JM
109672013-11-19 Joseph Myers <joseph@codesourcery.com>
10968
10969 [BZ #15483]
10970 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
10971 thread-local __sim_exceptions_thread and global
10972 __sim_exceptions_global.
10973 (__sim_disabled_exceptions): Change to thread-local
10974 __sim_disabled_exceptions_thread and global
10975 __sim_disabled_exceptions_global.
10976 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10977 and global __sim_round_mode_global.
10978 (__simulate_exceptions): Use thread-local floating-point state and
10979 set global state from it as needed.
10980 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
10981 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
10982 __sim_round_mode_thread.
10983 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
10984 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
10985 and global __sim_exceptions_global.
10986 (__sim_disabled_exceptions): Change to thread-local
10987 __sim_disabled_exceptions_thread and global
10988 __sim_disabled_exceptions_global.
10989 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10990 and global __sim_round_mode_global.
10991 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
10992 (SIM_SET_GLOBAL): Likewise.
10993 * sysdeps/powerpc/soft-fp/sfp-machine.h
10994 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
10995 __sim_round_mode_thread.
10996 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
10997 __sim_disabled_exceptions_thread.
10998 (__sim_exceptions): Change to __sim_exceptions_thread.
10999 (__sim_disabled_exceptions): Change to
11000 __sim_disabled_exceptions_thread.
11001 (__sim_round_mode): Change to __sim_round_mode_thread.
11002 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11003 thread-local floating-point state and set global state from it as
11004 needed.
11005 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11006 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11007 (__sim_disabled_exceptions): Remove extern declaration.
11008 (feenableexcept): Use thread-local floating-point state and set
11009 global state from it as needed.
11010 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11011 extern declaration.
11012 (__sim_disabled_exceptions): Likewise.
11013 (__sim_round_mode): Likewise.
11014 (__fegetenv): Use thread-local floating-point state.
11015 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11016 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11017 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11018 floating-point state and set global state from it as needed.
11019 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11020 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11021 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11022 Likewise.
11023 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11024 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11025 Likewise.
11026 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11027 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11028 Use __sim_round_mode_thread.
11029 * math/test-fenv-tls.c: New file.
11030 * math/Makefile (tests): Add test-fenv-tls.
11031 ($(objpfx)test-fenv-tls): Depend on
11032 $(common-objpfx)nptl/libpthread.so.
11033
b5449b12
AS
110342013-11-19 Andreas Schwab <schwab@suse.de>
11035
11036 * locale/programs/locale.c (show_info): Decode wordarray elements.
11037 * locale/categories.def (LC_MONETARY): Add element for
11038 _NL_MONETARY_CRNCYSTR.
11039 * locale/C-monetary.c (conversion_rate): New variable.
11040 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11041 element.
11042
e186536b
CM
110432013-11-18 Chris Metcalf <cmetcalf@tilera.com>
11044
11045 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11046 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11047
5c349950
PP
110482013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11049
11050 * elf/Makefile (tst-auxv): New test.
11051 * elf/tst-auxv.c: New
11052 * elf/rtld.c (dl_main): Adjust AT_EXECFN
11053
699df45b
JM
110542013-11-18 Joseph Myers <joseph@codesourcery.com>
11055
11056 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11057 (hidden_proto): Caller changed.
11058 (hidden_tls_proto): New macro.
11059 (libc_hidden_tls_proto): Likewise.
11060 (rtld_hidden_tls_proto): Likewise.
11061 (libm_hidden_tls_proto): Likewise.
11062 (libresolv_hidden_tls_proto): Likewise.
11063 (librt_hidden_tls_proto): Likewise.
11064 (libdl_hidden_tls_proto): Likewise.
11065 (libnss_files_hidden_tls_proto): Likewise.
11066 (libnsl_hidden_tls_proto): Likewise.
11067 (libnss_nisplus_hidden_tls_proto): Likewise.
11068 (libutil_hidden_tls_proto): Likewise.
11069
b7589107
OB
110702013-11-18 Ondřej Bílka <neleai@seznam.cz>
11071
11072 [BZ #10253]
11073 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11074 (decompose_rpath): Defer expansion to fillin_rpath.
11075 (_dl_init_paths): Pass linkmap to fillin_rpath.
11076
250c23bd
RS
110772013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11078
11079 * benchtests/Makefile: Add strsep.
11080 * benchtests/bench-strsep.c: New file: strsep benchtest.
11081 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11082
a7931fcf
AS
110832013-11-18 Andreas Schwab <schwab@suse.de>
11084
11085 * locale/programs/locale.c (show_info) [case byte]: Check for
11086 '\377' instead of '\177'.
11087 * locale/C-monetary.c (not_available): Always use "\377".
11088 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11089 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
11090 detect unavailable sign_posn locale elements.
11091 * locale/localeconv.c (__localeconv): For grouping and
11092 mon_grouping handle "\177" and "\377" like no grouping.
11093 (INT_ELEM): New macro. Use it to set all numeric members.
11094 * locale/programs/ld-monetary.c (monetary_read)
11095 <tok_mon_grouping>: Normalize single -1 to the empty string.
11096 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11097 Likewise.
11098
728dab0e
OB
110992013-11-07 Ondřej Bílka <neleai@seznam.cz>
11100
11101 [BZ #16055]
11102 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11103 when we match (nil).
11104 * stdio-common/tst-sscanf.c (struct test): Add testcase.
11105
66294491
JM
111062013-11-16 Joseph Myers <joseph@codesourcery.com>
11107
ce665817
JM
11108 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11109 (NO_TEST_INLINE): Update value.
11110 (ERRNO_UNCHANGED): Likewise.
11111 (ERRNO_EDOM): Likewise.
11112 (ERRNO_ERANGE): Likewise.
11113 (IGNORE_RESULT): Likewise.
11114 (check_float_internal): Check signs of NaN results if
11115 TEST_NAN_SIGN used.
11116 (check_complex): Pass TEST_NAN_SIGN flag through to second
11117 check_float_internal call.
11118 (copysign_test_data): Add tests with quiet NaNs as second
11119 argument. Use TEST_NAN_SIGN.
11120 (fabs_test_data): Add test of negative quiet NaN argument. Use
11121 TEST_NAN_SIGN.
11122 (signbit_test_data): Add tests of quiet NaN argument.
11123 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11124
ee1466a9
JM
11125 * math/gen-libm-test.pl (show_exceptions): Take extra argument
11126 $ignore_result.
11127 (parse_args): Handle function results specified as IGNORE.
11128 * math/libm-test.inc (IGNORE_RESULT): New macro.
11129 (check_float_internal): Do not check numerical result if flag
11130 IGNORE_RESULT set.
11131 (check_complex): Pass through IGNORE_RESULT to second
11132 check_float_internal call.
11133 (check_int): Do not check numerical result if flag IGNORE_RESULT
11134 set.
11135 (check_long): Likewise.
11136 (check_bool): Likewise.
11137 (check_longlong): Likewise.
11138 (lrint_test_data): Add tests of infinite and NaN arguments.
11139 (lrint_tonearest_test_data): Likewise.
11140 (lrint_towardzero_test_data): Likewise.
11141 (lrint_downward_test_data): Likewise.
11142 (lrint_upward_test_data): Likewise.
11143 (llrint_test_data): Likewise.
11144 (llrint_tonearest_test_data): Likewise.
11145 (llrint_towardzero_test_data): Likewise.
11146 (llrint_downward_test_data): Likewise.
11147 (llrint_upward_test_data): Likewise.
11148 (lround_test_data): Likewise.
11149 (llround_test_data): Likewise.
11150
14407b7e
JM
11151 * math/libm-test.inc (NO_TEST_INLINE): New macro.
11152 (ERRNO_UNCHANGED): Update value.
11153 (ERRNO_EDOM): Likewise.
11154 (ERRNO_ERANGE): Likewise.
11155 (NO_TEST_INLINE_FLOAT): New macro.
11156 (NO_TEST_INLINE_DOUBLE): Likewise.
11157 (enable_test): New function.
11158 (RUN_TEST_f_f): Check enable_test before running test.
11159 (RUN_TEST_2_f): Likewise.
11160 (RUN_TEST_fff_f): Likewise.
11161 (RUN_TEST_c_f): Likewise.
11162 (RUN_TEST_f_f1): Likewise.
11163 (RUN_TEST_fF_f1): Likewise.
11164 (RUN_TEST_fI_f1): Likewise.
11165 (RUN_TEST_ffI_f1): Likewise.
11166 (RUN_TEST_c_c): Likewise.
11167 (RUN_TEST_cc_c): Likewise.
11168 (RUN_TEST_f_i): Likewise.
11169 (RUN_TEST_f_i_tg): Likewise.
11170 (RUN_TEST_ff_i_tg): Likewise.
11171 (RUN_TEST_f_b): Likewise.
11172 (RUN_TEST_f_b_tg): Likewise.
11173 (RUN_TEST_f_l): Likewise.
11174 (RUN_TEST_f_L): Likewise.
11175 (RUN_TEST_fFF_11): Likewise.
11176 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11177 conditionals.
11178 (cosh_test_data): Likewise.
11179 (exp_test_data): Likewise.
11180 (expm1_test_data): Likewise.
11181 (hypot_test_data): Likewise.
11182 (pow_test_data): Likewise.
11183 (sinh_test_data): Likewise.
11184 (tanh_test_data): Likewise.
11185 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11186 flags argument.
11187
ca07f197
JM
11188 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11189 tests with quiet NaN input and output.
11190 (acosh_test_data): Likewise.
11191 (asin_test_data): Likewise.
11192 (asinh_test_data): Likewise.
11193 (atan_test_data): Likewise.
11194 (atanh_test_data): Likewise.
11195 (atan2_test_data): Likewise.
11196 (cbrt_test_data): Likewise.
11197 (cos_test_data): Likewise.
11198 (cosh_test_data): Likewise.
11199 (erf_test_data): Likewise.
11200 (erfc_test_data): Likewise.
11201 (exp_test_data): Likewise.
11202 (exp10_test_data): Likewise.
11203 (exp2_test_data): Likewise.
11204 (expm1_test_data): Likewise.
11205 (hypot_test_data): Likewise.
11206 (j0_test_data): Likewise.
11207 (j1_test_data): Likewise.
11208 (jn_test_data): Likewise.
11209 (lgamma_test_data): Likewise.
11210 (log_test_data): Likewise.
11211 (log10_test_data): Likewise.
11212 (log1p_test_data): Likewise.
11213 (log2_test_data): Likewise.
11214 (pow_test_data): Likewise.
11215 (scalb_test_data): Likewise.
11216 (sin_test_data): Likewise.
11217 (sincos_test_data): Likewise.
11218 (sinh_test_data): Likewise.
11219 (tan_test_data): Likewise.
11220 (tanh_test_data): Likewise.
11221 (tgamma_test_data): Likewise.
11222 (y0_test_data): Likewise.
11223 (y1_test_data): Likewise.
11224 (yn_test_data): Likewise.
11225
66294491
JM
11226 [BZ #16167]
11227 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11228 argument being NaN and avoid computations with second argument in
11229 that case.
11230 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11231 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11232 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11233
1820b143
CL
112342013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
11235
11236 * locale/iso-639.def: Add Chitwani Tharu (the).
11237
714bd261
AS
112382013-11-14 Andreas Schwab <schwab@suse.de>
11239
11240 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11241 word instead of empty string.
11242
7ab44563
AZ
112432013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11244
11245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11246 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11248 (__fe_nomask_env): Likewise.
11249
e8470ea2
SE
112502013-11-13 Steve Ellcey <sellcey@mips.com>
11251
11252 * benchtests/bench-timing.h: Include time.h.
11253
17c1d9f0
L
112542013-11-13 H.J. Lu <hongjiu.lu@intel.com>
11255
11256 [BZ #15997]
11257 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11258 to 3.4.0 for x32.
11259 * sysdeps/unix/sysv/linux/configure: Regenerated.
11260
9310c284
JM
112612013-11-13 Joseph Myers <joseph@codesourcery.com>
11262
11263 [BZ #16151]
11264 * stdlib/strtod_l.c (round_and_return): Do not consider
11265 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11266 exponent one less than half the least subnormal exponent.
11267 * stdlib/test-strtod-round-data: Add more tests.
11268 * stdlib/tst-strtod-round.c (tests): Regenerated.
11269
7a2ad8cf
AZ
112702013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11271
11272 [BZ #14143]
11273 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11274 (__fe_mask_env): Likewise.
11275 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11276 libm_hidden_proto and add function prototype.
11277 (__fe_mask_env): Add function prototype.
11278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11279 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11281 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11283 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11284
50727aa7
MS
112852013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11286
b2f386c1 11287 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
11288 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11289
a615be46
MS
112902013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11291
11292 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11293 of htab_find_slot().
11294
7ddace62
DM
112952013-11-11 David S. Miller <davem@davemloft.net>
11296
11297 [BZ #16150]
11298 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11299 symbol in the non-vis3 case in static builds.
11300 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11301 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11302 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11303 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11304
9182aa67
JK
113052013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11306
11307 [BZ #387]
11308 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11309 it is empty.
11310
450a2e2d
AZ
113112013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11312
b2f386c1
SP
11313 * benchtests/Makefile: Add bench-strtod.
11314 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 11315
8ec3f656
AS
113162013-11-11 Andreas Schwab <schwab@suse.de>
11317
11318 [BZ #16153]
11319 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11320 terminating NUL in key length.
11321
76a9b998
AZ
113222013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11323
11324 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11325 Add artificial ODP entry for vDSO symbol for PPC64.
11326 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11327 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11328
e4368156
OB
113292013-11-07 Ondřej Bílka <neleai@seznam.cz>
11330
11331 [BZ #15374]
11332 * nss/getent.c (services_keys): Recognize services starting with digit.
11333
8d6bb57c
DM
113342013-11-06 David S. Miller <davem@davemloft.net>
11335
11336 [BZ #15985]
11337 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11338 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11339
e256c421
WN
113402013-11-06 Will Newton <will.newton@linaro.org>
11341
11342 * manual/memory.texi (Malloc Examples): Remove register
11343 keyword from examples.
11344
f6e12daa 113452013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 11346
f6e12daa 11347 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 11348
9d880655
AS
113492013-11-04 Joseph Myers <joseph@codesourcery.com>
11350
fd2f9486 11351 [BZ #6981]
9d880655
AS
11352 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11353 depending on [__GCC_IEC_559 > 0].
11354 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11355 depending on [__GCC_IEC_559_COMPLEX > 0].
11356
ae129d3c
CL
113572013-11-03 Chris Leonard <cjl@sugarlabs.org>
11358
11359 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11360 to iso-639.def.
11361
4a15c2a4 113622013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
11363
11364 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11365
8b35e35d
OB
113662013-11-01 Ondřej Bílka <neleai@seznam.cz>
11367
11368 [BZ #16112]
11369 * malloc/malloc (malloc_info): Do not handle first bin as
11370 special case.
11371
1d70fd6c
CL
113722013-11-01 Chris Leonard <cjl@sugarlabs.org>
11373
11374 * locale/iso-639.def: Add Central Nahuatl (nhn).
11375
8c5c2600
BH
113762013-11-01 Bruno Haible <bruno@clisp.org>
11377
11378 [BZ #7003]
11379 * manual/math.texi (BSD Random): Specify range upper bound as
11380 in POSIX.
11381
da5579c2
CL
113822013-10-31 Chris Leonard <cjl@sugarlabs.org>
11383
11384 * locale/iso-639.def: Add Meadow Mari (mhr).
11385
5d30d853
OB
113862013-10-31 Ondřej Bílka <neleai@seznam.cz>
11387
11388 [BZ #14752], [BZ #15763]
11389 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11390 Validate name.
11391 * rt/tst_shm.c: Add test for escaping directory.
11392
a4966c61
AS
113932013-10-31 Andreas Schwab <schwab@suse.de>
11394
8a43e768 11395 [BZ #15917]
a4966c61
AS
11396 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11397 followed by 'x' as part of digit sequence.
11398 * stdio-common/tst-sscanf.c (double_tests2): New tests.
11399
28d708c4
MAP
114002013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11401
11402 [BZ #16037]
11403 * configure.ac: allow GNU Make 4.0 and greater.
11404 * configure: Regenerated.
11405
a56ee40b
WN
114062013-10-30 Will Newton <will.newton@linaro.org>
11407
11408 [BZ #16038]
11409 * malloc/hooks.c (memalign_check): Limit alignment to the
11410 maximum representable power of two.
11411 * malloc/malloc.c (__libc_memalign): Likewise.
11412 * malloc/tst-memalign.c (do_test): Add test for very
11413 large alignment values.
11414 * malloc/tst-posix_memalign.c (do_test): Likewise.
11415
c6e4925d
OB
114162013-10-30 Ondřej Bílka <neleai@seznam.cz>
11417
11418 [BZ #11087]
11419 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11420 (munmap_chunk): Likewise.
11421 (mremap_chunk): Likewise.
11422
114232013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 11424
8a43e768 11425 [BZ #15799]
bbea82f7
OB
11426 * stdlib/div.c (div): Remove obsolete code.
11427 * stdlib/ldiv.c (ldiv): Likewise.
11428 * stdlib/lldiv.c (lldiv): Likewise.
11429
977f4b31
SP
114302013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11431
11432 [BZ #16071]
11433 * nss/nss_files/files-XXX.c (get_contents_ret): New
11434 enumerator.
11435 (get_contents): New function.
11436 (internal_getent): Use it. Expand size of LINEBUFLEN.
11437
cb8a6dbd
MF
114382013-10-30 Mike Frysinger <vapier@gentoo.org>
11439
11440 * configure.in: Moved to ...
11441 * configure.ac: ... here. Change reference to configure.in
11442 to configure.ac.
11443 * sysdeps/arm/preconfigure.ac: ... here.
11444 configure.in to configure.ac.
11445 * sysdeps/gnu/configure.in: Moved to ...
11446 * sysdeps/gnu/configure.ac: ... here.
11447 * sysdeps/i386/configure.in: Moved to ...
11448 * sysdeps/i386/configure.ac: ... here.
11449 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11450 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11451 * sysdeps/mach/configure.in: Moved to ...
11452 * sysdeps/mach/configure.ac: ... here.
11453 * sysdeps/mach/hurd/configure.in: Moved to ...
11454 * sysdeps/mach/hurd/configure.ac: ... here.
11455 * sysdeps/powerpc/configure.in: Moved to ...
11456 * sysdeps/powerpc/configure.ac: ... here.
11457 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11458 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11459 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11460 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11461 * sysdeps/s390/s390-32/configure.in: Moved to ...
11462 * sysdeps/s390/s390-32/configure.ac: ... here.
11463 * sysdeps/s390/s390-64/configure.in: Moved to ...
11464 * sysdeps/s390/s390-64/configure.ac: ... here.
11465 * sysdeps/sh/configure.in: Moved to ...
11466 * sysdeps/sh/configure.ac: ... here.
11467 * sysdeps/sparc/configure.in: Moved to ...
11468 * sysdeps/sparc/configure.ac: ... here.
11469 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11470 * sysdeps/unix/sysv/linux/configure.ac: ... here.
11471 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11472 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11473 * sysdeps/x86_64/configure.in: Moved to ...
11474 * sysdeps/x86_64/configure.ac: ... here.
11475 * sysdeps/x86_64/preconfigure.in: Moved to ...
11476 * sysdeps/x86_64/preconfigure.ac: ... here.
11477 * aclocal.m4: Change reference to configure.in to configure.ac.
11478 * config.h.in: Likewise.
11479 * manual/install.texi: Likewise.
11480 * manual/maint.texi: Likewise.
11481 * Makefile: Likewise.
11482 * malloc/Makefile: Likewise.
11483 * nscd/Makefile: Likewise.
11484 * Makeconfig: Change reference to configure.in and
11485 preconfigure.in to configure.ac and preconfigure.ac
11486 respectively.
11487 * INSTALL: Regenerated.
11488 * configure: Likewise.
11489 * sysdeps/gnu/configure: Likewise.
11490 * sysdeps/i386/configure: Likewise.
11491 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11492 * sysdeps/mach/configure: Likewise.
11493 * sysdeps/mach/hurd/configure: Likewise.
11494 * sysdeps/powerpc/configure: Likewise.
11495 * sysdeps/powerpc/powerpc32/configure: Likewise.
11496 * sysdeps/powerpc/powerpc64/configure: Likewise.
11497 * sysdeps/s390/s390-32/configure: Likewise.
11498 * sysdeps/s390/s390-64/configure: Likewise.
11499 * sysdeps/sh/configure: Likewise.
11500 * sysdeps/sparc/configure: Likewise.
11501 * sysdeps/unix/sysv/linux/configure: Likewise.
11502 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
11503 * sysdeps/x86_64/configure: Likewise.
11504 * sysdeps/x86_64/preconfigure: Likewise.
11505
36a4953a
AS
115062013-10-29 Andreas Schwab <schwab@suse.de>
11507
11508 * stdio-common/Makefile (tst-swscanf-ENV): Define.
11509
c79a1204
SP
115102013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11511
dfa1b402
SP
11512 * benchtests/pow-inputs: Add new inputs.
11513
54f73d9c
SP
11514 * benchtests/exp-inputs: Add new inputs.
11515
c79a1204
SP
11516 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
11517 conditional check for return value.
11518 (__cos32): Likewise.
11519
67beb545 115202013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
11521
11522 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
11523 to provide a boost for large inputs with word alignment.
11524 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
11525 implementation based on optimized PPC64 strcpy.
11526 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
11527 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
11528 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
11529 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
11530
151659f6
OB
115312013-10-25 Ondřej Bílka <neleai@seznam.cz>
11532
482a077e 11533 [BZ #2801]
151659f6
OB
11534 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
11535
10b0f26b
OB
115362013-10-25 Ondřej Bílka <neleai@seznam.cz>
11537
11538 [BZ #14876]
11539 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
11540 * time/tst-strptime.c (day_tests): Add testcase.
11541
ca42d35e
OB
115422013-10-25 Ondřej Bílka <neleai@seznam.cz>
11543
482a077e 11544 [BZ #14029]
ca42d35e
OB
11545 * manual/pattern.texi: Acknowledge that fnmatch can fail.
11546
52e6d801
FB
115472013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
11548
11549 [BZ #16074]
11550 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
11551 MAP_FAILED on error.
11552
7cbcdb36
SP
115532013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11554
11555 [BZ #16072]
11556 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
11557 heap for large requests.
11558
894f3f10
AM
115592013-10-25 Aurelien Jarno <aurelien@aurel32.net>
11560
11561 [BZ #9954]
11562 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
11563 result if the result has no associated interface.
11564 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
11565 interface for all 127.X.Y.Z addresses.
11566
b85545a6
CL
115672013-10-24 Chris Leonard <cjl@sugarlabs.org>
11568
11569 * locale/iso-639.def: Add Ligurian (lij)
11570
d1f23d46
OB
115712013-10-21 Ondřej Bílka <neleai@seznam.cz>
11572
11573 [BZ #15825]
11574 * sunrpc/rpc_main.c: Document rpcgen -5.
11575
4db5b08f
MS
115762013-10-19 Michael Stahl <mstahl@redhat.com>
11577
11578 * elf/rtld.c (do_preload): Print the reason why preloading failed.
11579
a471e96a
OB
115802013-10-19 Ondřej Bílka <neleai@seznam.cz>
11581
d1f23d46 11582 [BZ #10278]
a471e96a
OB
11583 * posix/glob.c: Match only directories when trailing slash is present.
11584 * posix/tst-gnuglob.c (my_opendir): Do not open files.
11585 (main): Add testcase.
11586
45c30c61
OB
115872013-10-19 Ondřej Bílka <neleai@seznam.cz>
11588
11589 [BZ #15670]
11590 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
11591
484c12fb
CD
115922013-10-18 Carlos O'Donell <carlos@redhat.com>
11593
3d7dc513
CD
11594 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
11595 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
11596 AUTH_DES and cindex for FIPS 140-2.
11597 (DES Encryption): Add cindex FIPS 46-3.
11598
484c12fb
CD
11599 * locale/locarchive.h (struct locarhandle): Add fname.
11600 * locale/programs/localedef.c (main): Pass ARGV[remaining]
11601 if an optional argument was specified to --list-archive,
11602 otherwise NULL.
11603 * locale/programs/locarchive.c (show_archive_content): Take new
11604 argument fname and pass it via ah.fname to open_archive.
11605 * locale/programs/localedef.h: Update decl.
11606 (open_archive): If AH->fname is non-null, open that file
11607 rather than the default file name, and don't ignore ENOENT.
11608 (create_archive): Set AH.fname to NULL.
11609 (delete_locales_from_archive): Likewise.
11610 (add_locales_to_archive): Likewise.
11611 * locale/programs/locfile.c (write_all_categories): Likewise.
11612
3c8325fb
JM
116132013-10-18 Joseph Myers <joseph@codesourcery.com>
11614 Aldy Hernandez <aldyh@redhat.com>
11615
11616 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
11617 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
11618 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
11619 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
11620 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
11621 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
11622 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
11623 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
11624 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
11625 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
11626 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
11627 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
11628 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
11629 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
11630 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
11631 Likewise.
11632 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
11633 Likewise.
11634 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
11635 Likewise.
11636 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
11637 Likewise.
11638 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
11639 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
11640 Likewise.
11641 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
11642 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
11643 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
11644 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
11645 Likewise.
11646 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
11647 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
11648 * sysdeps/powerpc/preconfigure: Likewise.
11649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11650 Likewise.
11651 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
11652 Replace contents of file by #include of <fenv_libc.h>.
11653 * sysdeps/powerpc/soft-fp/sfp-machine.h
11654 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
11655 and <sys/prctl.h>.
11656 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
11657 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
11658 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
11659 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
11660 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
11661 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
11662 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
11663 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
11664 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
11665 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
11666 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
11667 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
11668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11669 Allow copysignl PLT reference to be missing.
11670
5abe0682
RS
116712013-10-18 Richard Sandiford <richard@codesourcery.com>
11672 Joseph Myers <joseph@codesourcery.com
11673
11674 [BZ #15948]
11675 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
11676 single character.
11677 (add_to_tablewc): Assert sequence of wide characters is nonempty.
11678
c7738d08
SP
116792013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11680
11681 * elf/tst-tls-dlinfo.c: Don't include tls.h.
11682 * elf/tst-tls1.c: Likewise.
11683 * elf/tst-tls10.h: Likewise.
11684 * elf/tst-tls14.c: Likewise.
11685 * elf/tst-tls2.c: Likewise.
11686 * elf/tst-tls3.c: Likewise.
11687 * elf/tst-tls4.c: Likewise.
11688 * elf/tst-tls5.c: Likewise.
11689 * elf/tst-tls6.c: Likewise.
11690 * elf/tst-tls7.c: Likewise.
11691 * elf/tst-tls8.c: Likewise.
11692 * elf/tst-tls9.c: Likewise.
11693 * elf/tst-tlsmod1.c: Likewise.
11694 * elf/tst-tlsmod13.c: Likewise.
11695 * elf/tst-tlsmod13a.c: Likewise.
11696 * elf/tst-tlsmod14a.c: Likewise.
11697 * elf/tst-tlsmod16a.c: Likewise.
11698 * elf/tst-tlsmod16b.c: Likewise.
11699 * elf/tst-tlsmod2.c: Likewise.
11700 * elf/tst-tlsmod3.c: Likewise.
11701 * elf/tst-tlsmod4.c: Likewise.
11702 * elf/tst-tlsmod5.c: Likewise.
11703 * elf/tst-tlsmod6.c: Likewise.
11704
0bfcf2c7
OB
117052013-10-18 Ondřej Bílka <neleai@seznam.cz>
11706
11707 [BZ #12486]
11708 * malloc/malloc.c: remove checks for statistics.
11709
264aad1e
OB
117102013-10-17 Ondřej Bílka <neleai@seznam.cz>
11711
11712 [BZ #15277]
11713 * inet/inet_net.c (inet_network): Detect additional invalid strings.
11714 * inet/tst-network.c: Add testcase.
11715
b957ced8
AS
117162013-10-17 Andreas Schwab <schwab@suse.de>
11717
11718 [BZ #15218]
11719 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
11720 to determine canonical name.
11721
c5d5d574
OB
117222013-10-17 Ondřej Bílka <neleai@seznam.cz>
11723
11724 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
11725 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
11726 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11727 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11728 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11729 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11730 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11731 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11732 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11733 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11734 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11735 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11736 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11737 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11738 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11739 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11740 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11741 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11742 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11743 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11744 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11745 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11746 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11747 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
11748 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
11749 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11750 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11751 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
11752 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11753 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
11754 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11755 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11756 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11757 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11758 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11759 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11760 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11761 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11762 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11763 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11764 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11765 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11766 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11767 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11768 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11769 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11770 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11771 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11772 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11773 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11774 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11775 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11776 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11777 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11778 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11779 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11780 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11781 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11782
e5c2c2d0
JM
117832013-10-17 Joseph Myers <joseph@codesourcery.com>
11784
11785 [BZ #16041]
11786 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
11787 make result into a quiet NaN.
11788
51ca9e29
JM
117892013-10-16 Joseph Myers <joseph@codesourcery.com>
11790
11791 * soft-fp/adddf3.c: Fix horizontal whitespace.
11792 * soft-fp/addsf3.c: Likewise.
11793 * soft-fp/addtf3.c: Likewise.
11794 * soft-fp/divdf3.c: Likewise.
11795 * soft-fp/divsf3.c: Likewise.
11796 * soft-fp/divtf3.c: Likewise.
11797 * soft-fp/double.h: Likewise.
11798 * soft-fp/eqdf2.c: Likewise.
11799 * soft-fp/eqsf2.c: Likewise.
11800 * soft-fp/eqtf2.c: Likewise.
11801 * soft-fp/extenddftf2.c: Likewise.
11802 * soft-fp/extended.h: Likewise.
11803 * soft-fp/extendsfdf2.c: Likewise.
11804 * soft-fp/extendsftf2.c: Likewise.
11805 * soft-fp/extendxftf2.c: Likewise.
11806 * soft-fp/fixdfdi.c: Likewise.
11807 * soft-fp/fixdfsi.c: Likewise.
11808 * soft-fp/fixdfti.c: Likewise.
11809 * soft-fp/fixsfdi.c: Likewise.
11810 * soft-fp/fixsfsi.c: Likewise.
11811 * soft-fp/fixsfti.c: Likewise.
11812 * soft-fp/fixtfdi.c: Likewise.
11813 * soft-fp/fixtfsi.c: Likewise.
11814 * soft-fp/fixtfti.c: Likewise.
11815 * soft-fp/fixunsdfdi.c: Likewise.
11816 * soft-fp/fixunsdfsi.c: Likewise.
11817 * soft-fp/fixunsdfti.c: Likewise.
11818 * soft-fp/fixunssfdi.c: Likewise.
11819 * soft-fp/fixunssfsi.c: Likewise.
11820 * soft-fp/fixunssfti.c: Likewise.
11821 * soft-fp/fixunstfdi.c: Likewise.
11822 * soft-fp/fixunstfsi.c: Likewise.
11823 * soft-fp/fixunstfti.c: Likewise.
11824 * soft-fp/floatdidf.c: Likewise.
11825 * soft-fp/floatdisf.c: Likewise.
11826 * soft-fp/floatditf.c: Likewise.
11827 * soft-fp/floatsidf.c: Likewise.
11828 * soft-fp/floatsisf.c: Likewise.
11829 * soft-fp/floatsitf.c: Likewise.
11830 * soft-fp/floattidf.c: Likewise.
11831 * soft-fp/floattisf.c: Likewise.
11832 * soft-fp/floattitf.c: Likewise.
11833 * soft-fp/floatundidf.c: Likewise.
11834 * soft-fp/floatundisf.c: Likewise.
11835 * soft-fp/floatunditf.c: Likewise.
11836 * soft-fp/floatunsidf.c: Likewise.
11837 * soft-fp/floatunsisf.c: Likewise.
11838 * soft-fp/floatunsitf.c: Likewise.
11839 * soft-fp/floatuntidf.c: Likewise.
11840 * soft-fp/floatuntisf.c: Likewise.
11841 * soft-fp/floatuntitf.c: Likewise.
11842 * soft-fp/fmadf4.c: Likewise.
11843 * soft-fp/fmasf4.c: Likewise.
11844 * soft-fp/fmatf4.c: Likewise.
11845 * soft-fp/gedf2.c: Likewise.
11846 * soft-fp/gesf2.c: Likewise.
11847 * soft-fp/getf2.c: Likewise.
11848 * soft-fp/ledf2.c: Likewise.
11849 * soft-fp/lesf2.c: Likewise.
11850 * soft-fp/letf2.c: Likewise.
11851 * soft-fp/muldf3.c: Likewise.
11852 * soft-fp/mulsf3.c: Likewise.
11853 * soft-fp/multf3.c: Likewise.
11854 * soft-fp/negdf2.c: Likewise.
11855 * soft-fp/negsf2.c: Likewise.
11856 * soft-fp/negtf2.c: Likewise.
11857 * soft-fp/op-1.h: Likewise.
11858 * soft-fp/op-2.h: Likewise.
11859 * soft-fp/op-4.h: Likewise.
11860 * soft-fp/op-8.h: Likewise.
11861 * soft-fp/op-common.h: Likewise.
11862 * soft-fp/quad.h: Likewise.
11863 * soft-fp/single.h: Likewise.
11864 * soft-fp/soft-fp.h: Likewise.
11865 * soft-fp/sqrtdf2.c: Likewise.
11866 * soft-fp/sqrtsf2.c: Likewise.
11867 * soft-fp/sqrttf2.c: Likewise.
11868 * soft-fp/subdf3.c: Likewise.
11869 * soft-fp/subsf3.c: Likewise.
11870 * soft-fp/subtf3.c: Likewise.
11871 * soft-fp/truncdfsf2.c: Likewise.
11872 * soft-fp/trunctfdf2.c: Likewise.
11873 * soft-fp/trunctfsf2.c: Likewise.
11874 * soft-fp/trunctfxf2.c: Likewise.
11875 * soft-fp/unorddf2.c: Likewise.
11876 * soft-fp/unordsf2.c: Likewise.
11877 * soft-fp/unordtf2.c: Likewise.
11878
9ebb0332
JM
118792013-10-15 Joseph Myers <joseph@codesourcery.com>
11880
11881 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
11882 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
11883
4b1a6d8b
OB
118842013-10-15 Ondřej Bílka <neleai@seznam.cz>
11885
11886 * elf/dl-libc.c: Clear initfini list after freeing.
11887
1e145589
JM
118882013-10-14 Joseph Myers <joseph@codesourcery.com>
11889
11890 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
11891 * soft-fp/addsf3.c: Likewise.
11892 * soft-fp/addtf3.c: Likewise.
11893 * soft-fp/divdf3.c: Likewise.
11894 * soft-fp/divsf3.c: Likewise.
11895 * soft-fp/divtf3.c: Likewise.
11896 * soft-fp/double.h: Likewise.
11897 * soft-fp/eqdf2.c: Likewise.
11898 * soft-fp/eqsf2.c: Likewise.
11899 * soft-fp/eqtf2.c: Likewise.
11900 * soft-fp/extenddftf2.c: Likewise.
11901 * soft-fp/extended.h: Likewise.
11902 * soft-fp/extendsfdf2.c: Likewise.
11903 * soft-fp/extendsftf2.c: Likewise.
11904 * soft-fp/extendxftf2.c: Likewise.
11905 * soft-fp/fixdfdi.c: Likewise.
11906 * soft-fp/fixdfsi.c: Likewise.
11907 * soft-fp/fixdfti.c: Likewise.
11908 * soft-fp/fixsfdi.c: Likewise.
11909 * soft-fp/fixsfsi.c: Likewise.
11910 * soft-fp/fixsfti.c: Likewise.
11911 * soft-fp/fixtfdi.c: Likewise.
11912 * soft-fp/fixtfsi.c: Likewise.
11913 * soft-fp/fixtfti.c: Likewise.
11914 * soft-fp/fixunsdfdi.c: Likewise.
11915 * soft-fp/fixunsdfsi.c: Likewise.
11916 * soft-fp/fixunsdfti.c: Likewise.
11917 * soft-fp/fixunssfdi.c: Likewise.
11918 * soft-fp/fixunssfsi.c: Likewise.
11919 * soft-fp/fixunssfti.c: Likewise.
11920 * soft-fp/fixunstfdi.c: Likewise.
11921 * soft-fp/fixunstfsi.c: Likewise.
11922 * soft-fp/fixunstfti.c: Likewise.
11923 * soft-fp/floatdidf.c: Likewise.
11924 * soft-fp/floatdisf.c: Likewise.
11925 * soft-fp/floatditf.c: Likewise.
11926 * soft-fp/floatsidf.c: Likewise.
11927 * soft-fp/floatsisf.c: Likewise.
11928 * soft-fp/floatsitf.c: Likewise.
11929 * soft-fp/floattidf.c: Likewise.
11930 * soft-fp/floattisf.c: Likewise.
11931 * soft-fp/floattitf.c: Likewise.
11932 * soft-fp/floatundidf.c: Likewise.
11933 * soft-fp/floatundisf.c: Likewise.
11934 * soft-fp/floatunsidf.c: Likewise.
11935 * soft-fp/floatunsisf.c: Likewise.
11936 * soft-fp/floatuntidf.c: Likewise.
11937 * soft-fp/floatuntisf.c: Likewise.
11938 * soft-fp/floatuntitf.c: Likewise.
11939 * soft-fp/fmadf4.c: Likewise.
11940 * soft-fp/fmasf4.c: Likewise.
11941 * soft-fp/fmatf4.c: Likewise.
11942 * soft-fp/gedf2.c: Likewise.
11943 * soft-fp/gesf2.c: Likewise.
11944 * soft-fp/getf2.c: Likewise.
11945 * soft-fp/ledf2.c: Likewise.
11946 * soft-fp/lesf2.c: Likewise.
11947 * soft-fp/letf2.c: Likewise.
11948 * soft-fp/muldf3.c: Likewise.
11949 * soft-fp/mulsf3.c: Likewise.
11950 * soft-fp/multf3.c: Likewise.
11951 * soft-fp/negdf2.c: Likewise.
11952 * soft-fp/negsf2.c: Likewise.
11953 * soft-fp/negtf2.c: Likewise.
11954 * soft-fp/op-1.h: Likewise.
11955 * soft-fp/op-2.h: Likewise.
11956 * soft-fp/op-4.h: Likewise.
11957 * soft-fp/op-8.h: Likewise.
11958 * soft-fp/op-common.h: Likewise.
11959 * soft-fp/quad.h: Likewise.
11960 * soft-fp/single.h: Likewise.
11961 * soft-fp/soft-fp.h: Likewise.
11962 * soft-fp/sqrtdf2.c: Likewise.
11963 * soft-fp/sqrtsf2.c: Likewise.
11964 * soft-fp/sqrttf2.c: Likewise.
11965 * soft-fp/subdf3.c: Likewise.
11966 * soft-fp/subsf3.c: Likewise.
11967 * soft-fp/subtf3.c: Likewise.
11968 * soft-fp/truncdfsf2.c: Likewise.
11969 * soft-fp/trunctfdf2.c: Likewise.
11970 * soft-fp/trunctfsf2.c: Likewise.
11971 * soft-fp/trunctfxf2.c: Likewise.
11972 * soft-fp/unorddf2.c: Likewise.
11973 * soft-fp/unordsf2.c: Likewise.
11974 * soft-fp/unordtf2.c: Likewise.
11975
17c48a60
OB
119762013-10-14 Ondřej Bílka <neleai@seznam.cz>
11977
11978 [BZ #15672]
11979 * misc/error.c (error_tail): Fix possible buffer overflow.
11980
cabba934
OB
119812013-10-14 Aurelien Jarno <aurelien@aurel32.net>
11982
11983 [BZ #13028]
11984 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
11985 address.
11986
94bf958a
PM
119872013-10-14 P. J. McDermott <pj@pehjota.net>
11988
11989 [BZ #832]
11990 * elf/ldd.bash.in (try_trace): New function. Delete previous code
11991 testing pipefail option.
11992
71b4dea7
JM
119932013-10-12 Joseph Myers <joseph@codesourcery.com>
11994
11995 * soft-fp/double.h: Indent preprocessor directives inside #if.
11996 * soft-fp/extended.h: Likewise.
11997 * soft-fp/op-2.h: Likewise.
11998 * soft-fp/op-4.h: Likewise.
11999 * soft-fp/op-common.h: Likewise.
12000 * soft-fp/quad.h: Likewise.
12001 * soft-fp/single.h: Likewise.
12002 * soft-fp/soft-fp.h: Likewise.
12003
55602758
YC
120042013-10-12 Yuri Chornoivan <yurchor@ukr.net>
12005
12006 * iconv/iconv_prog.c: Fix typos.
12007 * stdio-common/psiginfo-data.h: Likewise.
12008
9cd83302
RT
120092013-10-12 Reuben Thomas <rrt@sc3d.org>
12010
12011 [BZ #15764]
12012 * locale/setlocale.c: Fix typo.
12013
99fd9f47
JM
120142013-10-12 Joseph Myers <joseph@codesourcery.com>
12015
b7ea74f0
JM
12016 [BZ #16036]
12017 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12018 signaling NaN arguments.
12019 * soft-fp/unordsf2.c (__unordsf2): Likewise.
12020 * soft-fp/unordtf2.c (__unordtf2): Likewise.
12021
8a509447
JM
12022 [BZ #14910]
12023 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12024 unordered operands.
12025 * soft-fp/gesf2.c (__gesf2): Likewise.
12026 * soft-fp/getf2.c (__getf2): Likewise.
12027 * soft-fp/ledf2.c (__ledf2): Likewise.
12028 * soft-fp/lesf2.c (__lesf2): Likewise.
12029 * soft-fp/letf2.c (__letf2): Likewise.
12030
98998e9f
JM
12031 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12032 * soft-fp/eqsf2.c (__eqsf2): Likewise.
12033 * soft-fp/eqtf2.c (__eqtf2): Likewise.
12034 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12035 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12036 * soft-fp/fixdfti.c (__fixdfti): Likewise.
12037 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12038 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12039 * soft-fp/fixsfti.c (__fixsfti): Likewise.
12040 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12041 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12042 * soft-fp/fixtfti.c (__fixtfti): Likewise.
12043 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12044 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12045 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12046 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12047 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12048 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12049 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12050 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12051 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12052 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12053 * soft-fp/floatdisf.c (__floatdisf): Likewise.
12054 * soft-fp/floatsisf.c (__floatsisf): Likewise.
12055 * soft-fp/floattidf.c (__floattidf): Likewise.
12056 * soft-fp/floattisf.c (__floattisf): Likewise.
12057 * soft-fp/floattitf.c (__floattitf): Likewise.
12058 * soft-fp/floatundidf.c (__floatundidf): Likewise.
12059 * soft-fp/floatundisf.c (__floatundisf): Likewise.
12060 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12061 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12062 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12063 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12064 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12065 * soft-fp/gesf2.c (__gesf2): Likewise.
12066 * soft-fp/getf2.c (__getf2): Likewise.
12067 * soft-fp/ledf2.c (__ledf2): Likewise.
12068 * soft-fp/lesf2.c (__lesf2): Likewise.
12069 * soft-fp/letf2.c (__letf2): Likewise.
12070
8edc4a11
JM
12071 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12072 Undefine and redefine.
12073 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12074 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12075 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12076 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12077 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12078 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12079 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12080 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12081 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12082 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12083 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12084 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12085 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12086 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12087 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12088
8399acaf
JM
12089 [BZ #16032]
12090 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12091 without decrementing exponent if mantissa >= that for the
12092 denominator, not >.
12093 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12094 denominator, not >. Decrement exponent in < case instead of
12095 incrementing in >= case.
12096 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12097 without decrementing exponent if mantissa >= that for the
12098 denominator, not >.
12099
99fd9f47
JM
12100 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12101 computing saturated result for unsigned overflow.
12102
10e1cf6b
SP
121032013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12104 Jeff Law <law@redhat.com>
12105
12106 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12107 (atan2Mp): Add systemtap probe marker.
12108 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12109 (__ieee754_log): Add systemtap probe marker.
12110 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12111 (atanMp): Add systemtap probe marker.
12112 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12113 (tanMp): Add systemtap probe marker.
12114 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12115 (__slowexp): Add systemtap probe marker.
12116 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12117 (__slowpow): Add systemtap probe marker.
12118 * manual/probes.texi: Document probes.
12119
3d110c7c
EB
121202013-10-11 Eric Biggers <ebiggers3@gmail.com>
12121
12122 [BZ #15362]
12123 * libio/fileops.c (_IO_new_file_write): Return count of bytes
12124 written.
12125 (_IO_new_file_xsputn): Don't return EOF if nothing has been
12126 written.
12127 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12128 written to buffer but not flushed.
12129 * libio/iofwrite_u.c: Likewise.
12130 * libio/iopadn.c: Return bytes returned even if EOF was
12131 encountered.
12132 * libio/iowpadn.c: Likewise.
12133 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12134 if _IO_padn does not write the whole buffer.
12135 [!COMPILE_WPRINTF] (PAD): Likewise.
12136
75b4202a
DM
121372013-10-10 David S. Miller <davem@davemloft.net>
12138
12139 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12140 directory block.
12141
6c6352e6
JM
121422013-10-10 Joseph Myers <joseph@codesourcery.com>
12143
33b853c3
JM
12144 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
12145 instead of FSF address.
12146 * soft-fp/fixdfti.c: Likewise.
12147 * soft-fp/fixsfti.c: Likewise.
12148 * soft-fp/fixtfti.c: Likewise.
12149 * soft-fp/fixunsdfti.c: Likewise.
12150 * soft-fp/fixunssfti.c: Likewise.
12151 * soft-fp/fixunstfti.c: Likewise.
12152 * soft-fp/floattidf.c: Likewise.
12153 * soft-fp/floattisf.c: Likewise.
12154 * soft-fp/floattitf.c: Likewise.
12155 * soft-fp/floatuntidf.c: Likewise.
12156 * soft-fp/floatuntisf.c: Likewise.
12157 * soft-fp/floatuntitf.c: Likewise.
12158 * soft-fp/trunctfxf2.c: Likewise.
12159
6c6352e6
JM
12160 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
12161 * soft-fp/fixdfti.c: Likewise.
12162 * soft-fp/fixsfti.c: Likewise.
12163 * soft-fp/fixtfti.c: Likewise.
12164 * soft-fp/fixunsdfti.c: Likewise.
12165 * soft-fp/fixunssfti.c: Likewise.
12166 * soft-fp/fixunstfti.c: Likewise.
12167 * soft-fp/floattidf.c: Likewise.
12168 * soft-fp/floattisf.c: Likewise.
12169 * soft-fp/floattitf.c: Likewise.
12170 * soft-fp/floatuntidf.c: Likewise.
12171 * soft-fp/floatuntisf.c: Likewise.
12172 * soft-fp/floatuntitf.c: Likewise.
12173 * soft-fp/trunctfxf2.c: Likewise.
12174
3bf78b71
DM
121752013-10-10 David S. Miller <davem@davemloft.net>
12176
12177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12178
6f10289e
JM
121792013-10-10 Joseph Myers <joseph@codsourcery.com>
12180
bd878fc0
JM
12181 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12182 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12183 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12184 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12185 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12186 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12187 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12188
6f10289e
JM
12189 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12190 for NaNs before doing comparisons on argument.
12191 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12192 Likewise.
12193
321e2684
WN
121942013-10-10 Will Newton <will.newton@linaro.org>
12195
12196 * malloc/hooks.c (memalign_check): Ensure the value of bytes
12197 passed to _int_memalign does not overflow.
12198
40fefba1
TR
121992013-10-10 Torvald Riegel <triegel@redhat.com>
12200
12201 * scripts/bench.pl: Add include-sources directive.
12202 * benchtests/README: Update documentation.
12203
2ae21ed2
JM
122042013-10-10 Joseph Myers <joseph@codesourcery.com>
12205
dcc2dd3f
JM
12206 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12207 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12208 instead of FP_INIT_ROUNDMODE.
12209 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12210 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12211
2ae21ed2
JM
12212 [BZ #16034]
12213 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
12214 copy class of input value.
12215 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
12216 not handle exceptions.
12217 * soft-fp/negsf2.c (__negsf2): Likewise.
12218 * soft-fp/negtf2.c (__negtf2): Likewise.
12219 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12220
cb8f9562
JM
122212013-10-09 Joseph Myers <joseph@codesourcery.com>
12222
12223 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12224 semicolon. From Linux kernel.
12225
5b60c59d
AB
122262013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
12227
12228 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12229
b86835ca
YC
122302013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
12231
12232 [BZ #156]
12233 * manual/socket.texi: Added statement about buffer
12234 for gethostbyname2_r.
12235
e7044ea7
OB
122362013-10-08 Ondřej Bílka <neleai@seznam.cz>
12237
12238 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12239 Use .p2align directive instead, throughout.
12240 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12241 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12242 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12243 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12244 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12245 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12246 * sysdeps/x86_64/strchr.S: Likewise.
12247 * sysdeps/x86_64/strrchr.S: Likewise.
12248
09544cbc
SP
122492013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12250
88576635
SP
12251 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12252
e7b2d1dd
SP
12253 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12254
09544cbc
SP
12255 * sysdeps/generic/math_private.h (__mpsin1): Remove
12256 declaration.
12257 (__mpcos1): Likewise.
12258 (__mpsin): New argument __range_reduce.
12259 (__mpcos): Likewise.
12260 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12261 (slow): Use __mpsin and __mpcos.
12262 (slow1): Likewise.
12263 (slow2): Likewise.
12264 (sloww): Likewise.
12265 (sloww1): Likewise.
12266 (sloww2): Likewise.
12267 (bsloww): Likewise.
12268 (bsloww1): Likewise.
12269 (bsloww2): Likewise.
12270 (cslow2): Likewise.
12271 (csloww): Likewise.
12272 (csloww1): Likewise.
12273 (csloww2): Likewise.
12274 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12275 range_reduce. Merge in __mpsin1.
12276 (__mpcos): Likewise.
12277 (__mpsin1): Remove.
12278 (__mpcos1): Likewise.
12279
7602d070
JM
122802013-10-07 Joseph Myers <joseph@codesourcery.com>
12281
12282 * locale/loadlocale.c (_nl_intern_locale_data): Use
12283 LOCFILE_ALIGNED_P.
12284 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12285 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12286 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12287 obstack data is appropriately aligned.
12288 (obstack_int32_grow_fast): Likewise.
12289 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12290 * locale/programs/locfile.c (add_locale_uint32): Likewise.
12291 (add_locale_uint32_array): Likewise.
12292
a357259b
SP
122932013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12294
12295 * benchtests/Makefile: Remove ARGLIST and RET variables.
12296 ($(objpfx)bench-%.c): Pass only function name to the script.
12297 * benchtests/README: Update documentation.
12298 * benchtests/acos-inputs: Add new directives.
12299 * benchtests/acosh-inputs: Likewise.
12300 * benchtests/asin-inputs: Likewise.
12301 * benchtests/asinh-inputs: Likewise.
12302 * benchtests/atan-inputs: Likewise.
12303 * benchtests/atanh-inputs: Likewise.
12304 * benchtests/cos-inputs: Likewise.
12305 * benchtests/cosh-inputs: Likewise.
12306 * benchtests/exp-inputs: Likewise.
12307 * benchtests/log-inputs: Likewise.
12308 * benchtests/pow-inputs: Likewise.
12309 * benchtests/rint-inputs: Likewise.
12310 * benchtests/sin-inputs: Likewise.
12311 * benchtests/sinh-inputs: Likewise.
12312 * benchtests/tan-inputs: Likewise.
12313 * benchtests/tanh-inputs: Likewise.
12314 * scripts/bench.pl: Add support for new directives.
12315
9ec1b13d
AM
123162013-10-07 Alan Modra <amodra@gmail.com>
12317
12318 * README: Fix careless merge.
12319
8b7d57cd
AM
123202013-10-05 Alan Modra <amodra@gmail.com>
12321
12322 * NEWS: Mention powerpc64le support and bugs fixed.
12323 * README: Both big-endian and little-endian powerpc64 supported.
12324
7b7bab13
ST
123252013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12326
57f41c40
AS
12327 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12328 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
12329 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12330 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12331
d39baad1
RA
123322013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
12333
12334 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12335 match prototype.
12336
cd78f7e7
JM
123372013-10-04 Joseph Myers <joseph@codesourcery.com>
12338
29d73d86
JM
12339 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12340 Move -mhard-float appending from
12341 ports/sysdeps/powerpc/powerpc32/Makefile.
12342 [$(with-fp) = yes] (ASFLAGS): Likewise.
12343 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12344 * sysdeps/powerpc/nofpu: Move directory from
12345 ports/sysdeps/powerpc/nofpu.
12346 * sysdeps/powerpc/soft-fp: Move directory from
12347 ports/sysdeps/powerpc/soft-fp.
12348 * sysdeps/powerpc/powerpc32/405: Move directory from
12349 ports/sysdeps/powerpc/powerpc32/405.
12350 * sysdeps/powerpc/powerpc32/440: Move directory from
12351 ports/sysdeps/powerpc/powerpc32/440.
12352 * sysdeps/powerpc/powerpc32/464: Move directory from
12353 ports/sysdeps/powerpc/powerpc32/464.
12354 * sysdeps/powerpc/powerpc32/476: Move directory from
12355 ports/sysdeps/powerpc/powerpc32/476.
12356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12357 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12359 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12361 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12363 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12365 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12366 * README: Update for powerpc-*-linux-gnu software floating point
12367 support in libc.
12368
e246b347
JM
12369 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12370 case to powerpc/powerpc32*.
12371 * sysdeps/unix/sysv/linux/configure: Regenerated.
12372
89c2003e
JM
12373 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12374 (_FPU_MASK_OM): Define as 0x04.
12375 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12376 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12377 0x00c10080.
12378 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12379 0x0000003c.
12380 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12381
cd78f7e7
JM
12382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12383 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12384 getcontext_e500.
12385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12386 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12387 setcontext_e500.
12388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12389 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12390 and setcontext_e500.
12391
c755294d
CL
123922013-10-04 Chris Leonard <cjl@sugarlabs,.org>
12393
12394 * locale/iso-3166.def: Update iso-1366.def and related occurrences
12395
e16d221c
SP
123962013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12397
12398 * manual/threads.texi (Default Thread Attributes): Fix typo.
12399
215c7d43
WN
124002013-10-04 Will Newton <will.newton@linaro.org>
12401
12402 * malloc/Makefile: Add tst-memalign.
12403 * malloc/tst-memalign.c: New file.
12404
27d0461b
WN
12405 * malloc/tst-posix_memalign.c: Add comments.
12406 (do_test): Add comments and call free on all potentially
12407 allocated pointers. Add space after cast.
12408
1bc92709
WN
12409 * malloc/tst-pvalloc.c: Add comments.
12410 (do_test): Add comments and call free on all potentially
12411 allocated pointers. Remove duplicate check for NULL pointer.
12412 Add space after cast.
12413
66a9be9d
WN
12414 * malloc/tst-valloc.c: Add comments.
12415 (do_test): Add comments and call free on all potentially
12416 allocated pointers. Remove duplicate check for NULL pointer.
12417 Add space after cast.
12418
4cb81307
AM
124192013-10-04 Alan Modra <amodra@gmail.com>
12420
12421 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12422 Use stdint types in rather than __attribute__((mode())).
12423 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12424
f8e3e9f3
AM
124252013-10-04 Alan Modra <amodra@gmail.com>
12426
12427 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12428 Correct handling of unaligned relocs for little-endian.
12429 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12430
8f9ebb08
AM
124312013-10-04 Alan Modra <amodra@gmail.com>
12432
12433 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12434 * configure: Regenerate.
12435 * nptl/shlib-versions: Powerpc*le starts at 2.18.
12436 * shlib-versions: Likewise.
12437
0edf96c2
AM
124382013-10-04 Alan Modra <amodra@gmail.com>
12439
12440 * string/tester.c (test_memrchr): Increment reported test cycle.
12441
e0f7a380
AM
124422013-10-04 Alan Modra <amodra@gmail.com>
12443
12444 * string/test-memcpy.c (do_one_test): When reporting errors, print
12445 string address and don't overrun end of string.
12446
466b0393
AM
124472013-10-04 Alan Modra <amodra@gmail.com>
12448
12449 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12450 insrdi. Make better use of reg selection to speed exit slightly.
12451 Schedule entry path a little better. Remove useless "are we done"
12452 checks on entry to main loop. Handle wrapping around zero address.
12453 Correct main loop count. Handle single left-over word from main
12454 loop inline rather than by using loop_small. Remove extra word
12455 case in loop_small caused by wrong loop count. Add little-endian
12456 support.
12457 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12458 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
12459 cache hint.
12460 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12461 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12462 support. Avoid rlwimi.
12463 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12464
3be87c77
AM
124652013-10-04 Alan Modra <amodra@gmail.com>
12466
12467 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 12468 insrdi. Formatting.
3be87c77
AM
12469 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12470 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12471 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12472 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12473 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12474 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12475
759cfef3
AM
124762013-10-04 Alan Modra <amodra@gmail.com>
12477
12478 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12479 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12480 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12481 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12482 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12483 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12484 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12485 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12486 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
12487 use of regs. Use power7 mtocrf. Tidy function tails.
12488
fe6e95d7
AM
124892013-10-04 Alan Modra <amodra@gmail.com>
12490
12491 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12492 Formatting. Consistently use rXXX register defines or rN defines.
12493 Use early exit labels that avoid restoring unused non-volatile regs.
12494 Make cr field use more consistent with rWORDn compares. Rename
12495 regs used as shift registers for unaligned loop, using rN defines
12496 for short lifetime/multiple use regs.
12497 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12498 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
12499 addi 1,1,64 to pop stack frame. Simplify return value code.
12500 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12501
664318c3
AM
125022013-10-04 Alan Modra <amodra@gmail.com>
12503
12504 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
12505 support. Correct typos, formatting. Optimize tail. Use insrdi
12506 rather than rlwimi.
12507 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
12508 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
12509 little-endian support. Correct typos.
12510 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
12511 rather than rlwimi.
12512 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
12513 in loop and entry code to keep "and." results.
12514 (strchr): Add little-endian support. Comment. Move cntlzd
12515 earlier in tail.
12516 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
12517
43b84013
AM
125182013-10-04 Alan Modra <amodra@gmail.com>
12519
12520 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
12521 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
12522 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12523 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
12524
8a7413f9
AM
125252013-10-04 Alan Modra <amodra@gmail.com>
12526
12527 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
12528 (rTMP): Define as r11.
12529 (strcmp): Add little-endian support. Optimise tail.
12530 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
12531 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12532 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12533 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12534 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12535 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12536 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12537
33ee81de
AM
125382013-10-04 Alan Modra <amodra@gmail.com>
12539
12540 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
12541 little-endian support. Remove unnecessary "are we done" tests.
12542 Handle "s" wrapping around zero and extremely large "size".
12543 Correct main loop count. Handle single left-over word from main
12544 loop inline rather than by using small_loop. Correct comments.
12545 Delete "zero" tail, use "end_max" instead.
12546 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
12547
db9b4570
AM
125482013-10-04 Alan Modra <amodra@gmail.com>
12549
12550 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
12551 support. Don't branch over align.
12552 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
12553 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
12554 support. Rearrange tmp reg use to suit. Comment.
12555 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
12556
f7c399cf
AM
125572013-10-04 Alan Modra <amodra@gmail.com>
12558
12559 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
12560
0b2c2ace
AM
125612013-10-04 Alan Modra <amodra@gmail.com>
12562
12563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
12564 conditional form of branch and link when obtaining pc.
12565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12566
02f04a6c
AM
125672013-10-04 Alan Modra <amodra@gmail.com>
12568
12569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
12570 HIWORD/LOWORD.
12571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
12572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
12573
9b874b2f
AM
125742013-10-04 Alan Modra <amodra@gmail.com>
12575
12576 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
12577 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
12578 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12579 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
12580 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12581 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12582 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
12583 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12584 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12585 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
12586
be1e5d31
AB
125872013-10-04 Anton Blanchard <anton@au1.ibm.com>
12588 Alistair Popple <alistair@ozlabs.au.ibm.com>
12589 Alan Modra <amodra@gmail.com>
12590
12591 [BZ #15723]
12592 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
12593 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
12594 _dl_hwcap access for little-endian.
12595 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
12596 destroy vmx regs when saving unaligned.
12597 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
12598 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
12599 destroy vmx regs when saving unaligned.
12600
fef13a78
AM
126012013-10-04 Alan Modra <amodra@gmail.com>
12602
12603 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
12604 Don't use a union to pack hi/low value.
12605
76a66d51
AB
126062013-10-04 Anton Blanchard <anton@au1.ibm.com>
12607
12608 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
12609 for little-endian.
12610 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12611 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
12612 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12613 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12614 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12615
6a31fe7f
AM
126162013-10-04 Alan Modra <amodra@gmail.com>
12617
12618 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
12619 constants to usual value for .cst8 section, and remove redundant
12620 high address load.
12621 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
12622 constant for 0x1p52. Load little-endian words of double from
12623 correct stack offsets.
12624
7b88401f
AM
126252013-10-04 Alan Modra <amodra@gmail.com>
12626
12627 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
12628 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
12629 words of double from correct stack offsets.
12630 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12631 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
12632 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12633 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12634 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12635 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12636 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12637 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12638 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12639 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12640 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12641 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12642 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12643 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12644 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12645 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
12646 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12647
9c008155
AM
126482013-10-04 Alan Modra <amodra@gmail.com>
12649
12650 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
12651 64-bit int/double union.
12652 (_FPU_SETCW): Likewise.
12653 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
12654 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
12655
da13146d
AM
126562013-10-04 Alan Modra <amodra@gmail.com>
12657
12658 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
12659 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
12660
603e8410
AM
126612013-10-04 Alan Modra <amodra@gmail.com>
12662
12663 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
12664 use vector int constants.
12665 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
12666
4a28b3ca
AB
126672013-10-04 Anton Blanchard <anton@au1.ibm.com>
12668
12669 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
12670 array with long long.
12671 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
12672 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
12673 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
12674 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
12675 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
12676 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
12677 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
12678 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
12679 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
12680 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
12681 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
12682 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
12683 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
12684
2ca85d2b
AB
126852013-10-04 Anton Blanchard <anton@au1.ibm.com>
12686
12687 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
12688 (__signbit): Likewise. Correct for little-endian.
12689 (__signbitl): Call __signbit.
12690 (lrint): Correct for little-endian.
12691 (lrintf): Call lrint.
12692
62a728ae
AM
126932013-10-04 Alan Modra <amodra@gmail.com>
12694
12695 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
12696 union 32-bit int array member with 64-bit int array.
12697 (t515, tm256): Double rather than long double.
12698 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
12699
32c301df
AM
127002013-10-04 Alan Modra <amodra@gmail.com>
12701
12702 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
12703 Delete.
12704 (IEEE854_LONG_DOUBLE_BIAS): Delete.
12705 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
12706 version of math_ldbl.h.
12707
650ef4bd
AM
127082013-10-04 Alan Modra <amodra@gmail.com>
12709
12710 [BZ #15734], [BZ #15735]
12711 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
12712 all uses of ieee875 long double macros and unions. Simplify test
12713 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
12714 ldbl_extract_mantissa value for ix,iy exponents. Properly
12715 normalize after ldbl_extract_mantissa, and don't add hidden bit
12716 already handled. Don't treat low word of ieee854 mantissa like
12717 low word of IBM long double and mask off bit when testing for
12718 zero.
12719 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
12720 all uses of ieee875 long double macros and unions. Simplify tests
12721 for 0.0L and inf. Correct double adjustment of k. Delete dead code
12722 adjusting ha,hb. Simplify code setting kld. Delete two600 and
12723 two1022, instead use their values. Recognise that tests for large
12724 "a" and small "b" are mutually exclusive. Rename vars. Comment.
12725 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
12726 Rewrite all uses of ieee875 long double macros and unions. Simplify
12727 test for 0.0L and nan. Correct negation.
12728 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
12729 ieee875 long double macros and unions. Correct output for large
12730 magnitude x. Correct absolute value calculation.
12731 (__erfcl): Likewise.
12732 * math/libm-test.inc: Add tests for errors discovered in IBM long
12733 double versions of fmodl, remainderl, erfl and erfcl.
12734
765714ca
AM
127352013-10-04 Alan Modra <amodra@gmail.com>
12736
12737 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
12738 all uses of ieee854 long double macros and unions. Simplify tests
12739 for long doubles that are fully specified by the high double.
12740 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12741 Likewise.
12742 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
12743 Remove dead code too.
12744 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12745 (__ieee754_ynl): Likewise.
12746 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12747 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
12748 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12749 Remove dead code too.
12750 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12751 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12752 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12753 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
12754 Simplify.
12755 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
12756 Simplify.
12757 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
12758 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
12759 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
12760 Comment on variable precision.
12761 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
12762 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12763 Likewise.
12764 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12765 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12766 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12767 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12768 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
12769
4ebd120c
AM
127702013-10-04 Alan Modra <amodra@gmail.com>
12771
12772 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
12773 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
12774 all uses of ieee854 long double macros and unions.
12775 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12776 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12777 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
12778 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
12779 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12780 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12781 Likewise.
12782 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
12783 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12784 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
12785 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12786 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12787 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12788 Simplify sign and nan test too.
12789 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
12790 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
12791 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
12792 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
12793 Likewise.
12794 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12795 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
12796 Likewise.
12797 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12798 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12799 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
12800 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
12801 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
12802 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
12803
1b6adf88
AM
128042013-10-04 Alan Modra <amodra@gmail.com>
12805
12806 * stdio-common/printf_size.c (__printf_size): Don't use
12807 union ieee854_long_double in fpnum union.
12808 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
12809 signbit macro to retrieve sign from long double.
12810 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
12811 retrieve sign from long double.
12812 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
12813 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
12814 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
12815 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12816 * math/test-misc.c (main): Don't use union ieee854_long_double.
12817
4cf69995
AM
128182013-10-04 Alan Modra <amodra@gmail.com>
12819
12820 [BZ #15680]
12821 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
12822 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
12823 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
12824 calculation. Remove unnecessary test for denormal exponent.
12825 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
12826 Correct handling of denormals. Avoid undefined shift behaviour.
12827 Correct normalisation of low mantissa when low double is denormal.
12828 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
12829 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
12830 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
12831 Correct normalisation of low mantissa. Test for overflow of high
12832 mantissa and normalise.
12833 (ldbl_nearbyint): Use more readable constant for two52.
12834 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
12835 (__mpn_construct_long_double): Fix test for overflow of high
12836 mantissa and correct normalisation. Avoid undefined shift.
12837
9605ca6c
AM
128382013-10-04 Alan Modra <amodra@gmail.com>
12839
12840 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12841 (union ibm_extended_long_double): Define as an array of ieee754_double.
12842 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
12843 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
12844 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
12845 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12846 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12847 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
12848 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12849 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12850 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12851 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
12852 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12853
975569d0
JM
128542013-10-03 Joseph Myers <joseph@codesourcery.com>
12855
d3d23756
JM
12856 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
12857 page size instead of calling getpagesize.
12858
975569d0
JM
12859 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
12860 (LOCFILE_ALIGN_MASK): Likewise.
12861 (LOCFILE_ALIGN_UP): Likewise.
12862 (LOCFILE_ALIGNED_P): Likewise.
12863 * locale/programs/ld-collate.c (collate_output): Use the new
12864 macros instead of __alignof__ (int32_t).
12865 * locale/weight.h (findidx): Likewise.
12866
b1fe1f2b
OB
128672013-10-03 Ondřej Bílka <neleai@seznam.cz>
12868
12869 [BZ #431]
12870 * manual/string.texi: Fix strncat and wcsncat.
12871
5f855e35
BM
128722013-10-03 Brooks Moses <bmoses@google.com>
12873
12874 [BZ #15915]
12875 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
12876 * Makerules: ...here, and adjust associated comments.
12877
3cef6009
WN
128782013-10-02 Will Newton <will.newton@linaro.org>
12879
12880 * malloc/Makefile: Add tst-pvalloc.
12881 * malloc/tst-pvalloc.c: New file.
12882
7815420b
WN
128832013-10-02 Will Newton <will.newton@linaro.org>
12884
12885 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
12886 improve test coverage.
12887
4868b204
WN
128882013-10-02 Will Newton <will.newton@linaro.org>
12889
12890 * malloc/Makefile: Add tst-posix_memalign.
12891 * malloc/tst-posix_memalign.c: New file.
12892
29c793b3
EB
128932013-10-01 Eric Blake <eblake@redhat.com>
12894
12895 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
12896 Use __THROWNL rather than __THROW on static functions.
12897
fd967522
PM
128982013-09-30 Petr Machata <pmachata@redhat.com>
12899
12900 * elf/elf.h (R_AARCH64_ABS16): New macro.
12901 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
12902 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
12903 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
12904 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
12905 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
12906 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
12907 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
12908 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
12909 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
12910 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
12911 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
12912 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
12913 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
12914 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
12915 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
12916 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
12917 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
12918 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
12919 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
12920 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
12921 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
12922 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
12923 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
12924 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
12925 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
12926 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
12927 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
12928 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
12929 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
12930 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
12931 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
12932 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
12933 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
12934 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
12935 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
12936 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
12937 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
12938 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
12939 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
12940 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
12941 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
12942 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
12943 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
12944 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
12945 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
12946 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
12947 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
12948 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
12949 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
12950 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
12951 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
12952 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
12953 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
12954 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
12955 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
12956 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
12957 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
12958 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
12959 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
12960 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
12961 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
12962 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
12963 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
12964 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
12965 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
12966 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
12967 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
12968 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
12969 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
12970 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
12971 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
12972 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
12973 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
12974 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
12975 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
12976 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
12977 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
12978 (R_AARCH64_TLSDESC_LDR): Likewise.
12979 (R_AARCH64_TLSDESC_ADD): Likewise.
12980 (R_AARCH64_TLSDESC_CALL): Likewise.
12981
b2179107
AS
129822013-09-30 Andreas Schwab <schwab@suse.de>
12983
12984 [BZ #15048]
12985 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
12986 the nss database lookup.
12987 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12988 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12989
47f28d0a
MF
129902013-09-28 Mike Frysinger <vapier@gentoo.org>
12991
12992 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
12993
129942013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
12995
12996 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
12997 ${Bash-specific parameter/pattern/string} parameter expansion.
12998 * sysdeps/unix/make-syscalls.sh: Likewise.
12999
f4518a17
KK
130002013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13001
13002 * sysdeps/sh/stackguard-macros.h: New file.
13003
dc1a95c7
OB
130042013-09-26 Ondřej Bílka <neleai@seznam.cz>
13005
13006 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13007 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13008 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13009 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13010 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13011 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13012
5ebbff8f
AZ
130132013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13014
13015 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13016 Fix thread ID register.
13017
4fd2cf9f
JM
130182013-09-25 Joseph Myers <joseph@codesourcery.com>
13019
13020 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13021 [POSIX || UNIX98]: Require rather than permitting all symbols from
13022 <time.h>.
13023 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13024 element of struct sched_param.
13025 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13026 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13027 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13028 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13029 constant.
13030
12c22bc4
OL
130312013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
13032
13033 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13034 argument calculation.
13035
a03d8ea7
JM
130362013-09-24 Joseph Myers <joseph@codesourcery.com>
13037
13038 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13039 Expect macro.
13040 [POSIX] (pthread_attr_t): Do not require type.
13041 [POSIX] (pthread_cond_t): Likewise.
13042 [POSIX] (pthread_condattr_t): Likewise.
13043 [POSIX] (pthread_key_t): Likewise.
13044 [POSIX] (pthread_mutex_t): Likewise.
13045 [POSIX] (pthread_mutexattr_t): Likewise.
13046 [POSIX] (pthread_once_t): Likewise.
13047 [POSIX] (pthread_t): Likewise.
13048 [POSIX-based standards] (pthread_atfork): Expect function.
13049
6055173a
JM
130502013-09-24 Joseph Myers <joseph@codesourcery.com>
13051 Richard Sandiford <richard@codesourcery.com>
13052
13053 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13054 (swap_endianness_p): New extern variable.
13055 (set_big_endian): New inline function.
13056 (maybe_swap_uint32): Likewise.
13057 (maybe_swap_uint32_array): Likewise.
13058 (maybe_swap_uint32_obstack): Likewise.
13059 * locale/programs/locfile.c: Include <stdbool.h>.
13060 (swap_endianness_p): New variable.
13061 (add_locale_uint32): Call maybe_swap_uint32.
13062 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13063 (write_locale_data): Call maybe_swap_uint32_array.
13064 * locale/programs/ld-collate.c (obstack_int32_grow): Call
13065 maybe_swap_uint32.
13066 (obstack_int32_grow_fast): Likewise.
13067 (output_weightwc): Call maybe_swap_uint32_obstack.
13068 (collate_output): Likewise.
13069 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13070 (OPT_LITTLE_ENDIAN): Likewise.
13071 (options): Add --little-endian and --big-endian options.
13072 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13073 * locale/programs/locarchive.c: Include "locfile.h".
13074 (GET): New macro.
13075 (SET): Likewise.
13076 (INC): Likewise.
13077 (create_archive): Use the new macros to access fields of
13078 structures directly mapped from or written to locale archives.
13079 (oldlocrecentcmp): Likewise.
13080 (enlarge_archive): Likewise.
13081 (insert_name): Likewise.
13082 (add_alias): Likewise.
13083 (add_locale): Likewise.
13084 (delete_locales_from_archive): Likewise.
13085 (show_archive_content): Likewise.
13086 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
13087 locale data.
13088
39bf0bb4
RM
130892013-09-24 Roland McGrath <roland@hack.frob.com>
13090
13091 * manual/freemanuals.texi: Updated from (newly) canonical copy at
13092 http://www.gnu.org/doc/freemanuals.texi.
13093 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13094
f02eed10
WN
130952013-09-24 Will Newton <will.newton@linaro.org>
13096
13097 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13098 macro.
13099
a3a6c312
JM
131002013-09-23 Joseph Myers <joseph@codesourcery.com>
13101
13102 * locale/hashval.h (compute_hashval): Interpret bytes of key as
13103 unsigned char.
13104
107375ac
MR
131052013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
13106
13107 * manual/threads.texi (POSIX Threads): Fix a typo.
13108
141f3a77
SP
131092013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13110
303e567a
SP
13111 [BZ #14547]
13112 * string/tst-strcoll-overflow.c: New test case.
13113 * string/Makefile (xtests): Add tst-strcoll-overflow.
13114 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13115 cache if string sizes may cause integer overflow.
13116
141f3a77
SP
13117 [BZ #14547]
13118 * string/strcoll_l.c (coll_seq): New members rule, idx,
13119 save_idx and back_us.
13120 (get_next_seq_nocache): New function.
13121 (do_compare_nocache): New function.
13122 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13123 when malloc fails.
13124
c61b4d41
CD
131252013-09-23 Carlos O'Donell <carlos@redhat.com>
13126
0b1f8e35
CD
13127 [BZ #15754]
13128 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13129 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13130 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13131
c61b4d41
CD
13132 [BZ #15754]
13133 * elf/Makefile (tests): Add tst-ptrguard1.
13134 (tests-static): Add tst-ptrguard1-static.
13135 (tst-ptrguard1-ARGS): Define.
13136 (tst-ptrguard1-static-ARGS): Define.
13137 * elf/tst-ptrguard1.c: New file.
13138 * elf/tst-ptrguard1-static.c: New file.
13139 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13140 * sysdeps/i386/stackguard-macros.h: Likewise.
13141 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13142 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13143 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13144 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13145 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13146 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13147
131482013-09-23 Hector Marco <hecmargi@upv.es>
13149 Ismael Ripoll <iripoll@disca.upv.es>
13150 Carlos O'Donell <carlos@redhat.com>
13151
13152 [BZ #15754]
13153 * sysdeps/generic/stackguard-macros.h: Define
13154 __pointer_chk_guard_local and POINTER_CHK_GUARD.
13155 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13156 Define __pointer_chk_guard_local.
13157 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13158 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13159
f5f4e7b4
VV
131602013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
13161
13162 [BZ #15859]
13163 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13164
5bb43a43
AS
131652013-09-20 Andreas Schwab <schwab@linux-m68k.org>
13166
13167 * include/string.h (__ffs): Declare as hidden.
13168 * string/ffs.c (__ffs): Define as hidden.
13169 * sysdeps/i386/ffs.c (__ffs): Likewise.
13170 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13171 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13172 * sysdeps/s390/ffs.c (__ffs): Likewise.
13173 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13174
3ea5be54
AO
131752013-09-20 Alexandre Oliva <aoliva@redhat.com>
13176
ffb89e53
AO
13177 * NEWS: Mention malloc probes.
13178
322dea08
AO
13179 * malloc/arena.c (new_heap): New memory_heap_new probe.
13180 (grow_heap): New memory_heap_more probe.
13181 (shrink_heap): New memory_heap_less probe.
13182 (heap_trim): New memory_heap_free probe.
13183 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13184 (systrim): New memory_sbrk_less probe.
13185 * manual/probes.texi: Document them.
13186
655673f3
AO
13187 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13188 * manual/probes.texi: Document it.
13189
35fed6f1
AO
13190 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13191 (__libc_realloc): Add memory_realloc_retry probe.
13192 (__libc_memalign): Add memory_memalign_retry probe.
13193 (__libc_valloc): Add memory_valloc_retry probe.
13194 (__libc_pvalloc): Add memory_pvalloc_retry probe.
13195 (__libc_calloc): Add memory_calloc_retry probe.
13196 * manual/probes.texi: Document them.
13197
6999d38c
AO
13198 * malloc/arena.c (get_free_list): Add probe
13199 memory_arena_reuse_free_list.
13200 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13201 and memory_arena_reuse.
13202 (arena_get2) [!PER_THREAD]: Likewise.
13203 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13204 memory_arena_reuse_realloc.
13205 * manual/probes.texi: Document them.
13206
0653427f
AO
13207 * malloc/malloc.c (__libc_free): Add
13208 memory_mallopt_free_dyn_thresholds probe.
13209 (__libc_mallopt): Add multiple memory_mallopt probes.
13210 * manual/probes.texi: Document them.
13211
3ea5be54
AO
13212 * malloc/malloc.c: Include stap-probe.h.
13213 (__libc_mallopt): Add memory_mallopt probe.
13214 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13215 * manual/probes.texi: New.
13216 * manual/Makefile (chapters): Add probes.
13217 * manual/threads.texi: Set next node.
13218
e35696c3 132192013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 13220
e35696c3
CL
13221 [BZ #15963, #13985]
13222 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13223 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13224 Add `Chinese' to `nan' entry name.
13225
4aafb73c
SP
132262013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13227
13228 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13229 (POLYNOMIAL): Likewise.
13230 (TAYLOR_SINCOS): Likewise.
13231 (TAYLOR_SLOW): Likewise.
13232 (__sin): Use TAYLOR_SINCOS.
13233 (__cos): Likewise.
13234 (slow): Use TAYLOR_SLOW.
13235 (sloww): Likewise.
13236 (bsloww): Likewise.
13237 (csloww): Likewise.
13238
d84f25c7
LD
132392013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13240
13241 * stdlib/strtod_l.c: Fix buffer overrun.
13242
5eea0404
SP
132432013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13244
7849ff93
SP
13245 * benchtests/Makefile (bench): Add sincos.
13246 * benchtests/bench-sincos.c: New file.
13247
cfa3c886
SP
13248 * math/libm-test.inc (cos_test_data): New test inputs.
13249 (sin_test_data): Likewise.
13250
b348e1e3
SP
13251 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13252 macro.
13253 (__sin): Use it.
13254 (__cos): Likewise.
13255 (slow1): Likewise.
13256 (slow2): Likewise.
13257 (sloww1): Likewise.
13258 (sloww2): Likewise.
13259 (bsloww1): Likewise.
13260 (bsloww2): Likewise.
13261 (cslow2): Likewise.
13262 (csloww1): Likewise.
13263 (csloww2): Likewise.
13264
6cce25f8
SP
13265 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13266 function.
13267 (__sin): Use it.
13268 (__cos): Likewise.
13269
5eea0404
SP
13270 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13271 gotos.
13272 (__cos): Likewise.
13273
9c21573c
MR
132742013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
13275
13276 * config.h.in (HAVE_MIPS_NAN2008): New macro.
13277 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13278 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13279 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13280 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13281 * elf/cache.c (print_entry): Handle the new cache flags.
13282
24d22e65
JM
132832013-09-18 Joseph Myers <joseph@codesourcery.com>
13284 Aldy Hernandez <aldyh@redhat.com>
13285
13286 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13287 Change condition to [_SOFT_FLOAT].
13288 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13289 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13290 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13291 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13292 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13293 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13294 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13295 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13296 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13297 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13298 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13299 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13300 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13301 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13302 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13303 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13304 declaration.
13305
d13ef066
JM
133062013-09-18 Joseph Myers <joseph@codesourcery.com>
13307
2e071de0
JM
13308 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13309 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13310 (__longjmp): Use LOAD_GP to load saved GPRs.
13311 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13312 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13313 (__sigsetjmp): Use SAVE_GP to save GPRs.
13314
d13ef066
JM
13315 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13316 Do not append -msoft-float.
13317 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13318
97a0650b
SP
133192013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13320
13321 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13322
11ca09e9
JM
133232013-09-17 Joseph Myers <joseph@codesourcery.com>
13324
13325 [BZ #15966]
13326 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13327 (_FPU_GETCW): Use initial "__" on variable and field names but not
13328 on macro parameter name.
13329 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
13330 parentheses around reference to macro parameter.
13331
08ffcf34
RS
133322013-09-13 Richard Sandiford <richard@codesourcery.com>
13333
13334 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13335 prototype.
13336 (ctype_startup): Use uint32_t in cast and sizeof for
13337 ctype->charnames.
13338
ae7080d3
JL
133392013-09-11 Jia Liu <proljc@gmail.com>
13340
13341 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13342 __daddr_t_defined.
13343 [__FreeBSD__]: Likewise.
13344
5905e7b3
OB
133452013-09-11 Ondřej Bílka <neleai@seznam.cz>
13346
13347 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13348 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13349 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13350 (strchr): Remove __strchr_sse42 ifunc selection.
13351 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13352 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13353
b987c776
WN
133542013-09-11 Will Newton <will.newton@linaro.org>
13355
13356 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13357 parameter to RES. Remove hardcoded 1000 value.
13358 * benchtests/bench-skeleton.c (main): Pass RES parameter
13359 to TIMING_INIT and multiply result by 1000.
13360
ddf985af
AZ
133612013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13362
13363 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13364
ffdd3181
AS
133652013-09-11 Andreas Schwab <schwab@suse.de>
13366
13367 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13368 if not defined.
13369 (O_TMPFILE) [__USE_GNU]: Define.
13370 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13371 Define.
13372
b73ed247
WN
133732013-09-11 Will Newton <will.newton@linaro.org>
13374
13375 [BZ #15857]
13376 * malloc/malloc.c (__libc_memalign): Check the value of bytes
13377 does not overflow.
13378
55e17aad
WN
133792013-09-11 Will Newton <will.newton@linaro.org>
13380
13381 [BZ #15856]
13382 * malloc/malloc.c (__libc_valloc): Check the value of bytes
13383 does not overflow.
13384
1159a193
WN
133852013-09-11 Will Newton <will.newton@linaro.org>
13386
13387 [BZ #15855]
13388 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13389 does not overflow.
13390
5905e7b3 133912013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
13392
13393 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13394 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13395 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13396 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13397 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13398
cdfc721b
AM
133992013-09-10 Allan McRae <allan@archlinux.org>
13400
aa04af00
AM
13401 [BZ #15748]
13402 * manual/arith.texi (Parsing of Floats): Clarify
13403 cross-reference.
13404
cdfc721b
AM
13405 [BZ #15849]
13406 * manual/install.texi (Running make install): Mention
13407 --enable-pt-chown.
13408 * INSTALL: Regenerated.
13409
95e7cf29
MR
134102013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13411
13412 * csu/init-first.c (_init): Remove the !SHARED condition around
13413 FPU control word initialization.
13414 * elf/dl-support.c (_dl_fpu_control): New variable.
13415 (_dl_aux_init) <AT_FPUCW>: Initialize it.
13416 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13417 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13418 * math/test-fpucw-static.c: New file.
13419 * math/test-fpucw-ieee.c: New file.
13420 * math/test-fpucw-ieee-static.c: New file.
13421 * math/Makefile (tests): Add `test-fpucw-ieee' and
13422 `$(tests-static)'.
13423 (tests-static): New variable.
13424 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13425 dependency to...
13426 [($(build-shared),yes)]
13427 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13428 ... this.
13429 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13430 New dependency.
13431
83e43bf0
AM
134322013-09-09 Allan McRae <allan@archlinux.org>
13433
a9f5ce09
AM
13434 [BZ #15939]
13435 * manual/string.texi (Collation Functions): Fix typo in
13436 strcoll example.
13437 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13438
34829bc2
AM
13439 [BZ #15893]
13440 * stdlib/isomac.c (get_null_defines): Fix memory leak.
13441
3932737d
AM
13442 [BZ #15892]
13443 * libio/memstream.c (open_memstream): Fix memory leak.
13444 * libio/wmemstream.c (open_wmemstream): Likewise.
13445
83e43bf0
AM
13446 [BZ #15895]
13447 * nscd/netgroupcache.c: Fix nesting of ifdefs.
13448
0c66b8e9
WN
134492013-09-09 Will Newton <will.newton@linaro.org>
13450
13451 * malloc/Makefile: Add tst-realloc to tests.
13452 * malloc/tst-realloc.c: New file.
13453
f6b00fd1
AM
134542013-09-09 Allan McRae <allan@archlinux.org>
13455
13456 [BZ #15844]
13457 * COPYING: Update from GNU website to fix FSF address.
13458 * COPYING.LIB: Likewise.
13459
eec55e16
DM
134602013-09-06 David S. Miller <davem@davemloft.net>
13461
13462 * po/zh_TW.po: Update Chinese (traditional) translation from
13463 translation project.
13464
1ecbb381
RS
134652013-09-06 Richard Sandiford <richard@codesourcery.com>
13466 Joseph Myers <joseph@codesourcery.com>
13467
13468 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13469 "localeinfo.h".
13470 (obstack_chunk_alloc): New macro.
13471 (obstack_chunk_free): Likewise.
13472 (record_offset): New function.
13473 (init_locale_data): Likewise.
13474 (align_locale_data): Likewise.
13475 (add_locale_empty): Likewise.
13476 (add_locale_raw_data): Likewise.
13477 (add_locale_raw_obstack): Likewise.
13478 (add_locale_string): Likewise.
13479 (add_locale_wstring): Likewise.
13480 (add_locale_uint32): Likewise.
13481 (add_locale_uint32_array): Likewise.
13482 (add_locale_char): Likewise.
13483 (start_locale_structure): Likewise.
13484 (end_locale_structure): Likewise.
13485 (start_locale_prelude): Likewise.
13486 (end_locale_prelude): Likewise.
13487 (write_locale_data): Take locale_file structure rather than an
13488 iovec.
13489 * locale/programs/locfile.h: Include "obstack.h".
13490 (struct locale_file): Change to store locale file contents instead
13491 of header.
13492 (init_locale_data): New prototype.
13493 (align_locale_data): Likewise.
13494 (add_locale_empty): Likewise.
13495 (add_locale_raw_data): Likewise.
13496 (add_locale_raw_obstack): Likewise.
13497 (add_locale_string): Likewise.
13498 (add_locale_wstring): Likewise.
13499 (add_locale_uint32): Likewise.
13500 (add_locale_uint32_array): Likewise.
13501 (add_locale_char): Likewise.
13502 (start_locale_structure): Likewise.
13503 (end_locale_structure): Likewise.
13504 (start_locale_prelude): Likewise.
13505 (end_locale_prelude): Likewise.
13506 (write_locale_data): Update prototype.
13507 * locale/programs/3level.h (struct TABLE): Remove result field.
13508 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
13509 Use new locale_file interface.
13510 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
13511 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
13512 * locale/programs/ld-address.c (address_output): Use new
13513 locale_file interface.
13514 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
13515 NO_ADD_LOCALE.
13516 (collate_finish): Don't call collseq_table_finalize.
13517 (collate_output): Use new locale_file interface.
13518 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
13519 in file.
13520 (NO_FINALIZE): Change to NO_ADD_LOCALE.
13521 (TABLE): Move defines earlier in file.
13522 (ELEMENT): Likewise.
13523 (DEFAULT): Likewise.
13524 (wctrans_table_add): Move macro and inline function earlier in
13525 file.
13526 (struct wctype_table): Move type earlier in file.
13527 (add_locale_wctype_table): New static prototype.
13528 (struct locale_ctype_t): Use logical types instead of struct iovec
13529 pointers for members.
13530 (ctype_output): Use new locale_file interface.
13531 (wctype_table_finalize): Change to add_locale_wctype_table. Use
13532 new locale_file interface.
13533 (allocate_arrays): Update for use of new locale_file interface.
13534 * locale/programs/ld-identification.c (identification_output): Use
13535 new locale_file interface.
13536 * locale/programs/ld-measurement.c (measurement_output): Likewise.
13537 * locale/programs/ld-messages.c (messages_output): Likewise.
13538 * locale/programs/ld-monetary.c (monetary_output): Likewise.
13539 * locale/programs/ld-name.c (name_output): Likewise.
13540 * locale/programs/ld-numeric.c (numeric_output): Likewise.
13541 * locale/programs/ld-paper.c (paper_output): Likewise.
13542 * locale/programs/ld-telephone.c (telephone_output): Likewise.
13543 * locale/programs/ld-time.c (time_output): Likewise.
13544
e029e2e5
AZ
135452013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13546
13547 * benchtests/Makefile: Add memrchr benchmark.
13548 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
13549 benchmark as memrchr.
13550 * benchtests/bench-memrchr-ifunc.c: New file.
13551 * benchtests/bench-memrchr.c: New file.
13552
bbf6e8e4
WN
135532013-09-06 Will Newton <will.newton@linaro.org>
13554
13555 * benchtests/Makefile (string-bench): Add memcpy.
13556
6c82a2f8
CD
135572013-09-05 Carlos O'Donell <carlos@redhat.com>
13558 Cong Wang <amwang@redhat.com>
13559
e732c5f0 13560 [BZ #15850]
6c82a2f8
CD
13561 * sysdeps/unix/sysv/linux/bits/in.h
13562 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
13563 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
13564 before __USE_KERNEL_IPV6_DEFS uses.
13565 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
13566 IPPROTO_BEETPH.
13567 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
13568 sockaddr_in6, or ipv6_mreq.
13569
5430fc65
AZ
135702013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13571
13572 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
13573 memory access for final bytes in some large inputs.
13574 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
13575
4660856c
AZ
135762013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13577
13578 * string/test-memrchr.c: New file.
13579 * string/test-memrchr-ifunc.c: New file.
13580 * string/Makefile: Add new memrchr testcase.
13581
bb8ea713
MF
135822013-09-05 Mike Frysinger <vapier@gentoo.org>
13583
13584 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
13585 fanotify_init returns EPERM.
13586
b92a20b5
JM
135872013-09-04 Joseph Myers <joseph@codesourcery.com>
13588
13589 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
13590 errors.
13591 (top level): Treat second token from macro or constant entries for
13592 allowed headers as allowed.
13593 * include/complex.h: Condition internal declarations on
13594 [!_ISOMAC].
13595 * include/fenv.h: Condition include of <stdbool.h> and internal
13596 declarations on [!_ISOMAC].
7447ccd9
CL
13597
135982013-09-04 Chris Leonard <cjl@sugarlabs,.org>
13599
3e181dda 13600 [BZ #15923]
7447ccd9
CL
13601 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
13602
3f2e46a4
JM
136032013-09-04 Joseph Myers <joseph@codesourcery.com>
13604
13605 * configure.in (--enable-versioning): Remove configure option.
13606 (libc_cv_asm_symver_directive): Remove configure test.
13607 (libc_cv_ld_version_script_option): Likewise.
13608 (VERSIONING): Remove variable and AC_SUBST.
13609 (DO_VERSIONING): Remove AC_DEFINE.
13610 * configure: Regenerated.
13611 * config.h.in (DO_VERSIONING): Remove macro.
13612 * Makerules [$(versioning) = yes]: Change conditionals to
13613 [$(build-shared) = yes].
13614 * config.make.in (versioning): Remove variable.
13615 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
13616 [$(build-shared) = yes].
13617 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
13618 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
13619 * elf/Makefile [$(versioning) = yes]: Change conditionals to
13620 [$(build-shared) = yes].
13621 * extra-lib.mk [$(versioning) = yes]: Likewise.
13622 * hurd/Makefile [$(versioning) = yes]: Likewise.
13623 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
13624 [SHARED].
13625 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
13626 [SHARED].
13627 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13628 [SHARED && !NO_HIDDEN].
13629 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
13630 [SHARED].
13631 [SHARED && DO_VERSIONING]: Likewise..
13632 * libio/Makefile [$(versioning) = yes]: Change conditionals to
13633 [$(build-shared) = yes].
13634 * manual/install.texi (--disable-versioning): Remove
13635 documentation.
13636 * INSTALL: Regenerated.
13637 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
13638 to [SHARED].
13639 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
13640 [$(build-shared) = yes].
13641 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
13642 * sysdeps/i386/i686/multiarch/strstr-c.c
13643 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13644 [SHARED && !NO_HIDDEN].
13645 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
13646 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
13647 * sysdeps/powerpc/powerpc32/dl-machine.c
13648 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
13649 * sysdeps/powerpc/powerpc32/sysdep.h
13650 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
13651 to [SHARED && PIC && !NO_HIDDEN].
13652 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
13653 conditional to [SHARED].
13654
44558701
WN
136552013-09-04 Will Newton <will.newton@linaro.org>
13656
13657 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
13658 * benchtests/bench-string.h: Include bench-timing.h instead
13659 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
13660 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
13661 call to HP_TIMING_DIFF_INIT.
13662 * benchtests/bench-memccpy.c: Use bench-timing.h macros
13663 instead of hp-timing.h macros.
13664 * benchtests/bench-memchr.c: Likewise.
13665 * benchtests/bench-memcmp.c: Likewise.
13666 * benchtests/bench-memcpy.c: Likewise.
13667 * benchtests/bench-memmem.c: Likewise.
13668 * benchtests/bench-memmove.c: Likewise.
13669 * benchtests/bench-memset.c: Likewise.
13670 * benchtests/bench-rawmemchr.c: Likewise.
13671 * benchtests/bench-strcasecmp.c: Likewise.
13672 * benchtests/bench-strcasestr.c: Likewise.
13673 * benchtests/bench-strcat.c: Likewise.
13674 * benchtests/bench-strchr.c: Likewise.
13675 * benchtests/bench-strcmp.c: Likewise.
13676 * benchtests/bench-strcpy.c: Likewise.
13677 * benchtests/bench-strcpy_chk.c: Likewise.
13678 * benchtests/bench-strlen.c: Likewise.
13679 * benchtests/bench-strncasecmp.c: Likewise.
13680 * benchtests/bench-strncat.c: Likewise.
13681 * benchtests/bench-strncmp.c: Likewise.
13682 * benchtests/bench-strncpy.c: Likewise.
13683 * benchtests/bench-strnlen.c: Likewise.
13684 * benchtests/bench-strpbrk.c: Likewise.
13685 * benchtests/bench-strrchr.c: Likewise.
13686 * benchtests/bench-strspn.c: Likewise.
13687 * benchtests/bench-strstr.c: Likewise.
13688
cae16d66
WN
136892013-09-04 Will Newton <will.newton@linaro.org>
13690
13691 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
13692
ffa3cd7f
JM
136932013-09-03 Joseph Myers <joseph@codesourcery.com>
13694
13695 [BZ #15427]
13696 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13697 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
13698 * math/libm-test.inc (lgamma_test_data): Add more tests.
13699 * sysdeps/i386/fpu/libm-test-ulps: Update.
13700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13701
8f02859f
OB
137022013-09-03 Ondřej Bílka <neleai@seznam.cz>
13703
13704 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
13705 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13706 Add ifunc.
13707 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13708 Add strcmp-sse2-unaligned
13709 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
13710
18d43716
MF
137112013-09-02 Mike Frysinger <vapier@gentoo.org>
13712
13713 * Versions.def (libc): Add GLIBC_2.19.
13714
ac444012
MF
137152013-09-02 Mike Frysinger <vapier@gentoo.org>
13716
13717 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
13718 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
13719
b7835e32
JM
137202013-09-02 Joseph Myers <joseph@codesourcery.com>
13721
13722 [BZ #14155]
13723 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
13724 intermediate calculations in recurrence.
13725 (__ieee754_ynf): Likewise.
13726 * math/libm-test.inc (jn_test_data): Do not allow spurious
13727 underflow exception. Add more tests.
13728 (yn_test_data): Add more tests.
13729 * sysdeps/i386/fpu/libm-test-ulps: Update.
13730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13731
8220f4f0
OB
137322013-09-02 Ondřej Bílka <neleai@seznam.cz>
13733
13734 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
13735
f24a6d08
OB
137362013-08-30 Ondřej Bílka <neleai@seznam.cz>
13737
13738 * csu/init-first.c: Fix then/than typos.
13739 * locale/programs/ld-collate.c: Likewise.
13740 * locale/programs/linereader.h: Likewise.
13741 * manual/charset.texi: Likewise.
13742 * manual/filesys.texi: Likewise.
13743 * manual/stdio.texi: Likewise.
13744 * manual/string.texi: Likewise.
13745 * stdlib/fmtmsg.c: Likewise.
13746 * sysdeps/i386/stpncpy.S: Likewise.
13747 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13748 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13749 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13750 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13751
382466e0
OB
137522013-08-30 Ondřej Bílka <neleai@seznam.cz>
13753
13754 * elf/dl-open.c: Fix typos.
13755 * iconvdata/gbbig5.c: Likewise.
13756 * iconvdata/iso-2022-jp.c: Likewise.
13757 * iconv/gconv_int.h: Likewise.
13758 * iconv/loop.c: Likewise.
13759 * nis/rpcsvc/nis.h: Likewise.
13760 * resolv/ns_name.c: Likewise.
13761 * stdio-common/vfscanf.c: Likewise.
13762 * streams/stropts.h: Likewise.
13763 * sunrpc/rpc_thread.c: Likewise.
13764 * sysdeps/i386/strpbrk.S: Likewise.
13765 * sysdeps/ieee754/k_standard.c: Likewise.
13766 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13767 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13768 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
13769 * sysdeps/mach/hurd/profil.c: Likewise.
13770 * sysdeps/s390/dl-procinfo.h: Likewise.
13771 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
13772 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13773 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
13774 * sysdeps/x86_64/dl-trampoline.S: Likewise.
13775 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13776
0186c6e9
OB
137772013-08-30 Ondřej Bílka <neleai@seznam.cz>
13778
13779 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
13780 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
13781
d4e16af1
OB
137822013-08-29 Ondřej Bílka <neleai@seznam.cz>
13783
13784 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
13785 aix specific files.
13786 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
13787 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
13788 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
13789 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
13790 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
13791 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
13792 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
13793 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
13794
88335980
TS
137952013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13796 Roland McGrath <roland@hack.frob.com>
13797
13798 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
13799 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13800
ed479b02
ST
138012013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
13802
13803 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
13804 __executable_start symbol instead of _start.
13805
f1cc4c86
TS
138062013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13807
d821f07c
TS
13808 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
13809 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
13810 Move macros to...
13811 * sysdeps/gnu/ldsodefs.h: ... this new file.
13812
c54290cf
TS
13813 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
13814 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
13815 instead of ELFOSABI_LINUX.
13816
0007fc9b 13817 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
13818 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
13819 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
13820 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
13821 Likewise.
13822 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
13823 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
13824 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
13825 Likewise.
13826 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13827 (ibm_extended_long_double): Add ieee_nan member.
13828 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
13829 (do_test): New function.
13830
f1cc4c86
TS
13831 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
13832 TEST_TRUNC.
13833 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
13834 functions, renamed from truncdfsf_test, trunctfsf_test,
13835 trunctfdf_test.
13836 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
13837 functions.
13838 (do_test): Run all these.
13839
6f65e668
OB
138402013-08-29 Ondřej Bílka <neleai@seznam.cz>
13841
13842 * argp/argp-help.c: Fix typos.
13843 * argp/argp-parse.c: Likewise.
13844 * debug/backtracesyms.c: Likewise.
13845 * elf/elf.h: Likewise.
13846 * malloc/malloc.c: Likewise.
13847 * nis/nis_print.c: Likewise.
13848 * resolv/res_comp.c: Likewise.
13849 * stdlib/stdlib.h: Likewise.
13850 * sunrpc/clnt_tcp.c: Likewise.
13851 * sunrpc/clnt_udp.c: Likewise.
13852 * sunrpc/clnt_unix.c: Likewise.
13853 * sysdeps/unix/bsd/ptsname.c: Likewise.
13854 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13855 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
13856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
13857 Likewise.
13858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
13859 Likewise.
13860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13861 Likewise.
6f65e668
OB
13862 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13863
3a309239
SP
138642013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13865
13866 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
13867 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13868
3b813b29
MF
138692013-08-27 Mike Frysinger <vapier@gentoo.org>
13870
13871 [BZ #15897]
13872 * dlfcn/Makefile (tests): Add bug-dl-leaf.
13873 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
13874 ($(objpfx)bug-dl-leaf): New rule.
13875 ($(objpfx)bug-dl-leaf.so): Likewise.
13876 ($(objpfx)bug-dl-leaf.out): Likewise.
13877 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
13878 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
13879 * dlfcn/bug-dl-leaf.c: New test.
13880 * dlfcn/bug-dl-leaf-lib.c: Likewise.
13881 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
13882 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
13883 (dlclose): Likewise.
13884 (dlmopen): Likewise.
13885
8cc3269f
RM
138862013-08-27 Roland McGrath <roland@hack.frob.com>
13887
7f9d0034
RM
13888 * include/netdb.h [!_ISOMAC]:
13889 Don't include <tls.h>.
13890 (h_errno, __libc_h_errno): Move declaration and macros out of
13891 [_LIBC_REENTRANT].
13892
fb431262
RM
13893 * include/resolv.h [_RESOLV_H_]:
13894 Don't include <tls.h>.
13895 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
13896 * resolv/res_libc.c: Don't include <tls.h>.
13897 (_res): Use __attribute__ ((nocommon)) in place of
13898 __attribute__ ((section (".bss"))).
13899
bd81123a
RM
13900 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
13901 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
13902
c4e42566
RM
13903 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
13904
f890a59b
RM
13905 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
13906 only under [SIOCGIFCONF && SIOCGIFNETMASK].
13907
13908 * resolv/res_mkquery.c: Include <sys/time.h>.
13909
5d1f0a09
RM
13910 * inet/ifreq.c: Moved to ...
13911 * sysdeps/unix/ifreq.c: ... here.
13912 * inet/ifreq.c: New file, true stub version.
13913
6fcf28b3
RM
13914 * socket/sa_len.c: New file.
13915 * socket/Makefile (aux): Add it.
13916 * sysdeps/unix/sysv/linux/Makefile
13917 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
13918 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
13919 and #include <socket/sa_len.c>.
13920 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
13921 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
13922
e041fb8b
RM
13923 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
13924 * bits/socket.h: ... here.
13925
8cc3269f
RM
13926 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
13927 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
13928 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
13929
5d228a43
AS
139302013-08-27 Andreas Schwab <schwab@suse.de>
13931
45b8accc
AS
13932 [BZ #15736]
13933 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
13934 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
13935 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
13936 * string/test-strcasecmp.c (test_main): Run tests in several
13937 locales.
13938 * string/test-strncasecmp.c (test_main): Likewise.
13939
5d228a43
AS
13940 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
13941 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
13942 to __strcasecmp_nonascii and __strncasecmp_nonascii.
13943 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
13944 (__strncasecmp_ssse3) [PIC]: Likewise.
13945
59d112a4
RM
139462013-08-26 Roland McGrath <roland@hack.frob.com>
13947
53234cc3
RM
13948 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
13949
59d112a4
RM
13950 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
13951 instead of explicitly declaring xdecrypt.
13952 * nis/nss_nis/nis-publickey.c: Likewise.
13953
595aba70
SP
139542013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13955
13956 [BZ #15890]
13957 * nscd/aicache.c: Include res_hconf.h.
13958 (addhstaiX): Initialize res_hconf.
13959
ffabd393
AS
139602013-08-26 Andreas Schwab <schwab@suse.de>
13961
13962 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
13963 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
13964
e0a69f5c
SP
139652013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13966
13967 * nscd/aicache.c (addhstaiX): Fix indentation.
13968
8c12f01d
MF
139692013-08-25 Mike Frysinger <vapier@gentoo.org>
13970
13971 * configure.ac: Quote $build_pt_chown test.
13972 * configure: Regenerated.
13973
8fe89494
JM
139742013-08-23 Joseph Myers <joseph@codesourcery.com>
13975
13976 [BZ #15532]
13977 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
13978 * math/s_cexpf.c (__cexpf): Likewise.
13979 * math/s_cexpl.c (__cexpl): Likewise.
13980 * math/libm-test.inc (cexp_test_data): Correct expected return
13981 value for NaN + i0. Add another test.
13982
75b181d6
DM
139832013-08-22 David S. Miller <davem@davemloft.net>
13984
13985 * po/ca.po: Update Catalan translation from translation project.
936241e4 13986 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 13987
acd06bb1
JM
139882013-08-21 Joseph Myers <joseph@codesourcery.com>
13989
13990 [BZ #15797]
13991 * math/s_fdim.c (__fdim): Check for infinite arguments if result
13992 is infinite, not alongside NaN test.
13993 * math/s_fdimf.c (__fdimf): Likewise.
13994 * math/s_fdiml.c (__fdiml): Likewise.
13995 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
13996 errno is unchanged.
13997
c0c3f78a
OB
139982013-08-21 Ondřej Bílka <neleai@seznam.cz>
13999
14000 * argp/argp-help.c: Fix typos.
14001 * crypt/speeds.c: Likewise.
14002 * csu/check_fds.c: Likewise.
14003 * elf/dl-load.c: Likewise.
14004 * elf/dl-open.c: Likewise.
14005 * elf/reldep3.c: Likewise.
14006 * elf/reldep.c: Likewise.
14007 * elf/sprof.c: Likewise.
14008 * iconv/iconv_charmap.c: Likewise.
14009 * iconv/skeleton.c: Likewise.
14010 * iconv/strtab.c: Likewise.
14011 * io/lockf64.c: Likewise.
14012 * libio/libioP.h: Likewise.
14013 * resolv/gai_notify.c: Likewise.
14014 * resolv/ns_name.c: Likewise.
14015 * resolv/ns_samedomain.c: Likewise.
14016 * resolv/res_send.c: Likewise.
14017 * stdlib/random.c: Likewise.
14018 * sunrpc/rpc/xdr.h: Likewise.
14019 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14020 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14021 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14022 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14023 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14024 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14025 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14026 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14027 * sysdeps/mach/hurd/check_fds.c: Likewise.
14028 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14029 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14030 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14031 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14032 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14033 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14034 * sysdeps/pthread/aio_notify.c: Likewise.
14035 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14036 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14037 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14038 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14039 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14040
46ed1038
LD
140412013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14042
14043 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14044 version if bit_Slow_SSE4_2 is set.
14045 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14046 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14047
d400dcac
AZ
140482013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14049
14050 [BZ #15867]
14051 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14052 trampoline stack frame information.
14053 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14054 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14055 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14056 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14057 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14058 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14059 (_libc_vdso_platform_setup): Initialize the signal trampolines.
14060 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14061 sa_flags value.
14062 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14063 interrupting a syscall and set with option SA_SIGINFO.
14064
42c8fdd8
JM
140652013-08-20 Joseph Myers <joseph@codesourcery.com>
14066
c980f2f4
JM
14067 [BZ #15531]
14068 * math/s_cproj.c (__cproj): Only return an infinity if one part of
14069 argument is infinite.
14070 * math/s_cprojf.c (__cprojf): Likewise.
14071 * math/s_cprojl.c (__cprojl): Likewise.
14072 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14073 * math/libm-test.inc (cproj_test_data): Add more tests.
14074
0716c4fc
JM
14075 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14076
42c8fdd8
JM
14077 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14078 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14079 size. Use __ffs to determine corresponding shift.
14080
b31469d0
JM
140812013-08-20 Joseph Myers <joseph@codesourcery.com>
14082 Roland McGrath <roland@hack.frob.com>
14083
14084 * Makefile (INSTALL): Remove trailing blank lines from output of
14085 makeinfo.
14086
4e39af6e
AK
140872013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14088
14089 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14090 Align 32 bit compat elf_greg to 8 bytes.
14091
f315524e
AA
140922013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14093
14094 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14095
1326ba1a
SP
140962013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14097
14098 * string/strcoll_l.c (coll_seq): New structure.
14099 (get_next_seq_cached): New function.
14100 (get_next_seq): New function.
14101 (do_compare): New function.
14102 (STRCOLL): Use GNU style definition. Simplify implementation
14103 by using get_next_seq, get_next_seq_cached and do_compare.
14104
91ce4085
FW
141052013-08-16 Florian Weimer <fweimer@redhat.com>
14106
14107 [BZ #14699]
14108 CVE-2013-4237
14109 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14110 member.
14111 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14112 member.
14113 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14114 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14115 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
14116 conditional.
14117 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14118 GETDENTS_64BIT_ALIGNED.
14119 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14120 * manual/filesys.texi (Reading/Closing Directory): Document
14121 ENAMETOOLONG return value of readdir_r. Recommend readdir more
14122 strongly.
14123 * manual/conf.texi (Limits for Files): Add portability note to
14124 NAME_MAX, PATH_MAX.
14125 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14126
ca0a6bc4
AS
141272013-08-13 Andreas Schwab <schwab@suse.de>
14128
14129 [BZ #15749]
14130 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14131 of fabs.
14132 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14133 LDBL_MAX_EXP >= 16384]: Add tests for it.
14134
6c1fd795
DM
141352013-08-12 David S. Miller <davem@davemloft.net>
14136
14137 * version.h (RELEASE): Set to "development".
14138 (VERSION): Set to "2.18.90".
14139 * NEWS: Add 2.19 section.
14140
31ad488d
DM
141412013-08-03 David S. Miller <davem@davemloft.net>
14142
14143 * po/ko.po: Update Korean translation from translation project.
14144
db24e684
DM
141452013-08-01 David S. Miller <davem@davemloft.net>
14146
14147 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
14148 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14149 Bilka.
14150
f723285b
DM
141512013-07-30 David S. Miller <davem@davemloft.net>
14152
14153 * po/fr.po: Update French translation from translation project.
14154
3cbc52db
DM
141552013-07-28 David S. Miller <davem@davemloft.net>
14156
30bbc0cc
DM
14157 * po/cs.po: Update Czech translation from translation project.
14158
3cbc52db
DM
14159 * po/sv.po: Update Swedish translation from translation project.
14160
d492e6d0
DM
141612013-07-27 David S. Miller <davem@davemloft.net>
14162
f1a7f492
DM
14163 * po/eo.po: Update Esperanto translation from translation project.
14164
90e62a4a
DM
14165 * po/vi.po: Update Vietnamese translation from translation project.
14166
d492e6d0
DM
14167 * po/de.po: Update German translation from translation project.
14168
d4baa62d
DM
141692013-07-26 David S. Miller <davem@davemloft.net>
14170
641aa7b4
DM
14171 * po/bg.po: Update Bulgarian translation from translation project.
14172
d4baa62d
DM
14173 * po/nl.po: Update Dutch translation from translation project.
14174 * po/pl.po: Update Polish translation from translation project.
14175 * po/ru.po: Update Russian translation from translation project.
14176
61a9dcb9
DM
141772013-07-24 David S. Miller <davem@davemloft.net>
14178
14179 * po/libc.pot: Update.
14180
7b1f8b58
AZ
141812013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14182
14183 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14184 variable page size.
14185 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14186 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14187 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14188
a8fc7a03
AK
141892013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14190
14191 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14192
e4608715
CD
141932013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14194 Andreas Schwab <schwab@suse.de>
14195 Roland McGrath <roland@hack.frob.com>
14196 Joseph Myers <joseph@codesourcery.com>
14197 Carlos O'Donell <carlos@redhat.com>
14198
14199 [BZ #15755]
14200 * config.h.in: Define HAVE_PT_CHOWN.
14201 * config.make.in (build-pt-chown): New variable.
14202 * configure.in (--enable-pt_chown): New configure option.
14203 * configure: Regenerate.
14204 * login/Makefile: Include Makeconfig. Build pt_chown only if
14205 build-pt-chown is enabled.
14206 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14207 pt_chown to fix pty ownership.
14208 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14209 CLOSE_ALL_FDS.
14210 * manual/install.texi (Configuring and compiling): Mention
14211 --enable-pt_chown. Add @findex for grantpt.
14212 * INSTALL: Regenerate.
14213
da2d62df
DM
142142013-07-20 David S. Miller <davem@davemloft.net>
14215
14216 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14217 difference between 32-bit and 64-bit.
14218
d7e06450
CD
142192013-07-15 Carlos O'Donell <carlos@redhat.com>
14220
14221 [BZ #15711]
14222 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14223 Avoid system header dependency with -ffreestanding.
14224 ($(objpfx)bits/syscall%d): Likewise.
14225
f959cfd7
DM
142262013-07-13 David S. Miller <davem@davemloft.net>
14227
14228 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14229 underflows from atanl/atan2l due to bug 15319.
14230 (casinh_test_data): Likewise.
14231
c61f8513
DM
142322013-07-07 David S. Miller <davem@davemloft.net>
14233
14234 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14235
72c90ed0
JA
142362013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
14237
14238 * sysdeps/i386/fpu/libm-test-ulps: Update.
14239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14240
52dfbe13
SP
142412013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14242
14243 * configure.in (--enable-lock-elision): Fix message text.
14244 * INSTALL: Regenerate.
14245 * configure: Regenerate.
14246
3f169543
AZ
142472013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14248
14249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14250
521c6785
AJ
142512013-07-03 Andreas Jaeger <aj@suse.de>
14252
14253 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14254 define.
14255 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14256 (ptrace_peeksiginfo_args): Add.
14257 (__ptrace_peeksiginfo_flags): Add.
14258 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14259 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14260 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14261
d2cc15cb
AM
142622013-07-03 Allan McRae <allan@archlinux.org>
14263
14264 * sysdeps/i386/fpu/libm-test-ulps: Update.
14265
3aaeeca7
DM
142662013-07-02 David S. Miller <davem@davemloft.net>
14267
14268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14269
5314ed1a
MT
142702013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
14271
14272 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14273
67338156
JM
142742013-07-02 Joseph Myers <joseph@codesourcery.com>
14275
14276 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14278
1717da59
AK
142792013-07-02 Andi Kleen <ak@linux.intel.com>
14280
14281 * config.h.in (ENABLE_LOCK_ELISION): Add.
14282 * configure.in (--enable-lock-elision): Add option.
14283 * manual/install.texi: Document --enable lock elision.
14284 * configure: Regenerate
14285 * INSTALL: Regenerate.
14286
1c81621c
L
142872013-07-02 H.J. Lu <hongjiu.lu@intel.com>
14288
14289 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14290 SSE4.2 strcasecmp for libc.a.
14291 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14292
77f01ab5
JM
142932013-07-02 Joseph Myers <joseph@codesourcery.com>
14294
14295 [BZ #13304]
14296 * soft-fp/op-common.h (_FP_FMA): New macro.
14297 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14298 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
14299 (_FP_MUL_MEAT_1_imm): ... here.
14300 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
14301 (_FP_MUL_MEAT_1_wide): ... here.
14302 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
14303 (_FP_MUL_MEAT_1_hard): ... here.
14304 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14305 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
14306 (_FP_MUL_MEAT_2_wide): ... here.
14307 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
14308 (_FP_MUL_MEAT_2_wide_3mul): ... here.
14309 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
14310 (_FP_MUL_MEAT_2_gmp): ... here.
14311 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14312 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
14313 (_FP_MUL_MEAT_4_wide): ... here.
14314 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
14315 (_FP_MUL_MEAT_4_gmp): ... here.
14316 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14317 (_FP_WFRACBITS_DW_S): Likewise.
14318 (_FP_WFRACXBITS_DW_S): Likewise.
14319 (_FP_HIGHBIT_DW_S): Likewise.
14320 (FP_FMA_S): Likewise.
14321 (_FP_FRAC_HIGH_DW_S): Likewise.
14322 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14323 (_FP_WFRACBITS_DW_D): Likewise.
14324 (_FP_WFRACXBITS_DW_D): Likewise.
14325 (_FP_HIGHBIT_DW_D): Likewise.
14326 (FP_FMA_D): Likewise.
14327 (_FP_FRAC_HIGH_DW_D): Likewise.
14328 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14329 (_FP_WFRACBITS_DW_E): Likewise.
14330 (_FP_WFRACXBITS_DW_E): Likewise.
14331 (_FP_HIGHBIT_DW_E): Likewise.
14332 (FP_FMA_E): Likewise.
14333 (_FP_FRAC_HIGH_DW_E): Likewise.
14334 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14335 (_FP_WFRACBITS_DW_Q): Likewise.
14336 (_FP_WFRACXBITS_DW_Q): Likewise.
14337 (_FP_HIGHBIT_DW_Q): Likewise.
14338 (FP_FMA_Q): Likewise.
14339 (_FP_FRAC_HIGH_DW_Q): Likewise.
14340 * soft-fp/fmasf4.c: New file.
14341 * soft-fp/fmadf4.c: Likewise.
14342 * soft-fp/fmatf4.c: Likewise.
14343
6308fd9a
LD
143442013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14345
14346 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14347 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14348 Silvermont.
14349 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14350 macro.
14351 (index_Slow_SSE4_2): Likewise.
14352 (index_Prefer_PMINUB_for_stringop): Likewise.
14353 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14354 bit_Slow_SSE4_2 is set.
14355 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14356 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14357
89cd9569
RA
143582013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14359
14360 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14361 rtld_global._dl_hwcap2.
14362 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14363 POWER8.
14364 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14365 POWER8 feature descriptions defined in _dl_hwcap2.
14366 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14367 string handling for POWER8 feature bits.
14368 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14369 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14370 _dl_powerpc_cap_flags.
14371 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14372 * sysdeps/powerpc/rtld-global-offsets.sym
14373 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14374 _dl_hwcap2 in the rtld_global_ro structure.
14375
1ae8bfe0
RA
143762013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14377
14378 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14379 hardware capabilities in support of AT_HWCAP2.
14380 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14381 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14382 GLRO(dl_hwcap2).
14383 (_dl_show_auxv): Add support for calling _dl_procinfo to display
14384 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
14385 explicitly the unknown a_type display mechanism is used.
14386 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14387 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14388 struct member.
14389 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14390 to macro prototype for AT_HWCAP2 support.
14391 * sysdeps/i386/dl-procinfo.h: Likewise.
14392 * sysdeps/s390/dl-procinfo.h: Likewise.
14393 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14394 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
14395 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
14396 return -1 for unknown a_type display fallback.
14397 * sysdeps/sparc/dl-procinfo.h: Likewise.
14398 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14399 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14400
8fbec010
JM
144012013-06-28 Joseph Myers <joseph@codesourcery.com>
14402
14403 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14404 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14405
0432680e
PY
144062013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
14407
14408 [BZ #12492]
14409 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14410 mprotect making __stack_prot writable.
14411
ce61a2ad
NF
144122013-06-28 Nathan Froyd <froydnj@codesourcery.com>
14413 Joseph Myers <joseph@codesourcery.com>
14414
14415 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14416 as being properly aligned.
14417
f91f1c0f
MR
144182013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
14419
3d0f5d0c
MR
14420 * dlfcn/modstatic5.c: New file.
14421 * dlfcn/tststatic5.c: New file.
14422 * dlfcn/Makefile (tests): Add tststatic5.
14423 (tests-static): Likewise.
14424 (modules-names): Add modstatic5.
14425 (tststatic5-ENV): New variable.
14426 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14427
f91f1c0f
MR
14428 [BZ #15022]
14429 * elf/dl-support.c (_dl_main_map): New variable.
14430 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14431 (_dl_nns, _dl_load_adds): Set to 1.
14432 (_dl_initial_searchlist): Refer to _dl_main_map.
14433 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14434 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14435 call to _dl_get_origin.
14436 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14437 around call_map.
14438 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14439 * dlfcn/modstatic3.c: New file.
14440 * dlfcn/tststatic3.c: New file.
14441 * dlfcn/tststatic4.c: New file.
14442 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14443 (tests-static): Likewise.
14444 (modules-names): Add modstatic3.
14445 (tststatic3-ENV, tststatic4-ENV): New variables.
14446 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14447 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14448
cbe7d24b
JM
144492013-06-26 Joseph Myers <joseph@codesourcery.com>
14450
14451 * configure.in (CC): Require GCC version 4.4 or later.
14452 * configure: Regenerated.
14453 * manual/install.texi (Tools for Compilation): Update GCC version
14454 requirement.
14455 * INSTALL: Regenerated.
14456
11b8a0e1
LD
144572013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14458
14459 [BZ #15674]
bb5bb87c
L
14460 * string/test-memcmp.c (check2): New.
14461 (main): Call check2.
14462
11b8a0e1
LD
14463 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14464
b0037103
MR
144652013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
14466
14467 [BZ #15022]
14468 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14469 over to...
14470 (dl_open_worker) [!SHARED]: ... here.
14471
c18c701d
RA
144722013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14473
14474 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14475
1d17fa5f
RH
144762013-06-25 Richard Henderson <rth@redhat.com>
14477
14478 * locale/programs/locarchive.c: Include <libc-internal.h>
14479
8fcb833a
JM
144802013-06-25 Joseph Myers <joseph@codesourcery.com>
14481
14482 * manual/texinfo.tex: Update to version 2013-06-21.17, with
14483 trailing whitespace removed.
14484
17db6e8d
MF
144852013-06-24 Mike Frysinger <vapier@gentoo.org>
14486
14487 [BZ #10283]
17db6e8d
MF
14488 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14489 * locale/programs/locarchive.c: Include libc-mmap.h.
14490 (prepare_address_space): Take two new outputs (the mmap base and len).
14491 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
14492 values.
14493 (create_archive): Declare new mmap base and len values for
14494 prepare_address_space, and store the result in ah.
14495 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14496 (enlarge_archive): If ah->mmap_base is not NULL, use that and
14497 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14498 Declare new mmap base and len values for
14499 prepare_address_space, and store the result in new_ah.
14500 (open_archive): Declare new mmap base and len values for
14501 prepare_address_space, and store the result in ah.
14502 (close_archive): If ah->mmap_base is not NULL, use that and
14503 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14504 * sysdeps/generic/libc-mmap.h: New file.
14505
d605071e
MF
145062013-06-24 Mike Frysinger <vapier@gentoo.org>
14507
14508 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
14509 (ALIGN_UP): Likewise.
14510 (PTR_ALIGN_DOWN): Likewise.
14511 (PTR_ALIGN_UP): Likewise.
14512
2f063a6e
RA
145132013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14514
14515 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
14516 entry mapped to PPC_PLATFORM_POWER8.
14517 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
14518 POWER8.
14519 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
14520 (_dl_string_platform): Add case for exporting platform position for
14521 POWER8.
14522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
14523 search path to sysdeps/powerpc/powerpc32/power8 directory.
14524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
14525 search path to sysdeps/powerpc/powerpc64/power8 directory.
14526 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
14527 power7 directories.
14528 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
14529 power7 directories.
14530
a31ee4b3
SP
145312013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14532
a74ca98f
SP
14533 * INSTALL: Regenerate.
14534
a31ee4b3
SP
14535 * nscd/connections.c (nscd_init): Fix comment.
14536
695c378f
JM
145372013-06-22 Joseph Myers <joseph@codesourcery.com>
14538
d8412221
JM
14539 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
14540
695c378f
JM
14541 [BZ #15667]
14542 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
14543 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
14544
d1d54715
MR
145452013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14546
14547 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
14548 DL_DST_REQ_STATIC.
14549 (DL_DST_REQ_STATIC): Remove macro.
14550
8fdda7af
JM
145512013-06-21 Joseph Myers <joseph@codesourcery.com>
14552
14553 [BZ #7006]
14554 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
14555 with a shift of 0 bits.
14556
f3bc5e5a
MR
145572013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14558
14559 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
14560 $(tststatic-ENV).
14561
be09e8c9
KK
145622013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14563
14564 [BZ #15655]
14565 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
14566
85c2e611
AZ
145672013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14568
14569 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
14570 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
14571 accepts -fno-tree-loop-distribute-patterns.
14572 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
14573 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
14574 recursive call.
14575 * string/memset.c (memset): Likewise.
14576 * string/test-memmove.c (simple_memmove): Disable loop transformation
14577 to library calls.
14578 * string/test-memset.c (simple_memset): Likewise.
14579 * benchtests/bench-memmove.c (simple_memmove): Likewise.
14580 * benchtests/bench-memset.c (simple_memset): Likewise.
14581 * configure: Regenerated.
14582
c91e0825
JM
145832013-06-20 Joseph Myers <joseph@codesourcery.com>
14584
b8c792af
JM
14585 * math/test-misc.c (main): Ignore fesetround failure when failures
14586 of subsequent rounding tests would be ignored.
14587
c91e0825
JM
14588 [BZ #15654]
14589 * math/fedisblxcpt.c (fedisableexcept): Return 0.
14590 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
14591 * math/fegetenv.c (__fegetenv): Return 0.
14592 * math/fegetexcept.c (fegetexcept): Return 0.
14593 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
14594 FE_TONEAREST.
14595 * math/feholdexcpt.c (feholdexcept): Return 0.
14596 * math/fesetenv.c (__fesetenv): Return 0.
14597 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
14598 argument FE_TONEAREST.
14599 * math/feupdateenv.c (__feupdateenv): Return 0.
14600 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
14601
bfcacbde
RM
146022013-06-18 Roland McGrath <roland@hack.frob.com>
14603
14604 * elf/rtld-Rules (rtld-compile-command.S): New variable.
14605 (rtld-compile-command.s, rtld-compile-command.c): New variables.
14606 ($(objpfx)rtld-%.os rules): Use them.
14607
e55a9b25
AZ
146082013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14609
14610 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
14611 fields.
14612
346d65b3
RM
146132013-06-17 Roland McGrath <roland@hack.frob.com>
14614
12086fb4
RM
14615 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
14616 length of target pattern, then descending length of dependency pattern.
14617 * configure.in (AWK): Require gawk 3.1.2 or newer.
14618 * manual/install.texi (Tools for Compilation): Say that we do.
14619 * configure: Regenerated.
14620
346d65b3
RM
14621 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
14622 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
14623 * scripts/sysd-rules.awk: ... this new script.
14624 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
14625 than a glob-style pattern.
14626
1a846317
JM
146272013-06-17 Joseph Myers <joseph@codesourcery.com>
14628
14629 * math/test-misc.c (main): Do not treat incorrectly rounded
14630 conversions as failure unless ROUNDING_TESTS passes.
14631
8fc75e6f
JM
146322013-06-15 Joseph Myers <joseph@codesourcery.com>
14633
3711a167
JM
14634 [BZ #15631]
14635 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
14636 restore exception state around main square root computation, then
14637 check for inexactness explicitly.
14638
8fc75e6f
JM
14639 * math/libm-test.inc (fma_test_data): Add another test.
14640
61dd6208
SP
146412013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14642
adf23d2c
SP
14643 * manual/threads.texi (Non-POSIX Extensions): New document
14644 node. Document pthread_getattr_default_np and
14645 pthread_setattr_default_np.
14646
61dd6208
SP
14647 * Versions.def (libpthread): Add GLIBC_2.18.
14648 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
14649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14650 Likewise.
14651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14652 Likewise.
14653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14654 Likewise.
14655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14656 Likewise.
14657 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
14658 Likewise.
14659 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14660 Likewise.
14661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14662 Likewise.
14663 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14664 Likewise.
14665 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14666 Likewise.
14667
d086fc7b
LD
146682013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14669
14670 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14671 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
14672
747ef469
SP
146732013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14674 H.J. Lu <hjl.tools@gmail.com>
14675
14676 [BZ #15627]
14677 * sysdeps/x86_64/rtld-memset.c: Remove file.
14678 * sysdeps/x86_64/rtld-memset.S: New file.
14679
1b2feed2
JM
146802013-06-14 Joseph Myers <joseph@codesourcery.com>
14681
14682 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
14683 (test_in_one_mode): Take arguments for whether the rounding mode
14684 is supported for each floating-point type.
14685 (do_test): Pass new arguments to test_in_one_mode using
14686 ROUNDING_TESTS.
14687
a58ad3f8
RM
146882013-06-13 Roland McGrath <roland@hack.frob.com>
14689
14690 * posix/tst-waitid.c (do_test): Distinguish different instances of
14691 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
14692 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
14693 before entering the kernel for waitpid.
14694
c204ab28
SP
146952013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14696
14697 * NEWS: Fix note on clock function precision. Text by Roland
14698 McGrath.
14699
f4a29fba
RM
147002013-06-13 Roland McGrath <roland@hack.frob.com>
14701
14702 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
14703 it into place only when and if the sanity check passes.
14704
1f24b9ad
JM
147052013-06-13 Joseph Myers <joseph@codesourcery.com>
14706
14707 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
14708 output for whether conversion result is exact. Take argument
14709 indicating whether type is IBM long double.
14710 (round_for_all): Change need_exact field to ibm_ld.
14711 * stdlib/tst-strtod-round.c (struct exactness): New type.
14712 (struct test): Change bool ld_ok field to struct exactness exact.
14713 (TEST): Update all definitions for change to field.
14714 (tests): Regenerate array contents.
14715 (test_in_one_mode): Take pointer to new field instead of old ld_ok
14716 field value. Check for IBM long double here.
14717 (do_test): Update calls to test_in_one_mode.
14718
58206c68
SP
147192013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14720
14721 [BZ #12515]
14722 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
14723 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
14724
2d6f4c5b 147252013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
14726
14727 [BZ #15605]
14728 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
14729 generated by the compiler on loop optimizations.
14730 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
14731 general definitions.
14732
94f2c076
JM
147332013-06-12 Joseph Myers <joseph@codesourcery.com>
14734
14735 * math/bug-nextafter.c: Include <math-tests.h>.
14736 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14737 the relevant type.
14738 * math/bug-nexttoward.c: Include <math-tests.h>.
14739 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14740 the relevant type.
14741 * math/test-misc.c: Include <math-tests.h>.
14742 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14743 the relevant type.
14744
e0e50a0a
AJ
147452013-06-12 Andreas Jaeger <aj@suse.de>
14746
14747 * po/ia.po: Update Interlingua translation from translation
14748 project.
14749
25061094
SP
147502013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14751
14752 * include/fenv.h: Include stdbool.h.
14753 (struct rm_ctx): New structure.
14754 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
14755 Define macro.
14756 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
14757 (SET_RESTORE_ROUNDF): Likewise.
14758 (SET_RESTORE_ROUNDL): Likewise.
14759 (SET_RESTORE_ROUND_NOEX): Likewise.
14760 (SET_RESTORE_ROUND_NOEXF): Likewise.
14761 (SET_RESTORE_ROUND_NOEXL): Likewise.
14762 (SET_RESTORE_ROUND_53BIT): Likewise.
14763 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
14764 (libc_feresetround_noexf_ctx): Likewise.
14765 (libc_feresetround_noexl_ctx): Likewise.
14766 (libc_feholdsetround_53bit_ctx): Likewise.
14767 (libc_feresetround_53bit_ctx): Likewise.
14768 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
14769 (libc_feholdexcept_setround_sse_ctx): New function.
14770 (libc_fesetenv_sse_ctx): Likewise.
14771 (libc_feupdateenv_sse_ctx): Likewise.
14772 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
14773 (libc_feholdexcept_setround_387_ctx): Likewise.
14774 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
14775 (libc_feholdsetround_387_prec_ctx): Likewise.
14776 (libc_feholdsetround_387_ctx): Likewise.
14777 (libc_feholdsetround_387_53bit_ctx): Likewise.
14778 (libc_feholdsetround_sse_ctx): Likewise.
14779 (libc_feresetround_sse_ctx): Likewise.
14780 (libc_feresetround_387_ctx): Likewise.
14781 (libc_feupdateenv_387_ctx): Likewise.
14782 (libc_feholdexcept_setroundf_ctx): Define macro.
14783 (libc_fesetenvf_ctx): Likewise.
14784 (libc_feupdateenvf_ctx): Likewise.
14785 (libc_feholdsetroundf_ctx): Likewise.
14786 (libc_feresetroundf_ctx): Likewise.
14787 (libc_feholdexcept_setround_ctx): Likewise.
14788 (libc_fesetenv_ctx): Likewise.
14789 (libc_feupdateenv_ctx): Likewise.
14790 (libc_feholdsetround_ctx): Likewise.
14791 (libc_feresetround_ctx): Likewise.
14792 (libc_feholdexcept_setroundl_ctx): Likewise.
14793 (libc_feupdateenvl_ctx): Likewise.
14794 (libc_feholdsetroundl_ctx): Likewise.
14795 (libc_feresetroundl_ctx): Likewise.
14796 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
14797 (libc_feresetround_53bit_ctx): Likewise.
14798
59b30555
SP
147992013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14800
14801 * locale/iso-639.def: Convert to UTF-8.
14802
f1d73d30
JM
148032013-06-11 Joseph Myers <joseph@codesourcery.com>
14804
14805 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
14806 (EXCEPTION_TESTS_double): Likewise.
14807 (EXCEPTION_TESTS_long_double): Likewise.
14808 (EXCEPTION_TESTS): Likewise.
14809 * math/libm-test.inc (test_exceptions): Only test exceptions if
14810 EXCEPTION_TESTS (FLOAT).
14811
94aca5e7
SP
148122013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14813
14814 * benchtests/Makefile (string-bench): Add strcpy_chk and
14815 stpcpy_chk.
14816 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
14817 * benchtests/bench-stpcpy_chk.c: New file.
14818 * benchtests/bench-strcpy_chk-ifunc.c: New file.
14819 * benchtests/bench-strcpy_chk.c: New file.
14820 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
14821 code.
14822 (do_test): Likewise.
14823
fac0c5f2
RA
148242013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14825
14826 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
14827 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
14828 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
14829 with tabs where appropriate.
14830 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
14831 dl-procinfo.h.
14832 [PPC_PLATFORM_PPC440]: Likewise.
14833 [PPC_PLATFORM_PPC464]: Likewise.
14834 [PPC_PLATFORM_PPC476]: Likewise.
14835 (_dl_string_platform): Add support for detecting ppc405, ppc440,
14836 ppc464, and ppc476 platform strings merging from ports/
14837 dl-procinfo.h.
14838
f22bc486
AS
148392013-06-11 Andreas Schwab <schwab@suse.de>
14840
14841 [BZ #14991]
14842 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
14843 (from_ucs4_idx): Regenerate.
14844 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
14845 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
14846 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
14847 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
14848 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
14849 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
14850 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
14851 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
14852 from FROM_LOOP and TO_LOOP specific macros.
14853 (BODY): Handle combining characters.
14854 * iconvdata/BIG5HKSCS.irreversible: Update.
14855 * iconvdata/BIG5HKSCS.precomposed: New file.
14856 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
14857 characters.
14858 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
14859
c1f75dc3
SP
148602013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14861
4eacded2
SP
14862 * include/sys/time.h: Fix indentation and add copyright header.
14863
fec799f8
SP
14864 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
14865 (do_test): Likewise.
14866 * string/test-memchr.c (do_one_test): Likewise.
14867 (do_test): Likewise.
14868 * string/test-memcmp.c (do_one_test): Likewise.
14869 (do_test): Likewise.
14870 * string/test-memcpy.c (do_one_test): Likewise.
14871 (do_test): Likewise.
14872 * string/test-memmem.c (do_one_test): Likewise.
14873 (do_test): Likewise.
14874 (do_random_tests): Likewise.
14875 * string/test-memmove.c (do_one_test): Likewise.
14876 (do_test): Likewise.
14877 * string/test-memset.c (do_one_test): Likewise.
14878 (do_test): Likewise.
14879 * string/test-rawmemchr.c (do_one_test): Likewise.
14880 (do_test): Likewise.
14881 * string/test-strcasecmp.c (do_one_test): Likewise.
14882 (do_test): Likewise.
14883 * string/test-strcasestr.c (do_one_test): Likewise.
14884 (do_test): Likewise.
14885 * string/test-strcat.c (do_one_test): Likewise.
14886 (do_test): Likewise.
14887 * string/test-strchr.c (do_one_test): Likewise.
14888 (do_test): Likewise.
14889 * string/test-strcmp.c (do_one_test): Likewise.
14890 (do_test): Likewise.
14891 * string/test-strcpy.c (do_one_test): Likewise.
14892 (do_test): Likewise.
14893 * string/test-string.h: Likewise.
14894 (test_init): Likewise.
14895 * string/test-strlen.c (do_one_test): Likewise.
14896 (do_test): Likewise.
14897 * string/test-strncasecmp.c (do_one_test): Likewise.
14898 (do_test): Likewise.
14899 * string/test-strncat.c (do_one_test): Likewise.
14900 (do_test): Likewise.
14901 * string/test-strncmp.c (do_one_test): Likewise.
14902 (do_test_limit): Likewise.
14903 (do_test): Likewise.
14904 * string/test-strncpy.c (do_one_test): Likewise.
14905 (do_test): Likewise.
14906 * string/test-strnlen.c (do_one_test): Likewise.
14907 (do_test): Likewise.
14908 * string/test-strpbrk.c (do_one_test): Likewise.
14909 (do_test): Likewise.
14910 * string/test-strrchr.c (do_one_test): Likewise.
14911 (do_test): Likewise.
14912 * string/test-strspn.c (do_one_test): Likewise.
14913 (do_test): Likewise.
14914 * string/test-strstr.c (do_one_test): Likewise.
14915 (do_test): Likewise.
14916
97020474
SP
14917 * benchtests/Makefile (string-bench): Add string benchmarks.
14918 * benchtests/bench-bcopy-ifunc.c: New file.
14919 * benchtests/bench-bcopy.c: New file.
14920 * benchtests/bench-bzero-ifunc.c: New file.
14921 * benchtests/bench-bzero.c: New file.
14922 * benchtests/bench-memccpy-ifunc.c: New file.
14923 * benchtests/bench-memccpy.c: New file.
14924 * benchtests/bench-memchr-ifunc.c: New file.
14925 * benchtests/bench-memchr.c: New file.
14926 * benchtests/bench-memcmp-ifunc.c: New file.
14927 * benchtests/bench-memcmp.c: New file.
14928 * benchtests/bench-memmem-ifunc.c: New file.
14929 * benchtests/bench-memmem.c: New file.
14930 * benchtests/bench-memmove-ifunc.c: New file.
14931 * benchtests/bench-memmove.c: New file.
14932 * benchtests/bench-mempcpy-ifunc.c: New file.
14933 * benchtests/bench-mempcpy.c: New file.
14934 * benchtests/bench-memset-ifunc.c: New file.
14935 * benchtests/bench-memset.c: New file.
14936 * benchtests/bench-rawmemchr-ifunc.c: New file.
14937 * benchtests/bench-rawmemchr.c: New file.
14938 * benchtests/bench-stpcpy-ifunc.c: New file.
14939 * benchtests/bench-stpcpy.c: New file.
14940 * benchtests/bench-stpncpy-ifunc.c: New file.
14941 * benchtests/bench-stpncpy.c: New file.
14942 * benchtests/bench-strcasecmp-ifunc.c: New file.
14943 * benchtests/bench-strcasecmp.c: New file.
14944 * benchtests/bench-strcasestr-ifunc.c: New file.
14945 * benchtests/bench-strcasestr.c: New file.
14946 * benchtests/bench-strcat-ifunc.c: New file.
14947 * benchtests/bench-strcat.c: New file.
14948 * benchtests/bench-strchr-ifunc.c: New file.
14949 * benchtests/bench-strchr.c: New file.
14950 * benchtests/bench-strchrnul-ifunc.c: New file.
14951 * benchtests/bench-strchrnul.c: New file.
14952 * benchtests/bench-strcmp-ifunc.c: New file.
14953 * benchtests/bench-strcmp.c: New file.
14954 * benchtests/bench-strcpy-ifunc.c: New file.
14955 * benchtests/bench-strcpy.c: New file.
14956 * benchtests/bench-strcspn-ifunc.c: New file.
14957 * benchtests/bench-strcspn.c: New file.
14958 * benchtests/bench-strlen-ifunc.c: New file.
14959 * benchtests/bench-strlen.c: New file.
14960 * benchtests/bench-strncasecmp-ifunc.c: New file.
14961 * benchtests/bench-strncasecmp.c: New file.
14962 * benchtests/bench-strncat-ifunc.c: New file.
14963 * benchtests/bench-strncat.c: New file.
14964 * benchtests/bench-strncmp-ifunc.c: New file.
14965 * benchtests/bench-strncmp.c: New file.
14966 * benchtests/bench-strncpy-ifunc.c: New file.
14967 * benchtests/bench-strncpy.c: New file.
14968 * benchtests/bench-strnlen-ifunc.c: New file.
14969 * benchtests/bench-strnlen.c: New file.
14970 * benchtests/bench-strpbrk-ifunc.c: New file.
14971 * benchtests/bench-strpbrk.c: New file.
14972 * benchtests/bench-strrchr-ifunc.c: New file.
14973 * benchtests/bench-strrchr.c: New file.
14974 * benchtests/bench-strspn-ifunc.c: New file.
14975 * benchtests/bench-strspn.c: New file.
14976 * benchtests/bench-strstr-ifunc.c: New file.
14977 * benchtests/bench-strstr.c: New file.
14978
c1f75dc3
SP
14979 * benchtests/Makefile: Disable parallel execution of targets.
14980 (string-bench): Add memcpy.
14981 (benchset): New variable to store a list of benchmark sets.
14982 (bench-func): Renamed from bench.
14983 (bench-set): New target.
14984 (bench): Depend on bench-func and bench-set.
14985 * benchtests/README: Add section on benchmark sets.
14986 * benchtests/bench-memcpy-ifunc.c: New file.
14987 * benchtests/bench-memcpy.c: New file.
14988 * benchtests/bench-string.h: New file.
14989
50fd745b
AS
149902013-06-11 Andreas Schwab <schwab@suse.de>
14991
14992 [BZ #15577]
14993 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
14994 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
14995 values in the triple.
14996 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
14997 terminator in the group key.
14998
3ee7e9fe
AJ
149992013-06-11 Andreas Jaeger <aj@suse.de>
15000
15001 * po/zh_TW.po: Update Chinese (traditional) translation from
15002 translation project.
15003
89fb6835
SP
150042013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15005
15006 * include/time.h (__clock_gettime): Add libc_hidden_proto.
15007 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15008 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
15009 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15010 (clock_getcpuclockid): Likewise.
15011 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15012 Add weak_alias and libc_hidden_def.
15013 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15014 * rt/clock_gettime.c (clock_gettime): Rename to
15015 __clock_gettime. Add weak_alias and libc_hidden_def.
15016 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15017 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15018 __clock_nanosleep. Add weak_alias and libc_hidden_def.
15019 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15020 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15021 Likewise.
15022 * rt/clock_settime.c (clock_settime): Rename to
15023 __clock_settime. Add weak_alias and libc_hidden_def.
15024 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15025
0efa6f8b
JM
150262013-06-10 Joseph Myers <joseph@codesourcery.com>
15027
b8c61b4b
JM
15028 * mach/err_boot.sub: Remove trailing whitespace.
15029 * mach/err_ipc.sub: Likewise.
15030 * mach/err_mach.sub: Likewise.
15031
0efa6f8b
JM
15032 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15033 (ROUNDING_TESTS_double): Likewise.
15034 (ROUNDING_TESTS_long_double): Likewise.
15035 (ROUNDING_TESTS): Likewise.
15036 * math/libm-test.inc: Include <math-tests.h>.
15037 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15038 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15039 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15040 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15041
50b818bf
SP
150422013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15043
15044 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15045 of assigning.
15046
60d2f8f3
JM
150472013-06-08 Joseph Myers <joseph@codesourcery.com>
15048
4902d2c3
JM
15049 * sysdeps/gnu/errlist.awk: Do not generate space at end of
15050 otherwise empty TRANS lines.
15051 * sysdeps/gnu/errlist.c: Regenerated.
15052
60d2f8f3
JM
15053 * catgets/gencat.c (error_print): Use (void) in function
15054 definition.
15055 * crypt/crypt_util.c (__init_des): Likewise.
15056 * crypt/speeds.c (Stop): Likewise.
15057 (main): Likewise.
15058 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15059 * inet/ruserpass.c (token): Likewise.
15060 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15061 * intl/localealias.c (extend_alias_table): Likewise.
15062 * intl/plural-exp.c (init_germanic_plural): Likewise.
15063 * libio/fcloseall.c (__fcloseall): Likewise.
15064 * libio/genops.c (_IO_flush_all): Likewise.
15065 (_IO_flush_all_linebuffered): Likewise.
15066 (_IO_cleanup): Likewise.
15067 (_IO_iter_begin): Likewise.
15068 (_IO_iter_end): Likewise.
15069 (_IO_list_lock): Likewise.
15070 (_IO_list_unlock): Likewise.
15071 (_IO_list_resetlock): Likewise.
15072 * libio/getchar.c (getchar): Likewise.
15073 * libio/getchar_u.c (getchar_unlocked): Likewise.
15074 * libio/getwchar.c (getwchar): Likewise.
15075 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15076 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15077 * login/getpt.c (__getpt): Likewise.
15078 * login/tst-utmp.c (main): Likewise.
15079 * malloc/hooks.c (__malloc_check_init): Likewise.
15080 * malloc/malloc.c (__malloc_stats): Likewise.
15081 * malloc/mtrace.c (tr_break): Likewise.
15082 (mtrace): Likewise.
15083 (muntrace): Likewise.
15084 * misc/fstab.c (endfsent): Likewise.
15085 * misc/getclktck.c (__getclktck): Likewise.
15086 * misc/getdtsz.c (__getdtablesize): Likewise.
15087 * misc/gethostid.c (gethostid): Likewise.
15088 * misc/getpagesize.c (__getpagesize): Likewise.
15089 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15090 (__get_nprocs): Likewise.
15091 (__get_phys_pages): Likewise.
15092 (__get_avphys_pages): Likewise.
15093 * misc/getttyent.c (getttyent): Likewise.
15094 (setttyent): Likewise.
15095 (endttyent): Likewise.
15096 * misc/getusershell.c (getusershell): Likewise.
15097 (endusershell): Likewise.
15098 (setusershell): Likewise.
15099 (initshells): Likewise.
15100 * misc/hsearch.c (__hdestroy): Likewise.
15101 * misc/sync.c (sync): Likewise.
15102 * misc/syslog.c (closelog_internal): Likewise.
15103 (closelog): Likewise.
15104 * misc/ttyslot.c (ttyslot): Likewise.
15105 * misc/vhangup.c (vhangup): Likewise.
15106 * posix/fork.c (__fork): Likewise.
15107 * posix/getegid.c (__getegid): Likewise.
15108 * posix/geteuid.c (__geteuid): Likewise.
15109 * posix/getgid.c (__getgid): Likewise.
15110 * posix/getpid.c (__getpid): Likewise.
15111 * posix/getppid.c (__getppid): Likewise.
15112 * posix/getuid.c (__getuid): Likewise.
15113 * posix/pause.c (pause): Likewise.
15114 * posix/setpgrp.c (setpgrp): Likewise.
15115 * posix/setsid.c (__setsid): Likewise.
15116 * posix/test-vfork.c (noop): Likewise.
15117 * resolv/gethnamaddr.c (_endhtent): Likewise.
15118 (_gethtent): Likewise.
15119 (ht_endhostent): Likewise.
15120 (gethostent): Likewise.
15121 (dns_service): Likewise.
15122 * stdlib/drand48.c (drand48): Likewise.
15123 * stdlib/lrand48.c (lrand48): Likewise.
15124 * stdlib/mrand48.c (mrand48): Likewise.
15125 * stdlib/rand.c (rand): Likewise.
15126 * stdlib/random.c (__random): Likewise.
15127 * stdlib/setenv.c (clearenv): Likewise.
15128 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15129 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15130 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15131 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15132 (__get_nprocs): Likewise.
15133 (__get_phys_pages): Likewise.
15134 (__get_avphys_pages): Likewise.
15135 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15136 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15137 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15138 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15139 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15140 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15141 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15142 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15143 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15144 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15145 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15146 * sysdeps/mach/hurd/sync.c (sync): Likewise.
15147 * sysdeps/posix/clock.c (clock): Likewise.
15148 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15149 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15150 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15151 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15152 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15153 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15154 (__get_nprocs_conf): Likewise.
15155 (__get_phys_pages): Likewise.
15156 (__get_avphys_pages): Likewise.
15157 * time/clock.c (clock): Likewise.
15158 * time/tzset.c (__tzname_max): Likewise.
15159
2e09a79a
JM
151602013-06-07 Joseph Myers <joseph@codesourcery.com>
15161
15162 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15163 (__bswap_32): Do not use "register".
15164 * crypt/crypt.c (_ufc_doit_r): Likewise.
15165 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15166 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15167 * gmon/gmon.c (__monstartup): Likewise.
15168 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15169 * hurd/hurdmalloc.c (more_memory): Likewise.
15170 (malloc): Likewise.
15171 (free): Likewise.
15172 (realloc): Likewise.
15173 (malloc_fork_prepare): Likewise.
15174 (malloc_fork_parent): Likewise.
15175 (malloc_fork_child): Likewise.
15176 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15177 (_svcauth_des): Likewise.
15178 * inet/inet_lnaof.c (inet_lnaof): Likewise.
15179 * inet/inet_net.c (inet_network): Likewise.
15180 * inet/inet_netof.c (inet_netof): Likewise.
15181 * inet/rcmd.c (__validuser2_sa): Likewise.
15182 * io/fts.c (fts_open): Likewise.
15183 (fts_load): Likewise.
15184 (fts_close): Likewise.
15185 (fts_read): Likewise.
15186 (fts_children): Likewise.
15187 (fts_build): Likewise.
15188 (fts_stat): Likewise.
15189 (fts_sort): Likewise.
15190 (fts_alloc): Likewise.
15191 (fts_lfree): Likewise.
15192 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15193 (_IO_file_xsgetn): Likewise.
15194 (_IO_file_xsgetn_mmap): Likewise.
15195 * libio/iofopncook.c (_IO_cookie_read): Likewise.
15196 (_IO_cookie_write): Likewise.
15197 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15198 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15199 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15200 * malloc/obstack.c (_obstack_begin): Likewise.
15201 (_obstack_begin_1): Likewise.
15202 (_obstack_newchunk): Likewise.
15203 (_obstack_allocated_p): Likewise.
15204 (obstack_free): Likewise.
15205 (_obstack_memory_used): Likewise.
15206 * misc/getttyent.c (getttynam): Likewise.
15207 (getttyent): Likewise.
15208 (skip): Likewise.
15209 (value): Likewise.
15210 * misc/getusershell.c (initshells): Likewise.
15211 * misc/syslog.c (__vsyslog_chk): Likewise.
15212 * misc/ttyslot.c (ttyslot): Likewise.
15213 * nis/nis_hash.c (__nis_hash): Likewise.
15214 * posix/fnmatch_loop.c (FCT): Likewise.
15215 * posix/getconf.c (print_all): Likewise.
15216 (main): Likewise.
15217 * posix/getopt.c (exchange): Likewise.
15218 * posix/glob.c (globfree): Likewise.
15219 (prefix_array): Likewise.
15220 (__glob_pattern_type): Likewise.
15221 * resolv/arpa/nameser.h (NS_GET16): Likewise.
15222 (NS_GET32): Likewise.
15223 (NS_PUT16): Likewise.
15224 (NS_PUT32): Likewise.
15225 * resolv/gethnamaddr.c (getanswer): Likewise.
15226 (gethostbyname2): Likewise.
15227 (gethostbyaddr): Likewise.
15228 (_gethtent): Likewise.
15229 (_gethtbyname2): Likewise.
15230 (_gethtbyaddr): Likewise.
15231 * resolv/ns_print.c (dst_s_get_int16): Likewise.
15232 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15233 * resolv/res_init.c (__res_vinit): Likewise.
15234 (net_mask): Likewise.
15235 * resolv/res_mkquery.c (outchar): Likewise.
15236 (PRINT): Likewise.
15237 * stdio-common/printf_fp.c (outchar): Likewise.
15238 (PRINT): Likewise.
15239 * stdio-common/printf_fphex.c (outchar): Likewise.
15240 (PRINT): Likewise.
15241 * stdio-common/printf_size.c (outchar): Likewise.
15242 (PRINT): Likewise.
15243 * stdio-common/test_rdwr.c (main): Likewise.
15244 * stdio-common/tfformat.c (matches): Likewise.
15245 * stdio-common/vfprintf.c (outchar): Likewise.
15246 (printf_unknown): Likewise.
15247 (buffered_vfprintf): Likewise.
15248 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15249 * stdio-common/xbug.c (AppendToBuffer): Likewise.
15250 (ReadFile): Likewise.
15251 * stdlib/qsort.c (SWAP): Likewise.
15252 (_quicksort): Likewise.
15253 * stdlib/setenv.c (__add_to_environ): Likewise.
15254 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15255 * stdlib/strtol_l.c (__strtol_l): Likewise.
15256 * stdlib/tst-strtod.c (main): Likewise.
15257 * stdlib/tst-strtol.c (main): Likewise.
15258 * stdlib/tst-strtoll.c (main): Likewise.
15259 * string/bits/string2.h (__strcmp_cc): Likewise.
15260 (__strcmp_cg): Likewise.
15261 (__strcspn_c1): Likewise.
15262 (__strcspn_c2): Likewise.
15263 (__strcspn_c3): Likewise.
15264 (__strspn_c1): Likewise.
15265 (__strspn_c2): Likewise.
15266 (__strspn_c3): Likewise.
15267 (__strsep_1c): Likewise.
15268 (__strsep_2c): Likewise.
15269 (__strsep_3c): Likewise.
15270 * string/memccpy.c (__memccpy): Likewise.
15271 * string/stpcpy.c (__stpcpy): Likewise.
15272 * string/strcmp.c (strcmp): Likewise.
15273 * string/strrchr.c (strrchr): Likewise.
15274 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15275 Likewise.
15276 * sysdeps/mach/hurd/getcwd.c
15277 (_hurd_canonicalize_directory_name_internal): Likewise.
15278 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15279 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15280 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15281 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15282 Likewise, in both definitions.
15283 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15284 definitions.
15285 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15286 64] (__bswap_64): Likewise.
15287 * time/test_time.c (main): Likewise.
15288 * time/tzfile.c (__tzfile_read): Likewise.
15289 (__tzfile_compute): Likewise.
15290 * time/tzset.c (__tzset_parse_tz): Likewise.
15291 (tzset_internal): Likewise.
15292 (compute_change): Likewise.
15293 * wcsmbs/wcscat.c (__wcscat): Likewise.
15294 * wcsmbs/wcschr.c (wcschr): Likewise.
15295 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15296 * wcsmbs/wcscspn.c (wcscspn): Likewise.
15297 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15298 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15299 * wcsmbs/wcsspn.c (wcsspn): Likewise.
15300 * wcsmbs/wcsstr.c (wcsstr): Likewise.
15301 * wcsmbs/wmemchr.c (wmemchr): Likewise.
15302 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15303 * wcsmbs/wmemset.c (wmemset): Likewise.
15304
9e54314b
JM
153052013-06-06 Joseph Myers <joseph@codesourcery.com>
15306
15307 * scripts/config.guess: Update to version 2013-05-16.
15308 * scripts/config.sub: Update to version 2013-04-24.
15309 * scripts/install-sh: Update to version 2011-11-20.07.
15310 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15311 * scripts/move-if-change: Update to version 2012-01-06 07:23.
15312
350635a5
OB
153132013-06-06 Ondřej Bílka <neleai@seznam.cz>
15314
15315 * debug/fgetws_u_chk.c: Fix leading whitespaces.
15316 * elf/sln.c: Likewise.
15317 * hurd/hurd/ioctl.h: Likewise.
15318 * hurd/hurdmalloc.c: Likewise.
15319 * hurd/xattr.c: Likewise.
15320 * include/shlib-compat.h: Likewise.
15321 * inet/ruserpass.c: Likewise.
15322 * libio/iofgets_u.c: Likewise.
15323 * libio/iofgetws_u.c: Likewise.
15324 * locale/programs/ld-identification.c: Likewise.
15325 * locale/programs/ld-time.c: Likewise.
15326 * mach/msg-destroy.c: Likewise.
15327 * nss/nss_files/files-netgrp.c: Likewise.
15328 * resolv/res_data.c: Likewise.
15329 * soft-fp/op-1.h: Likewise.
15330 * soft-fp/op-2.h: Likewise.
15331 * soft-fp/op-4.h: Likewise.
15332 * soft-fp/op-common.h: Likewise.
15333 * stdio-common/printf_fphex.c: Likewise.
15334 * stdlib/strtod_l.c: Likewise.
15335 * sunrpc/rpc/clnt.h: Likewise.
15336 * sysdeps/generic/framestate.c: Likewise.
15337 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15338 * sysdeps/i386/bsd-setjmp.S: Likewise.
15339 * sysdeps/i386/__longjmp.S: Likewise.
15340 * sysdeps/i386/setjmp.S: Likewise.
15341 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15342 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15343 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15344 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15345 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15346 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15347 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15348 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15349 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15350 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15351 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15352 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15353 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15354 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15355 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15356 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15357 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15358 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15359 * sysdeps/ieee754/support.c: Likewise.
15360 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15361 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15362 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15363 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15364 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15365 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15366 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15367 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15368 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15369 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15370 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15371 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15372 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15373 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15374 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15375 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15376 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15378
44a988af
OB
153792013-06-05 Ondřej Bílka <neleai@seznam.cz>
15380
25506f09 15381 * posix/transbug.c: Remove executable mode.
44a988af 15382
9c84384c
JM
153832013-06-05 Joseph Myers <joseph@codesourcery.com>
15384
15385 * crypt/speeds.c: Remove trailing whitespace.
15386 * dlfcn/default.c: Likewise.
15387 * elf/ifuncdep2.c: Likewise.
15388 * elf/ifuncmain1.c: Likewise.
15389 * elf/ifuncmain1vis.c: Likewise.
15390 * elf/testobj.h: Likewise.
15391 * elf/tst-stackguard1.c: Likewise.
15392 * gmon/sys/gmon.h: Likewise.
15393 * hurd/hurdmsg.c: Likewise.
15394 * hurd/new-fd.c: Likewise.
15395 * hurd/ports-get.c: Likewise.
15396 * iconvdata/ibm1008_420.c: Likewise.
15397 * inet/tst-getni1.c: Likewise.
15398 * inet/tst-getni2.c: Likewise.
15399 * libio/ioungetc.c: Likewise.
15400 * libio/wfiledoalloc.c: Likewise.
15401 * manual/libm-err-tab.pl: Likewise.
15402 * math/w_dremf.c: Likewise.
15403 * misc/ftruncate.c: Likewise.
15404 * posix/bug-glob2.c: Likewise.
15405 * posix/tst-pcre.c: Likewise.
15406 * posix/wait4.c: Likewise.
15407 * resolv/README: Likewise.
15408 * resolv/res_debug.h: Likewise.
15409 * resolv/tst-inet_ntop.c: Likewise.
15410 * setjmp/bug269-setjmp.c: Likewise.
15411 * soft-fp/extended.h: Likewise.
15412 * soft-fp/op-1.h: Likewise.
15413 * soft-fp/op-2.h: Likewise.
15414 * soft-fp/op-4.h: Likewise.
15415 * soft-fp/op-8.h: Likewise.
15416 * soft-fp/testit.c: Likewise.
15417 * stdio-common/bug16.c: Likewise.
15418 * stdlib/random.c: Likewise.
15419 * sunrpc/rpcsvc/rquota.x: Likewise.
15420 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15421 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15422 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15423 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15424 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15425 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15426 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15427 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15428 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15429 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15430 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15431 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15432 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15433 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15434 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15435 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15436 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15437 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15438 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15439 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15440 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15441 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15442 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15443 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15444 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15445 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15446 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15447 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15448 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15449 * sysdeps/ieee754/s_lib_version.c: Likewise.
15450 * sysdeps/mach/hurd/check_fds.c: Likewise.
15451 * sysdeps/mach/hurd/getsockname.c: Likewise.
15452 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15453 * sysdeps/mach/hurd/recvfrom.c: Likewise.
15454 * sysdeps/powerpc/bits/link.h: Likewise.
15455 * sysdeps/powerpc/dl-procinfo.c: Likewise.
15456 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15457 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15458 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15459 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15460 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15461 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15462 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15463 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15464 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15465 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15466 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15467 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15468 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15469 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15470 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15471 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15472 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15473 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15474 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15475 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15476 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15477 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15478 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15479 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15480 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15481 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15482 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15483 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15484 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15485 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15486 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15487 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15488 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15489 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15490 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15491 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15492 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15493 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15494 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15495 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15496 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15497 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15498 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
15499 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15500 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
15501 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
15502 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15503 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
15504 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
15505 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15506 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15507 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15508 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15509 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
15510 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15511 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15512 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15513 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
15514 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15515 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
15516 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
15517 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
15518 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15519 * sysdeps/powerpc/sysdep.h: Likewise.
15520 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15521 * sysdeps/s390/s390-64/sub_n.S: Likewise.
15522 * sysdeps/sh/dl-trampoline.S: Likewise.
15523 * sysdeps/sh/memset.S: Likewise.
15524 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
15525 * sysdeps/sh/strlen.S: Likewise.
15526 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
15527 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
15528 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
15529 * sysdeps/sparc/sparc32/rem.S: Likewise.
15530 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15531 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
15532 * sysdeps/sparc/sparc32/strchr.S: Likewise.
15533 * sysdeps/sparc/sparc32/udiv.S: Likewise.
15534 * sysdeps/sparc/sparc32/urem.S: Likewise.
15535 * sysdeps/sparc/sparc64/add_n.S: Likewise.
15536 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15537 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
15538 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
15539 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
15540 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
15541 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15542 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
15543 * sysdeps/unix/bsd/times.c: Likewise.
15544 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
15545 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
15546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15549 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
15550 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15551 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
15552 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
15553 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
15554 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
15555 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15556 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
15557 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15558 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15559 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15560 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15561 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
15562 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
15563 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
15564 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
15565 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
15566 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15567 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
15568 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
15569 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15570 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
15571 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15572 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
15573 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
15574 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
15575 * sysdeps/x86_64/strcspn.S: Likewise.
15576
869378a5
RA
155772013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15578
15579 * locale/C-translit.h: Revert #include <stdint.h> because this is a
15580 generated file. Regenerate properly from gen-translit.pl.
15581 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
15582 locale/C-translit.h.
15583
840e2943
AS
155842013-06-05 Andreas Schwab <schwab@suse.de>
15585
15586 [BZ #15100]
15587 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
15588 week as 6 instead of -1.
15589 * time/tst-strptime.c (day_tests): Add test case.
15590
4c60cb0c
SP
155912013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15592
15593 * sysdeps/generic/math_private.h
15594 (libc_feholdexcept_setround_53bit): Replace with
15595 libc_feholdsetround_53bit.
15596 (libc_feupdateenv_53bit): Replace with
15597 libc_feresetround_53bit.
15598 (SET_RESTORE_ROUND_53BIT): Adjust.
15599
d180203e
SP
156002013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15601
96df079a
SP
15602 * string/test-strchrnul.c: Add copyright header.
15603
d180203e
SP
15604 * posix/tst-getaddrinfo4.c: Increase test timeout.
15605
8b0ccb2d
CD
156062013-06-03 Carlos O'Donell <carlos@redhat.com>
15607
15608 [BZ #15536]
15609 * math/libm-test.inc (MAX_EXP): Remove
15610 (MIN_EXP): Define.
15611 (ulp): Use MIN_EXP - MANT_DIG.
15612 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
15613
3b3c4d40
CD
156142013-05-31 Carlos O'Donell <carlos@redhat.com>
15615
15616 * po/be.po: Revert last change.
15617 * po/zh_CN.po: Likewise.
15618 * po/header.pot: Likewise.
15619
fab7ce3f
JM
156202013-05-31 Joseph Myers <joseph@codesourcery.com>
15621
15622 * Makefile ($(common-objpfx)linkobj/libc.so): Define
15623 link-libc-deps to empty as target-specific variable.
15624 * Makerules (link-libc-args): New variable.
15625 (libc-for-link): Likewise.
15626 (link-libc-deps): Likewise.
15627 (lib%.so): Depend on $(link-libc-deps). Link with
15628 $(link-libc-args).
15629 (build-module): Link with $(link-libc-args).
15630 (build-module-asneeded): Likewise.
15631 (build-module-helper-objlist): Filter out $(link-libc-deps) from
15632 list of objects.
15633 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
15634 target-specific variable.
15635 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
15636 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
15637 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
15638 libc.
15639 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
15640 libc and ld.so.
15641 ($(objpfx)libpcprofile.so): Likewise.
15642 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
15643 libc_nonshared.a.
15644 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
15645 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
15646 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
15647 $(link-libc-deps).
15648 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
15649 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
15650 * login/Makefile ($(objpfx)libutil.so): Likewise.
15651 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
15652 * math/Makefile ($(objpfx)libm.so): Likewise.
15653 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
15654 $(objpfx)libnsl.so): Define libc-for-link as target-specific
15655 variable instead of depending directly on libc.
15656 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
15657 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
15658 $(link-libc-deps).
15659 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
15660 libc.
15661 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
15662 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
15663 ($(objpfx)libanl.so): Likewise.
15664 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
15665 ld.so.
15666 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
15667 $(link-libc-deps).
15668 * sysdeps/i386/fpu/Makefile: Remove file.
15669 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
15670 ($(objpfx)libm.so): Remove dependency on ld.so.
15671
eca5920c
PF
156722013-05-30 Patsy Franklin <pfrankli@redhat.com>
15673
15674 [BZ # 15553]
15675 * nis/yp_xdr.c (XDRMAXNAME): Define.
15676 (XDRMAXRECORD): Define.
15677 (xdr_domainname): Use XDRMAXNAME.
15678 (xdr_mapname): Likewise.
15679 (xdr_peername): Likewise.
15680 (xdr_keydat): Use XDRMAXRECORD.
15681 (xdr_valdat): Likewise.
15682
156832013-05-30 Jeff Law <law@redhat.com>
96945714
JL
15684
15685 [BZ #14256]
15686 * manual/errno.texi (ESTALE): Update to account for more than
15687 just NFS file systems.
15688 * sysdeps/gnu/errlist.c: Regenerated.
15689
b9375348
SP
156902013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15691
15692 [BZ #15465]
15693 * elf/Makefile (tests): Add tst-null-argv.
15694 (modules-names): Add tst-null-argv-lib.
15695 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
15696 (tst-null-argv-ENV): Set environment for tst-null-argv.
15697 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
15698 (RTLD_PROGNAME): New macro.
15699 * elf/tst-null-argv.c: New test case.
15700 * elf/tst-null-argv-lib.c: Library for test case.
15701 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
15702 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
15703 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
15704 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
15705 * elf/dl-init.c (call_init): Likewise.
15706 (_dl_init): Likewise.
15707 * elf/dl-load.c (print_search_path): Likewise.
15708 (_dl_map_object): Likewise.
15709 * elf/dl-lookup.c (do_lookup_x): Likewise.
15710 (add_dependency): Likewise.
15711 (_dl_lookup_symbol_x): Likewise.
15712 (_dl_debug_bindings): Likewise.
15713 * elf/dl-open.c (_dl_show_scope): Likewise.
15714 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15715 * elf/dl-version.c (match_symbol): Likewise.
15716 (_dl_check_map_versions): Likewise.
15717 * elf/rtld.c (dl_main): Likewise.
15718 (print_unresolved): Use RTLD_PROGNAME.
15719 (print_missing_version): Likewise.
15720 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15721 (elf_machine_rela): Likewise.
15722 * sysdeps/powerpc/powerpc32/dl-machine.c
15723 (__process_machine_rela): Likewise.
15724 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15725 Likewise.
15726 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15727 Likewise.
15728 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15729 Likewise.
15730 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15731 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15732 Likewise.
15733 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15734 Likewise.
15735 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15736
8a9f20c8
CD
157372013-05-28 Carlos O'Donell <carlos@redhat.com>
15738
15739 * po/be.po: Add descriptive title.
15740 * po/zh_CN.po: Likewise.
15741 * po/header.pot: Likewise.
15742
0e60d68e
MF
157432013-05-28 Mike Frysinger <vapier@gentoo.org>
15744
15745 * locale/programs/locarchive.c (create_archive): Inlucde fname in
15746 error message.
15747 (enlarge_archive): Likewise.
15748
56b672e9
BN
157492013-05-28 Ben North <ben@redfrontdoor.org>
15750
15751 * manual/arith.texi (frexp): It is the magnitude of the return
15752 value which lies in [0.5, 1), not the return value itself.
15753
5e056687
AZ
157542013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15755
15756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15757
2b66ef5d
TS
157582013-05-26 Thomas Schwinge <thomas@codesourcery.com>
15759
528c2405
TS
15760 * stdio-common/bug26.c (main): Correct fscanf template.
15761
07b4c13d
TS
15762 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
15763 declare _dl_skip_args.
15764
ec9dd97c
TS
15765 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
15766 Don't declare.
15767
2b66ef5d
TS
15768 * manual/platform.texi: Add missing @end deftypefun.
15769
4f8dfe27
JM
157702013-05-24 Joseph Myers <joseph@codesourcery.com>
15771
0323d086
JM
15772 [BZ #15529]
15773 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
15774 bit of mantissa of 2^16382.
15775 * math/libm-test.inc (hypot_test_data): Add more tests.
15776
dd4259b9
JM
15777 * math/libm-test.inc: Add drem and pow10 to list of tested
15778 functions.
15779 (pow10_test): New function.
15780 (drem_test): Likewise.
15781 (drem_test_tonearest): Likewise.
15782 (drem_test_towardzero): Likewise.
15783 (drem_test_downward): Likewise.
15784 (drem_test_upward): Likewise.
15785 (main): Call the new functions.
15786
4f8dfe27
JM
15787 * math/libm-test.inc (finite_test_data): Remove.
15788 (finite_test): Run tests from isfinite_test_data.
15789 (gamma_test_data): Remove.
15790 (gamma_test): Run tests from lgamma_test_data.
15791 * sysdeps/i386/fpu/libm-test-ulps: Update.
15792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15793
d116b7c4
AZ
157942013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15795
15796 * manual/platform.texi: Add PowerPC PPR function set documentation.
15797 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
15798 implementation.
15799
e96e3767
CD
158002013-05-24 Carlos O'Donell <carlos@redhat.com>
15801
15802 * math/libm-test.inc (MAX_EXP): Define.
15803 (ULPDIFF): Define.
15804 (ulp): New function.
15805 (check_float_internal): Use ULPDIFF.
15806 (cpow_test): Disable failing test.
15807 (check_ulp): Test ulp() implemetnation.
15808 (main): Call check_ulp before starting tests.
15809
b679a606
JM
158102013-05-24 Joseph Myers <joseph@codesourcery.com>
15811
e8bdba36
JM
15812 * math/gen-libm-test.pl (generate_testfile): Do not handle
15813 START_DATA and END_DATA.
15814 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
15815 END_DATA.
15816 (acos_tonearest_test_data): Likewise.
15817 (acos_towardzero_test_data): Likewise.
15818 (acos_downward_test_data): Likewise.
15819 (acos_upward_test_data): Likewise.
15820 (acosh_test_data): Likewise.
15821 (asin_test_data): Likewise.
15822 (asin_tonearest_test_data): Likewise.
15823 (asin_towardzero_test_data): Likewise.
15824 (asin_downward_test_data): Likewise.
15825 (asin_upward_test_data): Likewise.
15826 (asinh_test_data): Likewise.
15827 (atan_test_data): Likewise.
15828 (atanh_test_data): Likewise.
15829 (atan2_test_data): Likewise.
15830 (cabs_test_data): Likewise.
15831 (cacos_test_data): Likewise.
15832 (cacosh_test_data): Likewise.
15833 (carg_test_data): Likewise.
15834 (casin_test_data): Likewise.
15835 (casinh_test_data): Likewise.
15836 (catan_test_data): Likewise.
15837 (catanh_test_data): Likewise.
15838 (cbrt_test_data): Likewise.
15839 (ccos_test_data): Likewise.
15840 (ccosh_test_data): Likewise.
15841 (ceil_test_data): Likewise.
15842 (cexp_test_data): Likewise.
15843 (cimag_test_data): Likewise.
15844 (clog_test_data): Likewise.
15845 (clog10_test_data): Likewise.
15846 (conj_test_data): Likewise.
15847 (copysign_test_data): Likewise.
15848 (cos_test_data): Likewise.
15849 (cos_tonearest_test_data): Likewise.
15850 (cos_towardzero_test_data): Likewise.
15851 (cos_downward_test_data): Likewise.
15852 (cos_upward_test_data): Likewise.
15853 (cosh_test_data): Likewise.
15854 (cosh_tonearest_test_data): Likewise.
15855 (cosh_towardzero_test_data): Likewise.
15856 (cosh_downward_test_data): Likewise.
15857 (cosh_upward_test_data): Likewise.
15858 (cpow_test_data): Likewise.
15859 (cproj_test_data): Likewise.
15860 (creal_test_data): Likewise.
15861 (csin_test_data): Likewise.
15862 (csinh_test_data): Likewise.
15863 (csqrt_test_data): Likewise.
15864 (ctan_test_data): Likewise.
15865 (ctan_tonearest_test_data): Likewise.
15866 (ctan_towardzero_test_data): Likewise.
15867 (ctan_downward_test_data): Likewise.
15868 (ctan_upward_test_data): Likewise.
15869 (ctanh_test_data): Likewise.
15870 (ctanh_tonearest_test_data): Likewise.
15871 (ctanh_towardzero_test_data): Likewise.
15872 (ctanh_downward_test_data): Likewise.
15873 (ctanh_upward_test_data): Likewise.
15874 (erf_test_data): Likewise.
15875 (erfc_test_data): Likewise.
15876 (exp_test_data): Likewise.
15877 (exp_tonearest_test_data): Likewise.
15878 (exp_towardzero_test_data): Likewise.
15879 (exp_downward_test_data): Likewise.
15880 (exp_upward_test_data): Likewise.
15881 (exp10_test_data): Likewise.
15882 (exp2_test_data): Likewise.
15883 (expm1_test_data): Likewise.
15884 (fabs_test_data): Likewise.
15885 (fdim_test_data): Likewise.
15886 (finite_test_data): Likewise.
15887 (floor_test_data): Likewise.
15888 (fma_test_data): Likewise.
15889 (fma_towardzero_test_data): Likewise.
15890 (fma_downward_test_data): Likewise.
15891 (fma_upward_test_data): Likewise.
15892 (fmax_test_data): Likewise.
15893 (fmin_test_data): Likewise.
15894 (fmod_test_data): Likewise.
15895 (fpclassify_test_data): Likewise.
15896 (frexp_test_data): Likewise.
15897 (gamma_test_data): Likewise.
15898 (hypot_test_data): Likewise.
15899 (ilogb_test_data): Likewise.
15900 (isfinite_test_data): Likewise.
15901 (isgreater_test_data): Likewise.
15902 (isgreaterequal_test_data): Likewise.
15903 (isinf_test_data): Likewise.
15904 (isless_test_data): Likewise.
15905 (islessequal_test_data): Likewise.
15906 (islessgreater_test_data): Likewise.
15907 (isnan_test_data): Likewise.
15908 (isnormal_test_data): Likewise.
15909 (issignaling_test_data): Likewise.
15910 (isunordered_test_data): Likewise.
15911 (j0_test_data): Likewise.
15912 (j1_test_data): Likewise.
15913 (jn_test_data): Likewise.
15914 (ldexp_test_data): Likewise.
15915 (lgamma_test_data): Likewise.
15916 (lrint_test_data): Likewise.
15917 (lrint_tonearest_test_data): Likewise.
15918 (lrint_towardzero_test_data): Likewise.
15919 (lrint_downward_test_data): Likewise.
15920 (lrint_upward_test_data): Likewise.
15921 (llrint_test_data): Likewise.
15922 (llrint_tonearest_test_data): Likewise.
15923 (llrint_towardzero_test_data): Likewise.
15924 (llrint_downward_test_data): Likewise.
15925 (llrint_upward_test_data): Likewise.
15926 (log_test_data): Likewise.
15927 (log10_test_data): Likewise.
15928 (log1p_test_data): Likewise.
15929 (log2_test_data): Likewise.
15930 (logb_test_data): Likewise.
15931 (logb_downward_test_data): Likewise.
15932 (lround_test_data): Likewise.
15933 (llround_test_data): Likewise.
15934 (modf_test_data): Likewise.
15935 (nearbyint_test_data): Likewise.
15936 (nextafter_test_data): Likewise.
15937 (nexttoward_test_data): Likewise.
15938 (pow_test_data): Likewise.
15939 (pow_tonearest_test_data): Likewise.
15940 (pow_towardzero_test_data): Likewise.
15941 (pow_downward_test_data): Likewise.
15942 (pow_upward_test_data): Likewise.
15943 (remainder_test_data): Likewise.
15944 (remainder_tonearest_test_data): Likewise.
15945 (remainder_towardzero_test_data): Likewise.
15946 (remainder_downward_test_data): Likewise.
15947 (remainder_upward_test_data): Likewise.
15948 (remquo_test_data): Likewise.
15949 (rint_test_data): Likewise.
15950 (rint_tonearest_test_data): Likewise.
15951 (rint_towardzero_test_data): Likewise.
15952 (rint_downward_test_data): Likewise.
15953 (rint_upward_test_data): Likewise.
15954 (round_test_data): Likewise.
15955 (scalb_test_data): Likewise.
15956 (scalbn_test_data): Likewise.
15957 (scalbln_test_data): Likewise.
15958 (signbit_test_data): Likewise.
15959 (sin_test_data): Likewise.
15960 (sin_tonearest_test_data): Likewise.
15961 (sin_towardzero_test_data): Likewise.
15962 (sin_downward_test_data): Likewise.
15963 (sin_upward_test_data): Likewise.
15964 (sincos_test_data): Likewise.
15965 (sinh_test_data): Likewise.
15966 (sinh_tonearest_test_data): Likewise.
15967 (sinh_towardzero_test_data): Likewise.
15968 (sinh_downward_test_data): Likewise.
15969 (sinh_upward_test_data): Likewise.
15970 (sqrt_test_data): Likewise.
15971 (tan_test_data): Likewise.
15972 (tan_tonearest_test_data): Likewise.
15973 (tan_towardzero_test_data): Likewise.
15974 (tan_downward_test_data): Likewise.
15975 (tan_upward_test_data): Likewise.
15976 (tanh_test_data): Likewise.
15977 (tgamma_test_data): Likewise.
15978 (trunc_test_data): Likewise.
15979 (y0_test_data): Likewise.
15980 (y1_test_data): Likewise.
15981 (yn_test_data): Likewise.
15982 (significand_test_data): Likewise.
15983
b679a606
JM
15984 * math/gen-libm-test.pl (@functions): Remove variable.
15985 (generate_testfile): Don't handle START and END lines.
15986 * math/libm-test.inc (START): New macro.
15987 (END): Likewise.
15988 (END_COMPLEX): Likewise.
15989 (acos_test): Use END macro without arguments.
15990 (acos_test_tonearest): Likewise.
15991 (acos_test_towardzero): Likewise.
15992 (acos_test_downward): Likewise.
15993 (acos_test_upward): Likewise.
15994 (acosh_test): Likewise.
15995 (asin_test): Likewise.
15996 (asin_test_tonearest): Likewise.
15997 (asin_test_towardzero): Likewise.
15998 (asin_test_downward): Likewise.
15999 (asin_test_upward): Likewise.
16000 (asinh_test): Likewise.
16001 (atan_test): Likewise.
16002 (atanh_test): Likewise.
16003 (atan2_test): Likewise.
16004 (cabs_test): Likewise.
16005 (cacos_test): Use END_COMPLEX macro without arguments.
16006 (cacosh_test): Likewise.
16007 (carg_test): Use END macro without arguments.
16008 (casin_test): Use END_COMPLEX macro without arguments.
16009 (casinh_test): Likewise.
16010 (catan_test): Likewise.
16011 (catanh_test): Likewise.
16012 (cbrt_test): Use END macro without arguments.
16013 (ccos_test): Use END_COMPLEX macro without arguments.
16014 (ccosh_test): Likewise.
16015 (ceil_test): Use END macro without arguments.
16016 (cexp_test): Use END_COMPLEX macro without arguments.
16017 (cimag_test): Use END macro without arguments.
16018 (clog_test): Use END_COMPLEX macro without arguments.
16019 (clog10_test): Likewise.
16020 (conj_test): Likewise.
16021 (copysign_test): Use END macro without arguments.
16022 (cos_test): Likewise.
16023 (cos_test_tonearest): Likewise.
16024 (cos_test_towardzero): Likewise.
16025 (cos_test_downward): Likewise.
16026 (cos_test_upward): Likewise.
16027 (cosh_test): Likewise.
16028 (cosh_test_tonearest): Likewise.
16029 (cosh_test_towardzero): Likewise.
16030 (cosh_test_downward): Likewise.
16031 (cosh_test_upward): Likewise.
16032 (cpow_test): Use END_COMPLEX macro without arguments.
16033 (cproj_test): Likewise.
16034 (creal_test): Use END macro without arguments.
16035 (csin_test): Use END_COMPLEX macro without arguments.
16036 (csinh_test): Likewise.
16037 (csqrt_test): Likewise.
16038 (ctan_test): Likewise.
16039 (ctan_test_tonearest): Likewise.
16040 (ctan_test_towardzero): Likewise.
16041 (ctan_test_downward): Likewise.
16042 (ctan_test_upward): Likewise.
16043 (ctanh_test): Likewise.
16044 (ctanh_test_tonearest): Likewise.
16045 (ctanh_test_towardzero): Likewise.
16046 (ctanh_test_downward): Likewise.
16047 (ctanh_test_upward): Likewise.
16048 (erf_test): Use END macro without arguments.
16049 (erfc_test): Likewise.
16050 (exp_test): Likewise.
16051 (exp_test_tonearest): Likewise.
16052 (exp_test_towardzero): Likewise.
16053 (exp_test_downward): Likewise.
16054 (exp_test_upward): Likewise.
16055 (exp10_test): Likewise.
16056 (exp2_test): Likewise.
16057 (expm1_test): Likewise.
16058 (fabs_test): Likewise.
16059 (fdim_test): Likewise.
16060 (finite_test): Likewise.
16061 (floor_test): Likewise.
16062 (fma_test): Likewise.
16063 (fma_test_towardzero): Likewise.
16064 (fma_test_downward): Likewise.
16065 (fma_test_upward): Likewise.
16066 (fmax_test): Likewise.
16067 (fmin_test): Likewise.
16068 (fmod_test): Likewise.
16069 (fpclassify_test): Likewise.
16070 (frexp_test): Likewise.
16071 (gamma_test): Likewise.
16072 (hypot_test): Likewise.
16073 (ilogb_test): Likewise.
16074 (isfinite_test): Likewise.
16075 (isgreater_test): Likewise.
16076 (isgreaterequal_test): Likewise.
16077 (isinf_test): Likewise.
16078 (isless_test): Likewise.
16079 (islessequal_test): Likewise.
16080 (islessgreater_test): Likewise.
16081 (isnan_test): Likewise.
16082 (isnormal_test): Likewise.
16083 (issignaling_test): Likewise.
16084 (isunordered_test): Likewise.
16085 (j0_test): Likewise.
16086 (j1_test): Likewise.
16087 (jn_test): Likewise.
16088 (ldexp_test): Likewise.
16089 (lgamma_test): Likewise.
16090 (lrint_test): Likewise.
16091 (lrint_test_tonearest): Likewise.
16092 (lrint_test_towardzero): Likewise.
16093 (lrint_test_downward): Likewise.
16094 (lrint_test_upward): Likewise.
16095 (llrint_test): Likewise.
16096 (llrint_test_tonearest): Likewise.
16097 (llrint_test_towardzero): Likewise.
16098 (llrint_test_downward): Likewise.
16099 (llrint_test_upward): Likewise.
16100 (log_test): Likewise.
16101 (log10_test): Likewise.
16102 (log1p_test): Likewise.
16103 (log2_test): Likewise.
16104 (logb_test): Likewise.
16105 (logb_test_downward): Likewise.
16106 (lround_test): Likewise.
16107 (llround_test): Likewise.
16108 (modf_test): Likewise.
16109 (nearbyint_test): Likewise.
16110 (nextafter_test): Likewise.
16111 (nexttoward_test): Likewise.
16112 (pow_test): Likewise.
16113 (pow_test_tonearest): Likewise.
16114 (pow_test_towardzero): Likewise.
16115 (pow_test_downward): Likewise.
16116 (pow_test_upward): Likewise.
16117 (remainder_test): Likewise.
16118 (remainder_test_tonearest): Likewise.
16119 (remainder_test_towardzero): Likewise.
16120 (remainder_test_downward): Likewise.
16121 (remainder_test_upward): Likewise.
16122 (remquo_test): Likewise.
16123 (rint_test): Likewise.
16124 (rint_test_tonearest): Likewise.
16125 (rint_test_towardzero): Likewise.
16126 (rint_test_downward): Likewise.
16127 (rint_test_upward): Likewise.
16128 (round_test): Likewise.
16129 (scalb_test): Likewise.
16130 (scalbn_test): Likewise.
16131 (scalbln_test): Likewise.
16132 (signbit_test): Likewise.
16133 (sin_test): Likewise.
16134 (sin_test_tonearest): Likewise.
16135 (sin_test_towardzero): Likewise.
16136 (sin_test_downward): Likewise.
16137 (sin_test_upward): Likewise.
16138 (sincos_test): Likewise.
16139 (sinh_test): Likewise.
16140 (sinh_test_tonearest): Likewise.
16141 (sinh_test_towardzero): Likewise.
16142 (sinh_test_downward): Likewise.
16143 (sinh_test_upward): Likewise.
16144 (sqrt_test): Likewise.
16145 (tan_test): Likewise.
16146 (tan_test_tonearest): Likewise.
16147 (tan_test_towardzero): Likewise.
16148 (tan_test_downward): Likewise.
16149 (tan_test_upward): Likewise.
16150 (tanh_test): Likewise.
16151 (tgamma_test): Likewise.
16152 (trunc_test): Likewise.
16153 (y0_test): Likewise.
16154 (y1_test): Likewise.
16155 (yn_test): Likewise.
16156 (significand_test): Likewise.
16157
bae143d2
OB
161582013-05-24 Ondřej Bílka <neleai@seznam.cz>
16159
16160 [BZ #15381]
16161 * libio/genops.c (_IO_no_init): Initialize wide struct info.
16162
9323d39b
EM
161632013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
16164
d4ea44a0 16165 [BZ #14894]
9323d39b
EM
16166 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16167 __ppc_mdoio and __ppc_mdoom.
16168 * manual/platform.texi: Document new functions __ppc_yield,
16169 __ppc_mdoio and __ppc_mdoom.
16170
13e23af7
CD
161712013-05-22 Carlos O'Donell <carlos@redhat.com>
16172
16173 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16174 (main): Mention "tls" pseudo-hwcap is legacy.
16175 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16176
351fe550
JM
161772013-05-22 Joseph Myers <joseph@codesourcery.com>
16178
16179 * math/gen-libm-test.pl (parse_args): Output only string of
16180 arguments as text for test name, not full call or descriptions of
16181 tests for extra outputs.
16182 (generate_testfile): Do not pass function name to parse_args.
16183 Generate this_func variable from START.
16184 * math/libm-test.inc (struct test_f_f_data): Rename test_name
16185 field to arg_str.
16186 (struct test_ff_f_data): Likewise.
16187 (test_ff_f_data_nexttoward): Likewise.
16188 (struct test_fi_f_data): Likewise.
16189 (struct test_fl_f_data): Likewise.
16190 (struct test_if_f_data): Likewise.
16191 (struct test_fff_f_data): Likewise.
16192 (struct test_c_f_data): Likewise.
16193 (struct test_f_f1_data): Likewise. Remove field extra_name.
16194 (struct test_fF_f1_data): Likewise.
16195 (struct test_ffI_f1_data): Likewise.
16196 (struct test_c_c_data): Rename test_name field to arg_str.
16197 (struct test_cc_c_data): Likewise.
16198 (struct test_f_i_data): Likewise.
16199 (struct test_ff_i_data): Likewise.
16200 (struct test_f_l_data): Likewise.
16201 (struct test_f_L_data): Likewise.
16202 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
16203 and extra2_name.
16204 (COMMON_TEST_SETUP): New macro.
16205 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16206 (COMMON_TEST_CLEANUP): Likewise.
16207 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16208 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
16209 macros.
16210 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16211 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
16212 macros.
16213 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16214 (RUN_TEST_fff_f): Take argument string. Call new setup and
16215 cleanup macros.
16216 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16217 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
16218 macros.
16219 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16220 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
16221 macros.
16222 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16223 (RUN_TEST_fF_f1): Take argument string. Call new setup and
16224 cleanup macros.
16225 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16226 (RUN_TEST_fI_f1): Take argument string. Call new setup and
16227 cleanup macros.
16228 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16229 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
16230 cleanup macros.
16231 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16232 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
16233 macros.
16234 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16235 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
16236 macros.
16237 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16238 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
16239 macros.
16240 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16241 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
16242 cleanup macros.
16243 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16244 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
16245 cleanup macros.
16246 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16247 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
16248 macros.
16249 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16250 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
16251 cleanup macros.
16252 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16253 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
16254 macros.
16255 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16256 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
16257 macros.
16258 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16259 (RUN_TEST_fFF_11): Take argument string. Call new setup and
16260 cleanup macros.
16261 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16262
85118d4d
EBM
162632013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16264
16265 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16266 to _sifields.sigfault.
16267 (si_addr_lsb): Define new macro.
16268 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16269 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16270 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16271
7a44c18f
CD
162722013-05-03 Carlos O'Donell <carlos at redhat.com>
16273
16274 [BZ #15441]
16275 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16276 returns -1.
16277 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16278 null return -1.
16279 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16280 loading the domain.
16281
b50a7181
JM
162822013-05-22 Joseph Myers <joseph@codesourcery.com>
16283
16284 * math/gen-libm-test.pl (parse_args): Do not include expected
16285 result in test name.
16286 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16287 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16288 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16289 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16290 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16292
051063c8
SP
162932013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16294
3ce9e010
SP
16295 * benchtests/Makefile: Sort function entries.
16296
051063c8
SP
16297 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16298 tanh, asinh, acosh, atanh.
16299 * benchtests/acos-inputs: New file.
16300 * benchtests/acosh-inputs: New file.
16301 * benchtests/asin-inputs: New file.
16302 * benchtests/asinh-inputs: New file.
16303 * benchtests/atanh-inputs: New file.
16304 * benchtests/cosh-inputs: New file.
16305 * benchtests/log-inputs: New file.
16306 * benchtests/sinh-inputs: New file.
16307 * benchtests/tanh-inputs: New file.
16308
47c22455
DL
163092013-05-21 Dmitry V. Levin <ldv@altlinux.org>
16310
16311 [BZ #15339]
16312 * posix/tst-getaddrinfo4.c: New test.
16313 * posix/Makefile (tests): Add it.
16314
3d04f5db
SP
163152013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16316
16317 [BZ #15339]
16318 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16319 when no services were used.
16320 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16321 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16322
d5dd6189
AS
163232013-05-21 Andreas Schwab <schwab@suse.de>
16324
16325 [BZ #15014]
16326 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16327 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16328 successful.
16329 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16330 redundant variable declarations and reallocation of buffer when
16331 parsing as IPv6 address. Always set NSS status when called from
16332 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
16333 buffer too small. Correct computation of needed size.
16334 * nss/Makefile (tests): Add test-digits-dots.
16335 * nss/test-digits-dots.c: New test.
16336
fef94eab
SP
163372013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16338
16339 * benchtests/Makefile: Remove instructions for adding
16340 benchmark tests.
16341 * benchtests/README: New file to explain how to execute and
16342 enhance the benchmark tests.
16343
e39adf43
AS
163442013-05-21 Andreas Schwab <schwab@suse.de>
16345
16346 [BZ #15493]
16347 * setjmp/Makefile (tests): Add tst-sigsetjmp.
16348 * setjmp/tst-sigsetjmp.c: New test.
16349
b2b671b6
OB
163502013-05-20 Ondřej Bílka <neleai@seznam.cz>
16351
16352 * sysdeps/x86_64/memset.S (memset): New implementation.
16353 (__bzero): Likewise.
16354 (__memset_tail): New function.
16355
2d48b41c
OB
163562013-05-20 Ondřej Bílka <neleai@seznam.cz>
16357
16358 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16359 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16360 __memcpy_sse2_unaligned ifunc selection.
16361 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16362 Add memcpy-sse2-unaligned.S.
16363 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16364 Add: __memcpy_sse2_unaligned.
16365
f16cc3eb
JM
163662013-05-19 Joseph Myers <joseph@codesourcery.com>
16367
3e694268
JM
16368 [BZ #15490]
16369 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16370 math_force_eval before restoring floating-point envrionment.
16371 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16372 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16373 Likewise.
16374 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16375 <math_private.h>.
16376 (__nearbyintl): Use math_force_eval before restoring
16377 floating-point environment.
16378 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16379
db62a907
JM
16380 * math/gen-libm-test.pl (special_functions): Remove.
16381 (parse_args): Don't handle TEST_extra. Handle functions with no
16382 return value.
16383 * math/libm-test.inc (struct test_sincos_data): Replace with
16384 struct test_fFF_11_data.
16385 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16386 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16387 (sincos_test_data): Change element type to struct
16388 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
16389 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16390 RUN_TEST_LOOP_sincos.
16391 * math/README.libm-test: Don't mention special handling of
16392 individual functions.
16393 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16394 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16395 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16396 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16397 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16399
f16cc3eb
JM
16400 * math/gen-libm-test.pl (get_variable): Remove function.
16401 (parse_args): Don't show pointer parameters to call in test
16402 names. Use "extra output N" in test names for extra outputs
16403 rather than naming variables.
16404
3779b5b6
JM
164052013-05-18 Joseph Myers <joseph@codesourcery.com>
16406
2ee094ff
JM
16407 [BZ #15488]
16408 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16409 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16410 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16411 double tests.
16412 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16413 disable.
16414 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16415 check_long_double.
16416
3779b5b6
JM
16417 * math/gen-libm-test.pl (@tests): Remove variable.
16418 ($count): Likewise.
16419 (new_test): Remove function.
16420 (show_exceptions): New function.
16421 (special_functions): Use show_exceptions instead of new_test.
16422 (parse_args): Likewise.
16423 (generate_testfile): Pass only function name in generated call to
16424 print_max_error or print_complex_max_error.
16425 (get_ulps): Do not handle complex tests specially.
16426 (output_test): Rename to ...
16427 (get_all_ulps_for_test): ... this. Return a string rather than
16428 printing to a file. Require ulps to be present.
16429 (output_ulps): Generate arrays rather than #defines.
16430 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16431 (struct ulp_data): New type.
16432 (BUILD_COMPLEX_ULP): Remove macro.
16433 (compare_ulp_data): New function.
16434 (find_ulps): Likewise.
16435 (find_test_ulps): Likewise.
16436 (find_function_ulps): Likewise.
16437 (find_complex_function_ulps): Likewise.
16438 (print_max_error): Determine allowed ulps using
16439 find_function_ulps.
16440 (print_complex_max_error): Determine allowed ulps using
16441 find_complex_function_ulps.
16442 (check_float_internal): Determine max ulps using find_test_ulps.
16443 (check_float): Do not take max_ulp parameter. Update call to
16444 check_float_internal.
16445 (check_complex): Likewise.
16446 (check_int): Do not take max_ulp parameter.
16447 (check_long): Likewise.
16448 (check_bool): Likewise.
16449 (check_longlong): Likewise.
16450 (struct test_f_f_data): Remove max_ulp field.
16451 (struct test_ff_f_data): Likewise.
16452 (struct test_ff_f_data_nexttoward): Likewise.
16453 (struct test_fi_f_data): Likewise.
16454 (struct test_fl_f_data): Likewise.
16455 (struct test_if_f_data): Likewise.
16456 (struct test_fff_f_data): Likewise.
16457 (struct test_c_f_data): Likewise.
16458 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16459 (struct test_fF_f1_data): Likewise.
16460 (struct test_ffI_f1_data): Likewise.
16461 (struct test_c_c_data): Remove max_ulp field.
16462 (struct test_cc_c_data): Likewise.
16463 (struct test_f_i_data): Likewise.
16464 (struct test_ff_i_data): Likewise.
16465 (struct test_f_l_data): Likewise.
16466 (struct test_f_L_data): Likewise.
16467 (struct test_sincos_data): Likewise.
16468 (RUN_TEST_f_f): Do not handle ulps.
16469 (RUN_TEST_LOOP_f_f): Likewise.
16470 (RUN_TEST_2_f): Likewise.
16471 (RUN_TEST_LOOP_2_f): Likewise.
16472 (RUN_TEST_fff_f): Likewise.
16473 (RUN_TEST_LOOP_fff_f): Likewise.
16474 (RUN_TEST_c_f): Likewise.
16475 (RUN_TEST_LOOP_c_f): Likewise.
16476 (RUN_TEST_f_f1): Likewise.
16477 (RUN_TEST_LOOP_f_f1): Likewise.
16478 (RUN_TEST_fF_f1): Likewise.
16479 (RUN_TEST_LOOP_fF_f1): Likewise.
16480 (RUN_TEST_fI_f1): Likewise.
16481 (RUN_TEST_LOOP_fI_f1): Likewise.
16482 (RUN_TEST_ffI_f1): Likewise.
16483 (RUN_TEST_LOOP_ffI_f1): Likewise.
16484 (RUN_TEST_c_c): Likewise.
16485 (RUN_TEST_LOOP_c_c): Likewise.
16486 (RUN_TEST_cc_c): Likewise.
16487 (RUN_TEST_LOOP_cc_c): Likewise.
16488 (RUN_TEST_f_i): Likewise.
16489 (RUN_TEST_LOOP_f_i): Likewise.
16490 (RUN_TEST_f_i_tg): Likewise.
16491 (RUN_TEST_LOOP_f_i_tg): Likewise.
16492 (RUN_TEST_ff_i_tg): Likewise.
16493 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16494 (RUN_TEST_f_b): Likewise.
16495 (RUN_TEST_LOOP_f_b): Likewise.
16496 (RUN_TEST_f_b_tg): Likewise.
16497 (RUN_TEST_LOOP_f_b_tg): Likewise.
16498 (RUN_TEST_f_l): Likewise.
16499 (RUN_TEST_LOOP_f_l): Likewise.
16500 (RUN_TEST_f_L): Likewise.
16501 (RUN_TEST_LOOP_f_L): Likewise.
16502 (RUN_TEST_sincos): Likewise.
16503 (RUN_TEST_LOOP_sincos): Likewise.
16504
8269107f
JM
165052013-05-17 Joseph Myers <joseph@codesourcery.com>
16506
bb38759d
JM
16507 [BZ #15480]
16508 [BZ #15485]
16509 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
16510 main case of finite arguments, set rounding mode to FE_TONEAREST
16511 and discard exceptions.
16512 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
16513 exceptions.
16514 (remainder_tonearest_test_data): New variable.
16515 (remainder_test_tonearest): New function.
16516 (remainder_towardzero_test_data): New variable.
16517 (remainder_test_towardzero): New function.
16518 (remainder_downward_test_data): New variable.
16519 (remainder_test_downward): New function.
16520 (remainder_upward_test_data): New variable.
16521 (remainder_test_upward): New function.
16522 (main): Call the new test functions.
16523
a00bdcf0
JM
16524 * math/libm-test.inc (struct test_f_f1_data): Remove field
16525 extra_init.
16526 (struct test_fF_f1_data): Likewise.
16527 (struct test_ffI_f1_data): Likewise.
16528 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
16529 based on value of EXTRA_EXPECTED.
16530 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16531 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
16532 EXTRA_VAR based on value of EXTRA_EXPECTED.
16533 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16534 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
16535 EXTRA_VAR based on value of EXTRA_EXPECTED.
16536 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16537 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
16538 EXTRA_VAR based on value of EXTRA_EXPECTED.
16539 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16540 * math/gen-libm-test.pl (parse_args): Don't output initializers
16541 for extra output values.
16542
de407f79
JM
16543 * math/libm-test.inc (check_int): Expect result to be exactly
16544 equal to expected value and do not handle ulps.
16545 (check_long): Likewise.
16546 (check_longlong): Likewise.
16547
8269107f
JM
16548 * math/libm-test.inc (ceil_test_data): Test for "inexact"
16549 exceptions.
16550 (cimag_test_data): Likewise.
16551 (conj_test_data): Likewise.
16552 (copysign_test_data): Likewise.
16553 (cproj_test_data): Likewise.
16554 (creal_test_data): Likewise.
16555 (fabs_test_data): Likewise.
16556 (fdim_test_data): Likewise.
16557 (finite_test_data): Likewise.
16558 (floor_test_data): Likewise.
16559 (fmax_test_data): Likewise.
16560 (fmin_test_data): Likewise.
16561 (fmod_test_data): Likewise.
16562 (fpclassify_test_data): Likewise.
16563 (frexp_test_data): Likewise.
16564 (ilogb_test_data): Likewise.
16565 (isfinite_test_data): Likewise.
16566 (isgreater_test_data): Likewise.
16567 (isgreaterequal_test_data): Likewise.
16568 (isinf_test_data): Likewise.
16569 (isless_test_data): Likewise.
16570 (islessequal_test_data): Likewise.
16571 (islessgreater_test_data): Likewise.
16572 (isnan_test_data): Likewise.
16573 (isnormal_test_data): Likewise.
16574 (issignaling_test_data): Likewise.
16575 (isunordered_test_data): Likewise.
16576 (ldexp_test_data): Likewise.
16577 (lrint_test_data): Likewise.
16578 (lrint_test_data) [TEST_FLOAT]: Disable one test.
16579 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
16580 (lrint_tonearest_test_data): Test for "inexact" exceptions.
16581 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16582 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
16583 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16584 test input.
16585 (lrint_towardzero_test_data): Test for "inexact" exceptions.
16586 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16587 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
16588 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
16589 that test input.
16590 (lrint_downward_test_data): Test for "inexact" exceptions.
16591 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16592 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
16593 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16594 test input.
16595 (lrint_upward_test_data): Test for "inexact" exceptions.
16596 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
16597 test input.
16598 (llrint_test_data): Test for "inexact" exceptions.
16599 (llrint_test_data) [TEST_FLOAT]: Disable one test.
16600 (llrint_tonearest_test_data): Test for "inexact" exceptions.
16601 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16602 (llrint_towardzero_test_data): Test for "inexact" exceptions.
16603 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16604 (llrint_downward_test_data): Test for "inexact" exceptions.
16605 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16606 (llrint_upward_test_data): Test for "inexact" exceptions.
16607 (logb_test_data): Likewise.
16608 (logb_downward_test_data): Likewise.
16609 (nextafter_test_data): Likewise.
16610 (nexttoward_test_data): Likewise.
16611 (remainder_test_data): Likewise.
16612 (remquo_test_data): Likewise.
16613 (scalbn_test_data): Likewise.
16614 (scalbln_test_data): Likewise.
16615 (signbit_test_data): Likewise.
16616 (sqrt_test_data): Likewise.
16617 (significand_test_data): Likewise.
16618
48a18de1
SP
166192013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16620
16621 [BZ #15424]
16622 * benchtests/bench-modf.c (struct args): Mark arg0 as
16623 volatile.
16624 * scripts/bench.pl: Mark members of struct args as volatile.
16625
13d3b41a
AZ
166262013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16627
68191c1d 16628 [BZ # 15497]
13d3b41a
AZ
16629 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
16630 negative infinity on POWER6 or lower.
16631 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
16632
2848b105
MR
166332013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
16634
16635 [BZ #15442]
16636 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
16637 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
16638 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
16639 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
16640 (_FP_SETQNAN): New macro.
16641 (_FP_SETQNAN_SEMIRAW): Likewise.
16642 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
16643 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
16644 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
16645 (FP_EXTEND): Use _FP_FRAC_SNANP.
16646 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
16647 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
16648 into account.
16649 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16650 New macro.
16651 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16652 Likewise.
16653
323e5cb7
JM
166542013-05-16 Joseph Myers <joseph@codesourcery.com>
16655
c58b274f
JM
16656 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
16657 with DIVIDE_BY_ZERO_EXCEPTION.
16658 (gamma_test_data): Likewise.
16659 (lgamma_test_data): Likewise.
16660 (log_test_data): Likewise.
16661 (log10_test_data): Likewise.
16662 (log2_test_data): Likewise.
16663 (tgamma_test_data): Likewise.
16664
0ab34904
JM
16665 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
16666 (acos_test_tonearest): Likewise.
16667 (acos_test_towardzero): Likewise.
16668 (acos_test_downward): Likewise.
16669 (acos_test_upward): Likewise.
16670 (acosh_test): Likewise.
16671 (asin_test): Likewise.
16672 (asin_test_tonearest): Likewise.
16673 (asin_test_towardzero): Likewise.
16674 (asin_test_downward): Likewise.
16675 (asin_test_upward): Likewise.
16676 (asinh_test): Likewise.
16677 (atan_test): Likewise.
16678 (atanh_test): Likewise.
16679 (atan2_test): Likewise.
16680 (cabs_test): Likewise.
16681 (cacos_test): Likewise.
16682 (cacosh_test): Likewise.
16683 (casin_test): Likewise.
16684 (casinh_test): Likewise.
16685 (catan_test): Likewise.
16686 (catanh_test): Likewise.
16687 (cbrt_test): Likewise.
16688 (ccos_test): Likewise.
16689 (ccosh_test): Likewise.
16690 (cexp_test): Likewise.
16691 (clog_test): Likewise.
16692 (clog10_test): Likewise.
16693 (cos_test): Likewise.
16694 (cos_test_tonearest): Likewise.
16695 (cos_test_towardzero): Likewise.
16696 (cos_test_downward): Likewise.
16697 (cos_test_upward): Likewise.
16698 (cosh_test): Likewise.
16699 (cosh_test_tonearest): Likewise.
16700 (cosh_test_towardzero): Likewise.
16701 (cosh_test_downward): Likewise.
16702 (cosh_test_upward): Likewise.
16703 (cpow_test): Likewise.
16704 (csin_test): Likewise.
16705 (csinh_test): Likewise.
16706 (csqrt_test): Likewise.
16707 (ctan_test): Likewise.
16708 (ctan_test_tonearest): Likewise.
16709 (ctan_test_towardzero): Likewise.
16710 (ctan_test_downward): Likewise.
16711 (ctan_test_upward): Likewise.
16712 (ctanh_test): Likewise.
16713 (ctanh_test_tonearest): Likewise.
16714 (ctanh_test_towardzero): Likewise.
16715 (ctanh_test_downward): Likewise.
16716 (ctanh_test_upward): Likewise.
16717 (erf_test): Likewise.
16718 (erfc_test): Likewise.
16719 (exp_test): Likewise.
16720 (exp_test_tonearest): Likewise.
16721 (exp_test_towardzero): Likewise.
16722 (exp_test_downward): Likewise.
16723 (exp_test_upward): Likewise.
16724 (exp10_test): Likewise.
16725 (exp2_test): Likewise.
16726 (expm1_test): Likewise.
16727 (fmod_test): Likewise.
16728 (gamma_test): Likewise.
16729 (hypot_test): Likewise.
16730 (j0_test): Likewise.
16731 (j1_test): Likewise.
16732 (jn_test): Likewise.
16733 (lgamma_test): Likewise.
16734 (log_test): Likewise.
16735 (log10_test): Likewise.
16736 (log1p_test): Likewise.
16737 (log2_test): Likewise.
16738 (logb_test_downward): Likewise.
16739 (pow_test): Likewise.
16740 (pow_test_tonearest): Likewise.
16741 (pow_test_towardzero): Likewise.
16742 (pow_test_downward): Likewise.
16743 (pow_test_upward): Likewise.
16744 (remainder_test): Likewise.
16745 (remquo_test): Likewise.
16746 (sin_test): Likewise.
16747 (sin_test_tonearest): Likewise.
16748 (sin_test_towardzero): Likewise.
16749 (sin_test_downward): Likewise.
16750 (sin_test_upward): Likewise.
16751 (sincos_test): Likewise.
16752 (sinh_test): Likewise.
16753 (sinh_test_tonearest): Likewise.
16754 (sinh_test_towardzero): Likewise.
16755 (sinh_test_downward): Likewise.
16756 (sinh_test_upward): Likewise.
16757 (sqrt_test): Likewise.
16758 (tan_test): Likewise.
16759 (tan_test_tonearest): Likewise.
16760 (tan_test_towardzero): Likewise.
16761 (tan_test_downward): Likewise.
16762 (tan_test_upward): Likewise.
16763 (tanh_test): Likewise.
16764 (tgamma_test): Likewise.
16765 (y0_test): Likewise.
16766 (y1_test): Likewise.
16767 (yn_test): Likewise.
16768
323e5cb7
JM
16769 * math/gen-libm-test.pl (adjust_arg): Remove function.
16770 (special_function): Remove argument $in_func. Only handle
16771 generating output for tables of tests, not inside functions.
16772 (parse_args): Likewise.
16773 (generate_testfile): Remove variable $in_func. Update call to
16774 parse_args.
16775 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
16776 (MINUS_ZERO_INIT): Rename macro to minus_zero.
16777 (PLUS_INFTY_INIT): Rename macro to plus_infty.
16778 (MINUS_INFTY_INIT): Rename macro to minus_infty.
16779 (QNAN_VALUE_INIT): Rename macro to qnan_value.
16780 (MAX_VALUE_INIT): Rename macro to max_value.
16781 (MIN_VALUE_INIT): Rename macro to min_value.
16782 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
16783 (plus_zero): Remove variable.
16784 (minus_zero): Likewise.
16785 (plus_infty): Likewise.
16786 (minus_infty): Likewise.
16787 (qnan_value): Likewise.
16788 (max_value): Likewise.
16789 (min_value): Likewise.
16790 (min_subnorm_value): Likewise.
16791
e054f494
RA
167922013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16793
16794 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
16795 uint64_t or uint32_t usage.
16796 * crypt/sha256-block.c: Likewise.
16797 * crypt/sha256-crypt.c: Likewise.
16798 * crypt/sha256.c: Likewise.
16799 * crypt/sha512-block.c: Likewise.
16800 * crypt/sha512-crypt.c: Likewise.
16801 * crypt/sha512.c: Likewise.
16802 * debug/backtrace-tst.c: Likewise.
16803 * debug/pcprofiledump.c: Likewise.
16804 * elf/cache.c: Likewise.
16805 * elf/dl-cache.c: Likewise.
16806 * elf/dl-misc.c: Likewise.
16807 * elf/dl-profile.c: Likewise.
16808 * elf/dl-support.c: Likewise.
16809 * elf/ldconfig.c: Likewise.
16810 * elf/sprof.c: Likewise.
16811 * iconv/dummy-repertoire.c: Likewise.
16812 * iconv/iconv_charmap.c: Likewise.
16813 * iconv/skeleton.c: Likewise.
16814 * iconvdata/8bit-generic.c: Likewise.
16815 * iconvdata/cp737.h: Likewise.
16816 * iconvdata/cp775.h: Likewise.
16817 * iconvdata/ibm1008.h: Likewise.
16818 * iconvdata/ibm1025.h: Likewise.
16819 * iconvdata/ibm1046.h: Likewise.
16820 * iconvdata/ibm1097.h: Likewise.
16821 * iconvdata/ibm1112.h: Likewise.
16822 * iconvdata/ibm1122.h: Likewise.
16823 * iconvdata/ibm1123.h: Likewise.
16824 * iconvdata/ibm1124.h: Likewise.
16825 * iconvdata/ibm1129.h: Likewise.
16826 * iconvdata/ibm1130.h: Likewise.
16827 * iconvdata/ibm1132.h: Likewise.
16828 * iconvdata/ibm1133.h: Likewise.
16829 * iconvdata/ibm1137.h: Likewise.
16830 * iconvdata/ibm1140.h: Likewise.
16831 * iconvdata/ibm1141.h: Likewise.
16832 * iconvdata/ibm1142.h: Likewise.
16833 * iconvdata/ibm1143.h: Likewise.
16834 * iconvdata/ibm1144.h: Likewise.
16835 * iconvdata/ibm1145.h: Likewise.
16836 * iconvdata/ibm1146.h: Likewise.
16837 * iconvdata/ibm1147.h: Likewise.
16838 * iconvdata/ibm1148.h: Likewise.
16839 * iconvdata/ibm1149.h: Likewise.
16840 * iconvdata/ibm1153.h: Likewise.
16841 * iconvdata/ibm1154.h: Likewise.
16842 * iconvdata/ibm1155.h: Likewise.
16843 * iconvdata/ibm1156.h: Likewise.
16844 * iconvdata/ibm1157.h: Likewise.
16845 * iconvdata/ibm1158.h: Likewise.
16846 * iconvdata/ibm1160.h: Likewise.
16847 * iconvdata/ibm1161.h: Likewise.
16848 * iconvdata/ibm1162.h: Likewise.
16849 * iconvdata/ibm1163.h: Likewise.
16850 * iconvdata/ibm1164.h: Likewise.
16851 * iconvdata/ibm1166.h: Likewise.
16852 * iconvdata/ibm1167.h: Likewise.
16853 * iconvdata/ibm12712.h: Likewise.
16854 * iconvdata/ibm1390.h: Likewise.
16855 * iconvdata/ibm1399.h: Likewise.
16856 * iconvdata/ibm16804.h: Likewise.
16857 * iconvdata/ibm4517.h: Likewise.
16858 * iconvdata/ibm4899.h: Likewise.
16859 * iconvdata/ibm4909.h: Likewise.
16860 * iconvdata/ibm4971.h: Likewise.
16861 * iconvdata/ibm5347.h: Likewise.
16862 * iconvdata/ibm803.h: Likewise.
16863 * iconvdata/ibm856.h: Likewise.
16864 * iconvdata/ibm901.h: Likewise.
16865 * iconvdata/ibm902.h: Likewise.
16866 * iconvdata/ibm9030.h: Likewise.
16867 * iconvdata/ibm9066.h: Likewise.
16868 * iconvdata/ibm921.h: Likewise.
16869 * iconvdata/ibm922.h: Likewise.
16870 * iconvdata/ibm9448.h: Likewise.
16871 * iconvdata/isiri-3342.h: Likewise.
16872 * iconvdata/jis0201.h: Likewise.
16873 * include/link.h: Likewise.
16874 * include/netdb.h: Likewise.
16875 * inet/check_native.c: Likewise.
16876 * inet/check_pf.c: Likewise.
16877 * inet/getipv4sourcefilter.c: Likewise.
16878 * inet/getnameinfo.c: Likewise.
16879 * inet/getsourcefilter.c: Likewise.
16880 * inet/htonl.c: Likewise.
16881 * inet/setipv4sourcefilter.c: Likewise.
16882 * inet/setsourcefilter.c: Likewise.
16883 * inet/test-inet6_opt.c: Likewise.
16884 * inet/tst-network.c: Likewise.
16885 * locale/C-collate.c: Likewise.
16886 * locale/C-ctype.c: Likewise.
16887 * locale/C-time.c: Likewise.
16888 * locale/C-translit.h: Likewise.
16889 * locale/loadarchive.c: Likewise.
16890 * locale/programs/3level.h: Likewise.
16891 * locale/programs/charmap.c: Likewise.
16892 * locale/programs/charmap.h: Likewise.
16893 * locale/programs/ld-address.c: Likewise.
16894 * locale/programs/ld-collate.c: Likewise.
16895 * locale/programs/ld-ctype.c: Likewise.
16896 * locale/programs/ld-identification.c: Likewise.
16897 * locale/programs/ld-measurement.c: Likewise.
16898 * locale/programs/ld-messages.c: Likewise.
16899 * locale/programs/ld-monetary.c: Likewise.
16900 * locale/programs/ld-name.c: Likewise.
16901 * locale/programs/ld-numeric.c: Likewise.
16902 * locale/programs/ld-paper.c: Likewise.
16903 * locale/programs/ld-telephone.c: Likewise.
16904 * locale/programs/ld-time.c: Likewise.
16905 * locale/programs/linereader.c: Likewise.
16906 * locale/programs/locale.c: Likewise.
16907 * locale/programs/locarchive.c: Likewise.
16908 * locale/programs/locfile.h: Likewise.
16909 * locale/programs/repertoire.c: Likewise.
16910 * locale/programs/simple-hash.c: Likewise.
16911 * locale/programs/simple-hash.h: Likewise.
16912 * malloc/memusage.c: Likewise.
16913 * malloc/memusagestat.c: Likewise.
16914 * nis/nis_defaults.c: Likewise.
16915 * nis/nis_hash.c: Likewise.
16916 * nis/nis_print.c: Likewise.
16917 * nis/nis_xdr.c: Likewise.
16918 * nscd/connections.c: Likewise.
16919 * nscd/hstcache.c: Likewise.
16920 * nscd/nscd_gethst_r.c: Likewise.
16921 * nscd/nscd_getserv_r.c: Likewise.
16922 * nscd/nscd_helper.c: Likewise.
16923 * nscd/servicescache.c: Likewise.
16924 * nss/makedb.c: Likewise.
16925 * nss/nss_db/db-XXX.c: Likewise.
16926 * nss/nss_db/db-initgroups.c: Likewise.
16927 * nss/nss_db/db-netgrp.c: Likewise.
16928 * nss/nss_files/files-network.c: Likewise.
16929 * nss/nss_files/files-parse.c: Likewise.
16930 * posix/bug-regex5.c: Likewise.
16931 * posix/fnmatch_loop.c: Likewise.
16932 * posix/regcomp.c: Likewise.
16933 * posix/regexec.c: Likewise.
16934 * posix/tst-rfc3484-2.c: Likewise.
16935 * posix/tst-rfc3484-3.c: Likewise.
16936 * posix/tst-rfc3484.c: Likewise.
16937 * resolv/nss_dns/dns-canon.c: Likewise.
16938 * resolv/nss_dns/dns-network.c: Likewise.
16939 * resolv/res_init.c: Likewise.
16940 * resolv/res_mkquery.c: Likewise.
16941 * resolv/tst-aton.c: Likewise.
16942 * stdlib/cxa_atexit.c: Likewise.
16943 * stdlib/cxa_finalize.c: Likewise.
16944 * stdlib/gen-fpioconst.c: Likewise.
16945 * stdlib/strtol_l.c: Likewise.
16946 * string/tst-endian.c: Likewise.
16947 * sunrpc/auth_des.c: Likewise.
16948 * sunrpc/clnt_udp.c: Likewise.
16949 * sunrpc/rtime.c: Likewise.
16950 * sunrpc/svcauth_des.c: Likewise.
16951 * sunrpc/xdr.c: Likewise.
16952 * sunrpc/xdr_intXX_t.c: Likewise.
16953 * sunrpc/xdr_rec.c: Likewise.
16954 * sysdeps/generic/ldconfig.h: Likewise.
16955 * sysdeps/generic/ldsodefs.h: Likewise.
16956 * sysdeps/generic/memusage.h: Likewise.
16957 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16958 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
16959 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
16960 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16961 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16962 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16963 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16964 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16965 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16966 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16967 * sysdeps/posix/getaddrinfo.c: Likewise.
16968 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16969 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16970 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16971 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16972 * sysdeps/powerpc/test-gettimebase.c: Likewise.
16973 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16974 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
16975 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
16976 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16977 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
16978 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16979 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16980 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
16981 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
16982 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
16983 * sysdeps/x86_64/dl-tls.h: Likewise.
16984 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
16985 * time/alt_digit.c: Likewise.
16986 * time/era.c: Likewise.
16987 * wcsmbs/tst-c16c32-1.c: Likewise.
16988
8c75f674
JM
169892013-05-16 Joseph Myers <joseph@codesourcery.com>
16990
16991 * math/libm-test.inc (struct test_sincos_data): New type.
16992 (RUN_TEST_LOOP_sincos): New macro.
16993 (sincos_test_data): New variable.
16994 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
16995
e6e49e59
RH
169962013-05-16 Richard Henderson <rth@redhat.com>
16997
16998 * math/atest-exp2.c (LIMB64): New macro.
16999 (CONSTSZ): New macro.
17000 (mp_exp1, mp_exp_m1, mp_log2): New variables.
17001 (hexdig): Move ...
17002 (print_mpn_fp): ... to function scope.
17003 (read_mpn_hex): Remove.
17004 (get_log2): Remove.
17005 (exp2_mpn): Use mp_log2.
17006 (main): Use mp_exp1.
17007
15c7c18d
JM
170082013-05-16 Joseph Myers <joseph@codesourcery.com>
17009
105a07df
JM
17010 * math/libm-test.inc: Remove comment about not testing "inexact"
17011 exceptions.
17012 (INEXACT_EXCEPTION): New macro.
17013 (NO_INEXACT_EXCEPTION): Likewise.
17014 (INVALID_EXCEPTION_OK): Update value.
17015 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17016 (OVERFLOW_EXCEPTION_OK): Likewise.
17017 (UNDERFLOW_EXCEPTION_OK): Likewise.
17018 (IGNORE_ZERO_INF_SIGN): Likewise.
17019 (ERRNO_UNCHANGED): Likewise.
17020 (ERRNO_EDOM): Likewise.
17021 (ERRNO_ERANGE): Likewise.
17022 (test_exceptions): Handle testing "inexact" exceptions.
17023 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17024 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17025 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17026 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17027 INEXACT_EXCEPTION.
17028 (rint_towardzero_test_data): Likewise.
17029 (rint_downward_test_data): Likewise.
17030 (rint_upward_test_data): Likewise.
17031
e9eee333
JM
17032 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17033 with OVERFLOW_EXCEPTION.
17034 (exp10_test_data): Likewise.
17035 (exp2_test_data): Likewise.
17036 (expm1_test_data): Likewise.
17037 (lgamma_test_data): Likewise.
17038 (pow_test_data): Likewise.
17039 (tgamma_test_data): Likewise.
17040 (yn_test_data): Remove duplicate test of overflow.
17041
1c38ff73
JM
17042 * math/libm-test.inc (struct test_cc_c_data): New type.
17043 (RUN_TEST_LOOP_cc_c): New macro.
17044 (cpow_test_data): New variable.
17045 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17046
15c7c18d
JM
17047 * math/libm-test.inc (struct test_f_L_data): New type.
17048 (RUN_TEST_LOOP_f_L): New macro.
17049 (llrint_test_data): New variable.
17050 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17051 (llrint_tonearest_test_data): New variable.
17052 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17053 (llrint_towardzero_test_data): New variable.
17054 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17055 (llrint_downward_test_data): New variable.
17056 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17057 (llrint_upward_test_data): New variable.
17058 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17059 (llround_test_data): New variable.
17060 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17061
f137ff13
PC
170622013-05-13 Peter Collingbourne <pcc@google.com>
17063
17064 * math/atest-exp2.c (get_log2): Remove const attribute.
17065
3608cb24
JM
170662013-05-15 Joseph Myers <joseph@codesourcery.com>
17067
17068 * math/libm-test.inc (struct test_f_l_data): New type.
17069 (RUN_TEST_LOOP_f_l): New macro.
17070 (lrint_test_data): New variable.
17071 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17072 (lrint_tonearest_test_data): New variable.
17073 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17074 (lrint_towardzero_test_data): New variable.
17075 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17076 (lrint_downward_test_data): New variable.
17077 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17078 (lrint_upward_test_data): New variable.
17079 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17080 (lround_test_data): New variable.
17081 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17082
39b1f617
PC
170832013-05-15 Peter Collingbourne <pcc@google.com>
17084
1deff3dc
PC
17085 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17086 (EXTRACT_WORDS64) Use where appropriate.
17087 (INSERT_WORDS64) Likewise.
17088
791f3ba0
PC
17089 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17090 constraints with x constraints.
17091 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17092
39b1f617
PC
17093 * malloc/obstack.c (_obstack_compat): Add initializer.
17094
12fba011
EM
170952013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
17096
17097 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17098 si_trapno and add si_addr_lsb to _sifields.sigfault.
17099 (si_trapno): Remove macro.
17100 (si_addr_lsb): Define new macro.
17101 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17102
d369f531
JM
171032013-05-15 Joseph Myers <joseph@codesourcery.com>
17104
b861c6c4
JM
17105 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17106 instead of TEST_f_l.
17107 (llrint_test_tonearest): Likewise.
17108 (llrint_test_towardzero): Likewise.
17109 (llrint_test_downward): Likewise.
17110 (llrint_test_upward): Likewise.
17111 (llround_test): Likewise.
17112
7abeee12
JM
17113 * math/libm-test.inc (struct test_f_i_data): Add comment.
17114 (RUN_TEST_LOOP_f_b): New macro.
17115 (RUN_TEST_LOOP_f_b_tg): Likewise.
17116 (finite_test_data): New variable.
17117 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17118 (isfinite_test_data): New variable.
17119 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17120 (isinf_test_data): New variable.
17121 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17122 (isnan_test_data): New variable.
17123 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17124 (isnormal_test_data): New variable.
17125 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17126 (issignaling_test_data): New variable.
17127 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17128 (signbit_test_data): New variable.
17129 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17130
cbe8c4d3
JM
17131 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17132 with INVALID_EXCEPTION.
17133 (acosh_test_data): Likewise.
17134 (asin_test_data): Likewise.
17135 (atanh_test_data): Likewise.
17136 (fmod_test_data): Likewise.
17137 (log_test_data): Likewise.
17138 (log10_test_data): Likewise.
17139 (log2_test_data): Likewise.
17140 (pow_test_data): Likewise.
17141 (sqrt_test_data): Likewise.
17142 (y0_test_data): Likewise.
17143 (y1_test_data): Likewise.
17144 (yn_test_data): Likewise.
17145
5575c0e5
JM
17146 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17147 function contents.
17148
d369f531
JM
17149 * math/libm-test.inc (struct test_ff_i_data): New type.
17150 (RUN_TEST_LOOP_ff_i_tg): New macro.
17151 (isgreater_test_data): New variable.
17152 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17153 (isgreaterequal_test_data): New variable.
17154 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17155 (isless_test_data): New variable.
17156 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17157 (islessequal_test_data): New variable.
17158 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17159 (islessgreater_test_data): New variable.
17160 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17161 (isunordered_test_data): New variable.
17162 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17163
781fd748
DM
171642013-05-14 David S. Miller <davem@davemloft.net>
17165
17166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17167
87aa21df
JM
171682013-05-14 Joseph Myers <joseph@codesourcery.com>
17169
5e908270
JM
17170 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17171
f71172e5
JM
17172 * math/libm-test.inc (struct test_fF_f1_data): Change type of
17173 extra_test to int.
17174 (struct test_f_i_data): Change type of max_ulp to int.
17175
8cfa635a
JM
17176 * math/libm-test.inc (test_ffI_f1_data): New type.
17177 (RUN_TEST_LOOP_ffI_f1): New macro.
17178 (remquo_test_data): New variable.
17179 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17180
2bcb36b2
JM
17181 * setjmp/tst-setjmp-fp.c: New file.
17182 * setjmp/Makefile (tests): Add tst-setjmp-fp.
17183 (link-libm): New variable.
17184 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17185
acbd839a
JM
17186 * math/libm-test.inc (struct test_f_i_data): New type.
17187 (RUN_TEST_LOOP_f_i): New macro.
17188 (RUN_TEST_LOOP_f_i_tg): Likewise.
17189 (fpclassify_test_data): New variable.
17190 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17191 (ilogb_test_data): New variable.
17192 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17193
e414d745
JM
17194 * math/libm-test.inc (scalbln_test): Correct function name in END
17195 call.
17196
d9c2a0fd
JM
17197 * math/libm-test.inc (struct test_f_f1_data): Add comment.
17198 (RUN_TEST_LOOP_fI_f1): New macro.
17199 (frexp_test_data): New variable.
17200 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17201
9dc9095d
JM
17202 * math/libm-test.inc (struct test_fF_f1_data): New type.
17203 (RUN_TEST_LOOP_fF_f1): New macro.
17204 (modf_test_data): New variable.
17205 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17206
87aa21df
JM
17207 * math/libm-test.inc (struct test_f_f1_data): New type.
17208 (RUN_TEST_LOOP_f_f1): New macro.
17209 (gamma_test_data): New variable.
17210 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17211 (lgamma_test_data): New variable.
17212 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17213
141af660
CD
172142013-05-13 Carlos O'Donell <carlos@redhat.com>
17215
17216 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17217 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17218 (main): Comment "tls" pseudo-hwcap.
17219
6d33265c
JM
172202013-05-13 Joseph Myers <joseph@codesourcery.com>
17221
68fc074c
JM
17222 * math/libm-test.inc (struct test_fl_f_data): New type.
17223 (RUN_TEST_LOOP_fl_f): New variable.
17224 (scalbln_test_data): New variable.
17225 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17226
243216e1
JM
17227 * math/libm-test.inc (struct test_fi_f_data): New type.
17228 (RUN_TEST_LOOP_fi_f): New macro.
17229 (ldexp_test_data): New variable.
17230 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17231 (scalbn_test_data): New variable.
17232 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17233
6a1992e2
JM
17234 * math/libm-test.inc (struct test_c_f_data): New type.
17235 (RUN_TEST_LOOP_c_f): New macro.
17236 (cabs_test_data): New variable.
17237 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17238 (carg_test_data): New variable.
17239 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17240 (cimag_test_data): New variable.
17241 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17242 (creal_test_data): New variable.
17243 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17244
0e400df5
JM
17245 * math/libm-test.inc (struct test_if_f_data): New type.
17246 (RUN_TEST_LOOP_if_f): New macro.
17247 (jn_test_data): New variable.
17248 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17249 (yn_test_data): New variable.
17250 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17251
6d33265c
JM
17252 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17253
f98ece5f
AZ
172542013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17255
17256 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17257 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17258
0f7d347b
SP
172592013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17260
43fe811b
SP
17261 * benchtests/Makefile (CPPFLAGS-nonlib): Add
17262 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17263 (bench-deps): Add bench-timing.h.
17264 * benchtests-bench-skeleton.c: Include bench-timing.h.
17265 (main): Use TIMING_* macros instead of clock_gettime.
17266 * benchtests/bench-timing.h: New file.
17267
0f7d347b
SP
17268 [BZ #14582]
17269 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17270 Renamed from _LIB_VERSION.
17271 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17272
601a3a5f
JM
172732013-05-12 Joseph Myers <joseph@codesourcery.com>
17274
4f184d30
JM
17275 * math/libm-test.inc (struct test_fff_f_data): New type.
17276 (RUN_TEST_LOOP_fff_f): New macro.
17277 (fma_test_data): New variable.
17278 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17279 (fma_towardzero_test_data): New variable.
17280 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17281 (fma_downward_test_data): New variable.
17282 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17283 (fma_upward_test_data): New variable.
17284 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17285
08198877
JM
17286 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17287 (struct test_c_c_data): New type.
17288 (RUN_TEST_LOOP_c_c): New macro.
17289 (cacos_test_data): New variable.
17290 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17291 (cacosh_test_data): New variable.
17292 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17293 (casin_test_data): New variable.
17294 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17295 (casinh_test_data): New variable.
17296 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17297 (catan_test_data): New variable.
17298 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17299 (catanh_test_data): New variable.
17300 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17301 (ccos_test_data): New variable.
17302 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17303 (ccosh_test_data): New variable.
17304 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17305 (cexp_test_data): New variable.
17306 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17307 (clog_test_data): New variable.
17308 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17309 (clog10_test_data): New variable.
17310 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17311 (conj_test_data): New variable.
17312 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17313 (cproj_test_data): New variable.
17314 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17315 (csin_test_data): New variable.
17316 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17317 (csinh_test_data): New variable.
17318 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17319 (csqrt_test_data): New variable.
17320 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17321 (ctan_test_data): New variable.
17322 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17323 (ctan_tonearest_test_data): New variable.
17324 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17325 (ctan_towardzero_test_data): New variable.
17326 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17327 (ctan_downward_test_data): New variable.
17328 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17329 (ctan_upward_test_data): New variable.
17330 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17331 (ctanh_test_data): New variable.
17332 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17333 (ctanh_tonearest_test_data): New variable.
17334 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17335 (ctanh_towardzero_test_data): New variable.
17336 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17337 (ctanh_downward_test_data): New variable.
17338 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17339 (ctanh_upward_test_data): New variable.
17340 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17341 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17342 of BUILD_COMPLEX.
17343
601a3a5f
JM
17344 * math/libm-test.inc (struct test_ff_f_data): New type.
17345 (struct test_ff_f_data_nexttoward): Likewise.
17346 (RUN_TEST_LOOP_2_f): New macro.
17347 (RUN_TEST_LOOP_ff_f): Likewise.
17348 (atan2_test_data): New variable.
17349 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17350 (copysign_test_data): New variable.
17351 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17352 (fdim_test_data): New variable.
17353 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17354 (fmax_test_data): New variable.
17355 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17356 (fmin_test_data): New variable.
17357 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17358 (fmod_test_data): New variable.
17359 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17360 (hypot_test_data): New variable.
17361 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17362 (nextafter_test_data): New variable.
17363 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17364 (nexttoward_test_data): New variable.
17365 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17366 (pow_test_data): New variable.
17367 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17368 (pow_tonearest_test_data): New variable.
17369 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17370 (pow_towardzero_test_data): New variable.
17371 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17372 (pow_downward_test_data): New variable.
17373 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17374 (pow_upward_test_data): New variable.
17375 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17376 (remainder_test_data): New variable.
17377 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17378 (scalb_test_data): New variable.
17379 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17380 * sysdeps/i386/fpu/libm-test-ulps: Update.
17381
74c57478
JM
173822013-05-11 Joseph Myers <joseph@codesourcery.com>
17383
8329e4da
JM
17384 * math/libm-test.inc (fma_test): Use max_value instead of local
17385 variable fltmax.
17386 (nextafter_test): Likewise.
17387
74c57478
JM
17388 * math/libm-test.inc (acos_towardzero_test_data): New variable.
17389 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17390 (acos_downward_test_data): New variable.
17391 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17392 (acos_upward_test_data): New variable.
17393 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17394 (acosh_test_data): New variable.
17395 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17396 (asin_test_data): New variable.
17397 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17398 (asin_tonearest_test_data): New variable.
17399 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17400 (asin_towardzero_test_data): New variable.
17401 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17402 (asin_downward_test_data): New variable.
17403 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17404 (asin_upward_test_data): New variable.
17405 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17406 (asinh_test_data): New variable.
17407 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17408 (atan_test_data): New variable.
17409 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17410 (atanh_test_data): New variable.
17411 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17412 (cbrt_test_data): New variable.
17413 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17414 (ceil_test_data): New variable.
17415 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17416 (cos_test_data): New variable.
17417 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17418 (cos_tonearest_test_data): New variable.
17419 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17420 (cos_towardzero_test_data): New variable.
17421 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17422 (cos_downward_test_data): New variable.
17423 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17424 (cos_upward_test_data): New variable.
17425 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17426 (cosh_test_data): New variable.
17427 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17428 (cosh_tonearest_test_data): New variable.
17429 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17430 (cosh_towardzero_test_data): New variable.
17431 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17432 (cosh_downward_test_data): New variable.
17433 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17434 (cosh_upward_test_data): New variable.
17435 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17436 (erf_test_data): New variable.
17437 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17438 (erfc_test_data): New variable.
17439 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17440 (exp_test_data): New variable.
17441 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17442 (exp_tonearest_test_data): New variable.
17443 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17444 (exp_towardzero_test_data): New variable.
17445 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17446 (exp_downward_test_data): New variable.
17447 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17448 (exp_upward_test_data): New variable.
17449 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17450 (exp10_test_data): New variable.
17451 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17452 (exp2_test_data): New variable.
17453 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17454 (expm1_test_data): New variable.
17455 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17456 (fabs_test_data): New variable.
17457 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17458 (floor_test_data): New variable.
17459 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17460 (j0_test_data): New variable.
17461 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17462 (j1_test_data): New variable.
17463 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17464 (log_test_data): New variable.
17465 (log_test): Run tests with RUN_TEST_LOOP_f_f.
17466 (log10_test_data): New variable.
17467 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17468 (log1p_test_data): New variable.
17469 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17470 (log2_test_data): New variable.
17471 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17472 (logb_test_data): New variable.
17473 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17474 (logb_downward_test_data): New variable.
17475 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17476 (nearbyint_test_data): New variable.
17477 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17478 (rint_test_data): New variable.
17479 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17480 (rint_tonearest_test_data): New variable.
17481 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17482 (rint_towardzero_test_data): New variable.
17483 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17484 (rint_downward_test_data): New variable.
17485 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17486 (rint_upward_test_data): New variable.
17487 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17488 (round_test_data): New variable.
17489 (round_test): Run tests with RUN_TEST_LOOP_f_f.
17490 (sin_test_data): New variable.
17491 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17492 (sin_tonearest_test_data): New variable.
17493 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17494 (sin_towardzero_test_data): New variable.
17495 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17496 (sin_downward_test_data): New variable.
17497 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17498 (sin_upward_test_data): New variable.
17499 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17500 (sinh_test_data): New variable.
17501 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
17502 (sinh_tonearest_test_data): New variable.
17503 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17504 (sinh_towardzero_test_data): New variable.
17505 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17506 (sinh_downward_test_data): New variable.
17507 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17508 (sinh_upward_test_data): New variable.
17509 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17510 (sqrt_test_data): New variable.
17511 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
17512 (tan_test_data): New variable.
17513 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
17514 (tan_tonearest_test_data): New variable.
17515 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17516 (tan_towardzero_test_data): New variable.
17517 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17518 (tan_downward_test_data): New variable.
17519 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17520 (tan_upward_test_data): New variable.
17521 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17522 (tanh_test_data): New variable.
17523 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
17524 (tgamma_test_data): New variable.
17525 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
17526 (trunc_test_data): New variable.
17527 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
17528 (y0_test_data): New variable.
17529 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
17530 (y1_test_data): New variable.
17531 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
17532 (significand_test_data): New variable.
17533 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
17534
7187d844
CG
175352013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
17536
17537 [BZ #12387]
17538 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
17539
f63fae73
PT
175402013-05-10 Pino Toscano <toscano.pino@tiscali.it>
17541
17542 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
17543
8a67a4b3
AJ
175442013-05-10 Andreas Jaeger <aj@suse.de>
17545
17546 [BZ #15448]
17547 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
17548 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
17549
51df539d
JM
175502013-05-10 Joseph Myers <joseph@codesourcery.com>
17551
17552 * math/gen-libm-test.pl (adjust_arg): New function.
17553 (special_functions): Handle generating output in both functions
17554 and arrays.
17555 (parse_args): Likewise.
17556 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
17557 $in_func argument to parse_args.
17558 * math/libm-test.inc (struct test_f_f_data): New type.
17559 (IF_ROUND_INIT_): New macro.
17560 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
17561 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17562 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17563 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17564 (ROUND_RESTORE_): Likewise.
17565 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
17566 (ROUND_RESTORE_FE_TONEAREST): Likewise.
17567 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
17568 (ROUND_RESTORE_FE_UPWARD): Likewise.
17569 (RUN_TEST_LOOP_f_f): New macro.
17570 (acos_test_data): New variable.
17571 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
17572 (acos_tonearest_test_data): New variable.
17573 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17574
5c637fe5
SP
175752013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17576
17577 * benchtests/bench-skeleton.c (startup): Fix coding style.
17578
ab2b9461
JM
175792013-05-10 Joseph Myers <joseph@codesourcery.com>
17580
17581 [BZ #6809]
17582 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
17583 negative infinity argument.
17584 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
17585 negative infinity argument.
17586 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
17587 negative infinity argument.
17588 * math/libm-test.inc (tgamma_test): Expect errno to be set for
17589 domain errors.
17590
4c0fe6fe
FW
175912013-05-10 Florian Weimer <fweimer@redhat.com>
17592
17593 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
17594 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
17595 * iconv/iconv_prog.c (main): Likewise.
17596 * locale/programs/charmap-dir.c (charmap_readdir)
17597 (fopen_uncompressed): Likewise.
17598 * locale/programs/locfile.c (siblings_uncached)
17599 (write_locale_data): Use lstat64 instead of lstat.
17600 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
17601 stat.
17602
a3375d29
AJ
176032013-05-10 Andreas Jaeger <aj@suse.de>
17604
17605 [BZ #15395]
17606 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
17607 localization.
17608 Include <locale.h>.
17609
36129722
CD
176102013-05-09 Carlos O'Donell <carlos@redhat.com>
17611
17612 * elf/dl-close.c (_dl_close_worker): Add comments.
17613
faa7f811
JM
176142013-05-09 Joseph Myers <joseph@codesourcery.com>
17615
ed41ffef
JM
17616 [BZ #15359]
17617 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
17618 high part of pi/2.
17619 (__ieee754_rem_pio2l): Update comments.
17620
d0213cd0
JM
17621 [BZ #15429]
17622 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
17623 high part of pi/2.
17624 (__ieee754_rem_pio2l): Update comments.
17625
0d3e777a
JM
17626 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
17627 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
17628
24f56066
JM
17629 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
17630 M_PI_4l.
17631
faa7f811
JM
17632 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
17633 (M_PI_34_LOG10El): Likewise.
17634 (M_PI2_LOG10El): Likewise.
17635 (M_PI4_LOG10El): Likewise.
17636 (M_PI_LOG10El): Likewise.
17637
e9a5e0fd
AZ
176382013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17639
17640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17641
d8cd06db
JM
176422013-05-08 Joseph Myers <joseph@codesourcery.com>
17643
a0d9f9d7
JM
17644 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
17645 (MINUS_ZERO_INIT): Likewise.
17646 (PLUS_INFTY_INIT): Likewise.
17647 (MINUS_INFTY_INIT): Likewise.
17648 (QNAN_VALUE_INIT): Likewise.
17649 (MAX_VALUE_INIT): Likewise.
17650 (MIN_VALUE_INIT): Likewise.
17651 (MIN_SUBNORM_VALUE_INIT): Likewise.
17652 (plus_zero): Initialize with PLUS_ZERO_INIT.
17653 (minus_zero): Initialize with MINUS_ZERO_INIT.
17654 (plus_infty): Initialize with PLUS_INFTY_INIT.
17655 (minus_infty): Initialize with MINUS_INFTY_INIT.
17656 (qnan_value): Initialize with QNAN_VALUE_INIT.
17657 (max_value): Initialize with MAX_VALUE_INIT.
17658 (min_value): Initialize with MIN_VALUE_INIT.
17659 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
17660
ae08db3b
JM
17661 * math/libm-test.inc (RUN_TEST_if_f): New macro.
17662 (jn_test): Use TEST_if_f instead of TEST_ff_f.
17663 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
17664 (yn_test): Use TEST_if_f instead of TEST_ff_f.
17665
f44bf14a
JM
17666 * math/libm-test.inc (RUN_TEST_f_f): New macro.
17667 (RUN_TEST_2_f): Likewise.
17668 (RUN_TEST_ff_f): Likewise.
17669 (RUN_TEST_fi_f): Likewise.
17670 (RUN_TEST_fl_f): Likewise.
17671 (RUN_TEST_fff_f): Likewise.
17672 (RUN_TEST_c_f): Likewise.
17673 (RUN_TEST_f_f1): Likewise.
17674 (RUN_TEST_fF_f1): Likewise.
17675 (RUN_TEST_fI_f1): Likewise.
17676 (RUN_TEST_ffI_f1): Likewise.
17677 (RUN_TEST_c_c): Likewise.
17678 (RUN_TEST_cc_c): Likewise.
17679 (RUN_TEST_f_i): Likewise.
17680 (RUN_TEST_f_i_tg): Likewise.
17681 (RUN_TEST_ff_i_tg): Likewise.
17682 (RUN_TEST_f_b): Likewise.
17683 (RUN_TEST_f_b_tg): Likewise.
17684 (RUN_TEST_f_l): Likewise.
17685 (RUN_TEST_f_L): Likewise.
17686 (RUN_TEST_sincos): Likewise.
17687 * math/gen-libm-test.pl (new_test): Take new argument to indicate
17688 whether to show exceptions. Do not include ");\n" in return
17689 value.
17690 (special_functions): Output call to RUN_TEST_sincos instead of
17691 check_float calls. Update calls to new_test.
17692 (parse_args): Output call to single RUN_TEST_* macro instead of
17693 check_* calls and other assignments. Update calls to new_test.
17694
d8cd06db
JM
17695 [BZ #2546]
17696 [BZ #2560]
17697 [BZ #5159]
17698 [BZ #15426]
17699 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
17700 input to result for tgamma overflow.
17701 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
17702 (gamma_coeff): New variable.
17703 (NCOEFF): New macro.
17704 (gamma_positive): New function.
17705 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
17706 underflow here. Use gamma_positive instead of exp (lgamma) for
17707 other arguments.
17708 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
17709 (gamma_coeff): New variable.
17710 (NCOEFF): New macro.
17711 (gammaf_positive): New function.
17712 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
17713 underflow here. Use gamma_positive instead of exp (lgamma) for
17714 other arguments.
17715 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
17716 (gamma_coeff): New variable.
17717 (NCOEFF): New macro.
17718 (gammal_positive): New function.
17719 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
17720 underflow here. Use gamma_positive instead of exp (lgamma) for
17721 other arguments.
17722 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
17723 (gamma_coeff): New variable.
17724 (NCOEFF): New macro.
17725 (gammal_positive): New function.
17726 (__ieee754_gammal_r): Handle positive infinity, overflow and
17727 underflow here. Handle NaN the same as positive infinity. Remove
17728 check x < 0xffffffff for negative integers. Use gamma_positive
17729 instead of exp (lgamma) for other arguments.
17730 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
17731 (gamma_coeff): New variable.
17732 (NCOEFF): New macro.
17733 (gammal_positive): New function.
17734 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
17735 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17736 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17737 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
17738 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17739 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
17740 * sysdeps/generic/math_private.h (__gamma_productf): New
17741 prototype.
17742 (__gamma_product): Likewise.
17743 (__gamma_productl): Likewise.
17744 * math/Makefile (libm-calls): Add gamma_product.
17745 * math/libm-test.inc (tgamma_test): Add more tests.
17746 * sysdeps/i386/fpu/libm-test-ulps: Update.
17747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17748
bb7cf681
OB
177492013-05-08 Ondřej Bílka <neleai@seznam.cz>
17750
17751 * benchtests/bench-skeleton.c (main): Preheat CPU.
17752
ba853947
AJ
177532013-05-07 Aurelien Jarno <aurelien@aurel32.net>
17754
17755 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
17756
8347c74c
RM
177572013-05-07 Roland McGrath <roland@hack.frob.com>
17758
17759 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
17760 and _dl_skip_args_internal.
17761
e8dd4791
CD
177622013-05-07 Carlos O'Donell <carlos@redhat.com>
17763
17764 * manual/message.texi (Message Translation): Talk about users.
17765 Message to key mapping impacts design.
17766
c7405830
RM
177672013-05-06 Roland McGrath <roland@hack.frob.com>
17768
a9173057
RM
17769 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
17770
976e2f03
RM
17771 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
17772
9723ffc5
RM
17773 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
17774 * sysdeps/wordsize-64/glob64.c: ... here.
17775
962e6658
RM
17776 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
17777 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
17778 New macros.
17779
ee586a6d
RM
17780 * debug/getlogin_r_chk.c: Moved to ...
17781 * login/getlogin_r_chk.c: ... here.
17782 * debug/Makefile (routines): Move getlogin_r_chk to ...
17783 * login/Makefile (routines): ... here.
17784 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
17785 * login/Versions (libc: GLIBC_2.4): ... here.
17786
355f9165
RM
17787 * io/poll.c (__poll): Renamed from poll.
17788 Add libc_hidden_def.
17789 (poll): Define as weak alias.
17790
bd9ffde6
RM
17791 * debug/ptsname_r_chk.c: Moved to ...
17792 * login/ptsname_r_chk.c: ... here.
17793 * debug/Makefile (routines): Move ptsname_r_chk to ...
17794 * login/Makefile (routines): ... here.
17795 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
17796 * login/Versions (libc: GLIBC_2.4): ... here.
17797
8fb16a04
RM
17798 * posix/getlogin.c: Moved to ...
17799 * login/getlogin.c: ... here.
17800 * posix/getlogin_r.c: Moved to ...
17801 * login/getlogin_r.c: ... here.
17802 * posix/getlogin_r.c: Moved to ...
17803 * login/getlogin_r.c: ... here.
17804 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
17805 * login/Makefile (routines): ... here.
17806 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
17807 * login/Versions (libc: GLIBC_2.0): ... here.
17808
b99b892f
RM
17809 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
17810 (setrlimit): Define as weak alias.
17811
c7405830
RM
17812 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
17813 Call __ names for open, ftruncate, and close.
17814 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
17815 (truncate): Define as weak alias.
17816
5bf96de5
JM
178172013-05-06 Joseph Myers <joseph@codesourcery.com>
17818
9ea3513c
JM
17819 * math/gen-libm-test.pl (parse_args): Initialize x before each
17820 test of frexp, modf and remquo.
17821
5bf96de5
JM
17822 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
17823 test signgam value.
17824
16e616a7
AZ
178252013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17826
17827 [BZ #15418]
17828 [BZ #15419]
17829 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
17830 internal tests.
17831 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17832
d5e82754
RM
178332013-05-06 Roland McGrath <roland@hack.frob.com>
17834
17835 * elf/dl-writev.h: New file.
17836 * elf/dl-misc.c: Include it.
17837 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
17838 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
17839
a7548d41
JM
178402013-05-04 Joseph Myers <joseph@codesourcery.com>
17841
b7dab1e4
JM
17842 * math/libm-test.inc (noXFails): Remove variable.
17843 (noXPasses): Likewise.
17844 (BUILD_COMPLEX_INT): Remove macro.
17845 (print_screen): Remove xfail argument.
17846 (print_screen_max_error): Likewise.
17847 (update_stats): Likewise.
17848 (print_max_error): Likewise. Update calls to other affected
17849 functions.
17850 (print_complex_max_error): Likewise.
17851 (test_single_exception): Update calls to print_screen.
17852 (test_single_errno): Likewise.
17853 (check_float_internal): Remove xfail argument. Update calls to
17854 other affected functions.
17855 (check_float): Likewise.
17856 (check_complex): Likewise.
17857 (check_int): Likewise.
17858 (check_long): Likewise.
17859 (check_bool): Likewise.
17860 (check_longlong): Likewise.
17861 (main): Don't print noXFails and noXPasses.
17862 * math/gen-libm-test.pl (top level): Don't mention expected
17863 failure handling in comment.
17864 (new_test): Don't handle expected failures.
17865 (parse_args): Don't mention expected failure handling in comment.
17866 (generate_testfile): Don't handle expected failures.
17867 (parse_ulps): Likewise.
17868 (print_ulps_file): Likewise.
17869 (get_failure): Remove function.
17870 (output_test): Don't handle expected failures.
17871 * make/README.libm-test: Don't mention expected failure handling.
17872
a7548d41
JM
17873 * math/libm-test.inc (plus_zero): Make const. Add initializer.
17874 (minus_zero): Likewise.
17875 (plus_infty): Likewise.
17876 (minus_infty): Likewise.
17877 (qnan_value): Likewise.
17878 (max_value): Likewise.
17879 (min_value): Likewise.
17880 (min_subnorm_value): Likewise.
17881 (initialize): Do not initialize those variables dynamically.
17882
60bfd54c
RM
178832013-05-03 Roland McGrath <roland@hack.frob.com>
17884
cc0e6ed8
RM
17885 * io/open.c (__open_2): Moved to ...
17886 * io/open_2.c: ... this new file.
17887 * io/open64.c (__open64_2): Moved to ...
17888 * io/open64_2.c: ... this new file.
17889 * io/openat.c (__openat_2): Moved to ...
17890 * io/openat_2.c: ... this new file.
17891 * io/openat64.c (__openat64_2): Moved to ...
17892 * io/openat64_2.c: ... this new file.
17893 * io/Makefile (routines): Add them.
17894 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
17895 * sysdeps/unix/sysv/linux/open_2.c: File removed.
17896 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
17897 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
17898 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
17899 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
17900 (__openat64): Add hidden_ver.
17901 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
17902 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
17903
60bfd54c
RM
17904 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
17905 Separately conditionalize setting of GLRO(dl_sysinfo) so
17906 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
17907 as well, but the actual setting is only under [NEED_DL_SYSINFO].
17908
83e7640f
AZ
179092013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17910
17911 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
17912 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
17913 definition.
17914 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
17915 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17916 (_libc_vdso_platform_setup): Add __vdso_time initialization.
17917 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
17918 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
17919
d5dc2af3
JM
179202013-05-03 Joseph Myers <joseph@codesourcery.com>
17921
c31a5b1e
JM
17922 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
17923 test signgam value.
17924
d5dc2af3
JM
17925 * math/libm-test.inc (hypot_test): Do not use
17926 IGNORE_ZERO_INF_SIGN.
17927
164fd39d
AJ
179282013-05-03 Andreas Jaeger <aj@suse.de>
17929
17930 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
17931 Linux 3.9.
17932 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
17933 (PF_MAX): Adjust for VSOCK change.
17934
8237f48c
AZ
179352013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17936
17937 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17938
9df02941
CD
179392013-05-02 Carlos O'Donell <carlos@redhat.com>
17940
17941 [BZ #15264]
17942 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
17943 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
17944 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
17945
d422395e
DM
179462013-05-02 David S. Miller <davem@davemloft.net>
17947
17948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17949
a07c5731
OB
179502013-05-01 Ondřej Bílka <neleai@seznam.cz>
17951
17952 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
17953
1324e37f
RM
179542013-05-01 Roland McGrath <roland@hack.frob.com>
17955
17956 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
17957
0695940b
RS
179582013-05-01 Richard Smith <richard@metafoo.co.uk>
17959
bb5f27ad 17960 [BZ #14952]
0695940b
RS
17961 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
17962 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17963 Use __attribute__ ((__gnu_inline__)).
17964 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17965 Don't use __attribute__ ((__gnu_inline__)).
17966
10de07f5
JM
179672013-05-01 Joseph Myers <joseph@codesourcery.com>
17968
17969 [BZ #15423]
17970 * math/s_catan.c (__catan): Handle small real or imaginary part of
17971 input specially to avoid spurious underflow.
17972 * math/s_catanf.c (__catanf): Likewise.
17973 * math/s_catanh.c (__catanh): Likewise.
17974 * math/s_catanhf.c (__catanhf): Likewise.
17975 * math/s_catanhl.c (__catanhl): Likewise.
17976 * math/s_catanl.c (__catanl): Likewise.
17977 * math/libm-test.inc (catan_test): Add more tests.
17978 (catanh_test): Likewise.
17979 * sysdeps/i386/fpu/libm-test-ulps: Update.
17980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17981
cb4d5414
AZ
179822013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17983
17984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17985
caf84319
JM
179862013-04-30 Joseph Myers <joseph@codesourcery.com>
17987
17988 [BZ #15416]
17989 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
17990 accurately for denominator in atan2.
17991 * math/s_catanf.c (__catanf): Likewise.
17992 * math/s_catanh.c (__catanh): Likewise.
17993 * math/s_catanhf.c (__catanhf): Likewise.
17994 * math/s_catanhl.c (__catanhl): Likewise.
17995 * math/s_catanl.c (__catanl): Likewise.
17996 * math/libm-test.inc (catan_test): Add more tests.
17997 (catanh_test): Likewise.
17998 * sysdeps/i386/fpu/libm-test-ulps: Update.
17999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18000
d569c6ee
SP
180012013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18002
6dbe713d
SP
18003 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18004
f0ee064b
SP
18005 * benchtests/Makefile (bench): Remove slow benchmarks.
18006 * benchtests/atan-inputs: Add slow benchmark inputs.
18007 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18008 (BENCH_FUNC): Accept variant offset.
18009 (VARIANT): Define.
18010 * benchtests/bench-skeleton.c (main): Run benchmark for each
18011 variant.
18012 * benchtests/cos-inputs: Add slow benchmark inputs.
18013 * benchtests/exp-inputs: Likewise.
18014 * benchtests/pow-inputs: Likewise.
18015 * benchtests/sin-inputs: Likewise.
18016 * benchtests/slowatan-inputs: Remove.
18017 * benchtests/slowatan.c: Remove.
18018 * benchtests/slowcos-inputs: Remove.
18019 * benchtests/slowcos.c: Remove.
18020 * benchtests/slowexp-inputs: Remove.
18021 * benchtests/slowexp.c: Remove.
18022 * benchtests/slowpow-inputs: Remove.
18023 * benchtests/slowpow.c: Remove.
18024 * benchtests/slowsin-inputs: Remove.
18025 * benchtests/slowsin.c: Remove.
18026 * benchtests/slowtan-inputs: Remove.
18027 * benchtests/slowtan.c: Remove.
18028 * benchtests/tan-inputs: Add slow benchmark inputs.
18029 * scripts/bench.pl: Parse comments and directives.
18030
d569c6ee
SP
18031 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
18032 in CPPFLAGS.
18033 ($(objpfx)bench-%.c): Remove *-ITER.
18034 * benchtests/bench-modf.c: Remove definition of ITER.
18035 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18036 (main): Loop for DURATION seconds instead of fixed number of
18037 iterations.
18038 * scripts/bench.pl: Don't expect iterations in parameters.
18039
a6a242fe
RM
180402013-04-29 Roland McGrath <roland@hack.frob.com>
18041
18042 * io/fchdir.c (__fchdir): Renamed from fchdir.
18043 (fchdir): Define as weak alias.
18044
f2da7793
JM
180452013-04-29 Joseph Myers <joseph@codesourcery.com>
18046
18047 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18048 (ERRNO_EDOM): Likewise.
18049 (ERRNO_ERANGE): Likewise.
18050 (noErrnoTests): New variable.
18051 (init_max_error): Set errno to 0.
18052 (test_single_errno): New function.
18053 (test_errno): Likewise.
18054 (check_float_internal): Call test_errno. Set errno to 0.
18055 (check_complex): Refer to errno tests in comment.
18056 (check_int): Call test_errno. Set errno to 0.
18057 (check_long): Likewise.
18058 (check_bool): Likewise.
18059 (check_longlong): Likewise.
18060 (cos_test): Use ERRNO_* flags for errno tests instead of
18061 check_int.
18062 (expm1_test): Likewise.
18063 (fmod_test): Likewise.
18064 (ilogb_test): Likewise.
18065 (lgamma_test): Likewise.
18066 (pow_test): Likewise.
18067 (remainder_test): Likewise.
18068 (sin_test): Likewise.
18069 (tan_test): Likewise.
18070 (yn_test): Likewise.
18071 (initialize): Set errno to 0.
18072 (main): Print number of errno tests.
18073 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18074
b1a36ceb
AJ
180752013-04-29 Andreas Jaeger <aj@suse.de>
18076
c3ed8088
AJ
18077 [BZ #15084]
18078 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18079 and RES_USEVC.
18080
f1a24198
AJ
18081 [BZ #15085]
18082 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18083 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18084 unimplemented.
18085
9ce3b2cb
AJ
18086 [BZ #15380]
18087 * stdlib/random.c (__initstate): Return NULL if
18088 __initstate fails.
18089
f1a24198 18090 [BZ #15086]
b1a36ceb
AJ
18091 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18092 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18093 RES_SNGLKUPREOP.
18094
7e7b6f36
AZ
180952013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18096
18097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18098
4d14f449
JM
180992013-04-29 Joseph Myers <joseph@codesourcery.com>
18100
18101 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18102 of individual tests.
18103 (casin_test): Likewise.
18104 (casinh_test): Likewise.
18105
5b4217d7
JM
181062013-04-27 Joseph Myers <joseph@codesourcery.com>
18107
18108 [BZ #15409]
18109 * math/s_catan.c (__catan): Handle arguments with large real or
18110 imaginary part separately without squaring.
18111 * math/s_catanf.c (__catanf): Likewise.
18112 * math/s_catanh.c (__catanh): Likewise.
18113 * math/s_catanhf.c (__catanhf): Likewise.
18114 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18115 and redefine.
18116 (__catanhl): Handle arguments with large real or imaginary part
18117 separately without squaring.
18118 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18119 and redefine.
18120 (__catanl): Handle arguments with large real or imaginary part
18121 separately without squaring.
18122 * math/libm-test.inc (catan_test): Add more tests.
18123 (catanh_test): Likewise.
18124 * sysdeps/i386/fpu/libm-test-ulps: Update.
18125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18126
4220c3ef
AJ
181272013-04-27 Andreas Jaeger <aj@suse.de>
18128
18129 [BZ #15007]
18130 * stdlib/stdlib.h: Update guards for qecvt.
18131 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18132 <stdlib.h>.
18133
4721b2d1
AM
181342013-04-27 Allan McRae <allan@archlinux.org>
18135
18136 * sysdeps/i386/fpu/libm-test-ulps: Update.
18137
f0302940
JM
181382013-04-26 Joseph Myers <joseph@codesourcery.com>
18139
9457fd95
JM
18140 [BZ #15406]
18141 * math/s_catan.c: Include <float.h>.
18142 (__catan): Ensure underflow exception occurs for underflowed
18143 result.
18144 * math/s_catanf.c: Include <float.h>.
18145 (__catanf): Ensure underflow exception occurs for underflowed
18146 result.
18147 * math/s_catanh.c: Include <float.h>.
18148 (__catanh): Ensure underflow exception occurs for underflowed
18149 result.
18150 * math/s_catanhf.c: Include <float.h>.
18151 (__catanhf): Ensure underflow exception occurs for underflowed
18152 result.
18153 * math/s_catanhl.c: Include <float.h>.
18154 (__catanhl): Ensure underflow exception occurs for underflowed
18155 result.
18156 * math/s_catanl.c: Include <float.h>.
18157 (__catanl): Ensure underflow exception occurs for underflowed
18158 result.
18159 * math/libm-test.inc (catan_test): Add more tests.
18160 (catanh_test): Likewise.
18161
f0302940
JM
18162 [BZ #15405]
18163 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18164 underflowed result.
18165 * math/s_ccoshf.c (__ccoshf): Likewise.
18166 * math/s_ccoshl.c (__ccoshl): Likewise.
18167 * math/s_csin.c (__csin): Likewise.
18168 * math/s_csinf.c (__csinf): Likewise.
18169 * math/s_csinh.c (__csinh): Likewise.
18170 * math/s_csinhf.c (__csinhf): Likewise.
18171 * math/s_csinhl.c (__csinhl): Likewise.
18172 * math/s_csinl.c (__csinl): Likewise.
18173 * math/libm-test.inc (ccos_test): Add more tests.
18174 (ccosh_test): Likewise.
18175 (csin_test): Likewise.
18176 (csinh_test): Likewise.
18177
aa630f59
AZ
181782013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18179
18180 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18181 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18182 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18183 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18184 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18185 powerpc/power5+/fpu folders.
18186 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18187
18188
1b835983
MT
181892013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18190
18191 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18192
73709b26
JM
181932013-04-25 Joseph Myers <joseph@codesourcery.com>
18194
18195 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18196 additions to variable.
18197 [$(config-machine) = x86_64] (modules-names): Likewise.
18198 ($(objpfx)tst-audit3): Remove dependency.
18199 ($(objpfx)tst-audit3.out): Likewise.
18200 ($(objpfx)tst-audit4): Likewise.
18201 ($(objpfx)tst-audit4.out): Likewise.
18202 ($(objpfx)tst-audit5): Likewise.
18203 ($(objpfx)tst-audit5.out): Likewise.
18204 ($(objpfx)tst-audit6): Likewise.
18205 ($(objpfx)tst-audit6.out): Likewise.
18206 ($(objpfx)tst-audit7): Likewise.
18207 ($(objpfx)tst-audit7.out): Likewise.
18208 (tst-audit3-ENV): Remove variable.
18209 (tst-audit4-ENV): Likewise.
18210 (tst-audit5-ENV): Likewise.
18211 (tst-audit6-ENV): Likewise.
18212 (tst-audit7-ENV): Likewise.
18213 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18214 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18215 addition to variable.
18216 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18217 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18218 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18219 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18220 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18221 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18222 tst-audit3, tst-audit4 and tst-audit5.
18223 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18224 tst-audit6 and tst-audit7.
18225 [$(subdir) = elf] (modules-names): Add audit modules for those
18226 tests.
18227 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18228 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18229 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18230 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18231 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18232 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18233 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18234 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18235 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18236 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18237 [$(subdir) = elf] (tst-audit3-ENV): New variable.
18238 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18239 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18240 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18241 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18242 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18243 Likewise.
18244 [$(subdir) = elf && $(config-cflags-avx) = yes]
18245 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18246 [$(subdir) = elf && $(config-cflags-avx) = yes]
18247 (CFLAGS-tst-auditmod4a.c): Likewise.
18248 [$(subdir) = elf && $(config-cflags-avx) = yes]
18249 (CFLAGS-tst-auditmod4b.c): Likewise.
18250 [$(subdir) = elf && $(config-cflags-avx) = yes]
18251 (CFLAGS-tst-auditmod6b.c): Likewise.
18252 [$(subdir) = elf && $(config-cflags-avx) = yes]
18253 (CFLAGS-tst-auditmod6c.c): Likewise.
18254 [$(subdir) = elf && $(config-cflags-avx) = yes]
18255 (CFLAGS-tst-auditmod7b.c): Likewise.
18256 * elf/tst-audit3.c: Move to ...
18257 * sysdeps/x86_64/tst-audit3.c: ... here.
18258 * elf/tst-audit4.c: Move to ...
18259 * sysdeps/x86_64/tst-audit4.c: ... here.
18260 * elf/tst-audit5.c: Move to ...
18261 * sysdeps/x86_64/tst-audit5.c: ... here.
18262 * elf/tst-audit6.c: Move to ...
18263 * sysdeps/x86_64/tst-audit6.c: ... here.
18264 * elf/tst-audit7.c: Move to ...
18265 * sysdeps/x86_64/tst-audit7.c: ... here.
18266 * elf/tst-auditmod3a.c: Move to ...
18267 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18268 * elf/tst-auditmod3b.c: Move to ...
18269 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18270 * elf/tst-auditmod4a.c: Move to ...
18271 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18272 * elf/tst-auditmod4b.c: Move to ...
18273 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18274 * elf/tst-auditmod5a.c: Move to ...
18275 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18276 * elf/tst-auditmod5b.c: Move to ...
18277 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18278 * elf/tst-auditmod6a.c: Move to ...
18279 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18280 * elf/tst-auditmod6b.c: Move to ...
18281 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18282 * elf/tst-auditmod6c.c: Move to ...
18283 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18284 * elf/tst-auditmod7a.c: Move to ...
18285 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18286 * elf/tst-auditmod7b.c: Move to ...
18287 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18288
1ef74943
PP
182892013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
18290
18291 [BZ #15366]
18292 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18293 define unconditionally.
18294 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18295 define unconditionally.
18296 (INT8_C, INT16_C, etc.): Likewise.
18297
93fd48c5
MR
182982013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
18299
ae9552cf
MR
18300 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18301 __ehdr_start with hidden visibility.
18302
93fd48c5
MR
18303 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18304
418601aa
CD
183052013-04-24 Carlos O'Donell <carlos@redhat.com>
18306
18307 * math/libm-test.inc (cos_test): Use accurate hex constants.
18308 (sincost_test): Likewise.
18309
2f38fbfe
JM
183102013-04-24 Joseph Myers <joseph@codesourcery.com>
18311
5e221800
JM
18312 * math/libm-test.inc (catan_test): Add more tests.
18313 (catanh_test): Likewise.
18314
77f143fd
JM
18315 * math/s_catanf.c (__catanf): Use suffixed floating-point
18316 constants.
18317 * math/s_catanhf.c (__catanhf): Likewise.
18318 * math/s_catanhl.c (__catanhl): Likewise.
18319 * math/s_catanl.c (__catanl): Likewise.
18320
2f38fbfe
JM
18321 [BZ #15394]
18322 * math/s_catan.c (__catan): Calculate imaginary part of result
18323 with log1p not log unless computing log of number close to 0.
18324 * math/s_catanf.c (__catanf): Likewise.
18325 * math/s_catanl.c (__catanl): Likewise.
18326 * math/s_catanh.c (__catanh): Calculate real part of result with
18327 log1p not log unless computing log of number close to 0.
18328 * math/s_catanhf.c (__catanhf): Likewise.
18329 * math/s_catanhl.c (__catanhl): Likewise.
18330 * math/libm-test.inc (catan_test): Add more tests.
18331 (catanh_test): Likewise.
18332 * sysdeps/i386/fpu/libm-test-ulps: Update.
18333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18334
45d69176
SP
183352013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18336
18337 * benchtests/Makefile: Mention files in which fast and slow
18338 paths of math functions are implemented.
18339
87f51853
RM
183402013-04-23 Roland McGrath <roland@hack.frob.com>
18341
18342 * sysdeps/posix/timespec_get.c: New file.
18343
3c026539
AZ
183442013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18345
18346 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18347 POWER.
18348 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18349 for POWER.
18350 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18351 powerpc/power5/fpu folders.
18352 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18353 * benchtests/Makefile: Add modf testcase.
18354 * benchtests/bench-modf.c: New file: Benchmark test for mo
18355
ff491d14
SP
183562013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18357
18358 [BZ #14888]
18359 * time/Makefile (tests): Add tst-strptime-whitespace.
18360 * time/strptime_l.c (get_number): Use ISSPACE.
18361 (__strptime_internal): Likewise.
18362 * time/tst-strptime-whitespace.c: New test case.
18363
7ed3f4e8
AS
183642013-04-23 Andreas Schwab <schwab@linux-m68k.org>
18365
18366 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18367 member.
18368 (_nss_files_init): Set it here.
18369
5c95f7b6
HC
183702013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
18371
18372 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18373 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18374 unsigned.
18375
d34c9158
JBG
183762013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
18377
18378 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18379
2169712d
SP
183802013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18381
18382 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18383 size just once.
18384
29c5de99
DM
183852013-04-21 David S. Miller <davem@davemloft.net>
18386
18387 * po/ru.po: Update Russion translation from translation project.
18388
ccdad15d
AC
183892013-04-17 Adam Conrad <adconrad@0c3.net>
18390
18391 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18392 and setfsgid.
18393
0f122b8d
CD
183942013-04-17 Carlos O'Donell <carlos@redhat.com>
18395
5c5b07da 18396 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 18397 * configure: Regenerate.
5c5b07da 18398 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
18399 Add example to error message.
18400 * sysdeps/i386/configure: Regenerate.
18401
037714dd
SP
184022013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18403
18404 * benchtests/Makefile (bench): Add cos, tan, slowcos and
18405 slowtan.
18406 * benchtests/cos-inputs: New file.
18407 * benchtests/slowcos-inputs: New file.
18408 * benchtests/slowcos.c: New file.
18409 * benchtests/slowtan-inputs: New file.
18410 * benchtests/slowtan.c: New file.
18411 * benchtests/tan-inputs: New file.
18412
e913141d
RM
184132013-04-16 Roland McGrath <roland@hack.frob.com>
18414
18415 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18416 considered kosher.
18417
a2964074
SP
184182013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18419
4856bcd2
SP
18420 * benchtests/Makefile: Include cppflags-iterator.mk to add
18421 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18422
a2964074
SP
18423 * Makefile.in (bench-clean): New target.
18424 * benchtests/Makefile (bench-clean): Likewise.
18425
9fbf9aca
DH
184262013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
18427
18428 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18429
207d1e2a
TS
184302013-04-15 Thomas Schwinge <thomas@codesourcery.com>
18431
18432 * stdio-common/tstdiomisc.c: Fix coding-style violation.
18433
306dfba9
AS
184342013-04-15 Andreas Schwab <schwab@suse.de>
18435
18436 * nscd/grpcache.c (cache_addgr): Properly check for short write.
18437 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18438 * nscd/pwdcache.c (cache_addpw): Likewise.
18439 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
18440 more than recsize.
18441
206a6699
SP
184422013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18443
18444 * benchtests/Makefile (bench): Write all output to
18445 bench-out.tmp together.
18446
0582f6b3
AS
184472013-04-15 Andreas Schwab <schwab@suse.de>
18448
18449 * nscd/nscd.c (main): Don't fork again after closing files.
18450
acb4325f
SP
184512013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18452
5cb26d0a
SP
18453 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18454
acb4325f
SP
18455 * benchtests/Rules (bench-deps): Collect dependencies into a
18456 single variable. Add Makefile to dependencies.
18457 ($(objpfx)bench-%.c): Depend on bench-deps.
18458
47792506
RM
184592013-04-12 Roland McGrath <roland@hack.frob.com>
18460 Xavier Roche <roche+kml2@exalead.com>
18461
18462 [BZ #15361]
18463 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18464 just that it's a file descriptor.
18465 * manual/llio.texi (Synchronizing AIO Operations): Update description
18466 for EBADF error from aio_fsync.
18467
8fc1bee5
SP
184682013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18469
18470 * Rules (bench): Move target definition...
18471 * benchtests/Makefile: ... here.
18472
aba5e333
CD
184732013-04-11 Carlos O'Donell <carlos@redhat.com>
18474
18475 * math/libm-test.inc (cos_test): Fix PI/2 test.
18476 (sincos_test): Likewise.
18477 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18478 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18479
273cdee8
AS
184802013-04-11 Andreas Schwab <schwab@suse.de>
18481
6ecec3b6
AS
18482 [BZ #13988]
18483 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18484 accept exponent character only when digits were seen.
18485 * stdio-common/Makefile (tests): Add bug26.
18486 * stdio-common/bug26.c: New file.
18487
273cdee8
AS
18488 [BZ #14293]
18489 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18490 non-freeable.
18491
8da491f5
SP
184922013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18493
01dc6df9
SP
18494 * Makeconfig (rtld-prefix): Define built linker prefix.
18495 * Rules (run-bench): Use it.
18496 * math/Makefile (run-regen-ulps): Likewise.
18497
8da491f5
SP
18498 * Rules (bench): Remove eval.
18499
abe7f530
SP
185002013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18501 Roland McGrath <roland@hack.frob.com>
18502 Ondrej Bilka <neleai@seznam.cz>
18503
18504 [BZ #15346]
18505 * time/getdate.c: Include ctype.h and alloca.h.
18506 (__getdate_r): Trim leading and trailing spaces of input.
18507 * time/tst-getdate.c (tests): Add tests with leading and
18508 trailing spaces.
18509
61c23e62
RM
185102013-04-08 Roland McGrath <roland@hack.frob.com>
18511
18512 [BZ #14280]
18513 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
18514 when computing value.
18515
7208a313
CD
185162013-04-06 Carlos O'Donell <carlos@redhat.com>
18517
085b2d41
CD
18518 * math/README.libm-test (How can I generate "libm-test-ulps"?):
18519 Use testrun.sh to run libm tests.
18520
7208a313
CD
18521 [BZ #15309]
18522 * elf/dl-open.c (dl_open_worker): memset all of seen array.
18523
872c0acd
MM
185242013-04-06 Marko Myllynen <myllynen@redhat.com>
18525
18526 [BZ #15264]
18527 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
18528
26510bdd
CD
185292013-04-06 Carlos O'Donell <carlos@redhat.com>
18530
18531 * Makefile.in (regen-ulps): New target.
18532 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
18533 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
18534 [ifneq (no,$(PERL)] (regen-ulps): New target.
18535 [ifeq (no,$(PERL)] (regen-ulps): New target.
18536 * math/libm-test.inc (ulps_file_name): Define.
18537 (output_dir): New variable.
18538 (options): Add "output-dir" option.
18539 (parse_opt): Handle 'o' case.
18540 (main): If output_dir is non-NULL use it as a prefix
18541 otherwise use "".
18542 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
18543
a01f19c8
CD
185442013-04-06 Carlos O'Donell <carlos@redhat.com>
18545
18546 [BZ #10060, #10062]
18547 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
18548 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
18549 fail configure if __sync_val_compare_and_swap is not inlined.
18550 * sysdeps/i386/configure: Regenerate.
18551 * configure.in: Build for i686 when configured for i386.
18552 * configure: Regenerate.
18553 * README: Remove i386 reference.
18554
b7a329a5
CD
185552013-04-06 Carlos O'Donell <carlos@redhat.com>
18556
18557 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
18558 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18559
bf0f50df
TS
185602013-04-05 Thomas Schwinge <thomas@codesourcery.com>
18561
ee091edf
TS
18562 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
18563 (lmsnanval): New variables.
18564 (F): Add conversion tests.
18565 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
18566 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
18567
a8b792d6
TS
18568 * stdio-common/tstdiomisc.c (F): Properly collect individual
18569 tests' results.
18570
a1cbf437
TS
18571 [BZ #14686, #15336]
18572 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
18573 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18574 Instead, use input NaN values or generate a qNaN by arithmetic
18575 operation. Also fix bugs to comply with the standard.
18576 * math/libm-test.inc (remainder_test): Add more tests.
18577
8b43a0c9
TS
18578 [BZ #15335, #15342]
18579 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
18580 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
18581 input NaN values or generate a qNaN by arithmetic operation.
18582
d91da4ce
TS
18583 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
18584 unreachable code.
18585
bf0f50df
TS
18586 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
18587 definitions.
18588
05e166c8
JM
185892013-04-03 Joseph Myers <joseph@codesourcery.com>
18590
18591 [BZ #14478]
18592 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
18593 underflowed result.
18594 * math/s_cexpf.c (__cexpf): Likewise.
18595 * math/s_cexpl.c (__cexpl): Likewise.
18596 * math/libm-test.inc (cexp_test): Add more tests.
18597
1cef1b19
AS
185982013-04-03 Andreas Schwab <schwab@suse.de>
18599
18600 [BZ #15330]
18601 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
18602 order arrays from heap if bigger than alloca cutoff.
18603
74d87055
TS
186042013-04-03 Thomas Schwinge <thomas@codesourcery.com>
18605
18606 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
18607 (SNAN_TESTS_double): Refer to GCC PR56831.
18608 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
18609 GCC PR56828.
18610
d755bba4
SP
186112013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18612
90d5d5bb
SP
18613 * Rules (bench): Move bench.out after the run is complete.
18614
73e0cd5d
SP
18615 * Rules (bench): Echo currently running benchmark.
18616
64aabd4b
SP
18617 * benchtests/Makefile (bench): Add atan and slowatan.
18618 * benchtests/atan-inputs: New file.
18619 * benchtests/slowatan-inputs: New file.
18620 * benchtests/slowatan.c: New file.
18621
c871eccd
SP
18622 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
18623 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
18624 its value.
18625
d755bba4
SP
18626 [BZ #15305]
18627 * sysdeps/unix/sysv/linux/kernel-features.h
18628 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
18629 __ASSUME_XFS_RESTRICTED_CHOWN.
18630 * sysdeps/unix/sysv/linux/pathconf.c
18631 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18632 Save and restore errno.
18633
52ce4860
JM
186342013-04-02 Joseph Myers <joseph@codesourcery.com>
18635
18636 [BZ #15327]
18637 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
18638 arguments using __kernel_casinh.
18639 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
18640 arguments using __kernel_casinhf.
18641 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
18642 arguments using __kernel_casinhl.
18643 * math/libm-test.inc (cacosh_test): Add more tests.
18644 * sysdeps/i386/fpu/libm-test-ulps: Update.
18645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18646
81f311c2
SP
186472013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18648
e7906a47
SP
18649 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
18650 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
18651
92e3664b
SP
18652 * bench/Makefile (bench): Add sin and slowsin.
18653 * benchtests/sin-inputs: New file.
18654 * benchtests/slowsin-inputs: New file.
18655 * benchtests/slowsin.c: New file.
18656
81f311c2
SP
18657 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
18658 (bench): Add slowexp and slowpow.
18659 (exp-ITER): Increase iterations.
18660 (pow-ITER): Likewise.
18661 * benchtests/exp-inputs: Change input.
18662 * benchtests/pow-inputs: Likewise.
18663 * benchtests/slowexp-inputs: New file.
18664 * benchtests/slowexp.c: New file.
18665 * benchtests/slowpow-inputs: New file.
18666 * benchtests/slowpow.c: New file.
18667
ab0f1aa9
AZ
186682013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18669
18670 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
18671 instructions.
18672 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18673 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
18674 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18675 * benchtests/Makefile: Add rint benchtest.
18676 * benchtests/rint-inputs: Input for rint benchtest.
18677
57267616
TS
186782013-04-02 Thomas Schwinge <thomas@codesourcery.com>
18679
18680 * Versions.def (libm): Add GLIBC_2.18.
18681 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
18682 hidden libm prototypes.
18683 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
18684 * math/Makefile (libm-calls): Add s_issignaling.
18685 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
18686 __issignalingf, __issignalingl. Adjust all libm.abilist files.
18687 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
18688 declaration.
18689 * math/math.h [__USE_GNU] (issignaling): New macro.
18690 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
18691 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
18692 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
18693 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
18694 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
18695 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
18696 * manual/arith.texi (issignaling): New section.
18697 * manual/libm-err-tab.pl (@all_functions): Update comment.
18698 * math/gen-libm-test.pl (parse_args): Apply special handling for
18699 issignaling.
18700 * math/libm-test.inc (print_float, issignaling_test): New
18701 functions.
18702 (check_float_internal): Add issignaling checks.
18703 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
18704 default definition.
18705 * sysdeps/powerpc/math-tests.h: New file.
18706 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
18707 tests.
18708 * math/test-snan.c (TEST_FUNC): Likewise.
18709
6142896d
DM
187102013-03-30 David S. Miller <davem@davemloft.net>
18711
18712 * po/de.po: Update from translation team.
18713
ccc8cadf
JM
187142013-03-30 Joseph Myers <joseph@codesourcery.com>
18715
18716 [BZ #10357]
18717 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18718 imaginary part less than 1.0 and real part less than 0.5
18719 specially.
18720 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18721 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18722 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
18723 (cacos_test): Add more tests.
18724 (casin_test): Likewise.
18725 (casinh_test): Likewise.
18726 * sysdeps/i386/fpu/libm-test-ulps: Update.
18727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18728
0f6a8d4b
SP
187292013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18730
0d1029de
SP
18731 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
18732 ONE with its value.
18733
c2d94018
SP
18734 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
18735 (__pow_mp): Replace ONE and MONE with their values.
18736 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18737 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
18738 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18739 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
18740 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18741 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18742
27ec37f1
SP
18743 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
18744
a64d7e0e
SP
18745 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
18746 (__pow_mp): Replace ZERO and MZERO with their values.
18747 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18748 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18749 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18750 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18751 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18752 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
18753 (__sqr): Likewise.
18754
d26dd3eb
SP
18755 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
18756
0f6a8d4b
SP
18757 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
18758
e57b0c61
RM
187592013-03-28 Roland McGrath <roland@hack.frob.com>
18760
18761 * include/stdlib.h [!SHARED] (__call_tls_dtors):
18762 Declare with __attribute__ ((weak)).
18763 * stdlib/exit.c (__libc_atexit) [!SHARED]:
18764 Call __call_tls_dtors only if it's not NULL.
18765
356b3480
RM
187662013-03-28 Roland McGrath <roland@hack.frob.com>
18767
288f7d79
RM
18768 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
18769 didn't do it already, then set _dl_phdr and _dl_phnum based on the
18770 magic __ehdr_start linker symbol if it's defined.
18771 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
18772 them up here if it was already done.
18773
dc0a0263
RM
18774 * elf/dl-support.c (_dl_phdr): Make pointer to const.
18775 (_dl_aux_init): Use const in cast when setting it.
18776 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
18777 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
18778 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
18779
3d3436ae
RM
18780 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
18781 Declare them here.
18782 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
18783 * csu/libc-tls.c: Nor here.
18784 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
18785
356b3480
RM
18786 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
18787 (__libc_message): Never call vsyslog.
18788
b0f1246a
AM
187892013-03-28 Alan Modra <amodra@gmail.com>
18790
18791 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
18792 Define as empty.
18793 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
18794 Likewise.
18795
fbbe2b9a
AZ
187962013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18797
18798 [BZ #15214]
18799 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
18800 underflow.
18801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18802
1728ab37
SP
188032013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18804
7a86be6e
SP
18805 [BZ #15304]
18806 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18807 Don't add gid passed as argument.
18808
1728ab37
SP
18809 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
18810
3a7182a1
JM
188112013-03-27 Joseph Myers <joseph@codesourcery.com>
18812
18813 [BZ #15307]
18814 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18815 imaginary part between 1.0 and 1.5 and real part less than 0.5
18816 specially.
18817 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18818 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18819 * math/libm-test.inc (cacos_test): Add more tests.
18820 (casin_test): Likewise.
18821 (casinh_test): Likewise.
18822 * sysdeps/i386/fpu/libm-test-ulps: Update.
18823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18824
6f2e90e7
SP
188252013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18826
5739f705
SP
18827 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
18828 constants.
18829 (norm): Likewise.
18830 (denorm): Likewise.
18831 (__dbl_mp): Likewise.
18832 (add_magnitudes): Likewise.
18833 (sub_magnitudes): Likewise.
18834 (__add): Likewise.
18835 (__sub): Likewise.
18836 (__mul): Likewise.
18837 (__sqr): Likewise.
18838 (__inv): Likewise.
18839 (__dvd): Likewise.
18840
e375e83d
SP
18841 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
18842 commented code.
18843 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
18844 (__dubcos): Likewise.
18845 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
18846 (__ieee754_acos): Likewise.
18847 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18848 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
18849 (__exp1): Likewise.
18850 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18851 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18852 (log1): Likewise.
18853 (my_log2): Likewise.
18854 (checkint): Likewise.
18855 * sysdeps/ieee754/dbl-64/e_remainder.c
18856 (__ieee754_remainder): Likewise.
18857 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18858 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18859 (bsloww): Likewise.
18860 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18861
6f2e90e7
SP
18862 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18863 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
18864 MANTISSA_STORE_T to store computations on mantissa. Use
18865 macros for rounding and division.
18866 (denorm): Likewise.
18867 (__dbl_mp): Likewise.
18868 (add_magnitudes): Likewise.
18869 (sub_magnitudes): Likewise.
18870 (__mul): Likewise.
18871 (__sqr): Likewise.
18872 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18873 powers of two in terms of TWOPOW macro.
18874 (mp_no): Make type of mantissa as MANTISSA_T.
18875 [!RADIXI]: Define RADIXI.
18876 [!TWO52]: Define TWO52.
18877 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18878
fce14d4e
AZ
188792013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18880
18881 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
18882 llroundl symbol when building for PPC32.
18883
9ad027fb
MW
188842013-03-24 Mark H Weaver <mhw@netris.org>
18885
18886 * manual/arith.texi (Normalization Functions): Fix prototypes for
18887 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
18888
e42a38dd
AZ
188892013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18890
18891 [BZ #13889]
18892 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
18893 high value to check if expl overflow.
18894 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
18895 to check for underflow and overflow.
18896 * math/libm-test.inc: Add exp test.
18897
2e0fb521
DL
188982013-03-21 Dmitry V. Levin <ldv@altlinux.org>
18899
18900 [BZ #11120]
18901 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
18902 with NOT_IN_libc.
18903
b5784d95
AZ
189042013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18905
18906 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
18907 symbol.
18908
5aa4a1a1
TS
189092013-03-21 Thomas Schwinge <thomas@codesourcery.com>
18910
bdef0be7
TS
18911 * math/gen-libm-test.pl (parse_args, special_functions): Properly
18912 wrap blocks consisting of several statements.
18913
5aa4a1a1
TS
18914 * sysdeps/generic/math-tests.h: New file.
18915 * sysdeps/i386/fpu/math-tests.h: Likewise.
18916 * math/test-snan.c: Include it.
18917 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
18918
98c48fe5
JM
189192013-03-21 Joseph Myers <joseph@codesourcery.com>
18920
18921 [BZ #15285]
18922 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
18923 (__ieee754_j0l): Do not improve calculations using cos of twice
18924 input for inputs above LDBL_MAX / 2.0L.
18925 (__ieee754_y0l): Likewise.
18926 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
18927 (__ieee754_j1l): Do not improve calculations using cos of twice
18928 input for inputs above LDBL_MAX / 2.0L.
18929 (__ieee754_y1l): Likewise.
18930 * math/libm-test.inc (j0_test): Add another test.
18931 (j1_test): Likewise.
18932 (y0_test): Likewise.
18933 (y1_test): Likewise.
18934 * sysdeps/i386/fpu/libm-test-ulps: Update.
18935
3775a8bc
SP
189362013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18937
18938 * Rules ($(objpfx)bench-%.c): Include code from a C source
18939 file.
18940
0a1b2ae6
JM
189412013-03-21 Joseph Myers <joseph@codesourcery.com>
18942
18943 [BZ #15287]
18944 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18945 imaginary part 1.0 and real part less than 0.5 specially.
18946 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18947 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18948 * math/libm-test.inc (cacos_test): Add more tests.
18949 (casin_test): Likewise.
18950 (casinh_test): Likewise.
18951 * sysdeps/i386/fpu/libm-test-ulps: Update.
18952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18953
b33d4ce4
SP
189542013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18955
18956 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
18957 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
18958
bef0b507
JM
189592013-03-20 Joseph Myers <joseph@codesourcery.com>
18960
18961 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
18962 * config.make.in (config-cflags-sse4): Remove variable.
18963 (config-cflags-avx): Likewise.
18964 (config-cflags-sse2avx): Likewise.
18965 (config-cflags-novzeroupper): Likewise.
18966 (config-asflags-i686): Likewise.
18967 (have-mfma4): Likewise.
18968 (have-as-vis3): Likewise.
18969 (MIG): Likewise.
18970 * configure.in (MIG): Do not AC_SUBST.
18971 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
18972 (libc_cv_cc_sse4): Do not AC_SUBST.
18973 (libc_cv_cc_avx): Likewise.
18974 (libc_cv_cc_sse2avx): Likewise.
18975 (libc_cv_cc_novzeroupper): Likewise.
18976 (libc_cv_cc_fma4): Likewise.
18977 (libc_cv_as_i686): Likewise.
18978 (libc_cv_sparc_as_vis3): Likewise.
18979 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
18980 LIBC_CONFIG_VAR.
18981 (config-asflags-i686): Likewise.
18982 (config-cflags-avx): Likewise.
18983 (config-cflags-sse2avx): Likewise.
18984 (have-mfma4): Likewise.
18985 (config-cflags-novzeroupper): Likewise.
18986 * sysdeps/mach/configure.in (MIG): Likewise.
18987 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
18988 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
18989 LIBC_CONFIG_VAR.
18990 (config-cflags-avx): Likewise.
18991 (config-cflags-sse2avx): Likewise.
18992 (have-mfma4): Likewise.
18993 (config-cflags-novzeroupper): Likewise.
18994 * configure: Regenerated.
18995 * sysdeps/i386/configure: Likewise.
18996 * sysdeps/mach/configure: Likewise.
18997 * sysdeps/sparc/configure: Likewise.
18998 * sysdeps/x86_64/configure: Likewise.
18999
912cc4b3
RM
190002013-03-20 Roland McGrath <roland@hack.frob.com>
19001
19002 [BZ #14812]
19003 * locale/programs/localedef.c (options): Put N_ translation marker
19004 on argument names, not just descriptions.
19005
04eed2b0
MS
190062013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19007
19008 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19009
a065ceff
OB
190102013-03-20 Ondřej Bílka <neleai@seznam.cz>
19011
9bb2a810 19012 [BZ #14176]
a065ceff
OB
19013 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19014
a600e5ce
RM
190152013-03-19 Roland McGrath <roland@hack.frob.com>
19016
19017 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19018 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19019 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19020 [!BEFORE_ABORT] (before_abort): New function.
19021 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19022 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19023 (writev_for_fatal): New function.
19024 (WRITEV_FOR_FATAL): New macro; call that.
19025 (backtrace_and_maps): New function.
19026 (BEFORE_ABORT): New macro; call that.
19027 (struct str_list): Type removed.
19028 (__libc_message, __libc_fatal): Functions removed.
19029 Include <sysdeps/posix/libc_fatal.c> instead.
19030
6b18bea6
JM
190312013-03-19 Joseph Myers <joseph@codesourcery.com>
19032
19033 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19034 constants.
19035 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19036 double constants.
19037
aaa8cb4b
AS
190382013-03-19 Andreas Schwab <schwab@suse.de>
19039
44673770
AS
19040 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19041 * sysdeps/gnu/configure: Regenerate.
19042
aaa8cb4b
AS
19043 * configure.in: Substitute libc_cv_rtlddir.
19044 * configure: Regenerate.
19045 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19046 * Makeconfig (rtlddir, inst_rtlddir): New variables.
19047 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19048 * elf/Makefile (install-others, CFLAGS-interp.c)
19049 (ldso_install, common-ldd-rewrite): Likewise.
19050 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19051 $(inst_slibdir)/$(rtld-installed-name).
19052 * scripts/rellns-sh: Add -p option.
19053 * Makerules (make-shlib-link): Use rellns-sh to get relative name
19054 for source.
19055
d3cfc668
SP
190562013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19057
19058 * manual/nptl.texi: Renamed to ...
19059 * manual/threads.texi: ... this.
19060 * manual/Makefile (chapters): Update.
19061
0e2b9cdd
RM
190622013-03-18 Roland McGrath <roland@hack.frob.com>
19063
19064 [BZ #14812]
19065 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19066 on argument names, not just descriptions.
0e2b9cdd
RM
19067 * malloc/memusagestat.c (options): Likewise.
19068 * nss/getent.c (options): Likewise.
63270c24
RM
19069
190702013-03-18 Benno Schulenberg <bensberg@justemail.net>
19071
19072 [BZ #14812]
19073 * iconv/iconv_prog.c (options): Put N_ translation marker
19074 on argument names, not just descriptions.
19075 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 19076
b2e1393c
OB
190772013-03-18 Ondrej Bilka <neleai@seznam.cz>
19078
19079 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19080 implementation which is faster on all x86_64 architectures.
19081 Tested on AMD, Intel Nehalem, SNB, IVB.
19082 * sysdeps/x86_64/strnlen.S: Likewise.
19083
19084 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19085 Remove all multiarch strlen and strnlen versions.
19086 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19087 Remove strlen and strnlen related parts.
19088
19089 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19090 Inline strlen part.
19091 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19092
19093 * sysdeps/x86_64/multiarch/strlen.S: Remove.
19094 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19095 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19096 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19097 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19098 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19099
ec4ff04d
CD
191002013-03-17 Carlos O'Donell <carlos@redhat.com>
19101
19102 * manual/memory.texi (Malloc Tunable Parameters):
19103 Sort parameters alphabetically. Add comments for missing entries.
19104
cd18e90a
DM
191052013-03-17 David S. Miller <davem@davemloft.net>
19106
19107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19108
2a185d32
JM
191092013-03-16 Joseph Myers <joseph@codesourcery.com>
19110
d2f9799e
JM
19111 [BZ #15283]
19112 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19113 for arguments at most half maximum finite value.
19114 * math/libm-test.inc (j0_test): Add more tests.
19115 (j1_test): Likewise.
19116 (y0_test): Likewise.
19117 (y1_test): Likewise.
19118 * sysdeps/i386/fpu/libm-test-ulps: Update.
19119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19120
2a185d32
JM
19121 [BZ #14155]
19122 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19123 1 / x and functions P and Q for arguments above 0x1p256L.
19124 (__ieee754_y0l): Likewise.
19125 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19126 (__ieee754_y1l): Likewise.
19127 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19128 (j1_test): Likewise.
19129 (y0_test): Likewise.
19130 (y1_test): Likewise.
19131
6cbec759
TS
191322013-03-16 Thomas Schwinge <thomas@codesourcery.com>
19133
19134 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19135 variable.
19136
bc16e260
RM
191372013-03-15 Roland McGrath <roland@hack.frob.com>
19138
aefc9b8c
RM
19139 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19140 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19141 zero since it's initialized to EXEC_PAGESIZE.
19142
bc16e260
RM
19143 * sysdeps/unix/sysv/linux/ldsodefs.h
19144 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19145 * sysdeps/generic/ldsodefs.h: ... here.
19146
a57da955
TS
191472013-03-15 Thomas Schwinge <thomas@codesourcery.com>
19148
af00a34d
TS
19149 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19150
495ded2c
TS
19151 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19152 math/test-snan.c.
19153 * math/test-snan.c: Renamed from
19154 sysdeps/powerpc/fpu/test-powerpc-snan.c.
19155 * math/Makefile (tests): Add test-snan.
19156 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19157 test-powerpc-snan.
19158
777b0332
TS
19159 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19160 SUFFIX. Initialize qNaN_var with __builtin_nan family of
19161 functions.
19162 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
19163 __builtin_nan family of functions.
19164 * math/libm-test.inc (initialize): Initialize qnan_value with
19165 __builtin_nan family of functions.
19166 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19167 Remove variables.
19168 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19169 Remove functions.
19170 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
19171 storage class. Initialize qNaN_var and sNaN_var with
19172 __builtin_nan and __builtin_nans families of functions,
19173 respectively.
19174
64d063b8
TS
19175 * math/libm-test.inc (acosh_test): Also test with qNaN input.
19176 (sqrt_test): Remove duplicate test with qNaN input.
19177 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19178 (round_test, signbit_test, significand_test): Note missing +/-Inf
19179 as well as qNaN tests.
19180
67e971f1
TS
19181 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19182 qNaN_var. Fix a few strings, too.
19183 * math/libm-test.inc (nan_value): Rename to qnan_value.
19184 * math/gen-libm-test.pl (%beautify): Adjust to that.
19185 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19186 * math/test-misc.c (main): Likewise.
19187 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19188 to __qnan_bytes, and __qnan_union, respectively.
19189 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19190 Likewise.
19191 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19192 and lqnanval, respectively.
19193 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19194 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19195 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19196 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19197
64487e12
TS
19198 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19199 * math/test-misc.c (main) [__x86_64__]: Enable test for long
19200 doubles.
19201
e015e27b
TS
19202 * math/test-misc.c (main): Fix copy'n'pastos.
19203 * misc/tst-efgcvt.c (special): Likewise.
19204
a57da955
TS
19205 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19206 Remove declarations.
19207
1e380345
SP
192082013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19209
19210 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19211 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19212 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19213 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19214
ef26eece
AZ
192152013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19216
19217 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19218 macro to return vdso values correctly in IFUNC implementations.
19219 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19220 Optimization by using IFUNC.
19221
8cfdb7e0
SP
192222013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19223 Richard Henderson <rth@redhat.com>
19224 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19225
19226 * Makefile.in (bench): New target.
19227 * NEWS: Mention the benchmark framework.
19228 * Rules (bench): Likewise.
19229 (binaries-bench): Generate binaries for functions to
19230 benchmark.
19231 * benchtests/Makefile: New makefile for benchmark tests.
19232 * benchtests/bench-skeleton.c: New skeleton file for benchmark
19233 programs.
19234 * benchtests/exp-inputs: New input file for EXP function.
19235 * benchtests/pow-inputs: New input file for POW function.
19236 * scripts/bench.pl: New script to generate source files for
19237 benchmark programs.
19238
bcda9880
SP
192392013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19240
d22ca8cd
SP
19241 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19242 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19243 computations on mantissa. Use macros for rounding and
19244 division.
19245 (denorm): Likewise.
19246 (__dbl_mp): Likewise.
19247 (add_magnitudes): Likewise.
19248 (sub_magnitudes): Likewise.
19249 (__mul): Likewise.
19250 (__sqr): Likewise.
19251 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19252 powers of two in terms of TWOPOW macro.
19253 (mp_no): Make type of mantissa as MANTISSA_T.
19254 [!RADIXI]: Define RADIXI.
19255 [!TWO52]: Define TWO52.
19256 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19257
bcda9880
SP
19258 * manual/nptl.texi (cindex): Modify threads to pthreads.
19259
06d5adfb
JM
192602013-03-15 Joseph Myers <joseph@codesourcery.com>
19261
19262 * sysdeps/x86_64/preconfigure: Regenerated.
19263
41c7328e
JM
192642013-03-14 Joseph Myers <joseph@codesourcery.com>
19265
19266 [BZ #14155]
19267 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19268 0x1p28 and above.
19269 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19270 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19271 0x1p28 and above.
19272 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19273 * math/libm-test.inc (j0_test): Do not allow one spurious
19274 underflow exception.
19275 (y1_test): Likewise.
19276
e25cfa60
SP
192772013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19278
0409959c
SP
19279 * manual/Makefile (chapters): Add nptl.
19280 * manual/debug.texi (Debugging Support): Add link to Threads
19281 chapter.
19282 * manual/nptl.texi: New file.
19283
e25cfa60
SP
19284 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19285
58a1335e
PB
192862013-03-14 Petr Baudis <pasky@ucw.cz>
19287
19288 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19289 for non-NULL pointer before the memory validity test. Pointed
19290 out by Holger Brunck <holger.brunck@keymile.com>.
19291
9dc7c64f
AS
192922013-03-13 Andreas Schwab <schwab@suse.de>
19293
19294 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19295 instead of .os.
19296
54206aa6
JM
192972013-03-13 Joseph Myers <joseph@codesourcery.com>
19298
19299 * timezone/zic.c: Update from tzcode 2013b.
19300
e98cdb38
CD
193012013-03-12 Carlos O'Donell <carlos@redhat.com>
19302
19303 * manual/install.texi (Configuring and compiling):
19304 Mention i686 and i586.
19305 * INSTALL: Regenerate.
19306
9967e003
RM
193072013-03-12 Roland McGrath <roland@hack.frob.com>
19308
19309 * sysdeps/init_array/elf-init.c: New file.
19310 * csu/elf-init.c
19311 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19312 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19313
19314 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19315 __gmon_start__ as global, but as static with a .preinit_array pointer.
19316 * sysdeps/init_array/gmon-start.c: New file. Use that.
19317 * sysdeps/init_array/crti.S: New file, empty except for comments.
19318 * sysdeps/init_array/crtn.S: Likewise.
19319
e6b5a293 193202013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
19321
19322 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19323 definining bcopy.
80f844c9
OB
19324 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19325 Remove Prefer_SSE_for_memop.
19326 * sysdeps/x86_64/multiarch/init-arch.h: Remove
19327 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19328 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
19329 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19330 memset-x86-64.
80f844c9 19331 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 19332 Remove bzero, memset ifunc support.
80f844c9
OB
19333 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19334 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19335 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19336 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19337
fb6b0fcb
AS
193382013-03-11 Andreas Schwab <schwab@suse.de>
19339
19340 [BZ #15234]
19341 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19342 by SHLIB_COMPAT.
19343 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19344 (GLIBC_2.16): Remove pthread_atfork.
19345
3e6bd4b1
PP
193462013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
19347
19348 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19349 (ptestcases.h): Likewise.
19350
222d7f00
RM
193512013-03-08 Roland McGrath <roland@hack.frob.com>
19352
19353 * Makeconfig ($(common-objpfx)config.status): Depend on
19354 sysdeps/*/preconfigure{,.in} too.
19355
1ba4f030
JM
193562013-03-08 Joseph Myers <joseph@codesourcery.com>
19357
a222d91a
JM
19358 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19359 (__free_hook): Use void * instead of __malloc_ptr_t.
19360 (__malloc_hook): Likewise.
19361 (__realloc_hook): Likewise.
19362 (__memalign_hook): Likewise.
19363 (__after_morecore_hook): Likewise.
19364 * malloc/arena.c (save_malloc_hook): Likewise.
19365 (save_free_hook): Likewise.
19366 * malloc/hooks.c (malloc_hook_ini): Likewise.
19367 (realloc_hook_ini): Likewise.
19368 (memalign_hook_ini): Likewise.
19369 * malloc/malloc.c (malloc_hook_ini): Likewise.
19370 (realloc_hook_ini): Likewise.
19371 (memalign_hook_ini): Likewise.
19372 (__free_hook): Likewise.
19373 (__malloc_hook): Likewise.
19374 (__realloc_hook): Likewise.
19375 (__memalign_hook): Likewise.
19376 (__libc_malloc): Likewise.
19377 (__libc_free): Likewise.
19378 (__libc_realloc): Likewise.
19379 (__libc_memalign): Likewise.
19380 (__libc_valloc): Likewise.
19381 (__libc_pvalloc): Likewise.
19382 (__libc_calloc): Likewise.
19383 (__posix_memalign): Likewise.
19384 * malloc/morecore.c (__sbrk): Likewise.
19385 (__default_morecore): Likewise.
19386
5cc45e10
JM
19387 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19388
dd54b864
JM
19389 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19390 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19391 __malloc_ptrdiff_t.
19392
1ba4f030
JM
19393 * malloc/malloc.h (__malloc_size_t): Remove macro.
19394 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19395 __malloc_size_t.
19396 (old_memalign_hook): Likewise.
19397 (old_realloc_hook): Likewise.
19398 (struct hdr): Likewise.
19399 (flood): Likewise.
19400 (mallochook): Likewise.
19401 (memalignhook): Likewise.
19402 (reallochook): Likewise.
19403 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19404 (tr_old_realloc_hook): Likewise.
19405 (tr_old_memalign_hook): Likewise.
19406 (tr_mallochook): Likewise.
19407 (tr_reallochook): Likewise.
19408 (tr_memalignhook): Likewise.
19409
edf66e57
AZ
194102013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19411
19412 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19413 default_ldbl_pack and using as default implementation.
19414 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19415 implementation.
19416 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19417 redundant definition.
19418 (ldbl_insert_mantissa): Likewise.
19419 (ldbl_canonicalize): Likewise.
19420 (ldbl_nearbyint): Likewise.
19421 (ldbl_pack): Rename to ldbl_pack_ppc.
19422 (ldbl_unpack): Rename to ldbl_unpack_ppc.
19423 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19424 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19425
6d9145d8
SP
194262013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19427
19428 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19429 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19430 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19431 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19432 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19433 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19434 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19435 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19436
4dd4e157
AJ
194372013-03-07 Andreas Jaeger <aj@suse.de>
19438
19439 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19440 bits/mman-linux.h.
19441
adbb8027
SP
194422013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19443
ce544b5b
SP
19444 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19445 Include mpa.h and declare __MPEXP.
19446 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19447 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19448 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19449 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19450 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19451 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19452 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19453
4cc149fd
SP
19454 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19455 (__slowpow): Use long double EXPL and LOGL functions to
19456 compute POW.
19457 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19458 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19459 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19460 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19461 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19462 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19463
e6ebd4a7
SP
19464 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19465 intermediate variable to calculate exponent.
19466 (__sqr): Likewise.
19467 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19468 Likewise.
19469 (__sqr): Likewise.
19470
82a9811d
SP
19471 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19472 [!NO__SQR]: Define __sqr.
19473 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19474 and NO__SQR. Remove all code except __mul and __sqr. Include
19475 sysdeps/ieee754/dbl-64/mpa.c.
19476 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19477
adbb8027
SP
19478 [BZ #12723]
19479 * posix/Makefile (tests): Add tst-pathconf.
19480 * posix/tst-pathconf.c: New test case.
19481 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19482 _PC_PIPE_BUF.
19483 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19484
39120df9
PF
194852013-03-06 Patsy Franklin <pfrankli@redhat.com>
19486
19487 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19488
67525cb8
AJ
194892013-03-06 Andreas Jaeger <aj@suse.de>
19490
664a9ce4
AJ
19491 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19492 definition via __MAP_ANONYMOUS.
19493
8e39047d
AJ
19494 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19495 it's not part of Linux headers.
19496
67525cb8
AJ
19497 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19498 (MAP_HUGE_MASK): Define.
19499
19500 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19501 Define.
19502 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19503 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19504 Define.
19505 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19506 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19507 Define.
19508 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19509 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
19510 Define.
19511 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19512
19513 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
19514 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
19515 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
19516 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
19517 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
19518 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
19519
19520 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19521 Handle f2fs.
19522
19523 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19524 Handle f2fs and efivarfs.
19525
19526 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
19527 f2fs.
19528
19529 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
19530 (EFIVARFS_MAGIC): Add.
19531 (F2FS_LINK_MAX): Add.
19532
e1b42695
PP
195332013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19534
19535 * stdio-common/vfprintf.c: Replace __builtin_expect with
19536 __glibc_unlikely.
19537
2d67d91a
JM
195382013-03-06 Joseph Myers <joseph@codesourcery.com>
19539
19540 [BZ #13550]
19541 * sysdeps/generic/bp-sym.h: Remove file.
19542 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
19543 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
19544 <bp-sym.h> and <bp-asm.h>.
19545 (__longjmp): Don't use BP_SYM.
19546 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
19547 and <bp-asm.h>.
19548 (memcpy): Don't use BP_SYM.
19549 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
19550 <bp-sym.h> and <bp-asm.h>.
19551 (memcpy): Don't use BP_SYM.
19552 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
19553 <bp-asm.h>.
19554 (memcpy): Don't use BP_SYM.
19555 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
19556 <bp-asm.h>.
19557 (memset): Don't use BP_SYM.
19558 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19559 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19560 (__bzero): Don't use BP_SYM.
19561 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19562 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19563 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
19564 <bp-sym.h> and <bp-asm.h>.
19565 (memcmp): Don't use BP_SYM. Remove comment about bounded
19566 pointers.
19567 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
19568 <bp-sym.h> and <bp-asm.h>.
19569 (memcpy): Don't use BP_SYM.
19570 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
19571 <bp-sym.h> and <bp-asm.h>.
19572 (memset): Don't use BP_SYM.
19573 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19574 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19575 (__bzero): Don't use BP_SYM.
19576 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19577 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19578 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
19579 <bp-sym.h> and <bp-asm.h>.
19580 (strncmp): Don't use BP_SYM. Remove comment about bounded
19581 pointers.
19582 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
19583 <bp-sym.h> and <bp-asm.h>.
19584 (memcpy): Don't use BP_SYM.
19585 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
19586 <bp-sym.h> and <bp-asm.h>.
19587 (memset): Don't use BP_SYM.
19588 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19589 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19590 (__bzero): Don't use BP_SYM.
19591 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19592 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19593 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
19594 <bp-sym.h> and <bp-asm.h>.
19595 (__memchr): Don't use BP_SYM.
19596 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
19597 <bp-sym.h> and <bp-asm.h>.
19598 (memcmp): Don't use BP_SYM. Remove comment about bounded
19599 pointers.
19600 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
19601 <bp-sym.h> and <bp-asm.h>.
19602 (memcpy): Don't use BP_SYM.
19603 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
19604 <bp-sym.h> and <bp-asm.h>.
19605 (__mempcpy): Don't use BP_SYM.
19606 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
19607 <bp-sym.h> and <bp-asm.h>.
19608 (__memrchr): Don't use BP_SYM.
19609 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
19610 <bp-sym.h> and <bp-asm.h>.
19611 (memset): Don't use BP_SYM.
19612 (__bzero): Likewise.
19613 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
19614 <bp-sym.h> and <bp-asm.h>.
19615 (__rawmemchr): Don't use BP_SYM.
19616 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
19617 <bp-sym.h> and <bp-asm.h>.
19618 (__STRCMP): Don't use BP_SYM.
19619 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
19620 <bp-sym.h> and <bp-asm.h>.
19621 (strchr): Don't use BP_SYM.
19622 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
19623 <bp-sym.h> and <bp-asm.h>.
19624 (__strchrnul): Don't use BP_SYM.
19625 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
19626 <bp-sym.h> and <bp-asm.h>.
19627 (strlen): Don't use BP_SYM.
19628 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
19629 <bp-sym.h> and <bp-asm.h>.
19630 (strncmp): Don't use BP_SYM. Remove comment about bounded
19631 pointers.
19632 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
19633 <bp-sym.h> and <bp-asm.h>.
19634 (__strnlen): Don't use BP_SYM.
19635 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
19636 <bp-sym.h> and <bp-asm.h>.
19637 (__GI__setjmp): Don't use BP_SYM.
19638 (_setjmp): Likewise.
19639 (__sigsetjmp): Likewise.
19640 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
19641 (L(start_addresses)): Don't use BP_SYM.
19642 (_start): Likewise.
19643 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
19644 <bp-asm.h>.
19645 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
19646 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
19647 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19648 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19649 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
19650 <bp-asm.h>.
19651 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
19652 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
19653 about bounded pointers.
19654 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19655 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19656 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
19657 <bp-asm.h>.
19658 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19659 about bounded pointers. Remove GKM FIXME comments.
19660 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19661 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
19662 <bp-asm.h>.
19663 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
19664 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
19665 Remove GKM FIXME comments.
19666 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19667 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19668 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
19669 <bp-asm.h>.
19670 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19671 about bounded pointers. Remove GKM FIXME comment.
19672 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
19673 and <bp-asm.h>.
19674 (strncmp): Don't use BP_SYM. Remove comment about bounded
19675 pointers.
19676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
19677 <bp-sym.h> and <bp-asm.h>.
19678 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
19680 <bp-sym.h> and <bp-asm.h>.
19681 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19682 comment.
19683
cdcf361f
PP
196842013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19685
19686 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
19687 call free(NULL).
19688
3c4a2b15
DM
196892013-03-05 David S. Miller <davem@davemloft.net>
19690
19691 * po/es.po: Update from translation team.
19692
cdcf361f 196932013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
19694
19695 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
19696 <bits/mman-linux.h>.
19697 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19698 is fine.
19699 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
19700 <bits/mman-linux.h> to end of file.
19701 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19702 is fine.
19703 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
19704 <bits/mman-linux.h> to end of file.
19705 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19706 is fine.
19707 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
19708 <bits/mman-linux.h> to end of file.
19709
19710 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
19711 (MCL_CURRENT, MCL_FUTURE): Define here.
19712
5f67c04f
AK
197132013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19714
8a4473cc 19715 [BZ #15232]
5f67c04f
AK
19716 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
19717 attribute_hidden.
19718 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19719
c3e94a95
AK
197202013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19721
19722 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
19723 fourth parameter needed for rt_sigprocmask syscall.
19724 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19725 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19726 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19727 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19728 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19729 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
19730
cfb6382a
JM
197312013-03-04 Joseph Myers <joseph@codesourcery.com>
19732
19733 [BZ #13550]
19734 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
19735 comment about bounded pointers.
19736 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
19737 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
19738
539d8e01
AJ
197392013-03-04 Andreas Jaeger <aj@suse.de>
19740
19741 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
19742 common definitions.
19743
19744 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
19745 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
19746 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
19747 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19748 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
19749 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19750
2e167a70 197512013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
19752
19753 [BZ #15055]
19754 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19755 __ieee754_sqrl instead of __sqrl.
19756
68508633
JM
197572013-03-01 Joseph Myers <joseph@codesourcery.com>
19758
19759 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
19760 * sysdeps/powerpc/fpu_control.h: ... here.
19761 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
19762 * sysdeps/powerpc/bits/fenvinline.h: ... here.
19763 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
19764 * sysdeps/powerpc/bits/mathinline.h: ... here.
19765
7775448e
RM
197662013-03-01 Roland McGrath <roland@hack.frob.com>
19767
19768 * elf/dl-hwcaps.c (_dl_important_hwcaps):
19769 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
19770 to just [NEED_DL_SYSINFO_DSO].
19771 * elf/dl-support.c: Likewise.
19772 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19773 * elf/rtld.c (dl_main): Likewise.
19774 * elf/setup-vdso.h (setup_vdso): Likewise.
19775 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
19776 * sysdeps/unix/sysv/linux/dl-sysdep.c
19777 (_dl_discover_osversion): Likewise.
19778
4e9b5995
CD
197792013-03-01 Carlos O'Donell <carlos@redhat.com>
19780
19781 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
19782 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19783
e23872c8
SP
197842013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
19785
e5c74c63
SP
19786 * NEWS: Mention libm performance improvements and non-x86 PI
19787 futex support.
19788
e23872c8
SP
19789 * csu/libc-start.c (__pthread_initialize_minimal): Change
19790 function arguments.
19791 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19792
b5510883
JM
197932013-02-28 Joseph Myers <joseph@codesourcery.com>
19794
19795 [BZ #13550]
19796 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
19797 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
19798 <bp-sym.h> and <bp-asm.h>.
19799 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19800 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
19801 and <bp-asm.h>.
19802 (memcpy): Don't use BP_SYM.
19803 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
19804 <bp-asm.h>.
19805 (__mpn_add_n): Don't use BP_SYM.
19806 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
19807 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
19808 and <bp-asm.h>.
19809 (__mpn_addmul_1): Don't use BP_SYM.
19810 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19811 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
19812 <bp-sym.h>.
19813 (_setjmp): Don't use BP_SYM.
19814 (__novmx_setjmp): Likewise.
19815 (__GI__setjmp): Likewise.
19816 (__vmx_setjmp): Likewise.
19817 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
19818 <bp-sym.h>.
19819 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
19820 (__bzero): Don't use BP_SYM.
19821 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19822 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19823 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
19824 <bp-sym.h> and <bp-asm.h>.
19825 (memcpy): Don't use BP_SYM.
19826 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
19827 <bp-sym.h> and <bp-asm.h>.
19828 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19829 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
19830 <bp-sym.h> and <bp-asm.h>.
19831 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19832 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
19833 <bp-asm.h>.
19834 (__mpn_lshift): Don't use BP_SYM.
19835 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19836 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
19837 <bp-asm.h>.
19838 (memset): Don't use BP_SYM.
19839 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19840 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19841 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
19842 <bp-asm.h>.
19843 (__mpn_mul_1): Don't use BP_SYM.
19844 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19845 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
19846 <bp-sym.h> and <bp-asm.h>.
19847 (memcmp): Don't use BP_SYM.
19848 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
19849 <bp-sym.h> and <bp-asm.h>.
19850 (memcpy): Don't use BP_SYM.
19851 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
19852 <bp-sym.h> and <bp-asm.h>.
19853 (memset): Don't use BP_SYM.
19854 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
19855 <bp-sym.h> and <bp-asm.h>.
19856 (strncmp): Don't use BP_SYM.
19857 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
19858 <bp-sym.h> and <bp-asm.h>.
19859 (memcpy): Don't use BP_SYM.
19860 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
19861 <bp-sym.h> and <bp-asm.h>.
19862 (memset): Don't use BP_SYM.
19863 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
19864 <bp-sym.h> and <bp-asm.h>.
19865 (__memchr): Don't use BP_SYM.
19866 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
19867 <bp-sym.h> and <bp-asm.h>.
19868 (memcmp): Don't use BP_SYM.
19869 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
19870 <bp-sym.h> and <bp-asm.h>.
19871 (memcpy): Don't use BP_SYM.
19872 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
19873 <bp-sym.h> and <bp-asm.h>.
19874 (__mempcpy): Don't use BP_SYM.
19875 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
19876 <bp-sym.h> and <bp-asm.h>.
19877 (__memrchr): Don't use BP_SYM.
19878 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
19879 <bp-sym.h> and <bp-asm.h>.
19880 (memset): Don't use BP_SYM.
19881 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
19882 <bp-sym.h> and <bp-asm.h>.
19883 (__rawmemchr): Don't use BP_SYM.
19884 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
19885 <bp-sym.h> and <bp-asm.h>.
19886 (__STRCMP): Don't use BP_SYM.
19887 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
19888 <bp-sym.h> and <bp-asm.h>.
19889 (strchr): Don't use BP_SYM.
19890 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
19891 <bp-sym.h> and <bp-asm.h>.
19892 (__strchrnul): Don't use BP_SYM.
19893 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
19894 <bp-sym.h> and <bp-asm.h>.
19895 (strlen): Don't use BP_SYM.
19896 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
19897 <bp-sym.h> and <bp-asm.h>.
19898 (strncmp): Don't use BP_SYM.
19899 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
19900 <bp-sym.h> and <bp-asm.h>.
19901 (__strnlen): Don't use BP_SYM.
19902 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
19903 <bp-asm.h>.
19904 (__mpn_rshift): Don't use BP_SYM.
19905 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19906 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
19907 <bp-sym.h> and <bp-asm.h>.
19908 (__sigsetjmp): Don't use BP_SYM.
19909 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
19910 (L(start_addresses)): Don't use BP_SYM.
19911 (_start): Likewise.
19912 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
19913 <bp-asm.h>.
19914 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
19915 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19916 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19917 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
19918 <bp-asm.h>.
19919 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
19920 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19921 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19922 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
19923 <bp-asm.h>.
19924 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19925 comments.
19926 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19927 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
19928 <bp-asm.h>.
19929 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
19930 FIXME comments.
19931 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19932 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19933 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
19934 <bp-asm.h>.
19935 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19936 comment.
19937 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
19938 and <bp-asm.h>.
19939 (strncmp): Don't use BP_SYM,
19940 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
19941 <bp-asm.h>.
19942 (__mpn_sub_n): Don't use BP_SYM.
19943 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19944 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
19945 and <bp-asm.h>.
19946 (__mpn_submul_1): Don't use BP_SYM.
19947 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
19949 <bp-sym.h> and <bp-asm.h>.
19950 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
19952 <bp-sym.h> and <bp-asm.h>.
19953 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19954 comment.
19955
8d19fe64
SP
199562013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19957
19958 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
19959 Use ZK to minimize writes to Z.
19960 (sub_magnitudes): Simplify code a bit.
19961 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
19962 Use ZK to minimize writes to Z.
19963 (sub_magnitudes): Simplify code a bit.
19964
85bd816a
RM
199652013-02-27 Roland McGrath <roland@hack.frob.com>
19966
19967 * csu/gmon-start.c: Add special exception to license text.
19968
b5977bf2
RH
199692013-02-27 Richard Henderson <rth@redhat.com>
19970
19971 * scripts/config.guess: Update from config.git.
19972 * scripts/config.sub: Likewise.
19973
11d6e2f2
SP
199742013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19975
09c14ed2
SP
19976 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
19977
a688864e
SP
19978 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
19979
6295157a
SP
19980 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
19981
b8de2202
SP
19982 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
19983
11d6e2f2
SP
19984 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
19985
7e80ddb8
RM
199862013-02-26 Roland McGrath <roland@hack.frob.com>
19987
19988 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
19989 [$(build-shared = yes].
7e80ddb8 19990
7da6d9ed
SP
199912013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19992
45f05884
SP
19993 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
19994 (__mul): Reduce iterations for calculating mantissa.
19995
2236d359
SP
19996 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
19997 MPTWO.
19998 (__mpranred): Likewise.
19999
7da6d9ed
SP
20000 [BZ #15160]
20001 * malloc/memusagestat.c (main): Draw graphs for heap and stack
20002 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20003
b7688c42
PE
200042013-02-26 Paul Eggert <eggert@cs.ucla.edu>
20005
20006 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20007 Define __attribute__.
20008
53a5c423
SP
200092013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20010
20011 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20012 unused.
20013 * posix/regex_internal.h (__attribute): Remove.
20014 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20015 (re_string_context_at): Likewise.
20016 (bitset_not): Use __attribute__ and mark function as possibly
20017 unused.
20018 (bitset_merge): Likewise.
20019 (bitset_mask): Likewise.
20020 (re_string_char_size_at): Likewise.
20021 (re_string_wchar_at): Likewise.
20022 (re_string_elem_size_at): Likewise.
20023
60f5a8b5
SP
200242013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20025
2a983a2e
SP
20026 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20027 code.
20028 (cc32): Likewise.
20029
e69804d1
SP
20030 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20031 (__acr): Likewise.
20032 (__cpy): Likewise.
20033 (norm): Likewise.
20034 (denorm): Likewise.
20035 (__dbl_mp): Likewise.
20036 (add_magnitudes): Likewise.
20037 (sub_magnitudes): Likewise.
20038 (__mul): Likewise.
20039 (__inv): Likewise.
20040
2f22a1e8
SP
20041 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20042 style.
20043
8930ddc7
SP
20044 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20045 style.
20046
dc60cb11
SP
20047 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20048 code.
20049
60f5a8b5
SP
20050 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20051 up changes with default code.
20052 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20053 Likewise.
20054
b4d1fd33
AM
200552013-02-24 Allan McRae <allan@archlinux.org>
20056
faf6f8bc
AM
20057 * manual/socket.texi (The Internet Namespace): Order menu items
20058 to match that in the file.
20059
b4d1fd33
AM
20060 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20061 node listing of the info page menu.
20062
2366713d
JM
200632013-02-21 Joseph Myers <joseph@codesourcery.com>
20064
20065 [BZ #13550]
20066 * sysdeps/i386/bp-asm.h: Remove file.
20067 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20068 (PARMS): Do not use macros from bp-asm.h.
20069 (S1): Likewise.
20070 (S2): Likewise.
20071 (SIZE): Likewise.
20072 (__mpn_add_n): Do not use BP_SYM
20073 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20074 "bp-asm.h".
20075 (PARMS): Do not use macros from bp-asm.h.
20076 (S1): Likewise.
20077 (SIZE): Likewise.
20078 (__mpn_addmul_1): Do not use BP_SYM
20079 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20080 "bp-asm.h".
20081 (PARMS): Do not use macros from bp-asm.h.
20082 (SIGMSK): Likewise.
20083 (_setjmp): Likewise. Do not use BP_SYM.
20084 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20085 "bp-asm.h".
20086 (PARMS): Do not use macros from bp-asm.h.
20087 (SIGMSK): Likewise.
20088 (setjmp): Likewise. Do not use BP_SYM.
20089 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20090 "bp-asm.h".
20091 (PARMS): Do not use macros from bp-asm.h.
20092 (__frexp): Do not use BP_SYM.
20093 (frexp): Likewise.
20094 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20095 "bp-asm.h".
20096 (PARMS): Do not use macros from bp-asm.h.
20097 (__frexpf): Do not use BP_SYM.
20098 (frexpf): Likewise.
20099 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20100 "bp-asm.h".
20101 (PARMS): Do not use macros from bp-asm.h.
20102 (__frexpl): Do not use BP_SYM.
20103 (frexpl): Likewise.
20104 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20105 "bp-asm.h".
20106 (PARMS): Do not use macros from bp-asm.h.
20107 (__remquo): Do not use BP_SYM.
20108 (remquo): Likewise.
20109 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20110 "bp-asm.h".
20111 (PARMS): Do not use macros from bp-asm.h.
20112 (__remquof): Do not use BP_SYM.
20113 (remquof): Likewise.
20114 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20115 "bp-asm.h".
20116 (PARMS): Do not use macros from bp-asm.h.
20117 (__remquol): Do not use BP_SYM.
20118 (remquol): Likewise.
20119 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20120 "bp-asm.h".
20121 (PARMS): Do not use macros from bp-asm.h.
20122 (DEST): Likewise.
20123 (SRC): Likewise.
20124 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
20125 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20126 "bp-asm.h".
20127 (PARMS): Do not use macros from bp-asm.h.
20128 (strlen): Do not use BP_SYM.
20129 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20130 "bp-asm.h".
20131 (PARMS): Do not use macros from bp-asm.h.
20132 (S1): Likewise.
20133 (S2): Likewise.
20134 (SIZE): Likewise.
20135 (__mpn_add_n): Do not use BP_SYM.
20136 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20137 "bp-asm.h".
20138 (PARMS): Do not use macros from bp-asm.h.
20139 (S1): Likewise.
20140 (SIZE): Likewise.
20141 (__mpn_addmul_1): Do not use BP_SYM.
20142 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20143 weak_alias.
20144 (bzero): Likewise.
20145 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20146 "bp-asm.h".
20147 (PARMS): Do not use macros from bp-asm.h.
20148 (S): Likewise.
20149 (SIZE): Likewise.
20150 (__mpn_lshift): Do not use BP_SYM.
20151 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20152 "bp-asm.h".
20153 (PARMS): Do not use macros from bp-asm.h.
20154 (DEST): Likewise.
20155 (SRC): Likewise.
20156 (LEN): Likewise.
20157 (memcpy): Likewise. Do not use BP_SYM.
20158 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20159 libc_hidden_def and weak_alias.
20160 (mempcpy): Do not use BP_SYM in weak_alias.
20161 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20162 "bp-asm.h".
20163 (PARMS): Do not use macros from bp-asm.h.
20164 (DEST): Likewise.
20165 (LEN): Likewise.
20166 [!BZERO_P] (CHR): Likewise.
20167 (memset): Likewise. Do not use BP_SYM.
20168 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20169 "bp-asm.h".
20170 (PARMS): Do not use macros from bp-asm.h.
20171 (S1): Likewise.
20172 (SIZE): Likewise.
20173 (__mpn_mul_1): Do not use BP_SYM.
20174 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20175 "bp-asm.h".
20176 (PARMS): Do not use macros from bp-asm.h.
20177 (S): Likewise.
20178 (SIZE): Likewise.
20179 (__mpn_rshift): Do not use BP_SYM.
20180 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20181 "bp-asm.h".
20182 (PARMS): Do not use macros from bp-asm.h.
20183 (STR): Likewise.
20184 (CHR): Likewise.
20185 (strchr): Likewise. Do not use BP_SYM.
20186 (index): Do not use BP_SYM in weak_alias.
20187 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20188 "bp-asm.h".
20189 (PARMS): Do not use macros from bp-asm.h.
20190 (DEST): Likewise.
20191 (SRC): Likewise.
20192 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
20193 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20194 "bp-asm.h".
20195 (PARMS): Do not use macros from bp-asm.h.
20196 (strlen): Do not use BP_SYM.
20197 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20198 "bp-asm.h".
20199 (PARMS): Do not use macros from bp-asm.h.
20200 (S1): Likewise.
20201 (S2): Likewise.
20202 (SIZE): Likewise.
20203 (__mpn_sub_n): Do not use BP_SYM.
20204 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20205 "bp-asm.h".
20206 (PARMS): Do not use macros from bp-asm.h.
20207 (S1): Likewise.
20208 (SIZE): Likewise.
20209 (__mpn_submul_1): Do not use BP_SYM.
20210 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20211 "bp-asm.h".
20212 (PARMS): Do not use macros from bp-asm.h.
20213 (S1): Likewise.
20214 (S2): Likewise.
20215 (SIZE): Likewise.
20216 (__mpn_add_n): Do not use BP_SYM.
20217 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20218 weak_alias.
20219 (bzero): Likewise.
20220 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20221 "bp-asm.h".
20222 (PARMS): Do not use macros from bp-asm.h.
20223 (BLK2): Likewise.
20224 (LEN): Likewise.
20225 (memcmp): Do not use BP_SYM.
20226 (bcmp): Do not use BP_SYM in weak_alias.
20227 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20228 "bp-asm.h".
20229 (PARMS): Do not use macros from bp-asm.h.
20230 (DEST): Likewise.
20231 (SRC): Likewise.
20232 (LEN): Likewise.
20233 (memcpy): Likewise. Do not use BP_SYM.
20234 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20235 "bp-asm.h".
20236 (PARMS): Do not use macros from bp-asm.h.
20237 (DEST): Likewise.
20238 (SRC): Likewise.
20239 (LEN): Likewise.
20240 (memmove): Likewise. Do not use BP_SYM.
20241 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20242 "bp-asm.h".
20243 (PARMS): Do not use macros from bp-asm.h.
20244 (DEST): Likewise.
20245 (SRC): Likewise.
20246 (LEN): Likewise.
20247 (__mempcpy): Likewise. Do not use BP_SYM.
20248 (mempcpy): Do not use BP_SYM in weak_alias.
20249 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20250 "bp-asm.h".
20251 (PARMS): Do not use macros from bp-asm.h.
20252 (DEST): Likewise.
20253 (LEN): Likewise.
20254 [!BZERO_P] (CHR): Likewise.
20255 (memset): Likewise. Do not use BP_SYM.
20256 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20257 "bp-asm.h".
20258 (PARMS): Do not use macros from bp-asm.h.
20259 (STR2): Likewise.
20260 (strcmp): Do not use BP_SYM.
20261 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20262 "bp-asm.h".
20263 (PARMS): Do not use macros from bp-asm.h.
20264 (STR): Likewise.
20265 (DELIM): Likewise.
20266 [USE_AS_STRTOK_R] (SAVE): Likewise.
20267 (FUNCTION): Likewise. Do not use BP_SYM.
20268 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20269 aliases.
20270 (strtok_r): Likewise.
20271 (__GI___strtok_r): Likewise.
20272 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20273 (PARMS): Do not use macros from bp-asm.h.
20274 (S): Likewise.
20275 (SIZE): Likewise.
20276 (__mpn_lshift): Do not use BP_SYM.
20277 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20278 (PARMS): Do not use macros from bp-asm.h.
20279 (STR): Likewise.
20280 (CHR): Likewise.
20281 (__memchr): Do not use BP_SYM.
20282 (memchr): Do not use BP_SYM in weak_alias.
20283 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20284 (PARMS): Do not use macros from bp-asm.h.
20285 (BLK2): Likewise.
20286 (LEN): Likewise.
20287 (memcmp): Do not use BP_SYM.
20288 (bcmp): Do not use BP_SYM in weak_alias.
20289 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20290 (PARMS): Do not use macros from bp-asm.h.
20291 (S1): Likewise.
20292 (SIZE): Likewise.
20293 (__mpn_mul_1): Do not use BP_SYM.
20294 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20295 "bp-asm.h".
20296 (PARMS): Do not use macros from bp-asm.h.
20297 (STR): Likewise.
20298 (CHR): Likewise.
20299 (__rawmemchr): Do not use BP_SYM.
20300 (rawmemchr): Do not use BP_SYM in weak_alias.
20301 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20302 (PARMS): Do not use macros from bp-asm.h.
20303 (S): Likewise.
20304 (SIZE): Likewise.
20305 (__mpn_rshift): Do not use BP_SYM.
20306 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20307 (PARMS): Do not use macros from bp-asm.h.
20308 (SIGMSK): Likewise.
20309 (__sigsetjmp): Likewise. Do not use BP_SYM.
20310 * sysdeps/i386/start.S: Do not include "bp-sym.h".
20311 (_start): Do not use BP_SYM.
20312 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20313 (PARMS): Do not use macros from bp-asm.h.
20314 (DEST): Likewise.
20315 (SRC): Likewise.
20316 (__stpcpy): Likewise. Do not use BP_SYM.
20317 (stpcpy): Do not use BP_SYM in weak_alias.
20318 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20319 "bp-asm.h".
20320 (PARMS): Do not use macros from bp-asm.h.
20321 (DEST): Likewise.
20322 (SRC): Likewise.
20323 (LEN): Likewise.
20324 (__stpncpy): Likewise. Do not use BP_SYM.
20325 (stpncpy): Do not use BP_SYM in weak_alias.
20326 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20327 (PARMS): Do not use macros from bp-asm.h.
20328 (STR): Likewise.
20329 (CHR): Likewise.
20330 (strchr): Likewise. Do not use BP_SYM.
20331 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20332 "bp-asm.h".
20333 (PARMS): Do not use macros from bp-asm.h.
20334 (STR): Likewise.
20335 (CHR): Likewise.
20336 (__strchrnul): Likewise. Do not use BP_SYM.
20337 (strchrnul): Do not use BP_SYM in weak_alias.
20338 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20339 "bp-asm.h".
20340 (PARMS): Do not use macros from bp-asm.h.
20341 (STOP): Likewise.
20342 (strcspn): Do not use BP_SYM.
20343 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20344 "bp-asm.h".
20345 (PARMS): Do not use macros from bp-asm.h.
20346 (STR): Likewise.
20347 (STOP): Likewise.
20348 (strpbrk): Likewise. Do not use BP_SYM.
20349 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20350 "bp-asm.h".
20351 (PARMS): Do not use macros from bp-asm.h.
20352 (STR): Likewise.
20353 (CHR): Likewise.
20354 (strrchr): Likewise. Do not use BP_SYM.
20355 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20356 (PARMS): Do not use macros from bp-asm.h.
20357 (SKIP): Likewise.
20358 (strspn): Do not use BP_SYM.
20359 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20360 (PARMS): Do not use macros from bp-asm.h.
20361 (STR): Likewise.
20362 (DELIM): Likewise.
20363 (SAVE): Likewise.
20364 (FUNCTION): Likewise. Do not use BP_SYM.
20365 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20366 aliases.
20367 (strtok_r): Likewise.
20368 (__GI___strtok_r): Likewise.
20369 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20370 (PARMS): Do not use macros from bp-asm.h.
20371 (S1): Likewise.
20372 (S2): Likewise.
20373 (SIZE): Likewise.
20374 (__mpn_sub_n): Do not use BP_SYM.
20375 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20376 "bp-asm.h".
20377 (PARMS): Do not use macros from bp-asm.h.
20378 (S1): Likewise.
20379 (SIZE): Likewise.
20380 (__mpn_submul_1): Do not use BP_SYM.
20381 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20382 <bp-sym.h>.
20383 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20384 and <bp-asm.h>.
20385 (PARMS): Do not use macros from bp-asm.h.
20386 (FLAGS): Likewise.
20387 (PTID): Likewise.
20388 (TLS): Likewise.
20389 (CTID): Likewise.
20390 (__clone): Do not use BP_SYM.
20391 (clone): Do not use BP_SYM in weak_alias.
20392 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20393 and <bp-asm.h>.
20394 (PARMS): Do not use macros from bp-asm.h.
20395 (LEN): Likewise.
20396 (__mmap64): Do not use BP_SYM.
20397 (mmap64): Do not use BP_SYM in weak_alias.
20398 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20399 <bp-sym.h> and <bp-asm.h>.
20400 (PARMS): Do not use macros from bp-asm.h.
20401 (__posix_fadvise64_l64): Do not use BP_SYM.
20402 * sysdeps/unix/sysv/linux/i386/semtimedop.S
20403 (PARMS): Do not use macros from bp-asm.h.
20404 (NSOPS): Likewise.
20405 (semtimedop): Do not use BP_SYM.
20406 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20407 and <bp-asm.h>.
20408
582a3cff
AM
204092013-02-21 Allan McRae <allan@archlinux.org>
20410
20411 * manual/message.texi (Charset conversion in gettext):
20412 Move @end statement to beginning of line.
20413
bab8a695
SP
204142013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20415
80945231
SP
20416 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20417 static.
20418 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20419 Likewise.
20420
bab8a695
SP
20421 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20422 (denorm): Likewise.
20423 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20424 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20425
e21d7aa7
AK
204262013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20427
20428 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20429 tail-call to the resolved function if pltexit isn't needed.
20430
4c7a4263
SP
204312013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20432
20433 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20434 or Y being zero as being unlikely.
20435 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20436 Likewise.
20437
41f49342
CD
204382013-02-20 Carlos O'Donell <carlos@redhat.com>
20439
20440 * manual/nss.texi (System Databases and Name Service Switch):
20441 Remove frobnicate @pxref.
20442
50022a93
TS
204432013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20444
20445 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20446 __attribute__ ((unused)) to __attribute__ ((__unused__)).
20447
08cbd996
PM
204482013-02-20 Petr Machata <pmachata@redhat.com>
20449
20450 * elf/elf.h (R_ARM_TARGET1): New macro.
20451 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20452 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20453 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20454 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20455 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20456 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20457 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20458 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20459 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20460 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20461 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20462 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20463 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20464 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20465 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20466 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20467 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20468 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20469 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20470 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20471 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20472 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20473 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20474 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20475 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20476 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20477 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20478 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20479 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20480 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20481 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20482 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20483 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20484 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20485 (R_ARM_THM_GOT_BREL12): Likewise.
20486 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20487 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20488 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20489 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20490 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20491 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20492 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20493 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20494 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20495
c7b275d6
TS
204962013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20497
20498 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20499 __attribute_used__ to __attribute__ ((unused)).
20500
20cd7fb3
SP
205012013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20502
20503 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
20504 powerpc mpa.c.
20505 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
20506 comment formatting.
20507 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
20508
92945b52
JM
205092013-02-19 Joseph Myers <joseph@codesourcery.com>
20510
20511 [BZ #13550]
20512 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
20513 Remove macro.
20514 (ENTER): Remove both macro definitions.
20515 (LEAVE): Likewise.
20516 (CHECK_BOUNDS_LOW): Likewise.
20517 (CHECK_BOUNDS_HIGH): Likewise.
20518 (CHECK_BOUNDS_BOTH): Likewise.
20519 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
20520 (RETURN_BOUNDED_POINTER): Likewise.
20521 (RETURN_NULL_BOUNDED_POINTER): Likewise.
20522 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
20523 (POP_ERRNO_LOCATION_RETURN): Likewise.
20524 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
20525 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20526 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
20527 macros.
20528 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20529 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
20530 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
20531 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
20532 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
20533 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
20534 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
20535 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
20536 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
20537 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
20538 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
20539 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
20540 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20541 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
20542 removed macros.
20543 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20544 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
20545 macros.
20546 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20547 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
20548 * sysdeps/i386/i586/memset.S (memset): Likewise.
20549 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
20550 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20551 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
20552 macros.
20553 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20554 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
20555 Change uses of L(2) to L(out).
20556 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
20557 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
20558 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
20559 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20560 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
20561 removed macros.
20562 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20563 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
20564 macros.
20565 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20566 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
20567 (RETURN): Do not use macro LEAVE.
20568 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
20569 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
20570 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
20571 * sysdeps/i386/i686/memset.S (memset): Likewise.
20572 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
20573 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
20574 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20575 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
20576 Likewise.
20577 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20578 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
20579 L(1_2) and L(1_3) into L(1).
20580 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20581 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
20582 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20583 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
20584 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20585 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
20586 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
20587 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20588 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
20589 macros.
20590 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
20591 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20592 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
20593 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
20594 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
20595 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20596 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
20597 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
20598 * sysdeps/i386/strcspn.S (strcspn): Likewise.
20599 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
20600 * sysdeps/i386/strrchr.S (strrchr): Likewise.
20601 * sysdeps/i386/strspn.S (strspn): Likewise.
20602 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
20603 conditional code.
20604 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20605 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
20606 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20607 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
20608 L(1_3) into L(1_1).
20609 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
20610 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20611 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
20612 macros.
20613 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20614
2389741a
JJ
206152013-02-19 Jakub Jelinek <jakub@redhat.com>
20616
20617 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
20618 macro.
20619
2016b3cd
SP
206202013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20621
e4f22324
SP
20622 * math/atest-exp.c (exp_mpn): Remove ROUND.
20623 * math/atest-exp2.c (exp_mpn): Likewise.
20624 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
20625
2016b3cd
SP
20626 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
20627 * stdlib/tst-tls-atexit-lib.c: Likewise.
20628 * stdlib/tst-tls-atexit.c: Likewise.
20629
4be9b544
MF
206302013-02-18 Mike Frysinger <vapier@gentoo.org>
20631
20632 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
20633 and __attribute_alloc_size__.
20634
2f62b9ee
MF
206352013-02-18 Mike Frysinger <vapier@gentoo.org>
20636
20637 * include/programs/xmalloc.h: Change __attribute_alloc_size to
20638 __attribute_alloc_size__.
20639 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
20640 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
20641
6ff444c4
MF
206422013-02-18 Mike Frysinger <vapier@gentoo.org>
20643
20644 * include/programs/xmalloc.h: New file.
20645 * catgets/gencat.c: Include it.
20646 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
20647 * elf/pldd.c: Likewise.
20648 * iconv/iconv_charmap.c: Likewise.
20649 * iconv/iconvconfig.c: Likewise.
20650 * iconv/strtab.c: Likewise.
20651 * locale/programs/locale.c: Likewise.
20652 * locale/programs/localedef.h: Likewise.
20653 * locale/programs/simple-hash.c: Likewise.
20654 * nscd/nscd.h: Likewise.
20655 * nss/makedb.c: Likewise.
20656 * sysdeps/generic/ldconfig.h: Likewise.
20657
be179c8a
SP
206582013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20659
ba384f6e
SP
20660 * Versions.def: Add GLIBC_2.18.
20661 * include/link.h (struct link_map): New member l_tls_dtor_count.
20662 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
20663 (__call_tls_dtors): Likewise.
20664 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
20665 __cxa_thread_atexit_impl.
20666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20667 Likewise.
20668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20669 Likewise.
20670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20671 Likewise.
20672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20673 Likewise.
20674 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20675 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
20676 Likewise.
20677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
20678 Likewise.
20679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20680 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20681 Likewise.
20682 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
20683 (tests): Add test case tst-tls-atexit.
20684 (modules-names): Add shared library for tst-tls-atexit.
85891aca 20685 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
20686 (GLIBC_PRIVATE): Add __call_tls_dtors.
20687 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
20688 for libstdc++.
20689 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
20690 * stdlib/tst-tls-atexit.c: New test case.
20691 * stdlib/tst-tls-atexit-lib.c: New test case.
20692
ffaa74cf 20693 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 20694
be179c8a
SP
20695 * elf/Versions (ld): Add _dl_find_dso_for_object.
20696 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
20697 * elf/dl-open.c (_dl_find_dso_for_object): New function.
20698 (dl_open_worker): Use _dl_find_dso_for_object.
20699 * elf/dl-sym.c (do_sym): Likewise.
20700 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
20701
f78b5caa
AK
207022013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20703
20704 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
20705 Syntactic changes only.
20706 (_dl_runtime_profile): Do a tail-call to the resolved function.
20707
29691210
JM
207082013-02-17 Joseph Myers <joseph@codesourcery.com>
20709
20710 [BZ #13550]
20711 * sysdeps/x86_64/bp-asm.h: Remove file.
20712 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
20713 <bp-sym.h> and <bp-asm.h>.
20714 (__clone): Do not use BP_SYM.
20715 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
20716 <bp-sym.h> and <bp-asm.h>.
20717 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20718 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
20719 "bp-asm.h".
20720 (_setjmp): Do not use BP_SYM.
20721 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
20722 "bp-asm.h".
20723 (setjmp): Do not use BP_SYM.
20724 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
20725 libc_hidden_def.
20726 (mempcpy): Do not use BP_SYM in weak_alias.
20727 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
20728 "bp-asm.h".
20729 (strchr): Do not use BP_SYM.
20730 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
20731 "bp-asm.h".
20732 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
20733 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
20734 (_start): Do not use BP_SYM.
20735 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
20736 "bp-asm.h".
20737 (strcat): Do not use BP_SYM.
20738 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
20739 "bp-asm.h".
20740 (STRCMP): Do not use BP_SYM.
20741 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
20742 "bp-asm.h".
20743 (STRCPY): Do not use BP_SYM.
20744 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
20745 "bp-asm.h".
20746 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
20747 "bp-asm.h".
20748 (FUNCTION): Do not use BP_SYM.
20749 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
20750 weak_alias.
20751 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
20752
f238fd19
AJ
207532013-02-17 Andreas Jaeger <aj@suse.de>
20754
20755 * time/Versions: Sort entries.
20756 * string/Versions: Likewise.
20757 * resolv/Versions: Likewise.
20758 * posix/Versions: Likewise.
20759 * iconv/Versions: Likewise.
20760 * elf/Versions: Likewise.
20761 * wcsmbs/Versions: Likewise.
20762
bd07f23c 207632013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 20764
22af19f9
SP
20765 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
20766 loop termination condition.
20767
4709fe76
SP
20768 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
20769 variable to calculate EZ.
20770 (__sqr): Likewise.
2d0e0f29
SP
20771
20772 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
20773 the lower precision input.
20774
daaa7713
JM
207752013-02-15 Joseph Myers <joseph@codesourcery.com>
20776
20777 [BZ #13550]
20778 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
20779 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
20780 (run-via-rtld-prefix): Do not handle %-bp tests.
20781 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
20782 (all-object-suffixes): Remove .ob.
20783 (bppfx): Remove variable.
20784 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
20785 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
20786 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
20787 [$(build-bounded) = yes] (libtype.ob): Likewise.
20788 * Makerules (elide-routines.ob): Remove variable.
20789 (do-tests-clean): Do not handle *-bp.out.
20790 (common-mostlyclean): Do not handle *-bp and *-bp.out.
20791 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
20792 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
20793 (tests): Do not include $(tests-bp.out).
20794 (xtests): Do not include $(xtests-bp.out).
20795 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
20796 [$(build-bounded) = yes] ($(addprefix
20797 $(objpfx),$(binaries-bounded))): Remove rule.
20798 ($(objpfx)%-bp.out): Remove rule.
20799 * config.make.in (build-bounded): Remove variable.
20800 * crypt/Makefile [$(build-bounded) = yes]
20801 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
20802 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
20803 append to variable.
20804 [$(build-bounded) = yes] (install-lib): Likewise.
20805 [$(build-bounded) = yes] (generated): Likewise.
20806 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
20807 Remove rule.
20808 * intl/Makefile [$(build-bounded) = yes]
20809 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
20810 * math/Makefile [$(build-bounded) = yes]
20811 ($(tests:%=$(objpfx)%-bp): Likewise.
20812 * misc/Makefile [$(build-bounded) = yes]
20813 ($(objpfx)tst-tsearch-bp): Likewise.
20814 * nptl/Makeconfig (bounded-thread-library): Remove variable.
20815 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
20816 Remove dependency.
20817 * string/Makefile (o-objects.ob): Remove variable.
20818 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
20819 (CFLAGS-.ob): Remove variable.
20820 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
20821 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
20822 both definitions of variable.
20823 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
20824 (ASFLAGS-.ob): Remove variable.
20825
e97ed6dd
JM
208262013-02-14 Joseph Myers <joseph@codesourcery.com>
20827
2bdd4ca6
JM
20828 [BZ #13550]
20829 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
20830 Remove __BOUNDED_POINTERS__ from condition.
20831 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
20832 * string/bits/string2.h [!__NO_STRING_INLINES &&
20833 !__BOUNDED_POINTERS__]: Likewise.
20834 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
20835 Likewise.
20836 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
20837 Remove conditional code.
20838 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
20839 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
20840 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
20841 condition.
20842
e97ed6dd
JM
20843 [BZ #13550]
20844 * csu/libc-start.c: Do not include <bp-sym.h>.
20845 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
20846 * elf/dl-open.c: Do not include <bp-sym.h>.
20847 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
20848 * math/fegetenv.c: Do not include <bp-sym.h>.
20849 (fegetenv): Do not use BP_SYM in versioned symbols.
20850 * nptl/sysdeps/pthread/bits/libc-lockP.h
20851 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
20852 <bp-sym.h>.
20853 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20854 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
20855 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20856 (__pthread_mutex_destroy): Likewise.
20857 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20858 (__pthread_mutex_lock): Likewise.
20859 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20860 (__pthread_mutex_trylock): Likewise.
20861 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20862 (__pthread_mutex_unlock): Likewise.
20863 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20864 (__pthread_mutexattr_init): Likewise.
20865 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20866 (__pthread_mutexattr_destroy): Likewise.
20867 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20868 (__pthread_mutexattr_settype): Likewise.
20869 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20870 (__pthread_rwlock_init): Likewise.
20871 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20872 (__pthread_rwlock_destroy): Likewise.
20873 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20874 (__pthread_rwlock_rdlock): Likewise.
20875 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20876 (__pthread_rwlock_tryrdlock): Likewise.
20877 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20878 (__pthread_rwlock_wrlock): Likewise.
20879 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20880 (__pthread_rwlock_trywrlock): Likewise.
20881 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20882 (__pthread_rwlock_unlock): Likewise.
20883 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20884 (__pthread_key_create): Likewise.
20885 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20886 (__pthread_setspecific): Likewise.
20887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20888 (__pthread_getspecific): Likewise.
20889 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
20890 Likewise.
20891 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20892 (_pthread_cleanup_push_defer): Likewise.
20893 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20894 (_pthread_cleanup_pop_restore): Likewise.
20895 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20896 (pthread_setcancelstate): Likewise.
20897 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
20898 <bp-sym.h>.
20899 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
20900 (memchr): Do not use BP_SYM in weak_alias.
20901 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
20902 (fegetenv): Do not use BP_SYM in versioned symbols.
20903 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
20904 (fesetenv): Do not use BP_SYM in versioned symbols.
20905 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20906 (feupdateenv): Do not use BP_SYM in versioned symbols.
20907 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20908 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20909 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
20910 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
20911 (open64): Do not use BP_SYM in weak_alias.
20912 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
20913 (fegetenv): Do not use BP_SYM in versioned symbols.
20914 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
20915 (fesetenv): Do not use BP_SYM in versioned symbols.
20916 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20917 (feupdateenv): Do not use BP_SYM in versioned symbols.
20918 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
20919 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
20920 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
20921 (feraiseexcept): Do not use BP_SYM in versioned symbols.
20922 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20923 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20924 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
20925 <bp-sym.h>.
20926 (__libc_start_main): Do not use BP_SYM.
20927
d6752ccd
SP
209282013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20929
cb57ce60
SP
20930 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
20931 redundant return line.
20932 (norm): Likewise.
20933 (denorm): Likewise.
20934 (dbl_mp): Likewise.
20935 (sub_magnitudes): Likewise.
20936 (__add): Likewise.
20937 (__sub): Likewise.
20938 (__mul): Likewise.
20939 (__inv): Likewise.
20940 (__dvd): Likewise.
20941 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
20942 (norm): Likewise.
20943 (denorm): Likewise.
20944 (dbl_mp): Likewise.
20945 (sub_magnitudes): Likewise.
20946 (__add): Likewise.
20947 (__sub): Likewise.
20948 (__mul): Likewise.
20949 (__inv): Likewise.
20950 (__dvd): Likewise.
20951
f414520d
SP
20952 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
20953 instead of __mul.
20954 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20955 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
20956 (cc32): Likewise.
20957
d6752ccd
SP
20958 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
20959 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
20960 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
20961 of __mul for squares.
20962 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
20963 function
20964 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
20965 Likewise.
20966 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
20967 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20968
70d9946a
JM
209692013-02-13 Joseph Myers <joseph@codesourcery.com>
20970
20971 [BZ #13550]
20972 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
20973 code.
20974 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
20975 prototype or function definition. Rename ubp_* variables and
20976 parameters. Remove argv definitions conditional on
20977 [__BOUNDED_POINTERS__].
20978 * debug/backtrace.c (__backtrace): Do not use __unbounded.
20979 * elf/dl-runtime.c (_dl_fixup): Likewise.
20980 * include/set-hooks.h (RUN_HOOK): Likewise.
20981 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
20982 definition.
20983 * string/strcpy.c (strcpy): Do not use __unbounded.
20984 * sysdeps/generic/frame.h (struct layout): Likewise.
20985 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
20986 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
20987 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
20988 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
20989 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
20990 (__backtrace): Likewise.
20991 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
20992 use __ptrvalue.
20993 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20994 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20995 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20996 Likewise.
20997 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
20998 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
20999 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21000 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21001 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21002 Do not use __unbounded.
21003 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21004 Rename __unboundedrlimits parameter to rlimits in prototype.
21005 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21006 Do not use __unbounded.
21007 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21008 not use __ptrvalue.
21009 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21010 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21011 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21012 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21013 __ptrvalue or __unbounded.
21014 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21015 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21016 use __unbounded.
21017 (__new_msgctl): Do not use __ptrvalue.
21018 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21019 __unbounded.
21020 (__libc_msgrcv): Do not use __ptrvalue.
21021 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21022 startup_info): Do not use __unbounded.
21023 (__libc_start_main): Likewise. Rename ubp_* variables and
21024 parameters. Remove argv definitions conditional on
21025 [__BOUNDED_POINTERS__].
21026 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21027 __ptrvalue.
21028 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21029 use __unbounded.
21030 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21031 or __ptrvalue.
21032 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21033 use __unbounded.
21034 (__new_shmctl): Do not use __ptrvalue.
21035 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21036 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21037 Likewise.
21038 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21039 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21040 (__libc_sigaction): Likewise.
21041 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21042 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21043 Likewise.
21044 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21045
cc7834d6
OB
210462013-02-13 Ondřej Bílka <neleai@seznam.cz>
21047
ffb1ec7b 21048 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
21049
21050 * string/mempcpy.c: Implement by calling memcpy.
21051
bdf02814
SP
210522013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21053
c2af38aa
SP
21054 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21055
4e92d59e
SP
21056 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21057 evaluation.
21058
909279a5
SP
21059 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21060 values in the mantissa.
21061
bdf02814
SP
21062 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21063 minimize writes to Z.
21064 (sub_magnitudes): Simplify code a bit.
21065
cd525923
RM
210662013-02-12 Roland McGrath <roland@hack.frob.com>
21067
21068 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21069 from the message. The linker prefixes all warnings with that already.
21070
7e2f0d2d
AS
210712013-02-12 Andreas Schwab <schwab@suse.de>
21072
a445af0b
AS
21073 [BZ #15078]
21074 * posix/regexec.c (extend_buffers): Add parameter min_len.
21075 (check_matching): Pass minimum needed length.
21076 (clean_state_log_if_needed): Likewise.
21077 (get_subexp): Likewise.
21078 * posix/Makefile (tests): Add bug-regex34.
21079 (bug-regex34-ENV): Define.
21080 * posix/bug-regex34.c: New file.
21081
7e2f0d2d
AS
21082 [BZ #11561]
21083 * posix/regcomp.c (parse_bracket_exp): When looking up collating
21084 elements compare against the byte sequence of it, not its name.
21085 * posix/Makefile (tests): Add bug-regex35.
21086 (bug-regex35-ENV): Define.
21087 * posix/bug-regex35.c: New file.
21088
a175b684
TV
210892013-02-11 Tom de Vries <tom@codesourcery.com>
21090
21091 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
21092 comment.
21093 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21094 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21095 (CHECK_EOL): Add undef.
21096
310998fe 210972013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
21098
21099 * bits/stdlib-bsearch.h: New file.
21100 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 21101 * stdlib/stdlib.h: Likewise.
41eda41d 21102
8ded91fb
RM
211032013-02-11 Roland McGrath <roland@hack.frob.com>
21104
21105 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21106 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21107 declaration.
21108 * manual/search.texi (Array Search Function): Add missing const in
21109 lfind prototype.
21110 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21111 declaration to use rlim_t.
21112 (Basic Scheduling Functions): Remove erroneous const from
21113 sched_getparam prototype. Remove erroneous * from
21114 sched_get_priority_max and sched_get_priority_min prototypes.
21115 (Resource Usage): Fix summary @comment on vtimes to refer to
21116 sys/vtimes.h rather than vtimes.h.
21117 Add missing *s in vtimes prototype.
21118 (Limits on Resources): Fix ulimit prototype to return long int.
21119 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21120 prototypes to use long int rather than double.
21121 (BSD Random): Fix initstate and setstate to use char *, not void *.
21122 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21123 prototype to make second argument 'struct aiocb64 *const[]'.
21124 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21125 (Status of AIO Operations): Remove erroneous const in aio_return and
21126 aio_return64 prototypes.
21127 (Synchronizing I/O): Fix sync prototype to return void.
21128 * manual/startup.texi (Suboptions): Remove an erroneous const in
21129 getsubopt prototype.
21130 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21131 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21132 use size_t rather than int.
21133 (Scanning All Users): Likewise for getpwent_r.
21134 (Setting Groups): Add missing const to setgroups prototype.
21135 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21136 * manual/socket.texi (Host Names): Fix gethostbyaddr and
21137 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21138 'const void *' rather than 'const char *'.
21139 (Host Address Functions): Likewise for inet_ntop.
21140 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21141 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21142 ssize_t for return value.
21143 (Sending Data): Likewise for send, sendto, sendmsg.
21144 (Socket Option Functions): Add a missing const in setsockopt prototype.
21145 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21146 use wchar_t for the argument.
21147 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21148 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21149 take no arguments.
21150 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21151 double/float/long double for second argument.
21152 Fix return types of significand, significandf, significandl.
21153 * manual/filesys.texi (Setting Permissions): Use mode_t for second
21154 argument in fchmod prototype.
21155 (File Owner): Use uid_t and gid_t in fchown prototype.
21156 (File Times): Add const to utimes, futimes, and lutimes prototypes.
21157 (Making Special Files): Use mode_t and dev_t in mknod prototype.
21158 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21159 use 'const struct dirent **' as argument types to CMP function pointer
21160 argument.
21161 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21162 (File Times): Fix summary magic @comment for struct utimbuf and utime
21163 to refer to utime.h, not time.h.
21164 * manual/string.texi (Argz Functions): Add missing const in
21165 argz_extract and argz_next prototypes.
21166 (Finding Tokens in a String): Likewise for basename.
21167 (String/Array Comparison): Fix typo in wcscasecmp prototype.
21168 (Copying and Concatenation): Fix typo in wmemmove prototype.
21169 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21170 (Signal Stack): Remove erroneous const in sigstack prototype.
21171 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21172 prototype.
21173 (Simple Calendar Time): Likewise for stime.
21174 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21175 prototype.
21176 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21177 say sys/sysctl.h instead.
21178 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21179 and vsyslog prototypes.
21180
fe77fe6d
TV
211812013-02-11 Tom de Vries <tom@codesourcery.com>
21182
21183 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21184 Remove.
21185
3a09b620
RM
211862013-02-11 Roland McGrath <roland@hack.frob.com>
21187
21188 * misc/sys/mman.h: Fix typo in mremap comment.
21189
550a0b89
RM
211902013-02-08 Roland McGrath <roland@hack.frob.com>
21191
21192 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21193 the '\0' terminator.
21194
a2da1673
JM
211952013-02-08 Joseph Myers <joseph@codesourcery.com>
21196
21197 [BZ #13550]
21198 * debug/segfault.c: Don't include <bp-checks.h>.
21199 * sysdeps/generic/bp-checks.h: Remove file.
21200 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21201 (__GETDENTS): Don't use CHECK_N.
21202 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21203 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21204 (__getgroups): Don't use CHECK_N.
21205 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21206 (setgroups): Don't use CHECK_N.
21207 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21208 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21209 (__libc_msgrcv): Don't use CHECK_N.
21210 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21211 (__libc_msgsnd): Don't use CHECK_N.
21212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21213 <bp-checks.h>.
21214 (__libc_pread): Don't use CHECK_N.
21215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21216 include <bp-checks.h>.
21217 (__libc_pread64): Don't use CHECK_N.
21218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21219 include <bp-checks.h>.
21220 (__libc_pwrite): Don't use CHECK_N.
21221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21222 include <bp-checks.h>.
21223 (__libc_pwrite64): Don't use CHECK_N.
21224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21225 <bp-checks.h>.
21226 (__libc_pread): Don't use CHECK_N.
21227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21228 include <bp-checks.h>.
21229 (__libc_pread64): Don't use CHECK_N.
21230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21231 include <bp-checks.h>.
21232 (__libc_pwrite): Don't use CHECK_N.
21233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21234 include <bp-checks.h>.
21235 (__libc_pwrite64): Don't use CHECK_N.
21236 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21237 (do_pread): Don't use CHECK_N.
21238 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21239 (do_pread64): Don't use CHECK_N.
21240 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21241 (do_pwrite): Don't use CHECK_N.
21242 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21243 (do_pwrite64): Don't use CHECK_N.
21244 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21245 (__libc_readv): Don't use CHECK_N.
21246 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21247 (semop): Don't use CHECK_N.
21248 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21249 <bp-checks.h>.
21250 (semtimedop): Don't use CHECK_N.
21251 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21252 (__libc_pread): Don't use CHECK_N.
21253 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21254 <bp-checks.h>.
21255 (__libc_pread64): Don't use CHECK_N.
21256 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21257 <bp-checks.h>.
21258 (__libc_pwrite): Don't use CHECK_N.
21259 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21260 <bp-checks.h>.
21261 (__libc_pwrite64): Don't use CHECK_N.
21262 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21263 <bp-checks.h>.
21264 (__libc_msgrcv): Don't use CHECK_N.
21265 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21266 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
21267 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21268 (__libc_writev): Don't use CHECK_N.
21269
b84660a8
RM
212702013-02-08 Roland McGrath <roland@hack.frob.com>
21271
7f3e75f8
RM
21272 * string/strcpy.c: Removed unused variable.
21273
b84660a8
RM
21274 * Makeconfig (+sysdep-includes): Define with := rather than =.
21275 Use an existing include/ subdir of each sysdeps dir before it.
21276
471514d3
CD
212772013-02-08 Carlos O'Donell <carlos@redhat.com>
21278
21279 * nscd/connection.c (register_traced_file): Comment function.
21280 [HAVE_INOTIFY] (union __inev): Define.
21281 [HAVE_INOTIFY] (inotify_check_files): New function.
21282 [HAVE_INOTIFY] (clear_db_cache): Likewise.
21283 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21284 clear_db_cache.
21285 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21286
b2d3c3be
CD
212872013-02-08 Carlos O'Donell <carlos@redhat.com>
21288
21289 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21290 loaded if not already and that a failure is permanent.
21291
b39949d2
CD
212922013-02-08 Carlos O'Donell <carlos@redhat.com>
21293
ddacd1db 21294 [BZ #15006]
b39949d2
CD
21295 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21296 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21297
b2c9eff4
JM
212982013-02-08 Joseph Myers <joseph@codesourcery.com>
21299
f3aae3f3
JM
21300 [BZ #13550]
21301 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21302 (CHECK_1_NULL_OK): Likewise.
21303 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21304 (__fxstat): Do not use CHECK_1.
21305 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21306 <bp-checks.h>.
21307 (___fxstat64): Do not use CHECK_1.
21308 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21309 <bp-checks.h>.
21310 (__fxstatat): Do not use CHECK_1.
21311 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21312 <bp-checks.h>.
21313 (__fxstatat64): Do not use CHECK_1.
21314 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21315 <bp-checks.h>.
21316 (__fxstat): Do not use CHECK_1.
21317 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21318 <bp-checks.h>.
21319 (__fxstatat): Do not use CHECK_1.
21320 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21321 <bp-checks.h>.
21322 (__getresgid): Do not use CHECK_1.
21323 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21324 <bp-checks.h>.
21325 (__getresuid): Do not use CHECK_1.
21326 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21327 <bp-checks.h>.
21328 (__lxstat): Do not use CHECK_1.
21329 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21330 <bp-checks.h>.
21331 (__old_msgctl): Do not use CHECK_1.
21332 (__new_msgctl): Likewise.
21333 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21334 <bp-checks.h>.
21335 (__new_setrlimit): Do not use CHECK_1.
21336 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21337 <bp-checks.h>.
21338 (__old_shmctl): Do not use CHECK_1.
21339 (__new_shmctl): Likewise.
21340 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21341 <bp-checks.h>.
21342 (__xstat): Do not use CHECK_1.
21343 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21344 (__lxstat): Do not use CHECK_1.
21345 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21346 <bp-checks.h>.
21347 (___lxstat64): Do not use CHECK_1.
21348 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21349 (__old_msgctl): Do not use CHECK_1.
21350 (__new_msgctl): Likewise.
21351 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21352 <bp-checks.h>.
21353 (__gettimeofday): Do not use CHECK_1.
21354 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21355 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21356 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21357 <bp-checks.h>.
21358 (__gettimeofday): Do not use CHECK_1.
21359 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21360 (__old_shmctl): Do not use CHECK_1_NULL_OK.
21361 (__new_shmctl): Do not use CHECK_1.
21362 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21363 <bp-checks.h>.
21364 (do_sigtimedwait): Do not use CHECK_1.
21365 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21366 <bp-checks.h>.
21367 (do_sigwaitinfo): Do not use CHECK_1.
21368 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21369 <bp-checks.h>.
21370 (msgctl): Do not use CHECK_1.
21371 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21372 <bp-checks.h>.
21373 (shmctl): Do not use CHECK_1.
21374 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21375 (ustat): Do not use CHECK_1.
21376 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21377 <bp-checks.h>.
21378 (__fxstat): Do not use CHECK_1.
21379 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21380 <bp-checks.h>.
21381 (__fxstatat): Do not use CHECK_1.
21382 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21383 <bp-checks.h>.
21384 (__lxstat): Do not use CHECK_1.
21385 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21386 <bp-checks.h>.
21387 (__xstat): Do not use CHECK_1.
21388 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21389 (__xstat): Do not use CHECK_1.
21390 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21391 (___xstat64): Do not use CHECK_1.
21392
b2c9eff4
JM
21393 [BZ #13550]
21394 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21395 definitions.
21396 (CHECK_BOUNDS_HIGH): Likewise.
21397 * string/strcpy.c: Do not include <bp-checks.h>.
21398 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21399
f1d70dad
RM
214002013-02-07 Roland McGrath <roland@hack.frob.com>
21401
21402 * nscd/nscd-client.h (__nscd_drop_map_ref):
21403 Add __attribute__ ((unused)).
21404 * nis/nss-nisplus.h (niserr2nss): Likewise.
21405
21406 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21407 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21408
21409 * csu/libc-tls.c (init_static_tls, init_slotinfo):
21410 Remove inline keyword.
21411 * include/rounding-mode.h (round_away): Likewise.
21412 * libio/wfileops.c (adjust_wide_data): Likewise.
21413 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21414 (__m128i_strloadu_tolower): Likewise.
21415 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21416 (__m128i_strloadu_tolower): Likewise.
21417 * time/mktime.c (ydhms_diff): Likewise.
21418 * locale/elem-hash.h (elem_hash): Likewise.
21419 * locale/setlocale.c (setdata): Likewise.
21420 * posix/regex_internal.h (re_string_char_size_at): Likewise.
21421 (re_string_wchar_at): Likewise.
21422 (bitset_not, bitset_merge, bitset_mask): Likewise.
21423 [!(__GNUC__ > 3)] (inline): Remove macro.
21424 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21425 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21426 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21427 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21428 * string/memcmp.c (memcmp_bytes): Likewise.
21429 * locale/programs/locarchive.c (compute_hashval): Likewise.
21430 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21431 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21432 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21433 * nss/getent.c (print_rpc, print_protocols): Likewise.
21434 (print_passwd, print_group, print_aliases): Likewise.
21435 * nis/nss-nisplus.h (niserr2nss): Likewise.
21436 * nscd/connections.c (restart_p): Likewise.
21437 Change return type to bool.
21438
eab55bfb
RM
214392013-02-05 Roland McGrath <roland@hack.frob.com>
21440
7bd642f5
RM
21441 * Makeconfig (all-Depend-files): Add existing
21442 $(sorted-subdirs:=/Depend) files.
21443 (all-subdirs): Remove nss.
21444 * sysdeps/unix/inet/Subdirs: Add it here instead.
21445 * hesiod/Depend: New file.
21446
573c29b2
RM
21447 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21448 instead of calling alloca.
21449
b2e25af0
RM
21450 * io/lseek.c (__lseek): Rename to __libc_lseek.
21451 Define __lseek as an alias.
21452
eab55bfb
RM
21453 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21454
9a0d1941
CD
214552013-02-04 Carlos O'Donell <carlos@redhat.com>
21456
21457 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21458 else clause and remove check for non-standard endianness.
21459
b83bbec4
DM
214602013-02-04 David S. Miller <davem@davemloft.net>
21461
21462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21463
6277fdab
JM
214642013-02-04 Joseph Myers <joseph@codesourcery.com>
21465
21466 [BZ #13550]
21467 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21468 (__ubp_memchr): Remove prototype.
21469 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21470 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21471 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21472 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21473 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21474 Remove alias.
21475 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21476 (__ubp_memchr): Likewise.
21477 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21478 (__ubp_memchr): Likewise.
21479 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21480 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21481 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21482 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21483 CHECK_STRING.
21484 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21485 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21486 (__getcwd): Do not use CHECK_STRING.
21487 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21488 <bp-checks.h>.
21489 (__real_chown): Do not use CHECK_STRING.
21490 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21491 <bp-checks.h>.
21492 (fchownat): Do not use CHECK_STRING.
21493 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21494 CHECK_STRING.
21495 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21496 <bp-checks.h>.
21497 (__lchown): Do not use CHECK_STRING.
21498 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21499 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21500 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21501 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21503 include <bp-checks.h>.
21504 (truncate64): Do not use CHECK_STRING.
21505 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21506 <bp-checks.h>.
21507 (__real_chown): Do not use CHECK_STRING.
21508 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21509 <bp-checks.h>.
21510 (__lchown): Do not use CHECK_STRING.
21511 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21512 <bp-checks.h>.
21513 (__chown): Do not use CHECK_STRING.
21514 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
21515 <bp-checks.h>.
21516 (truncate64): Do not use CHECK_STRING.
21517 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
21518 Likewise.
21519 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
21520 (__xmknod): Do not use CHECK_STRING.
21521 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
21522 <bp-checks.h>.
21523 (__xmknodat): Do not use CHECK_STRING.
21524 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21525 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21526
903ae060
AS
215272013-02-04 Andreas Schwab <schwab@suse.de>
21528
21529 [BZ #14142]
21530 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
21531 * include/netdb.h: Likewise for h_errno.
21532 * elf/tst-stackguard1.c: Include <tls.h>.
21533
542f9466
JK
215342013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
21535
21536 * elf/link.h (struct link_map): Extend the l_addr comment.
21537 * include/link.h (struct link_map): Likewise.
21538
e782a927
JM
215392013-02-01 Joseph Myers <joseph@codesourcery.com>
21540
21541 [BZ #13550]
21542 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
21543 (BOUNDED_1): Remove macro.
21544 * debug/backtrace.c: Don't include <bp-checks.h>.
21545 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
21546 (__backtrace): Likewise.
21547 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
21548 <bp-checks.h>.
21549 (__backtrace): Don't use BOUNDED_1.
21550 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
21551 <bp-checks.h>.
21552 (__backtrace): Don't use BOUNDED_1.
21553 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
21554 (__backtrace): Don't use BOUNDED_1.
21555 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
21556 (shmat): Don't use BOUNDED_N.
21557
8cf28c5e
JM
215582013-01-31 Joseph Myers <joseph@codesourcery.com>
21559
3a7ac8a0
JM
21560 [BZ #13550]
21561 * sysdeps/generic/bp-start.h: Remove file.
21562 * csu/libc-start.c: Don't include <bp-start.h>.
21563 (LIBC_START_MAIN): Set up __environ directly instead of using
21564 INIT_ARGV_and_ENVIRON.
21565 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
21566 <bp-start.h>.
21567
f3499f95
JM
21568 [BZ #13550]
21569 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
21570 definitions.
21571 (CHECK_FCNTL): Likewise.
21572 (CHECK_N_PAGES): Likewise.
21573
32a45bea
JM
21574 [BZ #13550]
21575 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
21576 definitions.
21577 (CHECK_SIGSET_NULL_OK): Likewise.
21578 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
21579 <bp-checks.h>.
21580 (sigpending): Don't use CHECK_SIGSET.
21581 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
21582 <bp-checks.h>.
21583 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21584 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
21585 <bp-checks.h>.
21586 (do_sigsuspend): Don't use CHECK_SIGSET.
21587 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
21588 use CHECK_SIGSET.
21589 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
21590 (do_sigwait): Don't use CHECK_SIGSET.
21591 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
21592 use CHECK_SIGSET.
21593 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
21594 include <bp-checks.h>.
21595 (sigpending): Don't use CHECK_SIGSET.
21596 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
21597 include <bp-checks.h>.
21598 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21599 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
21600 <bp-checks.h>.
21601 (sigpending): Don't use CHECK_SIGSET.
21602 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
21603 <bp-checks.h>.
21604 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21605
2e8a5c8c
JM
21606 [BZ #13550]
21607 * sysdeps/generic/bp-semctl.h: Remove file.
21608 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
21609 <bp-checks.h> and <bp-semctl.h>.
21610 (__old_semctl): Don't use CHECK_SEMCTL.
21611 (__new_semctl): Likewise.
21612 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
21613 and <bp-semctl.h>.
21614 (__old_semctl): Don't use CHECK_SEMCTL.
21615 (__new_semctl): Likewise.
21616 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
21617 <bp-checks.h> and <bp-semctl.h>.
21618 (__old_semctl): Don't use CHECK_SEMCTL.
21619 (__new_semctl): Likewise.
21620 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
21621 <bp-checks.h> and <bp-semctl.h>.
21622 (semctl): Don't use CHECK_SEMCTL.
21623
c2d54929
JM
21624 [BZ #13550]
21625 * Makerules (elide-bp-thunks): Remove variable.
21626 (elide-routines.oS): Don't use $(elide-bp-thunks).
21627 (elide-routines.os): Likewise.
21628 (elide-routines.o): Likewise.
21629 (elide-routines.op): Likewise.
21630 (elide-routines.og): Likewise.
21631 (objects): Don't use $(bp-thunks).
21632 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
21633 include.
21634 (common-generated): Do not add s-proto-bp.d.
21635 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
21636 (int): Likewise.
21637 (typ): Likewise.
21638 Do not generate makefile rules for bounded-pointer thunks.
21639 * sysdeps/generic/bp-thunks.h: Remove file.
21640 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
21641 * sysdeps/unix/s-proto-bp.S: Likewise.
21642
8cf28c5e
JM
21643 [BZ #15062]
21644 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
21645 parts of result separately when argument is not close to line from
21646 -i to i and one part of argument is small.
21647 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21648 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21649 * math/libm-test.inc (cacos_test): Add more tests.
21650 (casin_test): Likewise.
21651 (casinh_test): Likewise.
21652 * sysdeps/i386/fpu/libm-test-ulps: Update.
21653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21654
c4e33b8d
DM
216552013-01-31 David S. Miller <davem@davemloft.net>
21656
21657 * po/de.po: Update from translation team.
21658
3b60b421
MK
216592013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
21660
21661 * time/tzfile.c: Include stdint.h for SIZE_MAX.
21662
bb931195
TS
216632013-01-25 Thomas Schwinge <thomas@codesourcery.com>
21664
b5a5da23
TS
21665 * configure.in (_AC_PROG_CC_C89): New definition.
21666 * configure: Regenerate.
21667
bb931195
TS
21668 * configure.in (AC_PROG_CPP): New definition.
21669 * configure: Regenerate.
21670
8c53a12c
JM
216712013-01-23 Joseph Myers <joseph@codesourcery.com>
21672
21673 * debug/tst-backtrace.h: New file.
21674 * debug/tst-backtrace2.c: Include tst-backtrace.h.
21675 (ret): Remove variable.
21676 (x): Likewise.
21677 (FAIL): Remove macro.
21678 (NO_INLINE): Likewise.
21679 (fn1): Use match function instead of strstr.
21680 * debug/tst-backtrace3.c: Include tst-backtrace.h.
21681 (ret): Remove variable.
21682 (x): Likewise.
21683 (FAIL): Remove macro.
21684 (NO_INLINE): Likewise.
21685 (fn): Use match function instead of strstr.
21686 * debug/tst-backtrace4.c: Include tst-backtrace.h.
21687 (ret): Remove variable.
21688 (x): Likewise.
21689 (FAIL): Remove macro.
21690 (NO_INLINE): Likewise.
21691 (handle_signal): Use match function instead of strstr.
21692 * debug/tst-backtrace5.c: Include tst-backtrace.h.
21693 (ret): Remove variable.
21694 (x): Likewise.
21695 (FAIL): Remove macro.
21696 (NO_INLINE): Likewise.
21697 (handle_signal): Use match function instead of strstr.
21698
4858fa2a
RM
216992013-01-23 Roland McGrath <roland@hack.frob.com>
21700
21701 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
21702
bae8e7f5
DM
217032013-01-23 David S. Miller <davem@davemloft.net>
21704
21705 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
21706 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
21707 argument of CAS if possible.
21708 * sysdeps/sparc/sparc64/bits/atomic.h
21709 (__arch_compare_and_exchange_val_32_acq): Likewise.
21710 (__arch_compare_and_exchange_val_64_acq): Likewise.
21711
9cbbc4ae
PT
217122013-01-23 Pino Toscano <toscano.pino@tiscali.it>
21713
21714 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
21715 * sysdeps/posix/ulimit.c: ... this.
92a601b8 21716 Include <limits.h>.
67b3f58c 21717 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 21718
5655a0b5
AC
217192013-01-23 Adam Conrad <adconrad@0c3.net>
21720
21721 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
21722 (LDFLAGS-tst-array5): Likewise.
21723
052aff95
JM
217242013-01-23 Joseph Myers <joseph@codesourcery.com>
21725
21726 [BZ #15036]
21727 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
21728 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
21729 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
21730 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
21731
7c1e01aa
DM
217322013-01-21 David S. Miller <davem@davemloft.net>
21733
21734 * sysdeps/sparc/backtrace.c: New file.
21735 * sysdeps/sparc/sparc32/backtrace.h: New file.
21736 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
21737 * sysdeps/sparc/sparc64/backtrace.h: New file.
21738 * sysdeps/sparc/sparc64/backtrace.c: Delete.
21739 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
21740 -funwind-tables.
21741
ab087e0a
AS
217422013-01-21 Andreas Schwab <schwab@suse.de>
21743
21744 [BZ #15020]
21745 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
21746 closed its stdout.
21747
ed689c2f
AS
217482013-01-20 Andreas Schwab <schwab@linux-m68k.org>
21749
21750 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
21751 "mpa2.h".
21752 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21753
31d470ac
JM
217542013-01-18 Joseph Myers <joseph@codesourcery.com>
21755 Mark Mitchell <mark@codesourcery.com>
21756 Tom de Vries <tom@codesourcery.com>
21757 Paul Pluzhnikov <ppluzhnikov@google.com>
21758
21759 * debug/tst-backtrace2.c: New file.
21760 * debug/tst-backtrace3.c: Likewise.
21761 * debug/tst-backtrace4.c: Likewise.
21762 * debug/tst-backtrace5.c: Likewise.
21763 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
21764 (CFLAGS-tst-backtrace3.c): Likewise.
21765 (CFLAGS-tst-backtrace4.c): Likewise.
21766 (CFLAGS-tst-backtrace5.c): Likewise.
21767 (LDFLAGS-tst-backtrace2): Likewise.
21768 (LDFLAGS-tst-backtrace3): Likewise.
21769 (LDFLAGS-tst-backtrace4): Likewise.
21770 (LDFLAGS-tst-backtrace5): Likewise.
21771 (tests): Add new tests tst-backtrace2, tst-backtrace3,
21772 tst-backtrace4 and tst-backtrace5.
21773
90567f30 217742013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
21775 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21776
21777 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
21778 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
21779 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
21780 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
21781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21782 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
21783 "+r" and remove output regs list as redundant. Add explicit inline
21784 asm to specify register of return val to work around compiler codegen
21785 bug. Remove (int) cast on return value. Add return type parameter to
21786 use in macro so that this macro does not truncate return value for
21787 64-bit values.
21788 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
21789 pass to INTERNAL_VSYSCALL_NCS.
21790 (INLINE_VSYSCALL): Add 'long int' as return type to
21791 INTERNAL_VSYSCALL_NCS macro invocation.
21792 (INTERNAL_VSYSCALL): Add 'long int' as return type to
21793 INTERNAL_VSYSCALL_NCS macro invocation.
21794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21795
d3b9ea61
SP
217962013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21797
0b57daeb
SP
21798 [BZ #14496]
21799 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
21800 Fix application of SIMD FP exception mask.
21801
caa99d06
SP
21802 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
21803 mp_no from a power of two.
21804 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
21805 __mpexp_twomm1. Use __pow_mp.
21806
d3b9ea61
SP
21807 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
21808 multiplication.
21809
1dbaee3c
DM
218102013-01-17 David S. Miller <davem@davemloft.net>
21811
21812 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21813
728d7b43
JM
218142013-01-17 Joseph Myers <joseph@codesourcery.com>
21815
21816 [BZ #15023]
21817 * include/complex.h: Condition contents on [!_COMPLEX_H].
21818 (__kernel_casinhf): New prototype.
21819 (__kernel_casinh): Likewise.
21820 (__kernel_casinhl): Likewise.
21821 * math/Makefile (libm_calls): Add k_casinh.
21822 * math/k_casinh.c: New file.
21823 * math/k_casinhf.c: Likewise.
21824 * math/k_casinhl.c: Likewise.
21825 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
21826 finite nonzero arguments.
21827 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
21828 finite nonzero arguments.
21829 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
21830 finite nonzero arguments.
21831 * math/s_casinh.c: Do not include <float.h>.
21832 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
21833 * math/s_casinhf.c: Do not include <float.h>.
21834 (__casinhf): Move code for finite nonzero arguments to
21835 k_casinhf.c.
21836 * math/s_casinhl.c: Do not include <float.h>.
21837 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
21838 redefine.
21839 (__casinhl): Move code for finite nonzero arguments to
21840 k_casinhl.c.
21841 * math/libm-test.inc (cacos_test): Add more tests.
21842 * sysdeps/i386/fpu/libm-test-ulps: Update.
21843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21844
2a26ef3a
PT
218452013-01-17 Pino Toscano <toscano.pino@tiscali.it>
21846
21847 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
21848 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
21849 [!HAVE_MREMAP]: Remove [defined linux] case.
21850 * malloc/arena.c: Do not include <malloc-sysdep.h>.
21851
a897655d
SP
218522013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21853
21854 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
21855
881ebe89 218562013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
21857
21858 * elf/elf.h (R_386_SIZE32): New relocation.
21859 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
21860 R_386_SIZE32.
21861 (elf_machine_rela): Likewise.
21862 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21863 R_X86_64_SIZE64 and R_X86_64_SIZE32.
21864
59981e9b
JM
218652013-01-17 Joseph Myers <joseph@codesourcery.com>
21866
21867 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
21868 (FP_FAST_FMA): Do not define.
21869 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
21870 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
21871 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
21872 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
21873 !_SOFT_FLOAT]: Likewise.
21874 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
21875 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
21876 value.
21877 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
21878 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
21879 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
21880 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
21881 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
21882 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
21883 file.
21884
cfa8054f
AS
218852013-01-16 Andreas Schwab <schwab@suse.de>
21886
21887 [BZ #14327]
21888 * include/stdlib.h (__mktemp): Add declaration.
21889 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
21890 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
21891
dd930cc5
SP
218922013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21893
881ebe89
SP
21894 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
21895 definitions.
21896 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21897 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
21898 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
21899 definitions here.
21900 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
21901 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
21902 definitions.
21903 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
21904 and ONE.
21905 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
21906 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
21907 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
21908 definitions.
21909 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
21910 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
21911 definitions.
21912 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 21913
dd930cc5
SP
21914 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
21915
c19a9f89
DM
219162013-01-15 David S. Miller <davem@davemloft.net>
21917
1aa61767
DM
21918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21919 trunc{,f} to libm-sysdep_routes.
21920 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
21922 file.
21923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
21924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
21925 file.
21926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
21927 file.
21928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
21929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
21930 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
21931 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
21932 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
21933 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
21934 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
21935 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
21936
c42d5e98
DM
21937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21938 nearbyint{,f} to libm-sysdep_routes.
21939 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
21941 New file.
21942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
21943 file.
21944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
21945 New file.
21946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
21947 file.
21948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
21949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
21950 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
21951 file.
21952 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
21953 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
21954 file.
21955 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
21956 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
21957 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
21958
c19a9f89
DM
21959 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21960 libc_feholdexcept and libc_fesetenv.
21961
357679d2
MF
219622013-01-15 Mike Frysinger <vapier@gentoo.org>
21963
21964 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
21965
65a82e3d
DM
219662013-01-14 David S. Miller <davem@davemloft.net>
21967
8b954ab9
DM
21968 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
21969 (SPARC_ASM_VIS2_IFUNC): Likewise.
21970 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
21971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
21972 use of 'siam' instruction.
21973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
21974 Likewise.
21975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
21976 Likewise.
21977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
21978 Likewise.
21979 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
21980 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
21981 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
21982 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
21983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
21984 file.
21985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
21986 file.
21987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
21988 file.
21989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
21990 file.
21991 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
21992 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
21993 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
21994 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
21995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
21996 new VIS2 routines.
21997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22000 Likewise.
22001 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22002 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22003 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22004 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22006 routines to libm-sysdep_routines.
22007 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22008
65a82e3d
DM
22009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22010 fdim/fdimf to libm-sysdep_routines.
22011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22012 file.
22013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22015 file.
22016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22019 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22020 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22021 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22022 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22023
e34ab705
SP
220242013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22025
2a91b573
SP
22026 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22027 to optimize copies.
22028
1066a534
SP
22029 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22030 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22031 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22032
e34ab705
SP
22033 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22034 local variable MPTWO.
22035 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22036 Likewise.
22037
aba5e596
MF
220382013-01-13 Mike Frysinger <vapier@gentoo.org>
22039
22040 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22041 GLOB_NOESCAPE.
22042
e557e9e5
MF
220432013-01-13 Mike Frysinger <vapier@gentoo.org>
22044
22045 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22046
0428cec9
MF
220472013-01-13 Mike Frysinger <vapier@gentoo.org>
22048
22049 * manual/pattern.texi (glob_t): Document gl_flags.
22050 (glob64_t): Likewise.
22051
8794a964
DM
220522013-01-11 David S. Miller <davem@davemloft.net>
22053
66438c3f
RM
22054 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22055 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22056 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
22057 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22058 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22059 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22060 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22061 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22062 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22063 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22064 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22065 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22066 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22067
4ae4244d
DM
22068 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22069 sparc V9 rather than using V8 code.
22070 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22071 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22072
8794a964
DM
22073 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22074 Move to...
22075 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22076 Here.
22077
6270516e
RM
220782013-01-11 Roland McGrath <roland@hack.frob.com>
22079
22080 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22081 not in the main loop.
22082 * configure: Regenerated.
22083
6a57d931
JM
220842013-01-11 Joseph Myers <joseph@codesourcery.com>
22085
22086 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22087 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22088 to just #else.
22089 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
22090 [!__GLIBC_HAVE_LONG_LONG] case.
22091 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22092 condition to just #else.
22093 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22094 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22095 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22096 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22097 unconditional.
22098 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22099 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22100 #elif condition to just #else.
22101 * sysdeps/unix/sysv/linux/sys/sysmacros.h
22102 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22103 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22104 #elif condition to just #else.
22105
0e8529e9
SE
221062013-01-11 Steve Ellcey <sellcey@mips.com>
22107
22108 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22109 (EF_MIPS_ARCH_64): Fix value.
22110 (EF_MIPS_ARCH_32R2): New.
22111 (EF_MIPS_ARCH_64R2): New.
22112
740b3dbe
L
221132013-01-11 H.J. Lu <hongjiu.lu@intel.com>
22114
22115 * Makeconfig (+link-pie-before-libc): New.
22116 (+link-pie-after-libc): Likewise.
22117 (+link-pie-tests): Likewise.
22118 (+link-pie): Rewritten.
22119 (link-before-libc): Remove $(config-LDFLAGS).
22120 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22121 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22122 (config-LDFLAGS): Renamed to ...
22123 (rtld-LDFLAGS): This.
22124 (rtld-tests-LDFLAGS): New macro.
22125 (link-libc-rpath-link): Likewise.
22126 (link-libc-tests-rpath-link): Likewise.
22127 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22128 (link-libc): Prepand $(link-libc-rpath-link).
22129 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22130 (test-program-prefix): New macro.
22131 (test-via-rtld-prefix): Likewise.
22132 (test-program-cmd): Likewise.
22133 (host-test-program-cmd): Likewise.
22134 * Makefile ($(common-objpfx)testrun.sh): Replace
22135 $(run-program-prefix) with $(test-program-prefix).
22136 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22137 $(rtld-LDFLAGS).
22138 ($(common-objpfx)shlib.lds): Likewise.
22139 (build-module-helper): Likewise.
22140 ($(common-objpfx)format.lds): Likewise.
22141 * Rules (binaries-pie-tests): New.
22142 (binaries-pie-notests): Likewise.
22143 (binaries-pie): Rewritten.
22144 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22145 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22146 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22147 (make-test-out): Replace $(host-built-program-cmd) with
22148 $(host-test-program-cmd).
22149 * config.make.in (build-hardcoded-path-in-tests): New variable.
22150 * configure.in (--enable-hardcoded-path-in-tests): New configure
22151 option.
22152 (hardcoded_path_in_tests): New AC_SUBST.
22153 * configure: Regenerated.
22154 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22155 $(built-program-cmd) with $(test-program-cmd).
22156 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22157 (test_program_cmd): This.
22158 * elf/Makefile ($(objpfx)order.out): Run test with
22159 $(test-program-prefix).
22160 ($(objpfx)order2.out): Likewise.
22161 ($(objpfx)tst-initorder.out): Likewise.
22162 ($(objpfx)tst-initorder2.out): Likewise.
22163 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22164 $(test-program-cmd).
22165 ($(objpfx)tst-array1-static.out): Likewise.
22166 ($(objpfx)tst-array2.out): Likewise.
22167 ($(objpfx)tst-array3.out): Likewise.
22168 ($(objpfx)tst-array4.out): Likewise.
22169 ($(objpfx)tst-array5.out): Likewise.
22170 ($(objpfx)tst-array5-static.out): Likewise.
22171 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22172 $(test-program-cmd).
22173 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22174 $(run-program-prefix) with $(test-program-prefix).
22175 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22176 (test_program_prefix): This.
22177 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22178 $(run-program-prefix) with $(test-program-prefix).
22179 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22180 (test_program_prefix): This.
22181 * iconvdata/tst-tables.sh: Likewise.
22182 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22183 $(run-program-prefix) with $(test-program-prefix).
22184 ($(objpfx)tst-translit.out): Likewise.
22185 ($(objpfx)tst-gettext2.out): Likewise.
22186 ($(objpfx)tst-gettext4.out): Likewise.
22187 ($(objpfx)tst-gettext6.out): Likewise.
22188 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22189 (test_program_prefix): This.
22190 * intl/tst-gettext2.sh: Likewise.
22191 * intl/tst-gettext4.sh Likewise.
22192 * intl/tst-gettext6.sh: Likewise.
22193 * intl/tst-translit.sh: Likewise.
22194 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22195 with $(test-program-cmd).
22196 * libio/Makefile ($(objpfx)test-freopen.out): Replace
22197 $(run-program-prefix) with $(test-program-prefix).
22198 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22199 (test_program_prefix): This.
22200 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22201 $(run-program-prefix) with $(test-program-prefix).
22202 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22203 (test_program_prefix): This.
22204 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22205 * posix/Makefile ($(objpfx)globtest.out): Replace
22206 $(run-via-rtld-prefix) and $(test-wrapper) with
22207 $(test-program-prefix) and $(test-via-rtld-prefix).
22208 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22209 $(test-program-prefix).
22210 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22211 $(host-test-program-cmd).
22212 (tst-spawn-ARGS): Likewise.
22213 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22214 $(test-program-prefix).
22215 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22216 (test_via_rtld_prefix): This.
22217 (test_wrapper): Renamed to ...
22218 (test_program_prefix): This.
22219 (run_program_prefix): Replaced by test_program_prefix.
22220 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22221 (test_program_prefix): This.
22222 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22223 with $(host-test-program-cmd).
22224 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22225 $(run-program-prefix) with $(test-program-prefix).
22226 ($(objpfx)tst-printf.out): Likewise.
22227 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22228 $(test-program-cmd).
22229 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22230 (test_program_prefix): This.
22231 * stdio-common/tst-unbputc.sh: Likewise.
22232 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22233 $(run-program-prefix) with $(test-program-prefix).
22234 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22235 (test_program_prefix): This.
22236 * string/Makefile ($(objpfx)tst-svc.out): Replace
22237 $(built-program-cmd) with $(test-program-cmd).
22238
c6fe55cf
AJ
222392013-01-11 Andreas Jaeger <aj@suse.de>
22240
22241 [BZ #15003]
22242 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22243 value. Sync with Linux 3.7.
22244
9e6919c8
DM
222452013-01-10 David S. Miller <davem@davemloft.net>
22246
22247 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22248 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22249 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22250
1c9f1a02
RM
222512013-01-10 Roland McGrath <roland@hack.frob.com>
22252
22253 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22254 never set.
22255 * configure: Regenerated.
22256
b9de2dde
DM
222572013-01-10 David S. Miller <davem@davemloft.net>
22258
22259 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22260 sparc V9 rather than using V8 code.
22261 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22262 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22263
e7f68ef4
RM
222642013-01-10 Roland McGrath <roland@hack.frob.com>
22265
22266 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22267 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22268 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22269 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22270 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22271 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22272 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22273 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22274 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22275 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22276 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22277 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22278 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22279 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22280 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22281 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22282 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22283 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22284 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22285 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22286 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22287 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22288 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22289 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22290 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22291 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22292 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22293
5a47cc9c
DM
222942013-01-10 David S. Miller <davem@davemloft.net>
22295
22296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22297
4cf8f209
L
222982013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22299
22300 * posix/Makefile (tests-static): New variable.
22301 (tests): Add $(tests-static).
22302 (tst-exec-static-ARGS): New variable.
22303 (tst-spawn-static-ARGS): Likewise.
22304 * posix/tst-exec-static.c: New file.
22305 * posix/tst-spawn-static.c: Likewise.
22306 * posix/tst-exec.c: Support run directly.
22307 * posix/tst-spawn.c: Likewise.
22308
fed0faa1
JM
223092013-01-10 Joseph Myers <joseph@codesourcery.com>
22310
828beb13
JM
22311 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22312 long.
22313 * math/bits/mathcalls.h (llrint): Likewise.
22314 (llround): Likewise.
22315 * stdlib/stdlib.h (struct drand48_data): Likewise.
22316 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22317 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22318 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22319 Likewise.
22320 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22321 Likewise.
22322 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22323 (elf_greg_t): Likewise.
22324 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22325 (__jmp_buf): Likewise.
22326 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22327 definitions.
22328 (llrint): Likewise, for all definitions.
22329 (llrintl): Likewise.
22330
fed0faa1
JM
22331 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22332 Remove [__GNUC__] condition.
22333 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22334 condition to just [__USE_ISOC99].
22335 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22336
1a20cb20
L
223372013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22338
22339 [BZ #14200]
22340 * sysdeps/unix/sysv/linux/x86/bits/environments.h
22341 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22342 defined.
22343 (_POSIX_V6_ILP32_OFF32): Likewise.
22344 (_XBS5_ILP32_OFF32): Likewise.
22345 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22346 (__ILP32_OFFBIG_LDFLAGS): Likewise.
22347
751b85f7
SP
223482013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22349
7490eb81
SP
22350 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22351
751b85f7
SP
22352 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22353 doubles __mpexp_twomm1. Adjust usage.
22354 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22355 Remove.
22356
988197f0
AS
223572013-01-10 Andreas Schwab <schwab@suse.de>
22358
22359 [BZ #14964]
22360 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22361 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22362
e83d7298
DM
223632013-01-09 David S. Miller <davem@davemloft.net>
22364
034ed64b 22365 [BZ #15003]
57f41c40
AS
22366 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22367 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22368 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22369 (TCP_FASTOPEN): Define.
e83d7298
DM
22370 (tcp_repair_opt): New structure.
22371 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22372 enum values.
57f41c40
AS
22373 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22374 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22375 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
22376 (tcp_cookie_transactions): New structure.
22377
d5e0b9bd
AB
223782013-01-09 Anton Blanchard <anton@samba.org>
22379
22380 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22381 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22382 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22383 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22384
0c07e3ea
JM
223852013-01-09 Joseph Myers <joseph@codesourcery.com>
22386
22387 * include/features.h (__USE_ANSI): Remove.
22388
232f7002
RM
223892013-01-09 Roland McGrath <roland@hack.frob.com>
22390
ad98e30c
RM
22391 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22392
232f7002
RM
22393 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22394
950c99ca
SP
223952013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
22396
b5792741
SP
22397 * sysdeps/s390/fpu/libm-test-ulps: Update.
22398
47cf2278
SP
22399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22400
950c99ca
SP
22401 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22402 (__acr): Likewise.
22403 (__cpy): Likewise.
22404 (norm): Likewise.
22405 (denorm): Likewise.
22406 (__mp_dbl): Likewise.
22407 (__dbl_mp): Likewise.
22408 (add_magnitudes): Likewise.
22409 (sub_magnitudes): Likewise.
22410 (__add): Likewise.
22411 (__sub): Likewise.
22412 (__mul): Likewise.
22413 (__inv): Likewise.
22414 (__dvd): Likewise.
22415 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22416 (__acr): Likewise.
22417 (__cpy): Likewise.
22418 (norm): Likewise.
22419 (denorm): Likewise.
22420 (__mp_dbl): Likewise.
22421 (__dbl_mp): Likewise.
22422 (add_magnitudes): Likewise.
22423 (sub_magnitudes): Likewise.
22424 (__add): Likewise.
22425 (__sub): Likewise.
22426 (__mul): Likewise.
22427 (__inv): Likewise.
22428 (__dvd): Likewise.
22429 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22430 (__acr): Likewise.
22431 (__cpy): Likewise.
22432 (norm): Likewise.
22433 (denorm): Likewise.
22434 (__mp_dbl): Likewise.
22435 (__dbl_mp): Likewise.
22436 (add_magnitudes): Likewise.
22437 (sub_magnitudes): Likewise.
22438 (__add): Likewise.
22439 (__sub): Likewise.
22440 (__mul): Likewise.
22441 (__inv): Likewise.
22442 (__dvd): Likewise.
22443
eede9df9
JM
224442013-01-08 Joseph Myers <joseph@codesourcery.com>
22445
22446 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22447 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22448 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22449 2 && __USE_EXTERN_INLINES]: Likewise.
22450
c40ea3d9
AJ
224512013-01-08 Andreas Jaeger <aj@suse.de>
22452
22453 [BZ# 14985]
22454 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22455 Remove.
22456 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22457 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22458
2ccdea26
AB
224592013-01-07 Anton Blanchard <anton@samba.org>
22460
22461 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22462 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22463 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22464 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22465 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22466 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22467 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22468 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22469 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22470 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22471 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22472 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22473 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22474 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22475 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22476 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22477 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22478 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22479 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22480 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22481 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22482 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22483 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22484 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22485 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22486 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22487 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22488 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22489 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22490 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22491 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22492 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22493 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22494 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22495 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22496 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22497 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22498 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22499 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
22500 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22501 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
22502 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22503 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22504
a9708fed
JM
225052013-01-07 Joseph Myers <joseph@codesourcery.com>
22506
375607b9
JM
22507 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
22508 (__MALLOC_PMT): Likewise.
22509 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
22510 [__GNUC__], only on [_LIBC].
22511 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22512 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
22513 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22514 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
22515 forward declaration.
22516 (realloc_hook_ini): Likewise.
22517 (memalign_hook_ini): Likewise.
22518 (__libc_memalign): Do not use __MALLOC_PMT in variable
22519 declaration.
22520 (__libc_valloc): Likewise.
22521 (__libc_pvalloc): Likewise.
22522 (__libc_calloc): Likewise.
22523 (__posix_memalign): Likewise.
22524
a9708fed
JM
22525 [BZ #14996]
22526 * math/s_casinh.c: Include <float.h>.
22527 (__casinh): Do not do computation with squaring and square root
22528 for large arguments.
22529 * math/s_casinhf.c: Include <float.h>.
22530 (__casinhf): Do not do computation with squaring and square root
22531 for large arguments.
22532 * math/s_casinhl.c: Include <float.h>.
22533 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
22534 (__casinhl): Do not do computation with squaring and square root
22535 for large arguments.
22536 * math/libm-test.inc (casin_test): Add more tests.
22537 (casinh_test): Likewise.
22538 * sysdeps/i386/fpu/libm-test-ulps: Update.
22539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22540
afec409a
L
225412013-01-04 H.J. Lu <hongjiu.lu@intel.com>
22542
22543 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
22544 (__x86_64_raw_data_cache_size): Likewise.
22545 (__x86_64_data_cache_size_half): Likewise.
22546 (__x86_64_raw_data_cache_size_half): Likewise.
22547 (__x86_64_shared_cache_size): Likewise.
22548 (__x86_64_raw_shared_cache_size): Likewise.
22549 (__x86_64_shared_cache_size_half): Likewise.
22550 (__x86_64_raw_shared_cache_size_half): Likewise.
22551 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
22552 to ...
22553 (__x86_data_cache_size): This.
22554 (__x86_64_raw_data_cache_size): Renamed to ...
22555 (__x86_raw_data_cache_size): This.
22556 (__x86_64_data_cache_size_half): Renamed to ...
22557 (__x86_data_cache_size_half): This.
22558 (__x86_64_raw_data_cache_size_half): Renamed to ...
22559 (__x86_raw_data_cache_size_half): This.
22560 (__x86_64_shared_cache_size): Renamed to ...
22561 (__x86_shared_cache_size): This.
22562 (__x86_64_raw_shared_cache_size): Renamed to ...
22563 (__x86_raw_shared_cache_size): This.
22564 (__x86_64_shared_cache_size_half): Renamed to ...
22565 (__x86_shared_cache_size_half): This.
22566 (__x86_64_raw_shared_cache_size_half): Renamed to ...
22567 (__x86_raw_shared_cache_size_half): This.
22568 * sysdeps/x86_64/memcpy.S: Updated.
22569 * sysdeps/x86_64/memset.S: Likewise.
22570 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22571 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22572 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22573
0b3986d0
DM
225742013-01-04 David S. Miller <davem@davemloft.net>
22575
22576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22577
e47686e9
AS
225782013-01-04 Andreas Schwab <schwab@linux-m68k.org>
22579
d643bac1
AS
22580 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
22581 1 to avoid redefinition warning.
22582 (__USE_GNU): Don't define.
22583 (init_signaling_nan): Protoize.
22584
e47686e9
AS
22585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22586
b18decba
SP
225872013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22588
fffb407f
SP
22589 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
22590 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
22591 (__cpymn): Likewise.
22592 (norm): Remove commented code.
22593 (denorm): Likewise.
22594 (__mp_dbl): Likewise.
22595 (__inv): Likewise.
22596 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
22597 (__cpymn): Likewise.
22598 (norm): Remove commented code.
22599 (denorm): Likewise.
22600 (__mp_dbl): Likewise.
22601 (__inv): Likewise.
22602
b18decba
SP
22603 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
22604 mp_no value for 1.0 and 2.0.
22605 (norm): Use RADIXI instead of radixi.d.
22606 (denorm): Likewise.
22607 (__mul): Use 0.0 instead of zero.d.
22608 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
22609 mp_no value for 1.0 and 2.0.
22610 (norm): Use RADIXI instead of radixi.d.
22611 (denorm): Likewise.
22612 (__mul): Use 0.0 instead of zero.d.
22613
cdc1c96f
JM
226142013-01-04 Joseph Myers <joseph@codesourcery.com>
22615
22616 [BZ #14994]
22617 * math/s_casinh.c (__casinh): Reduce finite argument to first
22618 quadrant then set signs of results at the end.
22619 * math/s_casinhf.c (__casinhf): Likewise.
22620 * math/s_casinhl.c (__casinhl): Likewise.
22621 * math/libm-test.inc (casin_test): Add more tests.
22622 (casinh_test): Likewise.
22623 * sysdeps/i386/fpu/libm-test-ulps: Update.
22624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22625
302913e1
SP
226262013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22627
6420d207
SP
22628 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
22629
a9e48ab4
SP
22630 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
22631
b7837264
SP
22632 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
22633 declarations.
22634 (denorm): Likewise.
22635 (__mp_dbl): Likewise.
22636 (__inv): Likewise.
22637
f8af25d2
SP
22638 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
22639 and adjust the header comment.
22640
302913e1
SP
22641 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
22642 variable name from declaration.
22643
5d7dd1ca
L
226442013-01-03 H.J. Lu <hongjiu.lu@intel.com>
22645
22646 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22647 Initialize COMMON_CPUID_INDEX_7 element.
22648 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
22649 (CPUID_RTM): Likewise.
22650 (HAS_RTM): Likewise.
22651 (COMMON_CPUID_INDEX_7): New enum.
22652
2f5f40f4
AS
226532013-01-03 Andreas Schwab <schwab@linux-m68k.org>
22654
22655 [BZ #14981]
22656 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
22657 size is zero, record memory as freed.
22658
4056f4a0
AJ
226592013-01-03 Andreas Jaeger <aj@suse.de>
22660
22661 * po/ia.po: Add new Interlingua translation.
22662
ab15736f 226632012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
22664
22665 * locale/programs/localedef.c: Fix description of '--posix' flag.
22666
568035b7
JM
226672013-01-02 Joseph Myers <joseph@codesourcery.com>
22668
e6898b8d
JM
22669 * NEWS: Update dates in second copyright notice.
22670 * README: Update copyright dates in example.
22671 * manual/libc.texinfo: Update copyright dates.
22672 * scripts/test-installation.pl: Update copyright date in --version
22673 output.
22674
0e2f9562
JM
22675 * hurd/ctty-input.c: Fix copyright notice formatting.
22676 * hurd/ctty-output.c: Likewise.
22677 * hurd/dtable.c: Likewise.
22678 * hurd/hurd-raise.c: Likewise.
22679 * hurd/hurdprio.c: Likewise.
22680 * hurd/msgportdemux.c: Likewise.
22681 * misc/sys/file.h: Likewise.
22682 * misc/sys/ioctl.h: Likewise.
22683 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22684 * sysdeps/mach/hurd/chdir.c: Likewise.
22685 * sysdeps/mach/hurd/fchdir.c: Likewise.
22686 * sysdeps/mach/hurd/rename.c: Likewise.
22687 * sysdeps/mach/hurd/rmdir.c: Likewise.
22688 * sysdeps/mach/hurd/seekdir.c: Likewise.
22689 * sysdeps/mach/hurd/setsid.c: Likewise.
22690 * sysdeps/posix/wait3.c: Likewise.
22691
568035b7
JM
22692 * All files with FSF copyright notices: Update copyright dates
22693 using scripts/update-copyrights.
22694 * intl/plural.c: Regenerated.
22695 * locale/programs/charmap-kw.h: Likewise.
22696 * locale/programs/locfile-kw.h: Likewise.
22697
da08f647
SP
226982013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22699
0f5477af
SP
22700 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
22701 four values.
22702
44e0d4c2
SP
22703 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
22704 calculation loop and add branch prediction.
22705
4d55b4e5
SP
22706 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
22707 check access beyond bounds of m1np.
22708
da08f647
SP
22709 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22710 MPTWO.
22711 (__inv): Remove local variable MPTWO to use the global
22712 constant.
22713 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
22714 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22715 variable MPTWO.
22716 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
22717 MP3HALFS static const.
22718
8e051029
DM
227192013-01-01 David S. Miller <davem@davemloft.net>
22720
22721 * po/ca.po: Update from translation team.
22722
f4cf5f2d
JM
227232013-01-01 Joseph Myers <joseph@codesourcery.com>
22724
22725 * scripts/update-copyrights: New file.
22726 * Makeconfig: Reformat copyright notice.
22727 * ctype/ctype.h: Likewise.
22728 * debug/swprintf_chk.c: Likewise.
22729 * elf/dl-cache.c: Likewise.
22730 * elf/dl-debug.c: Likewise.
22731 * elf/dl-object.c: Likewise.
22732 * grp/initgroups.c: Likewise.
22733 * hurd/Makefile: Likewise.
22734 * hurd/hurd/signal.h: Likewise.
22735 * hurd/hurdfault.c: Likewise.
22736 * hurd/hurdioctl.c: Likewise.
22737 * hurd/hurdlookup.c: Likewise.
22738 * hurd/intr-msg.c: Likewise.
22739 * iconv/gconv_open.c: Likewise.
22740 * libio/swprintf.c: Likewise.
22741 * locale/lc-ctype.c: Likewise.
22742 * locale/nl_langinfo.c: Likewise.
22743 * mach/Machrules: Likewise.
22744 * mach/Makefile: Likewise.
22745 * malloc/obstack.h: Likewise.
22746 * manual/Makefile: Likewise.
22747 * manual/tsort.awk: Likewise.
22748 * misc/bits/stab.def: Likewise.
22749 * nis/nis_print_group_entry.c: Likewise.
22750 * nis/nis_table.c: Likewise.
22751 * nis/nss_compat/compat-pwd.c: Likewise.
22752 * nis/nss_compat/compat-spwd.c: Likewise.
22753 * po/Makefile: Likewise.
22754 * posix/fnmatch.c: Likewise.
22755 * posix/regex.h: Likewise.
22756 * resolv/Makefile: Likewise.
22757 * resolv/nss_dns/dns-network.c: Likewise.
22758 * resolv/res_hconf.c: Likewise.
22759 * scripts/gen-sorted.awk: Likewise.
22760 * soft-fp/soft-fp.h: Likewise.
22761 * stdio-common/printf.h: Likewise.
22762 * stdlib/monetary.h: Likewise.
22763 * stdlib/random.c: Likewise.
22764 * stdlib/random_r.c: Likewise.
22765 * sysdeps/generic/Makefile: Likewise.
22766 * sysdeps/gnu/Makefile: Likewise.
22767 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22768 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22769 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22770 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22771 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22772 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22773 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22774 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22775 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22776 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22777 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22778 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22779 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22780 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22781 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
22782 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22783 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22784 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22785 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22786 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22787 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22788 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22789 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22790 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22791 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
22792 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22793 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22794 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
22795 * sysdeps/mach/hurd/errnos.awk: Likewise.
22796 * sysdeps/mach/hurd/fork.c: Likewise.
22797 * sysdeps/mach/hurd/getcwd.c: Likewise.
22798 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
22799 * sysdeps/mach/hurd/mmap.c: Likewise.
22800 * sysdeps/mach/hurd/utimes.c: Likewise.
22801 * sysdeps/mach/hurd/xmknod.c: Likewise.
22802 * sysdeps/posix/profil.c: Likewise.
22803 * sysdeps/posix/readdir_r.c: Likewise.
22804 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22805 * sysdeps/powerpc/bits/setjmp.h: Likewise.
22806 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
22807 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22808 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22809 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22810 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22811 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22812 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22813 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22814 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22815 * sysdeps/pthread/lio_listio.c: Likewise.
22816 * sysdeps/sparc/dl-procinfo.h: Likewise.
22817 * sysdeps/unix/i386/sysdep.S: Likewise.
22818 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
22819 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
22820 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
22821 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
22822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22823 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22824 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22825 * sysdeps/unix/sysv/linux/speed.c: Likewise.
22826 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22827 * sysdeps/wordsize-32/divdi3.c: Likewise.
22828 * time/sys/time.h: Likewise.
22829 * wcsmbs/Makefile: Likewise.
22830
0549fbba
DM
228312013-01-01 David S. Miller <davem@davemloft.net>
22832
a141f1a7
DM
22833 * po/fr.po: Update from translation team.
22834
0549fbba
DM
22835 * catgets/gencat.c: Update copyright year.
22836 * csu/version.c: Likewise.
22837 * debug/catchsegv.sh: Likewise.
22838 * debug/pcprofiledump.c: Likewise.
22839 * debug/xtrace.sh: Likewise.
22840 * elf/ldconfig.c: Likewise.
22841 * elf/ldd.bash.in: Likewise.
22842 * elf/pldd.c: Likewise.
22843 * elf/sotruss.ksh: Likewise.
22844 * elf/sprof.c: Likewise.
22845 * iconv/iconv_prog.c: Likewise.
22846 * iconv/iconvconfig.c: Likewise.
22847 * locale/programs/locale.c: Likewise.
22848 * locale/programs/localedef.c: Likewise.
22849 * login/programs/pt_chown.c: Likewise.
22850 * malloc/memusage.sh: Likewise.
22851 * malloc/memusagestat.c: Likewise.
22852 * malloc/mtrace.pl: Likewise.
22853 * nscd/nscd.c: Likewise.
22854 * nss/getent.c: Likewise.
22855 * nss/makedb.c: Likewise.
22856 * posix/getconf.c: Likewise.
22857
18ea052c
SP
228582012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22859
22860 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
22861 numbers.
22862
9c89fca6
MF
228632012-12-30 Mike Frysinger <vapier@gentoo.org>
22864
22865 * math/bits/mathcalls.h (modf): Use __nonnull.
22866
085ec079
SP
228672012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22868
22869 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
22870 (split): Use macro CN instead of the bare value.
22871 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
22872 could be used.
22873 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
22874 instead of the bare value.
22875 (power1): Likewise.
22876
6d9f97e1
SP
228772012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22878
d63f73be
SP
22879 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
22880 __ATAN_TWOM.
22881 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22882
6d9f97e1
SP
22883 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
22884 their values.
22885 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22886 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22887 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
22888 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22889
4c4febf5
AJ
228902012-12-28 Andreas Jaeger <aj@suse.de>
22891
af5843ef
AJ
22892 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
22893 values are from Linux 3.7.
22894
4c4febf5
AJ
22895 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
22896 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
22897
99136f82
SP
228982012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22899
2f216c3c 22900 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
22901 TRUE case.
22902
99136f82
SP
22903 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
22904 (norm): Likewise.
22905 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
22906 variables with preprocessor constants.
22907 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22908 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22909 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22910
7fffbdff
BH
229112012-12-27 Bruno Haible <bruno@clisp.org>
22912
22913 [BZ #14317]
22914 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
22915 only if needed.
22916
b76eb5f0
SP
229172012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22918
31a7fe5c
SP
22919 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
22920 and use variable directly.
22921 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
22922
b76eb5f0
SP
22923 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22924 MPONE.
22925 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
22926 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22927 variable MPONE.
22928 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22929 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22930 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
22931 include directive. Remove local variable MPONE.
22932 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
22933 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
22934 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22935
2c8bfe7d
DM
229362012-12-25 David S. Miller <davem@davemloft.net>
22937
22938 * version.h (RELEASE): Set to "development".
22939 (VERSION): Set to "2.17.90".
22940 * NEWS: Add 2.18 section.
22941
147d03b0
DM
229422012-12-21 David S. Miller <davem@davemloft.net>
22943
22944 * po/hr.po: Update from translation team.
22945
a8ebb2b9
AK
229462012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22947
22948 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
22949
95b4f1b6
SE
229502012-12-19 Steve Ellcey <sellcey@mips.com>
22951
b2d94007 22952 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 22953
cedb2a90
MS
229542012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22955
22956 * manual/contrib.texi (Contributors): Spelling correction.
22957
bbf527d6
DM
229582012-12-15 David S. Miller <davem@davemloft.net>
22959
22960 * po/ru.po: Update from translation team.
22961
bc38c906
DM
229622012-12-13 David S. Miller <davem@davemloft.net>
22963
85429b1a
DM
22964 * NEWS: Mention IFUNC testsuite enhancements.
22965
d283e353
DM
22966 * po/pl.po: Update from translation team.
22967 * po/bg.po: Likewise.
22968
bc38c906
DM
22969 * manual/contrib.texi (Contributors): Update entries for Hongjiu
22970 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
22971
a181b0d7
DM
229722012-12-11 David S. Miller <davem@davemloft.net>
22973
4641d57e
DM
22974 * po/sv.po: Update from translation team.
22975
f7bc6495
DM
22976 * po/vi.po: Update from translation team.
22977
6fc9048f
DM
22978 * po/cs.po: Update from translation team.
22979
a181b0d7
DM
22980 * po/de.po: Update from translation team.
22981 * po/eo.po: Likewise.
22982 * po/nl.po: Likewise.
22983
f70bfe80
SP
229842012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22985
3c8b4190
SP
22986 [BZ #14246]
22987 * manual/argp.texi (Argp Helper Functions): Move node to follow
22988 Argp Parsing State.
22989
f70bfe80
SP
22990 [BZ #14872]
22991 * manual/conf.texi (Limits on File System Capacity): Mention if
22992 terminating null is included in the max size.
22993
188f0adf
AJ
229942012-12-10 Andreas Jaeger <aj@suse.de>
22995
22996 * po/cs.po: Update from translation team.
22997
56e7d3ad
SP
229982012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22999
23000 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23001 void pointer and cast to uintptr_t.
23002 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23003 path.
23004 * sysdeps/s390/s390-64/memcpy.S: Likewise.
23005 * sysdeps/s390/s390-64/memset.S: Likewise.
23006
76f2d2ea 230072012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
23008
23009 [BZ #14833]
23010 * menual/message.texi (Message Translation): Fix typos.
23011 (Helper programs for gettext): Likewise.
23012
67cbf9a2
AS
230132012-12-07 Andreas Schwab <schwab@linux-m68k.org>
23014
23015 [BZ #14898]
23016 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23017 Change to -1.
23018
682d0e9a
DM
230192012-12-07 David S. Miller <davem@davemloft.net>
23020
23021 * po/libc.pot: Update.
23022
573cd484
RH
230232012-12-07 Richard Henderson <rth@redhat.com>
23024
7e9da188 23025 [BZ #10114]
573cd484
RH
23026 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23027 normal/normal case to before the switch.
23028 (_FP_DIV): Likewise.
23029
e933a943
MF
230302012-12-06 Carlos O'Donell <carlos@systemhalted.org>
23031 Mike Frysinger <vapier@gentoo.org>
23032
23033 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23034 check for __NR_fadvise64_64.
23035
82123268
CM
230362012-12-06 Chris Metcalf <cmetcalf@tilera.com>
23037
23038 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23039 0, not just to plain "0" as a statement.
23040 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23041 with cw.
23042
d9814526
JM
230432012-12-06 Joseph Myers <joseph@codesourcery.com>
23044
23045 * NEWS: Use sourceware.org in Bugzilla URL.
23046
7728c574
SP
230472012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23048
f16946dd
SP
23049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23050 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23051
5704bbcb
SP
23052 * stdio-common/tst-put-error.c (do_test): Add newline to the
23053 padded test to ensure flush.
23054
17aa0516
JL
230552012-12-05 Jeff Law <law@redhat.com>
23056
23057 * sunrpc/etc.rpc (fedfs_admin): Add entry.
23058
363313b5
JM
230592012-12-05 Joseph Myers <joseph@codesourcery.com>
23060
effbd42a
JM
23061 * README: Don't refer to ports add-on as distributed separately.
23062 Mention AArch64 in list of systems supported in the ports add-on.
23063
87600365
JM
23064 * LICENSES: Add more non-FSF copyright and license notices.
23065
a0d7066a
JM
23066 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23067 ((unused)).
23068
66ca5a5b
JM
23069 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23070
363313b5
JM
23071 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23072 10000 as width of padded output.
23073
b37984ad
JM
230742012-12-04 Joseph Myers <joseph@codesourcery.com>
23075
9003570a
JM
23076 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23077
b37984ad
JM
23078 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23079 variable LX with __attribute__ ((unused)).
23080 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23081 Likewise.
23082 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23083 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23084 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23085 with __attribute__ ((unused)).
23086
c8df52ec
DM
230872012-12-04 David S. Miller <davem@abraco.davemloft.net>
23088
23089 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23090
b3b099af
JM
230912012-12-04 Joseph Myers <joseph@codesourcery.com>
23092
c33aa6e3
JM
23093 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23094 (CFLAGS-nldbl-acos.c): New variable.
23095 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23096 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23097 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23098 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23099 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23100 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23101 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23102 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23103 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23104 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23105 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23106 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23107 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23108 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23109 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23110 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23111 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23112 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23113 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23114 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23115 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23116 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23117 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23118 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23119 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23120 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23121 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23122 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23123 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23124 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23125 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23126 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23127 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23128 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23129 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23130 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23131 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23132 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23133 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23134 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23135 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23136 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23137 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23138 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23139 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23140 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23141 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23142 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23143 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23144 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23145 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23146 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23147 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23148 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23149 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23150 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23151 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23152 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23153 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23154 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23155 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23156 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23157 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23158 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23159 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23160 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23161 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23162 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23163 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23164 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23165 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23166 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23167 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23168 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23169 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23170 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23171 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23172 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23173 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23174 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23175 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23176 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23177 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23178 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23179 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23180 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23181 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23182 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23183 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23184 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23185 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23186 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23187 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23188 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23189 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23190 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23191 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23192
20f0018d
JM
23193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23194 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23195
b3b099af
JM
23196 [BZ #14914]
23197 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23198 whole low double instead of just low 47 bits when splitting values
23199 into two parts.
23200
029264d1
AM
232012012-12-03 Allan McRae <allan@archlinux.org>
23202
23203 * manual/stdio.texi (Predefined Printf Handlers): Remove
23204 @hsep and @vsep usage.
23205
c9d6789e
MF
232062012-12-03 Mike Frysinger <vapier@gentoo.org>
23207
23208 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23209 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23210
4b7634a5
JL
232112012-12-03 Jeff Law <law@redhat.com>
23212
23213 * time/sys/time.h (settimeofday): Do not mark TV argument
23214 as __nonnull.
23215
eb6cbd24
MF
232162012-12-01 Mike Frysinger <vapier@gentoo.org>
23217
23218 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23219 when currently writing and seek to current position when not.
23220 * libio/Makefile (tests): Remove bug-fclose1.
23221 * libio/bug-fclose1.c: Delete.
23222
f638872a
JM
232232012-12-01 Joseph Myers <joseph@codesourcery.com>
23224
23225 * manual/arith.texi (feenableexcept): Fix typo.
23226 (fedisableexcept): Likewise.
23227
48085d14
RM
232282012-11-30 Roland McGrath <roland@hack.frob.com>
23229
23230 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23231 second, differently-typed declaration, rather than a cast.
23232
1a538b9f
SP
232332012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23234
23235 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23236 * include/rpc/svc.h: ... here.
23237
d07f2ff1 232382012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
23239
23240 [BZ #13013]
23241 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23242 depending n and resplen2 to catch cases where answer
23243 equals answerp2.
23244
c93ec1f0
CD
232452012-11-29 Carlos O'Donell <carlos@systemhalted.org>
23246
23247 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23248 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23249
37db69de
MF
232502012-11-29 Mike Frysinger <vapier@gentoo.org>
23251
23252 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23253
e10c4e4f
RM
232542012-11-29 Roland McGrath <roland@hack.frob.com>
23255
23256 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23257
2af1b328
JL
232582012-11-28 Jeff Law <law@redhat.com>
23259
23260 [BZ #13761]
23261 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23262 dataset_temporary. Track alloca usage into alloca_used.
23263 If dataset is large allocate and release it via malloc/free.
23264
111db5b1
FW
232652012-06-04 Florian Weimer <fweimer@redhat.com>
23266
f06cc227 23267 [BZ #14197]
111db5b1
FW
23268 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23269
dd694abd
DM
232702012-11-28 David S. Miller <davem@davemloft.net>
23271
23272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23273
9984dd01
JM
232742012-11-28 Joseph Myers <joseph@codesourcery.com>
23275
23276 [BZ #14803]
23277 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23278 of pi/2 rounded to nearest to 64 bits.
23279 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23280 nearest to 64 bits.
23281 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23282 bits.
23283
14bc93a9
JL
232842012-11-28 Jeff Law <law@redhat.com>
23285 Martin Osvald <mosvald@redhat.com>
23286
23287 [BZ #14889]
23288 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23289 * sunrpc/svc.c: Include time.h.
23290 (__svc_accept_failed): New function.
23291 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23292 any reason other than EINTR, call __svc_accept_failed.
23293 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23294 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23295
e3c6aa3a
AS
232962012-11-28 Andreas Schwab <schwab@suse.de>
23297
23298 * scripts/abilist.awk: Also handle indirect functions in .opd
23299 section.
23300
1bead169
JM
233012012-11-28 Joseph Myers <joseph@codesourcery.com>
23302
23303 [BZ #13881]
23304 * sysdeps/x86/fpu/powl_helper.c: New file.
23305 * sysdeps/x86/fpu/Makefile: Likewise.
23306 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23307 (p3): New object.
23308 (__ieee754_powl): Use __powl_helper for finite arguments except
23309 integer exponents below 8.
23310 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23311 (p3): New object.
23312 (__ieee754_powl): Use __powl_helper for finite arguments except
23313 integer exponents below 8.
23314 * math/libm-test.inc (pow_test): Add more tests and enable some
23315 previously disabled tests.
23316 * sysdeps/i386/fpu/libm-test-ulps: Update.
23317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23318
0817d63d
SP
233192012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23320 Carlos O'Donell <carlos_odonell@mentor.com>
23321
23322 * nss/makedb.c (is_prime): Assert that input is odd and greater
23323 than 4. Note that fact in a comment too.
23324 (next_prime): Add 4 to input.
23325
de2fd463
SP
233262012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23327
23328 [BZ #11741]
23329 * libio/Makefile (tests): Add test case tst-fwrite-error.
23330 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23331 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23332 * libio/tst-fwrite-error.c: New test case.
23333
c515fb51
L
233342012-11-26 H.J. Lu <hongjiu.lu@intel.com>
23335
23336 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23337 before casting to void *.
23338 * include/libc-internal.h (__pointer_type): New macro.
23339 (__integer_if_pointer_type_sub): Likewise.
23340 (__integer_if_pointer_type): Likewise.
23341 (cast_to_integer): Likewise.
23342 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23343 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23344 before casting to atomic64_t.
23345 (atomic_exchange_acq): Likewise.
23346 (__arch_exchange_and_add_body): Likewise.
23347 (__arch_add_body): Likewise.
23348 (atomic_add_negative): Likewise.
23349 (atomic_add_zero): Likewise.
23350
4cf77aa9
JM
233512012-11-26 Joseph Myers <joseph@codesourcery.com>
23352
23353 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23354 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23355 (add_fdes): Likewise.
23356 (linear_search_fdes): Likewise.
23357 (binary_search_unencoded_fdes): Likewise.
23358
d260b3b4
AS
233592012-11-26 Andreas Schwab <schwab@linux-m68k.org>
23360
23361 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23362
67060746
AC
233632012-11-24 Adam Conrad <adconrad@0c3.net>
23364
23365 * configure.in: Autodetect C++ header directories.
23366 * configure: Regenerated.
23367
800938a1
MF
233682012-11-23 Mike Frysinger <vapier@gentoo.org>
23369
23370 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23371
4e6e34e6
AS
233722012-11-23 Andreas Schwab <schwab@linux-m68k.org>
23373
23374 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23375
7c7feb47
JM
233762012-11-22 Joseph Myers <joseph@codesourcery.com>
23377
7184dcdf
JM
23378 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23379 LDBL_MANT_DIG == 106]: Disable some tests.
23380 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23381 Likewise.
23382 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23383 Likewise.
23384
0a42601f
JM
23385 [BZ #14871]
23386 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23387 input for small inputs. Return +/- pi/2 for large inputs.
23388 * math/libm-test.inc (atan_test): Add more tests.
23389
79c9b9fe
JM
23390 * sysdeps/generic/unwind-dw2-fde-glibc.c
23391 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23392 __attribute__ ((unused)).
23393
c60d3bf2
JM
23394 [BZ #14645]
23395 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23396 x * y if x and y are nonzero and z is zero.
23397
ef1e0867
JM
23398 [BZ #14811]
23399 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23400 nonzero exponents with absolute value below 0x1p-117 to +/-
23401 0x1p-117.
23402
1468ded3
JM
23403 [BZ #14869]
23404 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23405 up arguments below 2**-450, not just those below 2**-500.
23406 * math/libm-test.inc (hypot_test): Add another test.
23407
8e27e3cc
JM
23408 [BZ #14868]
23409 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23410 Return a+b for ratio over 2**120, not 2**60.
23411 * math/libm-test.inc (hypot_test): Add another test.
23412
c9c0279b
JM
23413 * math/libm-test.inc (clog_test): Use
23414 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23415 (clog10_test): Likewise.
23416
7c7feb47
JM
23417 [BZ #6778]
23418 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23419
fff1530e
AS
234202012-11-22 Andreas Schwab <schwab@suse.de>
23421
23422 * sysdeps/i386/fpu/libm-test-ulps: Update.
23423
94558d30
PT
234242012-11-22 Pino Toscano <toscano.pino@tiscali.it>
23425
23426 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23427 printf output with newline.
23428
7e1be741
L
234292012-11-21 H.J. Lu <hongjiu.lu@intel.com>
23430
6bfea974
L
23431 [BZ #14865]
23432 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23433 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23434 -z nodlopen, -z initfirst and -z execstack support.
23435 * configure: Regenerated.
23436
7e1be741
L
23437 * elf/elf.h (DF_1_NODIRECT): New macro.
23438 (DF_1_IGNMULDEF): Likewise.
23439 (DF_1_NOKSYMS): Likewise.
23440 (DF_1_NOHDR): Likewise.
23441 (DF_1_EDITED): Likewise.
23442 (DF_1_NORELOC): Likewise.
23443 (DF_1_SYMINTPOSE): Likewise.
23444 (DF_1_GLOBAUDIT): Likewise.
23445 (DF_1_SINGLETON): Likewise.
23446 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23447 DT_1_SUPPORTED_MASK bits.
23448 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23449
105ce2ce
CD
234502012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
23451
23452 * sysdeps/unix/make-syscalls.sh: Document prefixes.
23453
123be9de
TS
234542012-11-20 Thomas Schwinge <thomas@codesourcery.com>
23455
d072f3f7
TS
23456 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23457 macro.
23458
123be9de
TS
23459 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23460 (sendmmsg): Move declarations...
23461 * socket/sys/socket.h: ... here.
23462 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23463 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23464 include it from...
23465 * socket/recvmmsg.c: ... this new file.
23466 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23467 (sendmmsg): Rename to __sendmmsg, create weak alias and make
23468 definition of __sendmmsg hidden.
23469 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23470 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23471 Move ENOSYS stub into and include it from...
23472 * socket/sendmmsg.c: ... this new file.
23473 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23474 (sysdep_routines): Move recvmmsg and sendmmsg...
23475 * socket/Makefile (routines): ... here.
23476 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23477 (GLIBC_PRIVATE): Add __sendmmsg.
23478 * include/sys/socket.h (__sendmmsg): Add declarations.
23479 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23480 sendmmsg.
23481
cf9a5d18
JM
234822012-11-20 Joseph Myers <joseph@codesourcery.com>
23483
23484 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23485 variable I1 with __attribute__ ((unused)).
23486 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23487
ecd4caf9
JM
234882012-11-19 Joseph Myers <joseph@codesourcery.com>
23489
be14d48f
JM
23490 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23491 DUMMY variables with __attribute__ ((unused)).
23492
ecd4caf9
JM
23493 * bits/byteswap.h: Include <bits/types.h>.
23494 (__bswap_64): Use __uint64_t instead of unsigned long long int.
23495
986cab95
PT
234962012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23497
23498 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
23499 string_t. Do not manually set errno.
23500 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
23501 length with __strnlen. Make sure to both set errno and return it on
23502 failure.
23503
6d33cc9d
DM
235042012-11-19 David S. Miller <davem@davemloft.net>
23505
23506 With help from Joseph Myers.
23507 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
23508 very large arguments properly.
23509 * math/libm-test.inc (atan_test): New tests.
23510 (atan2_test): New tests.
23511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23512 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23513
ee663277
JM
235142012-11-19 Joseph Myers <joseph@codesourcery.com>
23515
877f2d8e
JM
23516 [BZ #14856]
23517 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
23518 Define to 3.
23519
116fc08a
JM
23520 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
23521 [POSIX] (EADDRNOTAVAIL): Likewise.
23522 [POSIX] (EAFNOSUPPORT): Likewise.
23523 [POSIX] (EALREADY): Likewise.
23524 [POSIX] (ECONNABORTED): Likewise.
23525 [POSIX] (ECONNREFUSED): Likewise.
23526 [POSIX] (ECONNRESET): Likewise.
23527 [POSIX] (EDESTADDRREQ): Likewise.
23528 [POSIX] (EDQUOT): Likewise.
23529 [POSIX] (EHOSTUNREACH): Likewise.
23530 [POSIX] (EIDRM): Likewise.
23531 [POSIX] (EISCONN): Likewise.
23532 [POSIX] (ELOOP): Likewise.
23533 [POSIX] (EMULTIHOP): Likewise.
23534 [POSIX] (ENETDOWN): Likewise.
23535 [POSIX] (ENETUNREACH): Likewise.
23536 [POSIX] (ENOBUFS): Likewise.
23537 [POSIX] (ENODATA): Likewise.
23538 [POSIX] (ENOLINK): Likewise.
23539 [POSIX] (ENOMSG): Likewise.
23540 [POSIX] (ENOPROTOOPT): Likewise.
23541 [POSIX] (ENOSR): Likewise.
23542 [POSIX] (ENOSTR): Likewise.
23543 [POSIX] (ENOTCONN): Likewise.
23544 [POSIX] (ENOTSOCK): Likewise.
23545 [POSIX] (EOPNOTSUPP): Likewise.
23546 [POSIX] (EOVERFLOW): Likewise.
23547 [POSIX] (EPROTO): Likewise.
23548 [POSIX] (EPROTONOSUPPORT): Likewise.
23549 [POSIX] (EPROTOTYPE): Likewise.
23550 [POSIX] (ESTALE): Likewise.
23551 [POSIX] (ETIME): Likewise.
23552 [POSIX] (ETXTBSY): Likewise.
23553 [POSIX] (EWOULDBLOCK): Likewise.
23554 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
23555 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
23556 [POSIX] (SEEK_CUR): Likewise.
23557 [POSIX] (SEEK_END): Likewise.
23558 [POSIX || UNIX98] (mode_t): Do not require.
23559 [POSIX] (off_t): Likewise.
23560 [POSIX] (pid_t): Likewise.
23561 [POSIX] (sys/stat.h): Do not allow header.
23562 [POSIX] (unistd.h): Likewise.
23563 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
23564 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
23565 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
23566 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
23567 require.
23568 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
23569 sigevent): Specify elements.
23570 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
23571 entry.
23572 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
23573 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
23574
a483863f
JM
23575 * conform/data/cpio.h-data [POSIX]: Disable whole file.
23576 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
23577 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
23578 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
23579 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
23580 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
23581 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
23582 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
23583 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
23584 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
23585 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
23586 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
23587 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
23588 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
23589 Likewise.
23590 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
23591 Likewise.
23592 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
23593 Likewise.
23594 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
23595 Likewise.
23596 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
23597 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
23598 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
23599 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
23600 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
23601 Specify lower bound on value.
23602 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
23603 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
23604 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
23605 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
23606 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
23607 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
23608 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
23609 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
23610 value.
23611 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
23612 as optional.
23613 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
23614 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
23615 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
23616 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
23617 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
23618 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
23619 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
23620 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
23621 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
23622 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
23623 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
23624 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
23625 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
23626 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
23627 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
23628 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
23629 entry.
23630 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
23631 optional.
23632 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
23633 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
23634 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
23635 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
23636 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
23637 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
23638 Likewise.
23639 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
23640 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
23641 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
23642 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
23643 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
23644 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
23645 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
23646 as optional.
23647 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
23648 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
23649 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
23650 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
23651 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
23652 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
23653 specify as optional.
23654 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
23655 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
23656 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
23657 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
23658 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
23659 [XPG3] (NL_LANGMAX): Likewise.
23660 [POSIX || XPG3] (NL_MSGMAX): Likewise.
23661 [POSIX || XPG3] (NL_NMAX): Likewise.
23662 [POSIX || XPG3] (NL_SETMAX): Likewise.
23663 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
23664 [XPG3] (NZERO): Likewise.
23665 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
23666 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
23667 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
23668 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
23669 (REG_ERANGE): Expect.
23670 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
23671 optional-constant.
23672 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
23673 Use (void) in prototype.
23674 [POSIX] (*_t): Allow.
23675 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
23676 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
23677 (WRDE_BADVAL): Expect.
23678
5ba924e3
JM
23679 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
23680 expect.
23681 [XPG3 || XPG4] (O_RSYNC): Likewise.
23682 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
23683 Likewise.
23684 [XPG3 || XPG4] (pthread_sigmask): Likewise.
23685 [XPG3 || XPG4] (sigqueue): Likewise.
23686 [XPG3 || XPG4] (sigtimedwait): Likewise.
23687 [XPG3 || XPG4] (sigwaitinfo): Likewise.
23688 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
23689 [XPG3 || XPG4] (vsnprintf): Likewise.
23690 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
23691 Likewise.
23692 [XPG3 || XPG4] (blksize_t): Likewise.
23693 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
23694 Likewise.
23695 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
23696 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23697 [XPG3 || XPG4] (struct itimerspec): Likewise.
23698 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
23699 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
23700 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
23701 [XPG3 || XPG4] (clockid_t): Likewise.
23702 [XPG3 || XPG4] (timer_t): Likewise.
23703 [XPG3 || XPG4] (clock_getres): Likewise.
23704 [XPG3 || XPG4] (clock_gettime): Likewise.
23705 [XPG3 || XPG4] (clock_settime): Likewise.
23706 [XPG3 || XPG4] (nanosleep): Likewise.
23707 [XPG3 || XPG4] (timer_create): Likewise.
23708 [XPG3 || XPG4] (timer_delete): Likewise.
23709 [XPG3 || XPG4] (timer_gettime): Likewise.
23710 [XPG3 || XPG4] (timer_getoverrun): Likewise.
23711 [XPG3 || XPG4] (timer_settime): Likewise.
23712 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
23713 [XPG3 || XPG4] (getlogin_r): Likewise.
23714 [XPG3 || XPG4] (pread): Likewise.
23715 [XPG3 || XPG4] (pthread_atfork): Likewise.
23716 [XPG3 || XPG4] (pwrite): Likewise.
23717
ee663277
JM
23718 [BZ #14835]
23719 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
23720 <bits/siginfo.h>.
23721
942caa16
PT
237222012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23723
e19af380
PT
23724 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
23725 finalizing MALLSTREAM.
23726
942caa16
PT
23727 * sysdeps/mach/hurd/syncfs.c: New file.
23728
cfde9b46
SP
237292012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23730
23731 [BZ #14719]
23732 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
23733 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
23734 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
23735 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
23736 (_nss_dns_gethostbyname4_r): Likewise.
23737 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
23738 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
23739
f6da27e5
PH
237402012-11-19 Peng Haitao <penght@cn.fujitsu.com>
23741
23742 [BZ #13763]
23743 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
23744
6665d4a2
SM
237452012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
23746
1f51ee92
SM
23747 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
23748 * elf/cache.c (print_entry): Print ",AArch64" for
23749 FLAG_AARCH64_LIB64
23750
6665d4a2
SM
23751 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
23752 * elf/cache.c (print_entry): Print ",hard-float" for
23753 FLAG_ARM_LIBHF.
23754
05b227bd
DM
237552012-11-18 David S. Miller <davem@davemloft.net>
23756
23757 With help from Joseph Myers.
23758 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
23759 cutoff to 2**-13.
23760 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
23761 cutoff to 2**-25.
23762 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
23763 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
23764 small.
23765 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
23766 * math/libm-test.inc (y0_test): New tests.
23767 (y1_test): New tests.
23768 * sysdeps/i386/fpu/libm-test-ulps: Update.
23769 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23771
786b0b67
AS
237722012-11-18 Andreas Schwab <schwab@linux-m68k.org>
23773
23774 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
23775 64-bit targets.
23776 * configure: Regenerated.
23777
8e18b86d
DM
237782012-11-17 David S. Miller <davem@davemloft.net>
23779
23780 [BZ #14811]
23781 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
23782 nonzero exponents with absolute value below 0x1p-128 to +/-
23783 0x1p-128.
23784
531f1ae0
JM
237852012-11-17 Joseph Myers <joseph@codesourcery.com>
23786
12df29e2
JM
23787 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
23788
150dc1a0
JM
23789 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
23790
531f1ae0
JM
23791 * posix/getconf-speclist.c: New file.
23792 * posix/posix-envs.def: Likewise.
23793 * posix/confstr.c (START_ENV_GROUP): New macro.
23794 (END_ENV_GROUP): Likewise.
23795 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23796 (KNOWN_PRESENT_ENV_STRING): Likewise.
23797 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23798 (UNKNOWN_ENVIRONMENT): Likewise.
23799 (confstr): Include posix-envs.def instead of handling
23800 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
23801 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
23802 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
23803 (END_ENV_GROUP): Likewise.
23804 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23805 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23806 (UNKNOWN_ENVIRONMENT): Likewise.
23807 (__sysconf): Include posix-envs.def instead of handling associated
23808 cases directly here.
23809 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
23810 preprocessing getconf-speclist.c rather than running getconf or
23811 generating empty file.
23812
a93f9cbc
PT
238132012-11-16 Pino Toscano <toscano.pino@tiscali.it>
23814
23815 * scripts/check-local-headers.sh: Ignore 'mach' headers.
23816
d64d9f87
AL
238172012-11-16 Andrej Lajovic <natrij@gmail.com>
23818
23819 [BZ #14672]
23820 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
23821
447885eb
DM
238222012-11-16 David S. Miller <davem@davemloft.net>
23823
23824 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
23825 smaller than LDBL_EPSILON/2.0L, just return xm1.
23826
bcbf9830
L
238272012-11-16 H.J. Lu <hongjiu.lu@intel.com>
23828
23829 * elf/tst-array1.c (init): Set constructor priority to 1000.
23830 (fini): Set destructor priority to 1000.
23831 * elf/tst-array2dep.c: Likewise.
23832
2b766585
SP
238332012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23834
23835 [BZ #11741]
23836 * libio/fileops.c (_IO_new_file_write): Correctly return error.
23837 (_IO_new_file_xsputn): Also return EOF if none of the input
23838 data was written when overflow failed.
23839 * libio/iopadn.c (_IO_padn): Likewise.
23840 * libio/iowpadn.c (_IO_wpadn): Likewise.
23841 * stdio-common/tst-put-error.c: Add copyright notice.
23842 (do_test): Add case for printing padded string.
23843 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
23844 _IO_padn returned error.
23845 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
23846 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
23847 return EOF.
23848
b1848fde
SP
238492012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23850
23851 * libio/libioP.h: Add comment note that the references to C++
23852 bits are now obsolete.
23853
2fd89785
MS
238542012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23855
23856 * math/libm-test.inc (check_complex): Use asprintf.
23857
e3ea5409
JM
238582012-11-14 Joseph Myers <joseph@codesourcery.com>
23859
23860 * debug/pcprofiledump.c (print_version): Update copyright year.
23861 * malloc/memusagestat.c (print_version): Likewise.
23862
2e64d265
L
238632012-11-14 H.J. Lu <hongjiu.lu@intel.com>
23864
23865 [BZ #14831]
23866 * elf/Makefile (tests): Add tst-audit8.
23867 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
23868 ($(objpfx)tst-audit8.out): New target.
23869 (tst-audit8-ENV): New variable.
23870 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
23871 audit if l_reloc_result is NULL.
23872 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
23873 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
23874 * elf/tst-audit8.c: New file.
23875
c485e4d2
MS
238762012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23877
23878 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
23879 * misc/Makefile (CFLAGS-select.c): Define.
23880 * posix/Makefile (CFLAGS-pause.c): Define.
23881
3a0d900a
DM
238822012-11-13 David S. Miller <davem@davemloft.net>
23883
23884 * crypt/Makefile: Move test targets after toplevel Rules
23885 inclusion. Grab any necessary sysdep routines when linking.
23886 * crypt/md5.c (md5_process_block): Remove define, we will always
23887 name it __md5_process_block.
23888 (md5_finish_ctx): Update md5_process_block call.
23889 (md5_stream): Likewise.
23890 (md5_process_bytes): Likewise.
23891 (md5_process_block): Rename to __md5_process_block and move to ...
23892 * crypt/md5-block.c: ... here.
23893 * crypt/sha256.c (sha256_process_block): Move to ...
23894 * crypt/sha256-block.c: ... here.
23895 * crypt/sha512.c (sha512_process_block): Move to ...
23896 * crypt/sha512-block.c: ... here.
23897 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
23898 path.
23899 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
23900 * sysdeps/sparc/sparc64/multiarch/Makefile
23901 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
23902 crypt subdir.
23903 (localedef-aux): Add md5 crypto assembler when in locale subdir.
23904 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
23905 multiarch changes.
23906 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
23907 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
23908 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
23909 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
23910 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
23911 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
23912 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
23913 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
23914 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
23915 file.
23916 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
23917 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
23918 file.
23919 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
23920
8ca89318
JM
239212012-11-13 Joseph Myers <joseph@codesourcery.com>
23922
e27d476a
JM
23923 * timezone/tzselect.ksh: Update from tzcode git revision
23924 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
23925 * timezone/zdump.c: Likewise.
23926 * timezone/zic.c: Likewise.
23927 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
23928 in TZVERSION setting, not $(PKGVERSION).
23929 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
23930 REPORT_BUGS_TO settings.
23931
8ca89318
JM
23932 [BZ #14838]
23933 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
23934 macro.
23935
47594329
MS
239362012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23937
23938 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
23939 detection to immediately after _FP_ROUND().
23940 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
23941 bits are 0.
23942
640ac3f1
DM
239432012-11-11 David S. Miller <davem@davemloft.net>
23944
23945 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
23946 inttypes.h
23947 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
23948 __close rather than their public counterparts.
23949
3d2577bb
JM
239502012-11-10 Joseph Myers <joseph@codesourcery.com>
23951
23952 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
23953 file.
23954 [UNIX98] (sem_timedwait): Do not expect.
23955 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
23956 [XPG4 || UNIX98] (sockatmark): Do not expect.
23957 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
23958 (clock_getcpuclockid): Do not expect.
23959 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
23960 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
23961 Do not expect.
23962 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
23963 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
23964 [UNIX98] (vwscanf): Likewise.
23965 [UNIX98] (vswscanf): Likewise.
23966
fb1ae1ee
JM
239672012-11-09 Joseph Myers <joseph@codesourcery.com>
23968
9ec6f8bd
JM
23969 * timezone/version.h: Remove file.
23970 * timezone/README: Do not refer to version.h.
23971 * timezone/Makefile ($(objpfx)zic.o): New dependency on
23972 $(objpfx)version.h.
23973 ($(objpfx)zdump.o): Likewise.
c3f81911 23974 ($(objpfx)version.h): New target.
9ec6f8bd 23975
0aa8f8a1
JM
23976 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
23977 2012i.
23978 * timezone/README: Don't mention modification to tzselect.ksh.
23979 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
23980 work on unmodified tzselect.ksh. Substitute version numbers in
23981 tzselect.ksh.
23982
4e87147f
JM
23983 * Makefile (format-me): Remove.
23984 (INSTALL): Adjust indentation. Use commands directly instead of
23985 using $(format-me).
23986
8b748aed
JM
23987 * aclocal.m4 (ACX_PKGVERSION): New macro.
23988 (ACX_BUGURL): Likewise.
23989 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
23990 (PKGVERSION): New AC_DEFINE_UNQUOTED.
23991 (REPORT_BUGS_TO): Likewise.
23992 * configure: Regenerated.
23993 * config.h.in (PKGVERSION): New macro.
23994 (REPORT_BUGS_TO): Likewise.
23995 * config.make.in (PKGVERSION): New variable.
23996 (PKGVERSION_TEXI): Likewise.
23997 (REPORT_BUGS_TO): Likewise.
23998 (REPORT_BUGS_TEXI): Likewise.
23999 * Makefile (format-me): Use -I$(common-objpfx)manual.
24000 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24001 ($(common-objpfx)manual/%): New target.
24002 (manual/%): Remove target.
24003 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24004 (print_version): Use PKGVERSION.
24005 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24006 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24007 and REPORT_BUGS_TO.
24008 ($(objpfx)xtrace): Likewise.
24009 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24010 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24011 (print_version): Use PKGVERSION.
24012 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24013 (do_version): Use PKGVERSION.
24014 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24015 REPORT_BUGS_TO.
24016 (common-ldd-rewrite): Likewise.
24017 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24018 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24019 (print_version): Use PKGVERSION.
24020 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24021 * elf/pldd.c (argp_program_bug_address): Remove variable.
24022 (more_help): New function.
24023 (argp): Use more_help.
24024 (print_version): Use PKGVERSION.
24025 * elf/sln.c (main): Use PKGVERSION.
24026 (usage): Use REPORT_BUGS_TO.
24027 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24028 (top level): Use PKGVERSION.
24029 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24030 (print_version): Use PKGVERSION.
24031 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24032 (print_version): Use PKGVERSION.
24033 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24034 (print_version): Use PKGVERSION.
24035 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24036 (print_version): Use PKGVERSION.
24037 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24038 (print_version): Use PKGVERSION.
24039 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24040 (print_version): Use PKGVERSION.
24041 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24042 and BUGURL.
24043 ($(objpfx)memusage): Likewise.
24044 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24045 (do_version): Use PKGVERSION.
24046 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24047 (print_version): Use PKGVERSION.
24048 * malloc/mtrace.pl ($PACKAGE): Remove variable.
24049 ($PKGVERSION): New variable.
24050 ($REPORT_BUGS_TO): Likewise.
24051 (usage): Use $REPORT_BUGS_TO.
24052 (top level): Use $PKGVERSION.
24053 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24054 ($(objpfx)pkgvers.texi): New rule.
24055 ($(objpfx)stamp-pkgvers): Likewise.
24056 * manual/install.texi: Include pkgvers.texi.
24057 (--with-pkgversion): Document new configure option.
24058 (--with-bugurl): Likewise.
24059 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24060 than necessarily for this particular distribution. Use
24061 REPORT_BUGS_TO for where to report bugs.
24062 * INSTALL: Regenerated.
24063 * manual/libc.texinfo: Include pkgvers.texi.
24064 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24065 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24066 (print_version): Use PKGVERSION.
24067 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24068 (print_version): Use PKGVERSION.
24069 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24070 (print_version): Use PKGVERSION.
24071 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24072 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24073 macro.
24074 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24075 (print_version): Use PKGVERSION.
24076 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24077 (print_version): Use PKGVERSION.
24078 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24079 and PKGVERSION.
24080
92e4b6a9
JM
24081 * timezone/checktab.awk: Update from tzcode 2012i.
24082 * timezone/ialloc.c: Likewise.
24083 * timezone/private.h: Likewise.
24084 * timezone/scheck.c: Likewise.
24085 * timezone/tzfile.h: Likewise.
24086 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24087 (TZVERSION): Hardcode tzcode version number.
24088 * timezone/zdump.c: Update from tzcode 2012i.
24089 * timezone/zic.c: Likewise.
24090 * timezone/version.h: New file.
24091 * timezone/README: Describe version.h. Update upstream location.
24092
9bde902c
JM
24093 [BZ #14824]
24094 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24095 (mktemp): Enable declaration.
24096 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24097 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24098 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24099 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24100 Likewise.
24101 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24102 Likewise.
24103 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24104 Likewise.
24105 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24106 Likewise.
24107 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24108 Likewise.
24109 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24110 Likewise.
24111
fb1ae1ee
JM
24112 [BZ #14821]
24113 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24114 offset in buffer as u_int32_t not u_long. Consistently use memcpy
24115 for copies of such integer values.
24116 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24117 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24118
2c1adbcb
AJ
241192012-11-09 Andreas Jaeger <aj@suse.de>
24120
24121 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24122 definitions and declarations that are provided by
24123 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24124
d0f8457e
AK
241252012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24126
3a235abb 24127 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
24128 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24129 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24130 definition.
24131
57241e26
MS
241322012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24133
24134 * elf/elf.h: Update comment before AArch64 relocations.
24135
60e8270d
DM
241362012-11-07 David S. Miller <davem@davemloft.net>
24137
24138 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24139 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24140 (__start_context): Declare.
24141 (__makecontext_ret): Delete.
24142 (__makecontext): Hook up __start_context instead of
24143 __makecontext_ret.
24144 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24145 (sysdep_routines): Add __start_context when in stdlib.
24146
0fbb0fbc
JM
241472012-11-07 Joseph Myers <joseph@codesourcery.com>
24148
24149 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24150 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24151 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
24152 hardcoded "nm".
24153 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
24154 (READELF): New variable. Use it instead of hardcoded "readelf".
24155
eb48db7e
L
241562012-11-07 H.J. Lu <hongjiu.lu@intel.com>
24157
24158 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24159 * sysdeps/x86/Makefile: Here.
24160 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24161 * sysdeps/x86/tst-xmmymm.sh: This.
24162
05bcf62a
JM
241632012-11-07 Joseph Myers <joseph@codesourcery.com>
24164
c4b6cf53
JM
24165 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24166 expectations.
24167 [UNIX98] (pthread_barrier_t): Do not expect.
24168 [UNIX98] (pthread_barrierattr_t): Likewise.
24169 [UNIX98] (pthread_spinlock_t): Likewise.
24170 [UNIX98] (pthread_barrier_destroy): Likewise.
24171 [UNIX98] (pthread_barrier_init): Likewise.
24172 [UNIX98] (pthread_barrier_wait): Likewise.
24173 [UNIX98] (pthread_barrierattr_destroy): Likewise.
24174 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24175 [UNIX98] (pthread_barrierattr_init): Likewise.
24176 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24177 [UNIX98] (pthread_getcpuclockid): Likewise.
24178 [UNIX98] (pthread_mutex_timedlock): Likewise.
24179 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24180 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24181 [UNIX98] (pthread_sigmask): Likewise.
24182 [UNIX98] (pthread_spin_destroy): Likewise.
24183 [UNIX98] (pthread_spin_init): Likewise.
24184 [UNIX98] (pthread_spin_lock): Likewise.
24185 [UNIX98] (pthread_spin_trylock): Likewise.
24186 [UNIX98] (pthread_spin_unlock): Likewise.
24187 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24188 Do not expect.
24189 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24190 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24191 [XPG3 || XPG4] (pthread_cond_t): Likewise.
24192 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24193 [XPG3 || XPG4] (pthread_key_t): Likewise.
24194 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24195 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24196 [XPG3 || XPG4] (pthread_once_t): Likewise.
24197 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24198 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24199 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24200 [XPG3 || XPG4] (pthread_t): Likewise.
24201
cbe6e120
JM
24202 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24203 not expect.
24204 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24205
1b126443
JM
24206 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24207 Change function return type to int.
24208
b961a573
JM
24209 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24210 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24211 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24212 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24213 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24214 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24215 [!POSIX] (posix_madvise): Likewise.
24216 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24217 && !UNIX98].
24218 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24219 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24220 (mode_t): Likewise.
24221 (posix_mem_offset): Likewise.
24222 (posix_typed_mem_get_info): Likewise.
24223 (posix_typed_mem_open): Likewise.
24224
9e188909
JM
24225 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24226 Change condition to [XOPEN2K8].
24227
05bcf62a
JM
24228 * conform/conformtest.pl: Preprocess allow-header data with -x c
24229 instead of from stdin.
24230 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24231 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24232 [C99-based standards] (cerfc): Likewise.
24233 [C99-based standards] (cexp2): Likewise.
24234 [C99-based standards] (cexpm1): Likewise.
24235 [C99-based standards] (clog10): Likewise.
24236 [C99-based standards] (clog1p): Likewise.
24237 [C99-based standards] (clog2): Likewise.
24238 [C99-based standards] (clgamma): Likewise.
24239 [C99-based standards] (ctgamma): Likewise.
24240 [C99-based standards] (cerff): Likewise.
24241 [C99-based standards] (cerfcf): Likewise.
24242 [C99-based standards] (cexp2f): Likewise.
24243 [C99-based standards] (cexpm1f): Likewise.
24244 [C99-based standards] (clog10f): Likewise.
24245 [C99-based standards] (clog1pf): Likewise.
24246 [C99-based standards] (clog2f): Likewise.
24247 [C99-based standards] (clgammaf): Likewise.
24248 [C99-based standards] (ctgammaf): Likewise.
24249 [C99-based standards] (cerfl): Likewise.
24250 [C99-based standards] (cerfcl): Likewise.
24251 [C99-based standards] (cexp2l): Likewise.
24252 [C99-based standards] (cexpm1l): Likewise.
24253 [C99-based standards] (clog10l): Likewise.
24254 [C99-based standards] (clog1pl): Likewise.
24255 [C99-based standards] (clog2l): Likewise.
24256 [C99-based standards] (clgammal): Likewise.
24257 [C99-based standards] (ctgammal): Likewise.
24258 * conform/data/inttypes.h-data [C99-based standards]: Include
24259 stdint.h-data. Remove all expectations for stdint.h contents.
24260 [C99-based standards] (PRI*): Do not allow.
24261 [C99-based standards] (SCN*): Likewise.
24262 [C99-based standards] (*_t): Likewise.
24263 [C99-based-standards] (PRId8): Expect macro.
24264 [C99-based-standards] (PRIi8): Likewise.
24265 [C99-based-standards] (PRIo8): Likewise.
24266 [C99-based-standards] (PRIu8): Likewise.
24267 [C99-based-standards] (PRIx8): Likewise.
24268 [C99-based-standards] (PRIX8): Likewise.
24269 [C99-based-standards] (SCNd8): Likewise.
24270 [C99-based-standards] (SCNi8): Likewise.
24271 [C99-based-standards] (SCNo8): Likewise.
24272 [C99-based-standards] (SCNu8): Likewise.
24273 [C99-based-standards] (SCNx8): Likewise.
24274 [C99-based-standards] (PRIdLEAST8): Likewise.
24275 [C99-based-standards] (PRIiLEAST8): Likewise.
24276 [C99-based-standards] (PRIoLEAST8): Likewise.
24277 [C99-based-standards] (PRIuLEAST8): Likewise.
24278 [C99-based-standards] (PRIxLEAST8): Likewise.
24279 [C99-based-standards] (PRIXLEAST8): Likewise.
24280 [C99-based-standards] (SCNdLEAST8): Likewise.
24281 [C99-based-standards] (SCNiLEAST8): Likewise.
24282 [C99-based-standards] (SCNoLEAST8): Likewise.
24283 [C99-based-standards] (SCNuLEAST8): Likewise.
24284 [C99-based-standards] (SCNxLEAST8): Likewise.
24285 [C99-based-standards] (PRIdFAST8): Likewise.
24286 [C99-based-standards] (PRIiFAST8): Likewise.
24287 [C99-based-standards] (PRIoFAST8): Likewise.
24288 [C99-based-standards] (PRIuFAST8): Likewise.
24289 [C99-based-standards] (PRIxFAST8): Likewise.
24290 [C99-based-standards] (PRIXFAST8): Likewise.
24291 [C99-based-standards] (SCNdFAST8): Likewise.
24292 [C99-based-standards] (SCNiFAST8): Likewise.
24293 [C99-based-standards] (SCNoFAST8): Likewise.
24294 [C99-based-standards] (SCNuFAST8): Likewise.
24295 [C99-based-standards] (SCNxFAST8): Likewise.
24296 [C99-based-standards] (PRId16): Likewise.
24297 [C99-based-standards] (PRIi16): Likewise.
24298 [C99-based-standards] (PRIo16): Likewise.
24299 [C99-based-standards] (PRIu16): Likewise.
24300 [C99-based-standards] (PRIx16): Likewise.
24301 [C99-based-standards] (PRIX16): Likewise.
24302 [C99-based-standards] (SCNd16): Likewise.
24303 [C99-based-standards] (SCNi16): Likewise.
24304 [C99-based-standards] (SCNo16): Likewise.
24305 [C99-based-standards] (SCNu16): Likewise.
24306 [C99-based-standards] (SCNx16): Likewise.
24307 [C99-based-standards] (PRIdLEAST16): Likewise.
24308 [C99-based-standards] (PRIiLEAST16): Likewise.
24309 [C99-based-standards] (PRIoLEAST16): Likewise.
24310 [C99-based-standards] (PRIuLEAST16): Likewise.
24311 [C99-based-standards] (PRIxLEAST16): Likewise.
24312 [C99-based-standards] (PRIXLEAST16): Likewise.
24313 [C99-based-standards] (SCNdLEAST16): Likewise.
24314 [C99-based-standards] (SCNiLEAST16): Likewise.
24315 [C99-based-standards] (SCNoLEAST16): Likewise.
24316 [C99-based-standards] (SCNuLEAST16): Likewise.
24317 [C99-based-standards] (SCNxLEAST16): Likewise.
24318 [C99-based-standards] (PRIdFAST16): Likewise.
24319 [C99-based-standards] (PRIiFAST16): Likewise.
24320 [C99-based-standards] (PRIoFAST16): Likewise.
24321 [C99-based-standards] (PRIuFAST16): Likewise.
24322 [C99-based-standards] (PRIxFAST16): Likewise.
24323 [C99-based-standards] (PRIXFAST16): Likewise.
24324 [C99-based-standards] (SCNdFAST16): Likewise.
24325 [C99-based-standards] (SCNiFAST16): Likewise.
24326 [C99-based-standards] (SCNoFAST16): Likewise.
24327 [C99-based-standards] (SCNuFAST16): Likewise.
24328 [C99-based-standards] (SCNxFAST16): Likewise.
24329 [C99-based-standards] (PRId32): Likewise.
24330 [C99-based-standards] (PRIi32): Likewise.
24331 [C99-based-standards] (PRIo32): Likewise.
24332 [C99-based-standards] (PRIu32): Likewise.
24333 [C99-based-standards] (PRIx32): Likewise.
24334 [C99-based-standards] (PRIX32): Likewise.
24335 [C99-based-standards] (SCNd32): Likewise.
24336 [C99-based-standards] (SCNi32): Likewise.
24337 [C99-based-standards] (SCNo32): Likewise.
24338 [C99-based-standards] (SCNu32): Likewise.
24339 [C99-based-standards] (SCNx32): Likewise.
24340 [C99-based-standards] (PRIdLEAST32): Likewise.
24341 [C99-based-standards] (PRIiLEAST32): Likewise.
24342 [C99-based-standards] (PRIoLEAST32): Likewise.
24343 [C99-based-standards] (PRIuLEAST32): Likewise.
24344 [C99-based-standards] (PRIxLEAST32): Likewise.
24345 [C99-based-standards] (PRIXLEAST32): Likewise.
24346 [C99-based-standards] (SCNdLEAST32): Likewise.
24347 [C99-based-standards] (SCNiLEAST32): Likewise.
24348 [C99-based-standards] (SCNoLEAST32): Likewise.
24349 [C99-based-standards] (SCNuLEAST32): Likewise.
24350 [C99-based-standards] (SCNxLEAST32): Likewise.
24351 [C99-based-standards] (PRIdFAST32): Likewise.
24352 [C99-based-standards] (PRIiFAST32): Likewise.
24353 [C99-based-standards] (PRIoFAST32): Likewise.
24354 [C99-based-standards] (PRIuFAST32): Likewise.
24355 [C99-based-standards] (PRIxFAST32): Likewise.
24356 [C99-based-standards] (PRIXFAST32): Likewise.
24357 [C99-based-standards] (SCNdFAST32): Likewise.
24358 [C99-based-standards] (SCNiFAST32): Likewise.
24359 [C99-based-standards] (SCNoFAST32): Likewise.
24360 [C99-based-standards] (SCNuFAST32): Likewise.
24361 [C99-based-standards] (SCNxFAST32): Likewise.
24362 [C99-based-standards] (PRId64): Likewise.
24363 [C99-based-standards] (PRIi64): Likewise.
24364 [C99-based-standards] (PRIo64): Likewise.
24365 [C99-based-standards] (PRIu64): Likewise.
24366 [C99-based-standards] (PRIx64): Likewise.
24367 [C99-based-standards] (PRIX64): Likewise.
24368 [C99-based-standards] (SCNd64): Likewise.
24369 [C99-based-standards] (SCNi64): Likewise.
24370 [C99-based-standards] (SCNo64): Likewise.
24371 [C99-based-standards] (SCNu64): Likewise.
24372 [C99-based-standards] (SCNx64): Likewise.
24373 [C99-based-standards] (PRIdLEAST64): Likewise.
24374 [C99-based-standards] (PRIiLEAST64): Likewise.
24375 [C99-based-standards] (PRIoLEAST64): Likewise.
24376 [C99-based-standards] (PRIuLEAST64): Likewise.
24377 [C99-based-standards] (PRIxLEAST64): Likewise.
24378 [C99-based-standards] (PRIXLEAST64): Likewise.
24379 [C99-based-standards] (SCNdLEAST64): Likewise.
24380 [C99-based-standards] (SCNiLEAST64): Likewise.
24381 [C99-based-standards] (SCNoLEAST64): Likewise.
24382 [C99-based-standards] (SCNuLEAST64): Likewise.
24383 [C99-based-standards] (SCNxLEAST64): Likewise.
24384 [C99-based-standards] (PRIdFAST64): Likewise.
24385 [C99-based-standards] (PRIiFAST64): Likewise.
24386 [C99-based-standards] (PRIoFAST64): Likewise.
24387 [C99-based-standards] (PRIuFAST64): Likewise.
24388 [C99-based-standards] (PRIxFAST64): Likewise.
24389 [C99-based-standards] (PRIXFAST64): Likewise.
24390 [C99-based-standards] (SCNdFAST64): Likewise.
24391 [C99-based-standards] (SCNiFAST64): Likewise.
24392 [C99-based-standards] (SCNoFAST64): Likewise.
24393 [C99-based-standards] (SCNuFAST64): Likewise.
24394 [C99-based-standards] (SCNxFAST64): Likewise.
24395 [C99-based-standards] (PRIdMAX): Likewise.
24396 [C99-based-standards] (PRIiMAX): Likewise.
24397 [C99-based-standards] (PRIoMAX): Likewise.
24398 [C99-based-standards] (PRIuMAX): Likewise.
24399 [C99-based-standards] (PRIxMAX): Likewise.
24400 [C99-based-standards] (PRIXMAX): Likewise.
24401 [C99-based-standards] (SCNdMAX): Likewise.
24402 [C99-based-standards] (SCNiMAX): Likewise.
24403 [C99-based-standards] (SCNoMAX): Likewise.
24404 [C99-based-standards] (SCNuMAX): Likewise.
24405 [C99-based-standards] (SCNxMAX): Likewise.
24406 [C99-based-standards] (PRIdPTR): Likewise.
24407 [C99-based-standards] (PRIiPTR): Likewise.
24408 [C99-based-standards] (PRIoPTR): Likewise.
24409 [C99-based-standards] (PRIuPTR): Likewise.
24410 [C99-based-standards] (PRIxPTR): Likewise.
24411 [C99-based-standards] (PRIXPTR): Likewise.
24412 [C99-based-standards] (SCNdPTR): Likewise.
24413 [C99-based-standards] (SCNiPTR): Likewise.
24414 [C99-based-standards] (SCNoPTR): Likewise.
24415 [C99-based-standards] (SCNuPTR): Likewise.
24416 [C99-based-standards] (SCNxPTR): Likewise.
24417 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24418 allow.
24419 * conform/data/stdint.h-data: Update comments to clarify
24420 requirements.
24421 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
24422 type.
24423 [C99-based standards] (INT8_MAX): Likewise.
24424 [C99-based standards] (INT16_MIN): Likewise.
24425 [C99-based standards] (INT16_MAX): Likewise.
24426 [C99-based standards] (INT32_MIN): Likewise.
24427 [C99-based standards] (INT32_MAX): Likewise.
24428 [C99-based standards] (INT64_MIN): Likewise.
24429 [C99-based standards] (INT64_MAX): Likewise.
24430 [C99-based standards] (UINT8_MAX): Likewise.
24431 [C99-based standards] (UINT16_MAX): Likewise.
24432 [C99-based standards] (UINT32_MAX): Likewise.
24433 [C99-based standards] (UINT64_MAX): Likewise.
24434 [C99-based standards] (INT_LEAST8_MIN): Likewise.
24435 [C99-based standards] (INT_LEAST8_MAX): Likewise.
24436 [C99-based standards] (INT_LEAST16_MIN): Likewise.
24437 [C99-based standards] (INT_LEAST16_MAX): Likewise.
24438 [C99-based standards] (INT_LEAST32_MIN): Likewise.
24439 [C99-based standards] (INT_LEAST32_MAX): Likewise.
24440 [C99-based standards] (INT_LEAST64_MIN): Likewise.
24441 [C99-based standards] (INT_LEAST64_MAX): Likewise.
24442 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24443 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24444 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24445 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24446 [C99-based standards] (INT_FAST8_MIN): Likewise.
24447 [C99-based standards] (INT_FAST8_MAX): Likewise.
24448 [C99-based standards] (INT_FAST16_MIN): Likewise.
24449 [C99-based standards] (INT_FAST16_MAX): Likewise.
24450 [C99-based standards] (INT_FAST32_MIN): Likewise.
24451 [C99-based standards] (INT_FAST32_MAX): Likewise.
24452 [C99-based standards] (INT_FAST64_MIN): Likewise.
24453 [C99-based standards] (INT_FAST64_MAX): Likewise.
24454 [C99-based standards] (UINT_FAST8_MAX): Likewise.
24455 [C99-based standards] (UINT_FAST16_MAX): Likewise.
24456 [C99-based standards] (UINT_FAST32_MAX): Likewise.
24457 [C99-based standards] (UINT_FAST64_MAX): Likewise.
24458 [C99-based standards] (INTPTR_MIN): Likewise.
24459 [C99-based standards] (INTPTR_MAX): Likewise.
24460 [C99-based standards] (UINTPTR_MAX): Likewise.
24461 [C99-based standards] (INTMAX_MIN): Likewise.
24462 [C99-based standards] (INTMAX_MAX): Likewise.
24463 [C99-based standards] (UINTMAX_MAX): Likewise.
24464 [C99-based standards] (PTRDIFF_MIN): Likewise.
24465 [C99-based standards] (PTRDIFF_MAX): Likewise.
24466 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24467 [C99-based standards] (SIZE_MAX): Likewise.
24468 [C99-based standards] (WCHAR_MAX): Likewise.
24469 [C99-based standards] (WINT_MAX): Likewise.
24470 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
24471 constraint on value.
24472 [C99-based standards] (WCHAR_MIN): Likewise.
24473 [C99-based standards] (WINT_MIN): Likewise.
24474 [C99-based standards] (*_t): Allow.
24475 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24476 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24477 Include math.h-data and complex.h-data. Remove all expectations
24478 of math.h and complex.h contents.
24479 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24480 at end of line.
24481 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24482 (struct tm): Expect tag.
24483 [C99-based-standards] (wcstof): Expect function.
24484 [C99-based-standards] (wcstold): Likewise.
24485 [C99-based-standards] (wcstoll): Likewise.
24486 [C99-based-standards] (wcstoull): Likewise.
24487 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24488 macro-int-constant. Specify type.
24489 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
24490 constraint on value.
24491 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24492 Specify type.
24493 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24494 Specify value.
24495 [ISO C standards]: Do not allow headers.
24496 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24497 wcs[abcdefghijklmnopqrstuvwxyz]*.
24498 [ISO C standards] (*_t): Do not allow.
24499 * conform/data/wctype.h-data [C99-based standards] (iswblank):
24500 Expect function.
24501 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
24502 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24503 Specify type.
24504 [ISO C standards]: Do not allow headers.
24505 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
24506 is[abcdefghijklmnopqrstuvwxyz]*.
24507 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
24508 to[abcdefghijklmnopqrstuvwxyz]*.
24509 [ISO C standards] (*_t): Do not allow.
24510 * conform/data/stdalign.h-data: New file.
24511 * conform/data/stdbool.h-data: Likewise.
24512 * conform/data/stdnoreturn.h-data: Likewise.
24513
7514feb8
RM
245142012-11-07 Roland McGrath <roland@hack.frob.com>
24515
24516 [BZ #14815]
24517 * manual/filesys.texi (Directory Entries): Typo fix.
24518 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
24519
19b2ecfc
MS
245202012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24521
24522 * elf/elf.h (EM_AARCH64): New macro.
24523 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
24524 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
24525 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
24526 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
24527 (R_AARCH64_TLSDESC): Likewise.
24528 (NT_ARM_TLS): Likewise.
24529 (NT_ARM_HW_BREAK): Likewise.
24530 (NT_ARM_HW_WATCH): Likewise.
24531
60e235ee
JM
245322012-11-07 Joseph Myers <joseph@codesourcery.com>
24533
24534 [BZ #14811]
24535 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
24536 (__ieee754_powl): Saturate nonzero exponents with absolute value
24537 below 0x1p-79 to +/- 0x1p-79.
24538 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
24539 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
24540 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
24541 nonzero exponents with absolute value below 0x1p-32 to +/-
24542 0x1p-32.
24543 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
24544 (__ieee754_powl): Saturate nonzero exponents with absolute value
24545 below 0x1p-79 to +/- 0x1p-79.
24546 * math/libm-test.inc (pow_test): Add more tests.
24547
0ab234b7
AK
245482012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24549
24550 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
24551 _dl_s390_cap_flags with kernel. Increase string length.
24552 (_dl_s390_platforms): Add z196 and zEC12.
24553
45832f74
JM
245542012-11-07 Joseph Myers <joseph@codesourcery.com>
24555
24556 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
24557 Change XOPEN21K to XOPEN2K.
24558
19218757
MK
245592012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
24560
24561 * string/memmove.c: Use memcpy when possible.
24562
c5f45721
AJ
245632012-11-06 Andreas Jaeger <aj@suse.de>
24564
24565 * po/eo.po: Update from translation team.
24566
82477c28
JM
245672012-11-06 Joseph Myers <joseph@codesourcery.com>
24568
24569 [BZ #14793]
24570 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
24571 exponent and small x and y exponents, scale x or y up. Increase
24572 by 2 the exponent used in scaling up.
24573 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24574 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24575 * math/libm-test.inc (fma_test): Add more tests.
24576 (fma_test_towardzero): Likewise.
24577 (fma_test_downward): Likewise.
24578 (fma_test_upward): Likewise.
24579
99252c8c
JM
245802012-11-05 Joseph Myers <joseph@codesourcery.com>
24581
acfa885f
JM
24582 [BZ #14805]
24583 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
24584 fenv_t *.
24585
99252c8c
JM
24586 [BZ #14801]
24587 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
24588 namespace for names of struct fields.
24589 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
24590 fenv_t fields.
24591 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24592 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
24593
d6d98dea
ST
245942012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24595
24596 [BZ #3665]
24597 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
24598
e10bb107
TS
245992012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24600
24601 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
24602 PTR_DEMANGLE.
24603
24604 [BZ #5246]
24605 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
24606 PTR_DEMANGLE.
24607
a0c2940d
JM
246082012-11-04 Joseph Myers <joseph@codesourcery.com>
24609
24610 [BZ #14797]
24611 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
24612 definitely overflow as x * y not x * y + z.
24613 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24614 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24615 * math/libm-test.inc (fma_test): Add more tests.
24616 (fma_test_towardzero): Likewise.
24617 (fma_test_downward): Likewise.
24618 (fma_test_upward): Likewise.
24619
b830319d
TS
246202012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24621
24622 [BZ #157]
24623
24624 * include/stub-tag.h: Remove file.
24625 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
24626 '#include' of it.
24627 * manual/maint.texi (Porting): Don't reference it.
24628 * Makerules ($(objpfx)stubs): Likewise.
24629 * dirent/closedir.c: Don't include <stub-tag.h>.
24630 * dirent/dirfd.c: Likewise.
24631 * dirent/fdopendir.c: Likewise.
24632 * dirent/getdents.c: Likewise.
24633 * dirent/getdents64.c: Likewise.
24634 * dirent/opendir.c: Likewise.
24635 * dirent/readdir.c: Likewise.
24636 * dirent/readdir64.c: Likewise.
24637 * dirent/readdir64_r.c: Likewise.
24638 * dirent/readdir_r.c: Likewise.
24639 * dirent/rewinddir.c: Likewise.
24640 * dirent/seekdir.c: Likewise.
24641 * dirent/telldir.c: Likewise.
24642 * gmon/profil.c: Likewise.
24643 * grp/setgroups.c: Likewise.
24644 * inet/if_index.c: Likewise.
24645 * io/access.c: Likewise.
24646 * io/chdir.c: Likewise.
24647 * io/chmod.c: Likewise.
24648 * io/chown.c: Likewise.
24649 * io/close.c: Likewise.
24650 * io/dup.c: Likewise.
24651 * io/dup2.c: Likewise.
24652 * io/dup3.c: Likewise.
24653 * io/euidaccess.c: Likewise.
24654 * io/faccessat.c: Likewise.
24655 * io/fchdir.c: Likewise.
24656 * io/fchmod.c: Likewise.
24657 * io/fchmodat.c: Likewise.
24658 * io/fchown.c: Likewise.
24659 * io/fchownat.c: Likewise.
24660 * io/fcntl.c: Likewise.
24661 * io/flock.c: Likewise.
24662 * io/fstatfs.c: Likewise.
24663 * io/fstatfs64.c: Likewise.
24664 * io/fstatvfs.c: Likewise.
24665 * io/fstatvfs64.c: Likewise.
24666 * io/futimens.c: Likewise.
24667 * io/fxstat.c: Likewise.
24668 * io/fxstat64.c: Likewise.
24669 * io/fxstatat.c: Likewise.
24670 * io/fxstatat64.c: Likewise.
24671 * io/getcwd.c: Likewise.
24672 * io/isatty.c: Likewise.
24673 * io/lchmod.c: Likewise.
24674 * io/lchown.c: Likewise.
24675 * io/link.c: Likewise.
24676 * io/linkat.c: Likewise.
24677 * io/lseek.c: Likewise.
24678 * io/lseek64.c: Likewise.
24679 * io/lxstat64.c: Likewise.
24680 * io/mkdir.c: Likewise.
24681 * io/mkdirat.c: Likewise.
24682 * io/mkfifo.c: Likewise.
24683 * io/mkfifoat.c: Likewise.
24684 * io/open.c: Likewise.
24685 * io/open64.c: Likewise.
24686 * io/openat.c: Likewise.
24687 * io/openat64.c: Likewise.
24688 * io/pipe.c: Likewise.
24689 * io/pipe2.c: Likewise.
24690 * io/poll.c: Likewise.
24691 * io/posix_fadvise.c: Likewise.
24692 * io/posix_fadvise64.c: Likewise.
24693 * io/posix_fallocate.c: Likewise.
24694 * io/posix_fallocate64.c: Likewise.
24695 * io/read.c: Likewise.
24696 * io/readlink.c: Likewise.
24697 * io/readlinkat.c: Likewise.
24698 * io/rmdir.c: Likewise.
24699 * io/sendfile.c: Likewise.
24700 * io/sendfile64.c: Likewise.
24701 * io/statfs.c: Likewise.
24702 * io/statfs64.c: Likewise.
24703 * io/statvfs.c: Likewise.
24704 * io/statvfs64.c: Likewise.
24705 * io/symlink.c: Likewise.
24706 * io/symlinkat.c: Likewise.
24707 * io/ttyname.c: Likewise.
24708 * io/ttyname_r.c: Likewise.
24709 * io/umask.c: Likewise.
24710 * io/unlink.c: Likewise.
24711 * io/unlinkat.c: Likewise.
24712 * io/utime.c: Likewise.
24713 * io/utimensat.c: Likewise.
24714 * io/write.c: Likewise.
24715 * io/xmknod.c: Likewise.
24716 * io/xmknodat.c: Likewise.
24717 * io/xstat.c: Likewise.
24718 * io/xstat64.c: Likewise.
24719 * login/getpt.c: Likewise.
24720 * login/grantpt.c: Likewise.
24721 * login/unlockpt.c: Likewise.
24722 * math/e_acoshl.c: Likewise.
24723 * math/e_acosl.c: Likewise.
24724 * math/e_asinl.c: Likewise.
24725 * math/e_atan2l.c: Likewise.
24726 * math/e_atanhl.c: Likewise.
24727 * math/e_coshl.c: Likewise.
24728 * math/e_expl.c: Likewise.
24729 * math/e_fmodl.c: Likewise.
24730 * math/e_gammal_r.c: Likewise.
24731 * math/e_hypotl.c: Likewise.
24732 * math/e_j0l.c: Likewise.
24733 * math/e_j1l.c: Likewise.
24734 * math/e_jnl.c: Likewise.
24735 * math/e_lgammal_r.c: Likewise.
24736 * math/e_log10l.c: Likewise.
24737 * math/e_log2l.c: Likewise.
24738 * math/e_logl.c: Likewise.
24739 * math/e_powl.c: Likewise.
24740 * math/e_rem_pio2l.c: Likewise.
24741 * math/e_sinhl.c: Likewise.
24742 * math/e_sqrtl.c: Likewise.
24743 * math/fclrexcpt.c: Likewise.
24744 * math/fedisblxcpt.c: Likewise.
24745 * math/feenablxcpt.c: Likewise.
24746 * math/fegetenv.c: Likewise.
24747 * math/fegetexcept.c: Likewise.
24748 * math/fegetround.c: Likewise.
24749 * math/feholdexcpt.c: Likewise.
24750 * math/fesetenv.c: Likewise.
24751 * math/fesetround.c: Likewise.
24752 * math/feupdateenv.c: Likewise.
24753 * math/fgetexcptflg.c: Likewise.
24754 * math/fraiseexcpt.c: Likewise.
24755 * math/fsetexcptflg.c: Likewise.
24756 * math/ftestexcept.c: Likewise.
24757 * math/k_cosl.c: Likewise.
24758 * math/k_rem_pio2l.c: Likewise.
24759 * math/k_sinl.c: Likewise.
24760 * math/k_tanl.c: Likewise.
24761 * math/s_asinhl.c: Likewise.
24762 * math/s_atanl.c: Likewise.
24763 * math/s_cbrtl.c: Likewise.
24764 * math/s_erfl.c: Likewise.
24765 * math/s_expm1l.c: Likewise.
24766 * math/s_log1pl.c: Likewise.
24767 * math/s_tanhl.c: Likewise.
24768 * misc/acct.c: Likewise.
24769 * misc/brk.c: Likewise.
24770 * misc/chflags.c: Likewise.
24771 * misc/chroot.c: Likewise.
24772 * misc/fchflags.c: Likewise.
24773 * misc/fgetxattr.c: Likewise.
24774 * misc/flistxattr.c: Likewise.
24775 * misc/fremovexattr.c: Likewise.
24776 * misc/fsetxattr.c: Likewise.
24777 * misc/fsync.c: Likewise.
24778 * misc/ftruncate.c: Likewise.
24779 * misc/futimes.c: Likewise.
24780 * misc/futimesat.c: Likewise.
24781 * misc/getdomain.c: Likewise.
24782 * misc/getdtsz.c: Likewise.
24783 * misc/gethostid.c: Likewise.
24784 * misc/gethostname.c: Likewise.
24785 * misc/getloadavg.c: Likewise.
24786 * misc/getpagesize.c: Likewise.
24787 * misc/getsysstats.c: Likewise.
24788 * misc/getxattr.c: Likewise.
24789 * misc/gtty.c: Likewise.
24790 * misc/ioctl.c: Likewise.
24791 * misc/lgetxattr.c: Likewise.
24792 * misc/listxattr.c: Likewise.
24793 * misc/llistxattr.c: Likewise.
24794 * misc/lremovexattr.c: Likewise.
24795 * misc/lsetxattr.c: Likewise.
24796 * misc/lutimes.c: Likewise.
24797 * misc/madvise.c: Likewise.
24798 * misc/mincore.c: Likewise.
24799 * misc/mlock.c: Likewise.
24800 * misc/mlockall.c: Likewise.
24801 * misc/mmap.c: Likewise.
24802 * misc/mprotect.c: Likewise.
24803 * misc/msync.c: Likewise.
24804 * misc/munlock.c: Likewise.
24805 * misc/munlockall.c: Likewise.
24806 * misc/munmap.c: Likewise.
24807 * misc/preadv.c: Likewise.
24808 * misc/preadv64.c: Likewise.
24809 * misc/ptrace.c: Likewise.
24810 * misc/pwritev.c: Likewise.
24811 * misc/pwritev64.c: Likewise.
24812 * misc/readv.c: Likewise.
24813 * misc/reboot.c: Likewise.
24814 * misc/remap_file_pages.c: Likewise.
24815 * misc/removexattr.c: Likewise.
24816 * misc/revoke.c: Likewise.
24817 * misc/select.c: Likewise.
24818 * misc/setdomain.c: Likewise.
24819 * misc/setegid.c: Likewise.
24820 * misc/seteuid.c: Likewise.
24821 * misc/sethostid.c: Likewise.
24822 * misc/sethostname.c: Likewise.
24823 * misc/setregid.c: Likewise.
24824 * misc/setreuid.c: Likewise.
24825 * misc/setxattr.c: Likewise.
24826 * misc/sstk.c: Likewise.
24827 * misc/stty.c: Likewise.
24828 * misc/swapoff.c: Likewise.
24829 * misc/swapon.c: Likewise.
24830 * misc/sync.c: Likewise.
24831 * misc/syncfs.c: Likewise.
24832 * misc/syscall.c: Likewise.
24833 * misc/truncate.c: Likewise.
24834 * misc/ualarm.c: Likewise.
24835 * misc/usleep.c: Likewise.
24836 * misc/ustat.c: Likewise.
24837 * misc/utimes.c: Likewise.
24838 * misc/vhangup.c: Likewise.
24839 * misc/writev.c: Likewise.
24840 * posix/_exit.c: Likewise.
24841 * posix/alarm.c: Likewise.
24842 * posix/execve.c: Likewise.
24843 * posix/fexecve.c: Likewise.
24844 * posix/fork.c: Likewise.
24845 * posix/fpathconf.c: Likewise.
24846 * posix/getaddrinfo.c: Likewise.
24847 * posix/getegid.c: Likewise.
24848 * posix/geteuid.c: Likewise.
24849 * posix/getgid.c: Likewise.
24850 * posix/getgroups.c: Likewise.
24851 * posix/getlogin.c: Likewise.
24852 * posix/getlogin_r.c: Likewise.
24853 * posix/getpgid.c: Likewise.
24854 * posix/getpid.c: Likewise.
24855 * posix/getppid.c: Likewise.
24856 * posix/getresgid.c: Likewise.
24857 * posix/getresuid.c: Likewise.
24858 * posix/getsid.c: Likewise.
24859 * posix/getuid.c: Likewise.
24860 * posix/glob64.c: Likewise.
24861 * posix/nanosleep.c: Likewise.
24862 * posix/pathconf.c: Likewise.
24863 * posix/pause.c: Likewise.
24864 * posix/posix_madvise.c: Likewise.
24865 * posix/pread.c: Likewise.
24866 * posix/pread64.c: Likewise.
24867 * posix/pwrite.c: Likewise.
24868 * posix/pwrite64.c: Likewise.
24869 * posix/sched_getaffinity.c: Likewise.
24870 * posix/sched_getp.c: Likewise.
24871 * posix/sched_gets.c: Likewise.
24872 * posix/sched_primax.c: Likewise.
24873 * posix/sched_primin.c: Likewise.
24874 * posix/sched_rr_gi.c: Likewise.
24875 * posix/sched_setaffinity.c: Likewise.
24876 * posix/sched_setp.c: Likewise.
24877 * posix/sched_sets.c: Likewise.
24878 * posix/sched_yield.c: Likewise.
24879 * posix/setgid.c: Likewise.
24880 * posix/setlogin.c: Likewise.
24881 * posix/setpgid.c: Likewise.
24882 * posix/setresgid.c: Likewise.
24883 * posix/setresuid.c: Likewise.
24884 * posix/setsid.c: Likewise.
24885 * posix/setuid.c: Likewise.
24886 * posix/sleep.c: Likewise.
24887 * posix/spawni.c: Likewise.
24888 * posix/sysconf.c: Likewise.
24889 * posix/times.c: Likewise.
24890 * posix/wait.c: Likewise.
24891 * posix/wait3.c: Likewise.
24892 * posix/wait4.c: Likewise.
24893 * posix/waitpid.c: Likewise.
24894 * resolv/gai_sigqueue.c: Likewise.
24895 * resource/getpriority.c: Likewise.
24896 * resource/getrlimit.c: Likewise.
24897 * resource/getrusage.c: Likewise.
24898 * resource/nice.c: Likewise.
24899 * resource/setpriority.c: Likewise.
24900 * resource/setrlimit.c: Likewise.
24901 * resource/ulimit.c: Likewise.
24902 * rt/aio_cancel.c: Likewise.
24903 * rt/aio_fsync.c: Likewise.
24904 * rt/aio_read.c: Likewise.
24905 * rt/aio_sigqueue.c: Likewise.
24906 * rt/aio_suspend.c: Likewise.
24907 * rt/aio_write.c: Likewise.
24908 * rt/clock_getres.c: Likewise.
24909 * rt/clock_gettime.c: Likewise.
24910 * rt/clock_nanosleep.c: Likewise.
24911 * rt/clock_settime.c: Likewise.
24912 * rt/lio_listio.c: Likewise.
24913 * rt/mq_close.c: Likewise.
24914 * rt/mq_getattr.c: Likewise.
24915 * rt/mq_notify.c: Likewise.
24916 * rt/mq_open.c: Likewise.
24917 * rt/mq_receive.c: Likewise.
24918 * rt/mq_send.c: Likewise.
24919 * rt/mq_setattr.c: Likewise.
24920 * rt/mq_timedreceive.c: Likewise.
24921 * rt/mq_timedsend.c: Likewise.
24922 * rt/mq_unlink.c: Likewise.
24923 * rt/shm_open.c: Likewise.
24924 * rt/shm_unlink.c: Likewise.
24925 * rt/timer_create.c: Likewise.
24926 * rt/timer_delete.c: Likewise.
24927 * rt/timer_getoverr.c: Likewise.
24928 * rt/timer_gettime.c: Likewise.
24929 * rt/timer_settime.c: Likewise.
24930 * setjmp/__longjmp.c: Likewise.
24931 * setjmp/setjmp.c: Likewise.
24932 * signal/kill.c: Likewise.
24933 * signal/killpg.c: Likewise.
24934 * signal/raise.c: Likewise.
24935 * signal/sigaction.c: Likewise.
24936 * signal/sigaltstack.c: Likewise.
24937 * signal/sigblock.c: Likewise.
24938 * signal/sigignore.c: Likewise.
24939 * signal/sigintr.c: Likewise.
24940 * signal/signal.c: Likewise.
24941 * signal/sigpause.c: Likewise.
24942 * signal/sigpending.c: Likewise.
24943 * signal/sigqueue.c: Likewise.
24944 * signal/sigreturn.c: Likewise.
24945 * signal/sigset.c: Likewise.
24946 * signal/sigsetmask.c: Likewise.
24947 * signal/sigstack.c: Likewise.
24948 * signal/sigsuspend.c: Likewise.
24949 * signal/sigtimedwait.c: Likewise.
24950 * signal/sigvec.c: Likewise.
24951 * signal/sigwait.c: Likewise.
24952 * signal/sigwaitinfo.c: Likewise.
24953 * signal/sysv_signal.c: Likewise.
24954 * socket/accept.c: Likewise.
24955 * socket/accept4.c: Likewise.
24956 * socket/bind.c: Likewise.
24957 * socket/connect.c: Likewise.
24958 * socket/getpeername.c: Likewise.
24959 * socket/getsockname.c: Likewise.
24960 * socket/getsockopt.c: Likewise.
24961 * socket/isfdtype.c: Likewise.
24962 * socket/listen.c: Likewise.
24963 * socket/recv.c: Likewise.
24964 * socket/recvfrom.c: Likewise.
24965 * socket/recvmsg.c: Likewise.
24966 * socket/send.c: Likewise.
24967 * socket/sendmsg.c: Likewise.
24968 * socket/sendto.c: Likewise.
24969 * socket/setsockopt.c: Likewise.
24970 * socket/shutdown.c: Likewise.
24971 * socket/sockatmark.c: Likewise.
24972 * socket/socket.c: Likewise.
24973 * socket/socketpair.c: Likewise.
24974 * stdio-common/ctermid.c: Likewise.
24975 * stdio-common/cuserid.c: Likewise.
24976 * stdio-common/remove.c: Likewise.
24977 * stdio-common/rename.c: Likewise.
24978 * stdio-common/renameat.c: Likewise.
24979 * stdio-common/tempname.c: Likewise.
24980 * stdlib/getcontext.c: Likewise.
24981 * stdlib/makecontext.c: Likewise.
24982 * stdlib/setcontext.c: Likewise.
24983 * stdlib/swapcontext.c: Likewise.
24984 * stdlib/system.c: Likewise.
24985 * streams/fattach.c: Likewise.
24986 * streams/fdetach.c: Likewise.
24987 * streams/getmsg.c: Likewise.
24988 * streams/getpmsg.c: Likewise.
24989 * streams/putmsg.c: Likewise.
24990 * streams/putpmsg.c: Likewise.
24991 * sysdeps/unix/bsd/getpt.c: Likewise.
24992 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
24993 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
24994 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24996 Likewise.
24997 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
24998 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24999 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25000 * sysvipc/msgctl.c: Likewise.
25001 * sysvipc/msgget.c: Likewise.
25002 * sysvipc/msgrcv.c: Likewise.
25003 * sysvipc/msgsnd.c: Likewise.
25004 * sysvipc/semctl.c: Likewise.
25005 * sysvipc/semget.c: Likewise.
25006 * sysvipc/semop.c: Likewise.
25007 * sysvipc/semtimedop.c: Likewise.
25008 * sysvipc/shmat.c: Likewise.
25009 * sysvipc/shmctl.c: Likewise.
25010 * sysvipc/shmdt.c: Likewise.
25011 * sysvipc/shmget.c: Likewise.
25012 * termios/tcdrain.c: Likewise.
25013 * termios/tcflow.c: Likewise.
25014 * termios/tcflush.c: Likewise.
25015 * termios/tcgetattr.c: Likewise.
25016 * termios/tcgetpgrp.c: Likewise.
25017 * termios/tcsendbrk.c: Likewise.
25018 * termios/tcsetattr.c: Likewise.
25019 * termios/tcsetpgrp.c: Likewise.
25020 * time/adjtime.c: Likewise.
25021 * time/clock.c: Likewise.
25022 * time/getitimer.c: Likewise.
25023 * time/gettimeofday.c: Likewise.
25024 * time/setitimer.c: Likewise.
25025 * time/settimeofday.c: Likewise.
25026 * time/stime.c: Likewise.
25027 * time/time.c: Likewise.
25028
250292012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 25030
a20492cf
PT
25031 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25032 /usr/old/bin.
25033
72e182e3
PT
25034 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25035 instead of spaces.
25036 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25037
fbeafede
JM
250382012-11-03 Joseph Myers <joseph@codesourcery.com>
25039
5b5b04d6
JM
25040 [BZ #14796]
25041 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25042 FE_TONEAREST before applying Dekker multiplication and Knuth
25043 addition. Clear inexact exceptions and check for exact zero
25044 results afterwards.
25045 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25046 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25047 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25048 * math/libm-test.inc (fma_test): Add more tests.
25049 (fma_test_towardzero): Likewise.
25050 (fma_test_downward): Likewise.
25051 (fma_test_upward): Likewise.
25052 * sysdeps/generic/math_private.h (default_libc_fesetround): New
25053 function.
25054 (libc_fesetround): New macro.
25055 (libc_fesetroundf): Likewise.
25056 (libc_fesetroundl): Likewise.
25057 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25058 function.
25059 (libc_fesetround_387): Likewise.
25060 (libc_fesetroundf): New macro.
25061 (libc_fesetround): Likewise.
25062 (libc_fesetroundl): Likewise.
25063 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25064 function.
25065 (libc_fesetroundf): New macro.
25066 (libc_fesetround): Likewise.
25067 (libc_fesetroundl): Likewise.
25068 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25069 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25070 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25071 libm_hidden_ver.
25072 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25073 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25074 libm_hidden_def.
25075 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25076 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25077 libm_hidden_ver.
25078 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25079 libm_hidden_def.
25080
fbeafede
JM
25081 [BZ #3439]
25082 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25083 integer constant usable in #if and use that to give value to enum
25084 constant.
25085 (FE_DIVBYZERO): Likewise.
25086 (FE_UNDERFLOW): Likewise.
25087 (FE_OVERFLOW): Likewise.
25088 (FE_INVALID): Likewise.
25089 (FE_INVALID_SNAN): Likewise.
25090 (FE_INVALID_ISI): Likewise.
25091 (FE_INVALID_IDI): Likewise.
25092 (FE_INVALID_ZDZ): Likewise.
25093 (FE_INVALID_IMZ): Likewise.
25094 (FE_INVALID_COMPARE): Likewise.
25095 (FE_INVALID_SOFTWARE): Likewise.
25096 (FE_INVALID_SQRT): Likewise.
25097 (FE_INVALID_INTEGER_CONVERSION): Likewise.
25098 (FE_TONEAREST): Likewise.
25099 (FE_TOWARDZERO): Likewise.
25100 (FE_UPWARD): Likewise.
25101 (FE_DOWNWARD): Likewise.
25102 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25103 (FE_DIVBYZERO): Likewise.
25104 (FE_OVERFLOW): Likewise.
25105 (FE_UNDERFLOW): Likewise.
25106 (FE_INEXACT): Likewise.
25107 (FE_TONEAREST): Likewise.
25108 (FE_DOWNWARD): Likewise.
25109 (FE_UPWARD): Likewise.
25110 (FE_TOWARDZERO): Likewise.
25111 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25112 (FE_UNDERFLOW): Likewise.
25113 (FE_OVERFLOW): Likewise.
25114 (FE_DIVBYZERO): Likewise.
25115 (FE_INVALID): Likewise.
25116 (FE_TONEAREST): Likewise.
25117 (FE_TOWARDZERO): Likewise.
25118 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25119 (FE_OVERFLOW): Likewise.
25120 (FE_UNDERFLOW): Likewise.
25121 (FE_DIVBYZERO): Likewise.
25122 (FE_INEXACT): Likewise.
25123 (FE_TONEAREST): Likewise.
25124 (FE_TOWARDZERO): Likewise.
25125 (FE_UPWARD): Likewise.
25126 (FE_DOWNWARD): Likewise.
25127 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25128 (FE_DIVBYZERO): Likewise.
25129 (FE_OVERFLOW): Likewise.
25130 (FE_UNDERFLOW): Likewise.
25131 (FE_INEXACT): Likewise.
25132 (FE_TONEAREST): Likewise.
25133 (FE_DOWNWARD): Likewise.
25134 (FE_UPWARD): Likewise.
25135 (FE_TOWARDZERO): Likewise.
25136
105ca950
CM
251372012-11-02 Chris Metcalf <cmetcalf@tilera.com>
25138
25139 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25140
a542b389
AS
251412012-11-03 Andreas Schwab <schwab@linux-m68k.org>
25142
25143 * scripts/cross-test-ssh.sh (command): Use newlines to separate
25144 commands. Quote $PWD.
25145 (blacklist_exports): Don't use remove_newlines. Replace "declare
25146 -x" by "export".
25147 (remove_newlines): Remove.
25148
f62c8abc
L
251492012-11-02 H.J. Lu <hongjiu.lu@intel.com>
25150
25151 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25152 * stdlib/stdlib.h (atof): Moved to ...
25153 * include/bits/stdlib-float.h: Here. New file.
25154 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25155 * stdlib/bits/stdlib-float.h: New file.
25156 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25157 -mno-sse -mno-mmx.
25158 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25159 <xmmintrin.h>.
25160
0155d5b2
JM
251612012-11-02 Joseph Myers <joseph@codesourcery.com>
25162
a68d0680
JM
25163 * conform/conformtest.pl (@headers): Add fenv.h.
25164 * conform/data/fenv.h-data: New file.
25165 * include/fenv.h [_ISOMAC]: Disable all contents of file except
25166 include of <math/fenv.h>.
25167
caf7f573
JM
25168 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25169 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25170 && !UNIX98]. Enables tests for XOPEN2K8.
25171 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25172 POSIX2008]: Likewise.
25173
6c073ad6
JM
25174 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25175 (struct rusage): Do not expect type or its members.
25176
0155d5b2
JM
25177 [BZ #3439]
25178 * math/math.h (FP_NAN): Define macro to integer constant usable in
25179 #if and use that to give value to enum constant.
25180 (FP_INFINITE): Likewise.
25181 (FP_ZERO): Likewise.
25182 (FP_SUBNORMAL): Likewise.
25183 (FP_NORMAL): Likewise.
25184
b5dcacb4
AS
251852012-11-02 Andreas Schwab <schwab@linux-m68k.org>
25186
25187 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25188 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25189 arguments.
25190
f7934be8
RM
251912012-11-02 Roland McGrath <roland@hack.frob.com>
25192
25193 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25194 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25195 autoconf-time if not.
25196 * configure.in: Remove AC_PREREQ.
25197
d7d08bde
TMQMF
251982012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25199
25200 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25201 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25202 of the internal implementation.
25203
dcdae19a
JM
252042012-11-02 Joseph Myers <joseph@codesourcery.com>
25205
25206 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25207 except include of <misc/sys/syslog.h>.
25208
d6cffd3e
AS
252092012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25210
25211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25212 function returns with a NULL context exit with zero.
25213
b3563932
TMQMF
252142012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25215
25216 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25217
b288a93d
L
252182012-11-01 H.J. Lu <hongjiu.lu@intel.com>
25219
25220 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25221 (run_program_cmd): This.
25222 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25223 (tst_langinfo): New variable. Use it.
25224
a2421a68
SAS
252252012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
25226
25227 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25228 floating point opcodes.
25229
6f796e1b
TS
252302012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25231
7402596b
TS
25232 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25233 variable.
25234
d0d4f868
TS
25235 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25236
6f796e1b
TS
25237 * sysdeps/mach/hurd/powerpc: Remove directory.
25238 * sysdeps/mach/powerpc: Likewise.
25239
4da224a2
AS
252402012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25241
25242 * scripts/check-local-headers.sh: Ignore c++ headers.
25243
341dd673
TS
252442012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25245
25246 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25247 __libc_cleanup_region_start argument.
25248
473611b2
JM
252492012-11-01 Joseph Myers <joseph@codesourcery.com>
25250
25251 [BZ #14784]
25252 [BZ #14785]
25253 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25254 x * y using scaling, not as x * y + z.
25255 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25256 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25257 * math/libm-test.inc (fma_test): Add more tests.
25258 (fma_test_towardzero): Likewise.
25259 (fma_test_downward): Likewise.
25260 (fma_test_upward): Likewise.
25261
4078da3d
TS
252622012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25263
25264 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25265
903252aa
JM
252662012-10-31 Joseph Myers <joseph@codesourcery.com>
25267
25268 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25269 New variable.
25270
cbc818d0
TS
252712012-10-31 Thomas Schwinge <thomas@codesourcery.com>
25272
25273 * rt/tst-shm.c (worker): Correct checking for mmap failure.
25274
5a03cb1e
AS
252752012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25276
25277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25278 Fix sort order.
25279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25280 Likewise.
25281
90aff2ff
TMQMF
252822012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25283
25284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25285 Fix the order of the list for glibc 2.17.
25286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25287 Likewise.
25288
1818fcb7
AS
252892012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25290
25291 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25292
ef82f4da
JM
252932012-10-31 Joseph Myers <joseph@codesourcery.com>
25294
16a0e2ec
JM
25295 [BZ #14610]
25296 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25297 for low part of x being zero before using __atanl (y).
25298 * math/libm-test.inc (atan2_test): Add another test.
25299
0eb69512
JM
25300 * manual/install.texi (Configuring and compiling): Document
25301 general use of test-wrapper and test-wrapper-env.
25302 * INSTALL: Regenerated.
25303
ef82f4da
JM
25304 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25305 (__fma): Do not extract and scale down low bits on after-rounding
25306 systems when result rounded to normal precision would have normal
25307 exponent.
25308 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25309 (__fmal): Do not extract and scale down low bits on after-rounding
25310 systems when result rounded to normal precision would have normal
25311 exponent.
25312 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25313 (__fmal): Do not extract and scale down low bits on after-rounding
25314 systems when result rounded to normal precision would have normal
25315 exponent.
25316 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25317 macro.
25318 (fma_test): Add more tests.
25319 (fma_test_towardzero): Likewise.
25320 (fma_test_downward): Likewise.
25321 (fma_test_upward): Likewise.
25322
954ef0d9
L
253232012-10-30 H.J. Lu <hongjiu.lu@intel.com>
25324
25325 * sysdeps/i386/tininess.h: Renamed to ...
25326 * sysdeps/x86/tininess.h: This.
25327 * sysdeps/x86_64/tininess.h: Removed.
25328
df61ffb2
JM
253292012-10-30 Joseph Myers <joseph@codesourcery.com>
25330
25331 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25332 input. Use $(build-program-cmd).
25333 ($(objpfx)tst-array1-static.out): Likewise.
25334 ($(objpfx)tst-array2.out): Likewise.
25335 ($(objpfx)tst-array3.out): Likewise.
25336 ($(objpfx)tst-array4.out): Likewise.
25337 ($(objpfx)tst-array5.out): Likewise.
25338 ($(objpfx)tst-array5-static.out): Likewise.
25339
01767843
CM
253402012-10-30 Chris Metcalf <cmetcalf@tilera.com>
25341
47cc1490
CM
25342 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25343 if defined.
25344
01767843
CM
25345 * nss/nsswitch.h (nss_interface_function): Provide new
25346 macro for use with NSS functions.
25347 * grp/initgroups.c: Use new macro.
25348 * nss/getXXbyYY.c: Likewise.
25349 * nss/getXXbyYY_r.c: Likewise.
25350 * nss/getXXent.c: Likewise.
25351 * nss/getXXent_r.c: Likewise.
25352 * sysdeps/posix/getaddrinfo.c: Likewise.
25353
8321aa97
AJ
253542012-10-30 Andreas Jaeger <aj@suse.de>
25355
25356 * po/ru.po: Update Russion translation from translation project.
25357
2a27fd6d
JM
253582012-10-30 Joseph Myers <joseph@codesourcery.com>
25359
8627a232
JM
25360 [BZ #14152]
25361 [BZ #14783]
25362 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25363 result and shift together with sticky bit instead of replicating
25364 round-to-nearest rounding.
25365 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25366 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25367 * math/libm-test.inc (fma_test): Add more tests. Do not permit
25368 missing underflow exceptions.
25369 (fma_test_towardzero): Add more tests.
25370 (fma_test_downward): Likewise.
25371 (fma_test_upward): Likewise.
25372
2a27fd6d
JM
25373 [BZ #14047]
25374 * sysdeps/generic/tininess.h: New file.
25375 * sysdeps/i386/tininess.h: Likewise.
25376 * sysdeps/sh/tininess.h: Likewise.
25377 * sysdeps/x86_64/tininess.h: Likewise.
25378 * stdlib/tst-strtod-underflow.c: Likewise.
25379 * stdlib/tst-tininess.c: Likewise.
25380 * stdlib/strtod_l.c: Include <tininess.h>.
25381 (round_and_return): Do not set errno for exact underflow cases.
25382 Force an underflow exception when setting errno for underflow.
25383 Determine underflow based on rounding to normal precision if
25384 TININESS_AFTER_ROUNDING.
25385 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25386 ERANGE for exact underflow cases.
25387 * stdlib/Makefile (tests): Add tst-tininess and
25388 tst-strtod-underflow.
25389 ($(objpfx)tst-tininess): Use $(link-libm).
25390 ($(objpfx)tst-strtod-underflow): Likewise.
25391
e7170363
AJ
253922012-10-30 Andreas Jaeger <aj@suse.de>
25393
e5088dc6
AJ
25394 [BZ#14767]
25395 * elf/Makefile (tests): Remove conditional for have-initfini-array
25396 since this is now always required and the variable does not exist
25397 anymore.
25398 (tests-static): Likewise.
25399 (modules-names): Likewise.
25400
e7170363 25401 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
25402
25403 * elf/tst-array1.c (fini_array): Make writeable so that it can be
25404 merged with constructor/destructor.
25405 (init_array): Likewise.
25406 * elf/tst-array2dep.c (fini_array): Likewise.
25407 (init_array): Likewise.
25408
60457d8a
MF
254092012-10-29 Mike Frysinger <vapier@gentoo.org>
25410
25411 * manual/message.texi: Delete @cartouche tags.
25412
8bece752
PT
254132012-10-29 Pino Toscano <toscano.pino@tiscali.it>
25414
94ce799f
PT
25415 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25416 EOPNOTSUPP.
25417 * sysdeps/mach/hurd/fsync.c: Likewise.
25418
8bece752
PT
25419 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25420 [_POSIX_REALTIME_SIGNALS]: Change condition to
25421 [_POSIX_REALTIME_SIGNALS > 0].
25422
86ebe6b1
AJ
254232012-10-27 Andreas Jaeger <aj@suse.de>
25424
25425 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25426 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25427 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25428 [__WORDSIZE != 64]: Likewise.
25429
54399c08
L
254302012-10-26 H.J. Lu <hongjiu.lu@intel.com>
25431
25432 * iconvdata/tst-table.sh: Remove ${SHELL}.
25433 * iconvdata/tst-tables.sh: Likewise.
25434
e2211bed
DM
254352012-10-25 David S. Miller <davem@davemloft.net>
25436
25437 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25438 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25439 of strtoull.
25440
f303f97c
DM
25441 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25442 ifunc-impl-list.c
25443 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25444 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25445 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25446 file.
25447
1e9d84cd
RM
254482012-10-25 Roland McGrath <roland@hack.frob.com>
25449
25450 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25451 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25452 __getdirentries.
25453
df381762
JM
254542012-10-25 Joseph Myers <joseph@codesourcery.com>
25455 Jim Blandy <jimb@codesourcery.com>
25456
25457 * scripts/cross-test-ssh.sh: New file.
25458 * manual/install.texi (Configuring and compiling): Document use of
25459 cross-test-ssh.sh.
25460 * INSTALL: Regenerated.
25461
bff64913
PT
254622012-10-25 Pino Toscano <toscano.pino@tiscali.it>
25463
25464 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25465 EOPNOTSUPP.
25466
25fe8932
JM
254672012-10-25 Joseph Myers <joseph@codesourcery.com>
25468
25469 * Makeconfig (run-program-prefix): Fix comment.
25470
cc1290d0
JM
254712012-10-24 Joseph Myers <joseph@codesourcery.com>
25472 Jim Blandy <jimb@codesourcery.com>
25473
25474 * Makeconfig (test-wrapper): New variable,
25475 (test-wrapper-env): Likewise.
25476 [$(cross-compiling) = yes && $(test-wrapper) != ""]
25477 (run-built-tests): Define to yes.
25478 (run-program-prefix): Use $(test-wrapper).
25479 (built-program-cmd): Likewise.
25480 * Rules (make-test-out): Use $(test-wrapper-env) and
25481 $(host-built-program-cmd).
25482 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25483 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25484 tst-pathopt.sh.
25485 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25486 $(test-wrapper-env) to tst-rtld-load-self.sh.
25487 ($(objpfx)order2.out): Use $(test-wrapper).
25488 ($(objpfx)tst-initorder.out): Likewise.
25489 ($(objpfx)tst-initorder2.out): Likewise.
25490 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25491 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25492 (test_wrapper_env): New variable. Use it to run ld.so.
25493 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25494 Use it to run ld.so.
25495 (test_wrapper_env): Likewise.
25496 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25497 $(test-wrapper) to run-iconv-test.sh.
25498 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
25499 (ICONV): Use $test_wrapper.
25500 * posix/Makefile ($(objpfx)globtest.out): Pass
25501 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
25502 globtest.sh, not $(run-program-prefix).
25503 * posix/globtest.sh (run_via_rtld_prefix): New variable.
25504 (test_wrapper): Likewise.
25505 (test_wrapper_env): Likewise. Use it to run globtest with HOME
25506 set together with run_via_rtld_prefix.
25507 (run_program_prefix): Define in terms of test_wrapper and
25508 run_via_rtld_prefix.
25509
6e6249d0
RM
255102012-10-24 Roland McGrath <roland@hack.frob.com>
25511
25512 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
25513 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
25514 Targets removed.
25515
25516 [BZ #14743]
25517 * include/time.h: Remove librt_hidden_proto (clock_gettime).
25518 Declare __clock_getres, __clock_gettime, __clock_settime,
25519 __clock_nanosleep, and __clock_getcpuclockid.
25520 * rt/clock_gettime.c: Define __clock_gettime as an alias.
25521 Remove librt_hidden_def (clock_gettime).
25522 * sysdeps/unix/clock_gettime.c: Likewise.
25523 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
25524 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25525 * rt/clock_getres.c: Define __clock_getres as an alias.
25526 * sysdeps/posix/clock_getres.c: Likewise.
25527 * rt/clock_settime.c: Define __clock_settime as an alias.
25528 * sysdeps/unix/clock_settime.c: Likewise.
25529 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
25530 * sysdeps/unix/clock_nanosleep.c: Likewise.
25531 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25532 * rt/clock-compat.c: New file.
25533 * rt/Makefile (librt-routines): Add clock-compat and move
25534 $(clock-routines) to ...
25535 (routines): ... here, new variable.
25536 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
25537 Don't add get_clockfreq here.
25538 * rt/Versions (libc: GLIBC_2.17): New version set.
25539 Add clock_* symbols here.
25540 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
25541 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
25542 (GLIBC_2.17): Add clock_* symbols.
25543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25545 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25547 Likewise.
25548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25549 Likewise.
25550 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25551 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25554 * NEWS: Mention the move.
25555
25556 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25557 Use __open, __read, __close rather than their public counterparts.
25558 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25559 (__get_clockfreq_via_cpuinfo): Likewise.
25560 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
25561 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
25562
25563 * config.h.in (HAVE_IFUNC): New #undef.
25564 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
25565 was successful.
25566 * configure: Regenerated.
25567
0cae3f4b
MF
255682012-10-24 Mike Frysinger <vapier@gentoo.org>
25569
25570 * configure.in: Move READELF check to start of file.
25571 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
25572 libc_cv_asm_gnu_indirect_function in the process.
25573 * configure: Regenerated.
25574
8175a253
MF
255752012-10-24 Mike Frysinger <vapier@gentoo.org>
25576
25577 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
25578 send the output to /dev/null.
25579 (libc_cv_cc_with_libunwind): Likewise.
25580 (libc_cv_as_noexecstack): Likewise.
25581 * configure: Regenerate.
25582
0708a7d1
JM
255832012-10-24 Joseph Myers <joseph@codesourcery.com>
25584
10b40d85
JM
25585 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
25586
0708a7d1
JM
25587 * posix/globtest.sh (TMPDIR): Do not set.
25588 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
25589 (testout): Likewise.
25590
9fddec1a
AJ
255912012-10-24 Andreas Jaeger <aj@suse.de>
25592
3a8db22f
AJ
25593 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
25594 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
25595 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
25596 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
25597 posix_fadvise64, posix_fallocate64.
25598
9fddec1a
AJ
25599 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
25600 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
25601 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
25602 Likewise.
25603 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
25604 Likewise.
25605 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
25606
25607 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
25608 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
25609 <bits/fcntl-linux.h>.
25610 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
25611
25612 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
25613 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
25614 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
25615 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
25616 [__WORDSIZE != 64]: Likewise.
25617
ebfd1bbd
JM
256182012-10-23 Joseph Myers <joseph@codesourcery.com>
25619
03ac099f
JM
25620 * Makeconfig (run-built-tests): New variable.
25621 * Rules [$(cross-compiling) = yes]: Change condition to
25622 [$(run-built-tests) = no].
25623 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
25624 to [$(run-built-tests) = yes].
25625 * elf/Makefile [$(cross-compiling) = no]: Likewise
25626 * grp/Makefile [$(cross-compiling) = no]: Likewise.
25627 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
25628 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
25629 * intl/Makefile [$(cross-compiling) = no]: Likewise.
25630 * io/Makefile [$(cross-compiling) = no]: Likewise.
25631 * libio/Makefile [$(cross-compiling) = no]: Likewise.
25632 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
25633 * misc/Makefile [$(cross-compiling) = no]: Likewise.
25634 * posix/Makefile [$(cross-compiling) = no]: Likewise.
25635 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
25636 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
25637 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
25638 * string/Makefile [$(cross-compiling) = no]: Likewise.
25639
ebfd1bbd
JM
25640 * posix/Makefile ($(objpfx)globtest.out): Pass
25641 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
25642 $(rtld-installed-name).
25643 * posix/globtest.sh (elf_objpfx): Remove variable.
25644 (rtld_installed_name): Likewise.
25645 (library_path): Likewise.
25646 (run_program_prefix): New variable. Use for running globtest
25647 binary.
25648
166bca24
JB
256492012-10-23 Jim Blandy <jimb@codesourcery.com>
25650 Joseph Myers <joseph@codesourcery.com>
25651
25652 * Makeconfig (host-built-program-cmd): New variable.
25653 * elf/Makefile (tst-stackguard1-ARGS): Use
25654 $(host-built-program-cmd).
25655 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
25656 (tst-spawn-ARGS): Likewise.
25657 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
25658
88866099
JM
256592012-10-23 Joseph Myers <joseph@codesourcery.com>
25660 Jim Blandy <jimb@codesourcery.com>
25661
25662 * Makeconfig (run-via-rtld-prefix): New variable.
25663 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
25664 (built-program-cmd): Likewise.
25665
b4b4c296
AJ
256662012-10-22 Andreas Jaeger <aj@suse.de>
25667
25668 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
25669 __O_RSYNC if it exists, otherwise to O_SYNC.
25670
6fb54a22
JB
256712012-10-22 Jim Blandy <jimb@codesourcery.com>
25672 Joseph Myers <joseph@codesourcery.com>
25673
25674 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
25675 /dev/null.
25676 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
25677 from /dev/null
25678 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
25679 /dev/null.
25680
481b90b9
AJ
256812012-10-22 Andreas Jaeger <aj@suse.de>
25682
2a0e2669
AJ
25683 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
25684 Define always.
25685 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
25686
76e38f9a
AJ
25687 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25688 bits/fcntl-linux.h.
25689
7cd37b43
AJ
25690 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
25691 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
25692
481b90b9
AJ
25693 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
25694 to __O_LARGEFILE.
25695 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
25696 to __O_LARGEFILE.
25697
aba75984
JB
256982012-10-21 Jim Blandy <jimb@codesourcery.com>
25699 Joseph Myers <joseph@codesourcery.com>
25700
25701 * config.make.in (NM): New variable.
25702
88d4247f
AJ
257032012-10-21 Andreas Jaeger <aj@suse.de>
25704
25705 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
25706 definitions and declarations that are provided by
25707 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25708
f2eed205
L
257092012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25710
25711 [BZ #14683]
25712 * elf/Makefile (tests-static): Add tst-leaks1-static.
25713 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
25714 ($(objpfx)tst-leaks1-static): New rule.
25715 ($(objpfx)tst-leaks1-static-mem): Likewise.
25716 (tst-leaks1-static-ENV): New macro.
25717 * elf/dl-open.c (dl_open_worker): Check the main application
25718 only if SHARED is defined.
25719 * elf/tst-leaks1-static.c: New file.
25720
335e6931
AJ
257212012-10-20 Andreas Jaeger <aj@suse.de>
25722
25723 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
25724 generic values for Linux.
25725 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
25726 and declarations that are provided by <bits/fcntl-linux.h> and
25727 include <bits/fcntl-linux.h>.
25728 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25729 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25730
ac5c94d3
RM
257312012-10-20 Roland McGrath <roland@hack.frob.com>
25732
25733 * io/fcntl.h: Move include of <bits/types.h> to the top and
25734 include it unconditionally.
25735
de54b33a
L
257362012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25737
228cfb01
L
25738 * wcsmbs/Makefile (tests-ifunc): New variable.
25739 (tests): Add $(tests-ifunc).
25740 * wcsmbs/test-wcschr-ifunc.c: New file.
25741 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25742 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25743 * wcsmbs/test-wcslen-ifunc.c: Likewise.
25744 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25745 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25746
69f07e5f
L
25747 * string/Makefile (tests-ifunc): New variable.
25748 (tests): Add $(tests-ifunc).
25749 * string/test-memccpy.c (TEST_NAME): New macro.
25750 * string/test-memchr.c (TEST_NAME): Likewise.
25751 * string/test-memcmp.c (TEST_NAME): Likewise.
25752 * string/test-memcpy.c (TEST_NAME): Likewise.
25753 * string/test-memmem.c (TEST_NAME): Likewise.
25754 * string/test-memmove.c (TEST_NAME): Likewise.
25755 * string/test-memset.c (TEST_NAME): Likewise.
25756 * string/test-rawmemchr.c (TEST_NAME): Likewise.
25757 * string/test-stpcpy.c (TEST_NAME): Likewise.
25758 * string/test-stpncpy.c (TEST_NAME): Likewise.
25759 * string/test-strcasecmp.c (TEST_NAME): Likewise.
25760 * string/test-strcasestr.c (TEST_NAME): Likewise.
25761 * string/test-strcat.c (TEST_NAME): Likewise.
25762 * string/test-strchr.c (TEST_NAME): Likewise.
25763 * string/test-strcmp.c(TEST_NAME): Likewise.
25764 * string/test-strcpy.c (TEST_NAME): Likewise.
25765 * string/test-strcspn.c (TEST_NAME): Likewise.
25766 * string/test-strlen.c (TEST_NAME): Likewise.
25767 * string/test-strncasecmp.c (TEST_NAME): Likewise.
25768 * string/test-strncmp.c (TEST_NAME): Likewise.
25769 * string/test-strncpy.c (TEST_NAME): Likewise.
25770 * string/test-strnlen.c (TEST_NAME): Likewise.
25771 * string/test-strpbrk.c (TEST_NAME): Likewise.
25772 * string/test-strrchr.c (TEST_NAME): Likewise.
25773 * string/test-strspn.c (TEST_NAME): Likewise.
25774 * string/test-strstr.c (TEST_NAME): Likewise.
25775 * string/test-bcopy-ifunc.c: New file.
25776 * string/test-bzero-ifunc.c: Likewise.
25777 * string/test-memccpy-ifunc.c: Likewise.
25778 * string/test-memchr-ifunc.c: Likewise.
25779 * string/test-memcmp-ifunc.c: Likewise.
25780 * string/test-memcpy-ifunc.c: Likewise.
25781 * string/test-memmem-ifunc.c: Likewise.
25782 * string/test-memmove-ifunc.c: Likewise.
25783 * string/test-mempcpy-ifunc.c: Likewise.
25784 * string/test-memset-ifunc.c: Likewise.
25785 * string/test-rawmemchr-ifunc.c: Likewise.
25786 * string/test-stpcpy-ifunc.c: Likewise.
25787 * string/test-stpncpy-ifunc.c: Likewise.
25788 * string/test-strcasecmp-ifunc.c: Likewise.
25789 * string/test-strcasestr-ifunc.c: Likewise.
25790 * string/test-strcat-ifunc.c: Likewise.
25791 * string/test-strchr-ifunc.c: Likewise.
25792 * string/test-strchrnul-ifunc.c: Likewise.
25793 * string/test-strcmp-ifunc.c: Likewise.
25794 * string/test-strcpy-ifunc.c: Likewise.
25795 * string/test-strcspn-ifunc.c: Likewise.
25796 * string/test-strlen-ifunc.c: Likewise.
25797 * string/test-strncasecmp-ifunc.c: Likewise.
25798 * string/test-strncat-ifunc.c: Likewise.
25799 * string/test-strncmp-ifunc.c: Likewise.
25800 * string/test-strncpy-ifunc.c: Likewise.
25801 * string/test-strnlen-ifunc.c: Likewise.
25802 * string/test-strpbrk-ifunc.c: Likewise.
25803 * string/test-strrchr-ifunc.c: Likewise.
25804 * string/test-strspn-ifunc.c: Likewise.
25805 * string/test-strstr-ifunc.c: Likewise.
25806
de54b33a
L
25807 * debug/Makefile (tests-ifunc): New variable.
25808 (tests): Add $(tests-ifunc).
25809 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
25810 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
25811 * debug/test-stpcpy_chk-ifunc.c: New file.
25812 * debug/test-strcpy_chk-ifunc.c: Likewise.
25813
88481c16
SP
258142012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25815
25816 [BZ #13601]
25817 * elf/dl-load.c (open_verify): Retry read if the entire ELF
25818 header is not read in.
25819
135948bd
JM
258202012-10-19 Joseph Myers <joseph@codesourcery.com>
25821
89f1c388
JM
25822 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
25823 script to $(SHELL) as $<. Pass $(common-objpfx) to script
25824 directly. Pass built executable to script as
25825 $(built-program-cmd).
25826 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
25827 $testprogram without using LD_LIBRARY_PATH and $ldso.
25828
e40a0d21
JM
25829 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
25830 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
25831 $(rtld-installed-name).
25832 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
25833 (rtld_installed_name): Likewise.
25834 (library_path): Likewise.
25835 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
25836 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
25837 $(run-program-prefix) to tst-tables.sh.
25838 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
25839 it to run tst-table-from and tst-table-to.
25840 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
25841 Pass it to tst-table.sh.
25842 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
25843 $(run-program-prefix) to tst-gettext.sh.
25844 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
25845 tst-translit.sh.
25846 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
25847 tst-gettext2.sh.
25848 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
25849 to run tst-gettext.
25850 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
25851 to run tst-gettext2.
25852 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
25853 to run tst-translit.
25854 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
25855 $(run-program-prefix) to tst-mtrace.sh.
25856 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
25857 to run tst-mtrace.
25858 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
25859 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
25860 $(rtld-installed-name).
25861 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
25862 (rtld_installed_name): Likewise.
25863 (run_program_prefix): New variable. Use it to run wordexp-test.
25864
728e272a
JM
25865 * Makeconfig (ARCH): Remove all definitions.
25866 (machine): Likewise.
25867 [ARCH]: Remove conditional code.
25868 [!objdir]: Give error.
25869 [!objdir] (objpfx): Remove.
25870 [!objdir] (common-objpfx): Likewise.
25871 [!objdir] (common-objdir): Likewise.
25872 * configure.in (config_makefile): Remove. Hardcode Makefile in
25873 AC_CONFIG_FILES call.
25874 * configure: Regenerated.
25875
d528cdcf
JM
25876 [BZ #13888]
25877 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
25878 or TMPDIR.
25879 (testout): Likewise.
25880
135948bd
JM
25881 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
25882 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
25883 $(rtld-installed-name).
25884 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
25885 (rtld_installed_name): Likwise.
25886 (runit): Remove function.
25887 (run_getconf): New variable, Use it for running getconf binary.
25888
38c78296
L
258892012-10-18 H.J. Lu <hongjiu.lu@intel.com>
25890
25891 [BZ #14716]
25892 * string/test-memmem.c (check_result): New function.
25893 (do_one_test): Use it.
25894 (check1): New function.
25895 (test_main): Use it.
25896
d077f65f
MT
258972012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
25898
25899 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
25900
ced52c71
JM
259012012-10-18 Joseph Myers <joseph@codesourcery.com>
25902
25903 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
25904 (_G_LSEEK64): Likewise.
25905 (_G_MMAP64): Likewise.
25906 (_G_FSTAT64): Likewise.
25907 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
25908 (_G_LSEEK64): Likewise.
25909 (_G_MMAP64): Likewise.
25910 (_G_FSTAT64): Likewise.
25911 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
25912 unconditional. Call __mmap64 directly.
25913 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
25914 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
25915 __lseek64 directly.
25916 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
25917 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
25918 __mmap64 directly.
25919 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
25920 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
25921 __lseek64 directly.
25922 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
25923 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
25924 __lseek64 directly.
25925 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
25926 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
25927 __lseek64 directly.
25928 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
25929 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
25930 __fxstat64 directly.
25931 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
25932 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
25933 unconditional.
25934 (freopen64) [!_G_OPEN64]: Remove conditional code.
25935 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
25936 unconditional.
25937 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
25938 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
25939 unconditional.
25940 (ftello64) [!_G_LSEEK64]: Remove conditional code.
25941 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
25942 unconditional.
25943 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25944 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
25945 unconditional.
25946 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
25947 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
25948 unconditional.
25949 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25950 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
25951 unconditional.
25952 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25953 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
25954 unconditional.
25955 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25956
b741de23
SP
259572012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25958
25959 [BZ #12140]
25960 * manual/memory.texi (Malloc Tunable Parameters): Add note
25961 about free list pointers overwriting some perturb bytes.
25962 Wording suggested by Roland McGrath.
25963
f9b9d9c9
JM
259642012-10-17 Joseph Myers <joseph@codesourcery.com>
25965
25966 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
25967 (lgamma_test): Likewise.
25968 (tgamma_test): Likewise.
25969
172a631a
FW
259702012-10-16 Florian Weimer <fweimer@redhat.com>
25971
25972 [BZ #14700]
25973 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
25974 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
25975
e9f37252
MK
259762012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
25977
25978 * NEWS: Mention BZ #14716.
25979 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
25980 when removing AVAILABLE1_USES_J macro.
25981
d394eb74
L
259822012-10-12 H.J. Lu <hongjiu.lu@intel.com>
25983
25984 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
25985 (__bswap_64): __uint64_t for unsigned 64-bit int.
25986
ca38dc17
AS
259872012-10-12 Andreas Schwab <schwab@linux-m68k.org>
25988
25989 * include/string.h (memmem): Declare libc hidden alias.
25990 * string/memmem.c (memmem): Define libc hidden alias.
25991 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
25992 __read, __close instead of open, read, close.
25993
9a387d1f
L
259942012-10-11 H.J. Lu <hongjiu.lu@intel.com>
25995
ac49ecaf
L
25996 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
25997 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
25998 global and hidden.
25999 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26000 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26001 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26002 Likewise.
26003 (__rawmemchr_sse2): Likewise.
26004 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26005 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26006 (__strchr_sse2): Likewise.
26007 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26008 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26009 (__strcasecmp_sse2): Likewise.
26010 (__strncasecmp_sse2): Likewise.
26011 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26012 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26013 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26014 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26015 (__strrchr_sse2): Likewise.
26016 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26017 ifunc-impl-list.c.
26018 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26019 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26020 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26021 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26022 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26023 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26024 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26025 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26026 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26027 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26028 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26029 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26030 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26031 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26032 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26033 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26034 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26035 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26036 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26037 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26038 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26039 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26040 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26041 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26042 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26043 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26044 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26045 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26046 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26047 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26048
b090e8ea
L
26049 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26050 global and hidden.
26051 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26052 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26053 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26054 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26055 Likewise.
26056 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26057 Likewise.
26058 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26059 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26060 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26061 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26062 ifunc-impl-list.c.
26063 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26064 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26065 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26066 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26067 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26068 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26069 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26070 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26071 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26072 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26073 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26074 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26075 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26076 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26077 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26078 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26079 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26080 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26081 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26082 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26083 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26084 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26085 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26086 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26087 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26088 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26089 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26090 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26091 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26092 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26093 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26094 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26095 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26096 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26097 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26098 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26099 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26100 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26101 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26102 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26103 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26104
11dd4af6
L
26105 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26106 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26107 * include/ifunc-impl-list.h: New file.
26108 * misc/ifunc-impl-list.c: Likewise.
26109 * misc/Makefile (routines): Add ifunc-impl-list.
26110 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26111 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
26112 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26113 TEST_NAME]: New variables.
11dd4af6
L
26114 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26115 are defined.
26116 (test_init): Call __libc_ifunc_impl_list to initialize
26117 func_list if TEST_IFUNC and TEST_NAME are defined.
26118
9a387d1f
L
26119 * string/Makefile (strop-tests): Add bcopy and bzero.
26120 * string/test-bcopy.c: New file.
26121 * string/test-bzero.c: Likewise.
26122 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26123 defined.
26124 * string/test-memset.c: Support bzero test if TEST_BZERO is
26125 defined.
26126 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26127 __libc_memmove.
26128 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26129 __libc_memset.
26130 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26131 of memset.
26132
472371b9
JM
261332012-10-10 Joseph Myers <joseph@codesourcery.com>
26134
1e4a9536
JM
26135 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26136 * configure: Regenerated.
26137
d173d12e
JM
26138 * Makeconfig (+link-static-before-libc): Don't include
26139 $(link-static-libc).
26140
472371b9
JM
26141 * libio/libio.h (_IO_pos_t): Remove.
26142
89a3ad0b
AO
261432012-10-10 Alexandre Oliva <aoliva@redhat.com>
26144
26145 * NEWS: Add note about FIPS mode. Wording suggested by Roland
26146 McGrath.
26147
e7451425
AO
261482012-10-10 Alexandre Oliva <aoliva@redhat.com>
26149
26150 * crypt/crypt-entry.c: Include fips-private.h.
26151 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26152 * crypt/md5c-test.c (main): Tolerate disabled MD5.
26153 * sysdeps/unix/sysv/linux/fips-private.h: New file.
26154 * sysdeps/generic/fips-private.h: New file, dummy fallback.
26155
4ba74a35
AO
261562012-10-10 Alexandre Oliva <aoliva@redhat.com>
26157
26158 * crypt/crypt-private.h: Include stdbool.h.
26159 (_ufc_setup_salt_r): Return bool.
26160 * crypt/crypt-entry.c: Include errno.h.
26161 (__crypt_r): Return NULL with EINVAL for bad salt.
26162 * crypt/crypt_util.c (bad_for_salt): New.
26163 (_ufc_setup_salt_r): Check that salt is long enough and within
26164 the specified alphabet.
26165 * crypt/badsalttest.c: New file.
26166 * crypt/Makefile (tests): Add it.
26167 ($(objpfx)badsalttest): New.
26168
f96f1242
MK
261692012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
26170
26171 * NEWS: Add entry for BZ #14602.
26172
0e8e0c1c
JM
261732012-10-09 Joseph Myers <joseph@codesourcery.com>
26174
26175 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26176 type-generic.
26177 * math/libm-test.inc: Update comment listing what functions and
26178 macros are tested.
26179 (isgreater_test): New function.
26180 (isgreaterequal_test): Likewise.
26181 (isless_test): Likewise.
26182 (islessequal_test): Likewise.
26183 (islessgreater_test): Likewise.
26184 (isunordered_test): Likewise.
26185 (main): Call the new functions.
26186
273edc5e
RM
261872012-10-09 Roland McGrath <roland@hack.frob.com>
26188
b8493de0
RM
26189 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26190 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26191 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26192 * sysdeps/i386/configure: Regenerated.
26193 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26194 * sysdeps/mach/configure: Regenerated.
26195 * sysdeps/mach/hurd/configure: Regenerated.
26196 * sysdeps/powerpc/configure: Regenerated.
26197 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26198 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26199 * sysdeps/s390/s390-32/configure: Regenerated.
26200 * sysdeps/s390/s390-64/configure: Regenerated.
26201 * sysdeps/sh/configure: Regenerated.
26202 * sysdeps/sparc/configure: Regenerated.
26203 * sysdeps/unix/sysv/linux/configure: Regenerated.
26204 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26205 * sysdeps/x86_64/configure: Regenerated.
26206
273edc5e
RM
26207 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26208 defined. Don't check if MAP is NULL.
26209
c8450f70
JM
262102012-10-09 Joseph Myers <joseph@codesourcery.com>
26211
26212 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26213 (_G_stat64): Likewise.
26214 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26215 (_G_stat64): Likewise.
26216 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26217 instead of struct _G_stat64.
26218 * libio/fileops.c (mmap_remap_check): Likewise.
26219 (decide_maybe_mmap): Likewise.
26220 (_IO_new_file_seekoff): Likewise.
26221 (_IO_file_stat): Likewise.
26222 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26223 _G_off64_t.
26224 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26225 instead of struct _G_stat64.
26226 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26227
57e605ba
MK
262282012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
26229
26230 [BZ #14602]
26231 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26232 Replace with ...
26233 (CHECK_EOL): New macro.
26234 (two_way_short_needle): Check beginning of haystack for EOL. Use
26235 CHECK_EOL.
26236 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26237 Replace with CHECK_EOL.
26238 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26239 Replace with CHECK_EOL.
26240
ef1bb361
JM
262412012-10-08 Joseph Myers <joseph@codesourcery.com>
26242
26243 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26244 type-generic.
26245 * math/libm-test.inc: Update comment listing what functions and
26246 macros are tested.
26247 (finite_test): New function.
26248 (isinf_test): Likewise.
26249 (isnan_test): Likewise.
26250 (fpclassify_test): Test subnormal input.
26251 (isfinite_test): Likewise.
26252 (isnormal_test): Likewise.
26253 (main): Call the new functions.
26254
55f11534
JN
262552012-10-08 Jonathan Nieder <jrnieder@gmail.com>
26256
26257 [BZ #14660]
26258 * Makerules (%.dynsym): Force C locale when running
26259 $(OBJDUMP) --dynamic-syms.
26260
1ab29350
AS
262612012-10-08 Andreas Schwab <schwab@linux-m68k.org>
26262
26263 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26264 <stdint.h>.
26265
f1ecb7ef
DM
262662012-10-06 David S. Miller <davem@davemloft.net>
26267
26268 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26269 upper 32-bits of the length value in %o2 since we use branch-on-register
26270 tests which consider the entire 64-bit register.
26271
5d41d91a
L
262722012-10-06 H.J. Lu <hongjiu.lu@intel.com>
26273
26274 * string/test-strstr.c (check2): Add a test for page boundary.
26275
3baddb72
DM
262762012-10-05 David S. Miller <davem@davemloft.net>
26277
26278 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26279 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26280 file.
26281 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26282 sysdep_routines.
26283 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26284 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26285 and bzero when HWCAP_SPARC_CRYPTO is present.
26286
9cee5585
L
262872012-10-05 H.J. Lu <hongjiu.lu@intel.com>
26288
d7e0dab9
L
26289 [BZ #14602]
26290 * string/test-strstr.c (check2): New function.
26291 (test_main): Call check2.
26292
03759f47
L
26293 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26294 and bug-strchr1.
26295 * string/bug-strcasestr1.c (do_test): Moved to ...
26296 * string/test-strcasestr.c (check1): Here. New function.
26297 (do_one_test): Break out result checking code into ...
26298 (check_result): This. New function.
26299 (do_one_test): Call check_result.
26300 (test_main): Call check1.
26301 * string/bug-strchr1.c (do_test): Moved to ...
26302 * string/test-strchr.c (check1): Here. New function.
26303 (do_one_test): Break out result checking code into ...
26304 (check_result): This. New function.
26305 (do_one_test): Call check_result.
26306 (test_main): Call check1.
26307 * string/bug-strstr1.c (main): Moved to ...
046f153e 26308 * string/test-strstr.c (check1): Here. New function.
03759f47
L
26309 (do_one_test): Break out result checking code into ...
26310 (check_result): This. New function.
26311 (do_one_test): Call check_result.
26312 (test_main): Call check1.
26313 * string/bug-strcasestr1.c: Removed.
26314 * string/bug-strchr1.c: Likewise.
26315 * string/bug-strstr1.c: Likewise.
26316
53cea63e
L
26317 * elf/Makefile (dl-routines): Add hwcaps.
26318 * elf/dl-support.c (_dl_important_hwcaps): Removed.
26319 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26320 (_dl_important_hwcaps): Moved to ...
26321 * elf/dl-hwcaps.c: Here. New file.
26322 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26323
9cee5585 26324 [BZ #14557]
bb859b06
L
26325 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26326 if IS_IN_rtld isn't defined.
26327
9cee5585
L
26328 * elf/dl-support.c (_dl_sysinfo_map): New.
26329 Include "get-dynamic-info.h" and "setup-vdso.h".
26330 (_dl_non_dynamic_init): Call setup_vdso.
26331 * elf/dynamic-link.h: Don't include <assert.h>.
26332 (elf_get_dynamic_info): Moved to ...
26333 * elf/get-dynamic-info.h: Here. New file.
26334 * elf/dynamic-link.h: Include "get-dynamic-info.h".
26335 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26336 * elf/setup-vdso.h: Here. New file.
26337 * elf/rtld.c: Include "setup-vdso.h".
26338 (dl_main): Call setup_vdso.
26339
23c31b76
JM
263402012-10-05 Joseph Myers <joseph@codesourcery.com>
26341
28234b07
JM
26342 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26343 creal in comment listing functions tested. List finite, isinf,
26344 isnan, isless, islessequal, isgreater, isgreaterequal,
26345 islessgreater, isunordered, lgamma_r and pow10 as functions and
26346 macros not tested. Mention which functions not tested are aliases
26347 for other functions. Fix typo. Note that signs of NaNs are not
26348 tested.
26349
23c31b76
JM
26350 * scripts/config.guess: Update from config.git.
26351 * scripts/config.sub: Likewise.
26352
9043e228
RM
263532012-10-04 Roland McGrath <roland@hack.frob.com>
26354
26355 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26356 * misc/madvise.c (madvise): Renamed to __madvise.
26357 Make madvise a weak alias.
26358 * include/sys/mman.h: Declare __madvise.
26359 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26360 * sysdeps/unix/syscalls.list
26361 (madvise): Make __madvise the strong name, and madvise a weak alias.
26362 * sysdeps/unix/sysv/linux/syscalls.list
26363 (madvise, mmap): Remove redundant entries.
26364 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26365 * malloc/malloc.c (mtrim): Likewise.
26366 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26367
f57f8055
RM
263682012-10-03 Roland McGrath <roland@hack.frob.com>
26369
26370 * sysdeps/mach/hurd/dl-cache.c: File removed.
26371 * config.h.in (USE_LDCONFIG): New #undef.
26372 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26373 * configure: Regenerated.
26374 * elf/Makefile (dl-routines): Add dl-cache only under
26375 [$(use-ldconfig) = yes].
26376 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26377 cache on [USE_LDCONFIG].
26378 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26379 [USE_LDCONFIG].
26380 * elf/rtld.c (dl_main): Likewise.
26381
5bb0c10a
PT
263822012-10-03 Pino Toscano <toscano.pino@tiscali.it>
26383
26384 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26385 _SC_LEVEL4_CACHE_LINESIZE.
26386
010188c6
RM
263872012-10-03 Roland McGrath <roland@hack.frob.com>
26388
26389 * sysdeps/unix/bsd/confstr.h: File removed.
26390
b6c5ec07
AO
263912012-10-02 Alexandre Oliva <aoliva@redhat.com>
26392
26393 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26394 sys/sdt-config.h.
26395
408223d4
RM
263962012-10-02 Roland McGrath <roland@hack.frob.com>
26397
26398 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26399 Make 'mapoff' field ElfW(Off) rather than off_t.
26400
bb9510dc
DL
264012012-10-02 Dmitry V. Levin <ldv@altlinux.org>
26402
fc997c6e
DL
26403 * nscd/Makefile: Remove nscd-cflags and all its users.
26404 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26405 (CFLAGS-nonlib): Add compiler flags for nscd modules.
26406
bb9510dc
DL
26407 [BZ #10631]
26408 * malloc.c (malloc_printerr): Clarify error message.
26409
05699367
L
264102012-10-02 H.J. Lu <hongjiu.lu@intel.com>
26411
26412 [BZ #14648]
26413 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26414 Set bit_FMA_Usable if FMA is supported.
26415 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26416 macro.
26417 (bit_FMA4_Usable): Updated.
26418 (index_FMA_Usable): New macro.
26419 (CPUID_FMA): Likewise
26420 (HAS_FMA): Defined with bit_FMA_Usable.
26421
51367701
RM
264222012-10-01 Roland McGrath <roland@hack.frob.com>
26423
26424 * bits/types.h (__swblk_t): Type removed.
26425 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26426 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26427 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26428 (__SWBLK_T_TYPE): Likewise.
26429 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26430 (__SWBLK_T_TYPE): Likewise.
26431 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26432 (__SWBLK_T_TYPE): Likewise.
26433 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26434 (__SWBLK_T_TYPE): Likewise.
26435
4d57bf63 264362012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 26437 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
26438
26439 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26440 (xdr_mapname): Use YPMAXMAP as maxsize.
26441 (xdr_peername): Use YPMAXPEER as maxsize.
26442 (xdr_keydat): Use YPAXRECORD as maxsize.
26443 (xdr_valdat): Use YPMAXRECORD as maxsize.
26444
93c65d43
RM
264452012-10-01 Roland McGrath <roland@hack.frob.com>
26446
497a03d6
RM
26447 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26448
93c65d43
RM
26449 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26450 * csu/init-first.c: ... here.
26451 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26452 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26453 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26454 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26455 * sysdeps/i386/init-first.c: File removed.
26456 * sysdeps/sh/init-first.c: File removed.
26457
bec749fd
JM
264582012-10-01 Joseph Myers <joseph@codesourcery.com>
26459
26460 [BZ #14645]
26461 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26462 if x * y might underflow to zero and z is zero.
26463 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26464 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26465 * math/libm-test.inc (min_subnorm_value): New variable.
26466 (fma_test): Add more tests.
26467 (fma_test_towardzero): Likewise.
26468 (fma_test_downward): Likewise
26469 (fma_test_upward): Likewise.
26470 (initialize): Set min_subnorm_value.
26471
8ec5b013
JM
264722012-09-29 Joseph Myers <joseph@codesourcery.com>
26473
26474 [BZ #14638]
26475 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26476 0 + 0.
26477 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26478 mode for addition resulting in exact zero.
26479 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26480 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26481 exact 0 + 0.
26482 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26483 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26484 * math/libm-test.inc (fma_test): Add more tests.
26485 (fma_test_towardzero): New function.
26486 (fma_test_downward): Likewise.
26487 (fma_test_upward): Likewise.
26488 (main): Call the new functions.
26489
b1fa802e
DM
264902012-09-28 David S. Miller <davem@davemloft.net>
26491
26492 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26493
d3b9fd9e
RM
264942012-09-28 Roland McGrath <roland@hack.frob.com>
26495
ea4d37b3
RM
26496 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26497 instead of SIGALRM.
26498
ac51c949
RM
26499 * sysdeps/gnu/_G_config.h: Moved to ...
26500 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
26501 * sysdeps/mach/hurd/_G_config.h: Moved to ...
26502 * sysdeps/generic/_G_config.h: ... here.
26503
28c195f7
RM
26504 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
26505
848917f9
RM
26506 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
26507
6bacf05b
RM
26508 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
26509 Conditionalize target on [libnss_test1.so-version].
26510
91363dbb
RM
26511 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
26512
cc87f7d8
RM
26513 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
26514 (elfobjdir): Move out of conditionals.
26515
b1c608fe
RM
26516 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
26517 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
26518 (__nss_lookup_function): Conditionalize label remove_from_tree on
26519 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 26520
1d9a6d96
DM
265212012-09-28 David S. Miller <davem@davemloft.net>
26522
26523 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
26524 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
26525 file.
26526 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26527 sysdep_routines.
26528 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26529 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
26530 when HWCAP_SPARC_CRYPTO is present.
26531
72581615
PT
265322012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26533
26534 * io/tst-mknodat.c: Create a FIFO instead of a socket.
26535
715a900c
JL
265362012-09-28 Andreas Schwab <schwab@linux-m68k.org>
26537
26538 [BZ #6530]
26539 * stdio-common/vfprintf.c (process_string_arg): Revert
26540 2000-07-22 change.
26541
265422011-09-28 Jonathan Nieder <jrnieder@gmail.com>
26543
26544 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
26545 for testcase.
26546 * stdio-common/tst-sprintf.c: Include <locale.h>
26547 (main): Test sprintf's handling of incomplete multibyte
26548 characters.
26549
9bac1d86
L
265502012-09-28 H.J. Lu <hongjiu.lu@intel.com>
26551
26552 * elf/dl-runtime.c (VERSYMIDX): Removed.
26553 * elf/dl-version.c (VERSYMIDX): Likewise.
26554 * elf/do-rel.h (VERSYMIDX): Likewise.
26555 (VALIDX): Likewise.
26556 * elf/dynamic-link.h (VERSYMIDX): Likewise.
26557 * elf/rtld.c (VALIDX): Likewise.
26558 (ADDRIDX): Likewise.
9bac1d86
L
26559 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
26560 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
26561 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
26562 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
26563 (VALIDX): Likewise.
26564 (ADDRIDX): Likewise.
9bac1d86 26565
b31606c0
PT
265662012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26567
26568 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
26569
11541177
JL
265702012-09-28 Dmitry V. Levin <ldv@altlinux.org>
26571
26572 [BZ #11438]
26573 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
26574 to global scope.
26575 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
26576 addresses are in the same scope as 192.0.2/24.
26577 * posix/gai.conf: Document new scope table defaults.
26578
adb26fae
SP
265792012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26580
26581 [BZ #5298]
26582 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
26583 for ftell. Compute offsets from write pointers instead.
26584 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26585
4573c6b0
SP
265862012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26587
26588 [BZ #14543]
26589 * libio/Makefile (tests): New test case tst-fseek.
26590 * libio/tst-fseek.c: New test case to verify that fseek/ftell
26591 combination works in wide mode.
26592 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
26593 state when the external buffer state changes.
26594
aa9bbfe6
DM
265952012-09-27 David S. Miller <davem@davemloft.net>
26596
26597 [BZ #14376]
26598 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
26599 pass reloc->r_addend in as the 'high' argument to
26600 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
26601
784421e7
DM
26602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26603
c39bc8b8
PT
266042012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26605
26606 * rt/tst-aio2.c: Include <pthread.h>.
26607 * rt/tst-aio3.c: Likewise.
26608
1ccc2399
SE
266092012-09-27 Steve Ellcey <sellcey@mips.com>
26610
26611 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
26612
31ed4153
L
266132012-09-27 H.J. Lu <hongjiu.lu@intel.com>
26614
25f5f885
L
26615 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
26616 contents on [SHARED].
31ed4153 26617
b7bfe116
MP
266182012-09-26 Marek Polacek <polacek@redhat.com>
26619
26620 [BZ #14530]
26621 [BZ #13741]
26622 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
26623 for C++ and GCC <4.3 as well as for non GCC compilers.
26624
43c4edba
MT
266252012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
26626
26627 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26628
6a1bf82f
RM
266292012-09-25 Roland McGrath <roland@hack.frob.com>
26630
26631 * Makefile.in (all, install): Declare with .PHONY.
26632 Reported by Michael Hope <michael.hope@linaro.org>.
26633
8ad11b9a
TMQMF
266342012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26635
26636 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
26637 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
26638 system header.
26639 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
26640 Likewise.
26641 (sydep_routines): Add the new and the internal functions.
26642 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
26643 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
26644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
26645 (GLIBC_2.17): Add the new function.
26646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26647 (GLIBC_2.17): Likewise.
26648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
26649 (GLIBC_2.17): Likewise.
26650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
26651 (GLIBC_2.17): Likewise.
26652 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
26653
7e2fca8d
AM
266542012-09-25 Alan Modra <amodra@gmail.com>
26655
26656 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
26657 Add release barrier before setting once_control to say
26658 initialisation is done. Add hints on lwarx. Use macro in
26659 place of isync.
26660 (clear_once_control): Add release barrier.
26661
b87c4b24
JM
266622012-09-25 Joseph Myers <joseph@codesourcery.com>
26663
d032e0d2
JM
26664 [BZ #13629]
26665 * math/s_clog.c (__clog): Handle more values close to |z| = 1
26666 specially.
26667 * math/s_clog10.c (__clog10): Likewise.
26668 * math/s_clog10f.c (__clog10f): Likewise.
26669 * math/s_clog10l.c (__clog10l): Likewise.
26670 * math/s_clogf.c (__clogf): Likewise.
26671 * math/s_clogl.c (__clogl): Likewise.
26672 * math/Makefile (libm-calls): Add x2y2m1.
26673 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
26674 (__x2y2m1): Likewise.
26675 (__x2y2m1l): Likewise.
26676 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
26677 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
26678 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
26679 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26680 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
26681 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
26682 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
26683 * sysdeps/i386/fpu/libm-test-ulps: Update.
26684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26685
b87c4b24
JM
26686 [BZ #14621]
26687 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
26688 int as type of variable DEPTH.
26689 (glob): Use size_t instead of int as type of variables NEWCOUNT
26690 and OLD_PATHC.
26691
6d3bf199
LD
266922012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26693
22bf5c17
LD
26694 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26695 Add s_sincosf-sse2.
26696 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
26697 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
26698 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
26699 macros for using routine as __sincosf_ia32.
26700 Use macro for function declaration and weak_alias.
26701 * sysdeps/i386/fpu/libm-test-ulps: Update.
26702
26703 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
26704 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26705
26706 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
26707 subnormal argument.
26708 * math/s_cexpf.c (__cexpf): Likewise.
26709 * math/s_csinf.c (__csinf): Likewise.
26710 * math/s_csinhf.c (__csinhf): Likewise.
26711 * math/s_ctanf.c (__ctanf): Likewise.
26712 * math/s_ctanhf.c (__ctanhf): Likewise.
26713 * math/s_ccosh.c (__ccoshf): Likewise.
26714 * math/s_cexp.c (__cexpl): Likewise.
26715 * math/s_csin.c (__csin): Likewise.
26716 * math/s_csinh.c (__csinh): Likewise.
26717 * math/s_ctan.c (__ctan): Likewise.
26718 * math/s_ctanh.c (ctanh): Likewise.
26719 * math/s_ccoshl.c (__ccoshl): Likewise.
26720 * math/s_cexpl.c (__cexpl): Likewise.
26721 * math/s_csinl.c (__csinl): Likewise.
26722 * math/s_csinhl.c (__csinhl): Likewise.
26723 * math/s_ctanl.c (__ctanl): Likewise.
26724 * math/s_ctanhl.c (__ctanhl): Likewise.
26725
203e5603
JM
267262012-09-25 Joseph Myers <joseph@codesourcery.com>
26727
26728 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
26729 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
26730 (_IO_off_t): Define to __off_t, not _G_off_t.
26731 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
26732 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
26733 (_IO_wint_t): Define to wint_t, not _G_wint_t.
26734 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
26735 type of __dummy and __dummy2 fields.
26736 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
26737 (_G_ssize_t): Likewise.
26738 (_G_off_t): Likewise.
26739 (_G_pid_t): Likewise.
26740 (_G_uid_t): Likewise.
26741 (_G_wchar_t): Likewise.
26742 (_G_wint_t): Likewise.
26743 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
26744 (_G_ssize_t): Likewise.
26745 (_G_off_t): Likewise.
26746 (_G_pid_t): Likewise.
26747 (_G_uid_t): Likewise.
26748 (_G_wchar_t): Likewise.
26749 (_G_wint_t): Likewise.
26750 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
26751 (_G_ssize_t): Likewise.
26752 (_G_off_t): Likewise.
26753 (_G_pid_t): Likewise.
26754 (_G_uid_t): Likewise.
26755 (_G_wchar_t): Likewise.
26756 (_G_wint_t): Likewise.
26757
9fab36eb
SP
267582012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26759
26760 * malloc/arena.c: Include malloc-sysdep.h.
26761 (shrink_heap): Use check_may_shrink_heap to decide if madvise
26762 is sufficient to shrink the heap or an unmap is needed.
26763 * sysdeps/generic/malloc-sysdep.h: New file. Define
26764 new function check_may_shrink_heap.
26765 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
26766 new function check_may_shrink_heap.
26767
2b4f00d1
SP
267682012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26769
26770 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
26771 comments.
26772
9a9028b1
DL
267732012-09-24 Dmitry V. Levin <ldv@altlinux.org>
26774
57c69bef
DL
26775 * catgets/test-gencat.sh: Add "set -e".
26776 * elf/tst-pathopt.sh: Likewise.
26777 * grp/tst_fgetgrent.sh: Likewise.
26778 * iconvdata/run-iconv-test.sh: Likewise.
26779 * intl/tst-gettext.sh: Likewise.
26780 * intl/tst-gettext2.sh: Likewise.
26781 * intl/tst-gettext4.sh: Likewise.
26782 * intl/tst-gettext6.sh: Likewise.
26783 * intl/tst-translit.sh: Likewise.
26784 * io/ftwtest-sh: Likewise.
26785 * libio/test-freopen.sh: Likewise.
26786 * malloc/tst-mtrace.sh: Likewise.
26787 * posix/globtest.sh: Likewise.
26788 * posix/tst-getconf.sh: Likewise.
26789 * posix/wordexp-tst.sh: Likewise.
26790 * stdio-common/tst-printf.sh: Likewise.
26791 * stdio-common/tst-unbputc.sh: Likewise.
26792 * stdlib/tst-fmtmsg.sh: Likewise.
26793 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26794 * catgets/Makefile: Do not specify -e option when running
26795 testsuite shell scripts.
26796 * elf/Makefile: Likewise.
26797 * grp/Makefile: Likewise.
26798 * iconvdata/Makefile: Likewise.
26799 * intl/Makefile: Likewise.
26800 * io/Makefile: Likewise.
26801 * libio/Makefile: Likewise.
26802 * malloc/Makefile: Likewise.
26803 * posix/Makefile: Likewise.
26804 * stdio-common/Makefile: Likewise.
26805 * stdlib/Makefile: Likewise.
26806 * sysdeps/x86_64/Makefile: Likewise.
26807
9a9028b1
DL
26808 * io/ftwtest-sh: Add copyright header.
26809 * posix/globtest.sh: Likewise.
26810 * posix/tst-getconf.sh: Likewise.
26811 * posix/wordexp-tst.sh: Likewise.
26812 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26813
ced6f16e
L
268142012-09-24 H.J. Lu <hongjiu.lu@intel.com>
26815
94b32c39
L
26816 [BZ #13679]
26817 * Makeconfig (+link): Defined as $(+link-static) if
26818 $(build-shared) isn't yes.
26819 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
26820 isn't yes.
26821 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
26822
189e935b
L
26823 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
26824
ced6f16e
L
26825 [BZ #14562]
26826 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
26827 new chunk size with MALLOC_ALIGN_MASK.
26828
a9f8e53a
JM
268292012-09-24 Joseph Myers <joseph@codesourcery.com>
26830
26831 [BZ #5044]
26832 * stdio-common/printf_fphex.c: Include <stdbool.h> and
26833 <rounding-mode.h>.
26834 (__printf_fphex): Determine rounding using get_rounding_mode and
26835 round_away.
26836 * stdio-common/tst-printf-round.c (struct hex_test): New
26837 structure.
26838 (hex_tests): New variable.
26839 (test_hex_in_one_mode): New function.
26840 (do_test): Also run tests for hex float output.
26841
43153109
JM
268422012-09-21 Joseph Myers <joseph@codesourcery.com>
26843
26844 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26845 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26846 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
26847 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26848 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26849 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
26850 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26851 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26852
8a26625d
JM
268532012-09-20 Joseph Myers <joseph@codesourcery.com>
26854
26855 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
26856 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
26857 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
26858 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
26859
f3fd569c
DL
268602012-09-19 Dmitry V. Levin <ldv@altlinux.org>
26861
26862 [BZ #14579]
26863 * elf/rtld.c (dl_main): Limit the check for self loading to normal
26864 mode only.
26865 * elf/tst-rtld-load-self.sh: New test.
26866 * elf/Makefile: Run it.
26867
63bbedd4
JM
268682012-09-18 Joseph Myers <joseph@codesourcery.com>
26869
26870 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
26871 (tst-writev-ENV): Remove.
26872 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
26873
626f8b6a
CM
268742012-09-17 Chris Metcalf <cmetcalf@tilera.com>
26875
26876 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
26877
b7aaa4d6
JM
268782012-09-17 Joseph Myers <joseph@codesourcery.com>
26879
26880 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
26881 unconditional.
26882 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
26883 Likewise.
26884 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
26885 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
26886 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
26887 Likewise.
26888
65513990
L
268892012-09-14 H.J. Lu <hongjiu.lu@intel.com>
26890
26891 [BZ #14587]
26892 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
26893 * config.make.in (have-cpp-asm-debuginfo): Removed.
26894 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
26895 * configure: Regenerated.
26896
784761be
JM
268972012-09-14 Joseph Myers <joseph@codesourcery.com>
26898
26899 [BZ #5044]
26900 * stdio-common/printf_fp.c: Include <stdbool.h> and
26901 <rounding-mode.h>.
26902 (___printf_fp): Determine rounding using get_rounding_mode and
26903 round_away.
26904 * stdio-common/tst-printf-round.c: New file.
26905 * stdio-common/Makefile (tests): Add tst-printf-round.
26906 (link-libm): New variable.
26907 ($(objpfx)tst-printf-round): Depend in $(link-libm).
26908
9503345f
L
269092012-09-13 H.J. Lu <hongjiu.lu@intel.com>
26910
26911 [BZ #14576]
26912 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
26913 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
26914 Likewise.
26915 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
26916 Likewise.
26917
ad35fc00
JM
269182012-09-13 Joseph Myers <joseph@codesourcery.com>
26919
26920 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
26921 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26922 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26923 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26924
6c9b0f68
JM
269252012-09-12 Joseph Myers <joseph@codesourcery.com>
26926
26927 [BZ #14518]
26928 * include/rounding-mode.h: New file.
26929 * sysdeps/generic/get-rounding-mode.h: Likewise.
26930 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
26931 * stdlib/strtod_l.c: Include <rounding-mode.h>.
26932 (MAX_VALUE): New macro.
26933 (MIN_VALUE): Likewise.
26934 (overflow_value): New function.
26935 (underflow_value): Likewise.
26936 (round_and_return): Use overflow_value and underflow_value to
26937 determine return values in overflow and underflow cases. Use
26938 round_away to determine rounding depending on rounding mode.
26939 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
26940 determine return values in overflow and underflow cases.
26941 * stdlib/tst-strtod-round.c: Include <fenv.h>.
26942 (struct test_results): New structure.
26943 (struct test): Use struct test_results to store expected results
26944 for all rounding modes.
26945 (TEST): Include expected results for all rounding modes.
26946 (test_in_one_mode): New function.
26947 (do_test): Use test_in_one_mode to compute and check results.
26948 Check results for all rounding modes.
26949 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
26950 $(link-libm).
26951
19fcedd5
AM
269522012-12-09 Allan McRae <allan@archlinux.org>
26953
1e9d84cd 26954 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 26955
8bbfd2f1
JM
269562012-09-11 Joseph Myers <joseph@codesourcery.com>
26957
26958 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
26959 (_G_int32_t): Likewise.
26960 (_G_uint16_t): Likewise.
26961 (_G_uint32_t): Likewise.
26962 (_G_HAVE_BOOL): Likewise.
26963 (_G_HAVE_ATEXIT): Likewise.
26964 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26965 (_G_HAVE_IO_FILE_OPEN): Likewise.
26966 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
26967 (_G_int32_t): Likewise.
26968 (_G_uint16_t): Likewise.
26969 (_G_uint32_t): Likewise.
26970 (_G_HAVE_BOOL): Likewise.
26971 (_G_HAVE_ATEXIT): Likewise.
26972 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26973 (_G_HAVE_IO_FILE_OPEN): Likewise.
26974 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
26975 (_G_int32_t): Likewise.
26976 (_G_uint16_t): Likewise.
26977 (_G_uint32_t): Likewise.
26978 (_G_HAVE_BOOL): Likewise.
26979 (_G_HAVE_ATEXIT): Likewise.
26980 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26981 (_G_HAVE_IO_FILE_OPEN): Likewise.
26982
b1dc5912
L
269832012-09-11 H.J. Lu <hongjiu.lu@intel.com>
26984
26985 * csu/libc-tls.c: Update copyright years.
26986
0e886ef9
JM
269872012-09-10 Joseph Myers <joseph@codesourcery.com>
26988
28361c5e
JM
26989 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
26990 [!_G_USING_THUNKS]: Remove conditional code.
26991 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
26992 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
26993
0e886ef9
JM
26994 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
26995 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
26996 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26997 (_G_VTABLE_LABEL_PREFIX): Likewise.
26998 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26999 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27000 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27001 (_G_VTABLE_LABEL_PREFIX): Likewise.
27002 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27003 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27004 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27005 (_G_VTABLE_LABEL_PREFIX): Likewise.
27006 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27007
bcba7aa2
L
270082012-09-10 H.J. Lu <hongjiu.lu@intel.com>
27009
27010 * libio/Makefile: Include ../Makeconfig before tests.
27011 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27012 only if $(build-shared) is yes.
27013
06585ee8
L
27014 * iconv/gconv_db.c: Update copyright years.
27015
80ccd52c
LD
270162012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27017
27018 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27019 unwind info if defined PIC. Fix special cases description.
27020 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27021
27022 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27023 DP_HI_MASK entry.
27024 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27025
691bc9c1
L
270262012-09-07 H.J. Lu <hongjiu.lu@intel.com>
27027
3d9b46b3
L
27028 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27029
de2139a9
L
27030 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27031 is NULL.
27032
5ca78dd0
L
27033 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27034 (LDLIBS-tst-chk4): This.
27035 (LDFLAGS-tst-chk5): Renamed to ...
27036 (LDLIBS-tst-chk5): This.
27037 (LDFLAGS-tst-chk6): Renamed to ...
27038 (LDLIBS-tst-chk6): This.
27039 (LDFLAGS-tst-lfschk4): Renamed to ...
27040 (LDLIBS-tst-lfschk4): This.
27041 (LDFLAGS-tst-lfschk5): Renamed to ...
27042 (LDLIBS-tst-lfschk5): This.
27043 (LDFLAGS-tst-lfschk6): Renamed to ...
27044 (LDLIBS-tst-lfschk6): This.
27045
691bc9c1
L
27046 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27047 on $(common-objpfx)soversions.mk.
27048
65cafb1c
JM
270492012-09-07 Joseph Myers <joseph@codesourcery.com>
27050
27051 [BZ #10014]
27052 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27053 example host name.
27054
c78ab094
SP
270552012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27056
27057 * malloc/arena.c (arena_get_retry): New function that gets
27058 another arena for the caller to try its request on.
27059 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27060 current arena cannot fulfill the request.
27061 (__libc_memalign): Likewise.
27062 (__libc_memalign): Likewise.
27063 (__libc_pvalloc): Likewise.
27064 (__libc_calloc): Likewise.
27065
01f49f59
JT
270662012-09-05 John Tobey <john.tobey@gmail.com>
27067
27068 [BZ #13542]
27069 * manual/arith.texi (Operations on Complex): Fix description
27070 of carg branch cut.
27071
4c23fed5
JM
270722012-09-06 Joseph Myers <joseph@codesourcery.com>
27073
1d3c8572
JM
27074 [BZ #10014]
27075 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27076 host name.
27077
4c23fed5
JM
27078 [BZ #10038]
27079 * manual/memory.texi (Memory): Make order of menu items match
27080 order of sections.
27081
04570aaa
L
270822012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27083
27084 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27085 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
27086 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27087
b80af2f4
L
270882012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27089
27090 * csu/libc-tls.c (static_dtv): Renamed to ...
27091 (_dl_static_dtv): This. Make it global.
27092 (_dl_initial_dtv): Removed.
27093 (__libc_setup_tls): Updated.
27094 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27095 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27096 DL_INITIAL_DTV.
27097
2abe9f15
PM
270982012-09-06 Petr Machata <pmachata@redhat.com>
27099
27100 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27101 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27102 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27103 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27104
0948c3af
L
271052012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27106
27107 [BZ #14545]
27108 * csu/libc-tls.c (_dl_initial_dtv): New variable.
27109 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27110 freeing dtv[-1].
27111
a5055ad1
L
271122012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27113
27114 [BZ #14544]
27115 * Makeconfig (link-static-before-libc): Replace $(+prector)
27116 with $(+prectorT).
27117 (link-static-after-libc): Replace $(+postctor) with
27118 $(+postctorT).
27119 (link-bounded): Replace $(+prector)/$(+postctor) with
27120 $(+prectorT)/$(+postctorT).
27121 (+prectorT): New macro.
27122 (+postctorT): Likewise.
27123
ed8c2ecd
JM
271242012-09-06 Joseph Myers <joseph@codesourcery.com>
27125
27126 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27127 (round_str): Handle values above the maximum for IBM long double
27128 as inexact.
27129 * stdlib/tst-strtod-round.c (tests): Regenerated.
27130
14c996c8
AK
271312012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27132
27133 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27134 assembler flag.
27135 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27136 zarch_nohighgprs around the zarch optimized routines.
27137 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27138 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27139 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27140 for zarch.
27141
430d6ce6
DM
271422012-09-05 David S. Miller <davem@davemloft.net>
27143
27144 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27145
57f41c40
AS
27146 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27147 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
27148 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27149 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27150 entries.
27151
24d4e01b
AO
271522012-09-05 Alexandre Oliva <aoliva@redhat.com>
27153
27154 * malloc/arena.c: Fold copyright years.
27155 * malloc/mcheck.c, malloc/memusage.c: Likewise.
27156
61d58174
AO
271572012-09-05 Alexandre Oliva <aoliva@redhat.com>
27158
27159 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27160
20196a5e
AO
271612012-09-05 Alexandre Oliva <aoliva@redhat.com>
27162
27163 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
27164
5c447383
AO
271652012-09-05 Alexandre Oliva <aoliva@redhat.com>
27166
27167 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27168 change internal state upon failure.
27169
fad64255
AO
271702012-09-05 Alexandre Oliva <aoliva@redhat.com>
27171
27172 * malloc/mcheck.c (mcheck_check_all): Fix typo.
27173 * malloc/memusage.c (mmap): Likewise.
27174 (mmap64, mremap): Likewise. Adjust name in comment.
27175
1ffb8c90
SP
271762012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27177
27178 * libio/fileops.c: Fix typos in comments.
27179 * libio/oldfileops.c: Likewise.
27180 * libio/wfileops.c: Likewise.
27181
6ef9cc37
SP
271822012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27183
27184 [BZ #1349]
27185 * malloc/Makefile (tests): Add tst-malloc-usable test case.
27186 (tst-malloc-usable-ENV): Set environment for test case.
27187 * malloc/hooks.c (malloc_check_get_size): New function to get
27188 requested size.
27189 * malloc/malloc.c (musable): Use malloc_check_get_size.
27190 * malloc/tst-malloc-usable.c: New test case.
27191
4d038ae3
AS
271922012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27193
27194 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27195
c4e85184
AM
271962012-09-05 Allan McRae <allan@archlinux.org>
27197
b9dafc56 27198 [BZ #13966]
c4e85184
AM
27199 * configure.in (CXX_SYSINCLUDES): Use compiler output to
27200 determine header location.
27201 * configure: Regenerated.
27202
e1343020
AS
272032012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27204
27205 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27206 float format.
27207 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
27208 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27209 format.
e1343020
AS
27210 (test): Regenerate.
27211
0a9f1987
DM
272122012-09-04 David S. Miller <davem@davemloft.net>
27213
27214 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27215 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27216 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27217
29237804
FW
272182012-09-04 Florian Weimer <fweimer@redhat.com>
27219
27220 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27221 failures.
27222
edb3cb88
FW
27223 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27224
60160d83
JM
272252012-09-04 Joseph Myers <joseph@codesourcery.com>
27226
27227 [BZ #9914]
27228 * libio/iogetdelim.c: Include <limits.h>.
27229 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27230 + len + 1 would overflow.
27231
bcd6c8dc
AJ
272322012-09-03 Andreas Jaeger <aj@suse.de>
27233
27234 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27235 * sysdeps/i386/fpu/libm-test-ulps: Update.
27236
4ffffbd2
LD
272372012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27238
27239 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27240 Add s_sinf-sse2, s_conf-sse2.
27241
27242 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27243 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27244 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27245 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27246
27247 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27248 for using routine as __sinf_ia32.
27249 Use macro for function declaration and weak_alias.
27250 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27251 for using routine as __cosf_ia32.
27252 Use macro for function declaration and weak_alias.
27253
27254 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27255 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27256
27257 * sysdeps/x86_64/fpu/s_sinf.S: New file.
27258 * sysdeps/x86_64/fpu/s_cosf.S: New file.
27259 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27260
27261 * math/libm-test.inc (cos_test): Add more test cases.
27262 (sin_test): Likewise.
27263 (sincos_test): Likewise.
27264
511fa286
AK
272652012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27266
27267 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27268 (IFUNC_RESOLVE): Make pointers to the specialized implementations
27269 hidden.
27270 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27271
5f30cfec
L
272722012-09-02 H.J. Lu <hongjiu.lu@intel.com>
27273
27274 [BZ #14538]
27275 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27276 first element of the GOT.
27277 (elf_machine_load_address): Return the difference between
27278 the runtime address of _DYNAMIC and elf_machine_dynamic ().
27279
0786794f
AM
272802012-09-01 Allan McRae <allan@archlinux.org>
27281
5f30cfec
L
27282 [BZ #13412]
27283 * configure.in (AWK): Require gawk version 3.0 or later.
27284 * configure: Regenerated.
0786794f 27285
26889eac
JM
272862012-09-01 Joseph Myers <joseph@codesourcery.com>
27287
27288 * sysdeps/unix/sysv/linux/kernel-features.h
27289 (__ASSUME_POSIX_CPU_TIMERS): Remove.
27290 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27291 [__NR_clock_getres]: Make code unconditional.
27292 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27293 (clock_getcpuclockid): Remove code left unreachable by removal of
27294 conditionals.
27295 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27296 code unconditional.
27297 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27298 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27299 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27300 Make code unconditional.
27301 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27302 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27303 * sysdeps/unix/sysv/linux/clock_settime.c
27304 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27305 conditional code.
27306 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27307 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27308
d22e28b0
L
273092012-08-29 H.J. Lu <hongjiu.lu@intel.com>
27310
27311 [BZ #14476]
27312 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27313 scripts/test-installation.pl.
27314
27315 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27316 and $ld_so_version if it is set.
27317
050af9c4
SP
273182012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27319
27320 [BZ #14516]
27321 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27322 failure if reading from procfs failed.
27323 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27324
ad845c0b
JM
273252012-08-27 Joseph Myers <joseph@codesourcery.com>
27326
27327 * sysdeps/unix/sysv/linux/kernel-features.h
27328 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27329 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27330 Remove conditional code.
27331 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27332 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27333 Remove conditional code.
27334 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27335 * sysdeps/unix/sysv/linux/i386/fxstat.c
27336 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27337 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27338 * sysdeps/unix/sysv/linux/i386/fxstatat.c
27339 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27340 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27341 * sysdeps/unix/sysv/linux/i386/lxstat.c
27342 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27343 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27344 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27345 Remove conditional code.
27346 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27347 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27348 Remove conditional code.
27349 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27350 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27351 <kernel-features.h>.
27352 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27353 Remove.
27354 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27355 Remove conditional code.
27356 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27357 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27358 Remove conditional.
27359
5dbf56af
MF
273602012-08-27 Mike Frysinger <vapier@gentoo.org>
27361
27362 [BZ #5400]
27363 * NEWS: Add fixed bug number.
27364
d6e70f43
JM
273652012-08-27 Joseph Myers <joseph@codesourcery.com>
27366
7efb4737
JM
27367 [BZ #14519]
27368 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27369 underflowing exponent in case of negative sign.
27370 * stdlib/tst-strtod-round-data: Add more tests.
27371 * stdlib/tst-strtod-round.c (tests): Regenerated.
27372
af92131a
JM
27373 [BZ #3479]
27374 * stdlib/strtod_l.c (NDIG): Remove.
27375 (HEXNDIG): Likewise.
27376 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27377 smallest representable value.
27378 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27379 lie within an exact representation of 1/2 ulp of the result.
27380 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27381 unconditionally.
27382 (TENS_P9_IDX): Define unconditionally.
27383 (TENS_P9_SIZE): Likewise.
27384 (TENS_P10_IDX): Likewise.
27385 (TENS_P10_SIZE): Likewise.
27386 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27387 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27388 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27389 entries for 10^2^13 and 10^2^14.
27390 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27391 (TENS_P13_IDX): Define.
27392 (TENS_P13_SIZE): Likewise.
27393 (TENS_P14_IDX): Likewise.
27394 (TENS_P14_SIZE): Likewise.
27395 (_fpioconst_pow10): Change array size to
27396 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
27397 unconditional.
27398 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27399 1024]: Add entries for 10^2^13 and 10^2^14.
27400 [LAST_POW10 > _LAST_POW10]: Remove #error.
27401 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27402 (_fpioconst_pow10): Change array size to
27403 FPIOCONST_POW10_ARRAY_SIZE.
27404 * stdlib/gen-fpioconst.c: New file.
27405 * stdlib/gen-tst-strtod-round.c: Likewise.
27406 * stdlib/tst-strtod-round-data: Likewise.
27407 * stdlib/tst-strtod-round.c: Likewise.
27408 * stdlib/Makefile (tests): Add tst-strtod-round.
27409
d6e70f43
JM
27410 [BZ #14459]
27411 * stdlib/strtod_l.c: Include <stdint.h>.
27412 (NDEBUG): Do not define.
27413 (round_and_return): Change EXPONENT parameter to type intmax_t.
27414 Rearrange calculations to avoid internal overflow possibilities.
27415 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27416 Rearrange calculations to avoid internal overflow possibilities.
27417 Assert that number fits inside MPNSIZE limbs.
27418 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27419 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
27420 calculations and add assertions to avoid internal overflow
27421 possibilities. Add casts to avoid signed/unsigned operations.
27422 * stdlib/tst-strtod-overflow.c: New file.
27423 * stdlib/Makefile (tests): Add tst-strtod-overflow.
27424
1f529f7d
MP
274252012-08-25 Marek Polacek <polacek@redhat.com>
27426
27427 * time/time.h: Fix some typos in comments.
27428
59a629f1
RM
274292012-08-23 Roland McGrath <roland@hack.frob.com>
27430
27431 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27432 * posix/tst-rfc3484-2.c: Likewise.
27433 * posix/tst-rfc3484-3.c: Likewise.
27434
d3bafbc9
SM
274352012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
27436
27437 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27438 (EF_ARM_ABI_FLOAT_HARD): Likewise.
27439
4efcc022
JM
274402012-08-23 Joseph Myers <joseph@codesourcery.com>
27441
27442 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27443 #include of fxstatat64.c.
27444
3cc3ef96
RM
274452012-08-22 Roland McGrath <roland@hack.frob.com>
27446
f04e2132
RM
27447 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27448 * shadow/getspent_r.c: Likewise.
27449 * shadow/getspnam.c: Likewise.
27450 * shadow/getspnam_r.c: Likewise.
27451 * gshadow/getsgent.c: Likewise.
27452 * gshadow/getsgent_r.c: Likewise.
27453 * gshadow/getsgnam.c: Likewise.
27454 * gshadow/getsgnam_r.c: Likewise.
27455 * inet/getnetbyad.c: Likewise.
27456 * inet/getnetbyad_r.c: Likewise.
27457 * inet/getnetbynm.c: Likewise.
27458 * inet/getnetbynm_r.c: Likewise.
27459 * inet/getnetent.c: Likewise.
27460 * inet/getnetent_r.c: Likewise.
27461 * inet/getproto.c: Likewise.
27462 * inet/getproto_r.c: Likewise.
27463 * inet/getprtent.c: Likewise.
27464 * inet/getprtent_r.c: Likewise.
27465 * inet/getprtname.c: Likewise.
27466 * inet/getprtname_r.c: Likewise.
27467 * inet/getrpcbyname.c: Likewise.
27468 * inet/getrpcbyname_r.c: Likewise.
27469 * inet/getrpcbynumber.c: Likewise.
27470 * inet/getrpcbynumber_r.c: Likewise.
27471 * inet/getrpcent.c: Likewise.
27472 * inet/getrpcent_r.c: Likewise.
27473 * inet/getaliasent.c: Likewise.
27474 * inet/getaliasent_r.c: Likewise.
27475 * inet/getaliasname.c: Likewise.
27476 * inet/getaliasname_r.c: Likewise.
27477 * nscd/getgrgid_r.c: Likewise.
27478 * nscd/getgrnam_r.c: Likewise.
27479 * nscd/gethstbyad_r.c: Likewise.
27480 * nscd/gethstbynm3_r.c: Likewise.
27481 * nscd/getpwnam_r.c: Likewise.
27482 * nscd/getpwuid_r.c: Likewise.
27483 * nscd/getsrvbynm_r.c: Likewise.
27484 * nscd/getsrvbypt_r.c: Likewise.
27485 * nscd/gai.c: Likewise.
27486
c53d909c
RM
27487 * configure.in (build_nscd): New substituted variable, set
27488 by --disable-build-nscd and defaults to $use_nscd.
27489 * configure: Regenerated.
27490 * config.make.in (build-nscd): New substituted variable.
27491 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27492 Change conditional to require [$(build-nscd) = yes] as well.
27493 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27494
3cc3ef96
RM
27495 [BZ# 13696]
27496 * configure.in (use_nscd): New substituted variable, set by
27497 --disable-nscd. If enabled, define USE_NSCD.
27498 * configure: Regenerated.
27499 * config.h.in: Add USE_NSCD.
27500 * config.make.in (use-nscd): New substituted variable.
27501 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
27502 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
27503 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
27504 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
27505 (CFLAGS-getgrnam_r.c): Likewise.
27506 (CFLAGS-initgroups.c): Likewise.
27507 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
27508 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
27509 Variables removed.
27510 * inet/getnetgrent_r.c
27511 (nscd_setnetgrent): New function, broken out of ...
27512 (setnetgrent): ... here. Call it.
27513 (innetgr): Conditionalize nscd bits on [USE_NSCD].
27514 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
27515 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
27516 * nscd/Makefile (routines, aux): Move definitions after include of
27517 Makeconfig. Conditionalize on [$(use-nscd) != no].
27518 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
27519 Conditionalize on [USE_NSCD].
27520 (is_nscd, nscd_init_cb): Likewise.
27521 (nss_load_library): Conditionalize init callback on [USE_NSCD].
27522 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
27523 * nss/nss_db/db-init.c: Likewise.
27524 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
27525 [USE_NSCD].
27526 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
27527 (make_request): Use it.
27528 (cache_valid_p): New function.
27529 (__check_pf): Use it.
27530 * NEWS: Add item for --disable-nscd.
27531
07e51550
DL
275322012-08-22 Dmitry V. Levin <ldv@altlinux.org>
27533
27534 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
27535 to support sed >= 4.2.1-20-ga9bf076.
27536 * configure: Regenerated.
27537
35a5b08b
RM
275382012-08-22 Roland McGrath <roland@hack.frob.com>
27539
27540 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
27541 Conditionalize whole body on [IREL].
27542
8479f23a
JL
275432012-08-22 Jeff Law <law@redhat.com>
27544
27545 [BZ #14505]
27546 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
27547 if the family is PF_UNSPEC.
27548
48da0b21
MF
275492012-08-22 Mike Frysinger <vapier@gentoo.org>
27550
27551 * Makerules (lib-version): Rename from V.
27552 (install-lib-nosubdir): Change V to lib-version.
27553
15d0da8c
WS
275542012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
27555
27556 [BZ #14252]
27557 * powerpc32/power6/wcschr.c: New file.
27558 * powerpc32/power6/wcscpy.c: New file.
27559 * powerpc32/power6/wcsrchr.c: New file.
27560 * powerpc64/power6/wcschr.c: New file.
27561 * powerpc64/power6/wcscpy.c: New file.
27562 * powerpc64/power6/wcsrchr.c: New file.
27563
bcca0895
MK
275642012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27565
27566 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
27567 (two_way_short_needle): Use it.
5a4aaa33
RM
27568 * string/strstr.c (AVAILABLE1_USES_J): Define.
27569 * string/strcasestr.c: Likewise.
99677e57
MK
27570
27571 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
27572 array references.
27573 * string/strcasestr.c (TOLOWER): Make side-effect safe.
27574
400726de
MK
27575 [BZ #11607]
27576 * NEWS: Add an entry.
27577 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
27578 define their defaults.
27579 (two_way_short_needle): Detect end-of-string on-the-fly.
27580 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
27581 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
27582 * string/bug-strcasestr1.c: New test.
27583 * string/Makefile: Run it.
27584
20a71f2c
MK
275852012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27586
27587 [BZ #11607]
27588 * string/str-two-way.h (two_way_short_needle): Optimize matching of
27589 the first character.
27590
21ad0558
RM
275912012-08-21 Roland McGrath <roland@hack.frob.com>
27592
27593 * csu/elf-init.c (__libc_csu_irel): Function removed.
27594 * csu/libc-start.c (apply_irel): New function.
27595 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
27596
0e1d9911
JM
275972012-08-21 Joseph Myers <joseph@codesourcery.com>
27598
27599 * sysdeps/unix/sysv/linux/kernel-features.h
27600 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
27601 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27602 <kernel-features.h>.
27603 [__NR_fadvise64_64]: Make code unconditional.
27604 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
27605 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27606 !__NR_fadvise64_64)]: Likewise.
27607 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27608 !__NR_fadvise64_64))]: Likewise.
27609 [__NR_fadvise64]: Make code unconditional.
27610 [!__NR_fadvise64]: Remove conditional code.
27611 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
27612 <kernel-features.h>.
27613 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27614 unconditional.
27615 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27616 conditional code.
27617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
27618 not include <kernel-features.h>.
27619 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27620 unconditional.
27621 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27622 conditional code.
27623 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
27624 include <kernel-features.h>.
27625 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27626 unconditional.
27627 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27628 conditional code.
27629
14a50c9d
WS
276302012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27631
27632 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
27633 slight instruction rearrangements per scrollpipe analysis.
27634 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27635
c0f4faf0
RM
276362012-08-20 Roland McGrath <roland@hack.frob.com>
27637
696da859
RM
27638 * manual/syslog.texi (syslog; vsyslog, closelog):
27639 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
27640 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
27641
c0f4faf0
RM
27642 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
27643 DSOCAPS to match condition on defining it.
27644
348363b2
JM
276452012-08-20 Joseph Myers <joseph@codesourcery.com>
27646
a35cbf28
JM
27647 * sysdeps/unix/sysv/linux/kernel-features.h
27648 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
27649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
27650 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27651 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
27653 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27654 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
27656 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27657 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27658
445f7ecd
JM
27659 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
27660 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
27661
348363b2
JM
27662 * sysdeps/unix/sysv/linux/kernel-features.h
27663 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
27664 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
27665 unconditional.
27666 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27667 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
27668 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27669 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27670 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
27671 Make code unconditional.
27672 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27673 (__mmap64) [!__NR_mmap2]: Likewise.
27674 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
27675 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27676 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27677 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
27678 [__NR_mmap2]: Make code unconditional.
27679 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27680 (__mmap64) [!__NR_mmap2]: Likewise.
27681
bc5bc0e5
AK
276822012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27683
27684 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
27685
88d506de
AJ
276862012-08-18 Andreas Jaeger <aj@suse.de>
27687
27688 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
27689
493387d2
MF
276902012-08-18 Mike Frysinger <vapier@gentoo.org>
27691
27692 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
27693 * include/unistd.h (__have_sock_cloexec): Likewise.
27694 (__have_pipe2): Likewise.
27695 (__have_dup3): Likewise.
27696
a277af22
MF
276972012-08-18 Mike Frysinger <vapier@gentoo.org>
27698
27699 [BZ #9685]
27700 * include/unistd.h (__have_pipe2): Change define into an extern int.
27701 (__have_dup3): Likewise.
27702 * socket/have_sock_cloexec.c: Include fcntl.h.
27703 (__have_pipe2): New variable.
27704 (__have_dup3): Likewise.
27705
fdab8fd3
MF
277062012-08-17 Mike Frysinger <vapier@gentoo.org>
27707
27708 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
27709
31035e80
MP
277102012-08-17 Marek Polacek <polacek@redhat.com>
27711
27712 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
27713 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
27714
3bd9e993
RM
277152012-08-17 Roland McGrath <roland@hack.frob.com>
27716
c91c505f
RM
27717 * configure.in: Add AC_SUBST for sysheaders.
27718 * configure: Regenerated.
27719 * config.make.in (sysheaders): New substituted variable.
27720
7c6f9d53
RM
27721 * sysdeps/unix/mkfifo.c: Moved ...
27722 * sysdeps/posix/mkfifo.c: ... here.
27723 * sysdeps/unix/mkfifoat.c: Moved ...
27724 * sysdeps/posix/mkfifoat.c: ... here.
27725
27726 * sysdeps/unix/utime.c: Moved ...
27727 * sysdeps/posix/utime.c: ... here.
27728
27729 * sysdeps/unix/time.c: Moved ...
27730 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
27731 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
27732 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
27733
27734 * sysdeps/unix/nice.c: Moved ...
27735 * sysdeps/posix/nice.c: ... here.
27736
27737 * sysdeps/unix/alarm.c: Moved ...
27738 * sysdeps/posix/alarm.c: ... here.
27739
3bd9e993
RM
27740 * intl/Makefile ($(codeset_mo)): Depend on the input file.
27741
d1f09384
JL
277422012-08-17 Jeff Law <law@redhat.com>
27743
27744 * intl/Makefile (codeset_mo): New variable.
27745 ($(codeset_mo)): New target.
27746 (tst-codeset.out): Depend on that. Remove explicit rule.
27747 (tst-gettext3.out, tst-gettext5.out): Likewise.
27748 (LOCPATH-ENV, tst-codeset-ENV): New variables.
27749 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
27750 * intl/tst-codeset.sh: Remove.
27751 * intl/tst-gettext3.sh: Likewise.
27752 * intl/tst-gettext5.sh: Likewise.
27753
2ae1ae5c
RM
277542012-08-17 Roland McGrath <roland@hack.frob.com>
27755
c31fdb83
RM
27756 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
27757 * sysdeps/unix/syscalls.list: ... here.
27758
a0844057
RM
27759 * sysdeps/posix/getaddrinfo.c
27760 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
27761 (gaiconf_init, gaiconf_reload): Use them.
27762 [!_STATBUF_ST_NSEC]
27763 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
27764 Define using time_t rather than struct timespec.
27765
750c1f2a
RM
27766 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
27767 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
27768 Macros removed.
27769 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
27770 [!NO_THREADS].
27771 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
27772 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
27773 Likewise.
27774
2ae1ae5c
RM
27775 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
27776 __libc_cleanup_push argument.
27777
e66a42f5
RM
27778 * bits/param.h: New file.
27779 * misc/sys/param.h: New file.
27780 * include/sys/param.h: New file.
27781 * misc/Makefile (headers): Add bits/param.h.
27782 * sysdeps/generic/sys/param.h: File removed.
27783 * sysdeps/unix/sysv/linux/bits/param.h: New file.
27784 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
27785 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 27786 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 27787
b7c08a66
RM
27788 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
27789 last change.
27790
b2e1c562
RM
27791 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
27792 [_IO_MTSAFE_IO].
27793 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
27794 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
27795 New macros.
27796
c75ccd4c
RM
27797 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
27798 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
27799 rather than -D_IO_MTSAFE_IO conditionally.
27800 * stdio-common/Makefile (CPPFLAGS): Likewise.
27801 * wcsmbs/Makefile (CPPFLAGS): Likewise.
27802 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
27803 Use $(libio-mtsafe).
27804 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
27805 of -D_IO_MTSAFE_IO.
27806 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
27807 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
27808 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
27809 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
27810 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
27811 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
27812 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
27813 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
27814 (CFLAGS-fread_u_chk.c): Likewise.
27815 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
27816 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
27817 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
27818 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
27819 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
27820 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
27821 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
27822 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
27823 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
27824
27825 * libio/Makefile: Test [$(libc-reentrant) = yes]
27826 instead of [$(filter %REENTRANT, $(defines)) nonempty].
27827
27828 * Makeconfig
27829 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
27830 * sysdeps/pthread/configure: File removed.
27831 * sysdeps/pthread/Makeconfig: New file.
27832 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
27833 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
27834
d9195db8
GB
278352012-08-16 Gary Benson <gbenson@redhat.com>
27836
27837 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
27838 unmapping the first object in a namespace.
27839
86466cd9
RM
278402012-08-16 Roland McGrath <roland@hack.frob.com>
27841
27842 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
27843 (__internal_setnetgrent): ... this. Add internal_function to
27844 definition. Add libc_hidden_def.
27845 (setnetgrent): Update caller.
27846 (internal_endnetgrent): Renamed to ...
27847 (__internal_endnetgrent): ... this. Add internal_function to
27848 definition. Add libc_hidden_def.
27849 (endnetgrent): Update caller.
27850 (internal_getnetgrent_r): Renamed to ...
27851 (__internal_getnetgrent_r): ... this. Add internal_function to
27852 definition. Add libc_hidden_def.
27853 (__getnetgrent_r): Update caller.
27854 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
27855
c3c8283c
JM
278562012-08-16 Joseph Myers <joseph@codesourcery.com>
27857
27858 * stdlib/longlong.h: Update from GCC.
27859
db1ee0a8
RM
278602012-08-16 Roland McGrath <roland@hack.frob.com>
27861
27862 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
27863 on _QL, which is set by umul_ppmm but never used.
27864 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
27865 variables, which are set by GMP macros but never used.
27866 * stdio-common/_itowa.c (_itowa): Likewise.
27867 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
27868 * stdlib/mod_1.c (mpn_mod_1): Likewise.
27869
30f69637
CD
278702012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
27871
27872 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
27873 struct La_sh_regs is not constant.
27874 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
27875 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
27876 and struct La_sparc64_regs are not constant.
27877
93a78ac4
JM
278782012-08-16 Joseph Myers <joseph@codesourcery.com>
27879
27880 * sysdeps/unix/sysv/linux/kernel-features.h
27881 (__ASSUME_POSIX_TIMERS): Remove.
27882 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27883 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27884 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
27885 Make code unconditional.
27886 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27887 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
27888 Make code unconditional.
27889 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27890 * sysdeps/unix/sysv/linux/clock_nanosleep.c
27891 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
27892 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27893 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
27894 Make code unconditional.
27895 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27896 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
27897 (__libc_missing_posix_timers): Remove.
27898
dd924cd7
RM
278992012-08-15 Roland McGrath <roland@hack.frob.com>
27900
4b4f2771
RM
27901 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
27902 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
27903
601c888b
RM
27904 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
27905
176790a7
RM
27906 * elf/dl-sym.c: Include <stdlib.h>.
27907
329bc018
RM
27908 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
27909 constants, which avoids warnings in 32-bit builds.
27910
e04e272d
RM
27911 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
27912 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
27913
952bf94a
RM
27914 * misc/lseek.c: File moved to ...
27915 * io/lseek.c: ... here.
27916
7c99b50a
RM
27917 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
27918
dd924cd7
RM
27919 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
27920 shifting LEN more than 31 bits at once.
27921
b3f479a8
LD
279222012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27923
27924 [BZ #14195]
8c4ae0d4
RM
27925 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
27926 segmentation fault for a case of two empty input strings.
b3f479a8
LD
27927 * string/test-strncasecmp.c (check1): Renamed to...
27928 (bz12205): ...this.
27929 (bz14195): Add new testcase for two empty input strings and N > 0.
27930 (test_main): Call new testcase, adapt for renamed function.
27931
9c55864e
AJ
279322012-08-15 Andreas Jaeger <aj@suse.de>
27933
27934 [BZ #14090]
27935 * crypt/md5test2.c: New test, based on test supplied by Serge
27936 Belyshev <belyshev@depni.sinp.msu.ru>.
27937 * crypt/Makefile (xtests): Add md5test-giant..
27938 * crypt/Makefile ($(objpfx)md5test-giant): Add.
27939
02dcb6c5
PE
279402012-08-15 Paul Eggert <eggert@cs.ucla.edu>
27941
27942 [BZ #14090]
27943 * crypt/md5.c (md5_process_block): Don't assume the buffer
27944 length is less than 2**32.
27945 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
27946 length is less than 2**64.
27947
a3f95dcc
RM
279482012-08-15 Roland McGrath <roland@hack.frob.com>
27949
be75d758
RM
27950 * string/str-two-way.h: Include <sys/param.h>.
27951 (MAX): Macro removed.
27952
7312ca90
RM
27953 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
27954 Move #define and #undef of memmove to just before and after
27955 including <string.h>.
27956
9a0a5486
RM
27957 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
27958 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
27959 and after including <string.h>. Move declarations of
27960 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
27961 to before #include "string/memmove.c".
27962
67cc348d
RM
27963 * include/dirent.h: Declare __getdirentries.
27964
a3f95dcc
RM
27965 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
27966 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
27967
ca98e171
MF
279682012-08-14 Mike Frysinger <vapier@gentoo.org>
27969
27970 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
27971 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
27972 * sysdeps/i386/configure: Regenerated.
27973 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
27974 STABS_CURRENT_FILE, and STABS_FUN.
27975 (END): Remove call to STABS_FUN_END.
27976 (STABS_CURRENT_FILE1): Delete.
27977 (STABS_CURRENT_FILE): Likewise.
27978 (STABS_FUN): Likewise.
27979 (STABS_FUN_END): Likewise.
27980 (STABS_FUN2): Likewise.
27981 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
27982 * sysdeps/x86_64/configure: Regenerated.
27983
5908bf46
RM
279842012-08-14 Roland McGrath <roland@hack.frob.com>
27985
27986 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 27987 * elf/dl-lookup.c: Likewise.
5908bf46 27988
f2c05b9e
JM
279892012-08-14 Joseph Myers <joseph@codesourcery.com>
27990
27991 * sysdeps/unix/sysv/linux/kernel-features.h
27992 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
27993 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
27994 unconditionally.
27995 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
27996 unconditionally.
27997 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
27998 condition on __ASSUME_CLONE_THREAD_FLAGS.
27999
e11f5155
AJ
280002012-08-14 Andreas Jaeger <aj@suse.de>
28001
28002 * sysdeps/i386/fpu/libm-test-ulps: Update.
28003
51a9ba86
MK
280042012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
28005
2fdd4f78
AJ
28006 * include/atomic.h (atomic_exchange_and_add): Split into ...
28007 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28008 New atomic macros.
51a9ba86 28009
ba6cba9e
MT
280102012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
28011
28012 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28013
42443a47
JL
280142012-08-13 Jeff Law <law@redhat.com>
28015
28016 * manual/stdio.texi (snprintf): Clarify handling of the trailing
28017 null byte in the output string.
28018
121dce05
JM
280192012-08-10 Joseph Myers <joseph@codesourcery.com>
28020
28021 * sysdeps/unix/sysv/linux/kernel-features.h
28022 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28023 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28024 (__ASSUME_ARG_MAX_STACK_BASED): Define.
28025 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28026 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28027 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
28028 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28029
bf51f568
JL
280302012-08-09 Jeff Law <law@redhat.com>
28031
28032 [BZ #13939]
28033 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28034 When avoid_arena is set, don't retry in the that arena. Pick the
28035 next one, whatever it might be.
28036 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28037 (arena_lock): Pass in new parameter to arena_get2.
28038 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28039 arena_get2.
28040 (__libc_malloc): Unify retrying after main arena failure with
28041 __libc_memalign version.
28042 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28043
f85fa270
L
280442012-08-09 H.J. Lu <hongjiu.lu@intel.com>
28045
28046 [BZ #14166]
28047 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28048 to __redirect_strstr.
28049 (__strstr_sse42): Use typeof __redirect_strstr.
28050 (__strstr_ia32): Likewise.
28051 (__libc_strstr): New prototype.
28052 (strstr): Renamed to ...
28053 (__libc_strstr): This.
28054 (strstr): New strong alias of __libc_strstr.
28055 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28056 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28057 __redirect_time.
28058 Include <time.h>.
28059 (__libc_time): New prototype.
28060 (time_ifunc): Replace time with __libc_time.
28061 (time): New strong alias and hidden definition of __libc_time.
28062 (__GI_time): Remove strong alias.
28063 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28064 Include <stddef.h>.
28065 (memmove): Redefined to __redirect_memmove.
28066 (__memmove_sse2): Use typeof __redirect_memmove.
28067 (__memmove_ssse3): Likewise.
28068 (__memmove_ssse3_back): Likewise.
28069 (__libc_memmove): New prototype.
28070 (memmove): Renamed to ...
28071 (__libc_memmove): This.
28072 (memmove): New strong alias of __libc_memmove.
28073
33b4a91e
MS
280742012-08-08 Mark Salter <msalter@redhat.com>
28075
28076 * elf/elf.h
28077 (R_MN10300_TLS_GD): Define.
28078 (R_MN10300_TLS_LD): Likewise.
28079 (R_MN10300_TLS_LDO): Likewise.
28080 (R_MN10300_TLS_GOTIE): Likewise.
28081 (R_MN10300_TLS_IE): Likewise.
28082 (R_MN10300_TLS_LE): Likewise.
28083 (R_MN10300_TLS_DTPMOD): Likewise.
28084 (R_MN10300_TLS_DTPOFF): Likewise.
28085 (R_MN10300_TLS_TPOFF): Likewise.
28086 (R_MN10300_SYM_DIFF): Likewise.
28087 (R_MN10300_ALIGN): Likewise.
28088 (R_MN10300_NUM): Update.
28089
b36137f1
JM
280902012-08-08 Joseph Myers <joseph@codesourcery.com>
28091
28092 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28093 Remove.
28094
cdd915fd
RM
280952012-08-08 Roland McGrath <roland@hack.frob.com>
28096
a2433aac
RM
28097 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28098
cdd915fd
RM
28099 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28100 sysdeps/unix -> sysdeps/posix move.
28101 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28102
bf9b740a
AM
281032012-08-07 Allan McRae <allan@archlinux.org>
28104
28105 [BZ #14303]
28106 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28107 (SUNOS_CPP): Likewise.
28108 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28109 not found.
28110 (open_input): Call CPP using execvp.
28111
93df14ee
JM
281122012-08-07 Joseph Myers <joseph@codesourcery.com>
28113
28114 * sysdeps/unix/sysv/linux/kernel-features.h
28115 (__ASSUME_PROT_GROWSUPDOWN): Remove.
28116 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28117 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28118 (__ASSUME_WAITID_SYSCALL): Likewise.
28119 * sysdeps/unix/sysv/linux/dl-execstack.c
28120 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28121 code unconditional.
28122 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28123 conditional code.
28124 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28125 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28126 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28127 code.
28128 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28129 unconditional.
28130 [__ASSUME_WAITID_SYSCALL]: Likewise.
28131 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28132
d34689de
RM
281332012-08-07 Roland McGrath <roland@hack.frob.com>
28134
a281decc
RM
28135 * sysdeps/unix/closedir.c: Renamed to ...
28136 * sysdeps/posix/closedir.c: ... here.
28137 * sysdeps/unix/dirfd.c: Renamed to ...
28138 * sysdeps/posix/dirfd.c: ... here.
28139 * sysdeps/unix/dirstream.h: Renamed to ...
28140 * sysdeps/posix/dirstream.h: ... here.
28141 * sysdeps/unix/fdopendir.c: Renamed to ...
28142 * sysdeps/posix/fdopendir.c: ... here.
28143 * sysdeps/unix/opendir.c: Renamed to ...
28144 * sysdeps/posix/opendir.c: ... here.
28145 * sysdeps/unix/readdir.c: Renamed to ...
28146 * sysdeps/posix/readdir.c: ... here.
28147 * sysdeps/unix/readdir_r.c: Renamed to ...
28148 * sysdeps/posix/readdir_r.c: ... here.
28149 * sysdeps/unix/rewinddir.c: Renamed to ...
28150 * sysdeps/posix/rewinddir.c: ... here.
28151 * sysdeps/unix/seekdir.c: Renamed to ...
28152 * sysdeps/posix/seekdir.c: ... here.
28153 * sysdeps/unix/telldir.c: Renamed to ...
28154 * sysdeps/posix/telldir.c: ... here.
28155 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28156 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28157 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28158 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28159
22895b47
RM
28160 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28161 * bits/fcntl.h: ... here.
28162
707a53b6
RM
28163 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28164 not 0.
28165 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28166 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28167 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28168 (struct flock): Move l_start, l_len to the beginning.
28169 Use __pid_t for l_pid.
28170 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28171 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28172 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28173 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28174 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28175 [__USE_LARGEFILE64] (struct flock64): New type.
28176 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28177
f0bd3e25
RM
28178 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28179 * bits/dirent.h: ... here.
28180
d34689de
RM
28181 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28182 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28183
6dad2c06
JM
281842012-08-07 Joseph Myers <joseph@codesourcery.com>
28185
28186 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28187 Change from 2.6.0 to 2.6.16.
28188 * sysdeps/unix/sysv/linux/configure: Regenerated.
28189 * sysdeps/unix/sysv/linux/kernel-features.h
28190 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28191 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28192 version.
28193 (__ASSUME_UTIMES): Likewise.
28194 (__ASSUME_CLONE_STOPPED): Remove.
28195 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28196 architectures, not kernel version.
28197 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28198 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28199 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28200 (__ASSUME_WAITID_SYSCALL): Likewise.
28201 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28202 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28203 * README: State 2.6.16 as minimum Linux kernel version. Do not
28204 refer to older versions.
28205
03af9520
RM
282062012-08-06 Roland McGrath <roland@hack.frob.com>
28207
8e49df1d
RM
28208 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28209 Define alphasort64 as an alias.
28210 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28211 Define versionsort64 as an alias.
28212 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28213 Define scandir64 as an alias.
28214 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28215 Define scandirat64 as an alias.
28216 * dirent/alphasort64.c (alphasort64):
28217 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28218 * dirent/versionsort64.c: Likewise.
28219 * dirent/scandir64.c: Likewise.
28220 * dirent/scandirat64.c: Likewise.
28221 * sysdeps/wordsize-64/alphasort.c: File removed.
28222 * sysdeps/wordsize-64/alphasort64.c: File removed.
28223 * sysdeps/wordsize-64/scandir.c: File removed.
28224 * sysdeps/wordsize-64/scandir64.c: File removed.
28225 * sysdeps/wordsize-64/scandirat.c: File removed.
28226 * sysdeps/wordsize-64/scandirat64.c: File removed.
28227 * sysdeps/wordsize-64/versionsort.c: File removed.
28228 * sysdeps/wordsize-64/versionsort64.c: File removed.
28229 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28230 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28231 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28232 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28233 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28234 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28235 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28236 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28237
28238 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28239 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28240 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28241 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28242 [defined __arch64__ || defined __sparcv9]
28243 (__INO_T_MATCHES_INO64_T): New macro.
28244 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28245 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28246 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28247 * sysdeps/unix/sysv/linux/bits/dirent.h
28248 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28249 (_DIRENT_MATCHES_DIRENT64): New macro.
28250
03af9520
RM
28251 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28252 Define lockf64 as an alias.
28253 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28254 Define fseeko64 as an alias.
28255 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28256 Define ftello64 as an alias.
28257 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28258 Define _IO_fgetpos64 and fgetpos64 as aliases.
28259 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28260 Define _IO_fsetpos64 and fsetpos64 as aliases.
28261 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28262 Conditionalize body on this.
28263 * libio/fseeko64.c: Likewise.
28264 * libio/ftello64.c: Likewise.
28265 * libio/iofgetpos64.c: Likewise.
28266 * libio/iofsetpos64.c: Likewise.
28267 * sysdeps/wordsize-64/lockf.c: File removed.
28268 * sysdeps/wordsize-64/lockf64.c: File removed.
28269 * sysdeps/wordsize-64/fseeko.c: File removed.
28270 * sysdeps/wordsize-64/fseeko64.c: File removed.
28271 * sysdeps/wordsize-64/ftello.c: File removed.
28272 * sysdeps/wordsize-64/ftello64.c: File removed.
28273 * sysdeps/wordsize-64/iofgetpos.c: File removed.
28274 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28275 * sysdeps/wordsize-64/iofsetpos.c: File removed.
28276 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28277 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28278 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28279 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28280 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28281 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28282 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28283 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28284 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28285 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28286 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28287
28288 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28289 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28290 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28291 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28292 [defined __arch64__ || defined __sparcv9]
28293 (__OFF_T_MATCHES_OFF64_T): New macro.
28294 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28295 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28296 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28297 (__OFF_T_MATCHES_OFF64_T): New macro.
28298
c5757acd
L
282992012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28300
28301 * stdlib/secure-getenv.c (__secure_getenv): Replace
28302 GLIBC_2_16 with GLIBC_2_17.
28303
3a31811e
L
283042012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28305
28306 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28307 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28308
faa2bccb
DM
283092012-08-03 David S. Miller <davem@davemloft.net>
28310
28311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28312
85fe1997
JM
283132012-08-03 Joseph Myers <joseph@codesourcery.com>
28314
28315 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28316 Remove.
28317 (__ASSUME_CORRECT_SI_PID): Likewise.
28318 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28319 (__ASSUME_TMPFS_NAME): Likewise.
28320 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28321 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28322 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28323 (HAVE_AUX_SECURE): Make definition unconditional.
28324 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28325 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28326
4f75b7a0
RM
283272012-08-03 Roland McGrath <roland@hack.frob.com>
28328
28329 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28330 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28331 * sysdeps/mach/hurd/eloop-threshold.h: New file.
28332 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28333 __eloop_threshold instead of SYMLOOP_MAX.
28334
28335 * sysdeps/generic/eloop-threshold.h: New file.
28336 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28337 of MAXSYMLINKS.
28338 * elf/chroot_canon.c (chroot_canon): Likewise.
28339
7aab07e4
JM
283402012-08-03 Joseph Myers <joseph@codesourcery.com>
28341
28342 [BZ #13717]
28343 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28344 Change to 2.6.0 everywhere.
28345 * sysdeps/unix/sysv/linux/configure: Regenerated.
28346 * sysdeps/unix/sysv/linux/kernel-features.h
28347 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28348 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28349 kernel versions.
28350 (__ASSUME_POSIX_TIMERS): Define unconditionally.
28351 (__ASSUME_FUTEX_REQUEUE): Remove.
28352 (__ASSUME_STATFS64): Define unconditionally.
28353 (__ASSUME_AT_SECURE): Likewise.
28354 (__ASSUME_CORRECT_SI_PID): Likewise.
28355 (__ASSUME_TGKILL): Define without depending on kernel version for
28356 i386.
28357 (__ASSUME_UTIMES): Likewise.
28358 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28359 kernel version.
28360 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28361 (__ASSUME_TMPFS_NAME): Likewise.
28362 * README: Update reference to Linux kernel versions.
28363
b67e9372
MP
283642012-08-02 Marek Polacek <polacek@redhat.com>
28365
1f529f7d 28366 [BZ# 14150]
b67e9372
MP
28367 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
28368 libc_cv_asm_type_prefix with %.
28369 * configure: Regenerated.
d2441631
RM
28370 * include/libc-symbols.h: Remove comment about
28371 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
28372 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28373 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28374 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28375 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28376 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28377 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28378 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28379 * elf/tst-unique2mod1.c: Likewise.
28380 * elf/tst-unique1mod2.c: Likewise.
28381 * elf/tst-unique1mod1.c: Likewise.
28382 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28383 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28384 Replace ASM_TYPE_DIRECTIVE with .type.
28385 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28386 * sysdeps/i386/sysdep.h: Likewise.
28387 * sysdeps/x86_64/sysdep.h: Likewise.
28388 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
28389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28390 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 28391 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
28392 * sysdeps/powerpc/powerpc32/sysdep.h:
28393 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
28394 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28395 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28396 * sysdeps/i386/fpu/e_powf.S: Likewise.
28397 * sysdeps/i386/fpu/e_expl.S: Likewise.
28398 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28399 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28400 * sysdeps/i386/fpu/e_pow.S: Likewise.
28401 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28402 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28403 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28404 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28405 * sysdeps/i386/fpu/e_log2.S: Likewise.
28406 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28407 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28408 * sysdeps/i386/fpu/e_powl.S: Likewise.
28409 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28410 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28411 * sysdeps/i386/fpu/e_logl.S: Likewise.
28412 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28413 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28414 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28415 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28416 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28417 * sysdeps/i386/fpu/e_log.S: Likewise.
28418 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28419 * sysdeps/i386/fpu/e_logf.S: Likewise.
28420 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28421 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28422 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28423 * sysdeps/i386/fpu/e_log10.S: Likewise.
28424 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28425 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28426 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28427 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28428 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28429 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28430 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28431 * sysdeps/i386/i686/strtok.S: Likewise.
28432 * sysdeps/i386/i386-mcount.S: Likewise.
28433 * sysdeps/i386/strtok.S: Likewise.
28434 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28435 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28436 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28437 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28438 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28439 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28440 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28441 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28442 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28443 * sysdeps/x86_64/_mcount.S: Likewise.
28444 * sysdeps/x86_64/strtok.S: Likewise.
28445 * sysdeps/sh/_mcount.S: Likewise.
28446
2747bf9a
RM
284472012-08-01 Roland McGrath <roland@hack.frob.com>
28448
28449 * libio/iofopen.c: Include <fcntl.h>.
28450 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28451 (_IO_fopen64, fopen64): Define as aliases.
28452 * libio/iofopen64.c: Include <fcntl.h>.
28453 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28454 Conditionalize body on this.
28455 * sysdeps/wordsize-64/iofopen.c: File removed.
28456 * sysdeps/wordsize-64/iofopen64.c: File removed.
28457
3fb791b8
MP
284582012-08-01 Marek Polacek <polacek@redhat.com>
28459
28460 * libc/Makeconfig: Use elf in place of binfmt-subdir.
28461 Use dlfcn directly instead of a variable.
28462 (binfmt-subdir): Do not define.
28463 (dlfcn): Likewise.
28464
a9f1039f
JM
284652012-08-01 Joseph Myers <joseph@codesourcery.com>
28466
23bddc06
JM
28467 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28468 Remove all definitions.
28469 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28470 <kernel-features.h>.
28471 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28472 (miss_F_GETOWN_EX): Remove all definitions.
28473 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28474 macro definition.
28475 [!__ASSUME_FCNTL64]: Remove conditional code.
28476 [__ASSUME_FCNTL64]: Make code unconditional.
28477 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28478 <kernel-features.h>.
28479 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28480 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28481 (lockf64) [__NR_fcntl64]: Make code unconditional.
28482 (lockf64) [__ASSUME_FCNTL64]: Likewise.
28483
a9f1039f
JM
28484 * sysdeps/unix/sysv/linux/kernel-features.h
28485 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28486 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28487 Make code unconditional.
28488 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28489 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28491 [__NR_vfork]: Make code unconditional.
28492 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28493 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28495 [__NR_vfork]: Make code unconditional.
28496 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28497 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28498
09c0ee5f
RM
284992012-08-01 Roland McGrath <roland@hack.frob.com>
28500
48aec5b9
RM
28501 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
28502 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
28503
cd97c966
RM
28504 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28505 Define mkstemp64 as an alias.
3f55550c
RM
28506 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28507 Define mkstemps64 as an alias.
cd97c966
RM
28508 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28509 Define mkostemp64 as an alias.
b8625cfc
RM
28510 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28511 Define mkostemps64 as an alias.
cd97c966
RM
28512 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
28513 Conditionalize body on this.
28514 * misc/mkostemp64.c: Likewise.
b8625cfc 28515 * misc/mkostemps64.c: Likewise.
3f55550c 28516 * misc/mkstemps64.c: Likewise.
cd97c966
RM
28517 * sysdeps/wordsize-64/mkstemp64.c: File removed.
28518 * sysdeps/wordsize-64/mkostemp64.c: File removed.
28519 * sysdeps/wordsize-64/mkostemp.c: File removed.
28520 * sysdeps/wordsize-64/mkstemp.c: File removed.
28521 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
28522 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
28523 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
28524 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
28525
09c0ee5f
RM
28526 [BZ #14138]
28527 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
28528 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
28529 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
28530 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
28531
28532 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
28533 compat_symbol macros from <shlib-compat.h> rather than the underlying
28534 default_symbol_version and symbol_version macros, so that DEFAULT
28535 lines in shlib-versions are respected.
28536 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
28537
7e66ee51
FW
285382012-08-01 Florian Weimer <fweimer@redhat.com>
28539
28540 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
28541 Declare with warn_unused_result.
28542 (setgid, setregid, setegid, setresgid): Likewise.
28543 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
28544 Likewise.
28545 * WUR-REPORT: Remove set*id functions.
28546
d2a54255
PT
285472012-07-31 Pino Toscano <toscano.pino@tiscali.it>
28548
28549 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
28550
7ecdb005
RM
285512012-07-31 Roland McGrath <roland@hack.frob.com>
28552
b4180a5e 28553 [BZ #10191]
789bd351
RM
28554 * include/sys/socket.h (__libc_accept, __libc_accept4):
28555 Add attribute_hidden.
28556 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
28557
40ce302d
RM
28558 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
28559 use of PTR_MANGLE.
28560 * inet/getnetgrent_r.c (setup): Likewise.
28561
7ecdb005
RM
28562 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
28563
e2eabb2c
DM
285642012-07-31 David S. Miller <davem@davemloft.net>
28565
28566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28567
d0419dbf
JM
285682012-07-31 Joseph Myers <joseph@codesourcery.com>
28569
28570 [BZ #13629]
28571 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
28572 value between 1.0 and 2.0 and smaller part has absolute value less
28573 than 1.0.
28574 * math/s_clog10.c (__clog10): Likewise.
28575 * math/s_clog10f.c (__clog10f): Likewise.
28576 * math/s_clog10l.c (__clog10l): Likewise.
28577 * math/s_clogf.c (__clogf): Likewise.
28578 * math/s_clogl.c (__clogl): Likewise.
28579 * math/libm-test.inc (clog_test): Add more tests.
28580 (clog10_test): Likewise.
28581 * sysdeps/i386/fpu/libm-test-ulps: Update.
28582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28583
2bc13872
FW
285842012-07-31 Florian Weimer <fweimer@redhat.com>
28585
28586 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
28587 Exit with zero in case no suitable GID is found, and write a
28588 message to standard error.
28589
bea9b193
RM
285902012-07-30 Roland McGrath <roland@hack.frob.com>
28591
28592 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
28593 rather than to 1.
28594 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
28595 (MAXPATHLEN): Removed.
28596 (NOGROUP, NODEV): New macros.
28597 (setbit, clrbit, isset, isclr): New macros.
28598 (howmany, roundup, powerof2): New macros.
28599 (DEV_BSIZE): New macro.
28600
28601 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
28602 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
28603
28604 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
28605 definition on [!__NO_LONG_DOUBLE_MATH].
28606
28607 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
28608 PTR_MANGLE and PTR_DEMANGLE.
28609
28610 * socket/accept4.c (accept4): Rename to __libc_accept4.
28611 Define accept4 as a weak alias.
28612
28613 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
28614 on [_DIRENT_HAVE_D_TYPE].
28615 * io/ftw.c (ftw_dir): Likewise.
28616
28617 * io/xmknod.c (__xmknod): Don't check PATH for being null.
28618
28619 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
28620
28621 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
28622 Use the BSD numbers rather than the arbitrary ones we had.
28623 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
28624 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
28625 (SIGXCPU, SIGXFSZ): New macros.
28626 (_NSIG): Now 32.
28627
28628 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
28629 initializer on [_LIBC_REENTRANT].
28630
28631 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
28632 definitions inside [_POSIX_MAPPED_FILES].
28633
28634 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
28635
28636 * dirent/opendir.c: Include <fcntl.h>.
28637
28638 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
28639 (__libc_getspecific): Likewise.
28640 (__libc_key_create): Likewise.
28641
28642 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
28643 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
28644 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
28645 (tmpfile64): Define as alias.
28646 * sysdeps/wordsize-64/tmpfile.c: File removed.
28647 * sysdeps/wordsize-64/tmpfile64.c: File removed.
28648 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
28649 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
28650
28651 * stdio-common/vfscanf.c: Include <stdbool.h>.
28652 * nss/makedb.c: Likewise.
28653 * stdio-common/_i18n_number.h: Likewise.
28654 * argp/argp-help.c: Likewise.
28655 * posix/wordexp.c: Likewise.
28656 * sysdeps/posix/spawni.c: Likewise.
28657 * nss/nss_files/files-initgroups.c: Likewise.
28658 * stdio-common/reg-modifier.c: Include <stdlib.h>.
28659 * nss/nss_files/files-initgroups.c: Likewise.
28660 * nss/nss_db/db-netgrp.c: Likewise.
28661 * nss/nss_db/db-initgroups.c: Likewise.
28662 * io/fchmodat.c: Include <sys/stat.h>.
28663
28664 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
28665 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
28666
28667 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
28668 [HAVE_MMAP].
28669
28670 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
28671 Add multiple inclusion protection.
28672
e5abc686
DM
286732012-07-27 David S. Miller <davem@davemloft.net>
28674
28675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28676
815e6fa3
GB
286772012-07-27 Gary Benson <gbenson@redhat.com>
28678
28679 [BZ #14298]
28680 * elf/rtld.c: Include <stap-probe.h>.
28681 (dl_main): Added static probes "init_start" and "init_complete".
28682 * elf/dl-load.c: Include <stap-probe.h>.
28683 (lose): Take new parameter "nsid".
28684 Added static probe "map_failed".
28685 (_dl_map_object_from_fd): Pass namespace id to lose.
28686 Added static probe "map_start".
28687 (open_verify): Pass namespace id to lose.
28688 * elf/dl-open.c: Include <stap-probe.h>.
28689 (dl_open_worker) Added static probes "map_complete", "reloc_start"
28690 and "reloc_complete".
28691 * elf/dl-close.c: Include <stap-probe.h>.
28692 (_dl_close_worker): Added static probes "unmap_start" and
28693 "unmap_complete".
28694 * elf/rtld-debugger-interface.txt: New file documenting the above.
28695
9f98c16c
RM
286962012-07-26 Roland McGrath <roland@hack.frob.com>
28697
28698 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
28699 rather than a string variable.
28700 * sunrpc/rpc_main.c (h_output): Likewise.
28701 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
28702
f3c22df3
PT
287032012-07-26 Pino Toscano <toscano.pino@tiscali.it>
28704
28705 * inet/check_native.c: New file.
28706
3129cfc6
JM
287072012-07-26 Joseph Myers <joseph@codesourcery.com>
28708
da865e95
JM
28709 [BZ #13629]
28710 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
28711 if larger part has absolute value 1.0.
28712 * math/s_clog10.c (__clog10): Likewise.
28713 * math/s_clog10f.c (__clog10f): Likewise.
28714 * math/s_clog10l.c (__clog10l): Likewise.
28715 * math/s_clogf.c (__clogf): Likewise.
28716 * math/s_clogl.c (__clogl): Likewise.
28717 * math/libm-test.inc (clog_test): Add more tests.
28718 (clog10_test): Likewise.
28719 * sysdeps/i386/fpu/libm-test-ulps: Update.
28720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28721
3129cfc6
JM
28722 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
28723 (pltexit): Likewise.
28724 (La_regs): Likewise.
28725 (La_retval): Likewise.
28726 (int_retval): Likewise.
28727 Update #error for removed macros to refer only to definitions in
28728 tst-audit.h.
28729 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
28730 macro.
28731 (pltexit): Likewise.
28732 (La_regs): Likewise.
28733 (La_retval): Likewise.
28734 (int_retval): Likewise.
28735 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
28736 macro.
28737 (pltexit): Likewise.
28738 (La_regs): Likewise.
28739 (La_retval): Likewise.
28740 (int_retval): Likewise.
28741 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
28742 macro.
28743 (pltexit): Likewise.
28744 (La_regs): Likewise.
28745 (La_retval): Likewise.
28746 (int_retval): Likewise.
28747 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
28748 macro.
28749 (pltexit): Likewise.
28750 (La_regs): Likewise.
28751 (La_retval): Likewise.
28752 (int_retval): Likewise.
28753 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
28754 macro.
28755 (pltexit): Likewise.
28756 (La_regs): Likewise.
28757 (La_retval): Likewise.
28758 (int_retval): Likewise.
28759 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
28760 macro.
28761 (pltexit): Likewise.
28762 (La_regs): Likewise.
28763 (La_retval): Likewise.
28764 (int_retval): Likewise.
28765 * sysdeps/generic/tst-audit.h: Update comment to refer only to
28766 macro definitions in tst-audit.h.
28767 * sysdeps/i386/tst-audit.h: New file.
28768 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
28769 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
28770 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
28771 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
28772 * sysdeps/sh/tst-audit.h: Likewise.
28773 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
28774 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
28775 * sysdeps/x86_64/tst-audit.h: Likewise.
28776
bfc07087
AJ
287772012-07-26 Andreas Jaeger <aj@suse.de>
28778
b1b2aaf8
AJ
28779 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
28780 ptrace.
28781
28782 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
28783 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
28784 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
28785 PTRACE_O_MASK.
28786 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
28787 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
28788 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
28789
bfc07087
AJ
28790 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
28791 value.
28792
28793 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
28794 _sigsys.
28795 (si_call_addr, si_syscall, si_arch): Define new macro.
28796 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
28797 _sigsys.
28798 (si_call_addr, si_syscall, si_arch): Define new marcro.
28799 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
28800 _sigsys.
28801 (si_call_addr, si_syscall, si_arch): Define new macro.
28802 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
28803 _sigsys.
28804 (si_call_addr, si_syscall, si_arch): Define new macro.
28805
89b4b02f
JM
288062012-07-25 Joseph Myers <joseph@codesourcery.com>
28807
28808 [BZ #13717]
28809 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28810 Change to 2.4.21 where previously 2.4.1.
28811 * sysdeps/unix/sysv/linux/configure: Regenerated.
28812 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
28813 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
28814 Linux kernel version.
28815 (__ASSUME_STD_AUXV): Remove.
28816 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
28817 kernel version.
28818 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
28819 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
28820 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
28821 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
28822 (__ASSUME_NETLINK_SUPPORT): Likewise.
28823 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
28824 (__no_netlink_support): Remove conditional definition.
28825 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
28826 Remove.
28827 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28828 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
28829 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
28830 (if_nameindex_ioctl): Remove.
28831 (if_nameindex_netlink): Do not handle __no_netlink_support.
28832 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28833 code.
28834 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
28835 Remove conditional code.
28836 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28837 code.
28838 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
28839 unconditional.
28840 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28841 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
28842 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
28843 Remove.
28844 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
28845 [!__ASSUME_STD_AUXV]: Remove conditional code.
28846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
28847 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
28848 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
28849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
28850 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
28851 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28852 code.
28853 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28855 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
28856 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28857 conditional code.
28858 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28860 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28861 code.
28862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28863 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28864 conditional code.
28865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
28866 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28867 code unconditional.
28868 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28869 conditional code.
28870 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28871 unconditional.
28872 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28873 conditional code.
28874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28875 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28876 unconditional.
28877 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28878 conditional code.
28879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28880 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28881 code unconditional.
28882 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28883 conditional code.
28884 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28885 unconditional.
28886 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28887 conditional code.
28888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28889 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28890 code unconditional.
28891 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28892 conditional code.
28893 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28894 unconditional.
28895 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28896 conditional code.
28897
842a39cd
AS
288982012-07-25 Andreas Schwab <schwab@linux-m68k.org>
28899
28900 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
28901 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
28902 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28903 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
28904 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
28905 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28906 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28907 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
28908 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
28909 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
28910 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
28911 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
28912 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
28913 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28914 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
28915 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
28916 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
28917 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
28918 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
28919 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
28920 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
28921 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
28922 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28923
84b3fd84
FW
289242012-07-25 Florian Weimer <fweimer@redhat.com>
28925
28926 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
28927 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
28928 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
28929 Introduce __libc_secure_getenv.
0c7936d5
FW
28930 * stdlib/Versions (2.17): Add secure_getenv
28931 (GLIBC_PRIVATE): Add __libc_secure_getenv.
28932 * stdlib/secure-getenv.c: Rename __secure_getenv to
28933 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
28934 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
28935 * stdlib/tst-secure-getenv.c: New.
28936 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
28937 * manual/startup.texi (Environment Access): Document
28938 secure_getenv.
84b3fd84
FW
28939 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
28940 __libc_secure_getenv.
28941 * inet/ruserpass.c (ruserpass): Likewise.
28942 * malloc/mtrace.c (mtrace): Likewise.
28943 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 28944 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
28945 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
28946 * sysdeps/posix/tempname.c: Likewise. Evaluate
28947 HAVE_SECURE_GETENV.
28948 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 28949 __secure_getenv to __libc_secure_getenv.
84b3fd84 28950 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
28951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28952 Likewise.
28953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28954 Likewise.
28955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28957 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28960 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 28962
56e49b71
JM
289632012-07-25 Joseph Myers <joseph@codesourcery.com>
28964
28965 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
28966 (struct La_i86_retval): Likewise.
28967 (struct La_x86_64_regs): Likewise.
28968 (struct La_x86_64_retval): Likewise.
28969 (struct La_x32_regs): Likewise.
28970 (struct La_x32_retval): Likewise.
28971 (struct La_ppc32_regs): Likewise.
28972 (struct La_ppc32_retval): Likewise.
28973 (struct La_ppc64_regs): Likewise.
28974 (struct La_ppc64_retval): Likewise.
28975 (struct La_sh_regs): Likewise.
28976 (struct La_sh_retval): Likewise.
28977 (struct La_s390_32_regs): Likewise.
28978 (struct La_s390_32_retval): Likewise.
28979 (struct La_s390_64_regs): Likewise.
28980 (struct La_s390_64_retval): Likewise.
28981 (struct La_sparc32_regs): Likewise.
28982 (struct La_sparc32_retval): Likewise.
28983 (struct La_sparc64_regs): Likewise.
28984 (struct La_sparc64_retval): Likewise.
28985 (struct audit_ifaces): Remove architecture-specific pltenter and
28986 pltexit members.
28987 * sysdeps/i386/ldsodefs.h: New file.
28988 * sysdeps/powerpc/ldsodefs.h: Likewise.
28989 * sysdeps/s390/ldsodefs.h: Likewise.
28990 * sysdeps/sh/ldsodefs.h: Likewise.
28991 * sysdeps/sparc/ldsodefs.h: Likewise.
28992 * sysdeps/x86_64/ldsodefs.h: Likewise.
28993
354691b7
MP
289942012-07-25 Marek Polacek <polacek@redhat.com>
28995
28996 [BZ #6808]
28997 * math/libm-test.inc (yn_test): Add another test.
28998 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
28999 to ERANGE when the result is +-Inf.
29000 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29001 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29002 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29003 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29004
bf9e2071
JM
290052012-07-24 Joseph Myers <joseph@codesourcery.com>
29006
29007 * conform/data/time.h-data (NULL): Use macro-constant. Require
29008 equal to 0.
29009 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
29010 clock_t.
29011 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
29012
57633811
TS
290132012-07-23 Thomas Schwinge <thomas@codesourcery.com>
29014
29015 * configure.in <sysdeps resolving>: Correct printing
29016 Implies_before.
29017 * configure: Regenerate.
29018
c23c33b0
TS
290192012-07-22 Thomas Schwinge <thomas@codesourcery.com>
29020
29021 * math/w_ilogb.c: Include <limits.h>.
29022 * math/w_ilogbl.c: Likewise.
29023
b5982523
JM
290242012-07-20 Joseph Myers <joseph@codesourcery.com>
29025
29026 * manual/lang.texi (__va_copy): Document primarily as ISO C99
29027 va_copy. Document allowing for unavailable va_copy only as
29028 pre-C99 compatibility.
29029 * manual/string.texi (Copying and Concatenation): Use va_copy
29030 instead of __va_copy in concat example.
29031
ac4ea442
PT
290322012-07-20 Pino Toscano <toscano.pino@tiscali.it>
29033
29034 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29035 (__sendto): Use create_address_port. Initialize APORT and deallocate
29036 it if not null.
29037
f98eafbd
PT
29038 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29039 with O_NOLINK passed to __file_name_lookup.
29040
898c7aab
PT
29041 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29042 with O_NOLINK passed to __file_name_lookup.
29043
0ced335a
PT
29044 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29045 negative N or less than NGIDS.
29046
b3404dbd
PT
29047 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29048 type to string_t. Set ERANGE as errno and return it if NAME is not big
29049 enough. Use memcpy instead of strncpy.
29050
0f48659e
JM
290512012-07-20 Joseph Myers <joseph@codesourcery.com>
29052
29053 * elf/Makefile (check-data): Remove.
29054 (localplt.data): New vpath directive.
29055 ($(objpfx)check-localplt.out): Use localplt.data from vpath
29056 instead of $(check-data).
29057 * scripts/data/localplt-generic.data: Move to ...
29058 * sysdeps/generic/localplt.data: ... here.
29059 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29060 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29061 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29063 ... here.
29064 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29066 ... here.
29067 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29068 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29069 ... here.
29070 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29072 ... here.
29073 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29074 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29075 ... here.
29076 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29077 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29078 ... here.
29079
d37cbdaa
AZ
290802012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29081
29082 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29083 PPC32 and PPC64 files.
29084 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29085 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29086
46f85fc2
AK
290872012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29088
29089 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29090 __makecontext_ret to ...
29091 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29092 ... here and call exit if uc_link is NULL. New file.
29093 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29094 __makecontext_ret.S.
29095 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29096 __makecontext_ret to ...
29097 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29098 ... here and call exit if uc_link is NULL. New file.
29099 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29100 __makecontext_ret.S.
29101
08f43f9b
AK
291022012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29103
29104 * elf/elf.h (R_390_IRELATIVE): New definition.
29105 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29106 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
29107 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29108 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29109 (elf_machine_lazy_rel): Likewise.
29110 * sysdeps/s390/dl-irel.h: New file.
29111 * sysdeps/s390/s390-64/memcpy.S: New asm code.
29112 * sysdeps/s390/s390-64/memset.S: New asm code.
29113 * sysdeps/s390/s390-64/memcmp.S: New asm code.
29114 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29115 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29116 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29117 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29118 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29119 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29120 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29121 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29122 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29123 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29124 * sysdeps/s390/s390-32/memcpy.S: New asm code.
29125 * sysdeps/s390/s390-32/memset.S: New asm code.
29126 * sysdeps/s390/s390-32/memcmp.S: New asm code.
29127
3b05db33
MP
291282012-07-17 Marek Polacek <polacek@redhat.com>
29129
29130 [BZ #14349]
29131 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29132 * sysdeps/s390/s390-64/configure.in: Likewise.
29133 * sysdeps/sparc/configure.in: Likewise.
29134 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29135 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29136 * sysdeps/i386/configure.in: Likewise.
29137 * sysdeps/x86_64/configure.in: Likewise.
29138 * sysdeps/sh/configure.in: Likewise.
29139 * sysdeps/s390/s390-32/configure: Regenerated.
29140 * sysdeps/s390/s390-64/configure: Likewise.
29141 * sysdeps/x86_64/configure: Likewise.
29142 * sysdeps/sh/configure: Likewise.
29143 * sysdeps/powerpc/powerpc64/configure: Likewise.
29144 * sysdeps/powerpc/powerpc32/configure: Likewise.
29145 * sysdeps/sparc/configure: Likwise.
29146 * sysdeps/i386/configure: Likewise.
29147
a66877c6
MP
29148 * elf/dl-open.c: Comment fixes.
29149
cfc82fd8
JM
291502012-07-17 Joseph Myers <joseph@codesourcery.com>
29151
bd29910a
JM
29152 * Makefile [CXX] (check-data): Remove.
29153 [CXX] (c++-types.data): New vpath directive.
29154 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29155 vpath. Do not allow for C++ type data being missing.
29156 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29157 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29158 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29159 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29160 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29161 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29162 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29164 ... here.
29165 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29167 ... here.
29168 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29170 ... here.
29171 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29173 ... here.
29174 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29176 ... here.
29177 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29179 ... here.
29180 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29181 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29182 ... here.
29183 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29185
cfc82fd8
JM
29186 * elf/tls-macros.h (TLS_LE): Move architecture-specific
29187 definitions to architecture-specific files.
29188 (TLS_IE): Likewise.
29189 (TLS_LD): Likewise.
29190 (TLS_GD): Likewise.
29191 * sysdeps/i386/tls-macros.h: New file.
29192 * sysdeps/powerpc/tls-macros.h: Likewise.
29193 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29194 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29195 * sysdeps/sh/tls-macros.h: Likewise.
29196 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29197 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29198 * sysdeps/x86_64/tls-macros.h: Likewise.
29199
f7db3170
TS
292002012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29201
07cbfc23
TS
29202 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29203 zero value for regular exit case.
29204
f7db3170
TS
29205 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29206 (__start_context): Preserve zero value for regular exit case.
29207
dc97c227
TS
292082012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29209 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29210
29211 * manual/setjmp.texi (setcontext): Clarify normal process
29212 termination when uc_link is the null pointer.
29213 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29214 exit call.
29215
d0cd7d02
AS
292162012-07-16 Andreas Schwab <schwab@linux-m68k.org>
29217
29218 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29219 preprocessor. Test for each exception mask separately.
29220
dd318934
AJ
292212012-07-16 Andreas Jaeger <aj@suse.de>
29222
29223 * po/ru.po: Update from translation team.
29224
8048311a
JM
292252012-07-15 Joseph Myers <joseph@codesourcery.com>
29226
29227 * conform/data/string.h-data (NULL): Use macro-constant. Require
29228 equal to 0.
29229 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29230 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29231 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29232 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29233 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29234
b637d46e
AJ
292352012-07-13 Andreas Jaeger <aj@suse.de>
29236
29237 * po/fr.po: Update from translation team.
29238
541428fe
MP
292392012-07-12 Marek Polacek <polacek@redhat.com>
29240
29241 [BZ #14173]
29242 * math/libm-test.inc (yn_test): Add test for BZ #14173.
29243 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29244 loop condition.
29245
ec332e94
JM
292462012-07-12 Joseph Myers <joseph@codesourcery.com>
29247
29248 [BZ #13717]
29249 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29250 Change to 2.4.1 where previously 2.4.0.
29251 * sysdeps/unix/sysv/linux/configure: Regenerated.
29252 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29253 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29254 version.
29255 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29256 (__ASSUME_AT_CLKTCK): Remove.
29257 (__ASSUME_AT_PAGESIZE): Likewise.
29258 (__ASSUME_AT_XID): Likewise.
29259 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29260 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29261 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29262 unconditionally.
29263 (HAVE_AUX_PAGESIZE): Likewise.
29264 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29265 [__ASSUME_AT_CLKTCK]: Make code unconditional.
29266 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29267
7b6e99be
JB
292682012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
29269
29270 [BZ #14307]
29271 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29272 the temporary buffer used to invoke __gethostbyname2_r,
29273 __gethostbyaddr_r and gethostbyname4_r to make room for struct
29274 host_data / struct gaih_addrtuple.
29275 * resolv/nss_dns/dns-host.c (global scope): Move definition of
29276 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29277 header file nss/nsswitch.h.
29278 * nss/nsswitch.h (global scope): Add definition of implementation
29279 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29280 resolv/nss_dns/dns-host.c).
29281
608404eb
AJ
292822012-07-11 Andreas Jaeger <aj@suse.de>
29283
29284 * po/fr.po: Update from translation team.
29285
71220aca
AJ
29286 * po/sv.po: Update from translation team
29287 * po/fr.po: Another update from translation team.
29288
28cfe843
AZ
292892012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29290
29291 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29292 for subnormals or multiply small sinh result by itself.
29293 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29294 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29295
6b90f981
DM
292962012-07-11 David S. Miller <davem@davemloft.net>
29297
29298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29299
c6825772
AS
293002012-07-10 Andreas Schwab <schwab@linux-m68k.org>
29301
29302 [BZ #14347]
29303 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29304 (INTERNAL_MARK): Shift it here.
29305
7b8e0d49
MP
293062012-07-10 Marek Polacek <polacek@redhat.com>
29307
29308 [BZ #14151]
29309 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
29310 libc_cv_asm_global_directive with .globl.
29311 * configure: Regenerated.
29312 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29313 with .globl.
29314 * sysdeps/i386/configure: Regenerated.
29315 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29316 with .globl.
29317 * sysdeps/x86_64/configure: Regenerated.
29318 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29319 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29320 * elf/tst-unique2mod2.c: Likewise.
29321 * elf/tst-unique2mod1.c: Likewise.
29322 * elf/tst-unique1mod2.c: Likewise.
29323 * elf/tst-unique1mod1.c: Likewise.
29324 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29325 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29326 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29327 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29328 * sysdeps/mach/sysdep.h: Likewise.
29329 * sysdeps/i386/sysdep.h: Likewise.
29330 * sysdeps/i386/i386-mcount.S: Likewise.
29331 * sysdeps/x86_64/_mcount.S: Likewise.
29332 * sysdeps/x86_64/sysdep.h: Likewise.
29333 * sysdeps/sh/_mcount.S: Likewise.
29334 * sysdeps/sh/sysdep.h: Likewise.
29335 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29336 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29337 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29338 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29339 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29340 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29341 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29342 * locale/localeinfo.h: Likewise.
29343 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29344 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29345
6c55cda3
RM
293462012-07-09 Roland McGrath <roland@hack.frob.com>
29347
29348 [BZ #14336]
29349 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29350 system".
29351 * manual/message.texi (The Uniforum approach): Likewise.
29352 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29353 (glibc iconv Implementation): Likewise.
29354
638a572e
JM
293552012-07-09 Joseph Myers <joseph@codesourcery.com>
29356
29357 [BZ #14337]
29358 * math/s_clog.c (__clog): Avoid scaling a value down where that
29359 could result in underflow.
29360 * math/s_clog10.c (__clog10): Likewise.
29361 * math/s_clog10f.c (__clog10f): Likewise.
29362 * math/s_clog10l.c (__clog10l): Likewise.
29363 * math/s_clogf.c (__clogf): Likewise.
29364 * math/s_clogl.c (__clogl): Likewise.
29365 * math/libm-test.inc (clog_test): Add more tests.
29366 (clog10_test): Likewise.
29367 * sysdeps/i386/fpu/libm-test-ulps: Update.
29368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29369
261f4859
AS
293702012-07-06 Andreas Schwab <schwab@linux-m68k.org>
29371
0abaf3e4
AS
29372 [BZ #14283]
29373 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29374 by 7 not 8 to examine high bit of fractional part.
29375
261f4859
AS
29376 [BZ #14042]
29377 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29378 for call to __mcount_internal.
29379 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29380 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29381 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29382
f17ac40d
JM
293832012-07-06 Joseph Myers <joseph@codesourcery.com>
29384
9ad63c23
JM
29385 [BZ #14154]
29386 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29387 approximation for values within 0x1p-13f of an odd multiple of
29388 pi/4.
29389 * math/libm-test.inc (tan_test): Do not allow spurious underflow
29390 exception. Add more tests.
29391 * sysdeps/i386/fpu/libm-test-ulps: Update.
29392
f17ac40d
JM
29393 [BZ #6778]
29394 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29395 inputs and return -1 for them. Do not check for +Inf in case not
29396 reachable for +Inf.
29397 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29398 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29399 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29400 and return -1 for them. Do not check for +Inf in case not
29401 reachable for +Inf.
29402 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29403 define.
29404 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29405 and return -1 for them. Do not check for +Inf in case not
29406 reachable for +Inf.
29407 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
29408 spurious underflow.
29409 * sysdeps/i386/fpu/libm-test-ulps: Update.
29410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29411
fb21f89b
MF
294122012-07-06 Mike Frysinger <vapier@gentoo.org>
29413
29414 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29415
cdfe2c5e
JM
294162012-07-05 Joseph Myers <joseph@codesourcery.com>
29417
29418 [BZ #14157]
29419 [BZ #14331]
29420 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29421 could result in spurious underflow. Scale down values above
29422 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29423 * math/s_csqrtf.c (__csqrtf): Likewise.
29424 * math/s_csqrtl.c (__csqrtl): Likewise.
29425 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
29426 spurious underflow.
29427 * sysdeps/i386/fpu/libm-test-ulps: Update.
29428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29429
70d35b67
AS
294302012-07-04 Andreas Schwab <schwab@linux-m68k.org>
29431
704bc459
AS
29432 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29433 xopen-msg.sed.
29434 * catgets/xopen-msg.awk: New file.
29435 * catgets/xopen-msg.sed: Removed.
29436
70d35b67
AS
29437 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29438 po2text.sed.
29439 * intl/po2test.awk: New file.
29440 * intl/po2test.sed: Removed.
29441
ca61cf32
JM
294422012-07-04 Joseph Myers <joseph@codesourcery.com>
29443
29444 [BZ #14328]
29445 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29446 or multiply small sinh result by itself.
29447 * math/s_ctanf.c (__ctanf): Likewise.
29448 * math/s_ctanh.c (__ctanh): Likewise.
29449 * math/s_ctanhf.c (__ctanhf): Likewise.
29450 * math/s_ctanhl.c (__ctanhl): Likewise.
29451 * math/s_ctanl.c (__ctanl): Likewise.
29452 * math/libm-test.inc (ctan_test_tonearest): New function.
29453 (ctan_test_towardzero): Likewise.
29454 (ctan_test_downward): Likewise.
29455 (ctan_test_upward): Likewise.
29456 (ctanh_test_tonearest): Likewise.
29457 (ctanh_test_towardzero): Likewise.
29458 (ctanh_test_downward): Likewise.
29459 (ctanh_test_upward): Likewise.
29460 (main): Call these new functions.
29461 * sysdeps/i386/fpu/libm-test-ulps: Update.
29462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29463
ca48a46a
MF
294642012-07-03 Mike Frysinger <vapier@gentoo.org>
29465
29466 * .gitignore: Delete /ports entry.
29467
9d63d37d
AJ
294682012-07-03 Andreas Jaeger <aj@suse.de>
29469
29470 * po/bg.po: Update from translation team.
29471 * po/cs.po: Likewise.
29472 * po/de.po: Likewise.
29473 * po/hr.po: Likewise.
29474 * po/nl.pl: Likewise.
29475 * po/pl.po: Likewise.
29476 * po/vi.po: Likewise.
29477
370ca3d2
JM
294782012-07-03 Joseph Myers <joseph@codesourcery.com>
29479
95f5a9a8
JM
29480 * Makeconfig [!+link] (+link-before-libc): New variable.
29481 [!+link] (+link-after-libc): Likewise.
29482 [!+link] (+link-tests): Likewise.
29483 [!+link] (+link): Define in terms of $(+link-before-libc) and
29484 $(+link-after-libc).
29485 [!+link-static] (+link-static-before-libc): New variable.
29486 [!+link-static] (+link-static-after-libc): Likewise.
29487 [!+link-static] (+link-static-tests): Likewise.
29488 [!+link-static] (+link-static): Define in terms of
29489 $(+link-static-before-libc) and $(+link-static-after-libc).
29490 [build-shared] (link-libc-before-gnulib): New variable.
29491 [build-shared] (link-libc-tests): Likewise.
29492 [build-shared] (link-libc): Define in terms of
29493 $(link-libc-before-gnulib).
29494 [!build-shared] (link-libc-tests): New variable.
29495 (link-libc-static-tests): New variable.
29496 [!gnulib] (gnulib-arch): New variable.
29497 [!gnulib] (gnulib-tests): Likewise.
29498 [!gnulib] (static-gnulib-arch): Likewise.
29499 [!gnulib] (static-gnulib-tests): Likewise.
29500 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
29501 Define with "=" instead of ":=".
29502 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
29503 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
29504 * Rules (binaries-all-notests): New variable.
29505 (binaries-all-tests): Likewise.
29506 (binaries-static-notests): Likewise.
29507 (binaries-static-tests): Likewise.
29508 (binaries-all): Define using $(binaries-all-notests) and
29509 $(binaries-all-tests).
29510 (binaries-static): Define using $(binaries-static-notests) and
29511 $(binaries-static-tests).
29512 (binaries-shared-tests): New variable.
29513 (binaries-shared-notests): Likewise.
29514 (binaries-shared): Remove variable.
29515 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
29516 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
29517 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
29518 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
29519 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
29520 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
29521 * elf/Makefile (sln-modules): New variable.
29522 (extra-objs): Add $(sln-modules:=.o).
29523 (ldconfig-modules): Add static-stubs.
29524 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
29525 * elf/static-stubs.c: New file.
29526
7a845b2c
JM
29527 [BZ #14283]
29528 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
29529 by 7 not 8 to examine high bit of fractional part. Use volatile
29530 variables when splitting into final array of floats if
29531 __FLT_EVAL_METHOD__ != 0.
29532 * math/libm-test.inc (cos_test): Add another test.
29533 (sin_test): Likewise.
29534 * sysdeps/i386/fpu/libm-test-ulps: Update.
29535
e2283f38
JM
29536 [BZ #14273]
29537 * math/libm-test.inc (cosh_test): Add more tests.
29538
370ca3d2
JM
29539 * version.h (RELEASE): Set to "development".
29540 (VERSION): Set to "2.16.90".
29541
ee9247c3
CD
295422012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
29543
29544 * NEWS: Update copyright. Remove last-updated date.
29545 Mention math library bug fixes and timezone data changes.
29546 * README: Mention GNU/Hurd, x32, and HPPA support status.
29547
4648c381
TS
295482012-06-28 Thomas Schwinge <thomas@codesourcery.com>
29549
29550 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
29551
aac78a43
AJ
295522012-06-27 Andreas Jaeger <aj@suse.de>
29553
29554 * manual/contrib.texi (Contributors): Add Samuel Thibault.
29555
ed3dbfad
AJ
295562012-06-25 Andreas Jaeger <aj@suse.de>
29557
29558 * sysdeps/s390/fpu/libm-test-ulps: Update.
29559
4d0ee855
AS
295602012-06-23 Andreas Schwab <schwab@linux-m68k.org>
29561 Thomas Schwinge <thomas@codesourcery.com>
29562
29563 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
29564 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
29565 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
29566 fanotify_mark.
29567
af1bce34
TS
295682012-06-23 Thomas Schwinge <thomas@codesourcery.com>
29569
a9fa33ba
TS
29570 * sysdeps/mach/start.c: Remove file.
29571 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
29572 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
29573 * sysdeps/sh/init-first.c: Likewise.
29574
58f902b8
TS
29575 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
29576 registers for frame unwinding purposes, add CFI directives.
29577 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29578 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
29579 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
29580 Likewise.
29581
1518f58b
TS
29582 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
29583 __fortify_fail returning.
29584 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29585
db9b5059
TS
29586 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
29587 sysdeps/sh/____longjmp_chk.S.
29588 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
29589 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
29590 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
29591 (gen-as-const-headers): Append sigaltstack-offsets.sym.
29592
967705fe
TS
29593 * sysdeps/sh/abort-instr.h: New file.
29594 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
29595 process in case exit returns.
29596
a9def8c4
TS
29597 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
29598 initialize the GOT register before use.
29599
2a649725
TS
29600 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
29601 calculation of ARGC > 4.
29602
af1bce34
TS
29603 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
29604 meaningful names to some local labels.
29605
d230f50a
KK
296062012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29607 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29608
29609 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
29610 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
29611 (__arch_compare_and_exchange_val_16_acq): Likewise.
29612 (__arch_compare_and_exchange_val_32_acq): Likewise.
29613 (atomic_exchange_and_add): Fix gUSA sequence.
29614 (atomic_add): Likewise.
29615 (atomic_add_negative): Likewise.
29616 (atomic_add_zero): Likewise.
29617 (atomic_bit_test_set): Likewise.
29618
0479b305
AS
296192012-06-22 Andreas Schwab <schwab@redhat.com>
29620
29621 [BZ #13579]
29622 * include/link.h (struct link_map): Add l_free_initfini.
29623 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
29624 l_initfini.
29625 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
29626 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
29627 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
29628 set.
29629
0e3933b9
CD
296302012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
29631
29632 * configure.in: Use AC_LANG_SOURCE.
29633 * configure: Regenerate.
29634
4248b1b1
RM
296352012-06-22 Roland McGrath <roland@hack.frob.com>
29636
29637 * configure.in (libc_cv_localstatedir): New substituted variable.
29638 * configure: Regenerated.
29639 * config.make.in (localstatedir): New variable, substituted from
29640 libc_cv_localstatedir.
29641 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
29642 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
29643 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
29644 * sysdeps/gnu/configure: Regenerated.
29645
006dd861
JL
296462012-06-21 Jeff Law <law@redhat.com>
29647
29648 [BZ #14277]
29649 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
29650 free. Simplify list management for _LIBC case.
29651
79662d42
JM
296522012-06-21 Joseph Myers <joseph@codesourcery.com>
29653
b7abb4bf
JM
29654 [BZ #14273]
29655 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29656 Clear sign bit of 64-bit integer value before comparing against
29657 overflow value.
29658
79662d42
JM
29659 * sysdeps/mach/configure: Regenerated.
29660
1f150908
L
296612012-06-21 H.J. Lu <hongjiu.lu@intel.com>
29662
29663 [BZ #14278]
29664 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
29665
28363bbf
JL
296662012-06-21 Jeff Law <law@redhat.com>
29667
29668 [BZ #13882]
29669 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
29670 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 29671 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
29672 * elf/dl-open.c (dl_open_worker): Likewise.
29673
09615db4
CD
296742012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
29675
29676 * scripts/list-sources.sh: Scan PORTS for translations.
29677 * po/libc.pot: Regenerated.
29678
2174c6dd
AJ
296792012-06-21 Andreas Jaeger <aj@suse.de>
29680
29681 [BZ #12194]
29682 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
29683 warning.
29684 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
29685 * bits/byteswap-16.h (__bswap_16): Likewise.
29686 * bits/byteswap.h (__bswap_constant_16): Likewise.
29687
3ee947b1
L
296882012-06-18 H.J. Lu <hongjiu.lu@intel.com>
29689
29690 [BZ #14117]
a2f34833
L
29691 * sysdeps/i386/fpu_control.h: Removed.
29692 * sysdeps/x86_64/fpu_control.h: Moved to ...
29693 * sysdeps/x86/fpu_control.h: Here.
29694
3ee947b1
L
29695 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
29696 (_FPU_SETCW): Likewise.
29697
ed1825f8
L
296982012-06-15 H.J. Lu <hongjiu.lu@intel.com>
29699
25f1282a
L
29700 [BZ #14117]
29701 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
29702 * sysdeps/x86/fpu/bits/mathinline.h: This.
29703 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
29704
ed1825f8
L
29705 [BZ #14050]
29706 [BZ #14117]
29707 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
29708 functions if __x86_64__ is defined.
29709
36d54b74
CLT
297102012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
29711
29712 * string/endian.h: Add !__ASSEMBLER__ condition for including
29713 conversion interfaces.
29714
10285c21
JM
297152012-06-15 Joseph Myers <joseph@codesourcery.com>
29716
29717 [BZ #14241]
29718 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
29719 of ABS(x) in calculating zero to negative powers other than odd
29720 integers.
29721 * math/libm-test.inc (pow_test): Add more tests.
29722
06c5abbd
AJ
297232012-06-15 Andreas Jaeger <aj@suse.de>
29724
29725 * manual/contrib.texi (Contributors): Update entry of Liubov
29726 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
29727 Machado Filho.
29728
a3aeac40
CH
297292012-06-15 Cyril Hrubis <metan@ucw.cz>
29730
29731 * string/string.h: Add __wur to GNU version of strerror_r.
29732
49bdf4c1
L
297332012-06-14 H.J. Lu <hongjiu.lu@intel.com>
29734
29735 [BZ #14229]
29736 * string/Makefile (tests): Add tst-strtok_r.
29737 * string/tst-strtok_r.c: New file.
29738 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
29739 RAX_LP/RDX_LP on SAVE_PTR.
29740
834f9b8d
RM
297412012-06-14 Roland McGrath <roland@hack.frob.com>
29742
29743 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
29744
75fa1921
JM
297452012-06-14 Joseph Myers <joseph@codesourcery.com>
29746
29747 * libm_test.inc (csqrt_test): Allow more spurious underflow
29748 exceptions.
29749 (j0_test): Likewise.
29750 (j1_test): Likewise.
29751 (y0_test): Likewise.
29752 (y1_test): Likewise.
29753
771766df
CD
297542012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
29755
29756 * po/Makefile (libc.pot): Use UTF-8 charset.
29757
ceb9e56b
PP
297582012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
29759
29760 [BZ #14210]
29761 Suppress sign-conversion warning from FD_SET.
29762 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
29763 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
29764 not unsigned long int.
29765 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
29766
ddb28975
L
297672012-06-12 H.J. Lu <hongjiu.lu@intel.com>
29768
29769 [BZ #14050]
29770 [BZ #14117]
29771 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
29772 __extern_always_inline instead of __extern_inline.
29773 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
29774 (__signbit): Likewise.
29775 (__signbitl): Support C++ namespace.
29776 (lrintf): New inline function.
29777 (lrint): Likewise.
29778 (llrintf): Likewise.
29779 (llrint): Likewise.
29780 (fmaxf): Likewise.
29781 (fmax): Likewise.
29782 (fminf): Likewise.
29783 (fmin): Likewise.
29784 (rint): Likewise.
29785 (rintf): Likewise.
29786 (ceil): Likewise.
29787 (ceilf): Likewise.
29788 (floor): Likewise.
29789 (floorf): Likewise.
29790 (nearbyint): Likewise.
29791 (nearbyintf): Likewise.
29792
d7b4fb26
TS
297932012-06-12 Thomas Schwinge <thomas@codesourcery.com>
29794
29795 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
29796 non-default versions.
29797
eb55f5c2
RM
297982012-06-11 Roland McGrath <roland@hack.frob.com>
29799
29800 [BZ #14218]
29801 * manual/argp.texi (Argp): Reword argp_parse description slightly.
29802
366af02c
TS
298032012-06-09 Thomas Schwinge <thomas@codesourcery.com>
29804
99ff6e5c
TS
29805 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
29806 (FE_UPWARD, FE_DOWNWARD): Don't define.
29807 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
29808 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29809
366af02c
TS
29810 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
29811 reading it.
29812 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29813 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29814
793ea851
KK
298152012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29816
29817 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29818 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
29819 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
29820 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
29821
a728a38f
L
298222012-06-06 H.J. Lu <hongjiu.lu@intel.com>
29823
29824 [BZ #14117]
c08010c7
L
29825 * sysdeps/i386/fpu/bits/fenv.h: Removed.
29826 * sysdeps/i386/fpu/Implies: New file.
29827 * sysdeps/x86_64/fpu/Implies: Likewise.
29828 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
29829 * sysdeps/x86/fpu/bits/fenv.h: This.
29830
a728a38f
L
29831 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
29832 __SSE_MATH__.
29833
6e230d11
SP
298342012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29835
29836 [BZ #14134]
29837 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
29838 character 0xffff that matches the last element of the
29839 conversion table.
29840
1b671feb
AZ
298412012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29842
29843 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
29844 fmodl commit.
29845
6043738b
AZ
298462012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29847
29848 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
29849 values higher than 25.6283.
29850
34ae0b32
AZ
298512012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29852
29853 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
29854 subnormal exponent extraction and add some __builtin_expect.
29855 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
29856 Fix for subnormal mantissa calculation.
29857
1214ec8f
MF
298582012-06-04 Mike Frysinger <vapier@gentoo.org>
29859
29860 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
29861 cpu2 is -1 and errno is not ENOSYS.
29862
f3d1f93c
L
298632012-06-04 H.J. Lu <hongjiu.lu@intel.com>
29864
29865 [BZ #14117]
0e4a3cd7
L
29866 * sysdeps/i386/i486/bits/string.h: Renamed to ...
29867 * sysdeps/x86/bits/string.h: This.
29868 * sysdeps/x86_64/bits/string.h: Removed.
29869
6704c645
L
29870 * sysdeps/i386/i486/bits/string.h: Define inline functions only
29871 if not compiling for x86-64, but compiling for >= i486.
29872
48495318
L
29873 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
29874 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
29875
14adcbfc
L
29876 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
29877 New macro from Linux kernel 3.4.0.
29878 (FP_XSTATE_MAGIC2): Likewise.
29879 (FP_XSTATE_MAGIC2_SIZE): Likewise.
29880 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
29881 (struct _fpx_sw_bytes): New struct.
29882 (struct _xsave_hdr): Likewise.
29883 (struct _ymmh_state): Likewise.
29884 (struct _xstate): Likewise.
29885
68e408ab
L
29886 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
29887 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
29888 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
29889 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
29890 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
29891 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
29892
f3d1f93c
L
29893 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
29894 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
29895 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
29896 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
29897 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
29898 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
29899
d9dc34cd
TMQMF
299002012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29901
29902 [BZ #13743]
29903 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
29904 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
29905 (sysdep_headers): Include sys/platform/ppc.h.
29906 * sysdeps/powerpc/test-gettimebase.c: Test for
29907 __ppc_get_timebase() to catch future ISA opcode/insn changes.
29908 * manual/Makefile (appendices): Include platform.texi.
29909 * manual/contrib.texi (Contributors): Update @node pointers.
29910 * manual/maint.texi (Maintenance): Likewise.
29911 (Platform): New node.
29912 * manual/platform.texi: New file. Document the new features.
29913
4af3879c
SP
299142012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29915 Jakub Jelinek <jakub@redhat.com>
29916
29917 [BZ #14188]
29918 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
29919 where __builtin_expect is unavailable.
29920
2fd6ff13
DM
299212012-06-03 David S. Miller <davem@davemloft.net>
29922
29923 * stdlib/longlong.h: Updated from GCC.
29924
173f7220
AS
299252012-06-02 Andreas Schwab <schwab@linux-m68k.org>
29926
29927 [BZ #14042]
29928 * sysdeps/powerpc/powerpc32/mcount.c: New file.
29929 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
29930 __mcount_internal.
29931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29932 (GLIBC_2.16): Likewise.
29933
f34a1c6f
L
299342012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29935
29936 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
29937
88a4576f
JM
299382012-06-01 Joseph Myers <joseph@codesourcery.com>
29939
ea32bcdd
JM
29940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
29941 (default-abi): New variable.
29942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
29943 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
29944 variable.
29945 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
29946 Likewise.
29947 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
29948 Likewise.
29949 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
29950 Likewise.
29951
88a4576f
JM
29952 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
29953 definition. Document in comment.
29954
402fe938
DM
299552012-06-01 David S. Miller <davem@davemloft.net>
29956
29957 * stdlib/longlong.h: Updated from GCC.
29958
3553723f
L
299592012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29960
29961 [BZ #14117]
3bd872c4
L
29962 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
29963 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
29964 sys/debugreg.h sys/io.h here.
29965 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
29966 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
29967 sys/io.h.
29968 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
29969 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
29970 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
29971 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
29972 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
29973 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
29974
3553723f
L
29975 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
29976 Define only if __x86_64__ is defined.
29977
4842e4fe
JM
299782012-06-01 Joseph Myers <joseph@codesourcery.com>
29979
c5bfe3d5
JM
29980 [BZ #14048]
29981 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
29982 Use int64_t for variable i.
29983 * math/libm-test.inc (fmod_test): Add more tests.
29984
4842e4fe
JM
29985 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
29986 z computation is not scheduled after fetestexcept.
29987 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
29988 Use math_force_eval instead of asm to ensure calculation scheduled
29989 before exception test.
29990 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
29991 Ensure a1 + u.d computation is not scheduled after fetestexcept.
29992
efb73488
AJ
299932012-06-01 Aurelien Jarno <aurelien@aurel32.net>
29994
29995 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
29996 computation is not scheduled after fetestexcept.
29997
29bcce7c
L
299982012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29999
30000 [BZ #14117]
30001 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30002 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30003
73a68f94
AZ
300042012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30005
30006 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30007 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30008
67b6df78
L
300092012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30010
edf2933a 30011 [BZ #14117]
ebc64a18
L
30012 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30013 <bits/wordsize.h>.
30014 (__WCHAR_MIN): Support __WORDSIZE == 64.
30015 (__WCHAR_MAX): Likewise.
30016
edf2933a
L
30017 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30018 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30019
57c6cf40
L
30020 [BZ #14183]
30021 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30022 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30023
67b6df78 30024 [BZ #14117]
8eb6281e
L
30025 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30026 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30027
aac639f4
L
30028 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30029 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30030
67b6df78
L
30031 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30032 Defined to 1 if __x86_64__ isn't defined.
30033 (_STAT_VER_LINUX_OLD): New.
30034 (st_atime): Remove duplicate.
30035 (st_mtime): Likewise.
30036 (st_ctime): Likewise.
30037
1c2cfe81
DM
300382012-05-31 David S. Miller <davem@davemloft.net>
30039
30040 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30041 entries.
30042
5be8418c
AS
300432012-06-01 Andreas Schwab <schwab@linux-m68k.org>
30044
e7725326
AS
30045 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30046 gen-libm-test.pl.
30047
5be8418c
AS
30048 [BZ #14132]
30049 * elf/dl-reloc.c: Include <_itoa.h>.
30050 (_dl_reloc_bad_type): Remove use of INTUSE.
30051 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30052 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30053 * stdio-common/psiginfo.c (psiginfo): Likewise.
30054 * stdio-common/psignal.c (psignal): Likewise.
30055 * string/strsignal.c (strsignal): Likewise.
30056 * include/signal.h (_sys_siglist): Declare hidden proto.
30057 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
30058 INTVARDEF with libc_hidden_data_def.
30059 * stdio-common/itoa-udigits.c: Likewise.
30060 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30061 (_itoa_lower_digits_internal): Remove declaration.
30062 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30063 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30064 (_sys_sigabbrev_internal): Remove aliases.
30065 (_sys_siglist): Define hidden alias.
30066
507352f1
MT
300672012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
30068
30069 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30070 bits/sysctl.h.
30071
42bbb1c3
L
300722012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30073
30074 [BZ #14117]
6bd784b6
L
30075 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30076 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30077
8bca20f0
L
30078 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30079 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30080 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30081 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30082 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30083 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30084
f9e890a9
L
30085 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30086 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30087 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30088
471101a1
L
30089 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30090 with __addr.
30091 (insw): Likewise.
30092 (insl): Likewise.
30093 (outsb): Likewise.
30094 (outsw): Likewise.
30095 (outsl): Likewise.
30096
6451c862
L
30097 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30098 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30099 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30100
a254b8c9
L
30101 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30102 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30103 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30104 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30105 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30106 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30107
b8dfdd92
L
30108 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30109 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30110
578cd270
L
30111 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30112 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30113
de662f5f
L
30114 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30115 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30116 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30117
25653439
L
30118 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30119 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30120 to ...
30121 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30122
6bad24a0
L
30123 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30124 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30125 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30126
42bbb1c3
L
30127 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30128 for x86-64.
30129 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30130
2d10d547
JM
301312012-05-31 Joseph Myers <joseph@codesourcery.com>
30132
30133 * math/math.h (M_El): Use two more decimal places.
30134 (M_LOG2El): Likewise.
30135 (M_LOG10El): Likewise.
30136 (M_LN2l): Likewise.
30137 (M_LN10l): Likewise.
30138 (M_PIl): Likewise.
30139 (M_PI_2l): Likewise.
30140 (M_PI_4l): Likewise.
30141 (M_1_PIl): Likewise.
30142 (M_2_PIl): Likewise.
30143 (M_2_SQRTPIl): Likewise.
30144 (M_SQRT2l): Likewise.
30145 (M_SQRT1_2l): Likewise.
30146
f230c29b
DM
301472012-05-31 David S. Miller <davem@davemloft.net>
30148
30149 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30150 values between float registers.
30151 * sysdeps/sparc/sparc64/memset.S: Likewise.
30152 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30153
fed806c3
MF
301542012-05-31 Mike Frysinger <vapier@gentoo.org>
30155
30156 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30157 -D_FORTIFY_SOURCE=1.
30158 (CPPFLAGS-tst-longjmp_chk.c): Define.
30159 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30160 (CPPFLAGS-tst-longjmp_chk2.c): Define.
30161 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30162 CFLAGS-tst-wchar-h.c.
30163
30917259
MP
301642012-05-31 Marek Polacek <polacek@redhat.com>
30165
30166 [BZ #14132]
30167 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30168 __endmntent_internal): Remove declaration.
30169 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30170 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30171 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30172
1c58d5dc
DM
301732012-05-30 David S. Miller <davem@davemloft.net>
30174
30175 * sysdeps/sparc/sparc32/soft-fp/q_util.c
30176 (___Q_simulate_exceptions): Use real FP ops rather than writing
30177 into the %fsr.
30178 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30179 Likewise.
30180
7dc00e0d
L
301812012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30182
30183 [BZ #14117]
0bd53985
L
30184 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30185 * sysdeps/x86/bits/xtitypes.h: This.
30186
3a257e66
L
30187 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30188 * sysdeps/x86/bits/wordsize.h: This.
30189
62f62904
L
30190 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30191 * sysdeps/x86/bits/huge_vall.h: This.
30192
404fe9d9
L
30193 * sysdeps/i386/bits/select.h: Removed.
30194 * sysdeps/x86_64/bits/select.h: Renamed to ...
30195 * sysdeps/x86/bits/select.h: This.
30196
d48d0446
L
30197 * sysdeps/i386/bits/setjmp.h: Removed.
30198 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30199 * sysdeps/x86/bits/setjmp.h: This.
30200
7dc00e0d
L
30201 * sysdeps/i386/bits/mathdef.h: Removed.
30202 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30203 * sysdeps/x86/bits/mathdef.h: This.
30204
03277f8f
AS
302052012-05-30 Andreas Schwab <schwab@linux-m68k.org>
30206
30207 [BZ #14132]
30208 * include/sys/socket.h (__connect_internal)
30209 (__libc_sa_len_internal): Remove declaration.
30210 (__connect, __libc_sa_len): Declare hidden_proto.
30211 (SA_LEN): Remove use of INTUSE.
30212 * socket/connect.c: Add libc_hidden_def.
30213 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30214 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30215 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30216 alias.
30217 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30218 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30219 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30220 of adding _internal alias.
30221
13764867
L
302222012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30223
30224 [BZ #14117]
6bd97696
L
30225 * sysdeps/i386/bits/link.h: Removed.
30226 * sysdeps/i386/bits/linkmap.h: Likewise.
30227 * sysdeps/x86_64/bits/link.h: Renamed to ...
30228 * sysdeps/x86/bits/link.h: This.
30229 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30230 * sysdeps/x86/bits/linkmap.h: This.
30231
f726f0bb
L
30232 * sysdeps/i386/bits/endian.h: Removed.
30233 * sysdeps/x86_64/bits/endian.h: Renamed to ...
30234 * sysdeps/x86/bits/endian.h: This.
30235
13764867
L
30236 * sysdeps/i386/bits/byteswap.h: Removed.
30237 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30238 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30239 * sysdeps/x86/bits/byteswap.h: This.
30240 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30241 * sysdeps/x86/bits/byteswap-16.h: This.
30242 * sysdeps/i386/Implies: Add x86.
30243 * sysdeps/x86_64/Implies: Likewise.
30244
ae251b0b
DM
302452012-05-30 David S. Miller <davem@davemloft.net>
30246
30247 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30248 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30249 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30250 (FP_TRAPPING_EXCEPTIONS): Define.
30251 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30252 (FP_TRAPPING_EXCEPTIONS): Define.
30253 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30254 subnormals only when inexact has been signalled or underflow
30255 exceptions are enabled.
30256 (_FP_PACK_CANONICAL): Likewise.
30257
d5c90867
L
302582012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30259
30260 [BZ #14183]
30261 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30262 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30263
63f1549e
RH
302642012-05-30 Richard Henderson <rth@twiddle.net>
30265
8d8f2279
RH
30266 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30267 with #ifndef NOT_IN_libc.
30268
63f1549e
RH
30269 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
30270 marked to avoid plt entry.
30271
0ab0291b
L
302722012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30273
30274 [BZ #14112]
30275 * Makeconfig (default-abi): New macro.
30276 (abi-includes): Likewise.
30277 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
30278 $(abi-$(default-abi)-lib-soname) for soname if defined.
30279 ($(common-objpfx)gnu/lib-names.stmp): Generate from
30280 abi-variants.
30281 * Makefile (installed-stubs): Likewise.
30282 * include/stubs-biarch.h: Removed.
30283 * scripts/lib-names.awk: Only handle one library at a time.
30284 * scripts/soversions.awk: Remove WORDSIZE support.
30285 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30286 entries.
30287 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30288 Removed.
30289 (syscall-list-default-condition): Likewise.
30290 (syscall-list-default-condition): Likewise.
30291 (syscall-list-includes): Likewise.
30292 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30293 syscall-list-* with abi-*. Handle undefined abi-variants.
30294 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30295 * sysdeps/unix/sysv/linux/i386/Implies: New file.
30296 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30297 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30298 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30299 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30300 Removed.
30301 (syscall-list-32-options): Likewise.
30302 (syscall-list-32-condition): Likewise.
30303 (syscall-list-64-options): Likewise.
30304 (syscall-list-64-condition): Likewise.
30305 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30306 macro.
30307 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30308 Renamed to ...
30309 (abi-*): This.
30310 (abi-64-ld-soname): New macro.
30311 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30312 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30313 Renamed to ...
30314 (abi-*): This.
30315 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30316 * sysdeps/x86_64/x32/shlib-versions: Likewise.
30317
4da0431d
JM
303182012-05-30 Joseph Myers <joseph@codesourcery.com>
30319
3a85279c
JM
30320 * sysdeps/unix/sysv/linux/kernel-features.h
30321 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30322 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30323 include <kernel-features.h>.
30324 [!__NR_ftruncate64]: Remove conditional code.
30325 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30326 [__NR_ftruncate64]: Make code unconditional.
30327 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30328 * sysdeps/unix/sysv/linux/truncate64.c: Do not
30329 include <kernel-features.h>.
30330 [!__NR_ftruncate64]: Remove conditional code.
30331 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30332 [__NR_ftruncate64]: Make code unconditional.
30333 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30335 include <kernel-features.h>.
30336 [!__NR_ftruncate64]: Remove conditional code.
30337 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30338 [__NR_ftruncate64]: Make code unconditional.
30339 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30341 include <kernel-features.h>.
30342 [!__NR_ftruncate64]: Remove conditional code.
30343 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30344 [__NR_ftruncate64]: Make code unconditional.
30345 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30346
4da0431d
JM
30347 * configure.in (libc_cv_fpie): Weaken to a compile test using
30348 LIBC_TRY_CC_OPTION.
30349 * configure: Regenerated.
30350
11ef492c
AK
303512012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30352
30353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30357 Refreshed.
30358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30361 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30364 Refreshed.
30365
d66ef399
DM
303662012-05-27 David S. Miller <davem@davemloft.net>
30367
30368 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30369 (___Q_zero): New.
30370 (__Q_simulate_exceptions): Return void. Change to simulate
30371 exceptions by writing into the %fsr.
30372 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30373 (__Qp_handle_exceptions): Likewise.
30374 (numbers): Delete.
30375 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30376 __Qp_handle_exceptions.
30377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30378 __Qp_handle_exceptions.
30379 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30380 as unused and give dummy FP_RND_NEAREST initializer.
30381 (FP_INHIBIT_RESULTS): Define.
30382 (___Q_simulate_exceptions): Update declaration.
30383 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30384 formatting.
30385 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30386 as unused and give dummy FP_RND_NEAREST initializer.
30387 (__Qp_handle_exceptions): Update declaration.
30388 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30389 formatting.
30390
04fb54b5
TS
303912012-05-27 Thomas Schwinge <thomas@codesourcery.com>
30392
30393 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30394 the temporary FPU control word.
30395 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30396 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30397 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30398 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30399 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30400 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30401 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30402 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30403 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30404 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30405 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30406
3f99608f
KK
304072012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30408
30409 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30410 fields.
30411
65a4de4e
CLT
304122012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
30413
30414 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30415 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30416 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30417 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30418 Likewise.
30419 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30420 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30421 Likewise.
30422
15749d40
UD
304232012-05-27 Ulrich Drepper <drepper@gmail.com>
30424
30425 * po/h.po: Update from translation team.
30426
25dbcb27
AS
304272012-05-26 Andreas Schwab <schwab@linux-m68k.org>
30428
3d3f8e55
AS
30429 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30430
25dbcb27
AS
30431 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30432 handling of denormals.
30433 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30434 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30435 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30436 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30437 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30438 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30439 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30440 Likewise.
30441
7ad47a80 304422012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
30443
30444 [BZ #14152]
30445 * math/libm-test.inc (fma_test): Don't always expect underflow
30446 exception.
30447
9c6ea9fa
SP
304482012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30449
30450 [BZ #12416]
30451 * elf/tst-execstack.c: Include stackinfo.h.
30452 (do_test): Adjust test case to ensure that pthread_getattr_np
30453 behaviour remains the same after marking stack executable.
30454
a8239222
JM
304552012-05-25 Joseph Myers <joseph@codesourcery.com>
30456
30457 * sysdeps/unix/sysv/linux/kernel-features.h
30458 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30459 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30460 kernel-features.h.
30461 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30462 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30463 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30464 kernel-features.h.
30465 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30466 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30467
918b5606
L
304682012-05-25 H.J. Lu <hongjiu.lu@intel.com>
30469
30470 * configure.in: Define the default includes to being none.
30471 * configure: Regenerated.
30472
3a097cc7
RM
304732012-05-25 Roland McGrath <roland@hack.frob.com>
30474
8422c9a5
RM
30475 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30476 * sysdeps/x86_64/setjmp.S: Likewise.
30477 * sysdeps/i386/bsd-setjmp.S: Likewise.
30478 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30479 * sysdeps/i386/setjmp.S: Likewise.
30480 * sysdeps/i386/__longjmp.S: Likewise.
30481 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30482 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30483
3a097cc7
RM
30484 * include/stap-probe.h: New file.
30485 * configure.in: Handle --enable-systemtap.
30486 * configure: Regenerated.
30487 * config.h.in (USE_STAP_PROBE): New #undef.
30488 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30489 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30490 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30491
21708942
JM
304922012-05-25 Joseph Myers <joseph@codesourcery.com>
30493
30494 [BZ #13717]
30495 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30496 to 2.4.0 where earlier.
30497 * sysdeps/unix/sysv/linux/configure: Regenerated.
30498 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30499 <kernel-features.h>.
30500 [__ASSUME_32BITUIDS]: Make code unconditional.
30501 [!__ASSUME_32BITUIDS]: Remove conditional code.
30502 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
30503 <kernel-features.h>.
30504 [__ASSUME_32BITUIDS]: Make code unconditional.
30505 [!__ASSUME_32BITUIDS]: Remove conditional code.
30506 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
30507 [__ASSUME_32BITUIDS]: Make code unconditional.
30508 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
30509 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/lchown.c: Do not include
30538 <kernel-features.h>.
30539 [__ASSUME_32BITUIDS]: Make code unconditional.
30540 [!__ASSUME_32BITUIDS]: Remove conditional code.
30541 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30542 <kernel-features.h>.
30543 [__ASSUME_32BITUIDS]: Make code unconditional.
30544 [!__ASSUME_32BITUIDS]: Remove conditional code.
30545 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
30546 <kernel-features.h>.
30547 [__ASSUME_32BITUIDS]: Make code unconditional.
30548 [!__ASSUME_32BITUIDS]: Remove conditional code.
30549 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
30550 <kernel-features.h>.
30551 [__NR_setresgid] (__setresgid): Do not declare.
30552 [__ASSUME_32BITUIDS]: Make code unconditional.
30553 [!__ASSUME_32BITUIDS]: Remove conditional code.
30554 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
30555 <kernel-features.h>.
30556 [__NR_setresuid] (__setresuid): Do not declare.
30557 [__ASSUME_32BITUIDS]: Make code unconditional.
30558 [!__ASSUME_32BITUIDS]: Remove conditional code.
30559 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
30560 <kernel-features.h>.
30561 [__ASSUME_32BITUIDS]: Make code unconditional.
30562 [!__ASSUME_32BITUIDS]: Remove conditional code.
30563 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
30564 <kernel-features.h>.
30565 [__ASSUME_32BITUIDS]: Make code unconditional.
30566 [!__ASSUME_32BITUIDS]: Remove conditional code.
30567 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
30568 <kernel-features.h>.
30569 [__ASSUME_32BITUIDS]: Make code unconditional.
30570 [!__ASSUME_32BITUIDS]: Remove conditional code.
30571 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
30572 <kernel-features.h>.
30573 [__ASSUME_32BITUIDS]: Make code unconditional.
30574 [!__ASSUME_32BITUIDS]: Remove conditional code.
30575 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
30576 <kernel-features.h>.
30577 [__ASSUME_32BITUIDS]: Make code unconditional.
30578 [!__ASSUME_32BITUIDS]: Remove conditional code.
30579 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
30580 <kernel-features.h>.
30581 [__ASSUME_32BITUIDS]: Make code unconditional.
30582 [!__ASSUME_32BITUIDS]: Remove conditional code.
30583 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
30584 <kernel-features.h>.
30585 [__ASSUME_32BITUIDS]: Make code unconditional.
30586 [!__ASSUME_32BITUIDS]: Remove conditional code.
30587 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
30588 <kernel-features.h>.
30589 [__ASSUME_32BITUIDS]: Make code unconditional.
30590 [!__ASSUME_32BITUIDS]: Remove conditional code.
30591 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
30592 <kernel-features.h>.
30593 [__ASSUME_32BITUIDS]: Make code unconditional.
30594 [!__ASSUME_32BITUIDS]: Remove conditional code.
30595 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30596 <kernel-features.h>.
30597 [__ASSUME_32BITUIDS]: Make code unconditional.
30598 [!__ASSUME_32BITUIDS]: Remove conditional code.
30599 * sysdeps/unix/sysv/linux/kernel-features.h
30600 (__ASSUME_SETRESUID_SYSCALL): Remove.
30601 (__ASSUME_SETRESGID_SYSCALL): Likewise.
30602 (__ASSUME_32BITUIDS): Likewise.
30603 (__ASSUME_LDT_WORKS): Likewise.
30604 (__ASSUME_O_DIRECTORY): Likewise.
30605 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
30606 architecture but not kernel version.
30607 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30608 (__ASSUME_MMAP2_SYSCALL): Likewise.
30609 (__ASSUME_STAT64_SYSCALL): Likewise.
30610 (__ASSUME_IPC64): Likewise.
30611 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
30612 <kernel-features.h>.
30613 [__ASSUME_32BITUIDS]: Make code unconditional.
30614 [!__ASSUME_32BITUIDS]: Remove conditional code.
30615 * sysdeps/unix/sysv/linux/opendir.c: Do not include
30616 <kernel-features.h>.
30617 [__ASSUME_O_DIRECTORY]: Make code unconditional.
30618 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
30619 132096]: Remove conditional code.
30620 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
30621 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30622 <kernel-features.h>.
30623 [__ASSUME_32BITUIDS]: Make code unconditional.
30624 [!__ASSUME_32BITUIDS]: Remove conditional code.
30625 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30626 <kernel-features.h>.
30627 [__ASSUME_32BITUIDS]: Make code unconditional.
30628 [!__ASSUME_32BITUIDS]: Remove conditional code.
30629 * sysdeps/unix/sysv/linux/setegid.c: Do not include
30630 <kernel-features.h>.
30631 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
30632 unconditional.
30633 (__setresgid): Do not declare.
30634 [__ASSUME_32BITUIDS]: Make code unconditional.
30635 [!__ASSUME_32BITUIDS]: Remove conditional code.
30636 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
30637 <kernel-features.h>.
30638 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
30639 unconditional.
30640 (__setresuid): Do not declare.
30641 [__ASSUME_32BITUIDS]: Make code unconditional.
30642 [!__ASSUME_32BITUIDS]: Remove conditional code.
30643 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30644 <kernel-features.h>.
30645 [__ASSUME_32BITUIDS]: Make code unconditional.
30646 [!__ASSUME_32BITUIDS]: Remove conditional code.
30647 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
30648 <kernel-features.h>.
30649 [__ASSUME_32BITUIDS]: Make code unconditional.
30650 [!__ASSUME_32BITUIDS]: Remove conditional code.
30651
a386f1cc
RH
306522012-05-25 Richard Henderson <rth@twiddle.net>
30653
30654 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
30655 dl_hwcap to ifunc resolver.
30656 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
30657 elf_ifunc_invoke.
30658 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
30659 dl_hwcap to ifunc resolver.
30660 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
30661
b6550497
JM
306622012-05-24 Joseph Myers <joseph@codesourcery.com>
30663
30664 [BZ #14153]
30665 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
30666 for |x| <= 2**-26, not 2**-57.
30667 * math/libm-test.inc (acos_test): Do not allow spurious underflow
30668 exception.
30669
b0bc23a1
JL
306702012-05-24 Jeff Law <law@redhat.com>
30671
30672 * stdio-common/Makefile (tests): Add bug25.
30673 * stdio-common/bug25.c: New test.
30674
347c92e9
L
306752012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30676
30677 [BZ #13576]
30678 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
30679 multiple of MALLOC_ALIGNMENT in size.
30680 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
30681
6bcc8b3f
JM
306822012-05-24 Joseph Myers <joseph@codesourcery.com>
30683
30684 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
30685 Require >= 256.
30686 (FILENAME_MAX): Use macro-int-constant.
30687 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
30688 (_IOFBF): Use macro-int-constant.
30689 (_IOLBF): Likewise.
30690 (_IONBF): Likewise.
30691 (SEEK_CUR): Likewise.
30692 (SEEK_END): Likewise.
30693 (SEEK_SET): Likewise.
30694 (TMP_MAX): Likewise.
30695 (EOF): Use macro-int-constant. Require < 0.
30696 (NULL): Use macro-constant. Require == 0.
30697 (stdin): Require type to be FILE *.
30698 (stdout): Likewise.
30699 (stderr): Likewise.
30700 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
30701 macro-int-constant.
30702 (EXIT_SUCCESS): Likewise.
30703 (NULL): Use macro-constant. Require == 0.
30704 (RAND_MAX): Use macro-int-constant.
30705 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
30706 [C99-based standards] (strtof): Require function.
30707 [C99-based standards] (strtold): Likewise.
30708 [C99-based standards] (strtoll): Likewise.
30709 [C99-based standards] (strtoull): Likewise.
30710 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30711 [ISO || ISO99 || ISO11] (limits.h): Likewise.
30712 [ISO || ISO99 || ISO11] (math.h): Likewise.
30713 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
30714 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30715 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30716
d18ea0c5
AS
307172012-05-24 Andreas Schwab <schwab@linux-m68k.org>
30718
30719 [BZ #14132]
56d25bb8
AS
30720 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
30721 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
30722 * intl/dgettext.c (DCGETTEXT): Likewise.
30723 * intl/gettext.c (DCGETTEXT): Likewise.
30724 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
30725 * posix/regex_internal.h (gettext): Likewise.
30726 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
30727 Remove declaration.
30728 * include/argz.h (__argz_count_internal)
30729 (__argz_stringify_internal): Remove declaration.
30730 (__argz_count, __argz_stringify): Declare hidden proto.
30731 * intl/dcgettext.c: Remove use of INTDEF.
30732 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
30733 * string/argz-stringify.c: Likewise.
30734 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30735 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30736 Declare hidden proto.
d18ea0c5
AS
30737 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30738 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30739 Declare hidden proto.
30740 * include/stdio.h (__asprintf_internal): Don't declare.
30741 (__asprintf): Don't define as macro. Declare hidden proto.
30742 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
30743 (__fsetlocking): Declare hidden proto.
30744 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
30745 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
30746 hidden proto.
30747 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
30748 (_IO_setlinebuf): Remove use of INTUSE.
30749 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
30750 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
30751 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
30752 Remove declaration.
30753 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
30754 (_IO_do_flush): Remove use of INTUSE.
30755 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
30756 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
30757 (_IO_adjust_column, _IO_least_wmarker)
30758 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
30759 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
30760 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
30761 (_IO_default_doallocate, _IO_wdefault_doallocate)
30762 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
30763 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
30764 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
30765 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
30766 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
30767 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
30768 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
30769 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
30770 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
30771 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
30772 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
30773 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
30774 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
30775 proto.
30776 (_IO_flush_all_internal, _IO_adjust_column_internal)
30777 (_IO_default_uflow_internal, _IO_default_finish_internal)
30778 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
30779 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
30780 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
30781 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
30782 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
30783 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
30784 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
30785 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
30786 (_IO_file_close_internal, _IO_file_close_it_internal)
30787 (_IO_file_underflow_internal, _IO_file_overflow_internal)
30788 (_IO_file_init_internal, _IO_file_attach_internal)
30789 (_IO_file_fopen_internal, _IO_file_read_internal)
30790 (_IO_file_sync_internal, _IO_file_seek_internal)
30791 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
30792 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
30793 (_IO_str_underflow_internal, _IO_str_overflow_internal)
30794 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
30795 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
30796 (_IO_list_all_internal, _IO_link_in_internal)
30797 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
30798 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
30799 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
30800 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
30801 (_IO_do_write_internal, _IO_padn_internal)
30802 (_IO_getline_info_internal, _IO_getline_internal)
30803 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
30804 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
30805 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
30806 (_IO_vfscanf_internal, _IO_vfprintf_internal)
30807 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
30808 (_IO_init_internal, _IO_un_link_internal): Don't declare.
30809 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
30810 with libc_hidden_ver, remove use of INTUSE.
30811 * libio/genops.c: Likewise.
30812 * libio/freopen.c: Likewise.
30813 * libio/freopen64.c: Likewise.
30814 * libio/iofclose.c: Likewise.
30815 * libio/iofdopen.c: Likewise.
30816 * libio/iofflush.c: Likewise.
30817 * libio/iofflush_u.c: Likewise.
30818 * libio/iofgets.c: Likewise.
30819 * libio/iofgets_u.c: Likewise.
30820 * libio/iofopen.c: Likewise.
30821 * libio/iofopncook.c: Likewise.
30822 * libio/iofread.c: Likewise.
30823 * libio/iofread_u.c: Likewise.
30824 * libio/ioftell.c: Likewise.
30825 * libio/iofwrite.c: Likewise.
30826 * libio/iogetline.c: Likewise.
30827 * libio/iogets.c: Likewise.
30828 * libio/iogetwline.c: Likewise.
30829 * libio/iopadn.c: Likewise.
30830 * libio/iopopen.c: Likewise.
30831 * libio/ioseekoff.c: Likewise.
30832 * libio/ioseekpos.c: Likewise.
30833 * libio/iosetbuffer.c: Likewise.
30834 * libio/iosetvbuf.c: Likewise.
30835 * libio/ioungetc.c: Likewise.
30836 * libio/ioungetwc.c: Likewise.
30837 * libio/iovdprintf.c: Likewise.
30838 * libio/iovsprintf.c: Likewise.
30839 * libio/iovsscanf.c: Likewise.
30840 * libio/memstream.c: Likewise.
30841 * libio/obprintf.c: Likewise.
30842 * libio/oldfileops.c: Likewise.
30843 * libio/oldiofclose.c: Likewise.
30844 * libio/oldiofdopen.c: Likewise.
30845 * libio/oldiofopen.c: Likewise.
30846 * libio/oldiopopen.c: Likewise.
30847 * libio/oldstdfiles.c: Likewise.
30848 * libio/putc.c: Likewise.
30849 * libio/setbuf.c: Likewise.
30850 * libio/setlinebuf.c: Likewise.
30851 * libio/stdfiles.c: Likewise.
30852 * libio/strops.c: Likewise.
30853 * libio/vasprintf.c: Likewise.
30854 * libio/vscanf.c: Likewise.
30855 * libio/vsnprintf.c: Likewise.
30856 * libio/vswprintf.c: Likewise.
30857 * libio/wfiledoalloc.c: Likewise.
30858 * libio/wfileops.c: Likewise.
30859 * libio/wgenops.c: Likewise.
30860 * libio/wmemstream.c: Likewise.
30861 * libio/wstrops.c: Likewise.
30862 * libio/__fpurge.c: Likewise.
30863 * libio/__fsetlocking.c: Likewise.
30864 * assert/assert.c: Likewise.
30865 * debug/fgets_chk.c: Likewise.
30866 * debug/fgets_u_chk.c: Likewise.
30867 * debug/fread_chk.c: Likewise.
30868 * debug/fread_u_chk.c: Likewise.
30869 * debug/gets_chk.c: Likewise.
30870 * debug/obprintf_chk.c: Likewise.
30871 * debug/vasprintf_chk.c: Likewise.
30872 * debug/vdprintf_chk.c: Likewise.
30873 * debug/vsnprintf_chk.c: Likewise.
30874 * debug/vsprintf_chk.c: Likewise.
30875 * malloc/mtrace.c: Likewise.
30876 * misc/error.c: Likewise.
30877 * misc/syslog.c: Likewise.
30878 * stdio-common/asprintf.c: Likewise.
30879 * stdio-common/fxprintf.c: Likewise.
30880 * stdio-common/getw.c: Likewise.
30881 * stdio-common/isoc99_fscanf.c: Likewise.
30882 * stdio-common/isoc99_scanf.c: Likewise.
30883 * stdio-common/isoc99_vfscanf.c: Likewise.
30884 * stdio-common/isoc99_vscanf.c: Likewise.
30885 * stdio-common/isoc99_vsscanf.c: Likewise.
30886 * stdio-common/printf-prs.c: Likewise.
30887 * stdio-common/printf_fp.c: Likewise.
30888 * stdio-common/printf_fphex.c: Likewise.
30889 * stdio-common/printf_size.c: Likewise.
30890 * stdio-common/putw.c: Likewise.
30891 * stdio-common/scanf.c: Likewise.
30892 * stdio-common/sprintf.c: Likewise.
30893 * stdio-common/tmpfile.c: Likewise.
30894 * stdio-common/vfprintf.c: Likewise.
30895 * stdio-common/vfscanf.c: Likewise.
30896 * stdlib/strfmon_l.c: Likewise.
30897 * sunrpc/openchild.c: Likewise.
30898 * sunrpc/xdr_stdio.c: Likewise.
30899 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
30900 * sysdeps/mach/hurd/tmpfile.c: Likewise.
30901
d6c33fda
RM
309022012-05-24 Roland McGrath <roland@hack.frob.com>
30903
c1487492
RM
30904 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30905
30906 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
30907 in the third column, to generate for the shared library an IFUNC
30908 that uses _dl_vdso_vsym.
30909 * Makerules (COMPILE.c, compile-stdin.c): New variables.
30910 * Makeconfig (object-suffixes-noshared): New variable.
30911
30912 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
30913 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
30914 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
30915 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
30916
d6c33fda
RM
30917 [BZ #14132]
30918 * include/sys/time.h (__gettimeofday): Remove macro.
30919 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
30920 * time/gettimeofday.c (__gettimeofday): Remove #undef.
30921 Remove INTDEF.
30922 (__gettimeofday): Add libc_hidden_def.
30923 (gettimeofday): Add libc_hidden_weak.
30924 * sysdeps/mach/gettimeofday.c: Likewise.
30925 * sysdeps/posix/gettimeofday.c: Likewise.
30926 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30927 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30928 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
30929 (__gettimeofday_internal): Remove strong_alias.
30930 (__gettimeofday): Add libc_hidden_def.
30931 (gettimeofday): Add libc_hidden_weak.
30932 * sysdeps/unix/syscalls.list (gettimeofday):
30933 Remove __gettimeofday_internal alias.
30934
b5a2bbe6
L
309352012-05-24 Daniel Jacobowitz <drow@false.org>
30936 H.J. Lu <hongjiu.lu@intel.com>
30937
30938 [BZ #12495]
30939 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
30940 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
30941 (largebin_index_32_big): New.
30942 (largebin_index): Use it for 16-byte alignment.
30943 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
30944 correction with front_misalign.
30945
cfba4fda
L
309462012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30947
7f907421
L
30948 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
30949 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
30950 Likewise.
30951 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
30952 Likewise.
30953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30954 Likewise.
30955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
30956 Likewise.
30957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
30958 Likewise.
30959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
30960 Likewise.
30961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
30962 Likewise.
30963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30964 Likewise.
30965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
30966 Likewise.
30967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
30968 Likewise.
30969 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
30970 Likewise.
30971 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
30972 Likewise.
30973
cfba4fda
L
30974 * scripts/data/c++-types-x32-linux-gnu.data: New file.
30975 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
30976
80bad0cc
JM
309772012-05-24 Joseph Myers <joseph@codesourcery.com>
30978
7a25eb06
JM
30979 [BZ #10846]
30980 [BZ #14036]
30981 * math/libm-test.inc (exp_test): Add test from bug 14036.
30982 (pow_test): Add test from bug 10846.
30983
795405f9
JM
30984 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
30985 and other flags.
30986 (special_function): Do not include flags in test name.
30987 (parse_args): Likewise.
30988 * sysdeps/i386/fpu/libm-test-ulps: Update.
30989 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30990 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30991 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30993
80bad0cc
JM
30994 * math/gen-libm-test.pl (%beautify): Add entries for underflow
30995 exceptions.
30996 * math/libm-test.inc ("Philosophy"): Update comment about
30997 exception testing.
30998 (UNDERFLOW_EXCEPTION): New macro.
30999 (UNDERFLOW_EXCEPTION_OK): Likewise.
31000 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31001 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31002 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31003 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31004 (INVALID_EXCEPTION_OK): Update value.
31005 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31006 (OVERFLOW_EXCEPTION_OK): Likewise.
31007 (IGNORE_ZERO_INF_SIGN): Likewise.
31008 (test_exceptions): Handle underflow exceptions.
31009 (acos_test): Update for underflow exception expectations.
31010 (cexp_test): Likewise.
31011 (clog_test): Likewise.
31012 (clog10_test): Likewise.
31013 (csqrt_test): Likewise.
31014 (ctan_test): Likewise.
31015 (ctanh_test): Likewise.
31016 (exp_test): Likewise.
31017 (exp10_test): Likewise.
31018 (exp2_test): Likewise.
31019 (expm1_test): Likewise.
31020 (fma_test): Likewise.
31021 (j0_test): Likewise.
31022 (jn_test): Likewise.
31023 (nexttoward_test): Likewise.
31024 (pow_test): Likewise.
31025 (scalbn_test): Likewise.
31026 (scalbln_test): Likewise.
31027 (tan_test): Likewise.
31028 (y1_test): Likewise.
31029 * sysdeps/i386/fpu/libm-test-ulps: Update.
31030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31031
9e0e3d0b
DM
310322012-05-23 David S. Miller <davem@davemloft.net>
31033
31034 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31035 (__libc_sigaction): Remove unused local variables.
31036
ccd0a08f
L
310372012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31038
31039 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31040
62bdf9a6
PE
310412012-05-23 Paul Eggert <eggert@cs.ucla.edu>
31042
f8591f80
PE
31043 mktime: avoid signed integer overflow
31044 * time/mktime.c (__mktime_internal): Do not mishandle the case
31045 where diff == INT_MIN.
31046
94c7d826
PE
31047 mktime: simplify computation of average
31048 * time/mktime.c (ranged_convert): Use new time_t_avg function
31049 instead of rolling our own (probably-slower) code.
31050
ce73d683
PE
31051 mktime: do not assume signed right shift propagates sign bit
31052 * time/mktime.c (isdst_differ): New static function.
31053 (__mktime_internal): No need to normalize tm_isdst now.
31054 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31055 tm_isdst values.
31056
72a22e59
PE
31057 mktime: merge another wrapv change from gnulib
31058 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31059 from some compilers.
31060
68605433
PE
31061 mktime: remove incorrect attempt at unusual arithmetics
31062 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31063 The code didn't really work on such machines anyway.
31064 (TYPE_MINIMUM): Assume two's complement.
31065 (twos_complement_arithmetic): Verify that long_int and time_t
31066 are two's complement (or unsigned, in the latter case).
31067
03cf7fe3
PE
31068 mktime: check signed shifts on long_int and time_t, too
31069 * time/mktime.c (SHR): Check that shifts work as desired
31070 on the types long_int and time_t too, as SHR is used on
31071 such types.
31072
f04dfbc2
PE
31073 mktime: do not assume 'long' is wide enough
31074 * time/mktime.c (verify): Move decl up.
31075 (long_int): New type.
31076 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31077 to remove assumption in the code that 'long' is wide enough to
31078 store year values. This assumption is not true on x32 and on
31079 some non-glibc platforms.
31080
62bdf9a6
PE
31081 mktime: merge wrapv change from gnulib
31082 * time/mktime.c (WRAPV): New macro.
31083 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31084 (guess_time_tm, __mktime_internal): Do not assume that signed
31085 integer overflow wraps around; modern compilers generate code
31086 where this assumption is no longer valid.
31087
5e292e4f
L
310882012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31089
31090 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31091 Replace "jmp L(pseudo_end)" with "ret".
31092 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31093 Likewise.
31094
8caf8c87
AJ
310952012-05-23 Andreas Jaeger <aj@suse.de>
31096
31097 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31098 * sysdeps/unix/sysv/linux/poll.c: Remove file.
31099
1a09dc56
AJ
311002012-05-23 Andreas Jaeger <aj@suse.de>
31101 Maximilian Attems <max@stro.at>
31102
31103 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31104 New macros.
31105
1c87aba0
L
311062012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31107
31108 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31109 code so that pseudo_end is just ret and the stack pointer is
31110 correct also for static library in error case.
31111
40e45bd5
JM
311122012-05-23 Joseph Myers <joseph@codesourcery.com>
31113
c2670533
JM
31114 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31115 move to syscalls.list.
31116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31120
40e45bd5
JM
31121 * manual/install.texi (Running make install): Do not mention Linux
31122 kernel version for which pt_chown is not needed.
31123 (Linux): Do not mention problems with nscd with 2.0 kernels.
31124 * INSTALL: Regenerated.
31125
be08eda5
AJ
311262012-05-23 Andreas Jaeger <aj@suse.de>
31127
31128 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31129 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31130 macro.
31131 * sysdeps/unix/sysv/linux/s390/bits/mman.h
31132 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31133 * sysdeps/unix/sysv/linux/sh/bits/mman.h
31134 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31135 * sysdeps/unix/sysv/linux/i386/bits/mman.h
31136 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31137 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31138 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31139 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31140 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31141 * sysdeps/unix/sysv/linux/bits/in.h
31142 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31143
a6a056bb
RM
311442012-05-22 Roland McGrath <roland@hack.frob.com>
31145
31146 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31147 (PREPARE_VERSION): Just use assert instead, it will be elided
31148 under [NDEBUG] anyway.
31149
c9009328
L
311502012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31151
31152 * sysdeps/unix/sysv/linux/Makefile: Include
31153 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 31154 (sysdep_routines): Remove sysctl.
c9009328
L
31155 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31156 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31157 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31158 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31159 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31160
73338355
AJ
311612012-05-22 Andreas Jaeger <aj@suse.de>
31162
31163 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31164 that pseudo_end is just ret and the stack pointer is correct also
31165 for static library in error case.
31166
d44638b0
PP
311672012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
31168
31169 [BZ #14122]
31170 * nss/nsswitch.c (defconfig_entries): New variable.
31171 (__nss_database_lookup): Don't leak defconfig entries.
31172 (nss_parse_service_list): Don't leak on error paths.
31173 (free_database_entries): New function.
31174 (free_defconfig): New function.
31175 (free_mem): Move common code to free_database_entries.
31176
31a39bd8
L
311772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31178
da0331a8
L
31179 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31180 Add arch_prctl.
31181 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31182
31a39bd8
L
31183 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31184 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31185 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31186 New macro.
31187 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31188 (INTERNAL_SYSCALL_TYPES): Likewise.
31189 (LOAD_ARGS_TYPES_[1-6]): Likewise.
31190 (LOAD_REGS_TYPES_[1-6]): Likewise.
31191 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31192 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31193
45470df3
AZ
311942012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31195
31196 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31197 copysignl for GLIBC_2_0.
31198 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31199 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31200 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31201 logbl for GLIBC_2_0.
31202 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31203 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31204
98a61bcb
L
312052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31206
a4f6e481
L
31207 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31208 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31209
f63d5db6
L
31210 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31211 Use "neg %eax".
31212
98a61bcb
L
31213 * time/mktime.c: Update copyright years.
31214
95770f14
PE
312152012-05-22 Paul Eggert <eggert@cs.ucla.edu>
31216
6226efbd
PE
31217 mktime: merge comment-quoting-style change from gnulib
31218 * time/mktime.c: Quote 'like this' in comments.
31219 The GNU coding standards suggest that we no longer quote `like this',
31220 as "`" and "'" are typically rendered asymmetrically nowadays.
31221 The typical gnulib style is to quote 'like this' when quoting
31222 code, and "like this" when quoting English.
31223
b99e4f78
PE
31224 * time/mktime.c (compile-command): Add "-I.".
31225
643e01e6
PE
31226 mktime: merge mktime-internal.h change from gnulib
31227 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31228
2554247d
PE
31229 mktime: merge time_r change from gnulib
31230 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31231
826dd0ab
PE
31232 mktime: merge DEBUG change from gnulib
31233 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31234 case system <time.h> has a #define.
31235
bd83aabe
PE
31236 mktime: merge <sys/types.h> change from gnulib
31237 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31238 since <time.t> is now guaranteed to define time_t.
31239
95770f14
PE
31240 mktime: merge HAVE_CONFIG_H change from gnulib
31241 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31242
5e1a27a9
L
312432012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31244
0e44a77e
L
31245 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31246 Use "neg %eax".
31247
5e1a27a9
L
31248 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31249 __rlim_t cast.
31250 (struct rusage): Use anonymous union to pad each field to
31251 __syscall_slong_t.
31252
46259bec
DM
312532012-05-21 David S. Miller <davem@davemloft.net>
31254
31255 * Makefules (o-iterator): Remove .s cases.
31256 (compile-command.s): Delete.
31257 (COMPILE.s): Delete.
31258 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31259
59f0c22e
JM
312602012-05-21 Joseph Myers <joseph@codesourcery.com>
31261
31262 * configure.in (libc_cv_predef_stack_protector): Only consider
31263 "foobar" and "__stack_chk_fail" lines in libc_undefs.
31264 * configure: Regenerated.
31265
20c07380
L
312662012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31267
bbb3154b
L
31268 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31269 New macro. Use R*LP on int and pointer.
31270 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
31271 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31272 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
31273 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31274
20c07380
L
31275 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31276 [__WORDSIZE_TIME64_COMPAT32] instead of
31277 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31278 (struct utmp): Likewise.
31279 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31280 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31281 Renamed to ...
31282 (__WORDSIZE_TIME64_COMPAT32): This.
31283 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31284 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31285 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31286 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31287 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31288 (__WORDSIZE_TIME64_COMPAT32): New macro.
31289
d8d1017e
AJ
312902012-05-21 Andreas Jaeger <aj@suse.de>
31291
31292 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31293 only if [SHARED]. Add prototype for __wcschr_ia32.
31294
6c7fb145
RM
312952012-05-21 Roland McGrath <roland@hack.frob.com>
31296
31297 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31298 of %rbp unmolested in the jmp_buf while mangling the low bits.
31299 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31300 unmolested high bits of %rbp while demangling the low bits.
31301 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31302
66274218
AJ
313032012-05-21 Andreas Jaeger <aj@suse.de>
31304
07c58f8f
AJ
31305 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31306 * sunrpc/svc_simple.c: Use it for registerrpc.
31307 * sunrpc/xcrypt.c: Use it for passwd2des.
31308
66274218
AJ
31309 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31310
61f65140
L
313112012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31312
31313 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31314 Don't define if [__SYSCALL_WORDSIZE != 32].
31315 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31316 New macro.
31317
5fefb436
AJ
313182012-05-21 Bruno Haible <bruno@clisp.org>
31319 Andreas Jaeger <aj@suse.de>
31320
31321 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31322 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31323 inptr and inend for must_buffer_ch.
31324 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31325 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31326 * stdio-common/Makefile (tests): Remove bug15.
31327 (bug15-ENV): Remove macro.
31328 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31329 anymore.
31330
d8e272ab
AJ
313312012-05-19 Andreas Jaeger <aj@suse.de>
31332 Roland McGrath <roland@hack.frob.com>
31333
31334 * manual/contrib.texi: Completely rewritten. It contains now an
31335 alphabetical list of contributors and their contributions.
31336
4a56a162
RH
313372012-05-21 Richard Henderson <rth@twiddle.net>
31338
31339 * misc/getauxval.c (__getauxval): Use unsigned long int.
31340 * misc/sys/auxv.h: Include <sys/cdefs.h>.
31341 (getauxval): Use unsigned long int.
31342
d024d23c
L
313432012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31344
31345 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31346
cbc00a03
RM
313472012-05-21 Roland McGrath <roland@hack.frob.com>
31348
31349 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31350 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31351 __alignof__ (long double).
31352
478143fa
AZ
313532012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31354
31355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31356
c7683a6d
RH
313572012-05-20 Richard Henderson <rth@twiddle.net>
31358
31359 * misc/getauxval.c: New file.
31360 * misc/sys/auxv.h: New file.
31361 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31362 (routines): Add getauxval.
31363 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31364 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31365 * elf/dl-sysdep.c (_dl_auxv): Remove.
31366 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31367 * elf/dl-support.c (_dl_auxv): New variable.
31368 (_dl_aux_init): Initialize it.
31369 * manual/startup.texi (Auxiliary Vector): New node.
31370 * sysdeps/generic/bits/hwcap.h: New file.
31371 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31372 * sysdeps/powerpc/sysdep.h: ... here. Include it.
31373 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31374 * sysdeps/sparc/sysdep.h: ... here. Include it.
31375 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31376 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
31377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31378 Update.
c7683a6d
RH
31379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31382 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31384 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31386 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31387
a6f1845d
AZ
313882012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31389
31390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31391
cbcbe830
DM
313922012-05-19 David S. Miller <davem@davemloft.net>
31393
31394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31395
e0b16cc2
JM
313962012-05-19 Joseph Myers <joseph@codesourcery.com>
31397
31398 [BZ #14123]
31399 * math/s_ccosh.c: Include <float.h>
31400 (__ccosh): Avoid internal overflow calculating sinh and cosh
31401 values before multiplying by sin and cos values.
31402 * math/s_ccoshf.c: Likewise.
31403 * math/s_ccoshl.c: Likewise.
31404 * math/s_csin.c: Likewise.
31405 * math/s_csinf.c: Likewise.
31406 * math/s_csinl.c: Likewise.
31407 * math/s_csinh.c: Likewise.
31408 * math/s_csinhf.c: Likewise.
31409 * math/s_csinhl.c: Likewise.
31410 * math/libm-test.inc (ccos_test): Add more tests.
31411 (ccosh_test): Likewise.
31412 (csin_test): Likewise.
31413 (csinh_test): Likewise.
31414 * sysdeps/i386/fpu/libm-test-ulps: Update.
31415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31416
6ad13e08
L
314172012-05-19 H.J. Lu <hongjiu.lu@intel.com>
31418
f66f0ce8
L
31419 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31420 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31421
6ad13e08
L
31422 * sysdeps/x86_64/x32/_itoa.h: Add comment.
31423
b1d072a7
JM
314242012-05-19 Joseph Myers <joseph@codesourcery.com>
31425
31426 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31427 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31428 * sysdeps/powerpc/soft-fp/Versions: Likewise.
31429 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31430 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31431 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31432 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31433 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31434 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31435 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31436 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31437 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31438 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31439 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31440 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31441 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31442 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31443 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31444 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31445 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31446 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31447 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31448 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31449 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31450 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31451 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31452 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31453 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31454 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31455 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31456 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31457
9eae47cb
AJ
314582012-05-18 Andreas Jaeger <aj@suse.de>
31459
31460 * csu/.gitignore: Delete.
31461
bb07f69f
L
314622012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31463
31464 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31465 (timex): Use __syscall_slong_t.
31466
e6bdb741
AJ
314672012-05-18 Andreas Jaeger <aj@suse.de>
31468 Carlos O'Donell <carlos_odonell@mentor.com>
31469
31470 * manual/install.texi (Configuring and compiling): Update
31471 description about files modified in the source directory.
d6c33fda 31472 * INSTALL: Regenerated.
e6bdb741 31473
1b74487e
L
314742012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31475
31476 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31477 value. Use "or" to set return value to -1.
31478 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31479 negate return value.
31480
a88b64b9
TMQMF
314812012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31482
57f41c40
AS
31483 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31484 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
31485 failure if the compiler has Graphite support disabled.
31486 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31487 Likewise.
57f41c40
AS
31488 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31489 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
31490 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31491 Likewise.
31492
3707636e
L
314932012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31494
610b8622
L
31495 * sysdeps/x86_64/x32/_itoa.h: New file.
31496
7cd195df
L
31497 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31498 getdents system call only if kernel and user dirents have the
31499 same d_ino and d_off.
31500
94b07d20
L
31501 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31502 LLONG_MAX != LONG_MAX.
31503 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31504 (_fitoa_word): Likewise.
31505
18298070
L
31506 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
31507 years.
31508 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
31509 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
31510 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
31511
553c7ea4
L
31512 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
31513 include <bits/wordsize.h>. Check __x86_64__ instead of
31514 __WORDSIZE.
31515 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
31516 if __x86_64__ is defined. Use anonymous union on fpstate.
31517
3707636e
L
31518 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
31519 anonymous union.
31520
b53ef01a
AS
315212012-05-18 Andreas Schwab <schwab@linux-m68k.org>
31522
37fb1dc0
AS
31523 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31524 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
31525 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
31526 Refer to _rtld_local_ro instead of _rtld_global_ro.
31527 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
31528 Likewise.
31529 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
31530 Likewise.
31531 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
31532 Likewise.
31533 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
31534 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
31535 of _rtld_global, and rtld_progname instead of _dl_argv[0].
31536
b53ef01a
AS
31537 * sysdeps/powerpc/powerpc32/dl-machine.c
31538 (__elf_machine_runtime_setup) [PROF]: Don't reference
31539 _dl_prof_resolve.
31540
7a185db2
AJ
315412012-05-18 Andreas Jaeger <aj@suse.de>
31542
31543 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
31544 function only available for GCCs before 3.4 since GCC 3.4
31545 introduced a builtin.
31546 (lrint): Likewise.
31547 (llrintf): Likewise.
31548 (llrint): Likewise.
31549 (fmaxf): Likewise.
31550 (fmax): Likewise.
31551 (fminf): Likewise.
31552 (fmin): Likewise.
31553 (rint): Likewise.
31554 (rintf): Likewise.
31555 (nearbyint): Likewise.
31556 (nearbyintf): Likewise.
31557 (ceil): Likewise.
31558 (ceilf): Likewise.
31559 (floor): Likewise.
31560 (floorf): Likewise.
31561
3e5aef87
L
315622012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31563
428bd707
L
31564 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
31565 on both fields and cast pointer to __syscall_ulong_t.
31566
3e5aef87
L
31567 * bits/types.h (__fsword_t): New type.
31568 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
31569 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
31570 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31571 (__FSWORD_T_TYPE): Likewise.
31572 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31573 (__FSWORD_T_TYPE): Likewise.
31574 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31575 (__FSWORD_T_TYPE): Likewise.
31576 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
31577 (__FSWORD_T_TYPE): Likewise.
31578 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
31579 __SWORD_TYPE with __fsword_t.
31580 (statfs64): Likewise.
31581
1ba7c3dc
DM
315822012-05-17 David S. Miller <davem@davemloft.net>
31583
31584 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
31585
59910343
AJ
315862012-05-17 Andreas Jaeger <aj@suse.de>
31587
31588 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
31589 warning.
31590
2e4c1e9e
L
315912012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31592
31593 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
31594
de7f5ce7
AJ
315952012-05-17 Andreas Jaeger <aj@suse.de>
31596
31597 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
31598 when it is used.
31599
286abc3d
CM
316002012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31601
31602 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
31603
477cc68e
L
316042012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31605
31606 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
31607 * sysdeps/x86_64/tst-mallocalign1.c: New file.
31608
1a0994f5
CD
316092012-05-17 Andreas Jaeger <aj@suse.de>
31610 Carlos O'Donell <carlos_odonell@mentor.com>
31611
31612 [BZ #14059]
31613 * sysdeps/x86_64/multiarch/init-arch.h
31614 (bit_YMM_Usable): Rename to...
31615 (bit_AVX_Usable): ... this.
31616 (bit_FMA4_Usable): New macro.
31617 (bit_XMM_state): New macro.
31618 (bit_YMM_state): New macro.
31619 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
31620 [__ASSEMBLER__] (index_AVX_Usable): ... this.
31621 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
31622 (CPUID_OSXSAVE): New macro.
31623 (CPUID_AVX): New macro.
31624 (CPUID_FMA4): New macro.
31625 (index_YMM_Usable): Rename to...
31626 (index_AVX_Usable): ... this.
31627 (HAS_AVX): Use HAS_ARCH_FEATURE.
31628 (HAS_FMA4): Likewise.
31629 (HAS_YMM_USABLE): Remove.
31630 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31631 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
31632 are present.
31633 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
31634 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
31635 * sysdeps/x86_64/multiarch/Makefile: Likewise.
31636 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
31637 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
31638
0af797de
CM
316392012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31640
31641 * math/libm-test.c: Support platforms without multiple rounding modes.
31642 * math/bug-nextafter.c: Support platforms without FP exceptions.
31643 * math/bug-nexttoward.c: Likewise.
31644 * math/test-fenv.c: Likewise.
31645 * math/test-misc.c: Likewise.
31646 * stdlib/bug-getcontext.c: Likewise.
31647
e39745ff
AJ
316482012-05-17 Andreas Jaeger <aj@suse.de>
31649
31650 * manual/examples/search.c (critter_cmp): Change signature to
31651 avoid warnings.
31652 * manual/string.texi (Collation Functions): Likewise.
31653
48970aba
L
316542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31655
31656 * bits/types.h: Fold copyright years.
31657 * bits/typesizes.h: Likewise.
31658 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
31659 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31660 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
31661 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
31662 * time/time.h: Likewise.
31663
bedee953
PP
316642012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
31665
31666 [BZ #208]
31667 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
31668 in instead of returning them. Return void.
31669 (__libc_mallinfo): Accumulate over all arenas.
31670 (__malloc_stats): Adjust for change in int_mallinfo interface.
31671
61653dfb
RM
316722012-05-16 Roland McGrath <roland@hack.frob.com>
31673
30b99d79
RM
31674 [BZ #10375]
31675 * configure.in (NM): Add AC_CHECK_TOOL for it.
31676 (libc_extra_cflags): New substituted variable.
31677 Check for -fstack-protector being used implicitly.
31678 * configure: Regenerated.
31679 * config.make.in (config-extra-cflags): New variable,
31680 gets @libc_extra_cflags@.
31681 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
31682
61653dfb
RM
31683 [BZ #10375]
31684 * configure.in: Check for _FORTIFY_SOURCE being predefined.
31685 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
31686 * configure: Regenerated.
31687 * config.make.in (CPPUNDEFS): New substituted variable.
31688 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
31689 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
31690 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
31691
661768bb
L
316922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31693
31694 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
31695 (mq_attr): Use __syscall_slong_t.
31696
d4261567
L
316972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31698
31699 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
31700 Check __x86_64__ instead of __WORDSIZE.
31701 (_STAT_VER_LINUX): Likewise.
31702 (stat): Check __x86_64__ instead of __WORDSIZE. Use
31703 __syscall_ulong_t and __syscall_slong_t.
31704 (stat64): Likewise.
31705
cf3ff365
L
317062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31707
31708 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
31709
76cf3e4d
L
317102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31711
31712 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
31713
a637753a
L
317142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31715
31716 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
31717 __syscall_ulong_t.
31718
d5e05119
L
31719 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
31720 include <bits/wordsize.h>. Check __x86_64__ instead of
31721 __WORDSIZE.
31722 (greg_t): Use "__extension__ long long int" if __x86_64__ is
31723 defined.
31724 (mcontext_t): Replace "unsigned long" with "unsigned long long".
31725
f62ee380
L
31726 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
31727 include <bits/wordsize.h>. Check __x86_64__ instead of
31728 __WORDSIZE.
31729 (user_regs_struct): Use "__extension__ unsigned long long"
31730 instead of "unsigned long" if __x86_64__ is defined.
31731 (user): Likewise. Pad after pointer field if __ILP32__ is
31732 defined.
31733
4e124ced
JM
317342012-05-16 Joseph Myers <joseph@codesourcery.com>
31735
6a3951a0
JM
31736 * configure.in (makeinfo): Require version 4.5 or later. Allow
31737 versions 5 to 9.
31738 * configure: Regenerated.
31739 * manual/install.texi (texinfo): Increase version requirement to
31740 4.5 or later.
31741 * INSTALL: Regenerated.
31742
4e124ced
JM
31743 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
31744
953ca31a
L
317452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31746
31747 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
31748
617aca05
L
31749 * sysdeps/x86_64/x32/ffs.c: New file.
31750
5762f7ae
L
31751 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
31752 __syscall_ulong_t.
31753 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
31754 defined. Use __syscall_ulong_t.
31755 (shminfo): Use __syscall_ulong_t.
31756 (shm_info): Likewise.
31757
a26b6856
L
31758 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
31759 __syscall_ulong_t.
31760
cb2b9ef7
L
31761 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
31762 <bits/wordsize.h>.
31763 (msgqnum_t): Use __syscall_ulong_t.
31764 (msglen_t): Likewise.
31765 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
31766 __syscall_ulong_t.
31767
34683bb0
L
31768 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
31769 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31770
84a68786
L
31771 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
31772
48baa5f1
L
31773 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
31774 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
31775
180be88b
L
31776 * sysvipc/sys/msg.h (msgbuf): Replace long int with
31777 __syscall_slong_t.
31778
5e90c8ad
L
31779 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
31780 include <bits/wordsize.h>. Check __x86_64__ instead of
31781 __WORDSIZE.
31782
23dfb58b
L
31783 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
31784 "unsigned long long int" if __x86_64__ is defined.
31785 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
31786
ce5d54b0
L
31787 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
31788 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31789 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
31790
13dc9eac
L
31791 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
31792 <stdint.h>.
31793 (GET_PC): Cast to uintptr_t first.
31794 (GET_FRAME): Likewise.
31795 (GET_STACK): Likewise.
31796
a7895d15
L
31797 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
31798 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
31799 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
31800 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
31801 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
31802 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
31803 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
31804 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
31805 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31806 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
31807 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
31808 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
31809 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31810 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
31811 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
31812 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
31813 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
31814 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
31815 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
31816 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
31817 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
31818 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
31819 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
31820 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
31821 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
31822 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
31823 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
31824 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
31825 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
31826
656416c9
AS
318272012-05-16 Andreas Schwab <schwab@linux-m68k.org>
31828
5bd66283
AS
31829 * Makerules (+depfiles): Also collect depfiles from .oS in
31830 $(extra-objs).
31831 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
31832 .oS, $(libnldbl-routines)).
31833
656416c9
AS
31834 * Makerules (native-compile-mkdep-flags): Define.
31835 * sunrpc/Makefile (extra-objs): Add $(addprefix
31836 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
31837 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
31838 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
31839 calling $(make-target-directory).
31840
a46f2169
L
318412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31842
31843 * bits/types.h (__snseconds_t): Removed.
31844 * time/time.h (struct timespec): Replace __snseconds_t with
31845 __syscall_slong_t.
31846 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
31847 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
31848 Likewise.
31849 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31850 (__SNSECONDS_T_TYPE): Likewise.
31851 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31852 (__SNSECONDS_T_TYPE): Likewise.
31853 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31854 (__SNSECONDS_T_TYPE): Likewise.
31855
6af6528b
L
318562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31857
31858 * sysdeps/mach/hurd/bits/typesizes.h
31859 (__SYSCALL_SLONG_TYPE): New macro.
31860 (__SYSCALL_ULONG_TYPE): Likewise.
31861
de986b56
L
318622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31863
31864 * bits/types.h (__syscall_slong_t): New type.
31865 (__syscall_ulong_t): Likewise.
31866
31867 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
31868 (__SYSCALL_ULONG_TYPE): Likewise.
31869 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31870 (__SYSCALL_SLONG_TYPE): Likewise.
31871 (__SYSCALL_ULONG_TYPE): Likewise.
31872 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31873 (__SYSCALL_SLONG_TYPE): Likewise.
31874 (__SYSCALL_ULONG_TYPE): Likewise.
31875 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31876 (__SYSCALL_SLONG_TYPE): Likewise.
31877 (__SYSCALL_ULONG_TYPE): Likewise.
31878
85736dc7
L
318792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31880
31881 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
31882 Add sigaltstack-offsets.sym.
31883 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
31884 <sigaltstack-offsets.h>.
31885 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
31886 longjmp_msg pointer.
31887 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
31888 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
31889 signal stack.
31890 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
31891
cc03b296
JM
318922012-05-15 Joseph Myers <joseph@codesourcery.com>
31893
a9538892
JM
31894 * elf/stackguard-macros.h: Remove file.
31895 * sysdeps/generic/stackguard-macros.h: New file.
31896 * sysdeps/i386/stackguard-macros.h: Likewise.
31897 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31898 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31899 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31900 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31901 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31902 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31903 * sysdeps/x86_64/stackguard-macros.h: Likewise.
31904 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
31905 <elf/stackguard-macros.h>.
31906
cc03b296
JM
31907 [BZ #14109]
31908 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
31909 __aligned__ in attribute.
31910 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
31911 (gregset_t): Likewise.
31912
93171016
L
319132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31914
31915 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
31916 * sysdeps/x86_64/64/Implies-after: Here. New file.
31917 * sysdeps/x86_64/x32/Implies-after: New file.
31918
d86813a0
L
319192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31920
31921 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
31922 and access return value for _dl_profile_fixup. Use R10_LP to
31923 load frame size.
31924
2953ec75
L
319252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31926
31927 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
31928
3b550e9e
L
319292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31930
31931 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
31932 * sysdeps/x86_64/x32/sysdep.h: New file.
31933
eda41706
L
319342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31935
31936 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
31937 * sysdeps/x86_64/setjmp.S: Likewise.
31938
9ea01d93
AZ
319392012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31940
31941 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
31942 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
31943 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
31944 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
31945 remove unused global constant.
31946
02a91938
CM
319472012-05-15 Chris Metcalf <cmetcalf@tilera.com>
31948
31949 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
31950 include of <not-cancel.h>.
31951
6540185f
RM
319522012-05-15 Roland McGrath <roland@hack.frob.com>
31953
31954 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
31955
509072a0
AJ
319562012-05-15 Jeff Law <law@redhat.com>
31957 Andreas Jaeger <aj@suse.de>
31958
31959 [BZ #13594]
31960 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
31961 out from...
31962 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
31963 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
31964 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
31965 code changing __hst_map_handle.map.
31966
ba75122d
RM
319672012-05-15 Roland McGrath <roland@hack.frob.com>
31968
31969 * configure.in (sysnames): Look for Implies-before and Implies-after
31970 files.
31971 * configure: Regenerated.
31972
890d8bd8
L
319732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31974
31975 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
31976 8-byte data alignment with LP_SIZE alignment.
31977
f6ee6623
L
319782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31979
31980 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
31981 into R10_LP.
31982
ea2626f6
L
319832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31984
31985 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
31986
085f715e
L
319872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31988
31989 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
31990 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
31991 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
31992 Likewise.
31993 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31994
be8498fc
L
319952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31996
31997 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
31998 (stackinfo_sub_sp): Likewise.
31999
70bc83b9
L
320002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32001
32002 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32003 RAX_LP.
32004
9bc0b730
L
320052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32006
32007 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32008 into R*_LP.
32009
6d2850e7
L
320102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32011
32012 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32013 sizes into R*_LP.
32014
3cb84561
L
320152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32016
32017 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32018
54e2ed81
L
320192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32020
32021 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32022 into R11_LP and load __x86_64_shared_cache_size_half into
32023 R8_LP.
32024
8a17f349
L
320252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32026
32027 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32028 R8_LP.
32029
777b1eea
AZ
320302012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32031
32032 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32033 logb for POWER7.
32034 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32035 logbf for POWER7.
32036 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32037 logbl for POWER7.
32038 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32039 powerpc32/power7/fpu/s_logb.c via #include.
32040 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32041 powerpc32/power7/fpu/s_logbf.c via #include.
32042 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32043 powerpc32/power7/fpu/s_logbl.c via #include.
32044
d20d4ac2
JM
320452012-05-15 Joseph Myers <joseph@codesourcery.com>
32046
32047 * README.libm: Remove file.
32048
6cdef1ab
L
320492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32050
32051 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32052 count for x32. Use R*_LP and omit operand-size suffix.
32053
0b254d8f
L
320542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32055
32056 * shlib-versions: Move x86_64-.*-linux.* entries to ...
32057 * sysdeps/x86_64/64/shlib-versions: Here. New file.
32058 * sysdeps/x86_64/x32/shlib-versions: New file.
32059
ceb809dc
RM
320602012-05-14 Roland McGrath <roland@hack.frob.com>
32061
32062 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32063 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32064 Use _dl_fatal_printf instead.
32065
37f1abd4
JM
320662012-05-14 Joseph Myers <joseph@codesourcery.com>
32067
32068 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32069 set if not set by the user. Do not allow for being unset.
32070 * sysdeps/unix/sysv/linux/configure: Regenerated.
32071
11de3a33
L
320722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32073
32074 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32075 the `q' suffix from lea and replace .quad with ASM_ADDR.
32076
e02f153a
L
320772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32078
32079 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32080 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
32081 instead of $17.
32082 (PTR_DEMANGLE): Likewise.
32083
520ae0fd
L
320842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32085
32086 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32087 (LP_OP): Likewise.
32088 (ASM_ADDR): Likewise.
32089 (RAX_LP): Likewise.
32090 (RBP_LP): Likewise.
32091 (RBX_LP): Likewise.
32092 (RCX_LP): Likewise.
32093 (RDI_LP): Likewise.
32094 (RSI_LP): Likewise.
32095 (RSP_LP): Likewise.
32096 (R8_LP): Likewise.
32097 (R9_LP): Likewise.
32098 (R10_LP): Likewise.
32099 (R10_LP): Likewise.
32100 (R11_LP): Likewise.
32101 (R12_LP): Likewise.
32102 (R13_LP): Likewise.
32103 (R14_LP): Likewise.
32104 (R15_LP): Likewise.
32105
b985be81
L
321062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32107
32108 * sysdeps/x86_64/x32/dl-machine.h: New file.
32109
6a4888ff
AJ
321102012-05-14 Andreas Jaeger <aj@suse.de>
32111
32112 * manual/Makefile (subdir): Remove export of subdir.
32113 (all): Remove target.
32114 (.PHONY): Remove all from list.
32115 (mkinstalldirs): Remove.
32116 (.PHONY): Remove installdirs from list.
32117 ($(inst_infodir)/libc.info): Use make-target-directory.
32118 (installdirs): Remove.
32119 (subdir_%): Remove.
32120 (glibc-targets): Remove.
32121 (lib): Remove.
32122 (stubs): Remove.
32123 ($(objpfx)stubs ../po/manual.pot): Remove.
32124 ($(objpfx)stamp%): Remove.
32125 (make-target-directory): Remove.
32126 (subdir_install): Remove.
32127 (routines): Remove.
32128 (aux): Remove.
32129 (sources): Remove.
32130 (objects): Remove.
32131 (headers): Remove.
32132
32133 [BZ #13750]
32134 * manual/.gitignore: Remove, it's not needed anymore.
32135 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32136 all files in it.
32137 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32138 directory.
32139 (texis): Renamed to $(objpfx)texis.
32140 (texis-path): New, contains path to generated files.
32141 (chapters.%): Use texis-path for complete path, add extra argument
32142 libc-texinfo.sh.
32143 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32144 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32145 (summary,texi, stamp-summary): Use complete path of
32146 files. Generate files in build dir.
32147 (dir-add.texi): Build in build dir.
32148 (libm-err.texi,stamp-libm-err): Likewise.
32149 (version.texi, stamp-version): Likewise.
32150 (.%c.texi): Likewise.
32151 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32152 (mostlyclean): Remove target.
32153 (realclean): Remove target.
32154 (generated): Add new variable with contents from mostlyclean and
32155 realclean, remove entries duplicated in common-mostlyclean, add
32156 stamp-libm-err and stamp-version.
32157 (generated-dirs): Add libc directory.
32158 ($(inst_infodir)/libc.info): Install files from build dir.
32159
32160 * manual/install.texi (Configuring and compiling): Adjust since
32161 the info files are not part of the tar ball anymore.
32162
7ac77294
AJ
321632012-05-14 Andreas Jaeger <aj@suse.de>
32164
32165 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32166 variable.
32167
ffb7875d
JM
321682012-05-14 Joseph Myers <joseph@codesourcery.com>
32169
32170 [BZ #13717]
32171 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32172 to 2.2.0 where earlier.
32173 * sysdeps/unix/sysv/linux/configure: Regenerated.
32174 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32175 Remove conditional code.
32176 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32177 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32178 Remove conditional code.
32179 [!__NR_lchown]: Likewise.
32180 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32181 [__NR_lchown]: Likewise.
32182 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32183 comment referencing __ASSUME_LCHOWN_SYSCALL.
32184 * sysdeps/unix/sysv/linux/i386/sigaction.c
32185 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32186 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32187 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32188 Remove conditional code.
32189 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32190 (__protocol_available): Remove #if 0 code.
32191 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32192 conditional code.
32193 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32194 * sysdeps/unix/sysv/linux/kernel-features.h
32195 (__ASSUME_GETCWD_SYSCALL): Don't define.
32196 (__ASSUME_REALTIME_SIGNALS): Likewise.
32197 (__ASSUME_PREAD_SYSCALL): Likewise.
32198 (__ASSUME_PWRITE_SYSCALL): Likewise.
32199 (__ASSUME_POLL_SYSCALL): Likewise.
32200 (__ASSUME_LCHOWN_SYSCALL): Likewise.
32201 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32202 non-SPARC.
32203 (__ASSUME_SIOCGIFNAME): Don't define.
32204 (__ASSUME_MSG_NOSIGNAL): Likewise.
32205 (__ASSUME_SENDFILE): Define unconditionally.
32206 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32207 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32208 conditional code.
32209 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32210 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32211 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32212 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32213 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32214 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32215 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32217 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32218 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32220 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32221 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32223 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32224 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32226 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32227 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32229 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32230 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32232 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32233 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32235 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32236 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32238 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32239 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32240 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32241 Remove conditional code.
32242 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32243 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32244 Remove conditional code.
32245 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32246 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32247 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32248 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32249 Remove conditional code.
32250 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32251 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32252 Remove conditional code.
32253 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32254 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32255 Remove conditional code.
32256 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32257 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32258 Remove conditional code.
32259 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32260 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32261 Remove conditional code.
32262 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32263 * sysdeps/unix/sysv/linux/sh/pwrite64.c
32264 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32265 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32266 * sysdeps/unix/sysv/linux/sigaction.c
32267 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32268 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32269 * sysdeps/unix/sysv/linux/sigpending.c
32270 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32271 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32272 * sysdeps/unix/sysv/linux/sigprocmask.c
32273 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32274 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32275 * sysdeps/unix/sysv/linux/sigsuspend.c
32276 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32277 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32278 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32279 (__libc_missing_rt_sigs): Remove.
32280 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32281 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32282 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32283 Remove conditional code.
32284 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32285 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32286 return 1.
32287 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32288 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32289 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32290 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32291
1bfb7291
AJ
322922012-05-14 Andreas Jaeger <aj@suse.de>
32293
caae5a81
AJ
32294 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32295 it's not used in glibc.
32296 (__coshm1): Likewise.
32297 (__acosh1p): Likewise.
32298 (__sgn): Likewise.
32299
1bfb7291
AJ
32300 * manual/string.texi (Copying and Concatenation): Add missing
32301 variable in concat example.
32302 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32303
c044d724
L
323042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32305
144c5467 32306 [BZ #14103]
c044d724
L
32307 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32308 __builtin_clzl with __builtin_clzll.
32309
2523c62b
L
323102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32311
32312 [BZ #14104]
32313 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32314 libc_freeres_ptr.
32315
d7bb4c42
LD
323162012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32317
32318 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32319 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32320 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32321 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32322
9dc4e1fb
MF
323232012-05-14 Mike Frysinger <vapier@gentoo.org>
32324
32325 * NEWS: Update ia64 info.
32326
c7df0112
AS
323272012-05-12 Andreas Schwab <schwab@linux-m68k.org>
32328
32329 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32330 used as bcopy.
32331
dc70356c
TS
323322012-05-12 Thomas Schwinge <thomas@codesourcery.com>
32333
32334 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32335 * sysdeps/unix/syscalls.list (dup3): Likewise.
32336 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32337 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32338
9fb1a21f
L
323392012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32340
32341 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32342 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32343
4822a2a5
L
323442012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32345
32346 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32347 thread pointer.
32348 (TLS_IE): Use mov/add instead of movq/addq to load thread
32349 pointer.
32350 (TLS_GD_PREFIX): New.
32351 (TLS_GD): Use it.
32352
842b81d6
DM
323532012-05-11 David S. Miller <davem@davemloft.net>
32354
32355 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32356 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32357 (_FPU_SETCW): Likewise.
32358
1cf463cd
L
323592012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32360
32361 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32362 is 32-byte aligned.
32363
60cc4a18
AS
323642012-05-11 Andreas Schwab <schwab@linux-m68k.org>
32365
32366 [BZ #11837]
32367 * iconvdata/gb18030.c: Update tables.
32368 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
32369 characters specially.
32370 (BODY for TO_LOOP): Add encoding of missing ranges.
32371
febb44a4
TS
323722012-05-11 Thomas Schwinge <thomas@codesourcery.com>
32373
32374 [BZ #13673]
32375 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32376 * sysdeps/mach/hurd/dup3.c: Likewise.
32377 * sysdeps/mach/hurd/readlinkat.c: Likewise.
32378 * sysdeps/powerpc/memmove.c:: Likewise.
32379
0a10fb9e
L
323802012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32381
32382 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32383 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32384
df8a552f
L
323852012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32386
32387 * elf/elf.h (R_X86_64_RELATIVE64): New.
32388 (R_X86_64_NUM): Updated.
32389 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32390 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
32391 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32392 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32393 tst-quad1pie tst-quad2pie
32394 (modules-names): Add tst-quadmod1 tst-quadmod2.
32395 ($(objpfx)tst-quad1): New dependency.
32396 ($(objpfx)tst-quad2): Likewise.
32397 ($(objpfx)tst-quad1pie): Likewise.
32398 ($(objpfx)tst-quad2pie): Likewise.
32399 * sysdeps/x86_64/tst-quad1.c: New file.
32400 * sysdeps/x86_64/tst-quad1pie.c: New file.
32401 * sysdeps/x86_64/tst-quad2.c: Likewise.
32402 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32403 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32404 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32405 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32406 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32407
f34d6f84
ST
324082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32409
f42d41d1
ST
32410 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32411 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32412 * streams/stropts.h (t_scalar_t): Define type.
32413
3c3571fc
ST
32414 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32415 (_PATH_PRESERVE): Set to "/var/lib".
32416 (_PATH_RWHODIR): Set to "/var/spool/rwho".
32417
61f06bd3
ST
32418 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32419 instead of int.
32420
918d4d71
ST
32421 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32422 if __dir_mkfile succeeded.
32423
f34d6f84
ST
32424 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32425 checking for _hurd_dtablesize. Unlock it right after having
32426 finished _hurd_dtable allocation.
32427
10589b4a
TS
324282012-05-10 Thomas Schwinge <thomas@schwinge.name>
32429
674cdbc7
TS
32430 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32431 * sysdeps/mach/hurd/configure: Regenerated.
32432 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32433 special-casing to...
32434 * sysdeps/gnu/configure.in: ... this new file.
32435 * sysdeps/unix/sysv/linux/configure: Regenerated.
32436 * sysdeps/gnu/configure: New generated file.
32437
8e41b99f
TS
32438 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32439 for Linux: use nsec instead of usec, as well as:
32440 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32441 members of type struct timespec.
32442 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32443 New macros.
32444 (struct stat64): Likewise.
32445 (_STATBUF_ST_NSEC): New macro.
32446 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32447
10589b4a
TS
32448 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32449 __strtoul_internal rather than strtoul.
32450
63643c85
PT
324512012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32452
32453 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32454 and reject them.
32455
3faebe6a
ST
324562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32457
32458 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32459 which preserves existing values.
32460 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32461
c6474b07
PT
324622012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32463
32464 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32465 TIMEOUT values. Return EINVAL for NFDS values either negative or
32466 greater than FD_SETSIZE.
32467
1043890b
ST
324682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32469
32470 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32471 allocated, call __vm_protect to finish enabling the existing space, and
32472 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32473 allocate the remainder.
32474
37ed8b9b
PT
324752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32476
32477 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32478 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
32479
db653660
ST
324802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32481
37ed8b9b
PT
32482 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32483 sysdeps/mach/hurd/readlink.c.
b29d4053 32484
db653660
ST
32485 * posix/tst-sysconf.c (posix_options): Only use
32486 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32487 _POSIX_SYNCHRONIZED_IO when they are defined
32488 * sysdeps/mach/hurd/bits/posix_opt.h:
32489 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32490 (_XOPEN_REALTIME): Undefine macro.
32491 (_XOPEN_REALTIME_THREADS): Undefine macro.
32492 (_XOPEN_SHM): Undefine macro.
32493 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32494 macro to -1.
32495 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32496 macro to -1.
32497 (_POSIX_ASYNC_IO): Undefine macro.
32498 (_POSIX_PRIORITIZED_IO): Undefine macro.
32499 (_POSIX_SPIN_LOCKS): Define macro to -1.
32500
ee16e894
ST
32501 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
32502 SA_NODEFER, SA_RESETHAND.
32503 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
32504 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
32505 F_DUPFD_CLOEXEC.
32506
6103ae3b
TS
325072012-05-10 Thomas Schwinge <thomas@schwinge.name>
32508
32509 * elf/Makefile (pldd-modules): Define unconditionally.
32510
80b4e5f3
TS
325112012-05-10 Thomas Schwinge <thomas@schwinge.name>
32512
32513 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
32514
edadcbd6
ST
325152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32516
32517 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
32518 Return ENOENT when name is empty.
32519 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
32520
80694780
TS
325212012-05-10 Thomas Schwinge <thomas@schwinge.name>
32522
1792c087
TS
32523 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
32524
80694780
TS
32525 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
32526
6b645f0d
ST
325272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32528
80694780
TS
32529 Fix mlock in all cases except non-readable pages.
32530 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
32531 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 32532
6b645f0d
ST
32533 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
32534 (__mkdir): When path is `/', just fail with EEXIST.
32535 * sysdeps/mach/hurd/mkdirat.c: Likewise.
32536
e468f8a3
TS
325372012-05-10 Thomas Schwinge <thomas@schwinge.name>
32538
32539 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
32540 <sys/uio.h> (for writev).
32541 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
32542 and <sys/param.h> (for MIN).
32543
a4186cff
PT
325442012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32545
32546 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
32547 REQUESTED_TIME. Properly set the remaining time and return EINTR
32548 if interrupted.
32549
510bbf14
TS
325502012-05-10 Thomas Schwinge <thomas@schwinge.name>
32551
32552 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
32553 Depend on against $(link-rpcuserlibs).
32554
5d5722e8
ST
325552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32556
a4186cff
PT
32557 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
32558 (__libc_stack_end): Do not use attribute_relro.
32559 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
32560 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 32561 to libthread-provided value.
a4186cff
PT
32562 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
32563 attribute_relro.
5d5722e8 32564
37233df9
TS
325652012-05-10 Thomas Schwinge <thomas@schwinge.name>
32566
be971a2b
TS
32567 [BZ #3748]
32568 * bits/libc-lock.h (__libc_once_get): New macro.
32569 * sysdeps/mach/bits/libc-lock.h: Likewise.
32570 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
32571 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
32572 instead of using implementation details.
32573
37233df9
TS
32574 * libio/fileops.c: Unconditionally include <kernel-features.h>.
32575 * libio/freopen.c: Likewise.
32576 * libio/freopen64.c: Likewise.
32577 * misc/syslog.c: Likewise.
32578 * nscd/connections.c: Likewise.
32579 * nscd/netgroupcache.c: Likewise.
32580 * sysdeps/posix/getcwd.c: Likewise.
32581
38de94a5
RM
325822012-05-10 Roland McGrath <roland@hack.frob.com>
32583
32584 * math/w_ilogbf.c: Add #include <limits.h>.
32585
67530489
ST
325862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32587
a4186cff 32588 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
32589 path instead of returning without unlocking.
32590
67530489
ST
32591 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
32592 immediate-write ioctls.
32593 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
32594
5aa3a74a
TS
325952012-05-10 Thomas Schwinge <thomas@schwinge.name>
32596
18bad2ae
TS
32597 * sysdeps/mach/hurd/i386/init-first.c (init): Use
32598 __builtin_frame_address instead of making assumptions about the
32599 location of the return address relative to DATA. Force early load of
32600 the return address.
32601 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
32602 __builtin_frame_address.
32603
5aa3a74a
TS
32604 dup3 for GNU Hurd.
32605 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
32606 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
32607 implement dup3 and do some further code clean-ups.
32608 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
32609 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
32610
ecd0de9a
ST
326112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32612
cd9fa985
ST
32613 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
32614
a4186cff
PT
32615 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
32616 HURD_CRITICAL_END around holding _hurd_dtable_lock.
32617 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
32618 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
32619 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
32620 d->port.lock.
802ca5a5 32621
a4186cff
PT
32622 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
32623 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
32624 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 32625
bcf55240
TS
326262012-05-10 Thomas Schwinge <thomas@schwinge.name>
32627
6960eb42
TS
32628 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
32629 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
32630 definitions.
32631
eb43375f
TS
32632 accept4 for GNU Hurd.
32633 * include/sys/socket.h (__libc_accept4): New prototype.
32634 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
32635 to implement __libc_accept4.
32636 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
32637 __libc_accept4.
32638 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
32639
bcf55240
TS
32640 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
32641 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
32642 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
32643 signal-defines.sym.
32644
6178c55b
ST
326452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32646
a4186cff 32647 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 32648
6f080c2f
TS
326492012-05-10 Thomas Schwinge <thomas@schwinge.name>
32650
32651 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
32652 assertion on O_CLOEXEC flag.
32653 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
32654 * hurd/intern-fd.c: Likewise.
32655 * hurd/port2fd.c: Likewise.
32656
bcfe3a54
ST
326572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32658
32659 [BZ #3906]
32660 * bits/in.h (IPV6_PKTINFO): Define new macro.
32661 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
32662
89c9aa49
AZ
326632012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32664
32665 [BZ #13954]
32666 [BZ #13955]
32667 [BZ #13956]
32668 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
32669 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32670 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
32671 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32672 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32673 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32674 * math/libm-test.inc (logb_test) : Additional logb tests.
32675
021db4be
AJ
326762012-05-09 Andreas Schwab <schwab@linux-m68k.org>
32677 Andreas Jaeger <aj@suse.de>
32678
32679 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
32680 * configure: Regenerated.
32681 * config.h.in (LINK_OBSOLETE_RPC): New macro.
32682 * config.make.in (link-obsolete-rpc): New substituted variable.
32683 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
32684 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
32685 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32686 (shared-only-routines): Don't set it under [link-obsolete-rpc],
32687 so that libc.a contains the symbols.
32688 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32689 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
32690 * sunrpc/auth_none.c: Likewise.
32691 * sunrpc/auth_unix.c: Likewise.
32692 * sunrpc/authdes_prot.c: Likewise.
32693 * sunrpc/authuxprot.c: Likewise.
32694 * sunrpc/clnt_gen.c: Likewise.
32695 * sunrpc/clnt_perr.c: Likewise.
32696 * sunrpc/clnt_raw.c: Likewise.
32697 * sunrpc/clnt_simp.c: Likewise.
32698 * sunrpc/clnt_tcp.c: Likewise.
32699 * sunrpc/clnt_udp.c: Likewise.
32700 * sunrpc/clnt_unix.c: Likewise.
32701 * sunrpc/des_crypt.c: Likewise.
32702 * sunrpc/des_soft.c: Likewise.
32703 * sunrpc/get_myaddr.c: Likewise.
32704 * sunrpc/key_call.c: Likewise.
32705 * sunrpc/key_prot.c: Likewise.
32706 * sunrpc/netname.c: Likewise.
32707 * sunrpc/pm_getmaps.c: Likewise.
32708 * sunrpc/pm_getport.c: Likewise.
32709 * sunrpc/pmap_clnt.c: Likewise.
32710 * sunrpc/pmap_prot.c: Likewise.
32711 * sunrpc/pmap_prot2.c: Likewise.
32712 * sunrpc/pmap_rmt.c: Likewise.
32713 * sunrpc/publickey.c: Likewise.
32714 * sunrpc/rpc_cmsg.c: Likewise.
32715 * sunrpc/rpc_common.c: Likewise.
32716 * sunrpc/rpc_dtable.c: Likewise.
32717 * sunrpc/rpc_prot.c: Likewise.
32718 * sunrpc/rpc_thread.c: Likewise.
32719 * sunrpc/rtime.c: Likewise.
32720 * sunrpc/svc.c: Likewise.
32721 * sunrpc/svc_auth.c: Likewise.
32722 * sunrpc/svc_raw.c: Likewise.
32723 * sunrpc/svc_run.c: Likewise.
32724 * sunrpc/svc_tcp.c: Likewise.
32725 * sunrpc/svc_udp.c: Likewise.
32726 * sunrpc/svc_unix.c: Likewise.
32727 * sunrpc/svcauth_des.c: Likewise.
32728 * sunrpc/xcrypt.c: Likewise.
32729 * sunrpc/xdr.c: Likewise.
32730 * sunrpc/xdr_array.c: Likewise.
32731 * sunrpc/xdr_float.c: Likewise.
32732 * sunrpc/xdr_intXX_t.c: Likewise.
32733 * sunrpc/xdr_mem.c: Likewise.
32734 * sunrpc/xdr_rec.c: Likewise.
32735 * sunrpc/xdr_ref.c: Likewise.
32736 * sunrpc/xdr_sizeof.c: Likewise.
32737 * sunrpc/xdr_stdio.c: Likewise.
32738
b5c086a2
RM
327392012-05-10 Roland McGrath <roland@hack.frob.com>
32740
32741 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
32742 change. Update copyright years.
32743
6d74dd09
JM
327442012-05-10 Joseph Myers <joseph@codesourcery.com>
32745
32746 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
32747
28e72501
MK
327482012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
32749 Joseph Myers <joseph@codesourcery.com>
32750 Paul Pluzhnikov <ppluzhnikov@google.com>
32751
32752 [BZ #14012]
32753 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
32754 requiring rpcgen.
32755 [cross-compiling] (extra-libs): Likewise.
32756 [cross-compiling] (extra-libs-others): Likewise.
32757 [cross-compiling] (librpcsvc-routines): Likewise.
32758 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
32759 [cross-compiling] (omit-deps): Likewise.
32760 (sunrpc-CPPFLAGS): New variable.
32761 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
32762 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
32763 (cross-rpcgen-objs): New variable.
32764 (extra-objs): Append $(cross-rpcgen-objs).
32765 ($(cross-rpcgen-objs)): New rule.
32766 ($(objpfx)cross-rpcgen): Likewise.
32767 (rpcgen-cmd): Define to use $(built-program-file). Expand
32768 comment.
32769 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
32770 ($(objpfx)x%.stmp): Likewise.
32771 * sunrpc/proto.h [IS_IN_build] (_): Define.
32772 [IS_IN_build] (_libc_intl_domainname): Likewise.
32773
c8c59454
L
327742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32775
32776 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
32777 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
32778 and R_X86_64_TPOFF64.
32779
6f27cd16
JM
327802012-05-10 Joseph Myers <joseph@codesourcery.com>
32781
32782 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
32783 sysdeps/unix/sysv/syscalls.list.
32784 (stime): Likewise.
32785 (utime): Likewise.
32786 * sysdeps/unix/sysv/syscalls.list: Remove file.
32787
02467e1c
PE
327882012-05-10 Paul Eggert <eggert@cs.ucla.edu>
32789
32790 [BZ #3440]
32791 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
32792 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
32793 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
32794 (__LC_IDENTIFICATION): Make these macros useful in #if
32795 expressions, as required by C99.
32796
da392631
AS
327972012-05-10 Andreas Schwab <schwab@linux-m68k.org>
32798
32799 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
32800 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
32801 after this.
32802
8115f29b
L
328032012-05-09 H.J. Lu <hongjiu.lu@intel.com>
32804
32805 * stdlib/longlong.h: Updated from GCC.
32806
bdd74070
AJ
328072012-05-09 Andreas Jaeger <aj@suse.de>
32808
edfe0dbe
AJ
32809 * nscd/nscd.c (run_modes): Make named enum, reorder so that
32810 default is first entry.
32811 (run_mode): Set type.
32812 (main): Remove informal message about syslog.
32813 (options): Fix typo.
32814
bcfe3a54
ST
32815 [BZ #14053]
32816 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 32817 to asm.
bcfe3a54
ST
32818 (lrint): Likewise.
32819 (llrintf): Likewise.
32820 (llrint): Likewise.
32821 (rint): Likewise.
32822 (rintf): Likewise.
32823 (nearbyint): Likewise.
32824 (nearbyintf): Likewise.
bdd74070 32825
91d8d69e
AJ
328262012-05-09 Andreas Jaeger <aj@suse.de>
32827 Pedro Alves <palves@redhat.com>
32828
32829 * nscd/nscd.c (run_mode): Use enum.
32830 (main): Cleanup coding style issue.
32831
bb90b80b
AJ
328322012-05-09 Alexandre Oliva <aoliva@redhat.com>
32833 Andreas Jaeger <aj@suse.de>
32834
bcfe3a54
ST
32835 * nscd/nscd.c (go_background): Replaced with...
32836 (run_mode): ... this.
bb90b80b 32837 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
32838 (options): Add -F --foreground.
32839 (main): Implement it.
32840 (parse_opt): Parse it.
bb90b80b 32841
1a4b75a1
AJ
328422012-05-09 Andreas Jaeger <aj@suse.de>
32843
32844 [BZ #14083]
32845 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
32846 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
32847 -Wconversion warning.
32848 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
32849 Likewise.
32850
b1cc2472
JM
328512012-05-09 Joseph Myers <joseph@codesourcery.com>
32852
32853 * conform/data/locale.h-data (NULL): Use macro-constant. Require
32854 == 0.
32855 (LC_ALL): Use macro-int-constant.
32856 (LC_COLLATE): Likewise.
32857 (LC_CTYPE): Likewise.
32858 (LC_MESSAGES): Likewise.
32859 (LC_MONETARY): Likewise.
32860 (LC_NUMERIC): Likewise.
32861 (LC_TIME): Likewise.
32862 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
32863 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32864 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32865 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
32866 Specify type.
32867 [C99-based standards] (float_t): Expect type.
32868 [C99-based standards] (double_t): Expect type.
32869 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
32870 type.
32871 [C99-based standards] (HUGE_VALL): Likewise.
32872 [C99-based standards] (INFINITY): Likewise.
32873 [C99-based standards] (NAN): Likewise.
32874 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
32875 [C99-based standards] (FP_NAN): Likewise.
32876 [C99-based standards] (FP_NORMAL): Likewise.
32877 [C99-based standards] (FP_SUBNORMAL): Likewise.
32878 [C99-based standards] (FP_ZERO): Likewise.
32879 [C99-based standards] (FP_FAST_FMA): Use
32880 optional-macro-int-constant. Specify type. Require == 1.
32881 [C99-based standards] (FP_FAST_FMAF): Likewise.
32882 [C99-based standards] (FP_FAST_FMAL): Likewise.
32883 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
32884 [C99-based standards] (FP_ILOGBNAN): Likewise.
32885 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
32886 Specify type.
32887 [C99-based standards] (MATH_ERREXCEPT): Likewise.
32888 [C99-based standards] (math_errhandling): Specify type.
32889 [ISO99 || ISO11] (signgam): Do not allow.
32890 [non-C99-based standards] (copysignf): Do not allow.
32891 [non-C99-based standards] (exp2f): Likewise.
32892 [non-C99-based standards] (log2f): Likewise.
32893 [non-C99-based standards] (modff): Allow.
32894 [non-C99-based standards] (erff): Do not allow.
32895 [non-C99-based standards] (erfcf): Likewise.
32896 [non-C99-based standards] (gammaf): Likewise.
32897 [non-C99-based standards] (hypotf): Likewise.
32898 [non-C99-based standards] (j0f): Likewise.
32899 [non-C99-based standards] (j1f): Likewise.
32900 [non-C99-based standards] (jnf): Likewise.
32901 [non-C99-based standards] (lgammaf): Likewise.
32902 [non-C99-based standards] (tgammaf): Likewise.
32903 [non-C99-based standards] (y0f): Likewise.
32904 [non-C99-based standards] (y1f): Likewise.
32905 [non-C99-based standards] (ynf): Likewise.
32906 [non-C99-based standards] (isnanf): Likewise.
32907 [non-C99-based standards] (acoshf): Likewise.
32908 [non-C99-based standards] (asinhf): Likewise.
32909 [non-C99-based standards] (atanhf): Likewise.
32910 [non-C99-based standards] (cbrtf): Likewise.
32911 [non-C99-based standards] (expm1f): Likewise.
32912 [non-C99-based standards] (ilogbf): Likewise.
32913 [non-C99-based standards] (log1pf): Likewise.
32914 [non-C99-based standards] (logbf): Likewise.
32915 [non-C99-based standards] (nextafterf): Likewise.
32916 [non-C99-based standards] (remainderf): Likewise.
32917 [non-C99-based standards] (rintf): Likewise.
32918 [non-C99-based standards] (scalbf): Likewise.
32919 [non-C99-based standards] (copysignl): Likewise.
32920 [non-C99-based standards] (exp2l): Likewise.
32921 [non-C99-based standards] (log2l): Likewise.
32922 [non-C99-based standards] (modfl): Allow.
32923 [non-C99-based standards] (erfl): Do not allow.
32924 [non-C99-based standards] (erfcl): Likewise.
32925 [non-C99-based standards] (gammal): Likewise.
32926 [non-C99-based standards] (hypotl): Likewise.
32927 [non-C99-based standards] (j0l): Likewise.
32928 [non-C99-based standards] (j1l): Likewise.
32929 [non-C99-based standards] (jnl): Likewise.
32930 [non-C99-based standards] (lgammal): Likewise.
32931 [non-C99-based standards] (tgammal): Likewise.
32932 [non-C99-based standards] (y0l): Likewise.
32933 [non-C99-based standards] (y1l): Likewise.
32934 [non-C99-based standards] (ynl): Likewise.
32935 [non-C99-based standards] (isnanl): Likewise.
32936 [non-C99-based standards] (acoshl): Likewise.
32937 [non-C99-based standards] (asinhl): Likewise.
32938 [non-C99-based standards] (atanhl): Likewise.
32939 [non-C99-based standards] (cbrtl): Likewise.
32940 [non-C99-based standards] (expm1l): Likewise.
32941 [non-C99-based standards] (ilogbl): Likewise.
32942 [non-C99-based standards] (log1pl): Likewise.
32943 [non-C99-based standards] (logbl): Likewise.
32944 [non-C99-based standards] (nextafterl): Likewise.
32945 [non-C99-based standards] (remainderl): Likewise.
32946 [non-C99-based standards] (rintl): Likewise.
32947 [non-C99-based standards] (scalbl): Likewise.
32948 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32949 [non-C99-based standards] (FP_*): Do not allow.
32950 [C99-based standards] (FP_*): Change to
32951 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32952 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32953 allow.
32954 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
32955 (SIG_ERR): Likewise.
32956 [X/Open-based standards] (SIG_HOLD): Likewise.
32957 (SIG_IGN): Likewise.
32958 (SIGABRT): Use macro-int-constant. Specify type. Require
32959 positive value.
32960 (SIGFPE): Likewise.
32961 (SIGILL): Likewise.
32962 (SIGINT): Likewise.
32963 (SIGSEGV): Likewise.
32964 (SIGTER): Likewise.
32965 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
32966 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
32967 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
32968 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
32969 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
32970 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
32971 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
32972 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
32973 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
32974 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
32975 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
32976 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
32977 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
32978 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
32979 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
32980 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
32981 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
32982 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
32983 [X/Open-based standards] (SIGTRAP): Likewise.
32984 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
32985 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
32986 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
32987 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
32988 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32989 allow.
32990
b9f1922d
IW
329912012-05-08 Ian Wienand <ianw@vmware.com>
32992
32993 [BZ #14080]
32994 * time/tzset.c (__tzset_parse_tz): Update default rules for
32995 daylight time changes in the Energy Policy Act of 2005.
32996
1db86e88
AJ
329972012-05-09 Andreas Jaeger <aj@suse.de>
32998
32999 [BZ #13983]
33000 * elf/ldconfig.c (parse_conf): Change string to make clear that
33001 ldconfig only issued a warning if ld.so.conf does not exist.
33002
dee4a4e3
DM
330032012-05-08 David S. Miller <davem@davemloft.net>
33004
ee0db190
DM
33005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33006 movxtod instead of popping the value on the stack.
33007
dee4a4e3
DM
33008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33009
6a43ec98
CD
330102012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
33011
33012 * config.h.in: Add HAVE_ARM_PCS_VFP.
33013
05c2c961
RMG
330142012-05-08 Roland Mc Grath <roland@hack.frob.com>
33015
bcfe3a54
ST
33016 [BZ #13979]
33017 * include/features.h: Warn if user requests __FORTIFY_SOURCE
33018 checking but the checks are disabled for any reason.
05c2c961 33019
4b30f61a
L
330202012-05-08 H.J. Lu <hongjiu.lu@intel.com>
33021
33022 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33023 and ELF64_R_TYPE with ELFW(R_TYPE).
33024
eee2bc67
JM
330252012-05-08 Joseph Myers <joseph@codesourcery.com>
33026
7ea5391a
JM
33027 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33028 (ulimit): Likewise.
33029
eee2bc67
JM
33030 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33031 (settimeofday): Likewise.
33032
abb66a67
MF
330332012-05-08 Mike Frysinger <vapier@gentoo.org>
33034
33035 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
33036 a struct th_u2 inside the union, and move tu_block/tu_code into
33037 a new th_u3 union of tu_block/tu_code inside of that. Move
33038 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
33039 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
33040 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33041 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33042 (th_stuff): Change to th_u1.tu_stuff.
33043 (th_data): Define.
33044 (th_msg): Change to th_u1.th_u2.tu_data.
33045
7f18b530
DM
330462012-05-07 David S. Miller <davem@davemloft.net>
33047
05760585
DM
33048 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33049
7f18b530
DM
33050 [BZ #14074]
33051 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33052 (SETUP_PIC_REG): Use it.
33053 (SETUP_PIC_REG_LEAF): Use it.
33054
495fd99f
JM
330552012-05-07 Joseph Myers <joseph@codesourcery.com>
33056
33057 [BZ #13885]
33058 [BZ #13923]
33059 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33060 USE_AS_EXPM1L.
33061 (EXPL_FINITE): Likewise.
33062 (FLDLOG): Likewise.
33063 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33064 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33065 e_expl.S.
33066 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33067 USE_AS_EXPM1L.
33068 (EXPL_FINITE): Likewise.
33069 (FLDLOG): Likewise.
33070 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33071 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33072 e_expl.S.
33073 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
33074 test of -max_value argument for long double.
33075 * sysdeps/i386/fpu/libm-test-ulps: Update.
33076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33077
6693d694
DM
330782012-05-06 David S. Miller <davem@davemloft.net>
33079
33080 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33081 quad soft-float symbols whose references which are compiler
33082 generated.
33083 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33084
6c23e11c
JM
330852012-05-06 Joseph Myers <joseph@codesourcery.com>
33086
d8b82cad
JM
33087 [BZ #13884]
33088 [BZ #13914]
33089 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33090 USE_AS_EXP10L.
33091 (EXPL_FINITE): Likewise.
33092 (FLDLOG): Likewise.
33093 (c0): Likewise.
33094 (c1): Likewise.
33095 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33096 Adjust comments for base varying.
33097 (__expl_finite): Change alias to EXPL_FINITE.
33098 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33099 e_expl.S.
33100 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33101 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33102 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33103 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33104 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33105 USE_AS_EXP10L.
33106 (EXPL_FINITE): Likewise.
33107 (FLDLOG): Likewise.
33108 (c0): Likewise.
33109 (c1): Likewise.
33110 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33111 Adjust comments for base varying.
33112 (__expl_finite): Change alias to EXPL_FINITE.
33113 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
33114 tests for bugs.
33115 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33116
6c23e11c
JM
33117 [BZ #14064]
33118 * math/libm-test.inc (check_float_internal): Correct ulp
33119 calculation for subnormal expected results.
33120
29ba805c
AJ
331212012-05-06 Andreas Jaeger <aj@suse.de>
33122
33123 * Makeconfig (+math-flags): New, set to -frounding-math.
33124 (+cflags): Add +math-flags so that all of glibc gets compiled with
33125 it.
33126
33127 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33128
7b17aeda
JM
331292012-05-05 Joseph Myers <joseph@codesourcery.com>
33130
5779f134
JM
33131 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33132 Disable one test.
33133
41498f4d
JM
33134 [BZ #13787]
33135 [BZ #13922]
33136 [BZ #14036]
33137 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33138 (__ieee754_expl): Allow for and saturate large arguments.
33139 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33140 (u_threshold): Likewise.
33141 (__exp): Call __ieee754_exp before checking for overflow and
33142 underflow.
33143 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33144 (u_threshold): Likewise.
33145 (__expf): Call __ieee754_expf before checking for overflow and
33146 underflow.
33147 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33148 (u_threshold): Likewise.
33149 (__expl): Call __ieee754_expl before checking for overflow and
33150 underflow.
33151 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33152 (__ieee754_expl): Allow for and saturate large arguments.
33153 * math/libm-test.inc (exp_test): Add another test. Do not allow
33154 missing overflow exception on overflow.
33155 (expm1_test): Do not allow missing overflow exception on overflow.
33156
6698b8bf
JM
33157 * sysdeps/i386/fpu/e_expl.c: Move to ...
33158 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
33159 rather than using inline asm.
33160 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33161 * sysdeps/x86_64/fpu/e_expl.S: Copy from
33162 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33163
7b17aeda
JM
33164 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33165 (nice): Likewise.
33166 (poll): Likewise.
33167 (signal): Likewise.
33168 (time): Likewise.
33169 (times): Likewise.
33170
f7c85819
JM
331712012-05-04 Joseph Myers <joseph@codesourcery.com>
33172
33173 * sysdeps/unix/syscalls.list (adjtime): Add entry from
33174 sysdeps/unix/common/syscalls.list.
33175 (fchmod): Likewise.
33176 (fchown): Likewise.
33177 (ftruncate): Likewise.
33178 (getrusage): Likewise.
33179 (gettimeofday): Likewise.
33180 (setpgid): Likewise.
33181 (setregid): Likewise.
33182 (setreuid): Likewise.
33183 (sigaction): Likewise.
33184 (truncate): Likewise.
33185 (vhangup): Likewise.
33186 * sysdeps/unix/common/syscalls.list: Remove file.
33187 * sysdeps/unix/bsd/Implies: Don't include unix/common.
33188 * sysdeps/unix/sysv/linux/Implies: Likewise.
33189
336270d0
L
331902012-05-04 H.J. Lu <hongjiu.lu@intel.com>
33191
33192 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33194 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33195 Moved to ...
33196 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33197 Here.
33198 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33199 to ...
33200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33201 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33202 to ...
33203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33204 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33205 to ...
33206 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33207 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33208 to ...
33209 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33210 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33211 to ...
33212 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33213 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33214 to ...
33215 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33216 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33217 to ...
33218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33219 Here.
33220 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33221 to ...
33222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33223 Here.
33224 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33225 to ...
33226 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33227 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33228 Moved to ...
33229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33230 Here.
33231 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33232 to ...
33233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33234
d128e450
JM
332352012-05-04 Joseph Myers <joseph@codesourcery.com>
33236
fa8ee516
JM
33237 * sysdeps/unix/common/bits/dirent.h: Remove file.
33238 * sysdeps/unix/common/bits/fcntl.h: Likewise.
33239
d128e450
JM
33240 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33241 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33242 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33243 * sysdeps/unix/bsd/isatty.c: Likewise.
33244 * sysdeps/unix/bsd/tcdrain.c: Likewise.
33245 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33246 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33247
ff8faaf0 332482012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 33249
62881be4 33250 [BZ #13563]
31dc8730
AZ
33251 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33252 long double comparison inaccuracies.
33253 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33255
6fef930c
AS
332562012-05-04 Andreas Schwab <schwab@linux-m68k.org>
33257
33258 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33259 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33260
8f203e6c
JM
332612012-05-04 Joseph Myers <joseph@codesourcery.com>
33262
33263 [BZ #14049]
33264 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33265 nonzero digits before rounding a hex value.
33266 * stdlib/tst-strtod.c (tests): Add another test.
33267
5197d9c2
AK
332682012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33269
33270 * sysdeps/s390/fpu/libm-test-ulps: Update.
33271
f0c1dedf
AJ
332722012-05-03 Andreas Jaeger <aj@suse.de>
33273
33274 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33275 does not get optimized out.
33276 (malloc_opt_barrier): New.
33277
a65ef2ae 332782012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 33279 Roland McGrath <roland@hack.frob.com>
a65ef2ae 33280
2b942cb7 33281 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 33282 intermediate file deletion.
2b942cb7 33283 (generated): Add .symlist files.
a65ef2ae 33284
54b71e02
JM
332852012-05-03 Joseph Myers <joseph@codesourcery.com>
33286
33287 [BZ #13775]
33288 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33289 Redirect under this condition.
33290 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33291 [__USE_GNU] (__dprintf_chk): Not under this condition.
33292 [__USE_GNU] (__vdprintf_chk): Likewise.
33293 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33294 under this condition.
33295 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33296 [__USE_XOPEN2K8] (dprintf): Define under this condition.
33297 [__USE_XOPEN2K8] (vdprintf): Likewise.
33298 [__USE_GNU] (__dprintf_chk): Not under this condition.
33299 [__USE_GNU] (__vdprintf_chk): Likewise.
33300 [__USE_GNU] (dprintf): Likewise.
33301 [__USE_GNU] (vdprintf): Likewise.
33302
d3dfcc41
RM
333032012-05-03 Roland McGrath <roland@hack.frob.com>
33304
33305 * elf/Makefile (common-generated): Set this instead of generated for
33306 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
33307 $(all-built-dso)-derived lists.
33308
7ac30cc5
AJ
333092012-05-03 Andreas Jaeger <aj@suse.de>
33310
0c51e550
AJ
33311 * sysdeps/i386/fpu/libm-test-ulps: Update.
33312
7ac30cc5
AJ
33313 * FAQ: Removed.
33314 * FAQ.in: Likewise.
33315 * scripts/gen-FAQ.pl: Likewise.
33316 * manual/install.texi (Installation): Point to online location of
33317 FAQ.
33318 * Makefile (files-for-dist): Remove FAQ.
33319 (FAQ): Remove.
33320
d4c2917f
AM
333212012-05-02 Allan McRae <allan@archlinux.org>
33322
33323 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33324 (LDFLAGS-reldepmod5.so): Likewise.
33325 (LDFLAGS-reldep6mod1.so): Likewise.
33326 (LDFLAGS-reldep6mod4.so): Likewise.
33327 (LDFLAGS-reldep8mod3.so): Likewise.
33328 (LDFLAGS-unload4mod1.so): Likewise.
33329 (LDFLAGS-unload4mod2.so): Likewise.
33330 (LDFLAGS-tst-initorder): Likewise.
33331 (LDFLAGS-tst-initordera2.so): Likewise.
33332 (LDFLAGS-tst-initordera3.so): Likewise.
33333 (LDFLAGS-tst-initordera4.so): Likewise.
33334 (LDFLAGS-tst-initorderb2.so): Likewise.
33335 (LDFLAGS-noload): Likewise.
33336 (LDFLAGS-next): Likewise.
33337 (LDFLAGS-order2mod1.so): Likewise.
33338 (LDFLAGS-order2mod2.so): Likewise.
33339 (LDFLAGS-tst-initorder2): Likewise.
33340 (LDFLAGS-tst-initorder2a.so): Likewise.
33341 (LDFLAGS-tst-initorder2b.so): Likewise.
33342 (LDFLAGS-tst-initorder2c.so): Likewise.
33343 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33344
d77f993f
DM
333452012-05-02 David S. Miller <davem@davemloft.net>
33346
33347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33348
171a70b4
PP
333492012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
33350
33351 [BZ #14055]
33352 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33353
0be196ad
AJ
333542012-05-02 Andreas Jaeger <aj@suse.de>
33355
33356 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33357 since we manipulate rounding mode.
33358 (CPPFLAGS-test-idouble.c): Likewise.
33359 (CPPFLAGS-test-ifloat.c): Likewise.
33360 (CFLAGS-test-ldouble.c): Likewise.
33361 (CFLAGS-test-double.c): Likewise.
33362 (CFLAGS-test-float.c): Likewise.
33363 (CFLAGS-test-misc.c): Likewise.
33364 (CFLAGS-test-test-fenv.c): Likewise.
33365
4f9d04aa
AZ
333662012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33367
2b942cb7
RM
33368 [BZ #2550]
33369 [BZ #2570]
33370 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33371 comparisons to determine direction to adjust input.
4f9d04aa 33372
82a79e7d
RM
333732012-05-01 Roland McGrath <roland@hack.frob.com>
33374
f5a01ca9
RM
33375 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33376 output to the target.
33377
90fe4186
RM
33378 * scripts/localplt.awk: New file.
33379 * elf/Makefile ($(objpfx)check-localplt): Target removed.
33380 (check-localplt-CFLAGS): Variable removed.
33381 ($(all-built-dso:=.jmprel)): New static pattern rule.
33382 (generated): Add those targets.
33383 (localplt-built-dso): New variable.
33384 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33385
33386 * elf/check-localplt.c: File removed.
33387
82397ed6
RM
33388 * scripts/check-execstack.awk: New file.
33389 * elf/Makefile ($(objpfx)check-execstack): Target removed.
33390 (check-execstack-CFLAGS): Variable removed.
33391 ($(objpfx)check-execstack.h): Target removed.
33392 ($(objpfx)execstack-default): New target.
33393 (generated): Add that instead of check-execstack.h.
33394 ($(all-built-dso:=.phdr)): New static pattern rule.
33395 (generated): Add those targets.
33396 * elf/check-execstack.c: File removed.
33397
82a79e7d
RM
33398 * scripts/check-textrel.awk: New file.
33399 * elf/Makefile ($(objpfx)check-textrel): Target removed.
33400 (check-textrel-CFLAGS): Variable removed.
33401 (all-built-dso): Use := to define.o
33402 ($(all-built-dso:=.dyn)): New static pattern rule.
33403 (generated): Add those targets.
33404 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33405 * config.make.in (READELF): New substituted variable.
33406 * elf/check-textrel.c: File removed.
33407
62fde54f 334082012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 33409
615605c9
JM
33410 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33411 allow.
33412 * conform/data/ctype.h-data [C99-based standards] (isblank):
33413 Expect function.
33414 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33415 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33416 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33417 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33418 Specify type. Require positive value.
33419 (EILSEQ): Likewise.
33420 (ERANGE): Likewise.
33421 [ISO || POSIX] (EILSEQ): Do not expect.
33422 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33423 Specify type. Require positive value.
33424 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33425 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33426 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33427 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33428 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33429 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33430 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33431 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33432 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33433 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33434 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33435 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33436 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33437 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33438 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33439 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33440 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33441 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33442 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33443 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33444 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33445 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33446 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33447 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33448 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33449 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33450 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33451 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33452 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33453 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33454 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33455 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33456 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33457 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33458 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33459 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33460 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33461 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33462 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33463 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33464 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33465 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33466 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33467 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33468 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33469 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33470 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33471 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33472 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33473 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33474 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33475 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33476 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33477 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33478 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33479 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33480 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33481 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33482 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33483 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33484 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33485 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33486 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33487 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33488 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33489 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33490 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33491 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33492 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33493 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33494 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33495 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33496 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33497 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33498 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
33499 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
33500 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
33501 Require >= 2.
33502 (FLT_ROUNDS): Expect as macro, not constant.
33503 (FLT_MANT_DIG): Use macro-int-constant.
33504 (DBL_MANT_DIG): Likewise.
33505 (LDBL_MANT_DIG): Likewise.
33506 (FLT_DIG): Likewise.
33507 (DBL_DIG): Likewise.
33508 (LDBL_DIG): Likewise.
33509 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
33510 (DBL_MIN_EXP): Likewise.
33511 (LDBL_MIN_EXP): Likewise.
33512 (FLT_MAX_EXP): Use macro-int-constant.
33513 (DBL_MAX_EXP): Likewise.
33514 (LDBL_MAX_EXP): Likewise.
33515 (FLT_MAX_10_EXP): Likewise.
33516 (DBL_MAX_10_EXP): Likewise.
33517 (LDBL_MAX_10_EXP): Likewise.
33518 (FLT_MAX): Use macro-constant.
33519 (DBL_MAX): Likewise.
33520 (LDBL_MAX): Likewise.
33521 (FLT_EPSILON): Use macro-constant. Give upper bound.
33522 (DBL_EPSILON): Likewise.
33523 (LDBL_EPSILON): Likewise.
33524 (FLT_MIN): Likewise.
33525 (DBL_MIN): Likewise.
33526 (LDBL_MIN): Likewise.
33527 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
33528 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
33529 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
33530 [ISO11] (FLT_HAS_SUBNORM): Likewise.
33531 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
33532 [ISO11] (DBL_DECIMAL_DIG): Likewise.
33533 [ISO11] (FLT_DECIMAL_DIG): Likewise.
33534 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
33535 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
33536 [ISO11] (FLT_TRUE_MIN): Likewise.
33537 [ISO11] (LDBL_TRUE_MIN): Likewise.
33538 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33539 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
33540 (SCHAR_MIN): Use macro-int-constant. Specify type.
33541 (SCHAR_MAX): Likewise.
33542 (UCHAR_MAX): Likewise.
33543 (CHAR_MIN): Likewise.
33544 (CHAR_MAX): Likewise.
33545 (MB_LEN_MAX): Use macro-int-constant.
33546 (SHRT_MIN): Use macro-int-constant. Specify type.
33547 (SHRT_MAX): Likewise.
33548 (USHRT_MAX): Likewise.
33549 (INT_MAX): Likewise.
33550 (INT_MIN): Use macro-int-constant. Specify type. Make upper
33551 bound negative.
33552 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
33553 bound with "U".
33554 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33555 bound with "L".
33556 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
33557 bound negative. Suffix upper bound with "L".
33558 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33559 bound with "UL".
33560 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
33561 Specify type.
33562 [C99-based standards] (LLONG_MAX): Likewise.
33563 [C99-based standards] (ULLONG_MAX): Likewise.
33564 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
33565 == 0.
33566 [ISO11] (max_align_t): Require type.
33567 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33568
c9140a62
JM
33569 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
33570 from $CFLAGS, without defining away __attribute__ calls.
33571 (checknamespace): Use $CFLAGS_namespace.
33572
9af0bf29
JM
33573 * conform/conformtest.pl (@keywords): Only include C99 keywords
33574 for standards based on C99 or C11.
33575
343222a2
JM
33576 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
33577 Disable tests.
33578 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
33579 UNIX98]: Likewise.
33580
661f8cf0
JM
33581 * conform/conformtest.pl: Handle "macro-int-constant" and test for
33582 usability of symbols in #if.
33583
ee74b9cb
JM
33584 * conform/conformtest.pl: If macro or constant types start
33585 "promoted:", expect the symbol to be of the following type
33586 promoted by the integer promotions.
62fde54f 33587
aafc49b3
JM
33588 * conform/conformtest.pl: Parse all "constant" and "macro" lines
33589 in one place. Also handle "macro-constant".
33590
fefdf574
JM
33591 * conform/conformtest.pl: Only accept expected macro values with
33592 "==". Parse all "macro" lines in one place.
33593 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
33594
f2d922fe
JM
33595 * conform/conformtest.pl: Handle braced types on "constant" lines
33596 instead of handling "typed-constant".
33597 * conform/data/signal.h-data: Use "constant" instead of
33598 "typed-constant".
33599
d22956c9
JM
33600 * conform/conformtest.pl: Handle "optional-" at start of lines in
33601 one place rather than duplicating several cases. Handle each
33602 format of "macro" line with initial "optional-".
33603
028e2e38
JM
33604 * conform/conformtest.pl: Only accept expected constant or
33605 optional-constant values with "==". Parse all "constant" lines in
33606 one place. Parse all "optional-constant" lines in one place.
33607 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
33608 * conform/data/fmtmsg.h-data: Likewise.
33609 * conform/data/netinet/in.h-data: Likewise.
33610 * conform/data/tar.h-data: Likewise.
33611 * conform/data/limits.h-data: Use "==" form on "constant" and
33612 "optional-constant" lines.
33613
1b8f2850
JM
33614 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
33615 Use -std=c99 for XOPEN2K.
33616 (@knownproblems): Remove.
33617 (newtoken): Don't check %isknown.
33618
a05a144b
JM
33619 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
33620 Do not expect macro.
33621 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
33622 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
33623 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
33624 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
33625 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
33626 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
33627 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
33628 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
33629 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
33630 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
33631 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
33632 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
33633 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
33634 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
33635 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
33636 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
33637 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
33638 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
33639 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
33640 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
33641 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
33642 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
33643 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
33644 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
33645 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
33646 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
33647 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
33648 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
33649 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
33650 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
33651 [XPG3] (acosh): Likewise.
33652 [XPG3] (asinh): Likewise.
33653 [XPG3] (atanh): Likewise.
33654 [XPG3] (cbrt): Likewise.
33655 [XPG3] (expm1): Likewise.
33656 [XPG3] (ilogb): Likewise.
33657 [XPG3] (log1p): Likewise.
33658 [XPG3] (logb): Likewise.
33659 [XPG3] (nextafter): Likewise.
33660 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
33661 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
33662 [XPG3] (remainder): Likewise.
33663 [XPG3] (rint): Likewise.
33664 [XPG3 || XPG4 || UNIX98] (round): Likewise.
33665 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
33666 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
33667 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
33668 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
33669 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
33670 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
33671 [UNIX98 || XOPEN2K] (scalb): Expect.
33672 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
33673 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
33674 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
33675 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
33676 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
33677 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
33678 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
33679 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
33680 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
33681 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
33682 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
33683 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
33684 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
33685 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
33686 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
33687 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
33688 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
33689 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
33690 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
33691 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
33692 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
33693 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
33694 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
33695 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
33696 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
33697 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
33698 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
33699 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
33700 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
33701 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
33702 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
33703 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
33704 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
33705 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
33706 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
33707 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
33708 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
33709 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
33710 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
33711 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
33712 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
33713 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
33714 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
33715 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
33716 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
33717 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
33718 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
33719 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
33720 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
33721 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
33722 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
33723 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
33724 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
33725 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
33726 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
33727 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
33728 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
33729 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
33730 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
33731 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
33732 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
33733 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
33734 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
33735 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
33736 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
33737 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
33738 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
33739 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
33740 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
33741 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
33742 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
33743 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
33744 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
33745 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
33746 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
33747 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
33748 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
33749 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
33750 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
33751 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
33752 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
33753 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
33754 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
33755 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
33756 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
33757 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
33758 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
33759 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
33760 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
33761 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
33762 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
33763 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
33764 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
33765 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
33766 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
33767 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
33768 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
33769 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
33770 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
33771 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
33772 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
33773 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
33774 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
33775 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
33776 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
33777 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
33778 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
33779 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
33780 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
33781 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
33782 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
33783 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
33784 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
33785 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
33786 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
33787 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
33788 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
33789 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
33790 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
33791 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
33792 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
33793 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
33794 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
33795 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
33796 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
33797 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
33798 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
33799 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
33800 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
33801 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
33802 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
33803 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
33804 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
33805 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
33806 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
33807 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
33808 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
33809
73c5ebe3
JM
33810 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
33811 _XOPEN_SOURCE_EXTENDED for XPG4.
33812
39c33b6c
JM
33813 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
33814
62fde54f
JM
33815 * Makeconfig (localtime): Remove variable.
33816 (inst_localtime-file): Likewise.
33817
0741d64c
AS
338182012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33819
33820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33821 Update.
33822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33823 Update.
33824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33825 Update.
33826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33827 Update.
33828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33829 Update.
33830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
33831 Update.
33832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33833 Update.
33834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
33835 Update.
33836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33837 Update.
33838
7cb029ee
JM
338392012-05-01 Joseph Myers <joseph@codesourcery.com>
33840
33841 [BZ #2550]
33842 [BZ #2570]
33843 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
33844 comparisons to determine direction to adjust input.
33845 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33846 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
33847 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33848 Likewise.
33849 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33850 Likewise.
33851 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33852 Likewise.
33853 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33854 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33855 Likewise.
33856 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33857 Likewise.
33858 * math/libm-test.inc (nexttoward_test): Add more tests.
33859
412bd966
AS
338602012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33861
33862 [BZ #14040]
33863 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
33864 in version GLIBC_2.1, not GLIBC_2.0.
33865 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
33866 Likewise.
33867
9568c0c2
JM
338682012-04-30 Joseph Myers <joseph@codesourcery.com>
33869
adfbc8ac
JM
33870 [BZ #13942]
33871 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
33872 (1 - x) * (1 + x).
33873 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33874 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
33875 * math/libm-test.inc (acos_test): Add more tests.
33876 (asin_test): Likewise.
33877 * sysdeps/i386/fpu/libm-test-ulps: Update.
33878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33879
5ba3cc69
JM
33880 [BZ #14034]
33881 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
33882 of square root.
33883 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
33884 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33885 * math/libm-test.inc (acos_test_tonearest): New function.
33886 (acos_test_towardzero): Likewise.
33887 (acos_test_downward): Likewise.
33888 (acos_test_upward): Likewise.
33889 (asin_test_tonearest): Likewise.
33890 (asin_test_towardzero): Likewise.
33891 (asin_test_downward): Likewise.
33892 (asin_test_upward): Likewise.
33893 (main): Call the new functions.
33894 * sysdeps/i386/fpu/libm-test-ulps: Update.
33895 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33896
9568c0c2
JM
33897 [BZ #13884]
33898 [BZ #13924]
33899 * math/e_exp10.c: Include <float.h>.
33900 (__ieee754_exp10): Handle underflow here rather than multiplying
33901 large negative argument by M_LN10.
33902 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
33903 of __ieee754_expf.
33904 * math/e_exp10l.c: Include <float.h>.
33905 (__ieee754_exp10l): Handle underflow here rather than multiplying
33906 large negative argument by M_LN10l.
33907 * math/libm-test.inc (exp10_test): Add another test. Do not allow
33908 spurious overflow exception on underflow.
33909
5ac3ea17
MP
339102012-04-29 Marek Polacek <polacek@redhat.com>
33911
33912 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
33913 (__fortify_function): New macro.
33914 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
33915 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
33916 __extern_always_inline.
33917 * libio/bits/stdio2.h: Likewise.
33918 * libio/bits/stdio.h: Likewise.
33919 * string/string.h: Likewise.
33920 * string/bits/string3.h: Likewise.
33921 * include/stdio.h: Likewise.
33922 * stdlib/bits/stdlib.h: Likewise.
33923 * stdlib/stdlib.h: Likewise.
33924 * rt/bits/mqueue2.h: Likewise.
33925 * rt/mqueue.h: Likewise.
33926 * posix/bits/unistd.h: Likewise.
33927 * posix/unistd.h: Likewise.
33928 * io/bits/poll2.h: Likewise.
33929 * io/bits/fcntl2.h: Likewise.
33930 * io/fcntl.h: Likewise.
33931 * io/sys/poll.h: Likewise.
33932 * misc/bits/syslog.h: Likewise.
33933 * misc/bits/syslog-ldbl.h: Likewise.
33934 * misc/sys/syslog.h: Likewise.
33935 * socket/bits/socket2.h: Likewise.
33936 * socket/sys/socket.h: Likewise.
33937 * debug/tst-chk1.c: Likewise.
33938 * wcsmbs/bits/wchar2.h: Likewise.
33939 * wcsmbs/bits/wchar-ldbl.h: Likewise.
33940 * wcsmbs/wchar.h: Likewise.
33941
ecf0ebfb
AJ
339422012-04-29 Andreas Jaeger <aj@suse.de>
33943
33944 * Makerules (tests): Remove enable-check-abi protection.
33945 (check-abi-warn): Remove.
33946 (check-abi-%): Remove check-abi-warn usage.
33947
33948 * configure.in: Remove check-abi configure option.
33949 * configure: Regenerated.
33950 * config.make.in (enable-check-abi): Remove.
33951
6d5c57fa
AS
339522012-04-28 Andreas Schwab <schwab@linux-m68k.org>
33953
24c5d07e 33954 [BZ #14033]
ded5180a
AS
33955 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
33956 double functions to double *_finite functions.
33957
7e0d315d
AS
33958 [BZ #13941]
33959 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
33960 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
33961 LDBL_MIN_EXP.
33962 * stdio-common/Makefile (tests): Add tst-sprintf3.
33963 * stdio-common/tst-sprintf3.c: New file.
33964
6d5c57fa
AS
33965 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
33966 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
33967
0749ff8b
JM
339682012-04-28 Joseph Myers <joseph@codesourcery.com>
33969
33970 * conform/conformtest.pl: Remove duplicate typed-constant
33971 handling.
33972
8dbd5d7b
DM
339732012-04-28 David S. Miller <davem@davemloft.net>
33974
33975 * Makerules (%.abilist): Add vpath on sysdep_dirs.
33976 (check-abi-%): Remove AWK script prerequisite and explicit
33977 abilist directory.
33978 (check-abi): Rewrite to just diff the symlist with the abilist.
33979 (config-tls, config-abi-config): Delete, no longer used.
33980 (update-abi-%): Remove AWK script and explicit abilist directory.
33981 (update-abi): Rewrite to simply compare and conditionally copy the
33982 symlist and the sysdep abilist file. Remove update-abi-config
33983 checks.
33984 * abilist/ld.abilist: Remove.
33985 * abilist/libBrokenLocale.abilist: Remove.
33986 * abilist/libanl.abilist: Remove.
33987 * abilist/libcrypt.abilist: Remove.
33988 * abilist/libdl.abilist: Remove.
33989 * abilist/librt.abilist: Remove.
33990 * abilist/libthread_db.abilist: Remove.
33991 * abilist/libutil.abilist: Remove.
33992 * scripts/extract-abilist.awk: Remove.
33993 * scripts/merge-abilist.awk: Remove.
33994 * sysdeps/generic/libcidn.abilist: New file.
33995 * sysdeps/generic/libnss_compat.abilist: New file.
33996 * sysdeps/generic/libnss_db.abilist: New file.
33997 * sysdeps/generic/libnss_dns.abilist: New file.
33998 * sysdeps/generic/libnss_files.abilist: New file.
33999 * sysdeps/generic/libnss_hesiod.abilist: New file.
34000 * sysdeps/generic/libnss_nis.abilist: New file.
34001 * sysdeps/generic/libnss_nisplus.abilist: New file.
34002 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34003 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34004 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34005 file.
34006 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34007 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34008 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34009 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34010 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34011 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34012 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34013 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34014 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34015 file.
34016 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34017 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34018 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34019 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34020 file.
34021 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34022 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34023 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34024 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34025 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34026 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34027 file.
34028 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34029 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34030 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34031 file.
34032 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34033 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34034 New file.
34035 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34036 New file.
34037 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34038 New file.
34039 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34040 New file.
34041 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34042 New file.
34043 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34044 New file.
34045 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34046 New file.
34047 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34048 New file.
34049 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34050 New file.
34051 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34052 New file.
34053 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34054 New file.
34055 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34056 New file.
34057 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34058 New file.
34059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34060 file.
34061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34062 New file.
34063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34064 New file.
34065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34066 file.
34067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34068 New file.
34069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34070 New file.
34071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34072 file.
34073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34074 New file.
34075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34076 New file.
34077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34078 New file.
34079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34080 New file.
34081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34082 New file.
34083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34084 New file.
34085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34087 file.
34088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34089 New file.
34090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34091 file.
34092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34093 file.
34094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34095 file.
34096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34097 file.
34098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34099 file.
34100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34101 New file.
34102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34103 file.
34104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34105 file.
34106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34107 New file.
34108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34109 file.
34110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34112 file.
34113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34114 New file.
34115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34116 file.
34117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34118 file.
34119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34120 file.
34121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34122 file.
34123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34124 file.
34125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34126 New file.
34127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34128 file.
34129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34130 file.
34131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34132 New file.
34133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34134 file.
34135 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34136 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34137 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34138 file.
34139 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34140 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34141 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34142 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34143 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34144 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34145 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34146 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34147 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34148 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34151 file.
34152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34153 New file.
34154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34155 file.
34156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34157 file.
34158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34159 file.
34160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34161 file.
34162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34163 file.
34164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34165 New file.
34166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34167 New file.
34168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34169 file.
34170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34171 New file.
34172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34173 file.
34174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34176 file.
34177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34178 New file.
34179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34180 file.
34181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34182 file.
34183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34184 file.
34185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34186 file.
34187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34188 file.
34189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34190 New file.
34191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34192 New file.
34193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34194 file.
34195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34196 New file.
34197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34198 file.
34199
41d73a1b
JM
342002012-04-28 Joseph Myers <joseph@codesourcery.com>
34201
34202 * conform/conformtest.pl: Fix typo in handling typed-constant from
34203 allow-header.
34204
28aeeda4
JM
342052012-04-27 Joseph Myers <joseph@codesourcery.com>
34206
adae8f5e
JM
34207 * README: Cut down references to pre-2.6 Linux kernels and
34208 Linuxthreads. Update lists of configurations in libc and ports
34209 and sort alphabetically. Say "or newer" with Linux kernel version
34210 requirements.
34211
28aeeda4
JM
34212 * config.h.in [IS_IN_build]: Allow compiling without optimization.
34213
a462cb63
RA
342142012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34215
34216 [BZ #887]
34217 * math/libm-test.inc (logb_test_downward): New test to expose
34218 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34219 rounding mode.
34220
6ad3493e
JM
342212012-04-27 Joseph Myers <joseph@codesourcery.com>
34222
34223 [BZ #14027]
34224 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34225 to be done.
34226 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34227 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34228
2ce4f015
JM
342292012-04-26 Joseph Myers <joseph@codesourcery.com>
34230
5aeb141a
JM
34231 * sysdeps/unix/i386/brk.S: Remove file.
34232 * sysdeps/unix/i386/dl-brk.S: Likewise.
34233 * sysdeps/unix/i386/pipe.S: Likewise.
34234 * sysdeps/unix/i386/sigreturn.S: Likewise.
34235 * sysdeps/unix/i386/syscall.S: Likewise.
34236 * sysdeps/unix/i386/vfork.S: Likewise.
34237 * sysdeps/unix/i386/wait.S: Likewise.
34238
7143acae
JM
34239 * sysdeps/unix/common/tcsendbrk.c: Move to ...
34240 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34241
2ce4f015
JM
34242 * configure.in (arm*-none*): Do not allow without
34243 --enable-hacker-mode.
34244 (netbsd*): Remove case setting base_os.
34245 (386bsd*): Likewise.
34246 (freebsd*): Likewise.
34247 (bsdi*): Likewise.
34248 (osf*): Likewise.
34249 (sunos*): Likewise.
34250 (ultrix*): Likewise.
34251 (newsos*): Likewise.
34252 (dynix*): Likewise.
34253 (*bsd*): Likewise.
34254 (sysv*): Likewise.
34255 (isc*): Likewise.
34256 (esix*): Likewise.
34257 (sco*): Likewise.
34258 (minix*): Likewise.
34259 (irix4*): Likewise.
34260 (irix6*): Likewise.
34261 (solaris[2-9]*): Likewise.
34262 (none): Likewise.
34263 * configure: Regenerated.
34264
0ac229c8
AZ
342652012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34266
34267 [BZ #11521]
34268 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34269 overflow or cancellation in calculating denominator.
34270 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34271 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34272 down expression to avoid unexpected rounding in newer GCCs.
34273 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34274
33f244f4
DM
342752012-04-26 David S. Miller <davem@davemloft.net>
34276
34277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34278 long-double compat symbols.
34279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34292
cfa1f3e8
DM
342932012-04-25 David S. Miller <davem@davemloft.net>
34294
34295 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34296 HWCAP_* values only after the memory barriers have been defined.
34297 (atomic_full_barrier): Define.
34298 (atomic_read_barrier): Define.
34299 (atomic_write_barrier): Define.
34300
6e236b92
SP
343012012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34302
34303 * shlib-versions: Add libgcc_s version information.
34304 * sysdeps/generic/libgcc_s.h: Remove.
34305 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34306 libgcc_s.h.
34307 * sysdeps/gnu/unwind-resume.c: Likewise.
34308 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34309
aab39a09
DM
343102012-04-25 David S. Miller <davem@davemloft.net>
34311
34312 * sysdeps/unix/sparc/brk.S: Delete.
34313 * sysdeps/unix/sparc/dl-brk.S: Delete.
34314 * sysdeps/unix/sparc/pipe.S: Delete.
34315 * sysdeps/unix/sparc/sysdep.S: Delete.
34316 * sysdeps/unix/sparc/sysdep.h: Delete.
34317 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
34318 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34319 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34320 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34321 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
34322 (JUMPTARGET): Remove.
34323 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34324 sysdeps/unix/sparc/sysdep.h
34325 (ENTRY, END): Remove.
34326 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34327
a3cc4f48
JM
343282012-04-25 Joseph Myers <joseph@codesourcery.com>
34329
2ed8cda2
JM
34330 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34331 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34332 -DIS_IN_build.
34333
35d76d59
JM
34334 * timezone/README: Update upstream location and email address for
34335 tzcode and tzdata.
34336 * timezone/zdump.c: Update from tzcode 2012b.
34337 * timezone/zic.c: Likewise.
34338
a3cc4f48
JM
34339 * configure.in (libc_cv_as_needed): Remove test.
34340 * configure: Regenerated.
34341 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34342 conditional definition.
34343 [$(have-as-needed) != yes] (no-as-needed): Likewise.
34344 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34345 * config.make.in (have-as-needed): Remove variable.
34346
ceab42c3
SP
343472012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34348 Paul Pluzhnikov <ppluzhnikov@google.com>
34349
34350 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34351 strings correctly.
34352
3ce2865f
CLT
343532012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
34354
34355 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34356 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34357 * sysdeps/sh/strlen.S: Likewise.
34358
f37e0d68
JM
343592012-04-24 Joseph Myers <joseph@codesourcery.com>
34360
ae186e9a
JM
34361 * sysdeps/unix/fork.S: Remove file.
34362 * sysdeps/unix/i386/fork.S: Likewise.
34363 * sysdeps/unix/sparc/fork.S: Likewise.
34364
b96914af
JM
34365 * sysdeps/unix/system.c: Remove file.
34366 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34367
f37e0d68
JM
34368 * sysdeps/unix/getegid.S: Remove file.
34369 * sysdeps/unix/geteuid.S: Likewise.
34370
87ef29ca
RM
343712012-04-24 Roland McGrath <roland@hack.frob.com>
34372
83bcd236
RM
34373 * scripts/check-localplt.awk: New file.
34374 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34375 of diff.
34376 * scripts/data/localplt-generic.data: Add a comment.
34377
87ef29ca
RM
34378 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34379 NODE when __dir_mkfile failed.
34380 * sysdeps/mach/hurd/symlinkat.c: Likewise.
34381 Reported by Ludovic Courtès <ludo@gnu.org>.
34382
e5a6e567
AJ
343832012-04-24 Andreas Jaeger <aj@suse.de>
34384
34385 * Makerules (common-clean): Also remove gen-as-const-headers
34386 files.
34387
c1820385
JM
343882012-04-24 Joseph Myers <joseph@codesourcery.com>
34389
34390 * Makerules (native-compile): Do not change working directory for
34391 build. Use $(OUTPUT_OPTION) in command.
34392 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34393
94e02fc4
AZ
343942012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34395
34396 [BZ #13886]
34397 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34398 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34399 * math/libm-test.inc (floor_test): Add more tests.
34400 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34401
3a533ca3
JM
344022012-04-24 Joseph Myers <joseph@codesourcery.com>
34403
940ab4b3
JM
34404 * sysdeps/unix/getdents.c: Remove file.
34405 * sysdeps/unix/sysv/getdents.c: Likewise.
34406 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34407
90e037bd
JM
34408 * sysdeps/unix/syscalls.list (madvise): Add syscall from
34409 sysdeps/unix/mman/syscalls.list.
34410 (mmap): Likewise.
34411 (mprotect): Likewise.
34412 (msync): Likewise.
34413 (munmap): Likewise.
34414 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34415 * sysdeps/unix/mman/syscalls.list: Remove.
34416 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34417
3a533ca3
JM
34418 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34419 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34420 * configure: Regenerated.
34421 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34422 $(libgcc_s_suffix).
34423 * config.make.in (libgcc_s_suffix): Remove variable.
34424
1ad743de
JM
344252012-04-23 Joseph Myers <joseph@codesourcery.com>
34426
4ad451e2
JM
34427 * sysdeps/unix/sysv/gethostname.c: Move to ...
34428 * sysdeps/posix/gethostname.c: ... here.
34429
5e37ce39
JM
34430 * sysdeps/unix/execve.S: Remove file.
34431
1ad743de
JM
34432 * sysdeps/unix/_exit.S: Remove file.
34433
4e681b5b
AJ
344342012-04-23 Andreas Jaeger <aj@suse.de>
34435
34436 [BZ #13739]
34437 * manual/Makefile: Remove make dist support, there's no
34438 need for a stand-alone documentation tar ball.
34439 (TEXI2DVI): Define always, it's not in Makeconfig.
34440 (dist): Removed.
34441 (tar-it): Removed.
34442 (edition): Removed.
34443 (glibc-doc-$(edition).tar): Removed
34444 (%.Z): Removed.
34445 (%.gz): Removed.
34446 (%.uu): Removed.
34447 (ETAGS): Remove, it's in Makeconfig.
34448 (move-if-change): Remove, it's in Makeconfig.
34449
38686a03 344502012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
34451
34452 [BZ #13970]
34453 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34454 (strtod, strtof, strtold, strtol, strtoul, strtoq)
34455 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34456 (strtod_l, strtof_l, strtold_l): Remove __wur.
34457 It is not necessarily an error to ignore strtol's return value.
34458 One can reliably look at the stored endptr to decide whether
34459 the number had valid syntax.
34460
7c0616fa
AJ
344612012-04-21 Andreas Jaeger <aj@suse.de>
34462
803cb6b7 34463 [BZ #13739]
7c0616fa
AJ
34464 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34465
b0fe253f
JM
344662012-04-21 Joseph Myers <joseph@codesourcery.com>
34467
34468 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34469 * sysdeps/unix/sysv/Versions: Remove file.
34470
8280f22d
MT
344712012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
34472
34473 [BZ #13927]
34474 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34475
75ce411f 344762012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
34477
34478 [BZ #7064]
34479 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34480 version from __vm86.
34481
097d59fa
JM
344822012-04-20 Joseph Myers <joseph@codesourcery.com>
34483
a90f3bcb
JM
34484 * sysdeps/unix/common/lxstat.c: Remove file.
34485 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34486
edc7ea78
JM
34487 * sysdeps/unix/sysv/Makefile: Remove file.
34488
cb78c221
JM
34489 * sysdeps/unix/sysv/direct.h: Remove file.
34490
efa6a45f
JM
34491 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34492 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34493 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34494 * sysdeps/unix/sysv/bits/signum.h: Likewise.
34495 * sysdeps/unix/sysv/bits/stat.h: Likewise.
34496 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34497 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34498
9c9f2d0c
JM
34499 * sysdeps/unix/sysv/setrlimit.c: Remove file.
34500
4541c83b
JM
34501 * sysdeps/unix/xmknod.c: Remove file.
34502 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
34503
f5d153a0
JM
34504 * sysdeps/unix/sysv/settimeofday.c: Remove file.
34505
aa746595
JM
34506 * sysdeps/unix/sysv/i386/time.S: Remove file.
34507
cce5905e
JM
34508 * sysdeps/unix/fxstat.c: Remove file.
34509 * sysdeps/unix/xstat.c: Likewise.
34510 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
34511
37fa3841
JM
34512 * sysdeps/unix/sysv/sigaction.c: Remove file.
34513
ff1962a3
JM
34514 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
34515 (sysdep_headers): Remove variable.
34516 [termio.h not in sysdep_headers] (generated): Likewise.
34517 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
34518 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
34519 * sysdeps/unix/sysv/tcdrain.c: Likewise.
34520 * sysdeps/unix/sysv/tcflow.c: Likewise.
34521 * sysdeps/unix/sysv/tcflush.c: Likewise.
34522 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
34523 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
34524 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
34525 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
34526 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
34527
e7740d31
JM
34528 * sysdeps/unix/siglist.c: Remove file.
34529
ee06f18b
JM
34530 * sysdeps/unix/getppid.S: Remove file.
34531
097d59fa
JM
34532 * sysdeps/unix/mkdir.c: Remove file.
34533 * sysdeps/unix/rmdir.c: Likewise.
34534
ff3d51ec
AS
345352012-04-19 Andreas Schwab <schwab@linux-m68k.org>
34536
34537 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
34538 ERR_MAX value.
34539 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
34540 errlist-compat value.
34541
50f81fd7
DM
345422012-04-18 David S. Miller <davem@davemloft.net>
34543
34544 * sysdeps/generic/memcopy.h (reg_char): Delete.
34545 * debug/strcat_chk.c: Use char, not reg_char.
34546 * debug/strcpy_chk.c: Likewise.
34547 * debug/strncat_chk.c: Likewise.
34548 * debug/strncpy_chk.c: Likewise.
34549 * string/memchr.c: Likewise.
34550 * string/memrchr.c: Likewise.
34551 * string/rawmemchr.c: Likewise.
34552 * string/strcat.c: Likewise.
34553 * string/strchr.c: Likewise.
34554 * string/strchrnul.c: Likewise.
34555 * string/strcmp.c: Likewise.
34556 * string/strcpy.c: Likewise.
34557 * string/strncat.c: Likewise.
34558 * string/strncmp.c: Likewise.
34559 * string/strncpy.c: Likewise.
34560
8ff41c46
WS
345612012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34562
34563 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
34564 __builtin_memcopy is called when src and dest ranges are known to not
34565 overlap.
34566
6b652f46
WS
345672012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34568
34569 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
34570 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
34571 fwd_align_merge macro call.
34572 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
34573 bwd_align_merge macro call.
34574 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34575
b282631e
WS
345762012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34577
34578 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
34579 bwd_align_merge macros.
34580 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
34581 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
34582 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34583
95aa737c
DM
345842012-04-18 David S. Miller <davem@davemloft.net>
34585
34586 * sysdeps/sparc/sparc64/memcopy.h: Delete.
34587
7a99a614
AJ
345882012-04-18 Andreas Jaeger <aj@suse.de>
34589
34590 [BZ# 6794]
34591 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
34592 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
34593 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34594
34595 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
34596 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
34597 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34598
34599 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
34600 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
34601 Adjust for changed ldbl-128 files.
34602
34603 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
34604 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
34605 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34606
e5270c23
DM
346072012-04-17 David S. Miller <davem@davemloft.net>
34608
34609 * sysdeps/sparc/sparc32/memcopy.h: Delete.
34610
fb5e92c9
AS
346112012-04-17 Andreas Schwab <schwab@linux-m68k.org>
34612
34613 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
34614 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
34615 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
34616 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
34617 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34618 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
34619
76da7265
AZ
346202012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34621
34622 [BZ #6794]
34623 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
34624 * math/libm-test.inc: Add ilogb errno and exception tests.
34625 * math/w_ilogb.c: New file: ilogb wrapper.
34626 * math/w_ilogbf.c: New file: ilogbf wrapper.
34627 * math/w_ilogbl.c: New file: ilogbl wrapper.
34628 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
34629 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
34630 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
34631 exception being thrown with 0.0 as argument.
34632 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
34633 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
34634 exception being thrown with 0.0 as argument.
34635 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
34636 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34637 exception being thrown with 0.0 as argument.
34638 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
34639 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34640 exception being thrown with 0.0 as argument.
34641 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
34642 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 34643 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
34644 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
34645 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
34646 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
34647 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
34648 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
34649 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
34650
0396e69d
PB
346512012-04-17 Petr Baudis <pasky@ucw.cz>
34652
34653 * include/sys/uio.h: Change __vector to __iovec to avoid clash
34654 with altivec.
34655
750b5926
MP
346562012-04-16 Marek Polacek <polacek@redhat.com>
34657
34658 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
34659
751728a1
MP
346602012-04-16 Marek Polacek <polacek@redhat.com>
34661
34662 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
34663 operands of fdivp instruction.
34664
34a27407
L
346652012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34666
34667 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
34668 * elf/tst-auditmod3b.c: Likewise.
34669 * elf/tst-auditmod4b.c: Likewise.
34670 * elf/tst-auditmod5b.c: Likewise.
34671 * elf/tst-auditmod6b.c: Likewise.
34672 * elf/tst-auditmod6c.c: Likewise.
34673 * elf/tst-auditmod7b.c: Likewise.
34674 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
34675 * sysdeps/x86_64/preconfigure.in: Likewise.
34676 * sysdeps/x86_64/preconfigure: Regenerated.
34677
7e73e17d
L
346782012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34679
34680 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
34681 __ILP32__.
34682
c7a6ab72
AB
346832012-04-13 Antoine Balestrat <merkil33@gmail.com>
34684
34685 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34686 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
34687
a9e8e0e0
CL
346882012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
34689
34690 [BZ #13973]
34691 * locale/iso-639.def: Fix gl language name. Spotted by
34692 Yaron Shahrabani.
34693
ec98af7d
RM
346942012-04-12 Roland McGrath <roland@hack.frob.com>
34695
34696 [BZ #2074]
34697 * libio/libio.h (__io_write_fn): Update comment.
34698
247c3ede
PB
346992012-04-12 Petr Baudis <pasky@ucw.cz>
34700
34701 [BZ #2074]
34702 * stdio.texi (Hook Functions): The user provided writer function
34703 is not allowed to return -1.
34704
55939d6d
DM
347052012-04-11 David S. Miller <davem@davemloft.net>
34706
34707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34708
90020f5a
MF
347092012-04-11 Mike Frysinger <vapier@gentoo.org>
34710
34711 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
34712 Add a leading slash to rtkaio.
34713
288f9098
JM
347142012-04-11 Jim Meyering <meyering@redhat.com>
34715
90020f5a
MF
34716 [BZ #11959]
34717 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
34718 It is not necessarily an error to ignore fwrite's return
34719 value. One can reliably use ferror to test for errors after
34720 the fact.
288f9098 34721
4be2b570
L
347222012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34723
34724 * bits/types.h (__snseconds_t): New type.
34725 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
34726
34727 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
34728 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34729 (__SNSECONDS_T_TYPE): Likewise.
34730 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34731 (__SNSECONDS_T_TYPE): Likewise.
34732 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34733 (__SNSECONDS_T_TYPE): Likewise.
34734
288f9098 347352012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
34736
34737 [BZ #2636]
34738 * manual/time.texi (Processor Time): Return type of times is
34739 elapsed real time since an arbitrary point in the past.
34740 (CPU Time): Move CLK_TCK from here...
34741 (Processor Time): ...to here. Correct description.
34742 * manual/conf.texi (Constants for Sysconf): Correct description of
34743 _SC_CLK_TCK.
34744
d7dd4413
DM
347452012-04-10 David S. Miller <davem@davemloft.net>
34746
34747 [BZ #13967]
34748 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
34749 where the is a gap between DT_REL(A) and DT_JMPREL.
34750
b46068fc
L
347512012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34752
34753 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
34754 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34755 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34756
73d65cc3
SP
347572012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34758
34759 * elf/dl-support.c (_dl_inhibit_cache): New variable.
34760 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
34761 (dl_main): Handle --inhibit-cache.
34762 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
34763 _dl_inhibit_cache.
34764 * elf/dl-load.c (_dl_map_object): Use it.
34765 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
34766
bcc8d661
JM
347672012-04-09 Joseph Myers <joseph@codesourcery.com>
34768
8f9a2fae
JM
34769 [BZ #13872]
34770 * sysdeps/i386/fpu/e_powl.S (p78): New object.
34771 (__ieee754_powl): Saturate large exponents rather than testing for
34772 overflow of y*log2(x).
34773 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34774 * math/libm-test.inc (pow_test): Do not permit spurious overflow
34775 exceptions.
34776
bcc8d661
JM
34777 [BZ #11521]
34778 * math/s_ctan.c: Include <float.h>.
34779 (__ctan): Avoid internal overflow or cancellation in calculating
34780 denominator.
34781 * math/s_ctanf.c: Likewise.
34782 * math/s_ctanl.c: Likewise.
34783 * math/s_ctanh.c: Likewise.
34784 * math/s_ctanhf.c: Likewise.
34785 * math/s_ctanhl.c: Likewise.
34786 * math/libm-test.inc (ctan_test): Add more tests.
34787 (ctanh_test): Likewise.
34788 * sysdeps/i386/fpu/libm-test-ulps: Update.
34789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34790
823fbbb4
AJ
347912012-04-09 Andreas Jaeger <aj@suse.de>
34792
03879793
AJ
34793 [BZ #6894]
34794 * manual/filesys.texi (Directory Entries): Mention that d_namlen
34795 is an optional BSD extension.
34796
823fbbb4
AJ
34797 [BZ #10254]
34798 * manual/stdio.texi (Opening Streams): Document additional fopen
34799 parameters.
34800
8de131cb
RM
348012012-04-09 Roland McGrath <roland@hack.frob.com>
34802
34803 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
34804 %eax without telling the compiler.
34805
c0ed9d7d
CD
348062012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
34807
34808 [BZ # 13963]
34809 * manual/install.texi: Use sourceware.org.
34810
c483f6b4
JM
348112012-04-09 Joseph Myers <joseph@codesourcery.com>
34812
d7dd9453
JM
34813 [BZ #13873]
34814 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
34815 (__ieee754_pow): Generate overflow and underflow using huge*huge
34816 and tiny*tiny rather than just returning constant infinity or zero
34817 for large exponents.
34818 * math/libm-test.inc (pow_test): Require overflow exceptions for
34819 applicable cases of large exponents.
34820
c483f6b4
JM
34821 [BZ #706]
34822 * sysdeps/i386/fpu/e_pow.S (p10): New object.
34823 (__ieee754_pow): Use iterative multiplication algorithm only for
34824 integer exponents with absolute value below 1024. Check for odd
34825 integer exponents when using algorithm for real exponents.
34826 * math/libm-test.inc (pow_test): Add more tests.
34827 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34828
d2de7579
JM
348292012-04-08 Joseph Myers <joseph@codesourcery.com>
34830
34831 [BZ #13705]
34832 * math/libm-test.inc (exp_test): Do not allow overflow exception
34833 on underflow test.
34834
f77f1232
AJ
348352012-04-08 Aurelien Jarno <aurelien@aurel32.net>
34836
34837 [BZ #13705]
34838 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
34839 instead of __kernel_standard_f.
34840
3884932b
MF
348412012-04-08 Mike Frysinger <vapier@gentoo.org>
34842
34843 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
34844 * sysdeps/x86_64/memset_chk.S: Likewise.
34845
54472e9c
AJ
348462012-04-08 Andreas Jaeger <aj@suse.de>
34847
6ab0fbfc
AJ
34848 [BZ #10153]
34849 * manual/startup.texi (Environment Access): Describe return value
34850 for putenv and setenv.
34851
61efba8c
AJ
34852 [BZ #6895]
34853 * manual/filesys.texi (Directory Entries): Add description for
34854 DT_LNK.
34855
95c3f29a
AJ
34856 [BZ #6890]
34857 * manual/filesys.texi (Directory Entries): Clarify that it's file
34858 system not operating system in the description of DT_UNKNOWN.
34859
54472e9c
AJ
34860 [BZ #6578]
34861 * manual/syslog.texi (closelog): Fix reference, it's openlog.
34862
624254b1
SC
348632012-04-08 Stephen Compall <s11@member.fsf.org>
34864
34865 [BZ #6649]
34866 * manual/llio.texi (Opening and Closing Files): Add cross
34867 reference to explain mode argument.
34868
1e4920e0
MF
348692012-04-07 Mike Frysinger <vapier@gentoo.org>
34870
34871 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
34872 * sysdeps/x86_64/memset_chk.S: Likewise.
34873
5ed848f3
DM
348742012-04-07 David S. Miller <davem@davemloft.net>
34875
34876 * elf/elf.h (R_SPARC_WDISP10): Define.
34877 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
34878 R_SPARC_SIZE32.
34879 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
34880 R_SPARC_SIZE64 and R_SPARC_H34.
34881
96154cd8
CD
348822012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
34883
34884 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
34885 conditions and remove no longer applicable assertion.
34886
9904dc47
L
348872012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34888
34889 * bits/byteswap.h: Include <features.h>.
34890 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34891 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34892
f8887d0a
L
348932012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34894
34895 * bits/byteswap.h (__bswap_16): Removed.
34896 Include <bits/byteswap-16.h> to get __bswap_16.
34897 * sysdeps/i386/bits/byteswap.h: Likewise.
34898 * sysdeps/s390/bits/byteswap.h: Likewise.
34899 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34900 * bits/byteswap-16.h: New file.
34901 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34902 * sysdeps/s390/bits/byteswap-16.h: Likewise.
34903 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
34904 * string/Makefile (headers): Add bits/byteswap-16.h.
34905
62470f60
PP
349062012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34907
34908 [BZ #13895]
34909 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
34910 extra indirection.
34911 * nss/Makefile (tests-static, tests): Add tst-nss-static.
34912 * nss/tst-nss-static.c: New.
34913
4dad7bab
RM
349142012-04-06 Robert Millan <rmh@gnu.org>
34915
34916 [BZ #6486]
34917 * manual/llio.texi (File Position Primitive): lseek
34918 refers to WHENCE when it really means OFFSET.
34919
e9142a17
AJ
349202012-04-06 Andreas Jaeger <aj@suse.de>
34921
2c040eff
AJ
34922 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
34923 strncmp declarations.
34924
e9142a17
AJ
34925 * abilist/libc.abilist: Add __poll and __ppoll.
34926
ff9f1c5f
DM
349272012-04-05 David S. Miller <davem@davemloft.net>
34928
dcd2ae90
DM
34929 * scripts/check-local-headers.sh: Accept a host triplet in the
34930 path matched by the exclude regexp.
34931
993eb054
DM
34932 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
34933 definition.
34934 * sysdeps/powerpc/powerpc32/dl-machine.h
34935 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
34936 * sysdeps/s390/s390-32/dl-machine.h
34937 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34938 * sysdeps/sparc/sparc32/dl-machine.h
34939 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34940 * sysdeps/sparc/sparc64/dl-machine.h
34941 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34942
ff9f1c5f
DM
34943 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
34944 lazy binding.
48e2e132 34945 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
34946 undefined symbol errors.
34947
48e2e132 34948 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
34949 DT_NEEDED entries.
34950
e80d6f94
MM
349512012-04-05 Michael Matz <matz@suse.de>
34952
34953 [BZ #13592]
34954 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
34955
349fa79f
AJ
349562012-04-05 Andreas Jaeger <aj@suse.de>
34957
34958 [BZ #13908]
34959 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
34960 comment.
34961
f402708f
KK
349622012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34963
34964 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
34965 which ROUND is no valid rounding mode.
34966
2ecccfc9
KK
349672012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34968
34969 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
34970 read again.
34971 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
34972
8a53f50f
KK
349732012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34974
34975 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
34976 an exception using FPU order intentionally.
34977
349782012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34979
34980 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
34981 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
34982 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
34983 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
34984
d653abb7
SJ
349852012-04-05 Simon Josefsson <simon@josefsson.org>
34986
34987 [BZ #12340]
34988 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
34989 EINVAL when BUFLEN is too smal.
34990
c3b1bf7d
TS
349912012-04-05 Thomas Schwinge <thomas@codesourcery.com>
34992
34993 [BZ #13553]
34994 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
34995 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
34996
b1aa60f3
AJ
349972012-04-03 Andreas Jaeger <aj@suse.de>
34998
c3b1bf7d 34999 [BZ #13938]
67f60a26
AJ
35000 * manual/setjmp.texi (System V contexts): Fix sentence.
35001
b1aa60f3
AJ
35002 [BZ #13926]
35003 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35004 New macro for this case.
35005 [!__GNUC__] (__bswap_64): New inline function for this case.
35006 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35007 * bits/byteswap.h: Likewise.
35008 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35009 ull, guard with __GLIBC_HAVE_LONG_LONG.
35010
35011 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35012 __GLIBC_HAVE_LONG_LONG.
35013
35014 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35015 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35016
39c59c35
TMQMF
350172012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35018
35019 [BZ #13691]
35020 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35021 inptr and inend, rather than using last_ch.
35022
135ffda8
DM
350232012-04-02 David S. Miller <davem@davemloft.net>
35024
35025 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35026 * stdio-common/printf-parse.h (read_int): Change return type to
35027 'int', return -1 on INT_MAX overflow.
35028 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35029 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
35030 overflows INT_MAX. Check for overflow of in-format-string precision
35031 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
35032 SIZE_MAX not INT_MAX for integer overflow test.
35033 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35034 skip the construct in the format string but do not record anything.
35035 * stdio-common/bug22.c: Adjust to test both width/prevision
35036 INT_MAX overflow as well as total length INT_MAX overflow. Check
35037 explicitly for proper errno values.
35038
228c019e
TS
350392012-04-02 Thomas Schwinge <thomas@codesourcery.com>
35040
302cadd3
TS
35041 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35042 CHAR_MAX.
35043 * string/test-strcmp.c [! WIDE]: Likewise.
35044 * time/tst-mktime2.c: Likewise for INT_MAX.
35045 * string/test-string.h: #include <sys/param.h> for MIN.
35046
228c019e
TS
35047 * csu/init-first.c (__libc_init_first): Call __ctype_init.
35048 * sysdeps/i386/init-first.c (init): Likewise.
35049 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35050 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35051 * sysdeps/sh/init-first.c (init): Likewise.
35052
cfa633f5
UD
350532012-04-01 Ulrich Drepper <drepper@gmail.com>
35054
35055 * po/ru.po: Update from translation team.
d1635ef8 35056 * po/vi.po: Likewise.
cfa633f5 35057
6cd0a5ea
SP
350582012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35059
35060 * resolv/nss_dns/dns-host.c: Merge copyright years.
35061
4b43400f
LD
350622012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35063
35064 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35065 Optimize memcpy with prefetch if
35066 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
35067 src, dst pointers have unequal 16 byte alignments.
35068
48c41d04
SP
350692012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35070
35071 [BZ #13928]
35072 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35073 from a CNAME entry and return the minimum ttl for the query.
35074 (gaih_getanswer_slice): Likewise.
35075
b8dc394d
JL
350762012-03-30 Jeff Law <law@redhat.com>
35077
35078 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35079 due to long keys.
35080 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35081 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35082
2f5a5ed0
JL
35083 * resolv/nss_dns/dns-host.c: Update copyright year.
35084
1d39e359
UD
350852012-03-30 Ulrich Drepper <drepper@gmail.com>
35086
c030f70c 35087 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 35088 requests to save a system call. Fix check that all bytes are sent.
c030f70c 35089
1d39e359
UD
35090 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35091 comments for sendmmsg.
35092
350932012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
35094
35095 [BZ #13691]
35096 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35097 with only 1 character between 0x0041 and 0x01b0.
35098 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35099 * wcsmbs/tst-mbsnrtowcs.c: New file.
35100
20fde227
DM
351012012-03-29 David S. Miller <davem@davemloft.net>
35102
35103 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35104 small copies by hand.
35105
984a4237
JL
351062012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35107
35108 [BZ #13761]
57f41c40
AS
35109 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35110 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35111 group memberships.
984a4237 35112
18c9d62b
DM
351132012-03-28 David S. Miller <davem@davemloft.net>
35114
88d85d4f
DM
35115 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35116 that branches into memcpy.
35117 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35118 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35119 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35120 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35121 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35122 bits.
35123 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35124 implementation too.
35125 * sysdeps/sparc/mempcpy.S: New file.
35126
e5aa83e1
DM
35127 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35128 the IFUNC routine in the libc case.
35129 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35130
88570753
DM
35131 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35132 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35133 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35134 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35135 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35136 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35137 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35138 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35139
249d7567
DM
35140 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35141 loop to 256 bytes instead of 64 bytes and fix test signedness.
35142
18c9d62b
DM
35143 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35144 * sysdeps/sparc/sparc32/Makefile: rather than here...
35145 * sysdeps/sparc/sparc64/Makefile: and here.
35146
05f3d1f6
UD
351472012-03-28 Ulrich Drepper <drepper@gmail.com>
35148
35149 * malloc/mallocbug.c: Avoid warnings about unused variables.
35150
86ae07a8
JL
351512012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35152
35153 [BZ #13760]
35154 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35155 in the right place. Discard and retry query if response is
35156 larger than input buffer size.
35157
41bf21a1
JM
351582012-03-28 Joseph Myers <joseph@codesourcery.com>
35159
d6270972
JM
35160 [BZ #369]
35161 [BZ #2678]
35162 [BZ #3866]
35163 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35164 x for large integer exponent.
35165 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35166 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
35167 sign of result as needed afterwards.
35168 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35169 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35170 result for underflowing pow the same as for overflow.
35171 (__kernel_standard_l): Handle powl overflow and underflow here
35172 rather than calling __kernel_standard.
35173 * math/libm-test.inc (pow_test): Add more tests.
35174
414fca03 35175 [BZ #3868]
41bf21a1
JM
35176 [BZ #13879]
35177 [BZ #13910]
35178 [BZ #13911]
35179 [BZ #13912]
35180 [BZ #13913]
35181 [BZ #13915]
35182 [BZ #13916]
35183 [BZ #13917]
35184 [BZ #13918]
35185 [BZ #13919]
35186 [BZ #13920]
35187 [BZ #13921]
35188 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35189 * sysdeps/ieee754/k_standard.c: Include <float.h>.
35190 (__kernel_standard_l): New function.
35191 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35192 __kernel_standard.
35193 * math/w_acosl.c (__acosl): Likewise.
35194 * math/w_asinl.c (__asinl): Likewise.
35195 * math/w_atan2l.c (__atan2l): Likewise.
35196 * math/w_atanhl.c (__atanhl): Likewise.
35197 * math/w_coshl.c (__coshl): Likewise.
35198 * math/w_exp10l.c (__exp10l): Likewise.
35199 * math/w_exp2l.c (__exp2l): Likewise.
35200 * math/w_fmodl.c (__fmodl): Likewise.
35201 * math/w_hypotl.c (__hypotl): Likewise.
35202 * math/w_j0l.c (__j0l, __y0l): Likewise.
35203 * math/w_j1l.c (__j1l, __y1l): Likewise.
35204 * math/w_jnl.c (__jnl, __ynl): Likewise.
35205 * math/w_lgammal.c (__lgammal): Likewise.
35206 * math/w_log10l.c (__log10l): Likewise.
35207 * math/w_log2l.c (__log2l): Likewise.
35208 * math/w_logl.c (__logl): Likewise.
35209 * math/w_powl.c (__powl): Likewise.
35210 * math/w_remainderl.c (__remainderl): Likewise.
35211 * math/w_scalbl.c (sysv_scalbl): Likewise.
35212 * math/w_sinhl.c (__sinhl): Likewise.
35213 * math/w_sqrtl.c (__sqrtl): Likewise.
35214 * math/w_tgammal.c (__tgammal): Likewise.
35215 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35216 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35217 * math/libm-test.inc (acos_test): Add more tests.
35218 (acosh_test): Likewise.
35219 (asin_test): Likewise.
35220 (atanh_test): Likewise.
35221 (exp_test): Likewise.
35222 (exp10_test): Likewise.
35223 (exp2_test): Likewise.
35224 (expm1_test): Likewise.
35225 (lgamma_test): Likewise.
35226 (log_test): Likewise.
35227 (log10_test): Likewise.
35228 (log1p_test): Likewise.
35229 (log2_test): Likewise.
35230 (pow_test): Do not allow some spurious overflow exceptions.
35231 (sqrt_test): Add more tests.
35232 (tgamma_test): Likewise.
35233 (y0_test): Likewise.
35234 (y1_test): Likewise.
35235 (yn_test): Likewise.
35236
dd62fda6
AB
352372012-03-27 Anton Blanchard <anton@samba.org>
35238
35239 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35240 MAP_HUGETLB.
35241 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35242 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35243 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35244
1e3cdfda
AJ
352452012-03-27 David S. Miller <davem@davemloft.net>
35246
b855ab85
DM
35247 * conform/Makefile: Run run-conformtest.sh using $(BASH).
35248
1e3cdfda
AJ
35249 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35250 have-as-vis3 check.
35251
352522012-03-27 Andreas Jaeger <aj@suse.de>
35253
35254 * sysdeps/x86_64/elf/configure.in: Moved to ...
35255 * sysdeps/x86_64/configure.in: ... here.
35256 * sysdeps/x86_64/elf/start.S: Moved to ...
35257 * sysdeps/x86_64/start.S: ... here.
35258 * sysdeps/x86_64/elf/configure: Delete.
35259
35260 * sysdeps/x86_64/configure.in: Merge contents from
35261 sysdeps/i386/configure.in (without i686 check).
35262
35263 * sysdeps/i386/elf/Versions: Merge into ...
35264 * sysdeps/i386/Versions: ... this.
35265 * sysdeps/i386/elf/Versions: Delete file.
35266 * sysdeps/i386/elf/start.S: Moved to ...
35267 * sysdeps/i386/start.S: ...here.
35268 * sysdeps/i386/elf/configure.in: Merge into...
35269 * sysdeps/i386/configure.in: ...here.
35270 * sysdeps/i386/elf/configure.in: Delete file.
35271 * sysdeps/i386/elf/configure: Delete file.
35272
35273 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35274 * debug/backtracesyms.c: ... here.
35275 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35276 * debug/backtracesymsfd.c: ... here.
35277 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35278 * sysdeps/generic/ifunc-sel.h: ... here.
35279
35280 * sysdeps/unix/i386/start.c: Delete file.
35281 * sysdeps/unix/sparc/start.c: Delete file.
35282 * sysdeps/unix/start.c: Delete file.
35283
35284 * sysdeps/sh/elf/configure.in: Moved to ...
35285 * sysdeps/sh/configure.in: ... here.
35286 * sysdeps/sh/elf/start.S: Moved to ...
35287 * sysdeps/sh/start.S: ... here.
35288 * sysdeps/sh/elf/configure: Delete file.
35289
35290 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35291 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35292 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35293 * sysdeps/powerpc/powerpc64/entry.h: ... here.
35294 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35295 * sysdeps/powerpc/powerpc64/start.S: here.
35296 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35297 * sysdeps/powerpc/powerpc64/Makefile: ... this.
35298 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35299 * sysdeps/powerpc/powerpc64/configure.in: ... this.
35300 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35301
35302 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35303 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35304 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35305 * sysdeps/powerpc/powerpc32/start.S: ... here.
35306 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35307 * sysdeps/powerpc/powerpc32/configure.in: ... this.
35308 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35309
35310 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35311 * sysdeps/powerpc/ifunc-sel.h: ... here.
35312 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35313 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35314
35315 * sysdeps/sparc/elf/configure.in: Moved to ...
35316 * sysdeps/sparc/configure.in: ... here.
35317 * sysdeps/sparc/elf/configure: Delete file.
35318 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35319 * sysdeps/sparc/sparc32/start.S: ... here.
35320 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35321 * sysdeps/sparc/sparc64/start.S: ... here.
35322 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35323 * sysdeps/sparc/sparc32/Makefile: ... this.
35324 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35325 * sysdeps/sparc/sparc64/Makefile: ... this.
35326
35327 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35328 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35329 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35330 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35331 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35332 * sysdeps/s390/s390-32/setjmp.S: ... here.
35333 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35334 * sysdeps/s390/s390-32/configure.in: ... here.
35335 * sysdeps/s390/s390-32/elf/configure: Delete file.
35336 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35337 * sysdeps/s390/s390-32/start.S: ... here.
35338
35339 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35340 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35341 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35342 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35343 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35344 * sysdeps/s390/s390-64/setjmp.S: ... here.
35345 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35346 * sysdeps/s390/s390-64/configure.in: ... here
35347 * sysdeps/s390/s390-64/elf/configure: Delete file.
35348 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35349 * sysdeps/s390/s390-64/start.S: ... here.
35350 * sysdeps/s390/s390-64/elf/configure: Delete.
35351
35352 * configure.in: Remove support for elf directories in sysdeps.
35353
35354 * configure: Regenerated.
35355 * sysdeps/i386/configure: Regenerated.
35356 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35357 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35358 * sysdeps/s390/s390-32/configure: Regenerated.
35359 * sysdeps/s390/s390-64/configure: Regenerated.
35360 * sysdeps/sh/configure: Regenerated.
35361 * sysdeps/sparc/configure: Regenerated.
35362 * sysdeps/x86_64/configure: Regenerated.
35363
a3f61311
AS
353642012-03-26 Andreas Schwab <schwab@linux-m68k.org>
35365
c876e002
AS
35366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35367
a3f61311
AS
35368 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35369 denormal result into account.
35370
ac4c54f0
RM
353712012-03-25 Roland McGrath <roland@hack.frob.com>
35372
35373 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35374 Reported by Allan McRae <allan@archlinux.org>.
35375
6a9b9c02
JL
353762012-03-23 Jeff Law <law@redhat.com>
35377
35378 * nss/getnssent.c (__nss_getent): Fix typo.
35379
4c42a0c1
DM
353802012-03-23 David S. Miller <davem@davemloft.net>
35381
35382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35383
1532c7ac
L
353842012-03-23 H.J. Lu <hongjiu.lu@intel.com>
35385
35386 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35387 to pad to uint64_t for each field.
35388 (dl_tls_index): Replace unsigned long with uint64_t.
35389
3ff42526
PP
353902012-03-23 Daniel Jacobowitz <dmj@google.com>
35391 Paul Pluzhnikov <ppluzhnikov@google.com>
35392
35393 [BZ #6528]
35394 * grp/Makefile (otherlibs): Don't set it.
35395 * inet/Makefile (otherlibs): Likewise.
35396 * login/Makefile (otherlibs): Likewise.
35397 * nscd/Makefile (otherlibs): Likewise.
35398 * posix/Makefile (otherlibs): Likewise.
35399 * pwd/Makefile (otherlibs): Likewise.
35400 * rt/Makefile (otherlibs): Likewise.
35401 * sunrpc/Makefile (otherlibs): Likewise.
35402 * nss/Makefile (otherlibs): Likewise.
35403 Add libnss_files to routines and static-only-routines.
35404 ($(objpfx)getent): Remove rule.
35405 * resolv/Makefile: Add libnss_dns and libresolv to routines and
35406 static-only-routines.
35407
7c69cd14
JM
354082012-03-22 Joseph Myers <joseph@codesourcery.com>
35409
35410 [BZ #13892]
35411 * math/s_cexp.c: Include <float.h>.
35412 (__cexp): Handle exp result overflowing not necessarily
35413 overflowing both real and imaginary parts of result.
35414 * math/s_cexpf.c: Likewise.
35415 * math/s_cexpl.c: Likewise.
35416 * math/libm-test.inc (cexp_test): Add more tests.
35417 * sysdeps/i386/fpu/libm-test-ulps: Update.
35418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35419
81b035fe
L
354202012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35421
35422 * include/link.h (ELFW): New macro.
35423 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35424 Replace ELF64_R_TYPE with ELFW(R_TYPE).
35425
1da7940c
L
354262012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35427
35428 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35429 with uint64_t.
35430
b749dbb9
L
354312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35432
35433 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35434 declaration.
35435 (struct La_x32_retval): Likewise.
35436
2ff87f3f
L
354372012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35438
35439 * sysdeps/x86_64/preconfigure.in: New file.
35440 * sysdeps/x86_64/preconfigure: New generated file.
35441
c0df8e69
JM
354422012-03-22 Joseph Myers <joseph@codesourcery.com>
35443
48e44791
JM
35444 [BZ #13824]
35445 * math/e_exp2l.c: Include <float.h>.
35446 (__ieee754_exp2l): Handle overflow and underflow cases
35447 separately. Only pass fractional part of argument to
35448 __ieee754_expl.
35449 * math/libm-test.inc (exp2_test): Add more tests.
35450
c0df8e69
JM
35451 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35452 negating x to take absolute value.
35453 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35454 Likewise.
35455 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35456 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35457 Likewise.
35458 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35459 computing low part if x was negated.
35460 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35461
c8e43ba7
L
354622012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35463
35464 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35465 la_x32_gnu_pltexit.
35466 (pltexit): Cast int_retval to ptrdiff_t.
35467 * elf/tst-auditmod3b.c: Likewise.
35468 * elf/tst-auditmod4b.c: Likewise.
35469 * elf/tst-auditmod5b.c: Likewise.
35470 * elf/tst-auditmod6b.c: Likewise.
35471 * elf/tst-auditmod6c.c: Likewise.
35472 * elf/tst-auditmod7b.c: Likewise.
35473
35474 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35475 and x32_gnu_pltexit.
35476
35477 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35478 __ELF_NATIVE_CLASS.
35479 (La_x32_regs): New macro.
35480 (La_x32_retval): Likewise.
35481 (la_x32_gnu_pltenter): New function prototype.
35482 (la_x32_gnu_pltexit): Likewise.
35483
7998fa78
AS
354842012-03-21 Andreas Schwab <schwab@linux-m68k.org>
35485
dcb33988
AS
35486 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35487 exponent.
35488
233fc563
AS
35489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35490
7998fa78
AS
35491 * configure.in (libc_cv_cc_nofma): Check for option to disable
35492 generation of FMA instructions.
35493 * configure: Regenerate.
35494 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35495 * sysdeps/ieee754/dbl-64/Makefile: New file.
35496 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35497 Remove brandred-fma4.
35498 (CFLAGS-brandred-fma4.c): Remove.
35499 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
35500 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
35501 define.
35502 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
35503 define.
35504
8e95c99a
L
355052012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35506
35507 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35508 LLONG_MAX != LONG_MAX.
35509 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35510 (_fitoa_word): Likewise.
35511 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
35512 LLONG_MAX != LONG_MAX.
35513 * stdio-common/_itowa.h: Include <_itoa.h>.
35514 (_itowa_word): Use _ITOA_WORD_TYPE on value.
35515 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
35516 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
35517 only if not defined.
35518 (_ITOA_WORD_TYPE): Likewise.
35519 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35520 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
35521
6f4db457
DM
355222012-03-21 David S. Miller <davem@davemloft.net>
35523
35524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35525
7785fe5a
L
355262012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35527
35528 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
35529 of x86_64 when setting libc_cv_slibdir, libdir and
35530 libc_cv_localedir.
35531 * sysdeps/unix/sysv/linux/configure: Regenerated.
35532
4535cd55
JM
355332012-03-21 Joseph Myers <joseph@codesourcery.com>
35534
35535 * manual/lang.texi (Old Varargs): Remove section.
35536 (How Variadic): Update menu.
35537 (va_start): Do not mention varargs.h.
35538
17228132
TS
355392012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35540 Joseph Myers <joseph@codesourcery.com>
35541
35542 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
35543 link test.
35544 * configure: Regenerated.
35545
8149f976
TS
355462012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35547
05f3d1f6
UD
35548 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
35549 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
35550 conformtest.pl
8149f976 35551
1a4ac776
JM
355522012-03-21 Joseph Myers <joseph@codesourcery.com>
35553
be22ce65
JM
35554 * NOTES: Remove.
35555 * Makefile (files-for-dist): Remove NOTES.
35556 (NOTES): Remove rule.
35557 * README: Don't refer to NOTES.
35558 * manual/creature.texi: Don't include macros.texi.
35559 * manual/intro.texi (creature.texi): Remove comment referring to
35560 NOTES.
35561
40b601fb
JM
35562 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
35563 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
35564 * configure: Regenerated.
35565 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
35566 LIBC_TRY_CC_OPTION.
35567 (libc_cv_as_i686): Likewise.
35568 (libc_cv_cc_avx): Likewise.
35569 (libc_cv_cc_sse2avx): Likewise.
35570 (libc_cv_cc_fma4): Likewise.
35571 (libc_cv_cc_novzeroupper): Likewise.
35572 * sysdeps/i386/configure: Regenerated.
35573
1a4ac776
JM
35574 [BZ #13883]
35575 * sysdeps/i386/fpu/s_cexp.S: Remove.
35576 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35577 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35578 * math/libm-test.inc (cexp_test): Add more tests.
35579 * sysdeps/i386/fpu/libm-test-ulps: Update.
35580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35581
a458e7fe
AM
355822012-03-21 Allan McRae <allan@archlinux.org>
35583
35584 * timezone/Makefile: Do not install iso3166.tab and zone.tab
35585
0cb7efc5
JM
355862012-03-21 Joseph Myers <joseph@codesourcery.com>
35587
35588 [BZ #13871]
35589 * math/w_exp2.c: Do not include <float.h>.
35590 (o_threshold, u_threshold): Remove.
35591 (__exp2): Calculate result before checking finiteness and calling
35592 __kernel_standard.
35593 * math/w_exp2f.c: Likewise.
35594 * math/w_exp2l.c: Likewise.
35595 * math/libm-test.inc (exp2_test): Require overflow exception for
35596 1e6 input.
2460d3aa
JM
35597
35598 [BZ #3866]
35599 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
35600 range of signed 64-bit integers before using fistpll. Remove
35601 checks for whether integers fit in mantissa bits.
35602 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
35603 the range of signed 32-bit integers before using fistpl. Remove
35604 checks for whether integers fit in mantissa bits.
35605 * sysdeps/i386/fpu/e_powl.S (p64): New object.
35606 (__ieee754_powl): Test for y outside the range of signed 64-bit
35607 integers before using fistpll. Reduce 64-bit values to 63-bit
35608 ones as needed.
35609 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
35610 divide-by-zero is raised for zero to large negative powers.
35611 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
35612 (__ieee754_powl): Test for y outside the range of signed 64-bit
35613 integers before using fistpll. Reduce 64-bit values to 63-bit
35614 ones as needed.
35615 * math/libm-test.inc (pow_test): Add more tests.
35616
eb96ffb0
L
356172012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35618
35619 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
35620 <stdio-common/_itoa.h>.
35621 * debug/segfault.c: Likewise.
35622 * elf/dl-cache.c: Likewise.
35623 * elf/dl-minimal.c: Likewise.
35624 * elf/dl-misc.c: Likewise.
35625 * elf/dl-sysdep.c: Likewise.
35626 * elf/dl-version.c: Likewise.
35627 * elf/rtld.c: Likewise.
35628 * hurd/hurdsock.c: Likewise.
35629 * hurd/lookup-retry.c: Likewise.
35630 * malloc/malloc.c: Likewise.
35631 * malloc/mtrace.c: Likewise.
35632 * nscd/nscd_getgr_r.c: Likewise.
35633 * nscd/nscd_getpw_r.c: Likewise.
35634 * nscd/nscd_getserv_r.c: Likewise.
35635 * posix/getopt_init.c: Likewise.
35636 * posix/wordexp.c: Likewise.
35637 * stdio-common/_itoa.c: Likewise.
35638 * stdio-common/printf_fphex.c: Likewise.
35639 * stdio-common/vfprintf.c: Likewise.
35640 * string/_strerror.c: Likewise.
35641 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
35642 * sysdeps/i386/i686/hp-timing.h: Likewise.
35643 * sysdeps/mach/_strerror.c: Likewise.
35644 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
35645 * sysdeps/mach/hurd/sethostid.c: Likewise.
35646 * sysdeps/mach/hurd/xmknodat.c: Likewise.
35647 * sysdeps/mach/xpg-strerror.c: Likewise.
35648 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35649 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35650 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
35651 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
35652 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35653 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
35654 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35655 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35656 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
35657 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
35658 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
35659 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
35660 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
35661 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35662 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35663 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
35664 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
35665 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
35666 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35667 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35668 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
35669
35670 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
35671
35672 * stdio-common/_itoa.h: Moved to ...
35673 * sysdeps/generic/_itoa.h: Here.
35674
35675 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
35676
35677 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
35678 instead of "_itoa.h" and "_itowa.h".
35679 * stdio-common/vfprintf.: Likewise.
35680
d1af992d
L
356812012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35682
35683 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
35684 <bits/wordsize.h>.
35685 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
35686 (__signbit): Likwise.
35687 (llrintf): Likwise.
35688 (llrint): Likwise.
35689
114883e0
L
356902012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35691
35692 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
35693 __WORDSIZE != 64.
35694
c135cc1b
JM
356952012-03-20 Joseph Myers <joseph@codesourcery.com>
35696
35697 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
35698 OVERFLOW_EXCEPTION_OK.
35699 * math/libm-test.inc ("Philosophy"): Update comment about
35700 exception testing.
35701 (OVERFLOW_EXCEPTION): Define.
35702 (OVERFLOW_EXCEPTION_OK): Likewise.
35703 (INVALID_EXCEPTION_OK): Renumber.
35704 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35705 (IGNORE_ZERO_INF_SIGN): Likewise.
35706 (test_exceptions): Handle FE_OVERFLOW.
35707 (exp10_test): Expect overflow exceptions.
35708 (exp2_test): Likewise.
35709 (expm1_test): Likewise.
35710 (nextafter_test): Likewise.
35711 (pow_test): Likewise.
35712 (scalbn_test): Likewise.
35713 (scalbln_test): Likewise.
35714
95443d88
L
357152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35716
35717 * sysdeps/x86_64/bits/atomic.h
35718 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
35719 64bit integer.
35720 (atomic_exchange_acq): Likewise.
35721 (__arch_exchange_and_add_body): Likewise.
35722 (__arch_add_body): Likewise.
35723 (atomic_add_negative): Likewise.
35724 (atomic_add_zero): Likewise.
35725
490df6c4
L
357262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35727
c2722551 35728 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
35729 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
35730
5e52b189
L
357312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35732
35733 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
35734 Check __x86_64__ instead of __WORDSIZE.
35735
a9879d4c
L
357362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35737
35738 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
35739
5df98260
DM
357402012-03-19 David S. Miller <davem@davemloft.net>
35741
e1497744
DM
35742 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35743
5df98260
DM
35744 * sysdeps/sparc/fpu/fenv_private.h: New file.
35745 * sysdeps/sparc/fpu/math_private.h: Use it.
35746 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
35747 Remove.
57f41c40 35748 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
35749 (libc_feholdexcept_setroundl): Remove.
35750 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
35751 Remove.
35752 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
35753 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
35754
b4c35121
L
357552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35756
35757 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
35758 int64_t instead of long int.
35759 (INSERT_WORDS64): Likwise.
35760
56965fd7
L
357612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35762
35763 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
35764 _Unwind_GetCFA return to _Unwind_Ptr first.
35765
83d1aec8
JM
357662012-03-19 Joseph Myers <joseph@codesourcery.com>
35767
1897ad44
JM
35768 [BZ #13629]
35769 * math/s_clog.c: Include <float.h>.
35770 (__clog): Scale large or subnormal inputs.
35771 * math/s_clogf.c: Likewise.
35772 * math/s_clogl.c: Likewise.
35773 * math/s_clog10.c: Include <float.h>.
35774 (M_LOG10_2): Define.
35775 (__clog10): Scale large or subnormal inputs.
35776 * math/s_clog10f.c: Likewise.
35777 * math/s_clog10l.c: Likewise.
35778 * math/libm-test.inc (clog_test): Add more tests.
35779 (clog10_test): Likewise.
35780 * sysdeps/i386/fpu/libm-test-ulps: Update.
35781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35782
7726d6a9
JM
35783 [BZ #11451]
35784 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
35785 x and y.
35786 * math/libm-test.inc (atan2_test): Add another test.
35787
83d1aec8
JM
35788 * Makerules (common-objdir-compile): Remove.
35789 * sysdeps/unix/Makefile (config-generated): Do not add
35790 $(unix-generated) to variable.
35791 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
35792 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
35793 Remove rule.
35794 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
35795 Likewise.
35796 [generic bits/local_lim.h] (before-compile): Do not append to
35797 variable.
35798 [generic bits/local_lim.h] (common-generated): Likewise.
35799 [generic sys/param.h] (before-compile): Do not append to variable.
35800 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
35801 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
35802 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
35803 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
35804 include.
35805 [generic sys/param.h] (sys/param.h-includes): Remove variable.
35806 [generic sys/param.h] (sys/param.h-includes): Remove rule.
35807 [generic sys/param.h] ($(addprefix
35808 $(common-objpfx),$(sys/param.h-includes))): Likewise.
35809 [generic sys/param.h] (common-generated): Do not append to
35810 variable.
35811 [generic sys/param.h] (sysdep_headers): Likewise.
35812 [generic bits/errno.h] (before-compile): Do not append to
35813 variable.
35814 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
35815 rule.
35816 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
35817 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
35818 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
35819 [generic bits/errno.h] (common-generated): Do not append to
35820 variable.
35821 [generic bits/ioctls.h] (before-compile): Do not append to
35822 variable.
35823 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
35824 rule.
35825 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
35826 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
35827 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
35828 rule.
35829 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
35830 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
35831 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
35832 [generic bits/ioctls.h] (common-generated): Do not append to
35833 variable.
35834 [generic sys/syscall.h] (syscall.h): Remove variable.
35835 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
35836 rule.
35837 [generic sys/syscall.h] (before-compile): Do not append to
35838 variable.
35839 [generic sys/syscall.h] (common-generated): Likewise.
35840 * sysdeps/unix/errnos-tmpl.c: Remove file.
35841 * sysdeps/unix/errnos.awk: Likewise.
35842 * sysdeps/unix/ioctls-tmpl.c: Likewise.
35843 * sysdeps/unix/ioctls.awk: Likewise.
35844 * sysdeps/unix/mk-local_lim.c: Likewise.
35845 * sysdeps/unix/snarf-ioctls: Likewise.
35846
4851a949
RH
358472012-03-19 Richard Henderson <rth@twiddle.net>
35848
bd37f2ee
RH
35849 * sysdeps/i386/fpu/fenv_private.h: New file.
35850 * sysdeps/i386/fpu/math_private.h: Use it.
35851 (math_opt_barrier, math_force_eval): Remove.
35852 (libc_feholdexcept_setround_53bit): Remove.
35853 (libc_feupdateenv_53bit): Remove.
35854 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35855 (math_opt_barrier, math_force_eval): Remove.
35856 (libc_feholdexcept): Remove.
35857 (libc_feholdexcept_setround): Remove.
35858 (libc_fetestexcept, libc_fesetenv): Remove.
35859 (libc_feupdateenv_test): Remove.
35860 (libc_feupdateenv, libc_feholdsetround): Remove.
35861 (libc_feresetround): Remove.
35862
d0adc922
RH
35863 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
35864 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35865
0fe0f1f8
RH
35866 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
35867 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
35868 (libc_feupdateenv_testl): New.
35869 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
35870 (libc_feupdateenv_testf): New.
35871 (libc_feupdateenv): Use libc_feupdateenv_test.
35872 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
35873 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
35874
eb92c487
RH
35875 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
35876 (libc_feholdsetroundf, libc_feholdsetroundl): New.
35877 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
35878 (libc_feresetround_noex): New.
35879 (libc_feresetround_noexf): New.
35880 (libc_feresetround_noexl): New.
35881 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
35882 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
35883 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
35884 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
35885 SET_RESTORE_ROUND.
35886 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35887 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
35888 (__cos): Likewise.
35889 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
35890 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
35891 SET_RESTORE_ROUND_NOEX.
35892 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
35893 SET_RESTORE_ROUND_NOEXF.
35894 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
35895 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
35896 (libc_feholdsetroundf): New.
35897 (libc_feresetround, libc_feresetroundf): New.
35898
7d2e8012
RH
35899 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
35900 (libc_feholdexcept_setround_53bit): Convert from macro to function.
35901 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
35902
b4dabbb4
RH
35903 * sysdeps/generic/math_private.h: Include <fenv.h>.
35904 (default_libc_feholdexcept): New.
35905 (default_libc_feholdexcept_setround): New.
35906 (default_libc_fesetenv, default_libc_feupdateenv): New.
35907 (libc_feholdexcept): Only define if undefined.
35908 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
35909 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
35910 (libc_feholdexcept_setroundl): Likewise.
35911 (libc_feholdexcept_setround_53bit): Likewise.
35912 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
35913 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
35914 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
35915 (libc_feupdateenv_53bit): Likewise.
35916 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
35917 (libc_feholdexcept): Convert from macro to inline function.
35918 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
35919 (libc_fesetenv, libc_feupdateenv): Likewise.
35920
4851a949
RH
35921 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
35922 not previously defined.
35923 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
35924 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
35925 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
35926 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
35927 * sysdeps/ieee754/flt-32/math_private.h: New file.
35928 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
35929 math_private.h below SET_FLOAT_WORD.
35930 (__isnan, __isinf_ns, __finite): Remove.
35931 (__isnanf, __isinf_nsf, __finitef): Remove.
35932
e79d442e
AS
359332012-03-18 Andreas Schwab <schwab@linux-m68k.org>
35934
35935 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35936
90b80344
DM
359372012-03-17 David S. Miller <davem@davemloft.net>
35938
35939 [BZ #6471]
35940 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
35941 for 2.16.
35942
edc21804
DM
359432012-03-16 David S. Miller <davem@davemloft.net>
35944
77e927af
DM
35945 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
35946 warnings.
35947
374976dd
DM
35948 [BZ #6471]
35949 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
35950 properly.
35951 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
35952 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
35953 sysdep_routines when subdir is sysvipc.
35954 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
35955 __getshmlba helper.
35956
edc21804
DM
35957 * sysdeps/sparc/fpu/libm-test/ulps: Update.
35958
473c3ef3
L
359592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35960
35961 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
35962 [__LP64__].
35963
eb0f39b6
L
359642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35965
35966 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
35967 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
35968 (__lround): Renamed to ...
35969 (__llround): This. Replace long int with long long int.
35970 Define lround functions as aliases of llround functions.
35971 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
35972
6b6cd74b
L
359732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35974
35975 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
35976 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
35977 adresses to uintptr_t. Replace "long int" and "unsigned long
35978 int" with "greg_t" on va_arg.
35979
f1a77b01
L
359802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35981
35982 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
35983 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
35984
35985 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
35986 Move e_machine check before EI_CLASS check. Handle x32
35987 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
35988 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
35989 SKIP_EM_IA_64 and include
35990 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
35991
35992 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
35993 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
35994 (add_system_dir): New macro.
35995
35996 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
35997 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
35998
11b90b9f
JM
359992012-03-16 Joseph Myers <joseph@codesourcery.com>
36000
c36e1d23
JM
36001 [BZ #2551]
36002 [BZ #2552]
36003 [BZ #2553]
36004 [BZ #2554]
36005 [BZ #2562]
36006 [BZ #2563]
36007 [BZ #2565]
36008 [BZ #2566]
36009 [BZ #2576]
36010 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36011 (y0): Likewise.
36012 * math/w_j0f.c (j0f): Likewise.
36013 (y0f): Likewise.
36014 * math/w_j0l.c (__j0l): Likewise.
36015 (__y0l): Likewise.
36016 * math/w_j1.c (j1): Likewise.
36017 (y1): Likewise.
36018 * math/w_j1f.c (j1f): Likewise.
36019 (y1f): Likewise.
36020 * math/w_j1l.c (__j1l): Likewise.
36021 (__y1l): Likewise.
36022 * math/w_jn.c (jn): Likewise.
36023 (yn): Likewise.
36024 * math/w_jnf.c (jnf): Likewise.
36025 (ynf): Likewise.
36026 * math/w_jnl.c (__jnl): Likewise.
36027 (__ynl): Likewise.
36028 * math/libm-test.inc (j0_test): Add more tests.
36029 (j1_test): Likewise.
36030 (jn_test): Likewise. Add trailing semicolon to existing test.
36031 (y0_test): Likewise.
36032 (y1_test): Likewise.
36033 * sysdeps/i386/fpu/libm-test-ulps: Update.
36034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36035
11b90b9f
JM
36036 [BZ #13851]
36037 [BZ #13854]
36038 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36039 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36040 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36041 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36042 (__tanl): Set errno for infinite argument.
36043 * sysdeps/i386/fpu/mptan.c: Remove.
36044 * sysdeps/i386/fpu/s_tan.S: Likewise.
36045 * sysdeps/i386/fpu/s_tanl.S: Likewise.
36046 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36047 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36048 * math/libm-test.inc (tan_test): Add more tests and enable more
36049 tests for double and long double.
36050 * sysdeps/i386/fpu/libm-test-ulps: Update.
36051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36052
6a1bd2a1
JK
360532012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
36054
36055 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36056 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36057
10a803e0
RM
360582012-03-16 Roland McGrath <roland@hack.frob.com>
36059
36060 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36061 * configure.in: Use it for both main tree and add-ons.
36062 * configure: Regenerated.
36063
f196c7f7
L
360642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36065
36066 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36067
8848d99d
JM
360682012-03-16 Joseph Myers <joseph@codesourcery.com>
36069
96cbe7f4
JM
36070 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36071 in comment.
36072
8848d99d
JM
36073 [BZ #13851]
36074 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36075 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36076 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36077 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36078 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36079 infinite argument.
36080 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36081 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36082 != 0 for prec == 2.
36083 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36084 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36085 * sysdeps/i386/fpu/s_cosl.S: Likewise.
36086 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36087 * sysdeps/i386/fpu/s_sinl.S: Likewise.
36088 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36089 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36090 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36091 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36092 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36093 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36094 * math/libm-test.inc (cos_test): Add more tests and enable more
36095 tests for long double.
36096 (sin_test): Likewise.
36097 (sincos_test): Likewise.
36098 * sysdeps/i386/fpu/libm-test-ulps: Update.
36099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36100
dd7f4703
DM
361012012-03-16 David S. Miller <davem@davemloft.net>
36102
36103 * sysdeps/sparc/fpu/math_private.h: New file.
36104
006f1daa
DM
361052012-03-15 David S. Miller <davem@davemloft.net>
36106
c0c83bc8
DM
36107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36108 file.
e6a62e18 36109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
36110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36111 file.
e6a62e18
DM
36112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36113 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36114 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36115 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36116 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36117 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36118 sysdep routines.
36119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36120
88cb87d9
DM
36121 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36122 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36123
006f1daa 36124 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
36125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36126 sparc-ifunc.h
006f1daa 36127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
36128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36129 Likewise.
36130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36131 Likewise.
006f1daa
DM
36132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
36135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36136 Likewise.
006f1daa
DM
36137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
36141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36142 Likewise.
36143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36144 Likewise.
006f1daa
DM
36145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36149 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36150 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36151 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36152 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36153 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36154 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36155 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36156 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36157 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36158 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36159 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36160 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36161 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36162 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36163 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36164 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36165 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36166 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36167 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36168 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36169
11e0098e
AS
361702012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36171
36172 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36173 scaling.
36174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36175
e85b09d0
AJ
361762012-03-15 Andreas Jaeger <aj@suse.de>
36177
36178 [BZ #13852]
36179 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36180 ieee754/flt-32 implementation for sin, cos and sincos.
36181 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36182 * sysdeps/i386/fpu/s_cosf.S: Likewise.
36183 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36184 * sysdeps/i386/fpu/s_sinf.S: Likewise.
36185 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36186 ieee754/flt-32 implementation for tan.
36187
36188 * math/libm-test.inc (cos_test): Enable some large input tests for
36189 float as well
36190 (sin_test): Likewise.
36191 (sincos_test): Likewise.
36192 (tan_test): Add tests for large input.
36193
36194 * sysdeps/i386/fpu/libm-test-ulps: Update.
36195
81c64153
AJ
361962012-03-15 Andreas Jaeger <aj@suse.de>
36197
36198 [BZ #13658]
36199 * math/libm-test.inc (cos_test): Add more test cases.
36200 (sin_test): Likewise.
36201 (sincos_test): Likewise.
36202
7bbfa5c6
AJ
362032012-03-15 Andreas Jaeger <aj@suse.de>
36204
36205 [BZ #13837]
36206 * math/libm-test.inc (cos_test): Add a test case for large input
36207 value.
36208 (sin_test): Likewise.
36209 (sincos_test): Likewise.
36210
57f41c40
AS
362112012-03-15 Andreas Jaeger <aj@suse.de>
36212 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
36213
36214 [BZ #13658]
0671f479 36215 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
36216 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36217 * sysdeps/i386/fpu/branred.c: Likewise.
36218 * sysdeps/i386/fpu/dosincos.c: Likewise.
36219 * sysdeps/i386/fpu/mpa.c: Likewise.
36220 * sysdeps/i386/fpu/s_cos.S: Likewise.
36221 * sysdeps/i386/fpu/s_sin.S: Likewise.
36222 * sysdeps/i386/fpu/s_sincos.S: Likewise.
36223 * sysdeps/i386/fpu/sincos32.c: Likewise.
36224
36225 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36226 Define.
36227 (libc_feupdateenv_53bit): Define.
36228 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36229 Define.
36230 (libc_feupdateenv_53bit): Define.
36231
36232 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36233 53 bit (without extend i386 double precision).
36234
36235 * math/libm-test.inc (sincos_test): Add tests for large input.
36236 (sin): Likewise.
36237 (cos): Likewise.
36238
36239 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36240
9cad04ea
AS
362412012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36242
36243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36244
f7062b9a
DM
362452012-03-15 David S. Miller <davem@davemloft.net>
36246
36247 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36248 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36249 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36250 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36255 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36256 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36257 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36258 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36259 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36260 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36261 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
36262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36263 file.
f7062b9a 36264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
36265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36266 file.
f7062b9a 36267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
36268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36269 file.
f7062b9a 36270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
36271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36272 file.
f7062b9a
DM
36273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36274 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36275 fmin/fmax sysdep routines.
36276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36277
7bd951ff
DM
362782012-03-14 David S. Miller <davem@davemloft.net>
36279
559398ab
DM
36280 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36281 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36282 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36283 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36284 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36285 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36286 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36287 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36288 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36289 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36290 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36291 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36292 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36293 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36294 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36295 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36296 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36297 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36298 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36299 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36300 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36301 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36302 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36303 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36304 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36305 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36306 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36307 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
36308 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36309 routines.
36310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36311 file.
559398ab 36312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
36313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36314 file.
559398ab 36315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
36316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36317 file.
559398ab 36318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
36319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36320 file.
559398ab 36321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
36322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36323 file.
559398ab 36324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
36325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36326 file.
36327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36328 file.
36329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36330 file.
36331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36332 file.
36333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36334 New file.
36335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36336 file.
36337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36338 file.
559398ab 36339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
36340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36341 file.
559398ab 36342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
36343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36344 file.
559398ab 36345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
36346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36347 file.
559398ab 36348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
36349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36350 VIS3 routines.
559398ab
DM
36351
36352 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36353 New file.
36354
5a1c1e32
DM
36355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36356
eae47a36
DM
36357 * sysdeps/sparc/configure.in: New file.
36358 * sysdeps/sparc/configure: Generate.
36359 * configure.in (libc_cv_sparc_as_vis3): Substitute.
36360 * configure: Regenerate.
36361 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36362 * config.make.in (have-as-vis3): New.
36363 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36364 available use -Av9d instead of -Av9a.
36365 * sysdeps/sparc/sparc64/Makefile: Likewise.
36366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
36367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36368 New file.
36369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36370 file.
36371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36372 New file.
36373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36374 file.
eae47a36
DM
36375 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36376 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36377 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36378 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36379 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36380
c0c83bc8
DM
36381 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36382 fzeros/fnegs to load 0x80000000 into a float register instead of
36383 using the stack.
7bd951ff
DM
36384 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36385
bd951ccb
JM
363862012-03-14 Joseph Myers <joseph@codesourcery.com>
36387
36388 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36389 bits/syscall.h.
36390 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36391 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36392 ($(inst_includedir)/bits/syscall.h): Remove rule.
36393 ($(objpfx)bits/syscall.d): Include instead of
36394 $(objpfx)syscall-list.d.
36395 (generated): Change syscall-list.h and syscall-list.d to
36396 bits/syscall.h and bits/syscall.d.
36397
bb4e6db2
RM
363982012-03-14 Roland McGrath <roland@hack.frob.com>
36399
36400 [BZ #13846]
36401 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36402
aa4a2ae1
JM
364032012-03-14 Joseph Myers <joseph@codesourcery.com>
36404
e456826d
JM
36405 [BZ #13841]
36406 * math/s_csqrt.c: Include <float.h>.
36407 (__csqrt): Scale large or subnormal inputs.
36408 * math/s_csqrtf.c: Likewise.
36409 * math/s_csqrtl.c: Likewise.
36410 * math/libm-test.inc (csqrt_test): Add more tests.
36411 * sysdeps/i386/fpu/libm-test-ulps: Update.
36412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36413
aa4a2ae1
JM
36414 [BZ #13840]
36415 * math/libm-test.inc (hypot_test): Add more tests.
36416
7c10fd35
DM
364172012-03-13 David S. Miller <davem@davemloft.net>
36418
36419 [BZ #13840]
36420 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36421 double-precision for the calculation instead of scaling.
36422
f453b98b
JM
364232012-03-13 Joseph Myers <joseph@codesourcery.com>
36424
36425 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36426 manipulate bits before adding and subtracting TWO52[sx].
36427 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36428 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36429 Likewise.
36430 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36431
09a3453f
DM
364322012-03-13 David S. Miller <davem@davemloft.net>
36433
8e59da90
DM
36434 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36435 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36436 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36437 rtld-global-offsets.h
36438 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36439
2a8ab7f2
DM
36440 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36441 large parameters.
36442
10f62770
DM
36443 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36444
5f0bdb18
DM
36445 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36446 'err' in the ifdef scope in which it is actually used.
36447
09a3453f
DM
36448 * nss/nss_db/db-init.c: Include string.h
36449
b4b2eb5e
DM
364502012-03-12 David S. Miller <davem@davemloft.net>
36451
98bb2f1c
DM
36452 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36453 masking out of the most significant byte of random value used.
36454 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36455 Fix coding style in previous change.
36456
b4b2eb5e
DM
36457 * sysdeps/unix/sysv/linux/kernel-features.h
36458 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36459 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36460 expression.
36461 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36462 later.
36463
6e226b09
DM
364642012-03-11 David S. Miller <davem@davemloft.net>
36465
a1bcbd40
DM
36466 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36467 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36468 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36469 for 'resultvar' otherwise things get truncated on 64-bit.
36470
cb9d6174
DM
36471 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36472 Fix masking out of the most significant byte of random value used.
36473
6e226b09
DM
36474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36475
058c132d
AS
364762012-03-10 Andreas Schwab <schwab@linux-m68k.org>
36477
36478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36479
2d2cd515
DM
364802012-03-09 David S. Miller <davem@davemloft.net>
36481
36482 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36483 variables with appropriate CPP guards.
57f41c40
AS
36484 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36485 from the frame pointer, not the stack pointer. Correct layout
36486 comments. Fix test on resulting framesize and the management of
36487 the outregs buffer for pltexit. Preserve floating point return
36488 values across _dl_call_pltexit call.
2d2cd515
DM
36489 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36490 framesize and the management of the outregs buffer for pltexit.
36491 Preserve floating point return values across _dl_call_pltexit
36492 call.
57f41c40
AS
36493 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36494 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36495 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
36496 (print_exit): Fix format string for return register value.
36497
9a07f9d0
JM
364982012-03-10 Joseph Myers <joseph@codesourcery.com>
36499
36500 * sunrpc/Makefile (others): Add rpcgen.
36501 ($(objpfx)rpcgen): Remove special build rule and dependency on
36502 libc.
36503 * sunrpc/rpcgen.c: New file.
36504
547b5e30
PE
365052012-03-09 Paul Eggert <eggert@cs.ucla.edu>
36506
c524201a
PE
36507 [BZ #13673]
36508 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
36509 * stdio-common/bug-vfprintf-nargs.c: Likewise.
36510 * sysdeps/i386/crti.S: Likewise.
36511 * sysdeps/i386/crtn.S: Likewise.
36512 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
36513 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
36514 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
36515 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
36516 * sysdeps/sh/crti.S: Likewise.
36517 * sysdeps/sh/crtn.S: Likewise.
36518 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36519
7b6235f2
PE
36520 [BZ #13673]
36521 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
36522 with URL.
36523 * locale/programs/locfile-kw.gperf: Likewise.
36524 * locale/programs/charmap-kw.h: Regenerated.
36525 * locale/programs/locfile-kw.h: Likewise.
36526
547b5e30
PE
36527 [BZ #13673]
36528 * intl/plural.y: Replace FSF snail mail address with URL.
36529 * intl/plural.c: Regenerated.
36530
5f0a5dae
RH
365312012-03-09 Richard Henderson <rth@twiddle.net>
36532
36533 * include/math_private.h: Remove file.
36534 * math/math_private.h: Move file ...
36535 * sysdeps/generic/math_private.h: ... here.
36536
b8c03620
RH
36537 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
36538 * sysdeps/powerpc/fpu/math_private.h: Likewise.
36539 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36540
4e234f5d 36541 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
36542 and <math_private.h>.
36543 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36544 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36545 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36546 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36547 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36548 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
36549 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36550 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36551 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36552 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36553 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36554 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36555 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36556 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36557 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36558 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36559 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36560 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36561 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36562 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36563 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36564 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36565 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36566 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36567 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36568 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36569 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36570 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36571 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36572 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36573 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36574 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36575 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36576 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36577 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36578 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36579 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36580 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36581 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36582 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36583 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
36584 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36585 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36586 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36587 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36588 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36589 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
36590 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36591 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36592 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36593 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36594 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
36595 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36596 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36597 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36598 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36599 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36600 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36601 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36602 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
36603 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36604 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36605 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36606 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36607 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
36608 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36609 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36610 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36611 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
36612 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
36613 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36614 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36615 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36616 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36617 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
36618 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
36619 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
36620 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36621 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
36622 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
36623 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36624 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
36625 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36626 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36627 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36628 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36629 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
36630 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
36631 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36632 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36633 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36634 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36635 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36636 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36637 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36638 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36639 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36640 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36641 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36642 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36643 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36644 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36645 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36646 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36647 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36648 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36649 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36650 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36651 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36652 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36653 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36654 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36655 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36656 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36657 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
36658 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36659 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36660 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36661 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36662 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36663 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36664 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36665 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36666 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
36667 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36668 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36669 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36670 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
36671 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36672 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
36673 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
36674 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36675 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36676 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
36677 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
36678 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36679 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36680 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36681 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
36682 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36683 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36684 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36685 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36686 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
36687 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
36688 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36689 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36690 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36691 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
36692 * sysdeps/ieee754/k_standard.c: Likewise.
36693 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36694 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36695 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36696 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36697 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36698 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36699 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36700 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36701 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36702 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36703 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36704 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36705 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36706 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36707 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36708 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36709 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36710 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36711 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36712 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
36713 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
36714 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
36715 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36716 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36717 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36718 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36719 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36720 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36721 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36722 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36723 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36724 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36725 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36726 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36727 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36728 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36729 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36730 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
36731 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
36732 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36733 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36734 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36735 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36736 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36737 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36738 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36739 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36740 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36741 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36742 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36743 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36744 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36745 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36746 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
36747 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36748 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36749 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
36750 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
36751 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36752 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36753 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36754 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36755 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36756 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36757 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36758 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36759 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36760 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36761 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36762 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36763 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36764 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36765 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36766 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36767 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36768 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36769 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
36770 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36771 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36772 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36773 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36774 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36775 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36776 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36777 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
36778 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36779 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36780 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36781 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36782 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36783 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
36784 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36785 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36786 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36787 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36788 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36789 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
36790 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36791 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36792 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
36793 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36794 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36795 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36796 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36797 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
36798 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36799 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36800 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36801 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
36802 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36803 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36804 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36805 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36806 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36807 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36808 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36809 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36810 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36811 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36812 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36813 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36814 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36815 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36816 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36817 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36818 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
36819 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36820 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36821 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36822 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36823 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36824 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36825 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36826 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36827 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36828 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36829 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
36830 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36831 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36832 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
36833 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
36834 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36835 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
36836 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
36837 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36838 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36839 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36840 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36841 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36842 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
36843 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36844 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36845 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36846 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36847 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
36848 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
36849 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36850 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36851 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36852 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36853 * sysdeps/ieee754/s_lib_version.c: Likewise.
36854 * sysdeps/ieee754/s_matherr.c: Likewise.
36855 * sysdeps/ieee754/s_signgam.c: Likewise.
36856 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36857 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36858 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
36859 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
36860 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
36861 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36862 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
36863 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
36864 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
36865 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
36866 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36867 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
36868 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36869 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36870 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
36871 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36872 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36873 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36874 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36875 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36876 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 36877
1991fa03
JM
368782012-03-09 Joseph Myers <joseph@codesourcery.com>
36879
36880 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
36881 * sunrpc/rpc_main.c: Likewise.
36882 * sunrpc/rpc_svcout.c: Likewise.
36883
60d6f5a6
DM
368842012-03-09 David S. Miller <davem@davemloft.net>
36885
36886 * include/math_private.h: New file.
36887
4962050e
JM
368882012-03-09 Joseph Myers <joseph@codesourcery.com>
36889
02a6f887
JM
36890 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
36891 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
36892 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
36893 from <bits/socket_type.h>.
36894 (enum __socket_type): Don't define here.
36895 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
36896 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36897 bits/socket_type.h.
36898
c6e013c1
JM
36899 [BZ #13566]
36900 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
36901 checking __USE_GNU.
36902
4962050e
JM
36903 * Makerules ($(inst_includedir)/%.h): New rule.
36904 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
36905 (install-others): Remove variable setting.
36906 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
36907
38842f45
RH
369082012-03-08 Richard Henderson <rth@twiddle.net>
36909
67bb6da6
RH
36910 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
36911 from macro to inline function; merge with the
36912 !__LIBC_INTERNAL_MATH_INLINES version.
36913 (__ieee754_sqrtf): Likewise.
36914
15194b4b
RH
36915 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
36916 to inline function.
36917 (__rintf, __floor, __floorf): Likewise.
36918
64e21ede
RH
36919 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
36920 macro to inline function.
36921 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
36922
38842f45
RH
36923 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
36924 not <math/math_private.h>.
36925
c64bf5fe
DM
369262012-03-08 David S. Miller <davem@davemloft.net>
36927
36928 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
36929 copyright year.
36930 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
36931
82d86f28
TS
369322012-03-08 Thomas Schwinge <thomas@codesourcery.com>
36933
36934 * resolv/gai_misc.c (handle_requests): Fix struct timespec
36935 normalization.
36936 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
36937 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36938
aea5d727
UD
369392012-03-08 Ulrich Drepper <drepper@gmail.com>
36940
36941 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
36942 be defined individually, they must be defined as a block. Define
36943 S for printing a string instead of hidint the different by using a
36944 macro for adding the 'l'.
36945 * stdio-common/tst-fphex-wide.c: Adjust.
36946
70bca0a3
MP
369472012-03-07 Marek Polacek <polacek@redhat.com>
36948
36949 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
36950
65b81130
MP
369512012-03-08 Marek Polacek <polacek@redhat.com>
36952
36953 [BZ #13806]
36954 * stdio-common/Makefile (tests): Add tst-fphex-wide.
36955 * stdio-common/tst-fphex.c: Define a few macros to make the
36956 test reusable. Use them.
36957 * stdio-common/tst-fphex-wide.c: New file.
36958
07037eeb
JM
369592012-03-08 Joseph Myers <joseph@codesourcery.com>
36960
a7a93d50
JM
36961 [BZ #6911]
36962 * manual/macros.texi (gnusystems): New macro.
36963 (nongnusystems): Likewise.
36964 (gnulinuxhurdsystems): Likewise.
36965 (gnuhurdsystems): Likewise..
36966 (gnulinuxsystems): Likewise.
36967 * manual/charset.texi: Use new macros or @theglibc{} to refer to
36968 variants of the GNU system, not "GNU system".
36969 * manual/conf.texi: Likewise.
36970 * manual/errno.texi: Likewise. Update example of errno macro
36971 expansion.
36972 * manual/filesys.texi: Likewise.
36973 (getumask): Document as specific to GNU/Hurd.
36974 * manual/install.texi: Likewise. Reword some references to
36975 GNU/Linux.
36976 * manual/intro.texi: Likewise.
36977 * manual/io.texi: Likewise.
36978 (File Name Portability): Detail which constraints are inapplicable
36979 to all GNU systems and which are only inapplicable to GNU/Hurd.
36980 * manual/job.texi: Likewise.
36981 * manual/llio.texi: Likewise.
36982 (O_NOCTTY): Document as present on GNU/Linux.
36983 * manual/maint.texi: Likewise.
36984 * manual/memory.texi: Likewise.
36985 * manual/pattern.texi: Likewise.
36986 * manual/pipe.texi: Likewise.
36987 * manual/process.texi: Likewise.
36988 * manual/resource.texi: Likewise.
36989 (RUSAGE_CHILDREN): Remove statement about specifying a particular
36990 child on GNU/Hurd.
36991 * manual/setjmp.texi: Likewise.
36992 * manual/signal.texi: Likewise.
36993 * manual/startup.texi: Likewise.
36994 * manual/stdio.texi: Likewise.
36995 * manual/terminal.texi: Likewise.
36996 (ONLCR): Document as POSIX.
36997 (OXTABS): Document availability on GNU/Linux as XTABS.
36998 (ONOEOT): Document availability separately from other bits.
36999 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37000 * manual/time.texi: Likewise.
37001 * manual/users.texi: Likewise.
37002 * INSTALL: Regenerated.
37003 * sysdeps/gnu/errlist.c: Regenerated.
37004
07037eeb
JM
37005 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37006 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37007 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
37008 puts.
37009 * configure: Regenerated.
37010
d1d3431a
JM
370112012-03-07 Joseph Myers <joseph@codesourcery.com>
37012
af6a1e37
JM
37013 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37014 default includes instead of AC_HEADER_CHECK.
37015 * sysdeps/i386/configure: Regenerated.
37016
d1d3431a
JM
37017 [BZ #10716]
37018 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37019 * math/s_cacoshf.c (__cacoshf): Likewise.
37020 * math/s_cacoshl.c (__cacoshl): Likewise.
37021 * math/s_casinh.c (__casinh): Set signs of result from argument.
37022 * math/s_casinhf.c (__casinhf): Likewise.
37023 * math/s_casinhl.c (__casinhl): Likewise.
37024 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37025 (casinh_test): Add more tests.
37026 * sysdeps/i386/fpu/libm-test-ulps: Update.
37027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37028
482ff4da
UD
370292012-03-07 Ulrich Drepper <drepper@gmail.com>
37030
872fda05
UD
37031 * po/zh_TW.po: Update from translation team.
37032
a4300c7a
UD
37033 * login/Makefile (distribute): Remove variable.
37034 * catgets/Makefile: Likewise.
37035 * mach/Makefile: Likewise.
37036 * malloc/Makefile: Likewise.
37037 * misc/Makefile: Likewise.
37038 * iconv/Makefile: Likewise.
37039 * nscd/Makefile: Likewise.
37040 * hurd/Makefile: Likewise.
37041 * manual/Makefile: Likewise.
37042 * locale/Makefile: Likewise.
37043 * intl/Makefile: Likewise.
37044 * conform/Makefile: Likewise.
37045 * nss/Makefile: Likewise.
37046 * time/Makefile: Likewise.
37047 * soft-fp/Makefile: Likewise.
37048 * dirent/Makefile: Likewise.
37049 * gmon/Makefile: Likewise.
37050 * po/Makefile: Likewise.
37051 * rt/Makefile: Likewise.
37052 * socket/Makefile: Likewise.
37053 * math/Makefile: Likewise.
37054 * signal/Makefile: Likewise.
37055 * debug/Makefile: Likewise.
37056 * elf/Makefile: Likewise.
37057 * timezone/Makefile: Likewise.
37058 * stdlib/Makefile: Likewise.
37059 * iconvdata/Makefile: Likewise.
37060 * sunrpc/Makefile: Likewise.
37061 * io/Makefile: Likewise.
37062 * argp/Makefile: Likewise.
37063 * inet/Makefile: Likewise.
37064 * hesiod/Makefile: Likewise.
37065 * grp/Makefile: Likewise.
37066 * csu/Makefile: Likewise.
37067 * wctype/Makefile: Likewise.
37068 * crypt/Makefile: Likewise.
37069 * libio/Makefile: Likewise.
37070 * string/Makefile: Likewise.
37071 * nis/Makefile: Likewise.
37072 * resolv/Makefile: Likewise.
37073 * stdio-common/Makefile: Likewise.
37074 * wcsmbs/Makefile: Likewise.
37075 * dlfcn/Makefile: Likewise.
37076 * posix/Makefile: Likewise.
37077
3b7c4e74 37078 [BZ #6959]
482ff4da
UD
37079 * timezone/Makefile: Don't install timezone files, just the programs
37080 and scripts.
37081
f72ed77d
UD
370822012-03-06 Ulrich Drepper <drepper@gmail.com>
37083
a000466f
UD
37084 * nss/databases.def: Add missing gshadow entry.
37085
f72ed77d
UD
37086 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
37087
a53b7a4e
MP
370882012-03-06 Marek Polacek <polacek@redhat.com>
37089
37090 [BZ #13726]
37091 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37092 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37093 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37094 * stdio-common/tst-long-dbl-fphex.c: New file.
37095
e9258400
DM
370962012-03-06 David S. Miller <davem@davemloft.net>
37097
37098 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37099 (set_obp_int): New function.
37100 (get_obp_int): New function.
37101 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
37102 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37103 Avoid unused variable warnings on 'val' and use builtin_expect.
37104 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37105 __builtin_expect.
e9258400
DM
37106 (INLINE_CLONE_SYSCALL): Likewise.
37107
3bd2c723
DM
371082012-03-05 David S. Miller <davem@davemloft.net>
37109
37110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37111
bbb78d03
AS
371122012-03-05 Andreas Schwab <schwab@linux-m68k.org>
37113
884c5db4
AS
37114 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37115
bbb78d03
AS
37116 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37117 only for |x| >= 40.
37118 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37119
1c9f702a 371202012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
37121
37122 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37123 Replace gettimeofday with __vdso_gettimeofday.
37124
7be16f82
RM
37125 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37126 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37127 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
37128
37129 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37130 time with __vdso_time.
37131
ed58a00f
JM
371322012-03-05 Joseph Myers <joseph@codesourcery.com>
37133
37134 * manual/lang.texi (size_t): Note types to which size_t may be
37135 equivalent with the GNU C Library, but do not describe when
37136 differences between them are significant.
37137
30ee4ced
AJ
371382012-03-05 Andreas Jaeger <aj@suse.de>
37139
37140 * sysdeps/i386/fpu/libm-test-ulps: Update.
37141
b7cd39e8
JM
371422012-03-05 Joseph Myers <joseph@codesourcery.com>
37143
37144 [BZ #3976]
37145 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37146 (__ieee754_pow): Save and restore rounding mode and use
37147 round-to-nearest for main computations.
37148 * math/libm-test.inc (pow_test_tonearest): New function.
37149 (pow_test_towardzero): Likewise.
37150 (pow_test_downward): Likewise.
37151 (pow_test_upward): Likewise.
37152 (main): Call the new functions.
37153 * sysdeps/i386/fpu/libm-test-ulps: Update.
37154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
37155
37156 [BZ #3976]
37157 * math/libm-test.inc (cosh_test_tonearest): New function.
37158 (cosh_test_towardzero): Likewise.
37159 (cosh_test_downward): Likewise.
37160 (cosh_test_upward): Likewise.
37161 (sinh_test_tonearest): Likewise.
37162 (sinh_test_towardzero): Likewise.
37163 (sinh_test_downward): Likewise.
37164 (sinh_test_upward): Likewise.
37165 (main): Call the new functions.
37166 * sysdeps/i386/fpu/libm-test-ulps: Update.
37167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37168
6c6a98c9
TV
371692012-03-05 Tom de Vries <tom@codesourcery.com>
37170
37171 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37172 default stack guard is set in last bytes.
37173 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37174
21bb2d2e 371752012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 37176
21bb2d2e 37177 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 37178
21bb2d2e
AJ
37179 [BZ #13656]
37180 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37181 possibly allocate from heap instead of stack.
37182 * stdio-common/bug-vfprintf-nargs.c: New file.
37183 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 37184
c6922934
AS
371852012-03-03 Andreas Schwab <schwab@linux-m68k.org>
37186
37187 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37188
bc957d53
MP
371892012-03-03 Marek Polacek <polacek@redhat.com>
37190
37191 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37192 * math/math_private.h: Likewise.
37193 * stdlib/tst-strtod.c: Likewise.
37194 * sysdeps/i386/i486/bits/atomic.h: Likewise.
37195 * sysdeps/x86_64/bits/atomic.h: Likewise.
37196
6358490d
DM
371972012-03-02 David S. Miller <davem@davemloft.net>
37198
37199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37203 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37204 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37205 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37206 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37207
01ae168d
RM
372082012-03-02 Roland McGrath <roland@hack.frob.com>
37209
d9a17c07
RM
37210 [BZ #13792]
37211 * manual/examples/README: New file, says the example source files
37212 can be used under GPL>=2.
37213 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37214 line containing just "*/".
37215 * manual/examples/add.c: Add copyright header (GPL>=2).
37216 * manual/examples/argp-ex1.c: Likewise.
37217 * manual/examples/argp-ex2.c: Likewise.
37218 * manual/examples/argp-ex3.c: Likewise.
37219 * manual/examples/argp-ex4.c: Likewise.
37220 * manual/examples/atexit.c: Likewise.
37221 * manual/examples/db.c: Likewise.
37222 * manual/examples/dir.c: Likewise.
37223 * manual/examples/dir2.c: Likewise.
37224 * manual/examples/execinfo.c: Likewise.
37225 * manual/examples/filecli.c: Likewise.
37226 * manual/examples/filesrv.c: Likewise.
37227 * manual/examples/fmtmsgexpl.c: Likewise.
37228 * manual/examples/genpass.c: Likewise.
37229 * manual/examples/inetcli.c: Likewise.
37230 * manual/examples/inetsrv.c: Likewise.
37231 * manual/examples/isockad.c: Likewise.
37232 * manual/examples/longopt.c: Likewise.
37233 * manual/examples/memopen.c: Likewise.
37234 * manual/examples/memstrm.c: Likewise.
37235 * manual/examples/mkfsock.c: Likewise.
37236 * manual/examples/mkisock.c: Likewise.
37237 * manual/examples/mygetpass.c: Likewise.
37238 * manual/examples/pipe.c: Likewise.
37239 * manual/examples/popen.c: Likewise.
37240 * manual/examples/rprintf.c: Likewise.
37241 * manual/examples/search.c: Likewise.
37242 * manual/examples/select.c: Likewise.
37243 * manual/examples/setjmp.c: Likewise.
37244 * manual/examples/sigh1.c: Likewise.
37245 * manual/examples/sigusr.c: Likewise.
37246 * manual/examples/stpcpy.c: Likewise.
37247 * manual/examples/strdupa.c: Likewise.
37248 * manual/examples/strftim.c: Likewise.
37249 * manual/examples/strncat.c: Likewise.
37250 * manual/examples/subopt.c: Likewise.
37251 * manual/examples/swapcontext.c: Likewise.
37252 * manual/examples/termios.c: Likewise.
37253 * manual/examples/testopt.c: Likewise.
37254 * manual/examples/testpass.c: Likewise.
37255 * manual/examples/timeval_subtract.c: Likewise.
37256
01ae168d
RM
37257 [BZ #13792]
37258 * manual/time.texi (Elapsed Time): Move timeval_subtract example
37259 function to ...
37260 * manual/timeval_subtract.c.texi: ... here, new file.
37261
49efa33d
DM
372622012-03-02 David S. Miller <davem@davemloft.net>
37263
37264 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37265
28afd92d
JM
372662012-03-02 Joseph Myers <joseph@codesourcery.com>
37267
804360ed
JM
37268 [BZ #3976]
37269 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37270 (__sin): Save and restore rounding mode and use round-to-nearest
37271 for all computations.
37272 (__cos): Save and restore rounding mode and use round-to-nearest
37273 for all computations.
37274 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37275 <fenv.h>.
37276 (tan): Save and restore rounding mode and use round-to-nearest for
37277 all computations.
37278 * math/libm-test.inc (cos_test_tonearest): New function.
37279 (cos_test_towardzero): Likewise.
37280 (cos_test_downward): Likewise.
37281 (cos_test_upward): Likewise.
37282 (sin_test_tonearest): Likewise.
37283 (sin_test_towardzero): Likewise.
37284 (sin_test_downward): Likewise.
37285 (sin_test_upward): Likewise.
37286 (tan_test_tonearest): Likewise.
37287 (tan_test_towardzero): Likewise.
37288 (tan_test_downward): Likewise.
37289 (tan_test_upward): Likewise.
37290 (main): Call the new functions.
37291 * sysdeps/i386/fpu/libm-test-ulps: Update.
37292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37293
a6d06d7b
JM
37294 [BZ #10135]
37295 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37296 small n, then large n, before computing and testing k+n.
37297 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37298 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37299 Likewise.
37300 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37301 Likewise.
37302 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37303 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37304 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37305 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37306 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37307 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37308 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37309 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37310 * math/libm-test.inc (scalbn_test): Add more tests.
37311 (scalbln_test): Likewise.
37312
07e12bb3
JM
37313 * manual/filesys.texi (mode_t): Describe constraints on size and
37314 signedness, not exact equivalence to a particular type.
37315 (ino_t): Likewise.
37316 (ino64_t): Likewise.
37317 (dev_t): Likewise.
37318 (nlink_t): Likewise.
37319 (blkcnt_t): Likewise.
37320 (blkcnt64_t): Likewise.
37321 * manual/llio.texi (off_t): Likewise.
37322
28afd92d
JM
37323 [BZ #3976]
37324 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37325 (__ieee754_exp): Save and restore rounding mode and use
37326 round-to-nearest for all computations.
37327 * math/libm-test.inc (exp_test_tonearest): New function.
37328 (exp_test_towardzero): Likewise.
37329 (exp_test_downward): Likewise.
37330 (exp_test_upward): Likewise.
37331 (main): Call the new functions.
37332 * sysdeps/i386/fpu/libm-test-ulps: Update.
37333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37334
b1eeb65d
CD
373352012-03-01 Chris Demetriou <cgd@google.com>
37336
37337 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37338 have predictable order.
37339
53362a4b
DM
373402012-03-01 David S. Miller <davem@davemloft.net>
37341
3c969083
DM
37342 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37343
759707de
DM
37344 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37345 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37346 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37347 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37348
dfdb8ff2
DM
37349 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37350 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37351 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37353 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37354 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37355 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37356 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37357 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37358
ead89f96
DM
37359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37360
7f66bd07
DM
37361 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37362 * sysdeps/sparc/fpu/libm-test-ulps: to here.
37363 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37364
53362a4b
DM
37365 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37366 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37367 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37368 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37369 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37370 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37371 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37372 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37373 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37374 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37375 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37376 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37377 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37378 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37379 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37380 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37381 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37382 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37383 * sysdeps/sparc/elf/configure: Regenerated.
37384
7b1902cb
JM
373852012-03-01 Joseph Myers <joseph@codesourcery.com>
37386
bec039bc
JM
37387 * configure.in (AS, LD): Require binutils 2.20 or later.
37388 * configure: Regenerated.
37389 * manual/install.texi (Tools for Compilation): Give binutils 2.20
37390 as required minimum version.
37391 * INSTALL: Regenerated.
37392
7b1902cb
JM
37393 [BZ #2541]
37394 [BZ #4108]
37395 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37396 before squaring exponent.
37397 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37398 bottom long double and 27 bits of top long double before squaring
37399 exponent.
37400 * math/libm-test.inc (erfc_test): Add more tests.
37401 * sysdeps/i386/fpu/libm-test-ulps: Update.
37402 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37404
f775c276
KT
374052012-03-01 Kai Tietz <ktietz@redhat.com>
37406
37407 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37408 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37409 containing bit-fields.
37410 * soft-fp/extended.h (_FP_UNION_E): Likewise.
37411 * soft-fp/single.h (_FP_UNION_S): Likewise.
37412 * soft-fp/double.h (_FP_UNION_D): Likewise.
37413
5b8a4d4a
JM
374142012-02-29 Joseph Myers <joseph@codesourcery.com>
37415
0bab47b6
JM
37416 [BZ #13786]
37417 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37418 not include ../strcmp.S.
37419 [USE_AS_STRNCASECMP_L]: Likewise.
37420 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37421 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37422 * sysdeps/i386/i686/multiarch/strncase_l-c.c
37423 (__strncasecmp_l_ia32): Define as alias to
37424 __strncasecmp_l_nonascii.
37425
0fcad3e2
JM
37426 [BZ #5794]
37427 * math/libm-test.inc (expm1_test): Add test for bug 5794.
37428 * sysdeps/i386/fpu/libm-test-ulps: Update.
37429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37430
5b8a4d4a
JM
37431 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37433
8fdceb2e
JL
374342012-02-29 Jeff Law <law@redhat.com>
37435
37436 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37437 out of bounds read.
37438
1f393a11
MP
374392012-02-29 Marek Polacek <polacek@redhat.com>
37440
37441 [BZ #13706]
37442 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37443 * elf/Makefile: Add rules to run tst-unused-dep.out.
37444
8847f037
DM
374452012-02-28 David S. Miller <davem@davemloft.net>
37446
37447 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37448 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37449 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37450 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37451 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37452 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37453
169d7f11
JM
374542012-02-29 Joseph Myers <joseph@codesourcery.com>
37455
37456 * math/libm-test.inc (llround_test): Move one test from
37457 lround_test. Use TEST_f_L in moved test.
37458 (lround_test): Move misplaced test to llround_test. Add testcase
37459 from bug 2561.
37460
39adf059
UD
374612012-02-28 Ulrich Drepper <drepper@gmail.com>
37462
37463 * sysdeps/x86_64/fpu/e_expf.S: New file.
37464 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37465
71b5d1c5
SB
374662012-02-28 Stanislav Brabec <sbrabec@suse.cz>
37467
37468 [BZ #13637]
37469 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37470 of remain_len that may cause incomplete multi-byte character and
37471 false match.
37472 * posix/bug-regex33.c: New file.
37473 * posix/Makefile (tests): Add bug-regex33.
37474
1f77f049
JM
374752012-02-28 Joseph Myers <joseph@codesourcery.com>
37476
37477 * manual/macros.texi: New file.
37478 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37479 * manual/libc.texinfo: Include macros.texi.
37480 * manual/creatute.texi: Likewise.
37481 * manual/install.texi: Likewise.
37482 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37483 @glibcadj{} in references to the GNU C Library.
37484 * manual/charset.texi: Likewise.
37485 * manual/conf.texi: Likewise.
37486 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
37487 when not using those macros.
37488 * manual/creature.texi: Likewise.
37489 * manual/crypt.texi: Likewise.
37490 * manual/errno.texi: Likewise.
37491 * manual/filesys.texi: Likewise.
37492 * manual/header.texi: Likewise.
37493 * manual/install.texi: Likewise.
37494 * manual/intro.texi: Likewise.
37495 * manual/io.texi: Likewise.
37496 * manual/job.texi: Likewise.
37497 * manual/lang.texi: Likewise.
37498 * manual/libc.texiinfo: Likewise.
37499 * manual/llio.texi: Likewise.
37500 * manual/locale.texi: Likewise.
37501 * manual/maint.texi: Likewise.
37502 * manual/math.texi: Likewise.
37503 * manual/memory.texi: Likewise.
37504 * manual/message.texi: Likewise.
37505 * manual/nss.texi: Likewise.
37506 * manual/pattern.texi: Likewise.
37507 * manual/process.texi: Likewise.
37508 * manual/resource.texi: Likewise.
37509 * manual/search.texi: Likewise.
37510 * manual/setjmp.texi: Likewise.
37511 * manual/signal.texi: Likewise.
37512 * manual/socket.texi: Likewise.
37513 * manual/startup.texi: Likewise.
37514 * manual/stdio.texi: Likewise.
37515 * manual/string.texi: Likewise.
37516 * manual/sysinfo.texi: Likewise.
37517 * manual/syslog.texi: Likewise.
37518 * manual/terminal.texi: Likewise.
37519 * manual/time.texi: Likewise.
37520 * manual/users.texi: Likewise.
37521 * INSTALL: Regenerated.
37522 * NOTES: Regenerated.
d40c5d54 37523 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 37524
450bf206
AS
375252012-02-28 Andreas Schwab <schwab@linux-m68k.org>
37526
37527 * include/dirent.h: Include <dirstream.h> before
37528 <dirent/dirent.h>.
37529
741a235b
DM
375302012-02-28 David S. Miller <davem@davemloft.net>
37531
37532 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
37533 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
37534 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
37535 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
37536
d6b5aa58
DM
375372012-02-27 David S. Miller <davem@davemloft.net>
37538
1aff59a3
DM
37539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
37540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
37541 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
37542 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
37543
d6b5aa58
DM
37544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
37545 frame pointer instead of stack pointer relative arg slot.
37546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37547 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37548 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37549
433f48bf
CD
375502012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
37551
37552 [BZ #3992]
37553 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
37554
d674b76d
DM
375552012-02-27 David S. Miller <davem@davemloft.net>
37556
37557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
37558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
37561 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37562 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37563 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
37564 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
37565
0e7727f7
JM
375662012-02-27 Joseph Myers <joseph@codesourcery.com>
37567
37568 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
37569 later. Allow versions 5-9.
43be4ca2 37570 * configure: Regenerated.
0e7727f7
JM
37571 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
37572 required minimum version and 4.6 as recommended version. Do not
37573 mention bugs in GCC 2.7 and 2.8.
43be4ca2 37574 * INSTALL: Regenerated.
0e7727f7 37575
a78bc654
DM
375762012-02-27 David S. Miller <davem@davemloft.net>
37577
428d5830
DM
37578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
37579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
37580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
37581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
37582 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
37583 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
37584 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
37585 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
37586
a78bc654
DM
37587 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
37588 manipulate bits before adding and subtracting TWO112[sx].
37589 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37590
4579f81c
RM
375912012-02-27 Roland McGrath <roland@hack.frob.com>
37592
36c8acb4
RM
37593 [BZ #13775]
37594 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
37595 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
37596 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
37597 being in POSIX, because they are in 1003.1-2008.
37598
84ad622b
RM
37599 * rt/tst-aio.c: Include <fcntl.h>.
37600 * rt/tst-aio7.c: Likewise.
37601 * rt/tst-aio64.c: Likewise.
37602
4579f81c
RM
37603 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
37604
abd923db
JM
376052012-02-27 Joseph Myers <joseph@codesourcery.com>
37606
37607 * manual/install.texi (--with-headers): Describe headers as
37608 interface headers, not private headers.
37609 (Specific advice for GNU/Linux systems): Describe use of headers
37610 from "make headers_install", not private headers from older
37611 kernels.
43be4ca2 37612 * INSTALL: Regenerated.
abd923db
JM
37613 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
37614 Change to 2.6.19.
37615 * sysdeps/unix/sysv/linux/configure: Regenerated.
37616
6664049b
JM
37617 * manual/llio.texi (fclean): Remove documentation.
37618
bb8b6697
JM
37619 * manual/Makefile (libc-texi-generated): New variable. Include
37620 version.texi.
37621 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
37622 $(libc-texi-generated), not duplicated list of files.
37623 (version.texi, stamp-version): New rules.
37624 (realclean): Remove $(libc-texi-generated), not individual files
37625 from that list. Do not remove dir-add.texinfo.
37626 * manual/libc.texinfo: Comment out uses of edition numbers and
37627 references to printed manual. Remove last-updated dates.
37628 (EDITION): Comment out.
37629 (ISBN): Likewise.
37630 (VERSION, UPDATED): Remove.
37631 (version.texi): Include.
37632
12e5c3b9
AS
376332012-02-27 Andreas Schwab <schwab@linux-m68k.org>
37634
37635 * sysdeps/posix/spawni.c: Include <signal.h>.
37636 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
37637 * sysdeps/pthread/aio_fsync.c: Likewise.
37638
4efeffc1 376392012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 37640
ba63ba08
UD
37641 * conform/Makefile (tests): Run only when not cross-compiling and
37642 when fast-check is not defined.
37643
d94a4670
UD
37644 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
37645 * conform/data/limits.h-data: Fixes for POSIX2008.
37646 * conform/run-conformtest.sh: Run all tests.
37647 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
37648 headers.
37649 * include/bits/dlfcn.h: Likewise.
37650 * include/langinfo.h: Likewise.
37651 * include/monetary.h: Likewise.
37652 * include/sys/poll.h: Likewise.
37653
37654 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
37655 for __USE_GNU.
37656 * posix/spawn.h: Define __need_sigset_t.
37657 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
37658 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
37659 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
37660 to get sigevent_t only.
37661 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
37662 only for __USE_GNU.
37663 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37664 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37665 process_vm_writev only for __USE_GNU.
37666 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
37667
37668 * conform/Makefile: For now ignore errors from run-conformtest.
37669 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
37670 POSIX to avoid namespace pollution. Don't prepend headers.
37671 * conform/data/aio.h-data: Fixes for POSIX testing.
37672 * conform/data/fcntl.h-data: Likewise.
37673 * conform/data/glob.h-data: Likewise.
37674 * conform/data/grp.h-data: Likewise.
37675 * conform/data/pthread.h-data: Likewise.
37676 * conform/data/pwd.h-data: Likewise.
37677 * conform/data/signal.h-data: Likewise.
37678 * conform/data/spawn.h-data: Likewise.
37679 * conform/data/stdio.h-data: Likewise.
37680 * conform/data/stdlib.h-data: Likewise.
37681 * conform/data/stropts.h-data: Likewise.
37682 * conform/data/sys/mman.h-data: Likewise.
37683 * conform/data/sys/stat.h-data: Likewise.
37684 * conform/data/sys/types.h-data: Likewise.
37685 * conform/data/sys/wait.h-data: Likewise.
37686 * conform/data/time.h-data: Likewise.
37687 * conform/data/unistd.h-data: Likewise.
37688 * conform/data/utime.h-data: Likewise.
37689
37690 * io/sys/stat.h: fchmod was always in POSIX.
37691 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
37692 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
37693 * rt/aio.h: Define __need_timespec before including <time.h>.
37694 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
37695 struct. Add forward declaration of pthread_attr_t and use it in
37696 sigevent.
37697 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37698 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37699 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
37700 always remove CLK_TCK definition.
37701
c20105c3
AS
377022012-02-26 Andreas Schwab <schwab@linux-m68k.org>
37703
37704 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
37705
7a270350
UD
377062012-02-25 Ulrich Drepper <drepper@gmail.com>
37707
31341567
UD
37708 * conform/run-conformtest.sh: New file.
37709 * conform/Makefile: Run run-conformtest for tests.
37710 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
37711 support.
37712
37713 * conform/data/uchar.h-data: New file.
37714 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
37715 * conform/data/arpa/inet.h-data: Likewise.
37716 * conform/data/assert.h-data: Likewise.
37717 * conform/data/complex.h-data: Likewise.
37718 * conform/data/cpio.h-data: Likewise.
37719 * conform/data/ctype.h-data: Likewise.
37720 * conform/data/dirent.h-data: Likewise.
37721 * conform/data/dlfcn.h-data: Likewise.
37722 * conform/data/errno.h-data: Likewise.
37723 * conform/data/fcntl.h-data: Likewise.
37724 * conform/data/float.h-data: Likewise.
37725 * conform/data/fmtmsg.h-data: Likewise.
37726 * conform/data/fnmatch.h-data: Likewise.
37727 * conform/data/ftw.h-data: Likewise.
37728 * conform/data/glob.h-data: Likewise.
37729 * conform/data/grp.h-data: Likewise.
37730 * conform/data/iconv.h-data: Likewise.
37731 * conform/data/inttypes.h-data: Likewise.
37732 * conform/data/langinfo.h-data: Likewise.
37733 * conform/data/libgen.h-data: Likewise.
37734 * conform/data/limits.h-data: Likewise.
37735 * conform/data/locale.h-data: Likewise.
37736 * conform/data/math.h-data: Likewise.
37737 * conform/data/monetary.h-data: Likewise.
37738 * conform/data/mqueue.h-data: Likewise.
37739 * conform/data/ndbm.h-data: Likewise.
37740 * conform/data/net/if.h-data: Likewise.
37741 * conform/data/netdb.h-data: Likewise.
37742 * conform/data/netinet/in.h-data: Likewise.
37743 * conform/data/nl_types.h-data: Likewise.
37744 * conform/data/poll.h-data: Likewise.
37745 * conform/data/pthread.h-data: Likewise.
37746 * conform/data/pwd.h-data: Likewise.
37747 * conform/data/regex.h-data: Likewise.
37748 * conform/data/sched.h-data: Likewise.
37749 * conform/data/search.h-data: Likewise.
37750 * conform/data/semaphore.h-data: Likewise.
37751 * conform/data/setjmp.h-data: Likewise.
37752 * conform/data/signal.h-data: Likewise.
37753 * conform/data/spawn.h-data: Likewise.
37754 * conform/data/stdarg.h-data: Likewise.
37755 * conform/data/stdio.h-data: Likewise.
37756 * conform/data/stdlib.h-data: Likewise.
37757 * conform/data/string.h-data: Likewise.
37758 * conform/data/strings.h-data: Likewise.
37759 * conform/data/stropts.h-data: Likewise.
37760 * conform/data/sys/ipc.h-data: Likewise.
37761 * conform/data/sys/mman.h-data: Likewise.
37762 * conform/data/sys/msg.h-data: Likewise.
37763 * conform/data/sys/resource.h-data: Likewise.
37764 * conform/data/sys/select.h-data: Likewise.
37765 * conform/data/sys/sem.h-data: Likewise.
37766 * conform/data/sys/shm.h-data: Likewise.
37767 * conform/data/sys/socket.h-data: Likewise.
37768 * conform/data/sys/stat.h-data: Likewise.
37769 * conform/data/sys/statvfs.h-data: Likewise.
37770 * conform/data/sys/time.h-data: Likewise.
37771 * conform/data/sys/timeb.h-data: Likewise.
37772 * conform/data/sys/times.h-data: Likewise.
37773 * conform/data/sys/types.h-data: Likewise.
37774 * conform/data/sys/uio.h-data: Likewise.
37775 * conform/data/sys/un.h-data: Likewise.
37776 * conform/data/sys/utsname.h-data: Likewise.
37777 * conform/data/sys/wait.h-data: Likewise.
37778 * conform/data/syslog.h-data: Likewise.
37779 * conform/data/tar.h-data: Likewise.
37780 * conform/data/termios.h-data: Likewise.
37781 * conform/data/utime.h-data: Likewise.
37782 * conform/data/utmpx.h-data: Likewise.
37783 * conform/data/varargs.h-data: Likewise.
37784 * conform/data/wchar.h-data: Likewise.
37785 * conform/data/wctype.h-data: Likewise.
37786 * conform/data/wordexp.h-data: Likewise.
37787
37788 * include/stropts.h: New file.
37789 * include/uchar.h: New file.
37790 * include/aio.h: Changes to allow conformtest.pl to use the headers.
37791 * include/assert.h: Likewise.
37792 * include/ctype.h: Likewise.
37793 * include/dirent.h: Likewise.
37794 * include/dlfcn.h: Likewise.
37795 * include/fcntl.h: Likewise.
37796 * include/fnmatch.h: Likewise.
37797 * include/glob.h: Likewise.
37798 * include/grp.h: Likewise.
37799 * include/libio.h: Likewise.
37800 * include/locale.h: Likewise.
37801 * include/math.h: Likewise.
37802 * include/net/if.h: Likewise.
37803 * include/netdb.h: Likewise.
37804 * include/netinet/in.h: Likewise.
37805 * include/pthread.h: Likewise.
37806 * include/pwd.h: Likewise.
37807 * include/regex.h: Likewise.
37808 * include/sched.h: Likewise.
37809 * include/search.h: Likewise.
37810 * include/setjmp.h: Likewise.
37811 * include/signal.h: Likewise.
37812 * include/stdio.h: Likewise.
37813 * include/stdlib.h: Likewise.
37814 * include/string.h: Likewise.
37815 * include/sys/cdefs.h: Likewise.
37816 * include/sys/mman.h: Likewise.
37817 * include/sys/msg.h: Likewise.
37818 * include/sys/resource.h: Likewise.
37819 * include/sys/select.h: Likewise.
37820 * include/sys/socket.h: Likewise.
37821 * include/sys/stat.h: Likewise.
37822 * include/sys/statvfs.h: Likewise.
37823 * include/sys/time.h: Likewise.
37824 * include/sys/times.h: Likewise.
37825 * include/sys/uio.h: Likewise.
37826 * include/sys/utsname.h: Likewise.
37827 * include/sys/wait.h: Likewise.
37828 * include/termios.h: Likewise.
37829 * include/time.h: Likewise.
37830 * include/ulimit.h: Likewise.
37831 * include/unistd.h: Likewise.
37832 * include/utime.h: Likewise.
37833 * include/wchar.h: Likewise.
37834 * include/wctype.h: Likewise.
37835 * include/wordexp.h: Likewise.
37836
37837 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
37838
7a270350
UD
37839 * time/time.h: TIME_UTC must be a macro.
37840 Make timespec_get available for ISO C11 only as well.
37841
7724defc
UD
378422012-02-24 Ulrich Drepper <drepper@gmail.com>
37843
37844 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
37845 Reported by Peng Haitao <penght@cn.fujitsu.com>.
37846
6b1d1d46
JM
378472012-02-24 Joseph Myers <joseph@codesourcery.com>
37848
37849 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 37850
0f8bbd69
JM
378512012-02-24 Joseph Myers <joseph@codesourcery.com>
37852
37853 * manual/texinfo.tex: Update to version 2012-01-19.16.
37854
66ab80bc
JM
378552012-02-24 Joseph Myers <joseph@codesourcery.com>
37856
37857 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
37858
74981cc5
RM
378592012-02-24 Roland McGrath <roland@hack.frob.com>
37860
ee968201
RM
37861 [BZ #13738]
37862 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
37863 * manual/fdl-1.3.texi: New file.
37864 * manual/fdl-1.1.texi: File removed.
37865
74981cc5
RM
37866 [BZ #13738]
37867 * manual/libc.texinfo (FDL_VERSION): New @set.
37868 Use it for mention of FDL in cover text.
37869 (Documentation License): Use it in @include file name.
37870
7bb764bc
JM
378712012-02-22 Joseph Myers <joseph@codesourcery.com>
37872 Roland McGrath <roland@hack.frob.com>
37873
37874 [BZ #5461]
57f41c40
AS
37875 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
37876 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
37877 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
37878 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
37879 name.
37880 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
37881
6cbeae47
JM
378822012-02-22 Joseph Myers <joseph@codesourcery.com>
37883
37884 [BZ #2547]
37885 [BZ #11365]
37886 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
37887 manipulate bits before adding and subtracting TWO23[sx].
37888 * math/libm-test.inc (nearbyint_test): Add more tests.
37889
fe45ce09
JM
378902012-02-22 Joseph Myers <joseph@codesourcery.com>
37891
37892 [BZ #2548]
37893 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
37894 bits before adding and subtracting TWO23[sx].
37895 * math/libm-test.inc (rint_test): Add more tests.
37896 (rint_test_tonearest): Likewise.
37897 (rint_test_towardzero): Likewise.
37898 (rint_test_downward): Likewise.
37899 (rint_test_upward: Likewise.
37900
ff3b3d82
JM
379012012-02-22 Joseph Myers <joseph@codesourcery.com>
37902
37903 [BZ #10110]
37904 * include/stdc-predef.h: New file. Extracted from features.h.
37905 * include/features.h: Include stdc-predef.h.
37906 * Makefile (headers): Add stdc-predef.h.
37907 * CONFORMANCE (Compiler limitations): Update.
37908
ef0aab35
JM
379092012-02-22 Joseph Myers <joseph@codesourcery.com>
37910
37911 * manual/libc.texinfo (VERSION, UPDATED): Revert.
37912
58639409
DM
379132012-02-21 David S. Miller <davem@davemloft.net>
37914
37915 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
37916 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37917
c0e70b25
DM
379182012-02-20 David S. Miller <davem@davemloft.net>
37919
37920 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
37921 using a normal save/restore sequence, rather than allocating a
37922 dummy stack frame just to store a frame pointer and restore.
37923 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37924
fb06851d
JM
379252012-02-21 Joseph Myers <joseph@codesourcery.com>
37926
37927 * manual/install.texi: Fix stray word in line-wrapped comment.
37928
7a8b71c3
DM
379292012-02-20 David S. Miller <davem@davemloft.net>
37930
d510c123
DM
37931 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
37932 both binutils and gcc support GOTDATA.
37933
0722d7c2
DM
37934 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
37935 "rd %pc" in the PIC register setup sequences.
37936
3d2b3019
DM
37937 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
37938 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37939 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37940 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37941 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37942 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37943 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37944 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37945 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
37946 (SYSCALL_ERROR_HANDLER): Likewise.
37947 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37948 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37949 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
37950 (SYSCALL_ERROR_HANDLER): Likewise.
37951
c80098a9
DM
37952 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
37953 (HAVE_GCC_GOTDATA): New.
37954 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
37955 relocation support in both binutils and gcc.
37956 * sysdeps/sparc/elf/configure: Regenerate.
37957
3a2545a0
DM
37958 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
37959 * sysdeps/sparc/sparc32/elf/configure: Delete.
37960 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
37961 * sysdeps/sparc/sparc64/elf/configure: Delete.
37962 * sysdeps/sparc/elf/configure.in: New file.
37963 * sysdeps/sparc/elf/configure: Generate.
37964
7a8b71c3
DM
37965 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
37966 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
37967 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37968 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
37969 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
37970
f1e86fca
JM
379712012-02-21 Joseph Myers <joseph@codesourcery.com>
37972
37973 * manual/install.texi: Do not mention specific glibc version
37974 numbers.
37975 * manual/libc.texinfo (VERSION, UPDATED): Update.
37976 (@copying): Use @copyright{} and range of years.
37977
0e7dfaef
JM
379782012-02-21 Joseph Myers <joseph@codesourcery.com>
37979
37980 [BZ #13695]
37981 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
37982 [crti.S not in sysdirs] (generated): Do not append.
37983 [crti.S not in sysdirs] (omit-deps): Likewise.
37984 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
37985 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
37986 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
37987 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
37988 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
37989 Likewise.
37990 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
37991 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
37992 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
37993 * csu/defs.awk: Remove file.
37994 * sysdeps/generic/initfini.c: Likewise.
37995 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
37996 variable.
37997 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
37998 Likewise.
37999
599af3ca
JM
380002012-02-20 Joseph Myers <joseph@codesourcery.com>
38001
38002 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38003 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38004 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38005 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38006 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38007 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38008 <bits/epoll.h>.
38009 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38010 (__EPOLL_PACKED): Define to empty if not defined by
38011 <bits/epoll.h>.
38012 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38013 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38014 bits/epoll.h.
38015
0e499750
JM
380162012-02-20 Joseph Myers <joseph@codesourcery.com>
38017
38018 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38019 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38020 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38021 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38022 <bits/timerfd.h>.
38023 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38024 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38025 bits/timerfd.h.
38026
5ad91f6e
JM
380272012-02-20 Joseph Myers <joseph@codesourcery.com>
38028
38029 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38030 in C locale.
38031 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38032 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38033 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38035
06b99b02
AJ
380362012-02-20 Aurelien Jarno <aurelien@aurel32.net>
38037
38038 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38039 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38040
7638c0fd
AS
380412012-02-19 Andreas Schwab <schwab@linux-m68k.org>
38042
38043 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38044 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38045 defined.
38046 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38047 Likewise.
38048 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38049 entry for 2.16.
38050
92221550
AJ
380512012-02-19 Aurelien Jarno <aurelien@aurel32.net>
38052
38053 * math/w_acos.c: Use non-signaling floating-point comparisons.
38054 * math/w_acosf.c: Likewise.
38055 * math/w_acosh.c: Likewise.
38056 * math/w_acoshf.c: Likewise.
38057 * math/w_acoshl.c: Likewise.
38058 * math/w_acosl.c: Likewise.
38059 * math/w_asin.c: Likewise.
38060 * math/w_asinf.c: Likewise.
38061 * math/w_asinl.c: Likewise.
38062 * math/w_atanh.c: Likewise.
38063 * math/w_atanhf.c: Likewise.
38064 * math/w_atanhl.c: Likewise.
38065 * math/w_exp2.c: Likewise.
38066 * math/w_exp2f.c: Likewise.
38067 * math/w_exp2l.c: Likewise.
38068 * math/w_j0.c: Likewise.
38069 * math/w_j0f.c: Likewise.
38070 * math/w_j0l.c: Likewise.
38071 * math/w_j1.c: Likewise.
38072 * math/w_j1f.c: Likewise.
38073 * math/w_j1l.c: Likewise.
38074 * math/w_jn.c: Likewise.
38075 * math/w_jnf.c: Likewise.
38076 * math/w_log.c: Likewise.
38077 * math/w_log10.c: Likewise.
38078 * math/w_log10f.c: Likewise.
38079 * math/w_log10l.c: Likewise.
38080 * math/w_log2.c: Likewise.
38081 * math/w_log2f.c: Likewise.
38082 * math/w_log2l.c: Likewise.
38083 * math/w_logf.c: Likewise.
38084 * math/w_logl.c: Likewise.
38085 * math/w_sqrt.c: Likewise.
38086 * math/w_sqrtf.c: Likewise.
38087 * math/w_sqrtl.c: Likewise.
38088 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38089 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38090 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38091 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38092 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38093
ebaf36eb
JM
380942012-02-19 Joseph Myers <joseph@codesourcery.com>
38095
38096 [BZ #9739]
38097 * manual/string.texi (strnlen): Use correct parameter name in
38098 equivalent expression.
38099
71c254a6
JM
381002012-02-19 Joseph Myers <joseph@codesourcery.com>
38101
38102 [BZ #11174]
38103 * manual/users.texi (seteuid): Consistently use neweuid for
38104 argument name.
38105
16d2c631
JM
381062012-02-19 Joseph Myers <joseph@codesourcery.com>
38107
38108 [BZ #13704]
38109 * manual/nss.texi (Services in the NSS configuration): Correct
38110 list of services in example configuration file.
38111
cd837b09
NB
381122012-02-19 Nick Bowler <nbowler@draconx.ca>
38113
38114 [BZ #11322]
38115 * manual/arith.texi: Remove statements about negative zero
38116 behaving identically to zero.
38117
02c4bbad
JM
381182012-02-18 Joseph Myers <joseph@codesourcery.com>
38119
38120 [BZ #5993]
38121 * manual/install.texi: Do not document upgrading from libc5.
38122
366842e7
JM
381232012-02-18 Joseph Myers <joseph@codesourcery.com>
38124
38125 [BZ #4596]
38126 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38127
dd54084d
DM
381282012-02-18 David S. Miller <davem@davemloft.net>
38129
38130 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38131 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38132 %o7 across the call.
38133 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38134 instead.
38135 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38136 SETUP_PIC_REG_LEAF.
38137 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38138 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38139 * sysdeps/sparc/crtn.S: Likewise.
38140
2bcc53a3
UD
381412012-02-17 Ulrich Drepper <drepper@gmail.com>
38142
38143 * aout/Makefile: Remove.
38144
09c093b5
RK
381452012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
38146
38147 [BZ #13058]
38148 * manual/examples/argp-ex1.c (main): Format definition in GNU
38149 style.
38150 * manual/examples/argp-ex2.c (main): Likewise.
38151 * manual/examples/argp-ex3.c (main): Likewise.
38152 * manual/examples/argp-ex4.c (main): Likewise.
38153 * manual/examples/longopt.c (main): Use new-style prototype
38154 definition.
38155 * manual/examples/strncat.c (main): Specify return type and use
38156 (void) for arguments.
38157 * manual/examples/subopt.c (main): Use char **argv argument.
38158
2ee633a2
JM
381592012-02-17 Joseph Myers <joseph@codesourcery.com>
38160
38161 [BZ #5077]
38162 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38163 rounding modes.
38164
0520adde
FB
381652012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
38166
38167 [BZ #6907]
38168 * manual/string.texi (strchr): Change when strchrnul is
38169 recommended.
38170
3f4081cd
DGM
381712012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
38172
38173 [BZ #174]
38174 * manual/locale.texi (setlocale): Document LOCPATH.
38175
d1b10e78
JM
381762012-02-17 Joseph Myers <joseph@codesourcery.com>
38177
38178 [BZ #10210]
38179 * manual/process.texi (execle): Move @dots{} before last argument.
38180
79c6869c
PB
381812012-02-17 Paul Bolle <pebolle@tiscali.nl>
38182
38183 [BZ #12047]
38184 * manual/charset.texi (Generic Charset Conversion): Fix typo
38185 (LC_TYPE -> LC_CTYPE).
38186
cc6e48bc
NB
381872012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
38188
38189 [BZ #5805]
38190 * manual/arith.texi (scalbn): Use @var{} on parameter names.
38191 (scalbnf): Likewise.
38192 (scalbnl): Likewise.
38193 (scalbln): Likewise.
38194 (scalblnf): Likewise.
38195 (scalblnl): Likewise.
38196 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38197 (vwarnx): Likewise.
38198 (verr): Likewise.
38199 (verrx): Likewise.
38200 * manual/filesys.texi (telldir): Use braces around return type.
38201 * manual/llio.texi (mmap): Add space after comma.
38202 (mmap64): Likewise.
38203 * manual/math.texi (jn): Use @var{} on parameter names.
38204 (jnf): Likewise.
38205 (jnl): Likewise.
38206 (yn): Likewise.
38207 (ynf): Likewise.
38208 (ynl): Likewise.
38209 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38210 line.
38211 * manual/resource.texi (ulimit): Use @dots{} instead of literal
38212 "...".
38213 (sched_get_priority_min): Remove semicolon on @deftypefun line.
38214 (sched_get_priority_max): Likewise.
38215 * manual/signal.texi (sigvec): Add space after comma.
38216 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38217 names.
38218 (if_indextoname): Likewise.
38219 (if_freenameindex): Likewise.
38220 (sendto): Use ',' instead of '.' in prototype.
38221 * manual/startup.texi (syscall): Use @dots{} instead of literal
38222 "...".
38223 * manual/stdio.texi (__fpending): Separate initial words of
38224 paragraph from @deftypefun line.
38225 * manual/syslog.texi (syslog): Use @dots{} instead of literal
38226 "...".
38227 (vsyslog): Use @var{} on parameter names.
38228 * manual/terminal.texi (stty): Use @var{} on parameter names.
38229 * manual/users.texi (getutmp): Use @var{} on parameter names.
38230 (getutmpx): Likewise.
38231
5b23062f
JM
382322012-02-17 Joseph Myers <joseph@codesourcery.com>
38233
38234 [BZ #6884]
38235 * manual/stdio.texi (fopen): Fix typos in description of
38236 ",ccs=STRING".
38237
8dee4833
AJ
382382012-02-17 Aurelien Jarno <aurelien@aurel32.net>
38239
38240 [BZ #4026]
38241 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38242 get clock_id definition.
38243
9078ce93
TS
382442012-02-17 Thomas Schwinge <thomas@schwinge.name>
38245
38246 [BZ #4822]
38247 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38248 (madvise): Cast every argument to void on its own.
38249
3835c55f
JM
382502012-02-17 Joseph Myers <joseph@codesourcery.com>
38251
38252 [BZ #9902]
38253 * manual/startup.texi (Exit Status): Fix typo.
38254
35c47e37
JM
382552012-02-17 Joseph Myers <joseph@codesourcery.com>
38256
38257 [BZ #10140]
38258 * manual/examples/argp-ex1.c: Include <stdlib.h>.
38259 * manual/examples/argp-ex2.c: Likewise.
38260 * manual/examples/argp-ex3.c: Likewise.
38261
e3b69ca7
RH
382622012-02-16 Richard Henderson <rth@redhat.com>
38263
38264 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38265 * sysdeps/s390/s390-32/initfini.c: Remove.
38266 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38267 * sysdeps/s390/s390-64/initfini.c: Remove.
38268
df83af67
KK
382692012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38270
38271 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38272 compiler output for sysdeps/generic/initfini.c.
38273 * sysdeps/sh/elf/initfini.c: Remove file.
38274
f63f3380
DM
382752012-02-16 David S. Miller <davem@davemloft.net>
38276
fb59b3a4
DM
38277 [BZ #11494]
38278 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38279
f63f3380
DM
38280 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38281 * sysdeps/sparc/crti.S: New file.
38282 * sysdeps/sparc/crtn.S: New file.
38283 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38284 * sysdeps/sparc/sparc64/Makefile: Likewise.
38285
df6a4a4a
MF
382862012-02-15 Mike Frysinger <vapier@gentoo.org>
38287
6dd8f3dc 38288 [BZ #3335]
df6a4a4a
MF
38289 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38290
1cac7236
RM
382912012-02-15 Roland McGrath <roland@hack.frob.com>
38292
d2c736f8
RM
38293 [BZ #4822]
38294 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38295
1cac7236
RM
38296 * mach/devstream.c (cookie_io_functions_t): Macro removed.
38297 (write, read, close): Likewise.
38298 Patch by Aurelien Jarno <aurelien@aurel32.net>.
38299
8e475601
JM
383002012-02-15 Joseph Myers <joseph@codesourcery.com>
38301
38302 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38303 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38304 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38305 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38306 <bits/signalfd.h>.
38307 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38308 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38309 bits/signalfd.h.
38310
ed656b40
MP
383112012-02-14 Marek Polacek <polacek@redhat.com>
38312
38313 * sysdeps/x86_64/crti.S: New file.
38314 * sysdeps/x86_64/crtn.S: New file.
38315 * sysdeps/x86_64/elf/initfini.c: Remove file.
38316
2a979d3a
JM
383172012-02-13 Joseph Myers <joseph@codesourcery.com>
38318
38319 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38320 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38321 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38322 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38323 <bits/inotify.h>.
38324 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38325 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38326 bits/inotify.h.
38327
2a418ac3
JM
383282012-02-13 Joseph Myers <joseph@codesourcery.com>
38329
38330 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38331 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38332 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38333 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38334 <bits/eventfd.h>.
38335 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38336 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38337 bits/eventfd.h.
38338
fb779be7
TS
383392012-02-10 Thomas Schwinge <thomas@codesourcery.com>
38340
e19e83c5
RM
38341 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38342 __feraiseexcept instead of feraiseexcept.
7c35ffed 38343
fb779be7
TS
38344 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38345 nanosleep invocations.
38346 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38347 strings, and add error checking for a nanosleep invocations.
38348
59ba27a6
PE
383492012-02-09 Paul Eggert <eggert@cs.ucla.edu>
38350
38351 Replace FSF snail mail address with URLs, as per GNU coding standards.
38352 Most of the snail mail addresses were wrong anyway, and omitting
38353 them makes the source code easier to maintain. Almost all of the
38354 changes are to license notices and to locale LC_IDENTIFICATION
38355 addresses, except for this one:
38356 * manual/libc.texinfo: In "Published by", give the FSF's URL,
38357 not its snail mail address.
38358
57b957eb
RH
383592012-02-09 Richard Henderson <rth@twiddle.net>
38360
af850b1c
RH
38361 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38362 of kernel-features.h.
38363
57b957eb
RH
38364 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38365
6b73181a
MP
383662012-02-08 Marek Polacek <polacek@redhat.com>
38367
38368 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38369 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38370 * sysdeps/gnu/_G_config.h: Likewise.
38371 * sysdeps/generic/_G_config.h: Likewise.
38372
26ecc33a
AS
383732012-02-08 Andreas Schwab <schwab@linux-m68k.org>
38374
6c6dbc63
AS
38375 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38376 tests.
38377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38378
e216c012
AS
38379 * sysdeps/powerpc/powerpc32/crti.S: New file.
38380 * sysdeps/powerpc/powerpc32/crtn.S: New file.
38381 * sysdeps/powerpc/powerpc64/crti.S: New file.
38382 * sysdeps/powerpc/powerpc64/crtn.S: New file.
38383
26ecc33a
AS
38384 * Makeconfig (have-initfini): Don't set.
38385 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38386 * configure.in (nopic_initfini): Don't substitute.
38387 * config.h.in (HAVE_INITFINI): Don't #undef.
38388 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38389 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38390
3add8e13
JM
383912012-02-08 Joseph Myers <joseph@codesourcery.com>
38392
38393 Support crti.S and crtn.S provided directly by architectures.
38394 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38395 [crti.S in sysdirs] (omit-deps): Likewise.
38396 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38397 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38398 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38399 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38400 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38401 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38402 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38403 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38404 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38405 compiler output for sysdeps/generic/initfini.c.
38406 * sysdeps/i386/elf/Makefile: Remove file.
38407 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38408
a22f12b4
MP
384092012-02-07 Marek Polacek <polacek@redhat.com>
38410
38411 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38412 * sysdeps/gnu/_G_config.h: Likewise.
38413 * sysdeps/mach/hurd/_G_config.h: Likewise.
38414
148cf100
MP
384152012-02-07 Marek Polacek <polacek@redhat.com>
38416
38417 * math/Makefile (tests): Add tst-CMPLX2.
38418 * math/tst-CMPLX2.c: New file.
38419
cfdc0dd7
AS
384202012-02-07 Andreas Schwab <schwab@linux-m68k.org>
38421
84ba42c4
AS
38422 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38423
cfdc0dd7
AS
38424 * math/libm-test.inc (jn_test): Add missing L suffix.
38425
622c86f4
MP
384262012-02-06 Marek Polacek <polacek@redhat.com>
38427
38428 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38429 * sysdeps/i386/fpu/e_powf.S: Likewise.
38430 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38431 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38432 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38433 * sysdeps/i386/fpu/e_pow.S: Likewise.
38434 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38435 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38436 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38437 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38438 * sysdeps/i386/fpu/e_log2.S: Likewise.
38439 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38440 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38441 * sysdeps/i386/fpu/e_powl.S: Likewise.
38442 * sysdeps/i386/fpu/s_log1p.S: Likewise.
38443 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38444 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38445 * sysdeps/i386/fpu/e_logl.S: Likewise.
38446 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38447 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38448 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38449 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38450 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38451 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38452 * sysdeps/i386/fpu/e_log.S: Likewise.
38453 * sysdeps/i386/fpu/s_cexp.S: Likewise.
38454 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38455 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38456 * sysdeps/i386/fpu/e_logf.S: Likewise.
38457 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38458 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38459 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38460 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38461 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38462 * sysdeps/i386/fpu/e_log10.S: Likewise.
38463 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38464 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38465 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38466 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38467 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38468 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38469 * sysdeps/i386/asm-syntax.h: Likewise.
38470 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38471 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38472 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38473 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38474 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38475 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38476 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38477 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38478 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38479 * sysdeps/powerpc/sysdep.h: Likewise.
38480 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38481 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38482
d4a54ac6
JM
384832012-02-06 Joseph Myers <joseph@codesourcery.com>
38484
38485 [BZ #411]
38486 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38487
314054ea
JM
384882012-02-06 Joseph Myers <joseph@codesourcery.com>
38489
38490 * sysdeps/i386/sysdep.h: Include <features.h>.
38491 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38492 version.
38493
d8e0ca50
JM
384942012-02-05 Joseph Myers <joseph@codesourcery.com>
38495
38496 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38497 Define.
38498 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
38499 LOAD_PIC_REG_STR.
38500
b1da7dd9
JM
385012012-02-03 Joseph Myers <joseph@codesourcery.com>
38502
38503 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
38504 (SETUP_PIC_REG): Use GET_PC_THUNK.
38505 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
38506 macro.
38507
9a1d9254
JM
385082012-02-03 Joseph Myers <joseph@codesourcery.com>
38509
38510 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
38511 for non-PIC compilation.
38512 (SETUP_PIC_REG): Add .p2align directive.
38513 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
38514 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38515 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38516 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38517 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38518 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38519 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38520 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38521 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38522 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38523 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38524 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38525 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38526 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38527 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38528 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38529 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38530 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38531 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38532 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38533 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38534 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38535 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38536 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38537 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38538 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38539 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38540 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38541 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38542 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38543 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38544 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38545 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38546 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38547 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38548 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38549 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38550 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38551 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38552 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38553 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38554
65dc3b75
JM
385552012-02-03 Joseph Myers <joseph@codesourcery.com>
38556
38557 * math/tst-CMPLX.c: Include <stdio.h>.
38558
d55bf177
JM
385592012-01-31 Joseph Myers <joseph@codesourcery.com>
38560
38561 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
38562 float.
38563 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38564 * sysdeps/sparc/bits/mathdef.h: Likewise.
38565
69db4f8f
MP
385662012-01-31 Marek Polacek <polacek@redhat.com>
38567
38568 * libio/libio.h: Don't define _PARAMS.
38569 * locale/programs/config.h: Don't define PARAMS.
38570 * stdlib/strtol_l.c: Likewise.
38571 (__strtol_l): Remove PARAMS from the prototype.
38572
41b81892
UD
385732012-01-31 Ulrich Drepper <drepper@gmail.com>
38574
3b49edc0
UD
38575 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
38576 names. Just use the correct names. Remove unnecessary wrapper
38577 functions.
38578 * malloc/arena.c: Likewise.
38579 * malloc/hooks.c: Likewise.
38580
41b81892
UD
38581 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
38582 ARENA_TEST says not to. Simplify test for creation of a new arena.
38583 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
38584
27a25b6e
UD
385852012-01-30 Ulrich Drepper <drepper@gmail.com>
38586
38587 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
38588 into tail calls.
38589 (update_get_addr): New function.
38590 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
38591 GET_ADDR_MODULE parameter.
38592
c8a89e7d
JM
385932012-01-30 Joseph Myers <joseph@codesourcery.com>
38594
38595 * crypt/cert.c: Remove __STDC__ conditionals.
38596 * crypt/crypt-entry.c: Likewise.
38597 * crypt/crypt_util.c: Likewise.
38598 * libio/filedoalloc.c: Likewise.
38599 * libio/fileops.c: Likewise.
38600 * libio/genops.c: Likewise.
38601 * libio/iofclose.c: Likewise.
38602 * libio/iofdopen.c: Likewise.
38603 * libio/iofopen.c: Likewise.
38604 * libio/iofopen64.c: Likewise.
38605 * libio/iogetdelim.c: Likewise.
38606 * libio/iopopen.c: Likewise.
38607 * libio/obprintf.c: Likewise.
38608 * libio/oldfileops.c: Likewise.
38609 * libio/oldiofclose.c: Likewise.
38610 * libio/oldiofdopen.c: Likewise.
38611 * libio/oldiofopen.c: Likewise.
38612 * libio/oldiopopen.c: Likewise.
38613 * libio/wfiledoalloc.c: Likewise.
38614 * libio/wgenops.c: Likewise.
38615 * locale/programs/xmalloc.c: Likewise.
38616 * misc/syslog.c: Likewise.
38617 * stdio-common/xbug.c: Likewise.
38618 * string/memchr.c: Likewise.
38619 * string/memcmp.c: Likewise.
38620 * string/memrchr.c: Likewise.
38621 * string/rawmemchr.c: Likewise.
38622 * sysdeps/posix/getcwd.c: Likewise.
38623 * time/strftime_l.c: Likewise.
38624
3b100462
JM
386252012-01-30 Joseph Myers <joseph@codesourcery.com>
38626
38627 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
38628 * config.make.in (config-cflags-sse2avx): Define.
38629 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
38630 Fix typo.
38631
607998af
CM
386322012-01-29 Chris Metcalf <cmetcalf@tilera.com>
38633
38634 * scripts/config.guess: Update from upstream config git repository.
38635 * scripts/config.sub: Likewise.
38636
3601428f
CM
386372012-01-28 Chris Metcalf <cmetcalf@tilera.com>
38638
3ac8b282
CM
38639 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
38640 (EM_NUM): Update.
38641 (R_TILEPRO_*, R_TILEGX_*): New macros.
38642
e034841e
CM
38643 * scripts/firstversions.awk: Fix bug in version range handling.
38644
540d7568
CM
38645 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
38646
3601428f
CM
38647 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
38648
463de862
CM
38649 * include/sys/epoll.h: New file.
38650 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
38651 libc_hidden_def.
38652
73139a76
UD
386532012-01-28 Ulrich Drepper <drepper@gmail.com>
38654
96bc5b45
UD
38655 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
38656 Avoid unnecessary __WORDSIZE == 64 test.
38657 (fmaxf): Use VEX format if possible.
38658 (fmax): Likewise.
38659 (fminf): Likewise.
38660 (fmin): Likewise.
38661
56f6f6a2
UD
38662 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
38663 * math/math_private.h: Remove libc_fegetround* and
38664 libc_fesetround*.
38665 * sysdeps/i386/configure.in: Check for -msse2avx.
38666 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
38667 also if SSE2AVX is defined.
38668 Remove libc_fegetround* and libc_fesetround*.
38669 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
38670 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
38671 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
38672 of HAS_YMM_USABLE.
38673 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38674 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38675 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38676 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38677 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38678
73139a76
UD
38679 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
38680
d73f93a4
AZ
386812012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38682
38683 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
38684 size is not set.
38685 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38686
6ee65ed6
UD
386872012-01-27 Ulrich Drepper <drepper@gmail.com>
38688
38689 [BZ #13618]
38690 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
38691 relocation.
38692 * Makeconfig (libm): Define.
38693 * elf/Makefile: Add rules to build and run tst-relsort1.
38694 * elf/tst-relsort1.c: New file.
38695 * elf/tst-relsort1mod1.c: New file.
38696 * elf/tst-relsort1mod2.c: New file.
38697
8db21882
JM
386982012-01-27 Joseph Myers <joseph@codesourcery.com>
38699
38700 * math/s_ldexp.c: Remove __STDC__ conditionals.
38701 * math/s_ldexpf.c: Likewise.
38702 * math/s_ldexpl.c: Likewise.
38703 * math/s_nextafter.c: Likewise.
38704 * math/s_nexttowardf.c: Likewise.
38705 * math/s_significand.c: Likewise.
38706 * math/s_significandf.c: Likewise.
38707 * math/s_significandl.c: Likewise.
38708 * math/w_jnl.c: Likewise.
38709 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38710 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38711 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38712 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38713 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38714 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38715 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
38716 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38717 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38718 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38719 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38720 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38721 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38722 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38723 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38724 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38725 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38726 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38727 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38728 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38729 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38730 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38731 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38732 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38733 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38734 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38735 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38736 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38737 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38738 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38739 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38740 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38741 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38742 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38743 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38744 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38745 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38746 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38747 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38748 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38749 * sysdeps/ieee754/k_standard.c: Likewise.
38750 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38751 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38752 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38753 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38754 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38755 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38756 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38757 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38758 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38759 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38760 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38761 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38762 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38763 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38764 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38765 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38766 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38767 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38768 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38769 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38770 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38771 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38772 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38773 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38774 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38775 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38776 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38777 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38778 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38779 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38780 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38781 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
38782 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38783 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38784 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38785 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38786 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
38787 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38788 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38789 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
38790 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
38791 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38792 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38793 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
38794 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38795 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38796 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38797 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38798 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38799 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38800 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
38801 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38802 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38803 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38804 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38805 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38806 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
38807 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38808 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38809 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38810 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38811 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38812 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38813 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38814 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38815 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38816 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38817 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38818 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38819 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38820 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38821 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38822 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38823 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38824 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38825 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38826 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38827 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38828 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38829 * sysdeps/ieee754/s_matherr.c: Likewise.
38830 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38831 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38832 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38833 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38834
965a54a4
JM
388352012-01-26 Joseph Myers <joseph@codesourcery.com>
38836
38837 * crypt/md5.h: Remove __STDC__ conditionals.
38838 * libio/libioP.h: Likewise.
38839 * locale/programs/config.h: Likewise.
38840 * sysdeps/generic/sysdep.h: Likewise.
38841 * sysdeps/i386/asm-syntax.h: Likewise.
38842 * sysdeps/s390/asm-syntax.h: Likewise.
38843 * sysdeps/unix/sysdep.h: Likewise.
38844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38846
7071ad79
JM
388472012-01-26 Joseph Myers <joseph@codesourcery.com>
38848
38849 * libio/libio.h: Remove __STDC__ conditionals.
38850 * malloc/obstack.h: Likewise.
38851 * math/complex.h: Likewise.
38852 * math/math.h: Likewise.
38853 * sysdeps/generic/_G_config.h: Likewise.
38854 * sysdeps/gnu/_G_config.h: Likewise.
38855 * sysdeps/mach/hurd/_G_config.h: Likewise.
38856 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38857 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38858 * sysdeps/sparc/bits/mathdef.h: Likewise.
38859
afc5ed09
UD
388602012-01-26 Ulrich Drepper <drepper@gmail.com>
38861
38862 [BZ #13583]
38863 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 38864 Clean up HAS_* macros.
afc5ed09 38865 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
38866 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
38867 possible.
38868 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
38869 HAS_AVX.
38870 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38871 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38872 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38873 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38874 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 38875
bdb6de1d
JM
388762012-01-25 Joseph Myers <joseph@codesourcery.com>
38877
38878 * elf/tst-unique3.cc (gets): Remove declaration.
38879 * elf/tst-unique3lib.cc (gets): Likewise.
38880 * elf/tst-unique3lib2.cc (gets): Likewise.
38881 * elf/tst-unique4.cc (gets): Likewise.
38882
b15549e6
UD
388832012-01-24 Ulrich Drepper <drepper@gmail.com>
38884
38885 * include/stdio.h: Add C++ protection. Add gets declarations and
38886 definitions.
38887 * debug/tst-chk1.c: Don't declare gets here.
38888 * stdio-common/tst-gets.c: Likewise.
38889
a037381f
JM
388902012-01-24 Joseph Myers <joseph@codesourcery.com>
38891
38892 * posix/glob: Remove directory.
38893
f1d4aa75
JM
388942012-01-24 Joseph Myers <joseph@codesourcery.com>
38895
38896 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
38897
81c0c964
PT
388982012-01-22 Pino Toscano <toscano.pino@tiscali.it>
38899
38900 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
38901 of the non-standard EPFNOSUPPORT.
38902
0ea698ae
ST
389032011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
38904
38905 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
38906 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
38907 ANYWHERE set to 1 only on KERN_NO_SPACE error.
38908
d220b117
UD
389092012-01-21 Ulrich Drepper <drepper@gmail.com>
38910
38911 * wcsmbs/uchar.h: Test __STDC_VERSION__.
38912
3e1aa84e
UD
389132012-01-20 Ulrich Drepper <drepper@gmail.com>
38914
38915 * nscd/aicache.c (addhstaiX): Do not cache negative results of
38916 transient errors.
38917 * nscd/grpcache.c (cache_addgr): Likewise.
38918 * nscd/hstcache.c (cache_addhst): Likewise.
38919 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38920 * nscd/pwdcache.c (cache_addpw): Likewise.
38921 * nscd/servicescache.c (cache_addserv): Likewise.
38922
400aa020
UD
389232012-01-16 Ulrich Drepper <drepper@gmail.com>
38924
d77e7869
UD
38925 * malloc/malloc.c: Various cleanups.
38926 * malloc/hooks.c: Likewise.
38927
400aa020
UD
38928 * stdlib/Makefile (tests): Add bug-fmtmsg1.
38929 * stdlib/bug-fmtmsg1.c: New file.
38930
38931 * stdlib/fmtmsg.c (init): Add missing unlock.
38932 Patch by Peng Haitao <penght@cn.fujitsu.com>.
38933
e0a309cf
MP
389342012-01-12 Marek Polacek <polacek@redhat.com>
38935
38936 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
38937 and _GNU_SOURCE.
38938
929d11c7
WS
389392012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38940
38941 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
38942 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
38943 macro to ensure uniqueness of label name.
38944 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38945 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38946
41d0e869
UD
389472012-01-11 Ulrich Drepper <drepper@gmail.com>
38948
0cc5ed3b
UD
38949 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
38950
41d0e869
UD
38951 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
38952 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38953 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38954 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
38955
a47a831a
UD
389562012-01-10 Ulrich Drepper <drepper@gmail.com>
38957
daa891c0
UD
38958 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
38959
38960 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
38961 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38962 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38963
e58ef0f2
UD
38964 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
38965
a47a831a 38966 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
38967 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38968 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 38969 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
38970
38971 * math/bits/math-finite.h: Add ldexp support.
38972
a0bfc9c7
MP
389732012-01-10 Marek Polacek <polacek@redhat.com>
38974
38975 * locale/programs/localedef.h (show_archive_content): Add noreturn
38976 attribute.
38977
d6e97a1d
UD
389782012-01-09 Ulrich Drepper <drepper@gmail.com>
38979
38980 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
38981
d5835c26
UD
389822012-01-08 Ulrich Drepper <drepper@gmail.com>
38983
e5f484c6
UD
38984 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
38985
d5835c26
UD
38986 * io/Makefile (headers): Add bits/poll2.h.
38987
d1f741e9
WS
389882011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
38989
38990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
38991 typo #include statement.
38992
ec09c1c4
UD
389932012-01-08 Ulrich Drepper <drepper@gmail.com>
38994
38995 * include/sys/cdefs.h: Define __attribute_alloc_size.
38996 * catgets/gencat.c: Add alloc_size attribute and apply consistently
38997 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
38998 * elf/pldd.c: Likewise.
38999 * iconv/iconv_charmap.c: Likewise.
39000 * iconv/iconvconfig.c: Likewise.
39001 * iconv/strtab.c: Likewise.
39002 * locale/programs/locale.c: Likewise.
39003 * locale/programs/localedef.h: Likewise.
39004 * locale/programs/simple-hash.c: Likewise.
39005 * nscd/nscd.h: Likewise.
39006 * nss/makedb.c: Likewise.
39007 * sysdeps/generic/ldconfig.h: Likewise.
39008 * locale/programs/localedef.c: Remove xmalloc prototype.
39009 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39010
20b38e03
PP
390112012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39012
39013 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39014 appropriate.
39015
a0da5fe1
UD
390162012-01-08 Ulrich Drepper <drepper@gmail.com>
39017
1d5a644a 39018 * math/Makefile (tests): Add tst-CMPLX.
669704fd 39019 * math/tst-CMPLX.c: New file.
1d5a644a 39020
8784a6db
UD
39021 * math/complex.h (CMPLXL): Fix typo.
39022
d9a216c0
UD
39023 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39024 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39025 GLIBC_2.16.
39026 * debug/tst-chk1.c: Add poll and ppoll tests.
39027 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39028 * include/sys/poll.h: Add hidden proto for ppoll.
39029 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39030 * sysdeps/mach/hurd/ppoll.c: Likewise.
39031 * io/ppoll.c: Likewise.
39032 * debug/poll_chk.c: New file.
39033 * debug/ppoll_chk.c: New file.
39034 * include/bits/poll2.h: New file.
39035 * io/bits/poll2.h: New file.
39036
ac097f5c
UD
39037 [BZ #1350]
39038 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39039
2119dcfa
UD
39040 * configure.in: static is always set to yes. Remove.
39041 * config.make.in: Don't set build-static.
39042 * Makeconfig: Remove use of build-static.
39043 * dlfcn/Makefile: Likewise.
39044 * elf/Makefile: Likewise.
39045 * math/Makefile: Likewise.
39046 * misc/Makefile: Likewise.
39047 * nptl/Makefile: Likewise.
39048 * sysdeps/mach/hurd/Makefile: Likewise.
39049
121766a9
UD
39050 * configure.in: PWD_P is not used anymore.
39051 * config.make.in: Remove PWD_P entry.
39052
51a1d39c 39053 * configure.in: Remove last remnants of RANLIB.
8720d066 39054 No need to check for signed size_t anymore.
215f4bdc
UD
39055 Don't set libc_commonpagesize and libc_relro_required here for Alpha
39056 and IA-64.
3857022a 39057 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
39058 * aclocal.m4: Likewise.
39059
d3ed7225
UD
39060 * wcsmbs/mbrtoc16.c: Implement using towc function.
39061 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39062 * wcsmbs/wcsmbsload.c: Likewise.
39063 * iconv/gconv_simple.c: Likewise.
39064 * iconv/gconv_int.h: Likewise.
39065 * iconv/gconv_builtin.h: Likewise.
39066 * iconv/iconv_prog.c: Remove CHAR16 handling.
39067
39068 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39069
39070 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39071
a0da5fe1
UD
39072 * configure.in: Remove --with-elf and --enable-bounded options.
39073 Dont set base_machine for ia64. More non-ELF conditions removed.
39074 Remove testing and setting of leading underscore information.
39075 * config.make.in (build-bounded): Set to no.
39076 * config.h.in: Remove NO_UNDERSCORES entry.
39077 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
39078 them.
39079 * csu/start.c: Remove !NO_UNDERSCORE code.
39080 * locale/localeinfo.h: Likewise.
39081 * sysdeps/generic/machine-gmon.h: Likewise.
39082 * sysdeps/generic/sysdep.h: Likewise.
39083 * sysdeps/i386/sysdep.h: Likewise.
39084 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39085 * sysdeps/mach/sysdep.h: Likewise.
39086 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39087 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39088 * sysdeps/sh/sysdep.h: Likewise.
39089 * sysdeps/sparc/sparc32/alloca.S: Likewise.
39090 * sysdeps/unix/i386/sysdep.S: Likewise.
39091 * sysdeps/unix/sparc/start.c: Likewise.
39092 * sysdeps/unix/sparc/sysdep.S: Likewise.
39093 * sysdeps/unix/sparc/sysdep.h: Likewise.
39094 * sysdeps/unix/start.c: Likewise.
39095 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39096 * sysdeps/x86_64/sysdep.h: Likewise.
39097
df78418a
UD
390982012-01-07 Ulrich Drepper <drepper@gmail.com>
39099
a784e502
UD
39100 [BZ #13553]
39101 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39102 for non-gcc.
39103 * argp/argp-fmtstream.h: Use const instead __const.
39104 * argp/argp.h: Likewise.
39105 * assert/assert.h: Likewise.
39106 * bits/fenv.h: Likewise.
39107 * bits/sched.h: Likewise.
39108 * bits/sigset.h: Likewise.
39109 * bits/sigthread.h: Likewise.
39110 * catgets/nl_types.h: Likewise.
39111 * conform/data/pthread.h-data: Likewise.
39112 * crypt/crypt-private.h: Likewise.
39113 * crypt/crypt.h: Likewise.
39114 * crypt/crypt_util.c: Likewise.
39115 * ctype/ctype.h: Likewise.
39116 * debug/execinfo.h: Likewise.
39117 * debug/mbsnrtowcs_chk.c: Likewise.
39118 * debug/mbsrtowcs_chk.c: Likewise.
39119 * debug/wcsnrtombs_chk.c: Likewise.
39120 * debug/wcsrtombs_chk.c: Likewise.
39121 * debug/wcstombs_chk.c: Likewise.
39122 * dirent/dirent.h: Likewise.
39123 * dlfcn/dlfcn.h: Likewise.
39124 * elf/neededtest4.c: Likewise.
39125 * grp/grp.h: Likewise.
39126 * gshadow/gshadow.h: Likewise.
39127 * iconv/gconv.h: Likewise.
39128 * iconv/gconv_int.h: Likewise.
39129 * iconv/gconv_simple.c: Likewise.
39130 * iconv/iconv.h: Likewise.
39131 * iconv/loop.c: Likewise.
39132 * iconv/skeleton.c: Likewise.
39133 * include/aio.h: Likewise.
39134 * include/aliases.h: Likewise.
39135 * include/argz.h: Likewise.
39136 * include/arpa/inet.h: Likewise.
39137 * include/assert.h: Likewise.
39138 * include/dirent.h: Likewise.
39139 * include/dlfcn.h: Likewise.
39140 * include/execinfo.h: Likewise.
39141 * include/fcntl.h: Likewise.
39142 * include/fenv.h: Likewise.
39143 * include/glob.h: Likewise.
39144 * include/grp.h: Likewise.
39145 * include/libintl.h: Likewise.
39146 * include/mntent.h: Likewise.
39147 * include/netdb.h: Likewise.
39148 * include/pwd.h: Likewise.
39149 * include/rpc/netdb.h: Likewise.
39150 * include/sched.h: Likewise.
39151 * include/search.h: Likewise.
39152 * include/shadow.h: Likewise.
39153 * include/signal.h: Likewise.
39154 * include/stdio.h: Likewise.
39155 * include/stdlib.h: Likewise.
39156 * include/string.h: Likewise.
39157 * include/sys/socket.h: Likewise.
39158 * include/sys/stat.h: Likewise.
39159 * include/sys/statfs.h: Likewise.
39160 * include/sys/statvfs.h: Likewise.
39161 * include/sys/syslog.h: Likewise.
39162 * include/sys/time.h: Likewise.
39163 * include/sys/uio.h: Likewise.
39164 * include/time.h: Likewise.
39165 * include/unistd.h: Likewise.
39166 * include/utmp.h: Likewise.
39167 * include/wchar.h: Likewise.
39168 * include/wctype.h: Likewise.
39169 * inet/aliases.h: Likewise.
39170 * inet/arpa/inet.h: Likewise.
39171 * inet/netinet/ether.h: Likewise.
39172 * inet/netinet/in.h: Likewise.
39173 * intl/libintl.h: Likewise.
39174 * io/bits/fcntl2.h: Likewise.
39175 * io/fcntl.h: Likewise.
39176 * io/ftw.h: Likewise.
39177 * io/sys/poll.h: Likewise.
39178 * io/sys/stat.h: Likewise.
39179 * io/sys/statfs.h: Likewise.
39180 * io/sys/statvfs.h: Likewise.
39181 * io/utime.h: Likewise.
39182 * libio/bits/stdio.h: Likewise.
39183 * libio/bits/stdio2.h: Likewise.
39184 * libio/libio.h: Likewise.
39185 * libio/libioP.h: Likewise.
39186 * libio/stdio.h: Likewise.
39187 * locale/lc-ctype.c: Likewise.
39188 * locale/locale.h: Likewise.
39189 * login/utmp.h: Likewise.
39190 * malloc/arena.c: Likewise.
39191 * malloc/malloc.c: Likewise.
39192 * malloc/malloc.h: Likewise.
39193 * malloc/mcheck.c: Likewise.
39194 * malloc/mtrace.c: Likewise.
39195 * math/bits/mathcalls.h: Likewise.
39196 * math/fenv.h: Likewise.
39197 * math/math_private.h: Likewise.
39198 * misc/bits/error.h: Likewise.
39199 * misc/bits/syslog.h: Likewise.
39200 * misc/err.h: Likewise.
39201 * misc/error.h: Likewise.
39202 * misc/fstab.h: Likewise.
39203 * misc/mntent.h: Likewise.
39204 * misc/regexp.h: Likewise.
39205 * misc/search.h: Likewise.
39206 * misc/sgtty.h: Likewise.
39207 * misc/sys/mman.h: Likewise.
39208 * misc/sys/syslog.h: Likewise.
39209 * misc/sys/uio.h: Likewise.
39210 * misc/sys/xattr.h: Likewise.
39211 * misc/ttyent.h: Likewise.
39212 * nis/rpcsvc/ypclnt.h: Likewise.
39213 * nss/nss.h: Likewise.
39214 * posix/bits/unistd.h: Likewise.
39215 * posix/fnmatch.h: Likewise.
39216 * posix/glob.h: Likewise.
39217 * posix/sched.h: Likewise.
39218 * posix/spawn.h: Likewise.
39219 * posix/sys/wait.h: Likewise.
39220 * posix/unistd.h: Likewise.
39221 * posix/wordexp.h: Likewise.
39222 * pwd/pwd.h: Likewise.
39223 * resolv/netdb.h: Likewise.
39224 * resource/sys/resource.h: Likewise.
39225 * rt/aio.h: Likewise.
39226 * rt/bits/mqueue2.h: Likewise.
39227 * rt/mqueue.h: Likewise.
39228 * shadow/shadow.h: Likewise.
39229 * signal/signal.h: Likewise.
39230 * socket/send.c: Likewise.
39231 * socket/sendto.c: Likewise.
39232 * socket/sys/socket.h: Likewise.
39233 * stdio-common/printf.h: Likewise.
39234 * stdlib/bits/stdlib.h: Likewise.
39235 * stdlib/fmtmsg.h: Likewise.
39236 * stdlib/monetary.h: Likewise.
39237 * stdlib/stdlib.h: Likewise.
39238 * stdlib/ucontext.h: Likewise.
39239 * streams/stropts.h: Likewise.
39240 * string/argz.h: Likewise.
39241 * string/bits/string2.h: Likewise.
39242 * string/string.h: Likewise.
39243 * string/strings.h: Likewise.
39244 * sunrpc/rpc/auth.h: Likewise.
39245 * sunrpc/rpc/auth_des.h: Likewise.
39246 * sunrpc/rpc/clnt.h: Likewise.
39247 * sunrpc/rpc/netdb.h: Likewise.
39248 * sunrpc/rpc/pmap_clnt.h: Likewise.
39249 * sunrpc/rpc/xdr.h: Likewise.
39250 * sysdeps/generic/inttypes.h: Likewise.
39251 * sysdeps/generic/net/if.h: Likewise.
39252 * sysdeps/generic/sys/swap.h: Likewise.
39253 * sysdeps/gnu/net/if.h: Likewise.
39254 * sysdeps/gnu/utmpx.h: Likewise.
39255 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39256 * sysdeps/i386/i486/bits/string.h: Likewise.
39257 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39258 * sysdeps/s390/bits/string.h: Likewise.
39259 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39260 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39261 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39262 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39263 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39264 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39265 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39266 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39267 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39268 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39269 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39270 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39271 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39272 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39273 * sysdeps/unix/sysv/linux/readv.c: Likewise.
39274 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39275 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39276 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39277 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39278 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39279 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39280 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39281 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39282 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39283 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39284 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39285 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39286 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39287 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39288 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39289 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39290 * sysvipc/sys/ipc.h: Likewise.
39291 * sysvipc/sys/msg.h: Likewise.
39292 * sysvipc/sys/sem.h: Likewise.
39293 * sysvipc/sys/shm.h: Likewise.
39294 * termios/termios.h: Likewise.
39295 * time/sys/time.h: Likewise.
39296 * time/time.h: Likewise.
39297 * wcsmbs/bits/wchar2.h: Likewise.
39298 * wcsmbs/uchar.h: Likewise.
39299 * wcsmbs/wchar.h: Likewise.
39300 * wctype/wctype.h: Likewise.
39301
0269750c
UD
39302 [BZ #13551]
39303 * Makeconfig: Remove all but ELF support including AIX support.
39304 * Makerules: Likewise.
39305 * config.h.in: Likewise.
39306 * config.make.in: Likewise.
39307 * configure: Likewise.
39308 * configure.in: Likewise.
39309 * csu/Makefile: Likewise.
39310 * csu/version.c: Likewise.
39311 * debug/Makefile: Likewise.
39312 * dlfcn/Makefile: Likewise.
39313 * elf/Makefile: Likewise.
39314 * extra-lib.mk: Likewise.
39315 * iconv/Makefile: Likewise.
39316 * include/libc-symbols.h: Likewise.
39317 * include/shlib-compat.h: Likewise.
39318 * resolv/Makefile: Likewise.
39319 * resolv/res_libc.c: Likewise.
39320 * rt/Makefile: Likewise.
39321 * sysdeps/i386/asm-syntax.h: Likewise.
39322 * sysdeps/i386/sysdep.h: Likewise.
39323 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39324 * sysdeps/mach/sysdep.h: Likewise.
39325 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39326 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39327 * sysdeps/s390/asm-syntax.h: Likewise.
39328 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39329 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39330 * sysdeps/sh/sysdep.h: Likewise.
39331 * sysdeps/unix/sparc/sysdep.h: Likewise.
39332 * sysdeps/wordsize-32/divdi3.c: Likewise.
39333 * sysdeps/x86_64/sysdep.h: Likewise.
39334
00bbd29b
UD
39335 * argp/Versions: Remove _argp_unlock_xxx.
39336
39337 [BZ #13559]
39338 * abilist/ld.abilist: Update. Adjust for removal of tls option.
39339 * abilist/libBrokenLocale.abilist: Likewise.
39340 * abilist/libanl.abilist: Likewise.
39341 * abilist/libc.abilist: Likewise.
39342 * abilist/libcrypt.abilist: Likewise.
39343 * abilist/libdl.abilist: Likewise.
39344 * abilist/libm.abilist: Likewise.
39345 * abilist/libnsl.abilist: Likewise.
39346 * abilist/libpthread.abilist: Likewise.
39347 * abilist/libresolv.abilist: Likewise.
39348 * abilist/librt.abilist: Likewise.
39349 * abilist/libthread_db.abilist: Likewise.
39350 * abilist/libutil.abilist: Likewise.
39351 * abilist/libnss_db.abilist: New file.
39352
39353 * scripts/abilist.awk: Add support for indirect functions.
39354
a2693a0e
UD
39355 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39356
3f05895f
UD
39357 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39358
ecb6fb48
UD
39359 * shlib-versions: Remove entries for ports architectures.
39360
664f8cb9
UD
39361 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
39362 files in ports.
39363 * elf/stackguard-macros.h: Remove support for IA-64.
39364 * elf/tst-auditmod1.c: Likewise.
39365 * sysdeps/generic/ldsodefs.h: Likewise.
39366
7ae81d88
UD
39367 * sysdeps/unix/sysv/linux/configure.in: Ports should define
39368 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39369 configure files.
39370
bdeba135
UD
39371 [BZ #13552]
39372 * configure.in: Remove --enable-omitfp support.
39373 * FAQ.in: Adjust.
39374 * config.make.in: Likewise.
39375 * Makeconfig: Likewise.
39376 * manual/install.texi: Likewise.
39377
d75a0a62
UD
39378 In case anyone cares, the IA-64 architecture could move to ports.
39379 * sysdeps/ia64/*: Removed.
39380 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 39381 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 39382
dcc9756b
UD
39383 [BZ #13555]
39384 * configure.in: Remove entries for unsupported architectures.
39385
d3761ebc 39386 [BZ #13533]
9954432e
UD
39387 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39388 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
39389 routines.
39390 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39391 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39392 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
39393 fall back to using wcrtomb.
39394 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39395 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
39396 renaming.
39397 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39398 * wcsmbs/tst-c16c32-1.c: New file.
39399
39400 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39401 local variable.
39402
c3a87236
UD
39403 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39404
28926a1b
UD
39405 * elf/tst-unique3.cc: Add explicit declaration of gets.
39406 * elf/tst-unique3lib.cc: Likewise.
39407 * elf/tst-unique3lib2.cc: Likewise.
39408 * elf/tst-unique4.cc: Likewise.
39409
df78418a
UD
39410 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39411
8ecd6b2a
JM
394122012-01-06 Joseph Myers <joseph@codesourcery.com>
39413
39414 [BZ #13566]
39415 * assert/assert.h (static_assert): Don't define for C++.
39416 * libio/stdio.h (gets): Do declare for C++ <= C++11.
39417 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39418
9f115170
UD
394192012-01-03 Ulrich Drepper <drepper@gmail.com>
39420
5e0d0300
UD
39421 * iconv/loop.c (single loop): Fix assertion in storing of
39422 remaining bytes.
39423
9f115170
UD
39424 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39425
81fb02b0
UD
394262012-01-01 Ulrich Drepper <drepper@gmail.com>
39427
39428 * posix/getconf.c: Update copyright year.
39429 * nss/getent.c: Likewise.
a316c1f6 39430 * nss/makedb.c: Likewise.
81fb02b0
UD
39431 * iconv/iconvconfig.c: Likewise.
39432 * iconv/iconv_prog.c: Likewise.
39433 * elf/ldconfig.c: Likewise.
a316c1f6
UD
39434 * elf/pldd.c: Likewise.
39435 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
39436 * catgets/gencat.c: Likewise.
39437 * csu/version.c: Likewise.
39438 * elf/ldd.bash.in: Likewise.
39439 * elf/sprof.c (print_version): Likewise.
39440 * locale/programs/locale.c: Likewise.
39441 * locale/programs/localedef.c: Likewise.
a316c1f6 39442 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
39443 * nscd/nscd.c (print_version): Likewise.
39444 * debug/xtrace.sh: Likewise.
39445 * malloc/memusage.sh: Likewise.
39446 * malloc/mtrace.pl: Likewise.
39447 * debug/catchsegv.sh: Likewise.
39448
2ba92745
JJ
394492011-12-30 Jakub Jelinek <jakub@redhat.com>
39450
39451 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39452 pure attribute.
39453
dadebdae
UD
394542011-12-24 Ulrich Drepper <drepper@gmail.com>
39455
d3761ebc 39456 [BZ #13533]
db6af3eb
UD
39457 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39458 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39459 transformations.
39460 * iconv/gconv_int.h: Likewise.
39461 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39462 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39463 from libc for GLIBC_2.16.
39464 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39465 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39466 * wcsmbs/uchar.h: Really define mbstate_t.
39467 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39468 * wcsmbs/c16rtomb.c: New file.
39469 * wcsmbs/mbrtoc16.c: New file.
39470 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39471 for C/POSIX locale.
39472 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39473 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39474
dadebdae
UD
39475 * wcsmbs/wchar.h: Add missing __restrict.
39476
67371b56
UD
394772011-12-23 Ulrich Drepper <drepper@gmail.com>
39478
74033a25
UD
39479 [BZ #13532]
39480 * time/Makefile (routines): Add timespec_get.
39481 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39482 * time/time.h: Define TIME_UTC and declare timespec_get. Define
39483 timespec for ISO C11.
39484 * time/timespec_get.c: New file.
39485 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39486 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39487
380d7e87
UD
39488 [BZ #13531]
39489 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39490 * stdlib/stdlib.h: Declare aligned_alloc.
39491 * Versions.def: Add GLIBC_2.16 for libc.
39492 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39493
4e9e7a35
UD
39494 [BZ 13527]
39495 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39496 ISO C11.
39497
380d7e87 39498 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
39499 code.
39500
03a71829
UD
39501 [BZ #13528]
39502 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
39503
839e283e
UD
39504 [BZ #13529]
39505 * assert/assert.h (static_assert): Define.
39506
ce5294e2 39507 * version.h: Update for 2.16 development version.
90fa7312 39508
8d44e150 39509 [BZ #13526]
d7809905
UD
39510 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
39511 _ISOC11_SOURCE.
39512
c0da14cd
UD
39513 * version.h (RELEASE): Bump for 2.15 release.
39514 * include/features.h (__GLIBC_MINOR__): Bump to 15.
39515
530a3249
MP
39516 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
39517 Patch by Marek Polacek <mpolacek@redhat.com>.
39518
67371b56
UD
39519 * bits/byteswap.h: Protect long long constants with __extension__.
39520 * sysdeps/i386/bits/byteswap.h: Likewise.
39521 * sysdeps/ia64/bits/byteswap.h: Likewise.
39522 * sysdeps/s390/bits/byteswap.h: Likewise.
39523 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39524
15db4de1
LD
395252011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39526
39527 [BZ #13540]
bbe315ea
LD
39528 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
39529 destination buffer.
15db4de1
LD
39530 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39531
2b2596b1
MP
395322011-12-23 Marek Polacek <polacek@redhat.com>
39533
39534 * elf/dl-addr.c (determine_info): Add inline keyword.
39535 * elf/tst-auditmod4b.c (check_avx): Likewise.
39536 * elf/tst-auditmod6b.c (check_avx): Likewise.
39537 * elf/tst-auditmod6c.c (check_avx): Likewise.
39538 * elf/tst-auditmod7b.c (check_avx): Likewise.
39539
70c6c246
UD
395402011-12-23 Ulrich Drepper <drepper@gmail.com>
39541
39542 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
39543 !__SSE_MATH__.
39544
c044cf14
LD
395452011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39546
15db4de1 39547 [BZ #13540]
c044cf14
LD
39548 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
39549 processing for last bytes.
39550
6b13d9d9
BH
395512011-08-06 Bruno Haible <bruno@clisp.org>
39552
d455f537
BH
39553 [BZ #13061]
39554 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
39555 U+0385, not to U+1FEE.
39556
6b13d9d9
BH
39557 [BZ #13062]
39558 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
39559 entry for U+00A5 U+0301.
39560
db910efd
UD
395612011-12-22 Ulrich Drepper <drepper@gmail.com>
39562
27deeafc
UD
39563 [BZ #13166]
39564 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
39565 buffer for the output is too small.
39566
aed9d171
UD
39567 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
39568 optimization.
39569
db910efd
UD
39570 [BZ #13185]
39571 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
39572 SSE flags if possible.
39573
2bd779ae
LD
395742011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39575
e7f9dac3 39576 [BZ #13540]
2bd779ae
LD
39577 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
39578 processing for last bytes.
39579
154bfc16
JM
395802011-12-22 Joseph Myers <joseph@codesourcery.com>
39581
39582 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
39583 (syscall-list-default-options, syscall-list-default-condition)
39584 (syscall-list-includes): Define.
39585 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
39586 list of ABIs and options and #if conditions for each ABI. Do not
39587 handle common syscalls between ABIs specially.
39588 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
39589 Remove.
39590 (syscall-list-variants, syscall-list-32bit-options)
39591 (syscall-list-32bit-condition, syscall-list-64bit-options)
39592 (syscall-list-64bit-condition): Define.
39593 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
39594 (syscall-list-variants, syscall-list-32bit-options)
39595 (syscall-list-32bit-condition, syscall-list-64bit-options)
39596 (syscall-list-64bit-condition): Define.
39597 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
39598 Remove.
39599 (syscall-list-variants, syscall-list-32bit-options)
39600 (syscall-list-32bit-condition, syscall-list-64bit-options)
39601 (syscall-list-64bit-condition): Define.
39602 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
39603 Remove.
39604 (syscall-list-variants, syscall-list-32bit-options)
39605 (syscall-list-32bit-condition, syscall-list-64bit-options)
39606 (syscall-list-64bit-condition): Define.
39607
21eaf3a5
UD
396082011-12-22 Ulrich Drepper <drepper@gmail.com>
39609
16c6f992
UD
39610 * locale/iso-639.def: Add brx entry.
39611
41043168
UD
39612 [BZ #13328]
39613 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
39614 Proposed by Mariusz_Cukr <marcukr@op.pl>.
39615
21eaf3a5
UD
39616 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
39617 __feraiseexcept_renamed.
39618
e3a851a2
UD
396192011-12-21 Ulrich Drepper <drepper@gmail.com>
39620
4920765e
UD
39621 [BZ #13538]
39622 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
39623 EPOLLET with unsigned values.
39624 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39625 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39626
e3a851a2
UD
39627 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
39628 to large cancellation.
39629 * math/s_cacoshf.c: Likewise.
39630 * math/s_cacoshl.c: Likewise.
39631
b27e24b8
RK
396322011-11-18 Richard B. Kreckel <kreckel@ginac.de>
39633
39634 [BZ #13305]
aebefeee 39635 [BZ #12786]
b27e24b8
RK
39636 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
39637 * math/s_cacoshf.c: Likewise.
39638 * math/s_cacoshl.c: Likewise.
39639
ee190f67
UD
396402011-12-21 Ulrich Drepper <drepper@gmail.com>
39641
39642 [BZ #13439]
39643 * iconv/gconv.h: Define __GCONV_SWAP.
39644 * iconvdata/unicode.c: The swap bit must be stored in __flags.
39645 * iconvdata/utf-16.c: Likewise.
39646 * iconvdata/utf-32.c: Likewise.
39647
707f25df
AS
396482011-12-21 Andreas Schwab <schwab@linux-m68k.org>
39649
39650 [BZ #13524]
39651 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
39652 numerator after shifting it by one limb.
39653
d2daaa1e
RÁE
396542011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
39655
39656 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
39657 under [__USE_EXTERN_INLINES].
39658
a4647e72
UD
396592011-12-17 Ulrich Drepper <drepper@gmail.com>
39660
39661 [BZ #13446]
39662 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
39663
f0b264f1
AZ
396642011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39665
39666 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
39667 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
39668 optimized code.
39669 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
39670 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
39671 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
39672 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
39673 for strncasecmp/strncasecmp_l compilation.
39674 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
39675 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
39676
8ef4f244
MP
396772011-12-08 Marek Polacek <mpolacek@redhat.com>
39678
39679 [BZ #13484]
39680 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
39681 of __asm__.
39682
97ac2654
UD
396832011-12-17 Ulrich Drepper <drepper@gmail.com>
39684
39685 [BZ #13506]
39686 * time/tzfile.c (__tzfile_read): Check values from file header.
39687
91d2a845
WS
396882011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39689
39690 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
39691 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
39692 * powerpc/powerpc32/dl-start.S: Likewise.
39693 * powerpc/powerpc32/elf/start.S: Likewise.
39694 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39695 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
39696 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
39697 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
39698 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39699 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
39700 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
39701 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39702 * powerpc/powerpc32/fpu/s_round.S: Likewise.
39703 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39704 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39705 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39706 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39707 * powerpc/powerpc32/memset.S: Likewise.
39708 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39709 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39710 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39711 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39712 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39713 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39714 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39715 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39716 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
39717 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
39718 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
39719 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39720 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39721
a1267ba1
AZ
397222011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39723
39724 * math/libm-test.inc: Added more nearbyint tests.
39725 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
39726 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
39727 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
39728 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
39729
ad8ac1bd
RL
397302011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
39731
39732 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
39733 FD_CLOEXEC.
39734
1d3e4b61
UD
397352011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39736
39737 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
39738 Add wcscpy-ssse3 wcscpy-c.
39739 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
39740 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
39741 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
39742 * sysdeps/x86_64/wcschr.S: New file.
39743 * sysdeps/x86_64/wcsrchr.S: New file.
39744 * string/test-strcmp.c: Remove checking of wcscmp function for
39745 wrong alignments.
39746 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
39747 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
39748 wcsrchr-sse2 wcsrchr-c.
39749 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
39750 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
39751 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
39752 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
39753 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
39754 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
39755 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
39756 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
39757 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
39758 * wcsmbc/wcschr.c (WCSCHR): New macro.
39759
5b330a2d
UD
397602011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39761
39762 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
39763 * wcsmbs/test-wcsrchr.c: New file.
39764 * string/test-strrchr.c: Add wcsrchr support.
39765 (WIDE): New macro.
39766 * wcsmbs/test-wcscpy.c: New file.
39767 * string/test-strcpy.c: Add wcscpy support.
39768 (WIDE): New macro.
26428b7c 39769
f039c043
UD
397702011-12-10 Ulrich Drepper <drepper@gmail.com>
39771
39772 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
39773 the inner loop.
39774
850fb039
AS
397752011-12-06 Andreas Schwab <schwab@linux-m68k.org>
39776
39777 [BZ #13472]
39778 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
39779
4efbd5cb
UD
397802011-12-04 Ulrich Drepper <drepper@gmail.com>
39781
52ff5dd0 39782 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 39783 Minor optimizations.
52ff5dd0 39784
4efbd5cb
UD
39785 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
39786 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
39787 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
39788
8a426e12
UD
397892011-12-03 Ulrich Drepper <drepper@gmail.com>
39790
aff2453d
UD
39791 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
39792 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
39793 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
39794 for gcc to avoid warnings.
39795 * inet/Makefile (tests): Add tst-checks.
39796 * inet/tst-checks.c: New file.
39797
39798 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
39799 warning.
39800
39801 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
39802 __wmemcmp_sse2.
39803
39804 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
39805 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
39806
8a426e12
UD
39807 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
39808
9bea3473
UD
398092011-12-02 Ulrich Drepper <drepper@gmail.com>
39810
3a965496
UD
39811 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
39812 problem.
39813
9bea3473
UD
39814 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
39815
f101631b
UD
398162011-11-29 Joseph Myers <joseph@codesourcery.com>
39817
39818 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
39819 conditional on GCC version.
39820 (__arch_compare_and_exchange_val_8_acq)
39821 (__arch_compare_and_exchange_val_16_acq)
39822 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
39823 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
39824 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
39825
a98275aa
UD
398262011-12-02 Joseph Myers <joseph@codesourcery.com>
39827
39828 * sysdeps/sh/backtrace.c: New file.
39829
d4cc29a2
AS
398302011-12-02 Andreas Schwab <schwab@redhat.com>
39831
39832 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
39833 parenthesis.
39834
6257af2d
AS
398352011-12-01 Andreas Schwab <schwab@redhat.com>
39836
39837 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
39838 falling back to utime.
39839
b5f44c1a
AS
398402011-11-30 Andreas Schwab <schwab@redhat.com>
39841
39842 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
39843 expectations for float.
39844
f3a6cc0a
AS
398452011-11-29 Andreas Schwab <schwab@redhat.com>
39846
39847 * locale/weight.h (findidx): Add parameter len.
39848 * locale/weightwc.h (findidx): Likewise.
39849 * posix/fnmatch_loop.c (FCT): Adjust caller.
39850 * posix/regcomp.c (build_equiv_class): Likewise.
39851 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
39852 * posix/regexec.c (check_node_accept_bytes): Likewise.
39853 * string/strcoll_l.c (STRCOLL): Likewise.
39854 * string/strxfrm_l.c (STRXFRM): Likewise.
39855
9d65ea3a
UD
398562011-11-17 Ulrich Drepper <drepper@gmail.com>
39857
39858 * Makefile.in: Remove CVSOPT handling.
39859 * configure.in: Remove use of AC_REVISION.
39860 * iconvdata/Makefile (distribute): No need to filter out CVS.
39861 * scripts/list-sources.sh: Remove CVS, subversion and monotone
39862 handling.
39863
5583a086
AS
398642011-11-16 Andreas Schwab <schwab@redhat.com>
39865
39866 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
39867 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
39868 [USE_AS_STRNCASECMP_L]: Likewise.
39869 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
39870 NO_TLS_DIRECT_SEG_REFS.
39871 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
39872 Fix argument offsets for non-PIC.
39873 [USE_AS_STRNCASECMP_L]: Likewise.
39874 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
39875 NO_TLS_DIRECT_SEG_REFS.
39876
d62a8200
UD
398772011-11-15 Ulrich Drepper <drepper@gmail.com>
39878
9d65ea3a 39879 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
39880 O_CLOEXEC.
39881 * locale/loadlocale.c (_nl_load_locale): Likewise.
39882
09f93bd3
AS
398832011-11-15 Andreas Schwab <schwab@redhat.com>
39884
446514f9
AS
39885 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
39886 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
39887 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
39888 (SYSCALL_GETTIME): Set errno on error.
39889
09f93bd3
AS
39890 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
39891 count references to noai6ai_cached.
39892
312be3f9
UD
398932011-11-15 Ulrich Drepper <drepper@gmail.com>
39894
39895 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
39896
39897 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
39898 FD_CLOEXEC for /proc/self/maps.
39899
39900 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
39901 FD_CLOEXEC for /proc/meminfo.
39902
39903 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
39904 gai.conf.
39905
39906 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
39907 FD_CLOEXEC for given file.
39908
39909 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
39910
39911 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
39912 FD_CLOEXEC for /etc/hosts.
39913 (_gethtent): Likewise.
39914
39915 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
39916
39917 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
39918 cancellation and set FD_CLOEXEC for /etc/netgroup.
39919
39920 * nss/nss_files/files-key.c (search): Don't allow cancellation when
39921 reading /etc/publickey.
39922
39923 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
39924 allow cancellation when reading /etc/group.
39925
39926 * nss/nss_files/files-alias.c (internal_setent): Don't allow
39927 cancellation.
39928 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
39929
39930 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
39931 when using data file.
39932
39933 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
39934
39935 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
39936 (write_nis_obj): Use "c" and "e" in fopen.
39937
39938 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
39939
39940 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
39941
39942 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
39943
39944 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
39945
39946 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
39947 locale.alias.
39948
39949 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
39950
39951 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
39952
39953 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
39954
39955 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
39956 file parsing and set FD_CLOEXEC.
39957
82af0fa8
UD
399582011-11-14 Ulrich Drepper <drepper@gmail.com>
39959
39960 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
39961
a5fb313c
AS
399622011-11-14 Andreas Schwab <schwab@redhat.com>
39963
39964 * malloc/arena.c (arena_get2): Don't call reused_arena when
39965 _int_new_arena failed.
39966
6abf3465
UD
399672011-11-14 Ulrich Drepper <drepper@gmail.com>
39968
39969 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
39970 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
39971 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
39972 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39973 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39974 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
39975 to compile strcasecmp and strncasecmp.
39976 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
39977 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
39978
39979 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
39980
76e3966e
UD
399812011-11-13 Ulrich Drepper <drepper@gmail.com>
39982
39983 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
39984 locale-defines.sym to gen-as-const-headers.
39985 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
39986 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
39987 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
39988 to compile strcasecmp and strncasecmp.
39989 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
39990 strcasecmp_l and strncasecmp_l.
39991 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
39992 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
39993 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
39994 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
39995 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
39996 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
39997 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
39998 * sysdeps/i386/i686/multiarch/strncase.S: New file.
39999 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40000 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40001 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40002
ab26144e
UD
400032011-11-12 Ulrich Drepper <drepper@gmail.com>
40004
7edb22ef
UD
40005 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40006 result of SYSDEP_GETTIME_CPU to retval.
40007 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40008 parameter list to macro. Remove trailing semicolon. Adjust users.
40009
9694fc44
UD
40010 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40011 variable.
40012
8ad89ef8
UD
40013 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40014 mantissa words.
40015 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40016
0c822ef9
UD
40017 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40018 from unused variable.
40019
874e0564
UD
40020 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40021 DWARF definitions.
40022 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40023 for assembling.
40024
3a2edc79
UD
40025 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40026 over namespaces.
40027
f3c2577f
UD
40028 * sunrpc/rpc_prot.c (rejected): Fix case value.
40029
294ce126
UD
40030 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40031 unsigned long long int to avoid warnings in shift.
40032
5e2b63c6
UD
40033 * posix/regex_internal.c (re_string_reconstruct): Actually use result
40034 of use of trans.
40035 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40036 variable tmp.
40037
e7f4b08e
UD
40038 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40039 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40040 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40041
ab26144e
UD
40042 * nis/nis_table.c (nis_list): Use variable of correct type for
40043 result of __follow_path call.
40044
8a6d5255
AZ
400452011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40046
40047 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40048 of math functions ceil, trunc, floor, round, and sqrt, when
40049 avaliable on the platform.
40050 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40051 name clash.
40052 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40053 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40054 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40055
aaddc98c
MP
400562011-10-30 Marek Polacek <mpolacek@redhat.com>
40057
40058 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40059 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40060
95b7042b
RM
400612011-11-11 Roland McGrath <roland@hack.frob.com>
40062
40063 * include/unistd.h: Fix __readlink return type.
40064 Reported by Chris Metcalf <cmetcalf@tilera.com>.
40065
57769839
UD
400662011-11-11 Ulrich Drepper <drepper@gmail.com>
40067
40068 * stdlib/ucontext.h: Undo last change for makecontext.
40069
edc5984d
AS
400702011-11-11 Andreas Schwab <schwab@redhat.com>
40071
98591e58
AS
40072 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40073
edc5984d
AS
40074 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40075 * setjmp/setjmp.h: Mark functions as non-leaf.
40076 * setjmp/bits/setjmp2.h: Likewise.
40077 * stdlib/ucontext.h: Likewise.
40078
77cdc054
AS
400792011-11-10 Andreas Schwab <schwab@redhat.com>
40080
40081 * malloc/arena.c (_int_new_arena): Don't increment narenas.
40082 (reused_arena): Don't check arena limit.
40083 (arena_get2): Atomically check arena limit.
40084
fe72eebd
UD
400852011-11-08 Ulrich Drepper <drepper@gmail.com>
40086
5f078c32
UD
40087 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40088 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40089
fe72eebd
UD
40090 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40091 instructions.
40092
ae1bc2fa
AS
400932011-11-07 Andreas Schwab <schwab@redhat.com>
40094
7583a88d
AS
40095 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40096 handler when locking.
40097
ae1bc2fa
AS
40098 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40099 Fix size of allocated buffer.
40100
10fb0bfa
AS
401012011-11-04 Andreas Schwab <schwab@redhat.com>
40102
998832a4
AS
40103 [BZ #10103]
40104 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40105 declarations for long double functions.
40106 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40107
10fb0bfa
AS
40108 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40109
3d7ba52b
AS
401102011-11-03 Andreas Schwab <schwab@redhat.com>
40111
a9ae54a1
AS
40112 * nscd/nscd.c (main): Don't start AVC thread until credentials are
40113 installed.
40114
3d7ba52b
AS
40115 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40116 is disabled.
40117
bc8db248
ST
401182011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
40119
40120 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40121
45b96dd6
AS
401222011-11-01 Andreas Schwab <schwab@linux-m68k.org>
40123
647776f6
AS
40124 * include/alloca.h (stackinfo_alloca_round): Define.
40125 (extend_alloca): Use it.
40126 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40127 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40128 here.
40129
d91a8b93
AS
40130 * scripts/check-local-headers.sh: Ignore libaudit.h.
40131
45b96dd6
AS
40132 * nscd/Makefile (extra-objs): Make recursively expanded.
40133
432d41ce
UD
401342011-11-01 Ulrich Drepper <drepper@gmail.com>
40135
34372fc6
UD
40136 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40137 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40138
fadb59f8
UD
40139 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40140 * posix/tst-rfc3484-2.c: Likewise.
40141 * posix/tst-rfc3484-3.c: Likewise.
40142
78239589
UD
40143 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40144 process_vm_writev.
40145 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40146 process_vm_writev.
40147 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40148 process_vm_writev from libc using GLIBC_2.15 version.
40149
432d41ce
UD
40150 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40151
02f9c6cf
PP
401522011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
40153
40154 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40155 stack usage.
40156
3a2c0242
UD
401572011-10-31 Ulrich Drepper <drepper@gmail.com>
40158
f4ec4833
UD
40159 [BZ #13367]
40160 * nss/getent.c (initgroups_keys): Show error message in case no group
40161 names are given.
40162
3a2c0242
UD
40163 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40164 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40165 __bump_nl_timestamp.
40166 * nscd/connections (nscd_init): When host database is served open
40167 netlink socket and request notification about configuration changes.
40168 (main_loop_poll): Track netlink file descriptor and bump timestamp
40169 in case data becomes available.
40170 (main_loop_epoll): Likewise.
40171 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40172 (database_pers_head): Add extra_data fileds.
40173 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40174 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40175 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40176 Adjust caller.
40177 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40178 in6ai data, call __free_in6ai.
40179 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40180 Add -DHAVE_NETLINK.
40181 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
40182 interface information. Reuse previous data if netlink timestamp
40183 is not changed.
40184 (__bump_nl_timestamp): New function.
40185 (__free_in6ai): New function.
40186
636064eb
UD
401872011-10-30 Ulrich Drepper <drepper@gmail.com>
40188
40189 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40190 close_not_cancel_no_status here.
40191 (__check_pf): Reorganize code a bit to not call close twice if OOM.
40192
9beb2334
UD
401932011-10-29 Ulrich Drepper <drepper@gmail.com>
40194
6ef76f3b
UD
40195 [BZ #13276]
40196 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40197 return value.
40198
0ffc4f3e 40199 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
40200 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40201 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40202
cb95113e
UD
402032011-07-03 Andreas Jaeger <aj@suse.de>
40204
40205 [BZ #10709]
40206 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40207 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40208 * math/libm-test.inc (sin_test): Add test case.
40209
a1b560ff
UD
402102011-10-29 Ulrich Drepper <drepper@gmail.com>
40211
c9aaface
UD
40212 [BZ #13337]
40213 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40214 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40215
d272e7f1
UD
40216 * elf/chroot_canon.c (chroot_canon): Cleanups.
40217
1bc33071
UD
40218 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40219
1760874d
TJ
40220 [BZ #13335]
40221 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40222 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40223
51d91b18
UD
40224 * string/test-strchr.c: Make usable for strchrnul testing.
40225 * string/test-strchrnul.c: New file.
40226 * string/Makefile (strop-tests): Add strchrnul.
40227
a1b560ff 40228 * po/it.po: Update from translation team.
b611fb81 40229 * po/es.po: Likewise.
a1b560ff 40230
a5b81e1f
UD
402312011-10-28 Ulrich Drepper <drepper@gmail.com>
40232
fd52bc6d
UD
40233 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40234 the three constants needed as parameters. Drop the others.
40235 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40236 __m128i_strloadu_tolower.
52e4b9eb
UD
40237 Create and initialize variable zero and use it in all the places
40238 where _mm_setzero_si128 was used.
fd52bc6d 40239
a5b81e1f
UD
40240 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40241 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40242 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40243 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40244 anymore.
40245 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40246 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40247 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40248 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40249 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40250 __mpranred, __mptan.
40251 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40252 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40253 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40254 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40255 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40256 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40257 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40258 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40259 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40260
b4343346
AS
402612011-10-28 Andreas Schwab <schwab@redhat.com>
40262
0c92d8a8
AS
40263 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40264 redefine if SHARED.
40265 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40266
b4343346
AS
40267 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40268 wide char related routines to wcsmbs subdir.
40269
3871f58f
AS
402702011-10-27 Andreas Schwab <schwab@redhat.com>
40271
40272 [BZ #13344]
40273 * misc/sys/cdefs.h (__THROWNL): Define.
40274 * posix/unistd.h: Use __THREADNL instead of __THREAD
40275 for memory synchronization functions.
40276
94d44d9f
RM
402772011-10-26 Roland McGrath <roland@hack.frob.com>
40278
21b64b15 40279 [BZ #13349]
94d44d9f
RM
40280 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40281 doesn't exist.
40282 * manual/stdio.texi (Obstack Streams): Node removed.
40283
f6ce9294
AS
402842011-10-26 Andreas Schwab <schwab@redhat.com>
40285
80479147
AS
40286 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40287 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40288 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40289
f6ce9294
AS
40290 * math/math_private.h (math_force_eval): Allow non-addressable
40291 arguments.
40292 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40293
618280a1
UD
402942011-10-25 Ulrich Drepper <drepper@gmail.com>
40295
e0016b11
UD
40296 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40297 file is not needed.
40298
40299 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40300 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40301 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40302 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40303 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40304 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40305 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40306 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40307 Add AVX variants.
40308 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40309 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40310 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40311 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40312 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40313 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40314 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40315 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40316 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40317 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40318 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40319 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40320 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40321 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40322 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40323 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40324 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40325 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40326 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40327
40328 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40329 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
40330
618280a1
UD
40331 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40332 place. Use VEX encoding when compiling for AVX.
40333
37822576
AS
403342011-10-25 Andreas Schwab <schwab@redhat.com>
40335
1f1e1947
AS
40336 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40337 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40338
37822576
AS
40339 * string/test-strchr.c (do_test): Don't generate NUL bytes.
40340
31ea014d
UD
403412011-10-25 Ulrich Drepper <drepper@gmail.com>
40342
d7826aa1 40343 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 40344 useless if() expression.
d7826aa1
UD
40345 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40346 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40347 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40348 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40349 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40350 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40351 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40352 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40353 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40354 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40355 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40356 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40357 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40358 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40359 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40360 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40361 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40362 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40363 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40364
31ea014d
UD
40365 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40366
16437fec
AS
403672011-10-25 Andreas Schwab <schwab@redhat.com>
40368
40369 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40370 condition.
40371 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40372
31d3cc00
UD
403732011-10-25 Ulrich Drepper <drepper@gmail.com>
40374
40375 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40376 .text section. Avoid duplicate constants.
40377 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40378 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40379 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40380 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40381 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40382 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40383 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40384 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40385 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40386 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40387 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40388 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40389 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40390 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40391 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40392 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40393 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40394 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40395 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40396 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40397 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40398 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40399 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40400 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40401 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40402 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40403 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40404 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40405 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40406 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40407 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40408 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40409 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40410 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40411 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40412 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40413 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40414 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40415 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40416 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40417 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40418 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40419 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40420 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40421 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40422
58985aa9
UD
404232011-10-24 Ulrich Drepper <drepper@gmail.com>
40424
202c9deb
UD
40425 * sysdeps/x86_64/dla.h: Move to ...
40426 * sysdeps/x86_64/fpu/dla.h: ...here.
40427 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40428 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 40429
af968f62
UD
40430 * config.make.in: Add have-mfma4 entry.
40431 * configure.in: Substitute libc_cv_cc_fma4.
40432 * math/Makefile (dbl-only-routines): Add sincostab.
40433 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40434 Use __sincostab not sincos.
40435 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40436 name is a macro.
40437 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40438 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40439 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40440 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
40441 using __copysign.
40442 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
40443 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
40444 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40445 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40446 and __inv.
40447 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40448 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40449 __copysign.
40450 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
40451 define aliases when function name is a macro.
40452 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40453 sysdeps/ieee754/dbl-64/sincos.tbl.
40454 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40455 fma4-enabled routines.
40456 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40457 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40458 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40459 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40460 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40461 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40462 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40463 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40464 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40465 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40466 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40467 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40468 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40469 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40470 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40471 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40472 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40473 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40474 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40475 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40476 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40477 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40478 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40479 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40480 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40481 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40482 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40483 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40484 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40485 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40486
58985aa9
UD
40487 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40488 rename.
40489 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40490 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40491 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40492 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40493 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40494 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40495 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40496 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40497
a201fbcf
AS
404982011-10-24 Andreas Schwab <schwab@redhat.com>
40499
40500 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
40501
fc2ee42a
LD
405022011-10-23 Ulrich Drepper <drepper@gmail.com>
40503
bb3129bd
UD
40504 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
40505
0275fff8
UD
40506 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
40507 prediction.
40508 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
40509
2fa2ae85
UD
40510 * string/strnlen.c: Don't define STRNLEN, reverse logic.
40511 Remove unused variable magic_bits.
40512 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
40513
fc2ee42a
LD
40514 * string/strnlen.c: Define and use STRNLEN macro.
40515 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
40516 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
40517 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
40518 * wcsmbs/wcslen.c: Define and use WCSLEN.
40519 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
40520 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
40521 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
40522 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
40523 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
40524 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
40525 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40526
ce7dd29f
LD
405272011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40528
40529 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40530 strnlen-sse2-no-bsf.
40531 Rename strlen-no-bsf to strlen-sse2-no-bsf.
40532 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
40533 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
40534 Add strnlen support.
40535 (USE_AS_STRNLEN): New macro.
40536 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
40537 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
40538 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
40539 * sysdeps/x86_64/wcslen.S: New file.
40540
979c70a3
MZ
405412011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
40542
40543 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40544 XMM-moves are used for copying on small sizes.
40545
2d09f82f
LD
405462011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40547
40548 * wcsmbs/Makefile (strop-tests): Add wcschr.
40549 * wcsmbs/test-wcschr.c: New file.
40550 * string/test-strchr.c: Update.
40551 Add wcschr support.
40552 (WIDE): New macro.
40553
619fccca
LD
405542011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40555
2d09f82f 40556 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
40557 * wcsmbs/test-wcslen.c: New file.
40558 * string/test-strlen.c: Update.
40559 Add wcslen support.
40560 (WIDE): New macro.
40561
09f699ea
UD
405622011-10-23 Ulrich Drepper <drepper@gmail.com>
40563
40564 * po/it.po: Update from translation team.
40565
95584d3b
LD
405662011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40567
40568 * sysdeps/x86_64/wcscmp.S: Update.
40569 Fix wrong comparison semantics.
40570 wcscmp shall use signed comparison not unsigned.
40571 Don't use substraction to avoid overflow bug.
40572 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40573 * wcsmbc/wcscmp.c: Likewise.
40574 * string/test-strcmp.c: Likewise.
40575 Add new tests to check cases with negative values.
40576
c8b3296b
UD
405772011-10-23 Ulrich Drepper <drepper@gmail.com>
40578
40579 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
40580 * sysdeps/x86_64/dla.h: ...here. New file.
40581 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
40582 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40583 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40584 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40585 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40586 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40587 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40588 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40589 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40590
246ad57a
AS
405912011-10-23 Andreas Schwab <schwab@linux-m68k.org>
40592
40593 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
40594 __ynl_finite aliases.
40595
a1a87169
UD
405962011-10-22 Ulrich Drepper <drepper@gmail.com>
40597
0d355eb7
UD
40598 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40599
a1a87169
UD
40600 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
40601 define DLA_FMA.
40602 [DLA_FMA] (EMULV): Use DLA_FMA.
40603 [DLA_FMA] (MUL12): Use EMULV.
40604 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
40605 that are not needed.
40606 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40607 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40608 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40609 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40610 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40611 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40612 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40613
ee2aafe0
AS
406142011-10-22 Andreas Schwab <schwab@linux-m68k.org>
40615
40616 * math/s_nan.c: Undef __nan.
40617 * math/s_nanf.c: Undef __nanf.
40618 * math/s_nanl.c: Undef __nanl.
40619 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
40620 "math_private.h".
40621
bc62c2fb
UD
406222011-10-22 Ulrich Drepper <drepper@gmail.com>
40623
77425c63
UD
40624 * math/s_catan.c: Add branch predictions.
40625 * math/s_catanf.c: Likewise.
40626 * math/s_catanh.c: Likewise.
40627 * math/s_catanhf.c: Likewise.
40628 * math/s_catanhl.c: Likewise.
40629 * math/s_catanl.c: Likewise.
40630 * math/s_cexp.c: Likewise.
40631 * math/s_cexpf.c: Likewise.
40632 * math/s_cexpl.c: Likewise.
40633 * math/s_clog.c: Likewise.
40634 * math/s_clog10.c: Likewise.
40635 * math/s_clog10f.c: Likewise.
40636 * math/s_clog10l.c: Likewise.
40637 * math/s_clogf.c: Likewise.
40638 * math/s_clogl.c: Likewise.
40639 * math/s_csqrt.c: Likewise.
40640 * math/s_csqrtf.c: Likewise.
40641 * math/s_csqrtl.c: Likewise.
40642 * math/s_ctanf.c: Likewise.
40643 * math/s_ctanh.c: Likewise.
40644 * math/s_ctanhf.c: Likewise.
40645 * math/s_ctanhl.c: Likewise.
40646 * math/s_ctanl.c: Likewise.
40647
bc62c2fb
UD
40648 * math/math_private.h: Define __nan, __nanf, __nanl.
40649 * math/s_cacosh.c: Include <math_private.h>.
40650 * math/s_cacoshl.c: Likewise.
40651 * math/s_casinh.c: Likewise.
40652 * math/s_casinhf.c: Likewise.
40653 * math/s_casinhl.c: Likewise.
40654 * math/s_ccos.c: Rely entire on ccosh.
40655 * math/s_ccosf.c: Rely entire on ccoshf.
40656 * math/s_ccosl.c: Rely entirely on ccoshl.
40657 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
40658 Remove tests for FE_INVALID.
40659 * math/s_ccoshf.c: Likewise.
40660 * math/s_ccoshl.c: Likewise.
40661 * math/s_csin.c: Likewise.
40662 * math/s_csinf.c: Likewise.
40663 * math/s_csinh.c Likewise.
40664 * math/s_csinhf.c: Likewise.
40665 * math/s_csinhl.c: Likewise.
40666 * math/s_csinl.c: Likewise.
40667 * math/s_ctan.c: Likewise.
40668 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
40669 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
40670 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
40671
8ec250a4
UD
406722011-10-21 Ulrich Drepper <drepper@gmail.com>
40673
c196fed8
UD
40674 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
40675 compilation problems.
40676
8ec250a4
UD
40677 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
40678 __builtin_expect.
40679
8d4f46c6
UD
406802011-10-20 Ulrich Drepper <drepper@gmail.com>
40681
ed72b654
UD
40682 * sysdeps/i386/configure.in: Test for -mfma4 option.
40683 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
40684 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
40685 COMMON_CPUID_INDEX_80000001.
40686 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
40687 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
40688 use it if FMA3 is not supported.
40689 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
40690
8d4f46c6
UD
40691 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
40692 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40693
d45c60c2
AS
406942011-10-20 Andreas Schwab <schwab@redhat.com>
40695
40696 [BZ #12892]
40697 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
40698 it would create a cycle with a link time dependency.
40699
d9a4d2ab
UD
407002011-10-19 Ulrich Drepper <drepper@gmail.com>
40701
855d1560
UD
40702 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
40703 instruction.
40704 * string/Makefile (strop-tests): Add rawmemchr.
40705 * string/test-rawmemchr.c: New file.
40706
d9a4d2ab
UD
40707 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
40708 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
40709 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
40710 when compiling str{,n}casecmp and when AVX is available. Hook up
40711 new optimized code in initializers.
40712
8f3b1ffe
AS
407132011-10-19 Andreas Schwab <schwab@redhat.com>
40714
40715 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
40716 __feraiseexcept instead of feraiseexcept.
40717
d38f1dba
UD
407182011-10-18 Ulrich Drepper <drepper@gmail.com>
40719
d9a8d0ab
UD
40720 * math/math_private.h: Define defaults for libc_fetestexcept and
40721 libc_feupdateenv.
40722 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
40723 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
40724 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40725 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40726 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40727 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40728 libc_fetestexcept and libc_feupdateenv.
40729
4855e3dd
UD
40730 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
40731 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
40732 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
40733 * sysdeps/x86_64/fpu/math_private.h: Define special version of
40734 libc_feholdexcept_setround.
40735
581d30e3
UD
40736 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
40737 Add s_nearbyint-c and s_nearbyintf-c.
40738 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
40739 nearbyintf inlines.
40740 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
40741 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
40742 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
40743 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
40744
d38f1dba
UD
40745 * math/math_private.h: Define defaults for libc_fegetround,
40746 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
40747 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
40748 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
40749 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
40750 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
40751 standard functions.
40752 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40753 Remove comments and hacks for old compiler versions.
40754 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40755 libc_fegetround, libc_fesetround, libc_feholdexcept, and
40756 libc_feholdexceptl.
40757
caa6c9d8
AS
407582011-10-18 Andreas Schwab <schwab@redhat.com>
40759
40760 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
40761 (__feraiseexcept_renamed): Add __NTH.
40762 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
40763 namespace violations.
40764
97c066e6
UD
407652011-10-17 Ulrich Drepper <drepper@gmail.com>
40766
99ce7b04
UD
40767 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
40768
1004d182
UD
40769 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
40770
228a984d
UD
40771 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
40772 recently added interfaces.
40773 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
40774
c8553a6a
UD
40775 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
40776 about macro parameter expansion.
40777
ed22dcf6
UD
40778 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
40779 __NO_MATH_INLINES is defined. Cleanups.
40780
40781 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
40782 and __floorf is target has SSE4.1.
40783 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
40784 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
40785 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
40786 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
40787
b171c137
UD
40788 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
40789 name.
40790 (floorf): Likewise.
40791
97c066e6
UD
40792 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
40793
629f62ef
AS
407942011-10-17 Andreas Schwab <schwab@redhat.com>
40795
49a43d80
AS
40796 * misc/sys/cdefs.h: Fix last change.
40797
629f62ef
AS
40798 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
40799 database lookup.
40800
e453f6cd
UD
408012011-10-16 Ulrich Drepper <drepper@gmail.com>
40802
aa78043a
UD
40803 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
40804
ad0f5cad
UD
40805 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
40806 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40807 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40808 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40809 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40810 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40811 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40812 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40813 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40814 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
40815 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
40816 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
40817 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
40818 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
40819 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
40820 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
40821 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
40822 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
40823 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
40824 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
40825 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
40826 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
40827
40828 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
40829 ceil, ceilf, floor, floorf.
40830
40831 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
40832 Perform IRELATIVE relocations last.
40833
e453f6cd
UD
40834 * elf/do-rel.h: Add another parameter nrelative, replacing the
40835 local variable with the same name. Change name of the function
40836 to end in Rel or Rela (uppercase).
40837 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
40838 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
40839 elf_dynamic_do_##reloc function.
40840
fd5bdc09
UD
408412011-10-15 Ulrich Drepper <drepper@gmail.com>
40842
79b195b5
UD
40843 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
40844 is sufficient, at least on modern CPUs.
40845
d4a28569
UD
40846 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
40847
b61099b5
UD
40848 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
40849 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
40850
bcf01e6d
UD
40851 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
40852 __expl_finite.
40853 * math/bits/math-finite.h: Add entries for exp.
40854 * math/e_expl.c: Add __*_finite alias.
40855 * sysdeps/i386/fpu/e_exp.S: Likewise.
40856 * sysdeps/i386/fpu/e_expf.S: Likewise.
40857 * sysdeps/i386/fpu/e_expl.c: Likewise.
40858 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40859 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40860 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40861 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40862 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
40863 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40864 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40865
ba1a0d59
UD
40866 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
40867 is sufficient, at least on modern CPUs.
40868
fd5bdc09
UD
40869 * ctype/ctype-info.c (__ctype_init): Define.
40870 * include/ctype.h (__ctype_init): Declare.
40871 (__ctype_b_loc): The variable is always initialized.
40872 (__ctype_toupper_loc): Likewise.
40873 (__ctype_tolower_loc): Likewise.
40874 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
40875 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
40876
7872cfb0
AS
408772011-10-15 Andreas Schwab <schwab@linux-m68k.org>
40878
b468825a
AS
40879 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
40880
7872cfb0
AS
40881 * configure.in: Also look in $cxxmachine/include for C++ system
40882 headers.
40883
be13f7bf
LD
408842011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40885
40886 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
40887 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
40888 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
40889 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
40890 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
40891 (USE_AS_WMEMCMP): New macro.
40892 Fixing indents.
40893 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
40894 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
40895 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
40896 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
40897 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40898 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
40899 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
40900 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
40901 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
40902 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
40903 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
40904 (USE_AS_WMEMCMP): New macro.
40905 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
40906 * sysdeps/string/test-memcmp.c: Update.
40907 Fix simple_wmemcmp.
40908 Add new tests.
40909 * wcsmbs/wmemcmp.c: Update.
40910 (WMEMCMP): New macro.
40911 Fix overflow bug.
40912
556a2007
AJ
409132011-10-12 Andreas Jaeger <aj@suse.de>
40914
40915 [BZ #13268]
40916 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
40917
538faaa7
UD
409182011-10-15 Ulrich Drepper <drepper@gmail.com>
40919
ab6737ff
UD
40920 * libio/iofwide.c (do_length): Avoid warning.
40921
538faaa7
UD
40922 * ctype/ctype.h (__isctype_f): Add missing __THROW.
40923
396a21b1
UD
409242011-10-14 Ulrich Drepper <drepper@gmail.com>
40925
cdf2901f
UD
40926 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
40927
38ad40ce
UD
40928 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
40929 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
40930 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
40931 * sysdeps/i386/i686/fpu/e_log.S: New file.
40932 * sysdeps/i386/i686/fpu/e_logf.S: New file.
40933 * sysdeps/i386/i686/fpu/e_logl.S: New file.
40934
396a21b1
UD
40935 * ctype/ctype.h: Add support for inlined isXXX functions when
40936 compiling C++ code.
40937
6b1f68c9
AS
409382011-10-14 Andreas Schwab <schwab@redhat.com>
40939
349290c0
AS
40940 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40941
6b1f68c9
AS
40942 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
40943
f2282d42
RM
409442011-10-13 Roland McGrath <roland@hack.frob.com>
40945
40946 [BZ #13291]
40947 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
40948
5298ffa8
AS
409492011-10-13 Andreas Schwab <schwab@redhat.com>
40950
714fad23
AS
40951 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
40952 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
40953 feraiseexcept.
40954
81dcc7fb
AS
40955 * sysdeps/x86_64/memrchr.S: Check for zero size.
40956
5298ffa8
AS
40957 * string/stratcliff.c: Add memrchr tests.
40958
951fbcec
LD
409592011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40960
40961 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40962 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
40963 rawmemchr-sse2 rawmemchr-sse2-bsf.
40964 * sysdeps/i386/i686/multiarch/memchr.S: New file.
40965 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
40966 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
40967 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
40968 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
40969 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
40970 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
40971 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
40972 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
40973 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
40974 * string/memrchr.c (MEMRCHR): New macro.
40975
0ac5ae23
UD
409762011-10-12 Ulrich Drepper <drepper@gmail.com>
40977
40978 Add integration with gcc's -ffinite-math-only and optimize wrapper
40979 functions in libm.
40980 * Versions.def: Define GLIBC_2.15 version for libm.
40981 * math/Makefile (headers): Add bits/math-finite.h.
40982 * math/bits/math-finite.h: New file.
40983 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
40984 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
40985 * math/e_acoshl.c: Add __*_finite alias.
40986 * math/e_acosl.c: Likewise.
40987 * math/e_asinl.c: Likewise.
40988 * math/e_atan2l.c: Likewise.
40989 * math/e_atanhl.c: Likewise.
40990 * math/e_coshl.c: Likewise.
40991 * math/e_exp10.c: Likewise.
40992 * math/e_exp10f.c: Likewise.
40993 * math/e_exp10l.c: Likewise.
40994 * math/e_exp2l.c: Likewise.
40995 * math/e_fmodl.c: Likewise.
40996 * math/e_gammal_r.c: Likewise.
40997 * math/e_hypotl.c: Likewise.
40998 * math/e_j0l.c: Likewise.
40999 * math/e_j1l.c: Likewise.
41000 * math/e_jnl.c: Likewise.
41001 * math/e_lgammal_r.c: Likewise.
41002 * math/e_log10l.c: Likewise.
41003 * math/e_log2l.c: Likewise.
41004 * math/e_logl.c: Likewise.
41005 * math/e_powl.c: Likewise.
41006 * math/e_sinhl.c: Likewise.
41007 * math/e_sqrtl.c: Likewise.
41008 * math/e_scalb.c: Completely rewritten and optimized.
41009 * math/e_scalbf.c: Likewise.
41010 * math/e_scalbl.c: Likewise.
41011 * math/w_acos.c: Likewise.
41012 * math/w_acosf.c: Likewise.
41013 * math/w_acosl.c: Likewise.
41014 * math/w_acosh.c: Likewise.
41015 * math/w_acoshf.c: Likewise.
41016 * math/w_acoshl.c: Likewise.
41017 * math/w_asin.c: Likewise.
41018 * math/w_asinf.c: Likewise.
41019 * math/w_asinl.c: Likewise.
41020 * math/w_atan2.c: Likewise.
41021 * math/w_atan2f.c: Likewise.
41022 * math/w_atan2l.c: Likewise.
41023 * math/w_atanh.c: Likewise.
41024 * math/w_atanhf.c: Likewise.
41025 * math/w_atanhl.c: Likewise.
41026 * math/w_exp10.c: Likewise.
41027 * math/w_exp10f.c: Likewise.
41028 * math/w_exp10l.c: Likewise.
41029 * math/w_fmod.c: Likewise.
41030 * math/w_fmodf.c: Likewise.
41031 * math/w_fmodl.c: Likewise.
41032 * math/w_j0.c: Likewise.
41033 * math/w_j0f.c: Likewise.
41034 * math/w_j0l.c: Likewise.
41035 * math/w_j1.c: Likewise.
41036 * math/w_j1f.c: Likewise.
41037 * math/w_j1l.c: Likewise.
41038 * math/w_jn.c: Likewise.
41039 * math/w_jnf.c: Likewise.
41040 * math/w_log.c: Likewise.
41041 * math/w_logf.c: Likewise.
41042 * math/w_logl.c: Likewise.
41043 * math/w_log10.c: Likewise.
41044 * math/w_log10f.c: Likewise.
41045 * math/w_log10l.c: Likewise.
41046 * math/w_log2.c: Likewise.
41047 * math/w_log2f.c: Likewise.
41048 * math/w_log2l.c: Likewise.
41049 * math/w_pow.c: Likewise.
41050 * math/w_powf.c: Likewise.
41051 * math/w_powl.c: Likewise.
41052 * math/w_remainder.c: Likewise.
41053 * math/w_remainderf.c: Likewise.
41054 * math/w_remainderl.c: Likewise.
41055 * math/w_scalb.c: Likewise.
41056 * math/w_scalbf.c: Likewise.
41057 * math/w_scalbl.c: Likewise.
41058 * math/w_sqrt.c: Likewise.
41059 * math/w_sqrtf.c: Likewise.
41060 * math/w_sqrtl.c: Likewise.
41061 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41062 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
41063 used.
41064 * math/math_private.h: Declare __kernel_standard_f.
41065 * math/w_cosh.c: Remove cruft and optimize a bit.
41066 * math/w_coshf.c: Likewise.
41067 * math/w_coshl.c: Likewise.
41068 * math/w_exp2.c: Likewise.
41069 * math/w_exp2f.c: Likewise.
41070 * math/w_exp2l.c: Likewise.
41071 * math/w_hypot.c: Likewise.
41072 * math/w_hypotf.c: Likewise.
41073 * math/w_hypotl.c: Likewise.
41074 * math/w_lgamma.c: Likewise.
41075 * math/w_lgamma_r.c: Likewise.
41076 * math/w_lgammaf.c: Likewise.
41077 * math/w_lgammaf_r.c: Likewise.
41078 * math/w_lgammal.c: Likewise.
41079 * math/w_lgammal_r.c: Likewise.
41080 * math/w_sinh.c: Likewise.
41081 * math/w_sinhf.c: Likewise.
41082 * math/w_sinhl.c: Likewise.
41083 * math/w_tgamma.c: Likewise.
41084 * math/w_tgammaf.c: Likewise.
41085 * math/w_tgammal.c: Likewise.
41086 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41087 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41088 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41089 Minor optimizations. Pretty printing. Remove cruft.
41090 * sysdeps/i386/fpu/e_acosf.S: Likewise.
41091 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41092 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41093 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41094 * sysdeps/i386/fpu/e_acosl.c: Likewise.
41095 * sysdeps/i386/fpu/e_asin.S: Likewise.
41096 * sysdeps/i386/fpu/e_asinf.S: Likewise.
41097 * sysdeps/i386/fpu/e_atan2.S: Likewise.
41098 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41099 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41100 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41101 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41102 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41103 * sysdeps/i386/fpu/e_exp10.S: Likewise.
41104 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41105 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41106 * sysdeps/i386/fpu/e_exp2.S: Likewise.
41107 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41108 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41109 * sysdeps/i386/fpu/e_fmod.S: Likewise.
41110 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41111 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41112 * sysdeps/i386/fpu/e_hypot.S: Likewise.
41113 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41114 * sysdeps/i386/fpu/e_log.S: Likewise.
41115 * sysdeps/i386/fpu/e_log10.S: Likewise.
41116 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41117 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41118 * sysdeps/i386/fpu/e_log2.S: Likewise.
41119 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41120 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41121 * sysdeps/i386/fpu/e_logf.S: Likewise.
41122 * sysdeps/i386/fpu/e_logl.S: Likewise.
41123 * sysdeps/i386/fpu/e_pow.S: Likewise.
41124 * sysdeps/i386/fpu/e_powf.S: Likewise.
41125 * sysdeps/i386/fpu/e_powl.S: Likewise.
41126 * sysdeps/i386/fpu/e_remainder.S: Likewise.
41127 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41128 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41129 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41130 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41131 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41132 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41133 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41134 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41135 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41136 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41137 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41138 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41139 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41140 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41141 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41142 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41143 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41144 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41145 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41146 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41147 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41148 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41149 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41150 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41151 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41152 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41153 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41154 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41155 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41156 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41157 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41158 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41159 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41160 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41161 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41162 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41163 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41164 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41165 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41166 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41167 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41168 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41169 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41170 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41171 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41172 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41173 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41174 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41175 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41176 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41177 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41178 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41179 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41180 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41181 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41182 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41183 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41184 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41185 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41186 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41187 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41188 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41189 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41190 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41191 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41192 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41193 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41194 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41195 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41196 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41197 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41198 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41199 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41200 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41201 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41202 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41203 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41204 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41205 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41206 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41207 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41208 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41209 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41210 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41211 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41212 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41213 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41214 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41215 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41216 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41217 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41218 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41219 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41220 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41221 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41222 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41223 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41224 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41225 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41226 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41227 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41228 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41229 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41230 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41231 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41232 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41233 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41234 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41235 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41236 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41237 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41238 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41239 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41240 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41241 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41242 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41243 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41244 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41245 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
41246 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41247 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41248 (__isnanf): Likewise.
41249 (__isinf_ns): Likewise.
41250 (__isinf_nsf): Likewise.
41251 (__finite): Likewise.
41252 (__finitef): Likewise.
41253 (__ieee754_sqrt): Define as macro.
41254 (__ieee754_sqrtf): Define as macro.
41255 (__ieee754_sqrtl): Define as macro.
41256 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41257 inlined copy.
41258 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41259 __FINITE_MATH_ONLY__ consistent.
41260 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41261
12cc2fcd
AS
412622011-10-10 Andreas Schwab <schwab@linux-m68k.org>
41263
a843a204
AS
41264 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41265 of rawmemchr.
41266
12cc2fcd
AS
41267 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41268
c853acd5
UD
412692011-10-09 Ulrich Drepper <drepper@gmail.com>
41270
41271 * po/ja.po: Update from translation team.
41272
c658d255
RM
412732011-10-08 Roland McGrath <roland@hack.frob.com>
41274
110946e4
RM
41275 * locale/programs/locarchive.c (prepare_address_space): New function.
41276 (create_archive, enlarge_archive, open_archive): Use it.
41277
50604220
RM
41278 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41279 inside [SHARED], where it is used.
41280
c658d255
RM
41281 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41282
41283 * nss/getent.c (netgroup_keys): Remove unused variable.
41284 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41285
6a621eb7
UD
412862011-10-08 Ulrich Drepper <drepper@gmail.com>
41287
7edb55ce
UD
41288 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41289 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41290 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41291 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41292 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41293 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41294 * math/Makefile (libm-calls): Add s_isinf_ns.
41295 * math/divtc3.c: Use __isinf_nsl instead of isinf.
41296 * math/multc3.c: Likewise.
41297 * math/s_casin.c: Likewise.
41298 * math/s_casinf.c: Likewise.
41299 * math/s_casinl.c: Likewise.
41300 * math/s_ccos.c: Likewise.
41301 * math/s_ccosf.c: Likewise.
41302 * math/s_ccosl.c: Likewise.
41303 * math/s_ctan.c: Likewise.
41304 * math/s_ctanf.c: Likewise.
41305 * math/s_ctanh.c: Likewise.
41306 * math/s_ctanhf.c: Likewise.
41307 * math/s_ctanhl.c: Likewise.
41308 * math/s_ctanl.c: Likewise.
41309 * math/w_fmod.c: Likewise.
41310 * math/w_fmodf.c: Likewise.
41311 * math/w_fmodl.c: Likewise.
41312 * math/w_remainder.c: Likewise.
41313 * math/w_remainderf.c: Likewise.
41314 * math/w_remainderl.c: Likewise.
41315 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41316 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41317 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41318 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41319 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41320 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41321 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41322 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41323
187da0ae
UD
41324 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41325 of the number.
41326 * stdio-common/printf_fphex.c: Likewise.
41327 * stdio-common/printf_size.c: Likewise.
41328
9277c064
UD
41329 * math/e_exp10.c: Include math_private.h using <...> not "...".
41330 * math/e_exp10f.c: Likewise.
41331 * math/e_exp10l.c: Likewise.
41332 * math/e_exp2l.c: Likewise.
41333 * math/e_j0l.c: Likewise.
41334 * math/e_j1l.c: Likewise.
41335 * math/e_jnl.c: Likewise.
41336 * math/e_lgammal_r.c: Likewise.
41337 * math/e_rem_pio2l.c: Likewise.
41338 * math/e_scalb.c: Likewise.
41339 * math/e_scalbf.c: Likewise.
41340 * math/e_scalbl.c: Likewise.
41341 * math/k_cosl.c: Likewise.
41342 * math/k_sinl.c: Likewise.
41343 * math/k_tanl.c: Likewise.
41344 * math/s_cacoshf.c: Likewise.
41345 * math/s_catan.c: Likewise.
41346 * math/s_catanf.c: Likewise.
41347 * math/s_catanh.c: Likewise.
41348 * math/s_catanhf.c: Likewise.
41349 * math/s_catanhl.c: Likewise.
41350 * math/s_catanl.c: Likewise.
41351 * math/s_ccosh.c: Likewise.
41352 * math/s_ccoshf.c: Likewise.
41353 * math/s_ccoshl.c: Likewise.
41354 * math/s_cexp.c: Likewise.
41355 * math/s_cexpf.c: Likewise.
41356 * math/s_cexpl.c: Likewise.
41357 * math/s_clog.c: Likewise.
41358 * math/s_clog10.c: Likewise.
41359 * math/s_clog10f.c: Likewise.
41360 * math/s_clog10l.c: Likewise.
41361 * math/s_clogf.c: Likewise.
41362 * math/s_clogl.c: Likewise.
41363 * math/s_csin.c: Likewise.
41364 * math/s_csinf.c: Likewise.
41365 * math/s_csinh.c: Likewise.
41366 * math/s_csinhf.c: Likewise.
41367 * math/s_csinhl.c: Likewise.
41368 * math/s_csinl.c: Likewise.
41369 * math/s_csqrt.c: Likewise.
41370 * math/s_csqrtf.c: Likewise.
41371 * math/s_csqrtl.c: Likewise.
41372 * math/s_ctan.c: Likewise.
41373 * math/s_ctanf.c: Likewise.
41374 * math/s_ctanh.c: Likewise.
41375 * math/s_ctanhf.c: Likewise.
41376 * math/s_ctanhl.c: Likewise.
41377 * math/s_ctanl.c: Likewise.
41378 * math/s_ldexp.c: Likewise.
41379 * math/s_ldexpf.c: Likewise.
41380 * math/s_ldexpl.c: Likewise.
41381 * math/s_significand.c: Likewise.
41382 * math/s_significandf.c: Likewise.
41383 * math/s_significandl.c: Likewise.
41384 * math/w_acos.c: Likewise.
41385 * math/w_acosf.c: Likewise.
41386 * math/w_acosh.c: Likewise.
41387 * math/w_acoshf.c: Likewise.
41388 * math/w_acoshl.c: Likewise.
41389 * math/w_acosl.c: Likewise.
41390 * math/w_asin.c: Likewise.
41391 * math/w_asinf.c: Likewise.
41392 * math/w_asinl.c: Likewise.
41393 * math/w_atan2.c: Likewise.
41394 * math/w_atan2f.c: Likewise.
41395 * math/w_atan2l.c: Likewise.
41396 * math/w_atanh.c: Likewise.
41397 * math/w_atanhf.c: Likewise.
41398 * math/w_atanhl.c: Likewise.
41399 * math/w_cosh.c: Likewise.
41400 * math/w_coshf.c: Likewise.
41401 * math/w_coshl.c: Likewise.
41402 * math/w_dremf.c: Likewise.
41403 * math/w_exp10.c: Likewise.
41404 * math/w_exp10f.c: Likewise.
41405 * math/w_exp10l.c: Likewise.
41406 * math/w_exp2.c: Likewise.
41407 * math/w_exp2f.c: Likewise.
41408 * math/w_fmod.c: Likewise.
41409 * math/w_fmodf.c: Likewise.
41410 * math/w_fmodl.c: Likewise.
41411 * math/w_hypot.c: Likewise.
41412 * math/w_hypotf.c: Likewise.
41413 * math/w_hypotl.c: Likewise.
41414 * math/w_j0.c: Likewise.
41415 * math/w_j0f.c: Likewise.
41416 * math/w_j0l.c: Likewise.
41417 * math/w_j1.c: Likewise.
41418 * math/w_j1f.c: Likewise.
41419 * math/w_j1l.c: Likewise.
41420 * math/w_jn.c: Likewise.
41421 * math/w_jnf.c: Likewise.
41422 * math/w_jnl.c: Likewise.
41423 * math/w_lgamma.c: Likewise.
41424 * math/w_lgamma_r.c: Likewise.
41425 * math/w_lgammaf.c: Likewise.
41426 * math/w_lgammaf_r.c: Likewise.
41427 * math/w_lgammal.c: Likewise.
41428 * math/w_lgammal_r.c: Likewise.
41429 * math/w_log.c: Likewise.
41430 * math/w_log10.c: Likewise.
41431 * math/w_log10f.c: Likewise.
41432 * math/w_log10l.c: Likewise.
41433 * math/w_log2.c: Likewise.
41434 * math/w_log2f.c: Likewise.
41435 * math/w_log2l.c: Likewise.
41436 * math/w_logf.c: Likewise.
41437 * math/w_logl.c: Likewise.
41438 * math/w_pow.c: Likewise.
41439 * math/w_powf.c: Likewise.
41440 * math/w_powl.c: Likewise.
41441 * math/w_remainder.c: Likewise.
41442 * math/w_remainderf.c: Likewise.
41443 * math/w_remainderl.c: Likewise.
41444 * math/w_scalb.c: Likewise.
41445 * math/w_scalbf.c: Likewise.
41446 * math/w_scalbl.c: Likewise.
41447 * math/w_sinh.c: Likewise.
41448 * math/w_sinhf.c: Likewise.
41449 * math/w_sinhl.c: Likewise.
41450 * math/w_sqrt.c: Likewise.
41451 * math/w_sqrtf.c: Likewise.
41452 * math/w_sqrtl.c: Likewise.
41453 * math/w_tgamma.c: Likewise.
41454 * math/w_tgammaf.c: Likewise.
41455 * math/w_tgammal.c: Likewise.
41456
6a621eb7
UD
41457 * po/ja.po: Update from translation team.
41458
bf582445
AJ
414592011-09-29 Andreas Jaeger <aj@suse.de>
41460
f9efbf3a
AJ
41461 [BZ #13179]
41462 * sunrpc/netname.c (netname2host): Fix logic.
41463
bf582445
AJ
41464 [BZ #6779]
41465 [BZ #6783]
41466 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41467 correctly.
41468 * math/w_remainder.c (__remainder): Likewise.
41469 * math/w_remainderf.c (__remainderf): Likewise.
41470 * math/libm-test.inc (remainder_test): Add test cases.
41471
48693bea
AK
414722011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41473
41474 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
41475 sdiv_qrnnd.
41476
42622229
LD
414772011-10-07 Ulrich Drepper <drepper@gmail.com>
41478
41479 * string/test-memcmp.c: Avoid unncessary #defines.
41480 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41481
093ecf92
LD
414822011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41483
41484 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41485 Use new sse2 version for core i3 - i7 as it's faster
41486 than sse42 version.
41487 (bit_Prefer_PMINUB_for_stringop): New.
41488 * sysdeps/x86_64/rawmemchr.S: Update.
41489 Replace with faster SSE2 version.
41490 * sysdeps/x86_64/memrchr.S: New file.
41491 * sysdeps/x86_64/memchr.S: Update.
41492 Replace with faster SSE2 version.
41493
fde56e5c
MP
414942011-09-12 Marek Polacek <mpolacek@redhat.com>
41495
41496 * elf/dl-load.c (lose): Add cast to avoid warning.
41497
21fd49a9
UD
414982011-10-07 Ulrich Drepper <drepper@gmail.com>
41499
5a06e643
UD
41500 * po/ca.po: Update from translation team.
41501
684ae515
UD
41502 * inet/getnetgrent_r.c: Hook up nscd.
41503 * nscd/Makefile (routines): Add nscd_netgroup.
41504 (nscd-modules): Add netgroupcache.
41505 (CFLAGS-netgroupcache.c): Define.
41506 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
41507 (cache_search): Add const to second parameter.
41508 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
41509 INNETGR.
41510 (dbs): Add netgrdb entry.
41511 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
41512 (verify_persistent_db): Handle netgrdb.
41513 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
41514 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
41515 GETFDNETGR.
41516 (netgroup_response_header): Define.
41517 (innetgroup_response_header): Define.
41518 (datahead): Add netgroup_response_header and innetgroup_response_header
41519 elements.
41520 * nscd/nscd.conf: Add entries for netgroup cache.
41521 * nscd/nscd.h (dbtype): Add netgrdb.
41522 (_PATH_NSCD_NETGROUP_DB): Define.
41523 (netgroup_iov_disabled): Declare.
41524 (xmalloc, xcalloc, xrealloc): Move declarations here.
41525 (cache_search): Adjust prototype.
41526 Add netgroup-related prototypes.
41527 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
41528 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
41529 (__nscd_innetgr): Declare.
41530 * nscd/selinux.c (perms): Use access_vector_t as element type and
41531 add netgroup-related initializers.
41532 * nscd/netgroupcache.c: New file.
41533 * nscd/nscd_netgroup.c: New file.
41534 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
41535 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
41536 For four parameters use innetgr.
41537 * nss/nss_files/files-init.c: Add definition and callback for netgr.
41538 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
41539 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
41540 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
41541
21fd49a9
UD
41542 * nscd/connections.c (register_traced_file): Don't register file
41543 for disabled databases.
41544
054c0457
UD
415452011-10-06 Ulrich Drepper <drepper@gmail.com>
41546
32b63198
UD
41547 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
41548
054c0457
UD
41549 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
41550 from tree and freeing node.
41551
64031225
JO
415522011-09-25 Jiri Olsa <jolsa@redhat.com>
41553
41554 * nss/nsswitch.c (__nss_database_lookup): Handle
41555 nss_parse_service_list out of memory case.
41556
0490345c
JO
415572011-09-15 Jiri Olsa <jolsa@redhat.com>
41558
41559 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
41560 out of memory case.
41561
3a62d00d
AS
415622011-10-04 Andreas Schwab <schwab@redhat.com>
41563
41564 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
41565 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
41566 pass it down.
41567 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
41568 elf_machine_rela, elf_machine_lazy_rel.
41569 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
41570 (ELF_DYNAMIC_DO_REL): Likewise.
41571 (ELF_DYNAMIC_DO_RELA): Likewise.
41572 (ELF_DYNAMIC_RELOCATE): Likewise.
41573 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
41574 to ELF_DYNAMIC_DO_REL.
41575 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
41576 (dl_main): In trace mode always set __RTLD_NOIFUNC.
41577 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
41578 elf_machine_rela.
41579 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
41580 skip_ifunc, don't call ifunc function if non-zero.
41581 (elf_machine_rela): Likewise.
41582 (elf_machine_lazy_rel): Likewise.
41583 (elf_machine_lazy_rela): Likewise.
41584 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
41585 (elf_machine_lazy_rel): Likewise.
41586 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
41587 Likewise.
41588 (elf_machine_lazy_rel): Likewise.
41589 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41590 Likewise.
41591 (elf_machine_lazy_rel): Likewise.
41592 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
41593 (elf_machine_lazy_rel): Likewise.
41594 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
41595 (elf_machine_lazy_rel): Likewise.
41596 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41597 (elf_machine_lazy_rel): Likewise.
41598 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
41599 (elf_machine_lazy_rel): Likewise.
41600 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
41601 (elf_machine_lazy_rel): Likewise.
41602 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41603 (elf_machine_lazy_rel): Likewise.
41604
68577918
UD
416052011-09-28 Ulrich Drepper <drepper@gmail.com>
41606
41607 * nss/nss_files/files-init.c (_nss_files_init): Use static
41608 initialization for all the *_traced_file variables.
41609
68822d74
AS
416102011-09-28 Andreas Schwab <schwab@redhat.com>
41611
41612 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41613
2056100b
RM
416142011-09-27 Roland McGrath <roland@hack.frob.com>
41615
41616 [BZ #13226]
41617 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
41618
32c76b63
AS
416192011-09-27 Andreas Schwab <schwab@redhat.com>
41620
41621 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41622 Reread the line before reparsing it.
41623
bf972c9d
AS
416242011-09-26 Andreas Schwab <schwab@redhat.com>
41625
41626 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
41627
e057a1b5
JM
416282011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
41629 Maxim Kuvyrkov <maxim@codesourcery.com>
41630 Joseph Myers <joseph@codesourcery.com>
41631
41632 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
41633 if needed for __stack_chk_guard.
41634
bc7e1c36
RM
416352011-09-19 Roland McGrath <roland@hack.frob.com>
41636
ecb1482f
RM
41637 * sysdeps/posix/spawni.c (script_execute): Always define it.
41638 It will be optimized away if unused.
41639 (maybe_script_execute): New function.
41640 (__spawni): Call it.
41641
bc7e1c36
RM
41642 * Makerules: Don't include tls.make.
41643 (config-tls): Always set to thread.
41644 * tls.make.c: File removed.
41645
1c3b002b
MF
416462011-09-19 Mike Frysinger <vapier@gentoo.org>
41647
41648 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
41649 * config.make.in (CPPFLAGS-config): New substituted variable.
41650
2840865d
UD
416512011-09-15 Ulrich Drepper <drepper@gmail.com>
41652
88738eb6
UD
41653 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
41654
cbf645a6 41655 [BZ #13192]
2840865d
UD
41656 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
41657 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
41658
b402e91a
RM
416592011-09-15 Roland McGrath <roland@hack.frob.com>
41660
41661 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
41662 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
41663 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41664 (CALL_FAIL): Likewise.
41665 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
41666 (CALL_FAIL): Macro removed.
41667 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
41668
4c1a1f71
UD
416692011-09-15 Ulrich Drepper <drepper@gmail.com>
41670
41671 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
41672 for __FINITE_MATH_ONLY__ == 1.
41673
edc121be
AS
416742011-09-15 Andreas Schwab <schwab@redhat.com>
41675
41676 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
41677 __ieee754_sqrt instead of sqrt.
41678 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
41679 __ieee754_sqrtf instead of sqrtf.
41680 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
41681 __floorf instead of floorf.
41682 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
41683 __floorf, __truncf instead of floorf, truncf.
41684
cd205654
UD
416852011-09-14 Ulrich Drepper <drepper@gmail.com>
41686
ee4d0315
UD
41687 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
41688
cd205654
UD
41689 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
41690 __extern_always_inline.
41691 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
41692 32-bit.
41693
48b67d71
AS
416942011-09-14 Andreas Schwab <schwab@redhat.com>
41695
41696 * elf/rtld.c (dl_main): Also relocate in dependency order when
41697 doing symbol dependency testing.
41698
1ae12c75
AS
416992011-09-13 Andreas Schwab <schwab@linux-m68k.org>
41700
41701 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41702 Always define `refsym'.
41703
995a80df
AS
417042011-09-13 Andreas Schwab <schwab@redhat.com>
41705
e529793b
AS
41706 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
41707 (__FD_ELT): Renamed from __FDELT.
41708 * misc/bits/select2.h (__FD_ELT): Likewise.
41709 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
41710 __FD_MASK instead of __FDELT, __FDMASK.
41711 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41712 Likewise.
41713 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41714 Likewise.
41715
52d4fef8
AS
41716 * elf/Makefile (gen-ldd): Fix pattern.
41717
995a80df
AS
41718 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
41719 (init_tls): Likewise.
41720
8682f8b0
UD
417212011-09-12 Ulrich Drepper <drepper@gmail.com>
41722
41723 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
41724
de82006d
AS
417252011-09-12 Andreas Schwab <schwab@redhat.com>
41726
a7c8e6a1
AS
41727 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
41728 `struct cmsghdr *' instead of `void *'.
41729 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
41730 Likewise.
41731
0f31fe77
AS
417322011-09-11 Andreas Schwab <schwab@linux-m68k.org>
41733
41734 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
41735 if non-absolute.
41736 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
41737 ldd_rewrite_script.
0f31fe77 41738
32b4c839
UD
417392011-09-11 Ulrich Drepper <drepper@gmail.com>
41740
83cd1420
UD
41741 * configure.in: Remove --with-tls option.
41742 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
41743 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
41744 out in case it is missing.
41745 * sysdeps/ia64/elf/configure.in: Likewise.
41746 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
41747 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
41748 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
41749 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
41750 * sysdeps/sh/elf/configure.in: Likewise.
41751 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
41752 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41753 * sysdeps/x86_64/elf/configure.in: Likewise.
41754 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
41755 * sysdeps/mach/hurd/tls.h: Likewise.
41756
633f745d
UD
41757 [BZ #13067]
41758 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
41759
f318beb8
UD
41760 [BZ #13090]
41761 * configure.in: Fix use of AC_INIT.
41762
32b4c839
UD
41763 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
41764
3ce1f295
UD
417652011-09-10 Ulrich Drepper <drepper@gmail.com>
41766
bb016596
UD
41767 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
41768 __set_errno.
8e58439c
UD
41769 * malloc/hooks.c: Likewise.
41770
aebae053 41771 [BZ #11929]
02d46fc4
UD
41772 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
41773 variables statically.
41774 (narenas): Initialize.
41775 (list_lock): Initialize.
bb016596
UD
41776 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
41777 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
41778 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
41779 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
41780 Add initializers to main_arena and mp_.
41781 (malloc_state): Remove pagesize member. Change all users to use
41782 GLRO(dl_pagesize).
41783
41784 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
41785 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
41786 is always initialized.
41787
22a89187
UD
41788 * malloc/malloc.c: Removed unused configurations and dead code.
41789 * malloc/arena.c: Likewise.
41790 * malloc/hooks.c: Likewise.
02d46fc4 41791 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 41792
d063d164
UD
41793 * include/tls.h: Removed. USE___THREAD must always be defined.
41794 * bits/libc-tsd.h: Don't handle !USE___THREAD.
41795 * elf/dl-libc.c: Likewise.
41796 * elf/dl-tsd.c: Likewise.
41797 * include/errno.h: Likewise.
41798 * include/netdb.h: Likewise.
41799 * include/resolv.h: Likewise.
41800 * inet/herrno-loc.c: Likewise.
41801 * inet/herrno.c: Likewise.
41802 * malloc/arena.c: Likewise.
41803 * malloc/hooks.c: Likewise.
41804 * malloc/malloc.c: Likewise.
41805 * resolv/res-state.c: Likewise.
41806 * resolv/res_libc.c: Likewise.
41807 * sysdeps/i386/dl-machine.h: Likewise.
41808 * sysdeps/ia64/dl-machine.h: Likewise.
41809 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41810 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41811 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41812 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41813 * sysdeps/sh/dl-machine.h: Likewise.
41814 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41815 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41816 * sysdeps/unix/i386/sysdep.S: Likewise.
41817 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41818 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41819 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41820 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41821 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41822 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41823 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41824 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41825 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41826 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41827 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41828 * sysdeps/x86_64/dl-machine.h: Likewise.
41829 * tls.make.c: Likewise.
41830
3ce1f295
UD
41831 * configure.in: Remove --with-__thread option. Make tests for
41832 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
41833 tls_model attribute fail if no support is available. Remove
41834 USE_IN_LIBIO.
41835 * Makeconfig: Adjust for dropped configure option. All features are
41836 now mandatory.
41837 * Makerules: Likewise.
41838 * Versions.def: Likewise.
41839 * argp/argp-fmtstream.c: Likewise.
41840 * argp/argp-fmtstream.h: Likewise.
41841 * argp/argp-help.c: Likewise.
41842 * assert/assert.c: Likewise.
41843 * config.h.in: Likewise.
41844 * config.make.in: Likewise.
41845 * configure: Likewise.
41846 * configure.in: Likewise.
41847 * csu/Versions: Likewise.
41848 * csu/init.c: Likewise.
41849 * elf/tst-audit2.c: Likewise.
41850 * elf/tst-tls10.c: Likewise.
41851 * elf/tst-tls10.h: Likewise.
41852 * elf/tst-tls11.c: Likewise.
41853 * elf/tst-tls12.c: Likewise.
41854 * elf/tst-tls14.c: Likewise.
41855 * elf/tst-tlsmod11.c: Likewise.
41856 * elf/tst-tlsmod12.c: Likewise.
41857 * elf/tst-tlsmod13.c: Likewise.
41858 * elf/tst-tlsmod13a.c: Likewise.
41859 * elf/tst-tlsmod14a.c: Likewise.
41860 * elf/tst-tlsmod15b.c: Likewise.
41861 * elf/tst-tlsmod16a.c: Likewise.
41862 * elf/tst-tlsmod16b.c: Likewise.
41863 * elf/tst-tlsmod7.c: Likewise.
41864 * elf/tst-tlsmod8.c: Likewise.
41865 * elf/tst-tlsmod9.c: Likewise.
41866 * gmon/gmon.c: Likewise.
41867 * grp/fgetgrent_r.c: Likewise.
41868 * grp/putgrent.c: Likewise.
41869 * hurd/fopenport.c: Likewise.
41870 * include/libc-symbols.h: Likewise.
41871 * include/tls.h: Likewise.
41872 * intl/gettextP.h: Likewise.
41873 * intl/loadinfo.h: Likewise.
41874 * locale/global-locale.c: Likewise.
41875 * locale/localeinfo.h: Likewise.
41876 * mach/devstream.c: Likewise.
41877 * malloc/arena.c: Likewise.
41878 * malloc/set-freeres.c: Likewise.
41879 * misc/err.c: Likewise.
41880 * misc/getttyent.c: Likewise.
41881 * misc/mntent_r.c: Likewise.
41882 * posix/getopt.c: Likewise.
41883 * posix/wordexp.c: Likewise.
41884 * pwd/fgetpwent_r.c: Likewise.
41885 * resolv/Versions: Likewise.
41886 * resolv/res_hconf.c: Likewise.
41887 * shadow/fgetspent_r.c: Likewise.
41888 * shadow/putspent.c: Likewise.
41889 * stdio-common/printf_fphex.c: Likewise.
41890 * stdio-common/tmpfile.c: Likewise.
41891 * stdlib/abort.c: Likewise.
41892 * stdlib/fmtmsg.c: Likewise.
41893 * sunrpc/auth_unix.c: Likewise.
41894 * sunrpc/clnt_perr.c: Likewise.
41895 * sunrpc/clnt_tcp.c: Likewise.
41896 * sunrpc/clnt_udp.c: Likewise.
41897 * sunrpc/clnt_unix.c: Likewise.
41898 * sunrpc/openchild.c: Likewise.
41899 * sunrpc/svc_simple.c: Likewise.
41900 * sunrpc/svc_tcp.c: Likewise.
41901 * sunrpc/svc_udp.c: Likewise.
41902 * sunrpc/svc_unix.c: Likewise.
41903 * sunrpc/xdr.c: Likewise.
41904 * sunrpc/xdr_array.c: Likewise.
41905 * sunrpc/xdr_rec.c: Likewise.
41906 * sunrpc/xdr_ref.c: Likewise.
41907 * sunrpc/xdr_stdio.c: Likewise.
41908
1248c1c4
PB
419092011-09-09 Ulrich Drepper <drepper@gmail.com>
41910
41911 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41912
419132011-07-03 Andreas Jaeger <aj@suse.de>
41914
41915 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
41916 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
41917 regenerate with gen-libm-tests.pl.
41918
419192010-05-12 Petr Baudis <pasky@suse.cz>
41920
41921 [BZ #11589]
41922 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
41923 around j0() zero points by switching to j1().
41924 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41925 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41926 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41927 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41928
f22e1074
UD
419292011-09-09 Ulrich Drepper <drepper@gmail.com>
41930
f19009c1
UD
41931 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
41932 instead of 0.
41933 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 41934 instead of 0.
f19009c1
UD
41935 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41936 Patch in part by Pavel Roskin <proski@gnu.org>.
41937
3f8cc204
UD
41938 [BZ #13138]
41939 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
41940 realloc.
41941 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
41942 Free memory block if necessary.
41943
f22e1074
UD
41944 [BZ #12847]
41945 * libio/genops.c (INTDEF): For string streams the _lock pointer can
41946 be NULL. Don't lock in this case.
41947
0a2349f9
RM
419482011-09-09 Roland McGrath <roland@hack.frob.com>
41949
41950 * elf/elf.h (ELFOSABI_GNU): New macro.
41951 (ELFOSABI_LINUX): Define to that.
41952
f3cdd467
DZ
419532011-07-29 Denis Zaitceff <zaitceff@gmail.com>
41954
41955 * string/strncat.c (strncat): Undef the symbol in case it has been
41956 defined in bits/string.h.
41957
74718d13
UD
419582011-09-09 Ulrich Drepper <drepper@gmail.com>
41959
633e9e0f
UD
41960 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
41961
0a2349f9 41962 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
41963 link map.
41964
f9924780
AJ
419652011-08-17 Andreas Jaeger <aj@suse.de>
41966
41967 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
41968
7f5517aa
PP
419692011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
41970 Ian Lance Taylor <iant@google.com>
41971
41972 * math/libm-test.inc (lround_test): New testcase.
41973 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
41974
762011fe
UD
419752011-09-08 Ulrich Drepper <drepper@gmail.com>
41976
92963737
UD
41977 * Makefile: Remove support for automatic cvs check-ins.
41978 * Makerules: Likewise.
41979 * config.make.in: Likewise.
41980 * configure.in: Likewise.
41981 * intl/Makefile: Likewise.
41982 * locale/Makefile: Likewise.
41983 * po/Makefile: Likewise.
41984 * posix/Makefile: Likewise.
41985 * sysdeps/gnu/Makefile: Likewise.
41986 * sysdeps/mach/hurd/Makefile: Likewise.
41987 * sysdeps/sparc/sparc32/Makefile: Likewise.
41988
b0727fd8
JS
41989 [BZ #13118]
41990 * posix/Makefile (bug-regex32-ENV): Define.
41991 Patch by John Stanley <jpsinthemix@verizon.net>.
41992
a0f33f99
UD
41993 * misc/Makefile (headers): Add bits/select2.h.
41994 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
41995 * misc/bits/select2.h: New file.
41996 * include/bits/select2.h: New file.
41997 * debug/Makefile (routines): Add fdelt_chk.
41998 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
41999 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42000 FD_ISSET.
42001 * debug/fdelt_chk.c: New file.
42002
762011fe
UD
42003 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
42004 * wcsmbs/test-wmemcmp.c: Likewise.
42005 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 42006 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
42007
420082011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42009
42010 * string/Makefile (strop-tests): Add memcmp.
42011 * string/test-wmemcmp.c: New file.
42012 * string/test-memcmp.c: Add wmemcmp support.
42013
7f513ec8
RM
420142011-09-08 Roland McGrath <roland@hack.frob.com>
42015
0442afb4
RM
42016 [BZ #13153]
42017 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42018 2011-07-19 change.
42019
7f513ec8
RM
42020 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42021 garbage value in a __mach_port_mod_refs call in the cases of the
42022 task-self and thread-self ports.
42023
a12b2239
ST
420242011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42025
42026 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42027
610f9ab4
AS
420282011-09-08 Andreas Schwab <schwab@redhat.com>
42029
7f513ec8 42030 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 42031
48882a1a
LD
420322011-09-07 Ulrich Drepper <drepper@gmail.com>
42033
b49865be
UD
42034 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42035
fdc86bc9
UD
42036 * elf/dl-libc.c (dlerror_run): Pass back error code from
42037 dl_catch_error.
42038
c966526a
UD
42039 [BZ #13123]
42040 * elf/dl-load.c (lose): Free l_origin if it is valid.
42041
48882a1a
LD
42042 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42043 names.
42044 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42045 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42046 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42047 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42048 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42049 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42050
77a2a8b4
AZ
420512011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42052
42053 * sysdeps/powerpc/fpu/e_hypot.c: New file.
42054 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42055 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42056 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42057 * sysdeps/powerpc/fpu/k_cosf.c: New file.
42058 * sysdeps/powerpc/fpu/k_sinf.c: New file.
42059 * sysdeps/powerpc/fpu/s_cosf.c: New file.
42060 * sysdeps/powerpc/fpu/s_sinf.c: New file.
42061 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42062 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42063
24f579d8
AM
420642011-08-15 Alan Modra <amodra@gmail.com>
42065
42066 [BZ #13092]
42067 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42068 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42069 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
42070 ppc_mcount to static-only-routines.
42071 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42072 __mcount_internal.
42073 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42074 __mcount_internal with usual JUMPTARGET. Remove useless nop.
42075
3d4837df
UD
420762011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
42077
42078 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42079 for finite and infinity parameters.
42080
22700377
WS
420812011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42082
42083 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42084 and add nop instructions for throughput optimization.
42085 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42086
5025581e
WS
420872011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
42088
42089 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42090 aligned copy for power7 with vector-scalar instructions.
42091 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42092
08a300c9
L
420932011-07-24 H.J. Lu <hongjiu.lu@intel.com>
42094
42095 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42096 AVX check.
42097
59178ef9
AS
420982011-09-07 Andreas Schwab <schwab@redhat.com>
42099
42100 [BZ #13144]
42101 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42102 last change.
42103
e38ba7ab
UD
421042011-09-07 Ulrich Drepper <drepper@gmail.com>
42105
42106 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42107 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42108 syscall wrapper around clock_gettime in __vdso_clock_gettime.
42109 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42110 clock_gettime.
42111
d53a73ac
UD
421122011-09-06 Ulrich Drepper <drepper@gmail.com>
42113
fc8bffcc
UD
42114 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42115 Forgot to demangle the pointer.
42116
ceaa0c5d
UD
42117 * sysdeps/i386/sysdep.h: Define atom_text_section.
42118 * sysdeps/x86_64/sysdep.h: Likewise.
42119 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42120 section with atom_text_section.
42121 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42122 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42123 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42124 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42125 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42126
a77d3c17
UD
42127 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42128 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42129 already be defined. Change to take two parameters and don't assign
42130 result to variable. Adjust all users.
42131 Define INTERNAL_GETTIME if not already defined.
42132 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42133 call.
42134 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42135 HAVE_CLOCK_GETTIME_VSYSCALL.
42136 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42137
d53a73ac
UD
42138 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42139 gettimeofday vsyscall, just use time.
42140
a8f84144
AS
421412011-09-06 Andreas Schwab <schwab@redhat.com>
42142
42143 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42144 <errno.h>.
42145
ef606249
UD
421462011-09-06 Ulrich Drepper <drepper@gmail.com>
42147
42148 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42149 syscall on x86-64.
42150 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42151 syscall.
42152 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42153 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42154 syscall if possible.
42155
6585cb60
UD
421562011-09-05 Ulrich Drepper <drepper@gmail.com>
42157
42158 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42159 e_ident. Don't pass to find_mapsXX.
42160 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42161
a5f524e4
LD
421622011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42163
42164 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42165 strchr-sse2-no-bsf strrchr-sse2-no-bsf
42166 * sysdeps/x86_64/multiarch/strchr.S: Update.
42167 Check bit_slow_BSF bit.
42168 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42169 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42170 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42171
554881ef
UD
421722011-09-05 Ulrich Drepper <drepper@gmail.com>
42173
d96de963
UD
42174 [BZ #13134]
42175 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42176 before glibc 2.15.
42177 (tryshell): Define.
42178 (__spawni): Change last parameter to be flag. Test
42179 SPAWN_XFLAGS_USE_PATH flag to use path or not.
42180 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42181 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42182 * posix/spawni.c: Likewise.
42183 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42184 * posix/spawnp.c: Likewise. Change normal version to use
42185 SPAWN_XFLAGS_USE_PATH.
42186 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42187 SPAWN_XFLAGS_TRY_SHELL.
42188
d48e5868
UD
42189 [BZ #13150]
42190 * posix/glob.h: Remove gcc 1.x support.
42191
554881ef
UD
42192 [BZ #13068]
42193 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42194
693fb948
LD
421952011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42196
42197 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42198 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42199 strrchr-sse2-bsf
42200 * sysdeps/i386/i686/multiarch/strchr.S: New file.
42201 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42202 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42203 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42204 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42205 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42206
1b48c537
UD
422072011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42208
49d42c37
UD
42209 * sysdeps/x86_64/wcscmp.S: New file.
42210
1b48c537
UD
42211 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42212 wcscmp-c wcscmp-sse2
42213 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42214 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42215 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42216 * wcsmbs/wcscmp.c: Allow renaming.
42217
15c95c5d
DM
422182011-09-05 David S. Miller <davem@davemloft.net>
42219
42220 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42221 stack slot, rather than the struct return pointer slot.
42222 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42223 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42225 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42226
2f0ad8f3
UD
422272011-09-05 Ulrich Drepper <drepper@gmail.com>
42228
d88ae418
UD
42229 * po/ja.po: Update from translation team.
42230
2f0ad8f3
UD
42231 [BZ #13144]
42232 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42233 kernel in 64-bit binaries.
42234
5f4318d1
DM
422352011-09-01 David S. Miller <davem@davemloft.net>
42236
42237 * elf/elf.h (HWCAP_SPARC_*): Move to..
42238 * sysdeps/sparc/sysdep.h: this new file and add new values.
42239 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42240 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42241 _DL_HWCAP_COUNT to 24.
42242 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42243 entries.
42244 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42245 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42246 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42247 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42248 instead of magic constants.
42249 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42250
3ba57516
DM
422512011-08-31 David S. Miller <davem@davemloft.net>
42252
42253 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42254 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42255 Reimplement to do errno handling inline.
42256 (SYSCALL_ERROR_HANDLER): New macro.
42257 (__SYSCALL_STRING): Do not do errno handling in asm.
42258 (__CLONE_SYSCALL_STRING): Delete.
42259 (__INTERNAL_SYSCALL_STRING): Delete.
42260 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42261 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42262 (PSEUDO): Reimplement to do errno handling inline.
42263 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42264 (SYSCALL_ERROR_HANDLER): New macro.
42265 (__SYSCALL_STRING): Do not do errno handling in asm.
42266 (__CLONE_SYSCALL_STRING): Delete.
42267 (__INTERNAL_SYSCALL_STRING): Delete.
42268 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42269 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42270 i386.
42271 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42272 (inline_syscall*): Add 'err' argument.
42273 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42274 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42275 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42276 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42277
42278 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42279 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42280
2bc17433
AS
422812011-08-30 Andreas Schwab <schwab@redhat.com>
42282
42283 * elf/rtld.c (dl_main): Relocate objects in dependency order.
42284
fbeb5f4d
JO
422852011-08-29 Jiri Olsa <jolsa@redhat.com>
42286
42287 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42288 directive.
42289
ad69cc26
DM
422902011-08-24 David S. Miller <davem@davemloft.net>
42291
42292 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42293
39dd69df
AS
422942011-08-24 Andreas Schwab <schwab@redhat.com>
42295
42296 * elf/Makefile: Add rules to build and run unload8 test.
42297 * elf/unload8.c: New file.
42298 * elf/unload8mod1.c: New file.
42299 * elf/unload8mod1x.c: New file.
42300 * elf/unload8mod2.c: New file.
42301 * elf/unload8mod3.c: New file.
42302
42303 * elf/dl-close.c (_dl_close_worker): Reset private search list if
42304 it wasn't used.
42305
2c0b250a
DM
423062011-08-23 David S. Miller <davem@davemloft.net>
42307
42308 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42309 subtract stack bias.
42310 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42311 %sp not %fp in calculations.
42312 (_JMPBUF_UNWINDS_ADJ): Likewise.
42313
22044b48
DM
42314 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42315 (aio_suspend): Call it to force an exception region around the
42316 AIO_MISC_WAIT() invocation.
42317
2cae4995
AS
423182011-08-23 Andreas Schwab <schwab@redhat.com>
42319
42320 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42321 backslash.
42322
873a772e
AJ
423232011-07-04 Aurelien Jarno <aurelien@aurel32.net>
42324
42325 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42326 protection macro.
42327 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42328 and <dl-machine.h>.
42329 (Elf64_FuncDesc): Remove.
42330
25ad0df1
DM
423312011-08-22 David S. Miller <davem@davemloft.net>
42332
42333 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42334 sigaltstack check, add missing cfi directives.
42335 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42336 missing cfi directives, and sigaltstack handling.
42337
e888bcbe
AS
423382011-08-16 Andreas Schwab <schwab@redhat.com>
42339
42340 [BZ #11724]
42341 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42342 object is seen twice.
42343 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42344
42345 * elf/Makefile (distribute): Add tst-initorder2.c.
42346 (tests): Add tst-initorder2.
42347 (modules-names): Add tst-initorder2a tst-initorder2b
42348 tst-initorder2c tst-initorder2d. Add rules to build them.
42349 ($(objpfx)tst-initorder2.out): New rule.
42350 * elf/tst-initorder2.c: New file.
42351 * elf/tst-initorder2.exp: New file.
42352
87162f46
AS
423532011-08-22 Andreas Schwab <schwab@redhat.com>
42354
70538b7f
AS
42355 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42356
f55ffe58
AS
42357 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42358 dependencies back to end of function.
42359
87162f46
AS
42360 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42361 $(elfobjdir)/ld.so.
42362
91b392a4
UD
423632011-08-21 Ulrich Drepper <drepper@gmail.com>
42364
42365 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42366 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42367 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42368 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42369 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42370 of __vdso_gettimeofday.
42371 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42372 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
42373 attribute_hidden.
42374 (_libc_vdso_platform_setup): Remove initialization of
42375 __vdso_gettimeofday and __vdso_time.
42376
5c43483f
UD
423772011-08-20 Ulrich Drepper <drepper@gmail.com>
42378
775a77e7
UD
42379 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42380 and fgetc_unlocked.
42381 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42382 getc_unlocked.
89f447ed 42383
49c74ba9
UD
42384 * elf/dl-open.c (add_to_global): Report additions to the global scope
42385 for LD_DEBUG=scopes.
42386 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 42387 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 42388
5c43483f
UD
42389 [BZ #13114]
42390 * stdio-common/Makefile (tests): Add bug24.
42391 * stdio-common/bug24.c: New file.
42392
a101b025
AJ
423932011-08-19 Andreas Jaeger <aj@suse.de>
42394
42395 [BZ #13114]
42396 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42397 non-existant file when using close-on-exec mode.
42398
c88f1766
UD
423992011-08-20 Ulrich Drepper <drepper@gmail.com>
42400
0276a718
UD
42401 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42402 the very first instruction.
42403
c88f1766
UD
42404 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42405 the CFI state in the end.
42406 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42407 inclusion of dl-trampoline.h.
42408 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42409
51ccffa0
AS
424102011-08-19 Andreas Schwab <schwab@redhat.com>
42411
94d7165f
AS
42412 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42413 expectations for long double.
42414
51ccffa0
AS
42415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42416 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42417
fd708658 424182011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
42419
42420 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42421 artificual limit depends upon the system page size.
42422
44f0a71e
UD
424232011-08-17 Ulrich Drepper <drepper@gmail.com>
42424
42425 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42426 * resolv/Makefile: Define CFLAGS-libresolv.
42427
8de79a24
AS
424282011-08-17 Andreas Schwab <schwab@redhat.com>
42429
42430 * nss/makedb.c (compute_tables): Make variables used in nested
42431 function static.
42432
27724598
UD
424332011-08-17 Ulrich Drepper <drepper@gmail.com>
42434
c5305d88
UD
42435 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42436 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42437 if buffer was too small.
42438
27724598
UD
42439 * elf/pldd.c (main): Attach to all threads in the process.
42440 Rewrite /proc handling to use *at functions.
42441
076fe015
UD
424422011-08-16 Ulrich Drepper <drepper@gmail.com>
42443
174baab3
UD
42444 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42445 specifies first scope to show.
42446 (dl_open_worker): Update callers. Move printing scope of new
42447 object to before the relocation.
44f0a71e 42448 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
42449 * sysdeps/generic/ldsodefs.h: Update declaration.
42450
076fe015
UD
42451 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42452 string for the scope number.
42453
a60df2c3
UD
424542011-08-14 Ulrich Drepper <drepper@gmail.com>
42455
42456 * nscd/servicescache.c (cache_addserv): Make sure written is always
42457 initialized.
42458
5e4287d1
RM
424592011-08-14 Roland McGrath <roland@hack.frob.com>
42460
85ae0589
RM
42461 * sysdeps/i386/i486/bits/atomic.h
42462 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42463 statement expression, so as to suppress "set but not used" warning.
42464 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42465
69f63097
RM
42466 * string/strncat.c (STRNCAT): Use prototype definition.
42467
675456ef
RM
42468 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42469 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42470 -Iprograms here.
42471 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42472 (localedef-modules): Add localedef.
42473 (locale-modules): Add locale.
42474
5e4287d1
RM
42475 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42476 * elf/rtld.c (dl_main): Invert order of assignment in last change,
42477 to avoid a warning.
42478
9c96ff23
DM
424792011-08-14 David S. Miller <davem@davemloft.net>
42480
42481 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42482 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42483
f9ddf089
UD
424842011-08-13 Ulrich Drepper <drepper@gmail.com>
42485
44f0a71e 42486 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
42487 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42488 * elf/rtld.c (dl_main): Set l_name of vDSO.
42489 Call _dl_show_scope when DL_DEBUG_SCOPES.
42490 (process_dl_debug): Recognize scopes flag and also set it for all.
42491 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42492 Declare _dl_show_scope.
42493
1dc27704
UD
42494 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42495 (do_dlopen): Pass caller_dlopen to dl_open.
42496 (__libc_dlopen_mode): Initialize caller_dlopen.
42497
f9ddf089
UD
42498 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
42499 of libc. Make tolower call locale-independent. Optimize a bit by
42500 using isdigit instead of isalnum.
42501 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
42502
9ac533d3
UD
425032011-08-12 Ulrich Drepper <drepper@gmail.com>
42504
42505 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
42506 was a dependency or dynamically loaded.
42507
89edf2e9
UD
425082011-08-11 Ulrich Drepper <drepper@gmail.com>
42509
8e999d29
UD
42510 * intl/l10nflist.c: Allow architecture-specific pop function.
42511 * sysdeps/x86_64/l10nflist.c: New file.
42512
89edf2e9
UD
42513 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
42514 classification.
42515
14d96785
AS
425162011-08-10 Andreas Schwab <schwab@redhat.com>
42517
42518 * include/dirent.h: Add libc_hidden_proto for scandirat and
42519 scandirat64. Don't declare __scandirat64.
42520 * dirent/scandirat.c: Add libc_hidden_def.
42521 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
42522 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
42523
6761ac04
DM
425242011-08-10 David S. Miller <davem@davemloft.net>
42525
42526 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
42527 enum.
42528 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42529 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42530 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42531
c55fbd1e
UD
425322011-08-09 Ulrich Drepper <drepper@gmail.com>
42533
42534 * Versions.def [libc]: Add GLIBC_2.15.
42535 * dirent/Makefile (routines): Add scandirat and scandirat64.
42536 * dirent/Versions [libc]: Export scandirat and scandirat64 for
42537 GLIBC_2.15.
42538 * dirent/dirent.h: Declare scandirat and scandirat64.
42539 * dirent/scandirat.c: New file.
42540 * dirent/scandirat64.c: New file.
42541 * sysdeps/wordsize-64/scandirat.c: New file.
42542 * sysdeps/wordsize-64/scandirat64.c: New file.
42543 * dirent/opendir.c: Define opendirat.
42544 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
42545 using scandirat.
42546 * dirent/scandir64.c: Adjust for scandir.c change.
42547 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
42548 __scandirat64, and __scandir_cancel_handler.
42549 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
42550 additional parameter and use openat instead of open (outside of ld.so).
42551 Add new __opendir as wrapper around __opendirat.
42552 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
42553 here without requiring old scandirat implementation.
42554
879165f2
UD
425552011-08-08 Ulrich Drepper <drepper@gmail.com>
42556
42557 * dirent/scandir.c (cancel_handler): Renamed to
42558 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
42559 defined. Adjust users.
42560 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
42561 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
42562
cb7e923b
UD
425632011-08-04 Ulrich Drepper <drepper@gmail.com>
42564
16292edd
UD
42565 * string/test-string.h (IMPL): Use __STRING to expand name and then
42566 stringify it.
42567
cb7e923b
UD
42568 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
42569 of cleanups.
42570
cff82933
LD
425712011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42572
42573 * string/Makefile: Update.
42574 (strop-tests): Append strncat.
42575 * string/test-wcscmp.c: New file.
42576 New comprehensive test for wcscmp.
42577 * string/test-strcmp.c: Update.
42578 (WIDE): New define.
42579
9be9bfcc
AS
425802011-07-22 Andreas Schwab <schwab@redhat.com>
42581
42582 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
42583 line.
42584
2e96f1c7
AS
425852011-07-26 Andreas Schwab <schwab@redhat.com>
42586
42587 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42588 encoding to ACE if AI_IDN.
42589
85188888
JJ
425902011-08-01 Jakub Jelinek <jakub@redhat.com>
42591
42592 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
42593 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
42594
5fa16e9b
LD
425952011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42596
42597 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
42598 Fix overflow bug in strncat.
42599 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42600
42601 * string/test-strncat.c: Update.
42602 Add new tests for checking overflow bugs.
42603
426042011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42605
42606 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42607 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
42608 * sysdeps/i386/i686/multiarch/strcat.S: New file.
42609 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
42610 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
42611 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
42612 * sysdeps/i386/i686/multiarch/strncat.S: New file.
42613 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
42614 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
42615
42616 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
42617 (USE_AS_STRCAT): Define.
42618 Add strcat and strncat support.
42619 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42620
8c1a459f
AS
426212011-07-25 Andreas Schwab <schwab@redhat.com>
42622
42623 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
42624 __n bigger than INT_MAX+1.
42625 (__strncmp_g): Likewise.
42626
bba33c28
UD
426272011-07-23 Ulrich Drepper <drepper@gmail.com>
42628
798be72d
UD
42629 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
42630 * libio/stido.h: Likewise.
42631
8accd4dc
UD
42632 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
42633 (AF_NFC): Define.
42634 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
42635 (AF_NFC): Define.
42636
cbff0d96
UD
42637 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
42638 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42639 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42640 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
42641 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42642
9191c04a
UD
42643 [BZ #13021]
42644 * scripts/test-installation.pl: Don't expect libnss_test1 to be
42645 installed.
42646
bba33c28
UD
42647 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
42648 typo.
42649 (_dl_x86_64_save_sse): Likewise.
42650
90f139dd
UD
426512011-07-22 Ulrich Drepper <drepper@gmail.com>
42652
1aae088a
UD
42653 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
42654 OSXSAVE.
42655 (_dl_x86_64_save_sse): Likewise.
42656
8e2045f5
UD
42657 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
42658
90f139dd
UD
42659 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
42660
1d002f25
AS
426612011-07-21 Andreas Schwab <schwab@redhat.com>
42662
42663 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
42664 change.
42665 (_dl_x86_64_save_sse): Use correct AVX check.
42666
21137f89
UD
426672011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42668
42669 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
42670 bug in strncpy/strncat.
42671 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42672
a65c0b7a
UD
426732011-07-21 Ulrich Drepper <drepper@gmail.com>
42674
42675 * string/tester.c (test_strcat): Add tests for different alignments
42676 of source and destination.
42677 (test_strncat): Likewise.
42678
6986b98a
UD
426792011-07-20 Ulrich Drepper <drepper@gmail.com>
42680
90bb2039
UD
42681 [BZ #12852]
42682 * posix/glob.c (glob): Check passed in values before using them in
42683 expressions to avoid some overflows.
42684 (glob_in_dir): Likewise.
42685
5644ef54
UD
42686 [BZ #13007]
42687 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
42688 check for AVX enablement so that we don't crash with old kernels and
42689 new hardware.
42690 * elf/tst-audit4.c: Add same checks here.
42691 * elf/tst-audit6.c: Likewise.
42692
42693 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 42694
bfc9dc9b
AS
426952011-07-09 Andreas Schwab <schwab@linux-m68k.org>
42696
42697 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
42698
702e64bb
UD
426992011-07-20 Ulrich Drepper <drepper@gmail.com>
42700
42701 * po/cs.po: Update from translation team.
42702 * po/bg.po: Likewise.
42703
295e904f
MP
427042011-07-12 Marek Polacek <mpolacek@redhat.com>
42705
42706 * misc/sys/cdefs.h: Add support for const attribute.
42707 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
42708 to gnu_dev_{major,minor,makedev} functions.
42709
3ff94596
MP
427102011-07-20 Marek Polacek <mpolacek@redhat.com>
42711
42712 * intl/dcigettext.c (get_output_charset): Add missing bracket.
42713
28b59fca
AS
427142011-07-20 Andreas Schwab <schwab@redhat.com>
42715
42716 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
42717 strlen results.
42718
19df733e
AK
427192011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42720
42721 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
42722 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
42723 register in order to avoid conflicts with the soft frame pointer
42724 being held in r11 when necessary.
42725 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
42726 (INTERNAL_VSYSCALL_NCS): Likewise.
42727
c8835729
MP
427282011-07-14 Marek Polacek <mpolacek@redhat.com>
42729
42730 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
42731 * elf/dl-fini.c (_dl_fini): Adjust caller.
42732 * elf/dl-close.c (_dl_close_worker): Likewise.
42733 * sysdeps/generic/ldsodefs.h: Adjust declaration.
42734
b902330c
MP
427352011-07-15 Marek Polacek <mpolacek@redhat.com>
42736
8991e135
MP
42737 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
42738 "aux_cache->nlibs < 0".
42739
b902330c
MP
42740 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
42741 in the reload-count case.
42742
99710781
LD
427432011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42744
42745 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42746 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
42747 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
42748 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
42749 * sysdeps/x86_64/multiarch/strcat.S: New file.
42750 * sysdeps/x86_64/multiarch/strncat.S: New file.
42751 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
42752 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
42753 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
42754 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
42755 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
42756 (USE_AS_STRCAT): Define.
42757 Add strcat and strncat support.
42758 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42759 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42760 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
42761 * string/strncat.c: Update.
42762 (USE_AS_STRNCAT): Define.
42763 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42764 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
42765 and i7.
42766 * sysdeps/x86_64/multiarch/init-arch.h
42767 (bit_Prefer_PMINUB_for_stringop): New.
42768 (index_Prefer_PMINUB_for_stringop): Likewise.
42769 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
42770 bit_Prefer_PMINUB_for_stringop.
42771
7dc6bd90
UD
427722011-07-19 Ulrich Drepper <drepper@gmail.com>
42773
42774 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
42775 buffer64.
42776 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
42777 of casting of buffer.
42778 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
42779 buffer32 and buffer64.
42780 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
42781 writes instead of casting of buffer.
42782 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
42783 buffer32.
42784 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
42785 casting of buffer.
42786
e0e72284
AS
427872011-07-19 Andreas Schwab <schwab@redhat.com>
42788
42789 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
42790
feb1eb0b
UD
427912011-07-19 Ulrich Drepper <drepper@gmail.com>
42792
42793 * nscd/nscd.c (termination_handler): Don't do anything for a database
42794 if it has not yet been initialized.
42795
298711ff
UD
427962011-07-18 Ulrich Drepper <drepper@gmail.com>
42797
42798 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42799
428002011-07-15 Marek Polacek <mpolacek@redhat.com>
42801
42802 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42803
f9d68389
UD
428042011-07-18 Ulrich Drepper <drepper@gmail.com>
42805
42806 * po/nl.po: Update from translation team.
42807 * po/sv.po: Likewise.
42808
db290cf5
RM
428092011-07-16 Roland McGrath <roland@hack.frob.com>
42810
42811 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
42812 now disallowed by GCC.
5c550700 42813
fd5e21c7
RM
42814 * configure.in (use-default-link): Default to yes if a test -shared
42815 link meets our qualifications.
42816 * configure: Regenerated.
42817
5c550700
RM
42818 * config.make.in (output-format): New variable.
42819 * configure.in: Check for ld --print-output-format support.
42820 * configure: Regenerated.
42821 * Makerules ($(common-objpfx)format.lds)
42822 [$(output-format) != unknown]: Just use $(output-format),
42823 instead of the linker-script munging.
42824
9fa2c032
RM
428252011-07-14 Roland McGrath <roland@hack.frob.com>
42826
a6928d51
RM
42827 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
42828 of $(common-objpfx)shlib.lds.
42829 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
42830
661607b3
RM
42831 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
42832 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
42833
9fa2c032
RM
42834 * configure.in (-z relro check): Adjust test code to add a large
42835 writable data section after it.
42836 * configure: Regenerated.
42837
defe9061
RM
428382011-07-11 Roland McGrath <roland@hack.frob.com>
42839
42840 * configure.in (-z relro check): Fix test code to make the variable
42841 truly const.
42842 * configure: Regenerated.
42843
319b9ad4
UD
428442011-07-11 Ulrich Drepper <drepper@gmail.com>
42845
42846 * nscd/nscd.h (struct traced_file): Define.
42847 (struct database_dyn): Remove inotify_descr, reset_res, and filename
42848 elements. Add traced_files.
42849 (inotify_fd): Declare.
42850 (register_traced_file): Declare.
42851 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
42852 (inotify_fd): Export.
42853 (resolv_conf_descr): Remove.
42854 (nscd_init): Move inotify descriptor creation to main.
42855 Don't register files for notification here.
42856 (register_traced_file): New function.
42857 (invalidate_cache): Don't use reset_res to determine whether to call
42858 res_init, go through the list of registered files.
42859 (main_loop_poll): The inotify descriptors are now stored in the
42860 structures for the traced files.
42861 (main_loop_epoll): Likewise
42862 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
42863 to __nss_disable_nscd.
42864 * nscd/cache.c (prune_cache): There is no single inotify descriptor
42865 for a database anymore. Check the records for all the registered
42866 files instead.
42867 * nss/Makefile (libnss_files-routines): Add files-init.
42868 (libnss_db-routines): Add db-init.
42869 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
42870 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
42871 * nss/nss_db/db-init.c: New file.
42872 * nss/nss_files/files-init.c: New file.
42873 * nss/nsswitch.c (nss_load_library): New function. Broken out of
42874 __nss_lookup_function.
42875 (__nss_lookup_function): Call nss_load_library.
42876 (nss_load_all_libraries): New function.
42877 (__nss_disable_nscd): Take parameter with callback function for files
42878 to register. Set is_nscd. Load all the DSOs for the NSS modules
42879 used for the cached services.
42880 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
42881 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
42882 options for features to all the files in nscd.
42883
42884 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
42885
23bee3e8
RM
428862011-07-10 Roland McGrath <roland@hack.frob.com>
42887
42888 * csu/elf-init.c (__libc_csu_init): Comment typo.
42889
46a5b7f0
UD
428902011-07-09 Ulrich Drepper <drepper@gmail.com>
42891
42892 * po/pl.po: Update from translation team.
42893 * po/ja.po: Likewise.
42894 * po/ru.po: Likewise.
42895 * po/ko.po: Likewise.
42896 * po/fr.po: Likewise.
42897
d30cf5bb
RM
428982011-07-09 Roland McGrath <roland@hack.frob.com>
42899
113ddea4
RM
42900 * configure.in (.ctors/.dtors header and trailer check):
42901 Use an empirical test on a built program.
42902 * configure: Regenerated.
42903
574920b4
RM
42904 * configure.in (-z relro check): Use an empirical test on a built DSO.
42905 Detect, but do not require, on ia64.
42906 * configure: Regenerated.
42907
d30cf5bb
RM
42908 * configure.in (READELF): Find it with AC_CHECK_TOOL.
42909 Update tests that use readelf to use $READELF instead.
42910 * configure: Regenerated.
42911
8538fdb3
UD
429122011-07-08 Ulrich Drepper <drepper@gmail.com>
42913
42914 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
42915 if the result is not used.
42916
04d08991
AJ
429172011-07-05 Andreas Jaeger <aj@suse.de>
42918
42919 [BZ#9696]
42920 * stdlib/tst-strtod.c: Add testcase.
42921
de283087
AD
429222011-07-07 Ulrich Drepper <drepper@gmail.com>
42923
4e5f31c8 42924 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 42925 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
42926 The latter has a higher limit. Take additional parameter to pass to
42927 the new function.
42928 (__pathconf): Pass file to __statfs_link_max.
42929 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
42930 __statfs_link_max.
42931 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
42932 __statfs_link_max.
42933
de283087
AD
42934 [BZ #12868]
42935 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
42936 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42937 Handle Lustre.
42938 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
42939 (__statfs_filesize_max): Likewise.
42940 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
42941
c75fa153
AJ
429422011-07-05 Andreas Jaeger <aj@suse.de>
42943
42944 * resolv/res_comp.c (dn_skipname): Remove unused variable.
42945
1a544854
UD
429462011-07-06 Marek Polacek <mpolacek@redhat.com>
42947
42948 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
42949 `status' variable.
42950 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
42951 Likewise.
42952
6f0eec67
UD
429532011-07-04 H.J. Lu <hongjiu.lu@intel.com>
42954
42955 * Makefile (strop-tests): Add strncat.
42956 * string/test-strncat.c: New file.
42957
aae30307
UD
429582011-06-30 Marek Polacek <mpolacek@redhat.com>
42959
42960 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
42961
c0cfb5eb
UD
429622011-06-21 Andreas Jaeger <aj@suse.de>
42963
42964 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
42965 Copy rule from iconvdata/Makefile.
42966
01636b21
UD
429672011-07-06 Ulrich Drepper <drepper@gmail.com>
42968
42969 [BZ #12922]
42970 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
42971 but no long options are defined, just return 'W'.
42972
9895c8bc
UD
429732011-06-22 Marek Polacek <mpolacek@redhat.com>
42974
42975 [BZ #9696]
42976 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
42977
5d4cf042
UD
429782011-07-06 Ulrich Drepper <drepper@gmail.com>
42979
42980 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
42981 netgroups to read.
960e5535 42982 (innetgr): Likewise.
5d4cf042 42983
751eb97e
RM
429842011-07-05 Roland McGrath <roland@hack.frob.com>
42985
42986 * config.make.in (install_root): Default to $(DESTDIR).
42987
f15f1e45
UD
429882011-07-05 Ulrich Drepper <drepper@gmail.com>
42989
42990 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
42991
4e34ac6a
RM
429922011-07-02 Roland McGrath <roland@hack.frob.com>
42993
5e9b6af4
RM
42994 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
42995
84f9ea0f
RM
42996 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
42997 containing directory rather than embedding absolute directory names.
42998
ea5ee9f7
RM
42999 * scripts/check-local-headers.sh: Rewritten using awk.
43000 Match by word, not by line. Print error messages for matches.
43001 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43002
1b74661a
RM
43003 * Makerules [shlib-lds-flags empty]:
43004 ($(common-objpfx)libc_pic.opts): New target.
43005 ($(common-objpfx)libc_pic.os.clean): New target.
43006 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43007
43008 * config.make.in (OBJCOPY): New variable.
43009 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43010 * configure: Regenerated.
43011
f781ef40
RM
43012 * config.make.in (use-default-link): New variable.
43013 * configure.in (use_default_link): Grok --with-default-link to set it.
43014 * configure: Regenerated.
43015 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43016 (shlib-lds, shlib-lds-flags): Define to empty.
43017
2d4fa81e
RM
43018 * Makerules (shlib-lds): New variable.
43019 (shlib-lds-flags): New variable.
43020 (build-shlib, build-moduile, build-module-asneeded): Use it.
43021 ($(common-objpfx)libc.so): Use $(shlib-lds).
43022 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43023 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43024
31fffa6b
RM
43025 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43026 DT_FLAGS/DT_FLAGS_1 with zero flags.
43027
4e34ac6a
RM
43028 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43029 linker script munging.
43030
fcfc776b
UD
430312011-07-02 Ulrich Drepper <drepper@gmail.com>
43032
43033 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43034 as 128-bit value.
43035 * crypt/sha512.c (sha512_process_block): Perform total addition using
43036 128-bit if possible.
43037 (__sha512_finish_ctx): Likewise.
43038 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43039 as 64-bit value.
43040 * crypt/sha256.c (SWAP64): Define.
43041 (sha256_process_block): Perform total addition using 64-bit if
43042 possible.
43043 (__sha256_finish_ctx): Likewise.
43044
99231d9a
UD
430452011-07-01 Ulrich Drepper <drepper@gmail.com>
43046
43047 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
43048 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43049 * nscd/hstcache.c (cache_addhst): Likewise.
43050 * nscd/grpcache.c (cache_addgr): Likewise.
43051 * nscd/aicache.c (addhstaiX): Likewise
43052 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43053
445b4a53
TK
430542011-07-01 Thorsten Kukuk <kukuk@suse.de>
43055
43056 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43057 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43058 * nscd/hstcache.c (cache_addhst): Likewise.
43059 * nscd/grpcache.c (cache_addgr): Likewise.
43060 * nscd/aicache.c (addhstaiX): Likewise
43061
6d4d8e8e
AS
430622011-07-01 Andreas Schwab <schwab@redhat.com>
43063
43064 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43065 domain only when needed.
43066
89f654c5
AS
430672011-06-30 Andreas Schwab <schwab@redhat.com>
43068
43069 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43070 is always restored.
43071
cf3b23ff
UD
430722011-06-29 Ulrich Drepper <drepper@gmail.com>
43073
43074 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43075 are re-adding the entry.
43076 * nscd/servicescache.c (cache_addserv): Likewise.
43077
751626f9
AJ
430782011-06-30 Aurelien Jarno <aurelien@aurel32.net>
43079
43080 * sysdeps/generic/dl-irel.h: fix protection against multiple
43081 inclusions.
43082 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43083
9113ea1f
UD
430842011-06-28 Ulrich Drepper <drepper@gmail.com>
43085
5c0b8d90
UD
43086 [BZ #12935]
43087 * malloc/memusage.sh: Fix quoting in message.
43088 * debug/xtrace.sh: Likewise.
43089
9113ea1f
UD
43090 * configure.in: Remove support for --experimental-malloc option, make
43091 it the default.
43092 * config.make.in: Likewise.
43093 * malloc/Makefile: Likewise.
43094
a4172181
AS
430952011-06-27 Andreas Schwab <schwab@redhat.com>
43096
43097 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43098 two-byte characters.
43099
78a7eee7
RM
431002011-06-27 Roland McGrath <roland@hack.frob.com>
43101
62bede13
RM
43102 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43103 AC_CACHE_CHECK invocation.
43104 * configure: Regenerated.
43105
78a7eee7
RM
43106 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43107
5ce33a62
UD
431082011-06-27 Ulrich Drepper <drepper@gmail.com>
43109
034807a9
UD
43110 [BZ #12350]
43111 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
43112 bit from old_res_options.
43113
4902da17
UD
43114 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43115
5ce33a62
UD
43116 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43117 value type for setfct.
43118
c2344f56
L
431192011-06-23 H.J. Lu <hongjiu.lu@intel.com>
43120
43121 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43122 __gettimeofday instead of gettimeofday.
43123
68468076
UD
431242011-06-26 Ulrich Drepper <drepper@gmail.com>
43125
43126 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43127
acb0d739
L
431282011-06-24 H.J. Lu <hongjiu.lu@intel.com>
43129
43130 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43131
43132 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43133 info.
43134
8912479f
L
431352011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43136
43137 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43138 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43139 strcpy-sse2-unaligned strncpy-sse2-unaligned
43140 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43141 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43142 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43143 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43144 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43145 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43146 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43147 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43148 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43149 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43150 (STRCPY): Support SSE2 and SSSE3 versions.
43151
d5495a11
UD
431522011-06-24 Ulrich Drepper <drepper@gmail.com>
43153
43154 [BZ #12874]
43155 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43156 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43157 kernels which artificially limit size of requests.
43158
0b1cbaae
L
431592011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43160
43161 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43162 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43163 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43164 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43165 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43166 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43167 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43168 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43169 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43170 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43171 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43172 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43173 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43174 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43175 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43176 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43177 Enable unaligned load optimization for Intel Core i3, i5 and i7
43178 processors.
43179 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43180 Define.
43181 (index_Fast_Unaligned_Load): Define.
43182 (HAS_FAST_UNALIGNED_LOAD): Define.
43183
07f494a0
MP
431842011-06-23 Marek Polacek <mpolacek@redhat.com>
43185
43186 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43187
fa3fc0fe
UD
431882011-06-22 Ulrich Drepper <drepper@gmail.com>
43189
43190 [BZ #12907]
43191 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43192 until it is clear that the information is realy needed.
43193 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43194
e12df166
AS
431952011-06-22 Andreas Schwab <schwab@redhat.com>
43196
43197 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43198
852eb34d
UD
431992011-06-22 Ulrich Drepper <drepper@gmail.com>
43200
84e2a551
UD
43201 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43202 /sys/devices/system/cpu/online if it is usable.
43203
852eb34d
UD
43204 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43205 reading the information from the /proc filesystem to once a second.
43206
6e502e19
UD
432072011-06-21 Andreas Jaeger <aj@suse.de>
43208
43209 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43210 NULL after inclusion of kernel headers.
43211
75d39ff2
UD
432122011-06-21 Ulrich Drepper <drepper@gmail.com>
43213
51f9aa6a
UD
43214 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43215 calls to internal_setent.
43216
c0244a9d
UD
43217 [BZ #12885]
43218 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43219 addresses using gethostbyname4_r ignore IPv4 addresses.
43220
c5e3c2ae
UD
43221 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43222 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
43223
75d39ff2
UD
43224 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43225
42675c6f
DM
432262011-06-20 David S. Miller <davem@davemloft.net>
43227
43228 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43229 inclusions.
43230 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43231
43232 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43233 (elf_irel): Use it.
43234 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43235 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43236 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43237 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43238 * sysdeps/x86_64/dl-irel.h: Likewise.
43239
43240 * elf/dl-runtime.c: Use elf_ifunc_invoke.
43241 * elf/dl-sym.c: Likewise.
43242
57912a71
UD
432432011-06-15 Ulrich Drepper <drepper@gmail.com>
43244
43245 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
43246 need to dereference resplen2.
43247
ee22793d
AS
432482011-06-14 Andreas Schwab <schwab@redhat.com>
43249
43250 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43251
a9e836b0
UD
432522011-06-15 Ulrich Drepper <drepper@gmail.com>
43253
77fb9117
UD
43254 * Makeconfig: Define vardbdir and inst_vardbdir.
43255 * nss/Makefile: Add rules to install db-Makefile.
43256
40c1b22c
UD
43257 * nss/nss_db/db-XXX.c: Cleanup.
43258
9f2da732
UD
43259 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43260 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43261 GLIBC_PRIVATE.
43262 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43263 * nss/makedb.c: Implement -g option to specify that value strings
43264 are generated and should not be added to table iterated over for
43265 get*ent calls.
43266 * nss/nss_db/db-initgroups.c: New file.
43267
82e9a1f7
UD
43268 * nss/getent.c: Add support for initgroups lookups through getgrouplist
43269 interface.
43270
c41af17e
UD
43271 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43272 (internal_getgrouplist): Adjust to name change.
43273 Update use_initgroups_entry if this is not the first call.
43274 * nss/databases.def: Add initgroups entry.
43275
a9e836b0
UD
43276 * nss/makedb.c (compute_tables): Check result of multiple hash table
43277 sizes to minimize maximum chain length.
43278
2666d441
UD
432792011-06-14 Ulrich Drepper <drepper@gmail.com>
43280
43281 * Versions.def: Add entry for libnss_db.
43282 * shlib-versions: Likewise.
43283 * nss/Makefile: Add rules to build libnss_db.
43284 * nss/Versions: Add libnss_db information. Organize libnss_files
43285 entries better.
43286 * nss/db-Makefile: Add gshadow support. Change rules for the new
43287 makedb progra. Some minor improvements to generate smaller files.
43288 * nss/nss_db/nss_db.h: Move NSS database header data structures to
43289 here from...
43290 * nss/makedb.c: ...here.
43291 Improve database format to be smaller and require less memory at
43292 runtime.
43293 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
43294 db anymore.
43295 * nss/nss_db/db-netgrp.c: Likewise.
43296 * nss/nss_db/db-open.c: Likewise.
43297 * nss/nss_files/flies-XXX.x: Adjust comments.
43298 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43299 * nss/nss_files/files-grp.c: Likewise.
43300 * nss/nss_files/files-hosts.c: Likewise.
43301 * nss/nss_files/files-network.c: Likewise.
43302 * nss/nss_files/files-proto.c: Likewise.
43303 * nss/nss_files/files-pwd.c: Likewise.
43304 * nss/nss_files/files-rpc.c: Likewise.
43305 * nss/nss_files/files-service.c: Likewise.
43306 * nss/nss_files/files-sgrp.c: Likewise.
43307 * nss/nss_files/files-spwd.c: Likewise.
43308 * nss/nss_db/db-alias.c: Removed.
43309 * nss/nss_db/dummy-db.h: Removed.
43310
9ee76b5a
UD
433112011-06-02 Ulrich Drepper <drepper@gmail.com>
43312
43313 * nss/makedb.c: Rewritten to not use database library.
43314 * nss/Makefile: Update to build new makedb program.
43315
c71ca1f8
AJ
433162011-06-14 Andreas Jaeger <aj@suse.de>
43317
43318 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43319 memset declaration.
43320
3154bfb8
UD
433212011-06-10 Andreas Schwab <schwab@redhat.com>
43322
43323 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43324 tmpbuf.
43325
b350afab
RM
433262011-06-10 Roland McGrath <roland@hack.frob.com>
43327
decd4e50
RM
43328 * Makerules (shlib.lds): Fail if the linker script comes out empty.
43329 * elf/Makefile ($(objpfx)ld.so): Likewise.
43330
5615eaf2
RM
43331 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43332 Don't list ld.so twice in dependencies.
43333
43334 * posix/bug-regex31.c: Include <stdlib.h>.
43335
43336 * nscd/hstcache.c (cache_addhst): Remove unused variable.
43337
43338 * nis/nss_compat/compat-spwd.c
43339 (getspent_next_nss_netgr): Remove unused variable.
43340 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43341
43342 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43343 nonmembers" output to use the right array.
43344
43345 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43346
43347 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43348
43349 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43350 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43351 * catgets/gencat.c (read_input_file): Likewise.
43352 * locale/programs/locarchive.c (enlarge_archive): Likewise.
43353
43354 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43355 variable definition inside #if's controlling its use.
43356
43357 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43358
43359 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43360
43361 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43362
43363 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43364 unreachable code.
43365
43366 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43367
b68e08db
RM
43368 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43369 * configure: Regenerated.
43370
b350afab
RM
43371 * Makerules: Revert last change.
43372 * elf/Makefile: Likewise.
43373
28368601
RM
433742011-06-09 Roland McGrath <roland@hack.frob.com>
43375
43376 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43377 * elf/Makefile ($(objpfx)librtld.os): Likewise.
43378 (reloc-link): Likewise.
43379
11988f8f
UD
433802011-06-09 Ulrich Drepper <drepper@gmail.com>
43381
43382 * elf/Makefile: Add rules to build pldd.
43383 * elf/pldd.c: New file.
43384 * elf/pldd-xx.c: New file.
43385
e80fab37
UD
433862011-06-07 Ulrich Drepper <drepper@gmail.com>
43387
43388 * version.h: Update for 2.15 development version.
43389
9b849836
DM
433902011-06-07 David S. Miller <davem@davemloft.net>
43391
43392 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43393 ifuncs.
43394 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43395 elf_machine_lazy_rel): Likewise.
43396 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43397 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43398 elf_machine_lazy_rel): Likewise.
43399 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43400 dl_hwcap via passed in argument.
43401 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43402 Likewise.
43403
5a31b283
AK
434042011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43405
43406 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
43407
069e52f8
RM
434082011-06-06 Roland McGrath <roland@hack.frob.com>
43409
43410 [BZ #12849]
43411 * manual/fdl-1.1.texi: New file, verbatim from:
43412 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43413 * manual/lgpl-2.1.texi: New file, verbatim from:
43414 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43415 * manual/Makefile (licenses): New variable, list those new file names.
43416 (texis): Use it.
43417 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43418
43419 * manual/fdl.texi: File removed.
43420 * manual/lesser.texi: File removed.
43421 * manual/libc.texinfo (Copying, Documentation License):
43422 Use new @include file names, put @appendix directive before @include.
43423
f16846a5
JJ
434242011-06-04 Jakub Jelinek <jakub@redhat.com>
43425
43426 [BZ #12841]
43427 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43428 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43429 (mq_open): Add __NTH.
43430
3d29045b
L
434312011-06-02 H.J. Lu <hongjiu.lu@intel.com>
43432
43433 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43434 Assume Intel Core i3/i5/i7 processor if AVX is available.
43435
8c297311
UD
434362011-05-31 Ulrich Drepper <drepper@gmail.com>
43437
43438 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43439 typo.
43440
c8fc0c91
UD
434412011-05-31 Andreas Schwab <schwab@redhat.com>
43442
43443 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43444 memory. Use alloca_account. Fix memory leak when retrying.
43445
5b27a807
UD
434462011-05-31 Ulrich Drepper <drepper@gmail.com>
43447
356f8bc6
UD
43448 * version.h (RELEASE): Bump for 2.14 release.
43449 * include/features.h (__GLIBC_MINOR__): Bump to 14.
43450
5b27a807
UD
43451 * config.make.in (RANLIB): Remove entry.
43452
01f16ab0
UD
434532011-05-30 Ulrich Drepper <drepper@gmail.com>
43454
41fce8bd
UD
43455 * po/Makefile (po-sed-cmd): Add ksh to extensions.
43456 (libc.pot): Work around missing support for .ksh extension in xgettext.
43457
4769ae77
UD
43458 [BZ #12684]
43459 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43460 if both request failed.
43461 (send_dg): In case of server errors clear resplen or *resplen2.
43462
6b1e7d19
UD
43463 [BZ #12454]
43464 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43465 when there are multiple maps.
43466 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43467 (_dl_fini): Remove test here.
43468
01f16ab0
UD
43469 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43470
b1ebd700
UD
434712011-05-29 Ulrich Drepper <drepper@gmail.com>
43472
7ae22829
UD
43473 [BZ #12350]
43474 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43475 bit from old_res_options.
43476 (gaih_inet): Likewise.
43477
553149f6 43478 [BZ #11099]
18a84741 43479 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
43480 as signed.
43481
652ffab1
UD
43482 * resolv/res_init.c (res_setoptions): Make the code more compact.
43483
16985fd0
UD
43484 [BZ #11558]
43485 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43486 set RES_USEVC.
43487
0464f746
UD
43488 [BZ #11634]
43489 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43490
7d17596c
UD
43491 * malloc/malloc.h: Mark malloc hook variables as deprecated.
43492
cf6bbbd7
UD
43493 [BZ #11781]
43494 * malloc/malloc.h: Declare malloc hook variables as volatile.
43495
13f1ab36
UD
43496 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43497 in last patch.
43498
b1ebd700
UD
43499 [BZ #11799]
43500 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 43501 raise in the comment.
80e2212d
UD
43502 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43503 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43504 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 43505
ce67228d
UD
435062011-05-28 Ulrich Drepper <drepper@gmail.com>
43507
8887a920
UD
43508 [BZ #12811]
43509 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
43510 grow the buffers more if it already has to be sufficient.
43511 (build_wcs_upper_buffer): Likewise.
43512 * posix/regexec.c (check_matching): Likewise.
43513 (clean_state_log_if_needed): Likewise.
43514 (extend_buffers): Don't enlarge buffers beyond size of the input
43515 buffer.
43516 Patches mostly by Emil Wojak <emil@wojak.eu>.
43517 * posix/bug-regex32.c: New file.
43518 * posix/Makefile (tests): Add bug-regex32.
43519
4f031072
UD
43520 * locale/findlocale.c (_nl_find_locale): Return right away if
43521 _nl_explode_name failed.
43522 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
43523
d0478f0c
UD
43524 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
43525
de81b246
UD
43526 * debug/xtrace.sh: Unify messages.
43527 * malloc/memusage.sh: Likewise.
43528
c738465a
UD
43529 [BZ #12813]
43530 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
43531 time symbol from vDSO. Substitute with vsyscall if not available.
43532 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
43533 __vdso_time.
43534
f1f929d7
UD
43535 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
43536 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
43537 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
43538 Add sendmmsg and internal_sendmmsg.
43539 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
43540 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
43541 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
43542
ce67228d
UD
43543 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
43544 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
43545 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
43546
e57420c6
UD
435472011-05-27 Ulrich Drepper <drepper@gmail.com>
43548
a8509ca5
UD
43549 [BZ #12813]
43550 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
43551 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
43552 available.
43553 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
43554 __vdso_getcpu.
43555
e57420c6
UD
43556 [BZ #12814]
43557 * iconvdata/Makefile (tests): Add bug-iconv9.
43558 * iconvdata/bug-iconv9.c: New file.
43559
4d07db15
AS
435602011-05-27 Andreas Schwab <schwab@redhat.com>
43561
43562 [BZ #12814]
43563 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
43564
ea486f69
JJ
435652011-05-25 Jakub Jelinek <jakub@redhat.com>
43566
43567 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43568 (struct user_regs_struct): Change intcs field back to cs.
43569
6f038433
UD
435702011-05-25 Ulrich Drepper <drepper@gmail.com>
43571
43572 * po/ja.po: Update from translation team.
43573
67f86a25
UD
435742011-05-23 Ulrich Drepper <drepper@gmail.com>
43575
43576 [BZ #12795]
43577 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
43578 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
43579
def7fbd6
AS
435802011-05-20 Andreas Schwab <schwab@redhat.com>
43581
43582 * stdlib/longlong.h: Update from GCC.
43583
f50ef8f1
AS
435842011-05-23 Andreas Schwab <schwab@redhat.com>
43585
43586 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
43587 parameter name.
43588 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
43589 Add parameter name.
43590 (__sysconf): Pass it down.
43591
de7ce8f1
UD
435922011-05-22 Ulrich Drepper <drepper@gmail.com>
43593
f2962a71
UD
43594 [BZ #12671]
43595 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
43596 some situations.
43597 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43598 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
43599 add in in __libc_use_alloca calls. Adjust callers.
43600 (glob): Use malloc in some situations.
43601
de7ce8f1
UD
43602 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
43603 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
43604 pltexit.
43605
aec84f53
UD
436062011-05-21 Ulrich Drepper <drepper@gmail.com>
43607
05bb4a68
UD
43608 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
43609 and CLOCK_BOOTTIME_ALARM.
43610
7ea72f99
UD
43611 [BZ #12782]
43612 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
43613 is returned.
43614
7e4afad5
UD
43615 * string/_strerror.c (__strerror_r): Print negative errors as signed
43616 numbers.
43617
8e211fec
UD
43618 [BZ #12777]
43619 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
43620 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
43621 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
43622
f7d82dc9
UD
43623 * configure.in: Fix typo in redirection and correct removal of test
43624 files in two cases.
43625
cc9e536d
UD
43626 [BZ #12788]
43627 * locale/setlocale.c (new_composite_name): Fix test to check for
43628 identical name of all categories.
43629
aec84f53
UD
43630 [BZ #12792]
43631 * libio/filedoalloc.c (local_isatty): New function.
43632 (_IO_file_doallocate): Use local_isatty.
43633 * stdio-common/perror.c (perror): In case a new stream is used
43634 forward the stream error.
43635 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
43636 error flag.
43637
78e64fdc
RT
436382011-05-20 Ulrich Drepper <drepper@gmail.com>
43639
34a9094f
UD
43640 [BZ #11869]
43641 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
43642 alloca.
43643 * include/alloca.h (extend_alloca_account): Define.
43644
78e64fdc
RT
43645 [BZ #11857]
43646 * posix/regex.h: Fix comments with documentation of user-accessible
43647 fields after compilation and describe correct free'ing of pattern
43648 after re_compile_pattern.
43649 Patch by Reuben Thomas <rrt@sc3d.org>.
43650
457bddfc
RA
436512011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
43652
43653 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
43654 and -mno-altivec to prevent the compiler from using Altivec and/or
43655 VSX instructions when the corresponding registers are not available.
43656
a4527b51
AS
436572011-05-19 Andreas Schwab <schwab@redhat.com>
43658
43659 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
43660
ed690b2f
UD
436612011-05-19 Ulrich Drepper <drepper@gmail.com>
43662
43663 * libio/freopen.c (freopen): Use __dup2, not dup2.
43664 * libio/freopen64.c (freopen64): Likewise.
43665
8db73634
L
436662011-05-17 H.J. Lu <hongjiu.lu@intel.com>
43667
43668 [BZ #12775]
43669 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
43670 * math/Makefile (tests): Add test-powl.
43671 (CFLAGS-test-powl.c): Define.
43672 * math/test-powl.c: New file.
43673
0a197a9d
L
436742011-05-16 H.J. Lu <hongjiu.lu@intel.com>
43675
43676 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
43677
ee30c380
UD
436782011-05-17 Ulrich Drepper <drepper@gmail.com>
43679
43680 [BZ #11837]
43681 * iconvdata/gb18030.c: Update to GB18020-2005.
43682
6ce75379
UD
436832011-05-16 Ulrich Drepper <drepper@gmail.com>
43684
a4b89fd8
AR
43685 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
43686 RE_SYNTAX_POSIX_AWK): Update to match recent development.
43687 Patch by Aharon Robbins <arnold@skeeve.com>.
43688
ea389b12
UD
43689 [BZ #11892]
43690 * stdlib/putenv.c (putenv): Don't always create copy of the variable
43691 on the stack.
43692
68a3f91f
UD
43693 [BZ #11895]
43694 * misc/pselect.c (__pselect): Handle timeout value errors hidden
43695 through underflows.
43696
15cc7dd1
UD
43697 [BZ #12766]
43698 * misc/error.c (error_at_line): Ensure file_name and old_file_name
43699 point to strings before performing equality test for error_one_per_line
43700 mode.
43701
f3799213
UD
43702 [BZ #11697]
43703 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
43704
d79a9c94
UD
43705 [BZ #11820]
43706 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43707 (struct user_fpregs_struct): Avoid __uint*_t types.
43708
56e5eb46
UD
43709 [BZ #6420]
43710 * malloc/mtrace.c (tr_where): Add additional parameter to point to
43711 symbol info. Use it instead of calling _dl_addr locally.
43712 (lock_and_info): New function.
43713 (tr_freehook): Call lock_and_info and pass symbol info as additional
43714 parameter to tr_where.
43715 (tr_mallochook): Likewise.
43716 (tr_reallochook): Likewise.
43717 (tr_memalignhook): Likewise.
43718
6ce75379
UD
43719 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
43720 used and couldn't be at all thread-safe.
43721
f8a3b5bf
UD
437222011-05-15 Ulrich Drepper <drepper@gmail.com>
43723
94b7cc37
UD
43724 * libio/freopen.c (freopen): Don't close old file descriptor
43725 before the new one is opened. Instead dup the new file descriptor
43726 to the old one after the new stream is created.
43727 * libio/freopen64.c (freopen64): Likewise.
43728 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
43729 * libio/fileops.c (_IO_new_file_close_it): Handle new
43730 _IO_FLAGS2_NOCLOSE flag.
43731 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
43732 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
43733 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
43734 _IO_FLAGS2_NOCLOSE flag.
43735 * include/unistd.h: Add hidden_proto for dup3.
43736 Define __have_dup3.
43737 * io/dup3.c: Define hidden symbol.
43738 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
43739
bd25564e
UD
43740 [BZ #7101]
43741 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
43742 when an incomplete long option is used.
43743 * posix/tst-getopt_long1.c: New file.
43744 * posix/Makefile (tests): Add tst-getopt_long1.
43745
c84cfef4
UD
43746 [BZ #10138]
43747 * scripts/config.guess: Update from autoconf-2.68.
43748 * scripts/config.sub: Likewise.
43749
3b85df27
UD
43750 [BZ #10157]
43751 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
43752 tests into ...
43753 (has_cpuclock): ...this. New function.
43754 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
43755 macro here based on has_cpuclock code.
43756
15a856b1
UD
43757 [BZ #10149]
43758 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43759 First byte (not low byte) is now always NUL.
43760 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
43761
05f399e6
UD
43762 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43763 Use non-cancelable interfaces.
43764
10a52685 43765 [BZ #9809]
94ecc67d
UD
43766 * locale/iso-639.def: Add entry for Sorani.
43767
f8a3b5bf
UD
43768 [BZ #11901]
43769 * include/stdlib.h: Move include protection to the right place.
43770 Define abort_msg_s. Declare __abort_msg with it.
43771 * stdlib/abort.c (__abort_msg): Adjust type.
43772 * assert/assert.c (__assert_fail_base): New function. Majority
43773 of code from __assert_fail. Allocate memory for __abort_msg with
43774 mmap.
43775 (__assert_fail): Now call __assert_fail_base.
43776 * assert/assert-perr.c: Remove bulk of implementation. Use
43777 __assert_fail_base.
43778 * include/assert.hL Declare __assert_fail_base.
43779 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
43780 mmap.
43781 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
43782
1af4e298
UD
437832011-05-14 Ulrich Drepper <drepper@gmail.com>
43784
f8a3b5bf 43785 [BZ #11952]
d26dfc60
MG
43786 [BZ #12453]
43787 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
43788 until all modules are registered in the DTV.
43789 * elf/Makefile: Add rules to build and run tst-tls19.
43790 * elf/tst-tls19.c: New file.
43791 * elf/tst-tls19mod1.c: New file.
43792 * elf/tst-tls19mod2.c: New file.
43793 * elf/tst-tls19mod3.c: New file.
43794 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
43795
2fc54d6f
UD
43796 [BZ #12083]
43797 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
43798 correctly.
43799
98d76b46
UD
43800 [BZ #12601]
43801 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
43802 two-byte sequence errors.
43803 * iconvdata/Makefile (tests): Add bug-iconv8.
43804 * iconvdata/bug-iconv8.c: New file.
43805
da3c19ef
UD
43806 [BZ #12626]
43807 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
43808 buf2 definition.
43809
ca408c15
UD
43810 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
43811
d6f67f7d
UD
43812 [BZ #12432]
43813 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
43814 (dummy_getcfa): New function.
43815 (init): Get _Unwind_GetCFA address, use dummy if not found.
43816 (backtrace_helper): In recursion check, also check whether CFA changes.
43817 (__backtrace): Completely initialize arg.
43818
1af4e298 43819 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
43820 storing incomplete byte sequence in state object. Avoid testing for
43821 guaranteed too small input if we know there is enough data available.
1af4e298 43822
da62f81b
AS
438232011-05-11 Andreas Schwab <schwab@redhat.com>
43824
43825 * Makeconfig (+link-pie): Indent.
43826 * Rules (binaries-pie): Define if $(have-fpie) and
43827 $(build-shared).
43828 (binaries-shared): Also filter out $(binaries-pie).
43829 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
43830 * nscd/Makefile (others-pie): Add nscd.
43831 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
43832 ($(objpfx)nscd): Remove command override.
43833 * login/Makefile (others-pie): Add pt_chown.
43834 ($(objpfx)pt_chown): Remove command override.
43835 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
43836 remove command overrides.
43837
fcabc0f8
UD
438382011-05-13 Ulrich Drepper <drepper@gmail.com>
43839
20030ae6
UD
43840 * libio/tst_putwc.c: Fix error messages.
43841
fcabc0f8
UD
43842 [BZ #12724]
43843 * libio/fileops.c (_IO_new_file_close_it): Always flush when
43844 currently writing and seek to current position when not.
43845 * libio/Makefile (tests): Add bug-fclose1.
43846 * libio/bug-fclose1.c: New file.
43847
320a5dc0
PB
438482011-05-12 Ulrich Drepper <drepper@gmail.com>
43849
43850 [BZ #12511]
43851 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
43852 don't set DF_1_NODELETE here.
43853 (do_lookup_x): When entering new entry test for copy relocation
43854 and if necessary set DF_1_NODELETE flag.
43855 * elf/tst-unique4.cc: New file.
43856 * elf/tst-unique4.h: New file.
43857 * elf/tst-unique4lib.cc: New file.
43858 * elf/Makefile: Add rules to build and run tst-unique4.
43859 Patch by Piotr Bury <pbury@goahead.com>.
43860
22836f52
UD
438612011-05-11 Ulrich Drepper <drepper@gmail.com>
43862
f574184a
UD
43863 [BZ #12052]
43864 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
43865
e1fb097f
UD
43866 [BZ #12625]
43867 * misc/mntent_r.c (addmntent): Flush the stream after the output
43868
22836f52
UD
43869 [BZ #12393]
43870 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
43871 (is_trusted_path_normalize): Skip initial colon. Append slash
43872 to empty buffer. Duplicate is_trusted_path code but allow
43873 constructed patch to be prefix.
43874 (is_dst): Allow $ORIGIN followed by /.
43875 (_dl_dst_substitute): Correct clearing of check_for_trusted.
43876 Correct testing of result of is_trusted_path_normalize
43877 (decompose_rpath): Fix warning.
43878
7b3b0b2a
UD
438792011-05-10 Ulrich Drepper <drepper@gmail.com>
43880
43881 [BZ #11257]
43882 * grp/initgroups.c (internal_getgrouplist): When we found the service
43883 list through the initgroups entry in nsswitch.conf do not always
43884 continue on a successful lookup. Don't always use the
eac80ce2 43885 __nss_group_database value if it is set.
7b3b0b2a
UD
43886 * nss/nsswitch.conf (initgroups): Change action for successful db
43887 lookup to continue for compatibility.
43888
2a81eaa5
UD
438892011-05-09 Ulrich Drepper <drepper@gmail.com>
43890
be97a69e
UD
43891 [BZ #11532]
43892 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
43893 and CP774 modules.
43894 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
43895 and CP774 modules.
43896 * iconvdata/tst-tables.sh: Likewise.
43897 * iconvdata/cp770.c: New file.
43898 * iconvdata/cp771.c: New file.
43899 * iconvdata/cp772.c: New file.
43900 * iconvdata/cp773.c: New file.
43901 * iconvdata/cp774.c: New file.
43902 * iconvdata/testdata/CP770: New file.
43903 * iconvdata/testdata/CP770..UTF8: New file.
43904 * iconvdata/testdata/CP771: New file.
43905 * iconvdata/testdata/CP771..UTF8: New file.
43906 * iconvdata/testdata/CP772: New file.
43907 * iconvdata/testdata/CP772..UTF8: New file.
43908 * iconvdata/testdata/CP773: New file.
43909 * iconvdata/testdata/CP773..UTF8: New file.
43910 * iconvdata/testdata/CP774: New file.
43911 * iconvdata/testdata/CP774..UTF8: New file.
43912
43913 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
43914 END CHARMAP line.
43915 * iconvdata/gen-8bit-gap.sh: Likewise.
43916 * iconvdata/gen-8bit.sh: Likewise.
43917
c1e9e399
UD
43918 * locale/iso-639.def: Add ary entry.
43919
24c55fb3 43920 [BZ #11258]
96b4b1b0
UD
43921 * locale/C-translit.h.in: Add U20A1 transliteration.
43922
bdc2f971
KB
43923 [BZ #12178]
43924 * locale/iso-639.def: Add wae entry.
43925 Patch by Kevin Bortis <bortis@translate-wae.ch>.
43926
2952b117
UD
43927 [BZ #12545]
43928 * locale/programs/localedef.c (construct_output_path): Use ssize_t
43929 for n.
43930
2a81eaa5
UD
43931 [BZ #12711]
43932 * locale/C-translit.h.in: Add entry for U20B9.
43933 Patch by pravin.d.s@gmail.com.
43934
28377d1b
UD
439352011-05-08 Ulrich Drepper <drepper@gmail.com>
43936
7fb90fb8
UD
43937 [BZ #12713]
43938 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
43939 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
43940 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
43941 in rtld. Use *stat64.
7fb90fb8 43942 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 43943 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 43944 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
43945 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
43946 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
43947 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
43948 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
43949 __fstatat64 macros.
7fb90fb8
UD
43950 * include/dirent.h: Add libc_hidden_proto for rewinddir.
43951 * dirent/rewinddir.c: Add libc_hidden_def.
43952 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 43953 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 43954
28377d1b
UD
43955 * include/dirent.h (__alloc_dir): Add flags parameter.
43956 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
43957 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
43958 __alloc_dir.
43959 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
43960 from fdopendir if O_CLOEXEC is already set.
43961
66bdbaa4
AM
439622011-03-15 Alan Modra <amodra@gmail.com>
43963
43964 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
43965 l_tls_firstbyte_offset non-zero. Save padding offset in
43966 l_tls_firstbyte_offset for later use.
43967 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
43968 freeing static tls block.
43969
95721191
JN
439702011-03-05 Jonathan Nieder <jrnieder@gmail.com>
43971
43972 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
43973 where #ifdef was intended. The intent is to prevent ARG_MAX from
43974 being defined by the kernel headers.
43975
f87dfb1f
UD
439762011-05-07 Ulrich Drepper <drepper@gmail.com>
43977
43978 [BZ #12734]
43979 * resolv/resolv.h: Define RES_NOTLDQUERY.
43980 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
43981 no-tld-query and set RES_NOTLDQUERY.
43982 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
43983 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
43984 modern BIND to search name as TLD unless forbidden.
43985
47c3cd7a
UD
439862011-05-07 Petr Baudis <pasky@suse.cz>
43987 Ulrich Drepper <drepper@gmail.com>
43988
43989 [BZ #12393]
43990 * elf/dl-load.c (fillin_rpath): Move trusted path check...
43991 (is_trusted_path): ...to here.
c1e9ea35 43992 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 43993 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 43994 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 43995
8a35c912
PP
439962011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
43997
43998 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
43999 __BEGIN/__END_DECLS.
44000
acd41f47
UD
440012011-05-06 Ulrich Drepper <drepper@gmail.com>
44002
44003 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44004 NSS_STATUS_NOTFOUND if no record was found.
44005
597df647
AS
440062011-05-05 Andreas Schwab <schwab@redhat.com>
44007
44008 * sunrpc/Makefile (headers): Add rpc/netdb.h.
44009 (headers-not-in-tirpc): Remove rpc/netdb.h
44010 * resolv/netdb.h: Revert last change.
44011
b9af1301
PP
440122011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44013
44014 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44015 circular dependency between libgcc.a and libc.a.
44016
4e34d5f5
AS
440172011-05-05 Andreas Schwab <schwab@redhat.com>
44018
44019 * resolv/netdb.h: Don't include <rpc/netdb.h>.
44020 * nis/Makefile: Don't install rpcsvc/*.
44021 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44022 instead of <rpc/types.h>.
44023 (MAXHOSTNAMELEN): Define.
44024
00ee369c
AS
440252011-05-03 Andreas Schwab <schwab@redhat.com>
44026
44027 * elf/ldconfig.c (add_dir): Don't crash on empty path.
44028
0b592a30
MB
440292011-04-28 Maciej Babinski <mbabinski@google.com>
44030
44031 [BZ #12714]
44032 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44033 gethostbyname4_r when IPv6 results are possible.
44034
6e04cbbe
UD
440352011-05-02 Ulrich Drepper <drepper@gmail.com>
44036
44037 [BZ #12723]
44038 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44039 _PC_PIPE_BUF handling.
44040
e4ecafe0
BH
440412011-04-30 Bruno Haible <bruno@clisp.org>
44042
44043 [BZ #12717]
44044 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44045 * resolv/netdb.h (getnameinfo): Change type of flags parameter
44046 to 'int'.
44047 * inet/getnameinfo.c (getnameinfo): Likewise.
44048
125ee683
UD
440492011-04-29 Ulrich Drepper <drepper@gmail.com>
44050
44051 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44052 to groups setting in database lookup.
44053 * nss/nsswitch.conf: Add initgroups entry.
44054
b722481a
EB
440552011-04-22 Ulrich Drepper <drepper@gmail.com>
44056
44057 [BZ #12685]
44058 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44059 mode string.
44060 Patch by Eric Blake <eblake@redhat.com>.
44061
4df46dbd
L
440622011-04-20 H.J. Lu <hongjiu.lu@intel.com>
44063
44064 * sunrpc/Makefile (need-export-routines): Add svc_run.
44065 (routines): Remove svc_run.
44066 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44067 * sunrpc/clnt_perr.c (clnt_perrno): Export.
44068 * sunrpc/svc_run.c (svc_run): Likewise.
44069 * sunrpc/svc_udp.c (svcudp_create): Likewise.
44070
e84142d2
UD
440712011-04-21 Ulrich Drepper <drepper@gmail.com>
44072
44073 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44074 problem in reallocation in last patch.
44075
877175d8
UD
440762011-04-20 Ulrich Drepper <drepper@gmail.com>
44077
44078 * sunrpc/Makefile: Move inclusion of Rules.
44079
ab8eed78
UD
440802011-04-19 Ulrich Drepper <drepper@gmail.com>
44081
44082 * nss/nss_files/files-initgroups.c: New file.
44083 * nss/Makefile (libnss_files-routines): Add files-initgroups.
44084 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44085 _nss_files_initgroups_dyn.
44086
e3d8f584
RS
440872011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
44088
44089 * elf/elf.h (R_ARM_IRELATIVE): Define.
44090
af190f45
UD
440912011-04-19 Ulrich Drepper <drepper@gmail.com>
44092
44093 * po/ru.po: Update from translation team.
44094
53cf59ef
UD
440952011-04-17 Ulrich Drepper <drepper@gmail.com>
44096
44097 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44098 dependencies.
44099
4c559bcd
MF
441002011-02-06 Mike Frysinger <vapier@gentoo.org>
44101
44102 [BZ #12653]
44103 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44104 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44105 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44106 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44107 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44108
4420675c
AS
441092011-03-28 Andreas Schwab <schwab@linux-m68k.org>
44110
44111 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44112 differing bytes.
44113 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44114 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44115 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44116
75ea32ab
UD
441172011-04-17 Ulrich Drepper <drepper@gmail.com>
44118
44119 [BZ #12420]
44120 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44121 storing it.
44122 * stdlib/bug-getcontext.c: New file.
44123 * stdlib/Makefile: Add rules to build and run bug-getcontext.
44124
27390476
AK
441252011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44126
44127 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44128 instructions into .machine "z9-109".
44129 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44130 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44131
10442705
AK
441322011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44133
44134 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44135 between environment variables and auxiliary vector.
44136
7b57bfe5
UD
441372011-04-16 Ulrich Drepper <drepper@gmail.com>
44138
44139 * Makefile: Add rules to build linkobj/libc.so.
44140 * include/libc-symbols.h: Define libc_hidden_nolink.
44141 * include/rpc/auth.h: Mark functions which are to be hidden.
44142 * include/rpc/auth_des.h: Likewise.
44143 * include/rpc/auth_unix.h: Likewise.
44144 * include/rpc/clnt.h: Likewise.
44145 * include/rpc/des_crypt.h: Likewise.
44146 * include/rpc/key_prot.h: Likewise.
44147 * include/rpc/pmap_clnt.h: Likewise.
44148 * include/rpc/pmap_prot.h: Likewise.
44149 * include/rpc/pmap_rmt.h: Likewise.
44150 * include/rpc/rpc_msg.h: Likewise.
44151 * include/rpc/svc.h: Likewise.
44152 * include/rpc/svc_auth.h: Likewise.
44153 * include/rpc/xdr.h: Likewise.
44154 * nis/Makefile: Link all DSOs against linkobj/libc.so.
44155 * nss/Makefile: Likewise.
44156 * sunrpc/Makefile: Don't install headers. Build library with normal
44157 entry points. Don't build rpcinfo. Link RPC tests appropriately.
44158 * sunrpc/auth_des.c: Hide exported symbols by default, export some
44159 for the compat linking library. Remove use of INTDEF/INTUSE.
44160 * sunrpc/auth_none.c: Likewise.
44161 * sunrpc/auth_unix.c: Likewise.
44162 * sunrpc/authdes_prot.c: Likewise.
44163 * sunrpc/authuxprot.c: Likewise.
44164 * sunrpc/clnt_gen.c: Likewise.
44165 * sunrpc/clnt_perr.c: Likewise.
44166 * sunrpc/clnt_raw.c: Likewise.
44167 * sunrpc/clnt_simp.c: Likewise.
44168 * sunrpc/clnt_tcp.c: Likewise.
44169 * sunrpc/clnt_udp.c: Likewise.
44170 * sunrpc/clnt_unix.c: Likewise.
44171 * sunrpc/des_crypt.c: Likewise.
44172 * sunrpc/des_soft.c: Likewise.
44173 * sunrpc/get_myaddr.c: Likewise.
44174 * sunrpc/key_call.c: Likewise.
44175 * sunrpc/key_prot.c: Likewise.
44176 * sunrpc/netname.c: Likewise.
44177 * sunrpc/pm_getmaps.c: Likewise.
44178 * sunrpc/pm_getport.c: Likewise.
44179 * sunrpc/pmap_clnt.c: Likewise.
44180 * sunrpc/pmap_prot.c: Likewise.
44181 * sunrpc/pmap_prot2.c: Likewise.
44182 * sunrpc/pmap_rmt.c: Likewise.
44183 * sunrpc/publickey.c: Likewise.
44184 * sunrpc/rpc_cmsg.c: Likewise.
44185 * sunrpc/rpc_common.c: Likewise.
44186 * sunrpc/rpc_dtable.c: Likewise.
44187 * sunrpc/rpc_prot.c: Likewise.
44188 * sunrpc/rpc_thread.c: Likewise.
44189 * sunrpc/rtime.c: Likewise.
44190 * sunrpc/svc.c: Likewise.
44191 * sunrpc/svc_auth.c: Likewise.
44192 * sunrpc/svc_authux.c: Likewise.
44193 * sunrpc/svc_raw.c: Likewise.
44194 * sunrpc/svc_run.c: Likewise.
44195 * sunrpc/svc_simple.c: Likewise.
44196 * sunrpc/svc_tcp.c: Likewise.
44197 * sunrpc/svc_udp.c: Likewise.
44198 * sunrpc/svc_unix.c: Likewise.
44199 * sunrpc/svcauth_des.c: Likewise.
44200 * sunrpc/xcrypt.c: Likewise.
44201 * sunrpc/xdr.c: Likewise.
44202 * sunrpc/xdr_array.c: Likewise.
44203 * sunrpc/xdr_float.c: Likewise.
44204 * sunrpc/xdr_intXX_t.c: Likewise.
44205 * sunrpc/xdr_mem.c: Likewise.
44206 * sunrpc/xdr_rec.c: Likewise.
44207 * sunrpc/xdr_ref.c: Likewise.
44208 * sunrpc/xdr_sizeof.c: Likewise.
44209 * sunrpc/xdr_stdio.c: Likewise.
44210
e6c61494
UD
442112011-04-10 Ulrich Drepper <drepper@gmail.com>
44212
44213 [BZ #12650]
44214 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44215 * sysdeps/ia64/dl-tls.h: Likewise.
44216 * sysdeps/powerpc/dl-tls.h: Likewise.
44217 * sysdeps/s390/dl-tls.h: Likewise.
44218 * sysdeps/sh/dl-tls.h: Likewise.
44219 * sysdeps/sparc/dl-tls.h: Likewise.
44220 * sysdeps/x86_64/dl-tls.h: Likewise.
44221 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44222
34fe483e
AS
442232011-03-14 Andreas Schwab <schwab@redhat.com>
44224
44225 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44226 rpath element also skip the following colon.
44227 (expand_dynamic_string_token): Add is_path parameter and pass
44228 down to DL_DST_REQUIRED and _dl_dst_substitute.
44229 (decompose_rpath): Call expand_dynamic_string_token with
44230 non-zero is_path. Ignore empty rpaths.
44231 (_dl_map_object_from_fd): Call expand_dynamic_string_token
44232 with zero is_path.
44233
f12a32e6
AS
442342011-04-08 Andreas Schwab <schwab@linux-m68k.org>
44235
44236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44237 Make cancelable.
44238
38a7d692
UD
442392011-04-09 Ulrich Drepper <drepper@gmail.com>
44240
44241 [BZ #12655]
44242 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44243 Patch by Filipe David Manana <fdmanana@apache.org>.
44244
e451d22b
AS
442452011-04-07 Andreas Schwab <schwab@redhat.com>
44246
44247 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44248 Maintain aligned stack.
44249 (CHECK_RSP): Remove unused macro.
44250
dedc7c7b
UD
442512011-04-03 Ulrich Drepper <drepper@gmail.com>
44252
44253 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44254 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44255
94521213
UD
442562011-04-02 Ulrich Drepper <drepper@gmail.com>
44257
44258 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44259
8cb700c0 44260 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 44261
0354e355
L
442622011-03-26 H.J. Lu <hongjiu.lu@intel.com>
44263
44264 [BZ #12518]
44265 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44266 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44267 * sysdeps/x86_64/memmove.c: New file.
44268 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44269 (memcpy): Renamed to ...
44270 (__new_memcpy): This.
44271 (memcpy): Provide GLIBC_2_14 memcpy.
44272 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44273 (memcpy): Provide GLIBC_2_2_5 memcpy.
44274
8593482f
UD
442752011-04-01 Ulrich Drepper <drepper@gmail.com>
44276
44277 [BZ #12631]
44278 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44279
81a5726b
AS
442802011-03-30 Andreas Schwab <schwab@redhat.com>
44281
44282 * misc/syncfs.c: New file.
44283 * misc/Makefile (routines): Add syncfs.
44284 * posix/unistd.h: Declare syncfs.
44285 * sysdeps/unix/syscalls.list: Add syncfs.
44286
00e5419f
AS
442872011-04-01 Andreas Schwab <schwab@redhat.com>
44288
44289 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44290 open_by_handle_at.
44291 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44292 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44293 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44294 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44295 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44296 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44297 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44298
748876bf
UD
442992011-04-01 Ulrich Drepper <drepper@gmail.com>
44300
658e451d
UD
44301 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44302 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44303 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44304 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44305 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44306 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44307 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44308
748876bf
UD
44309 * io/Makefile: Compile fallocate.c, fallocate64.c, and
44310 sync_file_range.c with -fexceptions.
44311 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44312 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44313 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44314 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44315 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44316 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44317 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
44318 sync_file_range as cancellation point
44319 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
44320 now a wrapper around __call_sync_file_range with cancellation handling.
44321 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44322 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
44323 function name to __call_sync_file_range.
44324 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44325 Add call_sync_file_range.
748876bf 44326
6e63d5e1
AS
443272011-04-01 Andreas Schwab <schwab@redhat.com>
44328
44329 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 44330 bits/timex.h.
6e63d5e1 44331
46998f74
UD
443322011-04-01 Ulrich Drepper <drepper@gmail.com>
44333
4c1423ed
UD
44334 * iconv/iconv.h: Fix typo in comment.
44335 * io/fcntl.h: Likewise.
44336 * libio/stdio.h: Likewise.
44337 * posix/spawn.h: Likewise.
44338 * posix/unistd.h: Likewise.
44339 * stdlib/stdlib.h: Likewise.
44340 * time/time.h: Likewise.
44341 * wcsmbs/wchar.h: Likewise.
44342
158648c0
UD
44343 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44344 open_by_handle): Add.
44345 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44346 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
44347 Augment a few comments.
44348 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44349 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44350 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44351 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44352 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44353 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44354 open_by_handle.
44355
46998f74
UD
44356 * io/fcntl.h (AT_EMPTY_PATH): Define.
44357
83fe108b
UD
443582011-03-30 Ulrich Drepper <drepper@gmail.com>
44359
44360 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44361 * sysdeps/unix/sysv/linux/bits/time.h: New file.
44362 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44363 to...
44364 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
44365 * Versions.def: Add GLIBC_2.14.
44366 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44367 Export.
83fe108b 44368
bb242059
UD
443692011-03-22 Ulrich Drepper <drepper@gmail.com>
44370
44371 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44372 round counter.
44373 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44374
c97a1282
L
443752011-03-20 H.J. Lu <hongjiu.lu@intel.com>
44376
44377 [BZ #12597]
44378 * string/test-strncmp.c (do_page_test): New function.
44379 (check2): Likewise.
44380 (test_main): Call check2.
44381 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44382
2a115601
UD
443832011-03-20 Ulrich Drepper <drepper@gmail.com>
44384
44385 [BZ #12587]
44386 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44387 Handle cache information in CPU leaf 4.
44388 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44389
8126d904
UD
443902011-03-18 Ulrich Drepper <drepper@gmail.com>
44391
042c49c6 44392 [BZ #12583]
8126d904
UD
44393 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44394 character representation.
44395 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44396
ccfe366e
RA
443972011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
44398
44399 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44400 END(__isnan) to END(__isnanf) to match function entry point/label
44401 EALIGN(__isnanf,...).
44402
c6e13027
JJ
444032011-03-10 Jakub Jelinek <jakub@redhat.com>
44404
44405 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44406
33f85a3f
UD
444072011-03-10 Ulrich Drepper <drepper@gmail.com>
44408
028478fa
UD
44409 [BZ #12510]
44410 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44411 copy from the symbol referenced in the relocation to initialize the
44412 used variable.
44413 Patch by Piotr Bury <pbury@goahead.com>.
44414 * elf/Makefile: Add rules to build and tst-unique3.
44415 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44416 * elf/tst-unique3.cc: New file.
44417 * elf/tst-unique3.h: New file.
44418 * elf/tst-unique3lib.cc: New file.
44419 * elf/tst-unique3lib2.cc: New file.
44420
33f85a3f
UD
44421 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44422
03592fc7
MF
444232011-03-10 Mike Frysinger <vapier@gentoo.org>
44424
44425 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44426 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
44427 to _start.
03592fc7 44428
6a5ee102
UD
444292011-03-06 Ulrich Drepper <drepper@gmail.com>
44430
44431 * elf/dl-load.c (_dl_map_object): If we are looking for the first
44432 to-be-loaded object along a path to loader is ld.so.
44433
7e4ba49c
HJ
444342011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44435 Ulrich Drepper <drepper@gmail.com>
44436
44437 * sysdeps/x86_64/memset.S: After aligning destination, code
44438 branches to different locations depending on the value of
44439 misalignment, when multiarch is enabled. Fix this.
44440
444412011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44442
44443 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44444 Set _x86_64_preferred_memory_instruction for AMD processsors.
44445 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44446 Set bit_Prefer_SSE_for_memop for AMD processors.
44447
13a804de
UD
444482011-03-04 Ulrich Drepper <drepper@gmail.com>
44449
44450 * libio/fmemopen.c (fmemopen): Optimize a bit.
44451
9d25c392
AS
444522011-03-03 Andreas Schwab <schwab@redhat.com>
44453
44454 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44455
a5543c6a
RM
444562011-03-03 Roland McGrath <roland@redhat.com>
44457
44458 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44459
012d35f7
DM
444602011-02-28 Aurelien Jarno <aurelien@aurel32.net>
44461
7e4ba49c 44462 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
44463 __bzero_ultra1 instead of __memset_ultra1.
44464
4bff6e01
AS
444652011-02-23 Andreas Schwab <schwab@redhat.com>
44466 Ulrich Drepper <drepper@gmail.com>
44467
44468 [BZ #12509]
44469 * include/link.h (struct link_map): Add l_orig_initfini.
44470 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44471 returning unsuccessfully.
44472 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44473 close of a file loaded at startup, restore the original l_initfini
44474 list.
44475 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44476 list, store the pointer.
44477 * elf/Makefile ($(objpfx)noload-mem): New rule.
44478 (noload-ENV): Define.
44479 (tests): Add $(objpfx)noload-mem.
44480 * elf/noload.c: Include <memcheck.h>.
44481 (main): Call mtrace. Close all opened handles.
44482
f2092faf
AS
444832011-02-17 Andreas Schwab <schwab@redhat.com>
44484
44485 [BZ #12454]
44486 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44487 dependencies are missing.
44488
6c8a2e88
ST
444892011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
44490
f2092faf 44491 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
44492 Hurd needs munmap.
44493 * sysdeps/mach/hurd/ifreq.h: New file.
44494
84a42118
PB
444952011-01-27 Petr Baudis <pasky@suse.cz>
44496 Ulrich Drepper <drepper@gmail.com>
44497
071f805e 44498 [BZ 12445]#
84a42118
PB
44499 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
44500 to extend_alloca().
44501 * stdio-common/bug23.c: New file.
44502 * stdio-common/Makefile (tests): Add bug23.
44503
e23fe25b
AS
445042010-09-28 Andreas Schwab <schwab@redhat.com>
44505 Ulrich Drepper <drepper@gmail.com>
44506
44507 [BZ #12489]
44508 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
44509 before performing relro protection. At old place add assertion
44510 to make sure nothing changed.
44511
d3f02e10
NS
445122011-02-17 Nathan Sidwell <nathan@codesourcery.com>
44513 Glauber de Oliveira Costa <glommer@gmail.com>
44514
44515 * elf/elf.h: Add new ARM TLS relocs.
44516
d55fd7a5
RA
445172011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
44518
44519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44520 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
44521 cast from r3.
44522 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
44523 'tests' variable.
44524 * sysdeps/wordsize-64/tst-writev.c: New file.
44525
2206397e
RA
445262011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
44527
44528 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
44529 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
44530 insns in _dl_start to prevent a TOC reference before relocs are
44531 resolved.
44532
e9433893
UD
445332011-02-15 Ulrich Drepper <drepper@gmail.com>
44534
44535 [BZ #12469]
44536 * Makeconfig: Remove RANLIB definition.
44537 * Makerules: Don't use RANLIB.
44538 * aclocal.m4: Remove ranlib test.
44539 * configure.in: No need to check for ranlib.
44540 * elf/rtld-Rules: Don't use RANLIB.
44541
f75286c6
ST
445422011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
44543
8e31c82d
ST
44544 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
44545 protection macro.
44546 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
44547 inclusion protection macro.
44548
f75286c6
ST
44549 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
44550 SIGRTMIN and SIGRTMAX and print information in that case only when
44551 SIGRTMIN is defined.
44552
c1d0e639
JJ
445532011-02-11 Jakub Jelinek <jakub@redhat.com>
44554
44555 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
44556 arginfo fn returning -1.
44557
44558 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
44559 and thousands string is zero terminated.
44560
edf9294e
AS
445612011-02-03 Andreas Schwab <schwab@redhat.com>
44562
44563 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
44564 sysdeps/unix/sysv/linux/bits/socket.h.
44565
2b7e92df
ST
445662011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
44567
edf9294e
AS
44568 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
44569 (__CPU_COUNT): Remove old macros.
44570 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
44571 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
44572 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
44573 (__sched_cpualloc, __sched_cpufree): Add declarations.
44574
a4c7ea7b
UD
445752011-02-05 Ulrich Drepper <drepper@gmail.com>
44576
44577 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
44578 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
44579 * nscd/aicache.c (addhstaiX): Return timeout of added value.
44580 (readdhstai): Return value of addhstaiX call.
44581 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
44582 (addgrbyX): Return value returned by cache_addgr.
44583 (readdgrbyname): Return value returned by addgrbyX.
44584 (readdgrbygid): Likewise.
44585 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
44586 (addpwbyX): Return value returned by cache_addpw.
44587 (readdpwbyname): Return value returned by addhstbyX.
44588 (readdpwbyuid): Likewise.
44589 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
44590 (addservbyX): Return value returned by cache_addserv.
44591 (readdservbyname): Return value returned by addservbyX:
44592 (readdservbyport): Likewise.
44593 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
44594 (addhstbyX): Return value returned by cache_addhst.
44595 (readdhstbyname): Return value returned by addhstbyX.
44596 (readdhstbyaddr): Likewise.
44597 (readdhstbynamev6): Likewise.
44598 (readdhstbyaddrv6): Likewise.
44599 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
44600 (readdinitgroups): Return value returned by addinitgroupsX.
44601 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
44602 (prune_cache): Keep track of timeout value of re-added entries.
44603 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
44604 * nscd/nscd.h: Adjust prototypes of readd* functions.
44605
a0bf67cc
RM
446062011-02-04 Roland McGrath <roland@redhat.com>
44607
44608 * nis/nis_server.c (nis_servstate): Use the right name for 0.
44609 (nis_stats): Likewise.
44610 * nis/nis_modify.c (nis_modify): Likewise.
44611 * nis/nis_remove.c (nis_remove): Likewise.
44612 * nis/nis_add.c (nis_add): Likewise.
44613
44614 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
44615
44616 * posix/fnmatch_loop.c: Add some consts.
44617
44618 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
44619
435b95eb
L
446202011-02-02 H.J. Lu <hongjiu.lu@intel.com>
44621
44622 [BZ #12460]
44623 * config.make.in (config-cflags-novzeroupper): Define.
44624 * configure.in: Substitute libc_cv_cc_novzeroupper.
44625 * elf/Makefile (AVX-CFLAGS): Define.
44626 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
44627 (CFLAGS-tst-auditmod4a.c): Likewise.
44628 (CFLAGS-tst-auditmod4b.c): Likewise.
44629 (CFLAGS-tst-auditmod6b.c): Likewise.
44630 (CFLAGS-tst-auditmod6c.c): Likewise.
44631 (CFLAGS-tst-auditmod7b.c): Likewise.
44632 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
44633
8517b15e
UD
446342011-02-02 Ulrich Drepper <drepper@gmail.com>
44635
44636 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
44637 function to the callback.
44638 Patch partly by Jiri Olsa <jolsa@redhat.com>.
44639
10a656fe
AS
446402011-02-02 Andreas Schwab <schwab@redhat.com>
44641
44642 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
44643 of errno.
44644
968dad0a
UD
446452011-01-19 Ulrich Drepper <drepper@gmail.com>
44646
9f94d2ea 44647 [BZ #11724]
968dad0a
UD
44648 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
44649 of constructors.
44650 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
44651 of destructors.
44652 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
44653
44654 [BZ #11724]
44655 * elf/Makefile: Add rules to build and run new test.
44656 * elf/tst-initorder.c: New file.
44657 * elf/tst-initorder.exp: New file.
44658 * elf/tst-initordera1.c: New file.
44659 * elf/tst-initordera2.c: New file.
44660 * elf/tst-initordera3.c: New file.
44661 * elf/tst-initordera4.c: New file.
44662 * elf/tst-initorderb1.c: New file.
44663 * elf/tst-initorderb2.c: New file.
44664 * elf/tst-order-a1.c: New file.
44665 * elf/tst-order-a2.c: New file.
44666 * elf/tst-order-a3.c: New file.
44667 * elf/tst-order-a4.c: New file.
44668 * elf/tst-order-b1.c: New file.
44669 * elf/tst-order-b2.c: New file.
44670 * elf/tst-order-main.c: New file.
44671 New test case by George Gensure <werkt0@gmail.com>.
44672
86e92359
UD
446732010-10-01 Andreas Schwab <schwab@redhat.com>
44674
44675 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44676 decoding ACE if AI_CANONIDN.
44677
5d5732b0
UD
446782011-01-18 Ulrich Drepper <drepper@gmail.com>
44679
44680 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
44681
a77e8cbc
UD
446822011-01-17 Ulrich Drepper <drepper@gmail.com>
44683
6392473f
UD
44684 * version.h (RELEASE): Bump for 2.13 release.
44685 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
44686
620a0529
UD
44687 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
44688
18ba70a5
UD
44689 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
44690 MADV_NOHUGEPAGE.
32465c3e
UD
44691 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
44692 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44693 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44694 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44695 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44696 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44697
c0dafcf1
UD
44698 * posix/getconf.c: Update copyright year.
44699 * catgets/gencat.c: Likewise.
44700 * csu/version.c: Likewise.
44701 * debug/catchsegv.sh: Likewise.
44702 * debug/xtrace.sh: Likewise.
44703 * elf/ldconfig.c: Likewise.
44704 * elf/ldd.bash.in: Likewise.
44705 * elf/sprof.c (print_version): Likewise.
44706 * iconv/iconv_prog.c: Likewise.
44707 * iconv/iconvconfig.c: Likewise.
44708 * locale/programs/locale.c: Likewise.
44709 * locale/programs/localedef.c: Likewise.
44710 * malloc/memusage.sh: Likewise.
44711 * malloc/mtrace.pl: Likewise.
44712 * nscd/nscd.c (print_version): Likewise.
44713 * nss/getent.c: Likewise.
44714
a77e8cbc
UD
44715 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
44716 PF_CAIF, and PF_ALG.
44717 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44718
77e8bddf
AS
447192011-01-16 Andreas Schwab <schwab@linux-m68k.org>
44720
1f20b93a
AS
44721 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
44722 (modules-names): Use them.
44723 (ifunc-test-modules, ifunc-pie-tests): Define.
44724 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
44725 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
44726 (test-extras): Likewise.
44727 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
44728 $(compile-command.c).
44729 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
44730 (all-built-dso): Define.
44731 (check-textrel.out, check-execstack.out): Depend on it.
44732
77e8bddf
AS
44733 * configure.in: Don't override --enable-multi-arch.
44734
bc425b33
UD
447352011-01-15 Ulrich Drepper <drepper@gmail.com>
44736
44737 [BZ #6812]
44738 * nscd/hstcache.c (tryagain): Define.
44739 (cache_addhst): Return tryagain not notfound for temporary errors.
44740 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
44741 failed.
44742
794c3ad3
UD
447432011-01-14 Ulrich Drepper <drepper@gmail.com>
44744
70181fdd
UD
44745 [BZ #10563]
44746 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
44747 to make the syscall.
44748 * sysdeps/unix/sysv/linux/setgroups.c: New file.
44749
794c3ad3
UD
44750 [BZ #12378]
44751 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
44752 and fall back to matching as normal character if the string ends before
44753 the matching ']' is found. This is what POSIX requires.
44754 * posix/testfnm.c: Adjust test result.
44755 * posix/globtest.sh: Adjust test result. Add new test.
44756 * posix/tst-fnmatch.input: Likewise.
44757 * posix/tst-fnmatch2.c: Add new test.
44758
68dc9497
AS
447592010-12-28 Andreas Schwab <schwab@linux-m68k.org>
44760
44761 * elf/Makefile (check-execstack): Revert last change. Depend on
44762 check-execstack.h.
44763 (check-execstack.h): New target.
44764 (generated): Add check-execstack.h.
44765 * elf/check-execstack.c: Include "check-execstack.h".
44766 (main): Revert last change.
44767 (handle_file): Return zero if GNU_STACK is absent and
44768 DEFAULT_STACK_PERMS doesn't include PF_X.
44769
451f001b
UD
447702011-01-13 Ulrich Drepper <drepper@gmail.com>
44771
cfa28e56
UD
44772 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
44773 in child fails because the descriptor is already closed.
8cf8ce17
UD
44774 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
44775 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
44776 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 44777
1086d70d
UD
44778 [BZ #12397]
44779 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
44780 syscall.
44781
451f001b
UD
44782 [BZ #10484]
44783 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
44784 temporary buffer used to handle multi lookups locally.
a85b5cb4 44785 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 44786
08769175
UD
447872011-01-12 Ulrich Drepper <drepper@gmail.com>
44788
44789 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
44790 loader is ld.so.
44791
5e49c52e
UD
447922011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
44793
44794 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
44795 alignment for SSE2.
44796
60522a5f
UD
447972011-01-12 Ulrich Drepper <drepper@gmail.com>
44798
44799 [BZ #12394]
44800 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
44801 characters. When rounding increased number of integer digits recompute
44802 number of groups.
44803 * stdio-common/tst-grouping.c: New file.
44804 * stdio-common/Makefile: Add rules to build and run tst-grouping.
44805
f257bbd7
UD
448062011-01-09 Ulrich Drepper <drepper@gmail.com>
44807
44808 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
44809 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
44810
44811 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
44812 void.
44813 * bits/select.h: Likewise.
44814
fa9c15cb
UD
448152011-01-08 Ulrich Drepper <drepper@gmail.com>
44816
44817 * po/ja.po: Update from translation team.
44818
16c2895f
DM
448192011-01-04 David S. Miller <davem@sunset.davemloft.net>
44820
44821 [BZ #11155]
44822 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
44823 implementation just like for lxstat, fxstatat, et al.
44824
2543fef2
JM
448252010-12-27 Jim Meyering <meyering@redhat.com>
44826
44827 [BZ #12348]
44828 * posix/regexec.c (build_trtable): Return failure indication upon
44829 calloc failure. Otherwise, re_search_internal could infloop on OOM.
44830
98727dbe
UD
448312010-12-25 Ulrich Drepper <drepper@gmail.com>
44832
5bd6dc5c
UD
44833 [BZ #12201]
44834 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
44835 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
44836 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
44837 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
44838
97983464
UD
44839 [BZ #12207]
44840 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
44841
98727dbe
UD
44842 [BZ #12204]
44843 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
44844 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
44845
4a531bb0
L
448462010-12-15 H.J. Lu <hongjiu.lu@intel.com>
44847
44848 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
44849 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
44850 script has SORT_BY_INIT_PRIORITY.
44851 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
44852 NO_CTORS_DTORS_SECTIONS is defined.
44853 * elf/soinit.c: Likewise.
44854 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
44855 NO_CTORS_DTORS_SECTIONS is defined.
44856 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
44857 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
44858 * sysdeps/sh/init-first.c: Likewise.
44859 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
44860
07eb4b71
UD
448612010-12-24 Ulrich Drepper <drepper@gmail.com>
44862
44863 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
44864 always use the slow path.
44865
30950a5f
RA
448662010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
44867
44868 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
44869 similar rule which adds the sysdep directories to the header search in
44870 order to pick up the correct platform stackinfo.h.
44871 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
44872 perform test if it is, otherwise return successfully without testing.
44873 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
44874 DEFAULT_STACK_PERMS define in stackinfo.h.
44875 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
44876 defined in stackinfo.h.
44877 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
44878 DEFAULT_STACK_PERMS defined in stackinfo.h.
44879 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
44880 * sysdeps/ia64/stackinfo.h: Likewise.
44881 * sysdeps/s390/stackinfo.h: Likewise.
44882 * sysdeps/sh/stackinfo.h: Likewise.
44883 * sysdeps/sparc/stackinfo.h: Likewise.
44884 * sysdeps/x86_64/stackinfo.h: Likewise.
44885 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
44886 PF_X for powerpc64. Retain PF_X for powerpc32.
44887
db753e2c
UD
448882010-12-19 Ulrich Drepper <drepper@gmail.com>
44889
14b697f7
UD
44890 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
44891 accurately.
db753e2c
UD
44892 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
44893 GETDENTS_64BIT_ALIGNED.
44894
28300719
UD
448952010-12-14 Ulrich Drepper <dreper@gmail.com>
44896
14b697f7 44897 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 44898
4f197237
AS
448992010-12-10 Andreas Schwab <schwab@redhat.com>
44900
dbb0472f
AS
44901 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
44902 _GNU_SOURCE.
44903
4f197237
AS
44904 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
44905 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
44906 Remove __restrict.
44907 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
44908 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
44909
fb88ac72
UD
449102010-12-09 Ulrich Drepper <drepper@gmail.com>
44911
44912 [BZ #11655]
44913 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
44914 are initialized.
44915
42acbb92
JJ
449162010-12-09 Jakub Jelinek <jakub@redhat.com>
44917
44918 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
44919
c038d98d
UD
449202010-12-03 Ulrich Drepper <drepper@gmail.com>
44921
44922 * po/it.po: Update from translation team.
44923
3a4a2499
L
449242010-12-01 H.J. Lu <hongjiu.lu@intel.com>
44925
44926 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
44927 unused codes.
44928
1e24cf6e
UD
449292010-11-30 Ulrich Drepper <drepper@gmail.com>
44930
44931 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
44932
a7690819
AS
449332010-11-24 Andreas Schwab <schwab@redhat.com>
44934
44935 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
44936 specially.
44937 (gaih_getanswer_slice): Likewise.
44938
3bf8d1b1
JJ
449392010-10-20 Jakub Jelinek <jakub@redhat.com>
44940
44941 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
44942
6db52fbb
PB
449432010-05-31 Petr Baudis <pasky@suse.cz>
44944
44945 [BZ #11149]
44946 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
44947 silently even in the chroot mode.
44948
eaca7569
UD
449492010-11-22 Ulrich Drepper <drepper@gmail.com>
44950
44951 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
44952 last patch a bit. Pretty printing
44953
3056dcdb
UD
449542010-05-31 Petr Baudis <pasky@suse.cz>
44955
44956 [BZ #10085]
44957 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
44958 initialization of skip_initgroups_dyn.
44959
cf7c9078
UD
449602010-11-19 Ulrich Drepper <drepper@gmail.com>
44961
44962 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
44963 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44964
a1fb5e3e
UD
449652010-11-16 Ulrich Drepper <drepper@gmail.com>
44966
44967 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
44968
3540d66b
AS
449692010-11-11 Andreas Schwab <schwab@redhat.com>
44970
44971 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
44972 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
44973 (tst-fnmatch-ENV): Set MALLOC_TRACE.
44974 ($(objpfx)tst-fnmatch-mem): New rule.
44975 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
44976 * posix/tst-fnmatch.c (main): Call mtrace.
44977
13b69574
L
449782010-11-11 H.J. Lu <hongjiu.lu@intel.com>
44979
44980 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44981 Support Intel processor model 6 and model 0x2c.
44982
da93d214
LM
449832010-11-10 Luis Machado <luisgpm@br.ibm.com>
44984
44985 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
44986 signed comparison.
44987
8ca52c6e
L
449882010-11-09 H.J. Lu <hongjiu.lu@intel.com>
44989
44990 [BZ #12205]
44991 * string/test-strncasecmp.c (check_result): New function.
44992 (do_one_test): Use it.
44993 (check1): New function.
44994 (test_main): Use it.
44995 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
44996 Support strcasecmp and strncasecmp.
44997
69da074d
UD
449982010-11-08 Ulrich Drepper <drepper@gmail.com>
44999
45000 [BZ #12194]
45001 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45002 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45003
ff02d528
L
450042010-11-07 H.J. Lu <hongjiu.lu@intel.com>
45005
45006 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45007 IFUNC support.
45008 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45009 memset-x86-64.
45010 * sysdeps/x86_64/multiarch/bzero.S: New file.
45011 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45012 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45013 * sysdeps/x86_64/multiarch/memset.S: New file.
45014 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45015 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45016 Set bit_Prefer_SSE_for_memop for Intel processors.
45017 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45018 Define.
45019 (index_Prefer_SSE_for_memop): Define.
45020 (HAS_PREFER_SSE_FOR_MEMOP): Define.
45021
344d0b54
LM
450222010-11-04 Luis Machado <luisgpm@br.ibm.com>
45023
45024 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45025 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45026
c0dde15b
UD
450272010-11-03 H.J. Lu <hongjiu.lu@intel.com>
45028
45029 [BZ #12191]
45030 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45031 (__x86_64_raw_data_cache_size_half): Likewise.
45032 (__x86_64_raw_shared_cache_size): Likewise.
45033 (__x86_64_raw_shared_cache_size_half): Likewise.
45034
45035 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45036 (__x86_64_raw_data_cache_size_half): Likewise.
45037 (__x86_64_raw_shared_cache_size): Likewise.
45038 (__x86_64_raw_shared_cache_size_half): Likewise.
45039 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45040 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45041 and __x86_64_raw_shared_cache_size_half. Round
45042 __x86_64_data_cache_size_half, __x86_64_data_cache_size
45043 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45044 to multiple of 256 bytes.
45045
0e516e0e
MS
450462010-11-03 Ulrich Drepper <drepper@gmail.com>
45047
45048 [BZ #12167]
45049 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45050 of inacessible symlinks. Verify result of symlink before returning it.
45051 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45052 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45053
0e012e87
ER
450542010-10-28 Erich Ritz <erichritz@gmail.com>
45055
45056 * math/math.h (isinf): Fix typo in comment.
45057
de0ff7bc
UD
450582010-11-01 Ulrich Drepper <drepper@gmail.com>
45059
45060 * po/da.po: Update from translation team.
45061
fa41c84d
UD
450622010-10-26 Ulrich Drepper <drepper@gmail.com>
45063
45064 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45065 is added to the list.
45066
f0967738
AK
450672010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45068 Ulrich Drepper <drepper@gmail.com>
45069
45070 * elf/dl-object.c (_dl_new_object): Don't append the new object to
45071 the global list here. Move code to...
45072 (_dl_add_to_namespace_list): ...here. New function.
45073 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45074 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45075 * elf/dl-load.c (lose): Don't remove the element from the list.
45076 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45077 (_dl_map_object): Likewise.
45078
450792010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
45080
45081 [BZ #12159]
45082 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45083 into all bytes of SSE register.
45084 Patch by Richard Li <richardpku@gmail.com>.
45085
f0967738 450862010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
45087
45088 [BZ #12140]
45089 * malloc/malloc.c (_int_free): Fill correct number of bytes when
45090 perturbing.
45091
d0b9e94f
MB
450922010-10-20 Michael B. Brutman <brutman@us.ibm.com>
45093
45094 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45095 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45096 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45097 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45099 submachine.
45100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45101
8e9f92e9
AS
451022010-10-22 Andreas Schwab <schwab@redhat.com>
45103
45104 * include/dlfcn.h (__RTLD_SECURE): Define.
45105 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
45106 mode & __RTLD_SECURE instead.
45107 (open_path): Rename preloaded parameter to secure.
45108 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45109 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45110 * elf/dl-deps.c (openaux): Likewise.
45111 * elf/rtld.c (struct map_args): Remove is_preloaded.
45112 (map_doit): Don't use it.
45113 (dl_main): Likewise.
45114 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45115 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45116
bc96fbda
AS
451172010-09-09 Andreas Schwab <schwab@redhat.com>
45118
45119 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45120 (sysd-rules-targets): Remove duplicates.
45121 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45122 rtld-%.$o dependency.
45123
22cd1c9b
AS
451242010-10-18 Andreas Schwab <schwab@redhat.com>
45125
45126 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45127 _dl_map_object do it.
45128
18edac48
UD
451292010-10-19 Ulrich Drepper <drepper@gmail.com>
45130
45131 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45132 fast fma builtins, define the macros in the C99 standard.
45133 (FP_FAST_FMAF): Likewise.
45134 (FP_FAST_FMAL): Likewise.
45135 * sysdeps/x86_64/bits/mathdef.h: Likewise.
45136
45137 * bits/mathdef.h: Update copyright year.
45138 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45139
d2050124
MM
451402010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
45141
45142 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45143 builtins, define the macros in the C99 standard.
45144 (FP_FAST_FMAF): Likewise.
45145 (FP_FAST_FMAL): Likewise.
45146 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45147 multiply/add.
45148 (FP_FAST_FMAF): Likewise.
45149
475facd1
JJ
451502010-10-15 Jakub Jelinek <jakub@redhat.com>
45151
45152 [BZ #3268]
45153 * math/libm-test.inc (fma_test): Some new testcases.
45154 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45155 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45156 y and infinite z. Do multiplication by C already in long double.
45157 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45158 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45159 y and infinite z. Do bitwise or of inexact bit into u.d.
45160 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45161 * sysdeps/i386/fpu/s_fmaf.S: Removed.
45162 * sysdeps/i386/fpu/s_fma.S: Removed.
45163 * sysdeps/i386/fpu/s_fmal.S: Removed.
45164
7c08a05c
JJ
451652010-10-16 Jakub Jelinek <jakub@redhat.com>
45166
45167 [BZ #3268]
45168 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45169 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45170 computation is not scheduled after fetestexcept. Fix value
45171 of minimum denormal long double.
45172
f3f7372d
JJ
451732010-10-14 Jakub Jelinek <jakub@redhat.com>
45174
45175 [BZ #3268]
45176 * math/libm-test.inc (fma_test): Add some more tests.
45177 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45178 correctly.
45179
14d43591
AS
451802010-10-15 Andreas Schwab <schwab@redhat.com>
45181
45182 * scripts/data/localplt-s390-linux-gnu.data: New file.
45183 * scripts/data/localplt-s390x-linux-gnu.data: New file.
45184
5e908464
JJ
451852010-10-13 Jakub Jelinek <jakub@redhat.com>
45186
45187 [BZ #3268]
45188 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45189 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45190 instead of dbl-64.
45191 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45192 inlines.
45193 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45194 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45195 if one of x and y is very large and the other is subnormal.
45196 * sysdeps/s390/fpu/s_fmaf.c: New file.
45197 * sysdeps/s390/fpu/s_fma.c: New file.
45198 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45199 * sysdeps/powerpc/fpu/s_fma.S: New file.
45200 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45201 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45202 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45203
452042010-10-12 Jakub Jelinek <jakub@redhat.com>
45205
45206 [BZ #3268]
45207 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45208 fma tests.
45209 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45210 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45211 * sysdeps/i386/i686/multiarch/s_fma.c: Include
45212 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45213 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45214 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45215 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45216
b833d51f
UD
452172010-10-12 Ulrich Drepper <drepper@redhat.com>
45218
45219 [BZ #12078]
45220 * posix/regcomp.c (parse_branch): One more memory leak plugged.
45221 * posix/bug-regex31.input: Add test case.
45222
1751705d
UD
452232010-10-11 Ulrich Drepper <drepper@gmail.com>
45224
e9b9cbf5
UD
45225 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45226 * posix/bug-regex31.input: New file.
45227
45228 [BZ #12078]
45229 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45230 (parse_sub_exp): Fix last change, use postorder.
45231
ef06edbe
UD
45232 * posix/bug-regex31.c: New file.
45233 * posix/Makefile: Add rules to build and run bug-regex31.
45234
a129c80d
UD
45235 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45236
45237 [BZ #12078]
45238 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45239
b76b818e
UD
45240 [BZ #12108]
45241 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45242 to have entries in sys_siglist.
45243
1751705d
UD
45244 [BZ #12093]
45245 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45246 be NULL.
45247
9ff8d36f
JJ
452482010-10-07 Jakub Jelinek <jakub@redhat.com>
45249
45250 [BZ #3268]
45251 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45252 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45253 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45254 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45255 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45256 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45257 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45258 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45259 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45260 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45261 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45262 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45263 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45264 * math/ftestexcept.c (fetestexcept): Likewise.
45265 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45266 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45267 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45268 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45269 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45270 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45271 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45272
af325969
UD
452732010-10-11 Ulrich Drepper <drepper@gmail.com>
45274
c579b202 45275 [BZ #12107]
af325969
UD
45276 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45277 newline.
45278
67a67b95
UD
452792010-10-06 Ulrich Drepper <drepper@gmail.com>
45280
45281 * string/bug-strstr1.c: New file.
45282 * string/Makefile: Add rules to build and run bug-strstr1.
45283
5fb308bc
EB
452842010-10-05 Eric Blake <eblake@redhat.com>
45285
45286 [BZ #12092]
45287 * string/str-two-way.h (two_way_long_needle): Always clear memory
45288 when skipping input due to the shift table.
45289
45db99c7
UD
452902010-10-03 Ulrich Drepper <drepper@gmail.com>
45291
3b111893
UD
45292 [BZ #12005]
45293 * malloc/mcheck.c: Handle large requests.
45294
45db99c7
UD
45295 [BZ #12077]
45296 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45297 for strncmp and strncasecmp.
45298 * string/stratcliff.c: Add tests for strcmp and strncmp.
45299 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45300
cf7a1eb8
NI
453012010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45302
45303 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45304 __set_fpscr.
45305
6484ba5e
AJ
453062010-09-30 Andreas Jaeger <aj@suse.de>
45307
45308 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45309 (CGROUP_SUPER_MAGIC): Define.
45310 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45311 Handle btrfs and cgroup file systems.
45312 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45313 Likewise.
45314
91c42559
LM
453152010-09-27 Luis Machado <luisgpm@br.ibm.com>
45316
45317 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45318 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45319
87a97932
AK
453202010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45321
45322 [BZ #12067]
45323 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45324 trying to locate the ELF header.
45325
c21cc9bc
AS
453262010-09-27 Andreas Schwab <schwab@redhat.com>
45327
45328 [BZ #11611]
45329 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45330 Mask out sign-bit copies when constructing f_fsid.
45331
315970f6
PB
453322010-09-24 Petr Baudis <pasky@suse.cz>
45333
45334 * debug/stack_chk_fail_local.c: Add missing licence exception.
45335 * debug/warning-nop.c: Likewise.
45336
1ac7a2c7
JM
453372010-09-15 Joseph Myers <joseph@codesourcery.com>
45338
45339 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45340 implementing getdents64 using getdents syscall, set d_type if
45341 __ASSUME_GETDENTS32_D_TYPE.
45342
56801c50
AS
453432010-09-16 Andreas Schwab <schwab@redhat.com>
45344
45345 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45346 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45347
dda51327
UD
453482010-09-21 Ulrich Drepper <drepper@redhat.com>
45349
45350 [BZ #12037]
45351 * posix/unistd.h: Undo change of feature selection for ftruncate from
45352 2010-01-11.
45353
8ffcee4a
UD
453542010-09-20 Ulrich Drepper <drepper@redhat.com>
45355
a545ecd9 45356 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
45357 detection.
45358
e24f0a8b
AS
453592010-09-20 Andreas Schwab <schwab@redhat.com>
45360
45361 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45362 fanotify_mark.
45363 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45364
7291c56f
AS
453652010-09-14 Andreas Schwab <schwab@redhat.com>
45366
45367 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45368 variables after CHECK_SP call.
45369 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45370
bc5fb037
AS
453712010-09-13 Andreas Schwab <schwab@redhat.com>
45372 Ulrich Drepper <drepper@redhat.com>
45373
45374 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45375 re-relocationg ld.so.
45376 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45377 _dl_init_paths call.
45378 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
45379 here anymore.
45380
e66e7419
UD
453812010-09-14 Ulrich Drepper <drepper@redhat.com>
45382
45383 * resolv/res_init.c (__res_vinit): Count the default server we added.
45384
c044aa75
CLT
453852010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
45386 Ulrich Drepper <drepper@redhat.com>
45387
45388 [BZ #11968]
45389 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45390 (____longjmp_chk): Use %ebx for saving value across system call.
45391 Add unwind info.
45392
32cf4069
AS
453932010-09-06 Andreas Schwab <schwab@redhat.com>
45394
45395 * manual/Makefile: Don't mix pattern rules with normal rules.
45396
817328ee
AS
453972010-09-05 Andreas Schwab <schwab@linux-m68k.org>
45398
45399 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45400 operation.
45401 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45402 * libio/iofopncook.c (_IO_cookie_init): Likewise.
45403 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45404 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45405 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45406 Likewise.
45407
29fddf61
UD
454082010-09-04 Ulrich Drepper <drepper@redhat.com>
45409
45410 [BZ #11979]
45411 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45412 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45413
0959ffc9
UD
454142010-09-02 Ulrich Drepper <drepper@redhat.com>
45415
45416 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45417 * sysdeps/x86_64/addmul_1.S: Likewise.
45418 * sysdeps/x86_64/lshift.S: Likewise.
45419 * sysdeps/x86_64/mul_1.S: Likewise.
45420 * sysdeps/x86_64/rshift.S: Likewise.
45421 * sysdeps/x86_64/sub_n.S: Likewise.
45422 * sysdeps/x86_64/submul_1.S: Likewise.
45423
ece29840
ST
454242010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
45425
0959ffc9
UD
45426 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45427 Define __sched_param instead of SCHED_* and sched_param when
ece29840 45428 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 45429 * bits/sched.h [__need_schedparam]
ece29840 45430 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
45431 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45432 (__defined_schedparam): Define to 1.
ece29840
ST
45433 (__sched_param): New structure, identical to sched_param.
45434 (__need_schedparam): Undefine.
45435
e53a31fe
MF
454362010-08-31 Mike Frysinger <vapier@gentoo.org>
45437
fdc0c10d
MF
45438 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45439 (epoll_create1): Declare.
45440
e53a31fe
MF
45441 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45442
a726d796
AS
454432010-08-31 Andreas Schwab <schwab@redhat.com>
45444
45445 [BZ #7066]
45446 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45447 shifting retval into place.
45448
2f3e3dc7
UD
454492010-09-01 Ulrich Drepper <drepper@redhat.com>
45450
f2933da9
UD
45451 * nis/rpcsvc/nis.h: Update copyright notice.
45452 * nis/rpcsvc/nis.x: Likewise.
45453 * nis/rpcsvc/nis_callback.h: Likewise.
45454 * nis/rpcsvc/nis_callback.x: Likewise.
45455 * nis/rpcsvc/nis_object.x: Likewise.
45456 * nis/rpcsvc/nis_tags.h: Likewise.
45457 * nis/rpcsvc/yp.h: Likewise.
45458 * nis/rpcsvc/yp.x: Likewise.
45459 * nis/rpcsvc/ypupd.h: Likewise.
45460 * nis/yp_xdr.c: Likewise.
45461 * nis/ypupdate_xdr.c: Likewise.
45462
2f3e3dc7
UD
45463 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
45464 mainly the body of pmap_getport. Add parameters to specify timeouts.
45465 (pmap_getport): Use __libc_rpc_getport.
45466 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45467 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45468 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45469
f3dcc2f9
AS
454702010-08-31 Andreas Schwab <schwab@linux-m68k.org>
45471
45472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45473 fanotify_mark.
45474
6d34eb5b
RM
454752010-08-27 Roland McGrath <roland@redhat.com>
45476
45477 * sysdeps/i386/i686/multiarch/Makefile
45478 (CFLAGS-varshift.c): New variable.
45479
9ea3de11
UD
454802010-08-27 Ulrich Drepper <drepper@redhat.com>
45481
c96d23fc
UD
45482 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45483 * sysdeps/i386/i686/multiarch/varshift.c: New file.
45484
9ea3de11
UD
45485 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45486
45487 * sysdeps/x86_64/strlen.S: Minimal code improvement.
45488
623aac7f
L
454892010-08-26 H.J. Lu <hongjiu.lu@intel.com>
45490
45491 * sysdeps/x86_64/strlen.S: Unroll the loop.
45492 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45493 strlen-sse2 strlen-sse2-bsf.
45494 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45495 __strlen_no_bsf if bit_Slow_BSF is set.
45496 (__strlen_sse42): Removed.
45497 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45498 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
45499
8b2b7715
RM
455002010-08-25 Roland McGrath <roland@redhat.com>
45501
45502 * sysdeps/x86_64/multiarch/varshift.S: File removed.
45503 * sysdeps/x86_64/multiarch/varshift.c: New file.
45504 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
45505 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
45506 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
45507 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45508
e73015f2
L
455092010-08-25 H.J. Lu <hongjiu.lu@intel.com>
45510
45511 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45512 strlen-sse2 strlen-sse2-bsf.
45513 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
45514 __strlen_sse2_bsf if bit_Slow_BSF is unset.
45515 (__strlen_sse2): Removed.
45516 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
45517 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
45518 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45519 bit_Slow_BSF for Atom.
45520 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
45521 (index_Slow_BSF): Define.
45522 (HAS_SLOW_BSF): Define.
45523
df24a73e
UD
455242010-08-25 Ulrich Drepper <drepper@redhat.com>
45525
45526 [BZ #10851]
45527 * resolv/res_init.c (__res_vinit): When no server address at all
45528 is given default to loopback.
45529
f2ac4868
RM
455302010-08-24 Roland McGrath <roland@redhat.com>
45531
09055553
RM
45532 * configure.in: Remove config-name.h generation.
45533 * configure: Regenerated.
45534 * config-name.in: File removed.
45535 * scripts/config-uname.sh: New file.
45536 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
45537 ($(objdir)config-name.h): New target.
45538
f2ac4868
RM
45539 * sunrpc/rpc_parse.h: Avoid nested comment.
45540
73f27d5e
RH
455412010-08-24 Richard Henderson <rth@redhat.com>
45542 Ulrich Drepper <drepper@redhat.com>
45543 H.J. Lu <hongjiu.lu@intel.com>
45544
45545 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
45546 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
45547 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
45548 Replace _mm_srli_si128 with __m128i_shift_right. Replace
45549 _mm_alignr_epi8 with _mm_loadu_si128.
45550 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
45551 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
45552 (__m128i_shift_right): Removed.
45553 * sysdeps/i386/i686/multiarch/varshift.h: New file.
45554 * sysdeps/i386/i686/multiarch/varshift.S: New file.
45555 * sysdeps/x86_64/multiarch/varshift.h: New file.
45556 * sysdeps/x86_64/multiarch/varshift.S: New file.
45557
84b9230c
MF
455582010-08-21 Mike Frysinger <vapier@gentoo.org>
45559
45560 * configure.in: Move assembler checks to before sysdep dir checking.
45561
9bbd0ddc
PB
455622010-08-20 Petr Baudis <pasky@suse.cz>
45563
45564 * LICENSES: Sync the sunrpc license.
45565
9da4bb31
UD
455662010-08-19 Ulrich Drepper <drepper@redhat.com>
45567
a7ab6ec8
UD
45568 * sunrpc/auth_des.c: Update copyright notice once again.
45569 * sunrpc/auth_none.c: Likewise.
45570 * sunrpc/auth_unix.c: Likewise.
45571 * sunrpc/authdes_prot.c: Likewise.
45572 * sunrpc/authuxprot.c: Likewise.
45573 * sunrpc/bindrsvprt.c: Likewise.
45574 * sunrpc/clnt_gen.c: Likewise.
45575 * sunrpc/clnt_perr.c: Likewise.
45576 * sunrpc/clnt_raw.c: Likewise.
45577 * sunrpc/clnt_simp.c: Likewise.
45578 * sunrpc/clnt_tcp.c: Likewise.
45579 * sunrpc/clnt_udp.c: Likewise.
45580 * sunrpc/clnt_unix.c: Likewise.
45581 * sunrpc/des_crypt.c: Likewise.
45582 * sunrpc/des_soft.c: Likewise.
45583 * sunrpc/get_myaddr.c: Likewise.
45584 * sunrpc/getrpcport.c: Likewise.
45585 * sunrpc/key_call.c: Likewise.
45586 * sunrpc/key_prot.c: Likewise.
45587 * sunrpc/openchild.c: Likewise.
45588 * sunrpc/pm_getmaps.c: Likewise.
45589 * sunrpc/pm_getport.c: Likewise.
45590 * sunrpc/pmap_clnt.c: Likewise.
45591 * sunrpc/pmap_prot.c: Likewise.
45592 * sunrpc/pmap_prot2.c: Likewise.
45593 * sunrpc/pmap_rmt.c: Likewise.
45594 * sunrpc/rpc/auth.h: Likewise.
45595 * sunrpc/rpc/auth_unix.h: Likewise.
45596 * sunrpc/rpc/clnt.h: Likewise.
45597 * sunrpc/rpc/des_crypt.h: Likewise.
45598 * sunrpc/rpc/key_prot.h: Likewise.
45599 * sunrpc/rpc/netdb.h: Likewise.
45600 * sunrpc/rpc/pmap_clnt.h: Likewise.
45601 * sunrpc/rpc/pmap_prot.h: Likewise.
45602 * sunrpc/rpc/pmap_rmt.h: Likewise.
45603 * sunrpc/rpc/rpc.h: Likewise.
45604 * sunrpc/rpc/rpc_des.h: Likewise.
45605 * sunrpc/rpc/rpc_msg.h: Likewise.
45606 * sunrpc/rpc/svc.h: Likewise.
45607 * sunrpc/rpc/svc_auth.h: Likewise.
45608 * sunrpc/rpc/types.h: Likewise.
45609 * sunrpc/rpc/xdr.h: Likewise.
45610 * sunrpc/rpc_clntout.c: Likewise.
45611 * sunrpc/rpc_cmsg.c: Likewise.
45612 * sunrpc/rpc_common.c: Likewise.
45613 * sunrpc/rpc_cout.c: Likewise.
45614 * sunrpc/rpc_dtable.c: Likewise.
45615 * sunrpc/rpc_hout.c: Likewise.
45616 * sunrpc/rpc_main.c: Likewise.
45617 * sunrpc/rpc_parse.c: Likewise.
45618 * sunrpc/rpc_parse.h: Likewise.
45619 * sunrpc/rpc_prot.c: Likewise.
45620 * sunrpc/rpc_sample.c: Likewise.
45621 * sunrpc/rpc_scan.c: Likewise.
45622 * sunrpc/rpc_scan.h: Likewise.
45623 * sunrpc/rpc_svcout.c: Likewise.
45624 * sunrpc/rpc_tblout.c: Likewise.
45625 * sunrpc/rpc_util.c: Likewise.
45626 * sunrpc/rpc_util.h: Likewise.
45627 * sunrpc/rpcinfo.c: Likewise.
45628 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
45629 * sunrpc/rpcsvc/key_prot.x: Likewise.
45630 * sunrpc/rpcsvc/klm_prot.x: Likewise.
45631 * sunrpc/rpcsvc/mount.x: Likewise.
45632 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
45633 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
45634 * sunrpc/rpcsvc/rex.x: Likewise.
45635 * sunrpc/rpcsvc/rstat.x: Likewise.
45636 * sunrpc/rpcsvc/rusers.x: Likewise.
45637 * sunrpc/rpcsvc/sm_inter.x: Likewise.
45638 * sunrpc/rpcsvc/spray.x: Likewise.
45639 * sunrpc/rpcsvc/yppasswd.x: Likewise.
45640 * sunrpc/rtime.c: Likewise.
45641 * sunrpc/svc.c: Likewise.
45642 * sunrpc/svc_auth.c: Likewise.
45643 * sunrpc/svc_authux.c: Likewise.
45644 * sunrpc/svc_raw.c: Likewise.
45645 * sunrpc/svc_run.c: Likewise.
45646 * sunrpc/svc_simple.c: Likewise.
45647 * sunrpc/svc_tcp.c: Likewise.
45648 * sunrpc/svc_udp.c: Likewise.
45649 * sunrpc/svc_unix.c: Likewise.
45650 * sunrpc/svcauth_des.c: Likewise.
45651 * sunrpc/xcrypt.c: Likewise.
45652 * sunrpc/xdr.c: Likewise.
45653 * sunrpc/xdr_array.c: Likewise.
45654 * sunrpc/xdr_float.c: Likewise.
45655 * sunrpc/xdr_mem.c: Likewise.
45656 * sunrpc/xdr_rec.c: Likewise.
45657 * sunrpc/xdr_ref.c: Likewise.
45658 * sunrpc/xdr_sizeof.c: Likewise.
45659 * sunrpc/xdr_stdio.c: Likewise.
45660
9da4bb31
UD
45661 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
45662 handling.
45663
bdaa77bc
AS
456642010-08-19 Andreas Schwab <schwab@redhat.com>
45665
45666 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
45667
fe2f79db
LM
456682010-08-19 Luis Machado <luisgpm@br.ibm.com>
45669
45670 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
45671 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
45672 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
45673 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
45674 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
45675 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
45676 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
45677 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
45678 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
45679 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
45680 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
45681 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
45682 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
45683 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
45684
b9b42ee0
AB
456852010-07-26 Anton Blanchard <anton@samba.org>
45686
45687 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
45688 * malloc/arena.c (heap_trim): Likewise.
45689
1c06ba31
UD
456902010-08-16 Ulrich Drepper <drepper@redhat.com>
45691
45692 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
45693 here. Not...
45694 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
45695 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
45696
f8392f40
L
456972010-08-12 H.J. Lu <hongjiu.lu@intel.com>
45698
45699 * sysdeps/i386/elf/Makefile: New file.
45700
3162f12e
AS
457012010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45702
45703 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
45704 from fanotify_init.
45705 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
45706 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45707
28c90b2c
UD
457082010-08-15 Ulrich Drepper <drepper@redhat.com>
45709
45710 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
45711 of strncasecmp_l.
1feccb6c 45712 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 45713
ca6bb004
UD
457142010-08-14 Ulrich Drepper <drepper@redhat.com>
45715
e9f82e0d
UD
45716 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45717 strncase_l-nonascii.
45718 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45719 Add strncase_l-ssse3.
45720 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
45721 * sysdeps/x86_64/strcmp.S: Likewise.
45722 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
45723 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
45724 * sysdeps/x86_64/strncase.S: New file.
45725 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
45726 * sysdeps/x86_64/strncase_l.S: New file.
45727 * string/Makefile (strop-tests): Add strncasecmp.
45728 * string/test-strncasecmp.c: New file.
45729
45730 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
45731 warning.
45732
ca6bb004
UD
45733 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
45734 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
45735
052fa7b3
AS
457362010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45737
45738 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
45739
962dba78
UD
457402010-08-12 Ulrich Drepper <drepper@redhat.com>
45741
45742 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
45743 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
45744 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
45745
bebff237
AM
457462010-05-01 Alan Modra <amodra@gmail.com>
45747
45748 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
45749 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
45750 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
45751 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
45752 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
45753 tidying. Don't tail-call __sigjmp_save for static lib.
45754 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
45755 save location.
45756 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
45757 (CALL_MCOUNT): Add eh info, and nop after bl.
45758 (TAIL_CALL_SYSCALL_ERROR): New macro.
45759 (PSEUDO_RET): Use it.
45760 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45761 Correct save location of integer regs and cr.
45762 (_dl_profile_resolve): Correct cr save location. Delete nops
45763 after bl when SHARED. Reduce cfi size a little by better
45764 placement of cfi directives.
45765 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
45766 make a stack frame. Instead use parm save area as a temp.
45767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
45768 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
45769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45770 Don't make a stack frame for parent, use parm save area.
45771 Increase child stack frame to 112 bytes. Don't save unused reg,
45772 and adjust reg usage. Set up cfi on error recovery and
45773 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
45774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45775 (__makecontext): Add dummy nop after jump to exit.
45776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
45777 Use correct parm save area and cr save, reduce stack frame.
45778 Correct cfi for possible PSEUDO_RET frame setup.
45779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
45780 Branch to local label emitted by PSEUDO_RET rather than
45781 __syscall_error.
45782
02637374
AS
457832010-08-12 Andreas Schwab <schwab@redhat.com>
45784
45785 [BZ #11904]
45786 * locale/programs/locale.c (print_assignment): New function.
45787 (show_locale_vars): Use it.
45788
c3e2f19b
UD
457892010-08-11 Ulrich Drepper <drepper@redhat.com>
45790
3cdaa6ad
UD
45791 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
45792 field.
45793 (struct statfs64): Likewise.
45794 (_STATFS_F_FLAGS): Define.
45795 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
45796 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45797 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
45798 (ST_VALID): Define locally.
45799 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
45800 __statvfs_getflags, use the provided value.
45801 * sysdeps/unix/sysv/linux/kernel-features.h: Define
45802 __ASSUME_STATFS_F_FLAGS.
45803
754f7da3
UD
45804 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
45805
10b3bedc
UD
45806 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
45807 Add sys/fanotify.h.
45808 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
45809 fanotify_mask for GLIBC_2.13.
45810 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
45811 fanotify_init and fanotify_mark.
45812 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45813 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
45814
c08fb0d7
UD
45815 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
45816 Add prlimit.
45817 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
45818 prlimit64 for GLIBC_2.13.
45819 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
45820 prlimit64.
45821 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
45822 syscall.
45823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
45824 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45825 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
45826 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
45827 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
45828 add prlimit alias.
45829 * sysdeps/unix/sysv/linux/prlimit.c: New file.
45830
15bac72b
UD
45831 [BZ #11903]
45832 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
45833 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
45834
c3e2f19b
UD
45835 * nss/Makefile: Add rules to build and run tst-nss-test1.
45836 * shlib-versions: Add entry for libnss_test1.
45837 * nss/nss_test1.c: New file.
45838 * nss/tst-nss-test1.c: New file.
45839
45840 * nss/nsswitch.c (__nss_database_custom): Define new variable.
45841 (__nss_configure_lookup): Set appropriate entry in
45842 __nss_configure_lookup to true.
45843 * nss/nsswitch.h: Define enum with indeces of databases in
45844 databases and __nss_database_custom arrays. Declare
45845 __nss_database_custom.
45846 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
45847 to avoid using nscd when custom rules are installed.
45848 * nss/getXXbyYY_r.c: Likewise.
45849 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45850
45851 * nss/nss_files/files-parse.c: Whitespace fixes.
45852
f15ce4d8
UD
458532010-08-09 Ulrich Drepper <drepper@redhat.com>
45854
45855 [BZ #11883]
45856 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
45857 * posix/fnmatch_loop.c: Likewise.
45858
d22e4cc9
AK
458592010-07-17 Andi Kleen <ak@linux.intel.com>
45860
45861 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
45862 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
45863 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
45864 * Versions.def [GLIBC_2.13]: Add.
45865
805bc17d
UD
458662010-08-06 Ulrich Drepper <drepper@redhat.com>
45867
45868 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45869 Also fail if tpwd after pwuid call is NULL.
45870
5a42321d
ST
458712010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
45872
45873 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
45874 when converting to ms.
45875
fd3ebeda
ST
458762010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45877
45878 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
45879 EOPNOTSUPP errors with ENOTTY.
45880 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
45881 EOPNOTSUPP errors with ENOTTY.
45882
73507d3a
UD
458832010-07-31 Ulrich Drepper <drepper@redhat.com>
45884
45885 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45886 Add strcasecmp_l-ssse3.
45887 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
45888 strcasecmp.
45889 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
45890 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
45891 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
45892
fe36dd02
UD
458932010-07-30 Ulrich Drepper <drepper@redhat.com>
45894
66f6765a
UD
45895 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
45896
42e08a54
UD
45897 * string/Makefile (strop-tests): Add strcasecmp.
45898 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45899 strcasecmp_l-nonascii.
45900 (gen-as-const-headers): Add locale-defines.sym.
45901 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
45902 * sysdeps/x86_64/strcasecmp.S: New file.
45903 * sysdeps/x86_64/strcasecmp_l.S: New file.
45904 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
45905 * sysdeps/x86_64/locale-defines.sym: New file.
45906 * string/test-strcasecmp.c: New file.
45907
fe36dd02
UD
45908 * string/test-strcasestr.c: Test both ends of the range of characters.
45909 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
45910
48cbc0d6
RM
459112010-07-29 Roland McGrath <roland@redhat.com>
45912
76e6d6bc 45913 [BZ #11856]
48cbc0d6
RM
45914 * manual/locale.texi (Yes-or-No Questions): Fix example code.
45915
880113d9
UD
459162010-07-27 Ulrich Drepper <drepper@redhat.com>
45917
45918 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
45919 for ld.so.
45920
deb9cabb
AS
459212010-07-27 Andreas Schwab <schwab@redhat.com>
45922
45923 * manual/memory.texi (Malloc Tunable Parameters): Document
45924 M_PERTURB.
45925
1c7570ff
RM
459262010-07-26 Roland McGrath <roland@redhat.com>
45927
45928 [BZ #11840]
45929 * configure.in (-fgnu89-inline check): Set and substitute
45930 gnu89_inline, not libc_cv_gnu89_inline.
45931 * configure: Regenerated.
45932 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
45933
24fb0f88
UD
459342010-07-26 Ulrich Drepper <drepper@redhat.com>
45935
45936 * string/test-strnlen.c: New file.
45937 * string/Makefile (strop-tests): Add strnlen.
45938 * string/tester.c (test_strnlen): Add a few more test cases.
45939 * string/tst-strlen.c: Better error reporting.
45940
45941 * sysdeps/x86_64/strnlen.S: New file.
45942
8e96b93a
UD
459432010-07-24 Ulrich Drepper <drepper@redhat.com>
45944
45945 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
45946 lower-latency instructions.
45947
dbc676d4
UD
459482010-07-23 Ulrich Drepper <drepper@redhat.com>
45949
45950 * string/test-strcasestr.c: New file.
45951 * string/test-strstr.c: New file.
45952 * string/Makefile (strop-tests): Add strstr and strcasestr.
45953 * string/str-two-way.h: Don't undefine MAX.
45954 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
45955
f6a31e0e
AS
459562010-07-21 Andreas Schwab <schwab@redhat.com>
45957
45958 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45959 strcasestr-nonascii.
45960 (CFLAGS-strcasestr-nonascii.c): Define.
45961 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
45962 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
45963 Remove unused attribute.
45964
5dbc3b6c
RM
459652010-07-20 Roland McGrath <roland@redhat.com>
45966
45967 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
45968 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
45969 ld.so.cache was broken. With it, there is no way to disable dsocaps
45970 like LD_HWCAP_MASK can disable hwcaps.
45971
23d101d8
EPM
459722010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45973
45974 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
45975
cc9f2e47
UD
459762010-07-16 Ulrich Drepper <drepper@redhat.com>
45977
45978 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
45979 call in strcasestr.
45980 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
45981 __strcasestr_sse42_nonascii.
45982 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
45983 strcasestr-nonascii.c.
45984 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
45985
77c1b069
LM
459862010-06-15 Luis Machado <luisgpm@br.ibm.com>
45987
45988 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
45989 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
45990 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
45991 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
45992
440566c3
UD
459932010-07-09 Ulrich Drepper <drepper@redhat.com>
45994
45995 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
45996 fcntl.
45997
5be9d05d
AS
459982010-07-06 Andreas Schwab <schwab@redhat.com>
45999
c30b7ee2 46000 [BZ #11577]
5be9d05d
AS
46001 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46002 dl_signal_cerror.
46003
8a492a67
UD
460042010-07-06 Ulrich Drepper <drepper@redhat.com>
46005
46006 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46007 _PC_PIPE_BUF using F_GETPIPE_SZ.
46008
713df3d5
RM
460092010-07-05 Roland McGrath <roland@redhat.com>
46010
46011 * manual/arith.texi (Rounding Functions): Fix rint description
46012 implicit in round description.
46013
702e8f14
UD
460142010-07-02 Ulrich Drepper <drepper@redhat.com>
46015
46016 * elf/Makefile: Fix linking for a few tests to make recent linker
46017 happy.
46018
52ed8be9
AS
460192010-06-30 Andreas Schwab <schwab@redhat.com>
46020
46021 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46022 $(common-objpfx)libc_nonshared.a.
46023
f47c9a11
LM
460242010-06-21 Luis Machado <luisgpm@br.ibm.com>
46025
46026 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46027 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46028 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46029 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46030 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46031 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46032 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46033 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46048 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46049 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46050 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46051 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46052 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46053 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46054 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46055 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46056 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46057 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46058 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46059 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46074
6fb8cbcb
L
460752010-06-25 H.J. Lu <hongjiu.lu@intel.com>
46076
46077 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46078 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
46079 * string/memmove.c (memmove): Renamed to ...
46080 (MEMMOVE): ...this. Default to memmove.
46081 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46082 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46083 (END_CHK): Define.
46084 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46085 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46086 mempcpy-ssse3-back memmove-ssse3-back.
46087 * sysdeps/x86_64/multiarch/bcopy.S: New file .
46088 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46089 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46090 * sysdeps/x86_64/multiarch/memcpy.S: New file.
46091 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46092 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46093 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46094 * sysdeps/x86_64/multiarch/memmove.c: New file.
46095 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46096 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46097 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46098 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46099 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46100 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46101 Define.
46102 (index_Fast_Copy_Backward): Define.
46103 (HAS_ARCH_FEATURE): Define.
46104 (HAS_FAST_REP_STRING): Define.
46105 (HAS_FAST_COPY_BACKWARD): Define.
46106
4e733bac 461072010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
46108
46109 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46110 Restore proper fallback handling.
46111
63c4ed22
UD
461122010-06-19 Ulrich Drepper <drepper@redhat.com>
46113
ac2b484c
UD
46114 [BZ #11701]
46115 * posix/group_member.c (__group_member): Correct checking loop.
46116
63c4ed22
UD
46117 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46118 OOM in getpwuid_r correctly. Return error number when the caller
46119 should return, otherwise -1.
46120 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46121 call returning > 0 value.
46122 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46123
765ade4b
AS
461242010-06-07 Andreas Schwab <schwab@redhat.com>
46125
46126 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46127 libc_nonshared.a from targets in modules-names.
46128
80da2e09
KS
461292010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
46130
46131 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46132 requires it.
46133
158db122
LM
461342010-06-10 Luis Machado <luisgpm@br.ibm.com>
46135
46136 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46137 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46138 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46139 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46140
caa78cf8
AS
461412010-06-02 Andreas Schwab <schwab@redhat.com>
46142
46143 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46144
b2ef2c01
UD
461452010-06-14 Ulrich Drepper <drepper@redhat.com>
46146
46147 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46148 and F_GETPIPE_SZ.
46149 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46150 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46151 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46152 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46153 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46154 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46155
fbd643b6
RM
461562010-06-14 Roland McGrath <roland@redhat.com>
46157
46158 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46159
f32f2869
JJ
461602010-06-07 Jakub Jelinek <jakub@redhat.com>
46161
46162 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46163 __REDIRECT followed by __THROW.
46164 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46165 * posix/getopt.h (getopt): Likewise.
46166
2a50c078
EPM
461672010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46168
46169 * hurd/lookup-at.c (__file_name_lookup_at): Accept
46170 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
46171 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46172 in AT_FLAGS.
46173 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46174 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46175
eb5ad2eb
LM
461762010-05-28 Luis Machado <luisgpm@br.ibm.com>
46177
46178 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46179
3c88fe1e
L
461802010-05-26 H.J. Lu <hongjiu.lu@intel.com>
46181
46182 [BZ #11640]
46183 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46184 Properly check family and model.
46185
d2f73151
TY
461862010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
46187
46188 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46189
ebd2e13d
LM
461902010-05-24 Luis Machado <luisgpm@br.ibm.com>
46191
46192 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46193
b32b8b45
UD
461942010-05-21 Ulrich Drepper <drepper@redhat.com>
46195
46196 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46197 symbol reference.
46198
9acbe24d
AS
461992010-05-19 Andreas Schwab <schwab@redhat.com>
46200
46201 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46202 symbol reference.
46203
f0ccf6ea
AS
462042010-05-21 Andreas Schwab <schwab@redhat.com>
46205
3d04ff3a
AS
46206 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46207 and internal_recvmmsg.
46208 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46209 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46210 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46211 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46212
f0ccf6ea
AS
46213 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46214 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46215 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46216
5b08ac57
AS
462172010-05-20 Andreas Schwab <schwab@redhat.com>
46218
46219 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46220
4828935d
LM
462212010-05-17 Luis Machado <luisgpm@br.ibm.com>
46222
46223 POWER7 optimizations.
46224 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46225 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46226
373d545e
UD
462272010-05-19 Ulrich Drepper <drepper@redhat.com>
46228
46229 * version.h: Update for 2.13 development version.
46230
21a2b1ae
AS
462312010-05-12 Andrew Stubbs <ams@codesourcery.com>
46232
46233 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46234 exceptions. Return 0.
46235
3f7dcb2b
RM
462362010-05-07 Roland McGrath <roland@redhat.com>
46237
46238 * elf/ldconfig.c (main): Add a const.
46239
5f24d53a 462402010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 46241
a160f8d8
UD
46242 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46243 (args_options): Add no-idn option.
46244 (ahosts_keys_int): Add idn_flags to ai_flags.
46245 (parse_option): Handle 'i' option to clear idn_flags.
46246
5f24d53a
UD
46247 * malloc/malloc.c (_int_free): Possible race in the most recently
46248 added check. Only act on the data if no current modification
46249 happened.
265bb1ce
UD
46250
46251See ChangeLog.17 for earlier changes.